text:
Impossible to format corrupted SD card formatted as internal storage
I see lots of questions about recovering data from corrupted SD card formatted as internal storage, that's not my case.
I want to FORMAT this SD card to be able to use elsewhere.
For some reasons the card become read-only so it is impossible for me to make any changes.
While on the phone I tried to switch the card from internal memory to external. It didn't work.
The only option I had was to forget the card, and so I did.
Now even with gparted on linux, I'm not able to format the card.
I tried also to change the permits with
sudo chmod -R 777 /dev/sdb
and other different commands like
sudo mount -o remount,rw /dev/sdb
all without luck.
What else can I do? It seems impossible to reset this card.
Ps. the lock on the SD adapter is in the correct position
edit1: I've used sudo badblocks -wsv /dev/sdb no errors found, but not luck, the partitions are still there (here how to use badblocks https://wiki.archlinux.org/index.php/badblocks). The process took around 10 hours for a 64Gb card.
edit2: after asking help to bunsenlabs.org these things came out. At the moment I can't try them because I don't have the hardware required but my gut and my common sense tell me that it's the right path.
links:
https://github.com/Nephiel/sdlocker-tiny
https://github.com/BertoldVdb/sdtool

Try sudo mount -o remount,rw /dev/sdb

@BoLawson I already tried that, added to the question

It sounds like the other answer of the FAT being corrupt is likely, I would try "zeroing out" the card...
First, verify the device. It will be something like /dev/sdX or similar, make absolutely sure you know this device is correct. Then, in Linux open terminal and enter the following command:
$ sudo dd if=/dev/zero of=/dev/sdX bs=8192

Substituting the correct device name for /dev/sdX.
DO NOT interrupt this process or it could possibly brick the SD card.
Once it has completed, eject and remove the card.
Wait a few seconds then reinsert the card in the card reader. After this, open gparted (or your partition manager of choice) and create a new FAT and partition.
In gparted, this is accomplished by selecting Device, then Create Partition Table from the toolbar menu, I would recommend using msdos as the partition type. Then after that process completes, select Partition - New, and change the File System to fat32 (or whatever is appropriate for your card) and click Add. Then Apply (the "return" arrow in the menu bar).
Once this has been completed, remove the card and reinsert it, it should be readable in Linux, Windows, and most other operating systems.

I followed the step but like last time, it didn't work. The dd process finish, but gparted still see the two partitions. If I format with msdos the process end with no errors, but then the sd card refresh with the same old partitions. Trying to do different operations or using different file systems doesn't change anything.

I don't know what to do anymore if even dd is not working.

@Alessio We have definitely seen corruption of adopted storage nuke a card... I guess becoming permenantly read only is a possibility as well.

how can a card become permanently read only??? The card is working perfectly as I could backup all my stuff and etc, it's just I can't do anything now because it's in read only mode. There must be something to do.

@Alessio I don't know, but I had a USB thumb drive do it once... I wound up breaking it and throwing it away because I could not get the data erased.

this is what happened at my last sd card. I refuse to do the same on this 64Gb card bought only one month ago. How can be a software restriction so unbreakable?

@Alessio if it's only a month old, why not get a warranty replacement? Most manufacturers have at least a year warranty

Sandisk has a lifetime warranty and they replace the item really fast. But this is not the point. The card was locked from Android and it is impossible to unlock back, unless using one of the links I posted on edit2.

@Alessio "Every card has two programmable flags, one for temporary write protection and one to lock the card forever." -
https://github.com/BertoldVdb/sdtool Might want to review this, if this portion of the card gets corrupt/damaged in the right place, BAM, it is read only forever. EDIT: Nevermind, I see you found that too.

yes, found and it is really interesting. Didn't know that. But what if it is not damaged but I can't change the permit bcs don't have the tool? There must be a way to be able to modify /dev/sdb instead of only /dev/mmcblk.

@Alessio Possibly, but to be honest the nitty gritty of that is over my head.

That sounds as if the FAT might have some kind of error. The card automatically gets mounted read-only, and no matter how many times you go into settings and try to unmount/remount the card, it is to no avail.
In Windows, you can just insert the card into PC, right click on its Properties/Tools/Check and check it against possible errors and automatically fix them. Or you can also use any file system checking tool of your choice.

didn't work. before checking for errors is asking to format the card. formatting the card is not possible because of some errors.


text:
Symbolic links in the Android filesystem?
Is it possible to create symbolic links in the Android filesystem? If it's possible, how can I do this?
My Android version is 2.1, I'm using Motorola Defy.

android is not a fileystem. What is the filesystem on which you try to create the symplink? You can use mount in terminal emulator to gather this information

@rds I know that Android is not a file system. I wrote "Android file system" instead of "Android's file system" because I was writting too fast.

but you still fail to tell what it the underling filesystem you have mounted

@rds I would assume all androids use the same filesystem. If not then I would assume the filesystem depends on OS version. If these assumptions are incorrect please say. Is it phone specific?

How can I make a symlink (or equivalent) inside /storage/emulated/0?

In the Android root filesystem there are many shortcuts/links.  I think the original post is about how those are created.  I would also like to know this.  Searching for shortcuts on Google only gives results for adding shortcuts to home screen, but many people want to make a shortcut from one directory to a directory in another location.

Android does support symbolic links, but certain file systems (e.g. FAT or RFS) do not and you cannot create symbolic links in those partitions. If your device uses a filesystem that supports symbolic links (e.g. ext2, ext3, ext4, yaffs2) then you should be able to use ln -s from the Terminal Emulator.

I think this question on superuser answers your question, i.e. that the FAT filesystem on the SD card does not support symlinks.
Just to clarify (and as reflected in the SU question/answers I linked): the Android OS supports symlinks, but the FAT filesystem on the SD card does not.

You're always free to format your SD Card with a modern filesystem (if you don't use it on an archaic operating system, of course)

It is possible to do this via the mount -o bind /old/dir /new/dir command as discussed here
https://superuser.com/a/377737/45344
You need root I guess.

This is the kind of changes which would be lost on reboot.

This is not a symbolic link; it's a bind mount.

You were dealing with /storage/emulated/0/Videos
Android like to make use of the /dev/fuse partition.  I do not think you can make a symbolic link in this filesystem.  On my htc desire 510, I see this:
/busybox df /storage/emulated/0
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/fuse              1057284   1040844     16440  98% /mnt/shell/emulated

#
There is some weird stuff going on with /storage

Is this supposed an answer to the question?

/dev/fuse is not a partition, it's a character device which programs use to communicate with kernel in order to mount Filesystem in UserSpacE. @FindOutIslamNow yes partial answer, because Android's FUSE implementation doesn't support symlinks.

thank you very much for this answer!

source: Stack Exchange

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

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

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

sort: votes


text:
Birthdays and wedding anniversary dates
I would like to know how to insert birthdays and wedding anniversary dates into contacts in my Android phone book.

Contrary to what another answer implies, you can't add any field you want when you tap the Add another field button in the stock contact editor. You can only add from a pre-defined list of fields. Unfortunately, the stock contact viewer and editor don't support custom fields.
The good news is that you can add birthdays and anniversaries, though it's not immediately obvious how, because they're not independent fields, they're categories of the Events field.
In the Add another field box, check Events and tap OK. You'll then have an Events field that works much like the Phone, Email, and Address fields: you can add multiple entries (by tapping the green plus sign), and for each one you can select the category from the adjacent drop-down list.
More good news is that you can add custom categories for events, just as you can for addresses and phone numbers: select Custom from the drop-down list, and enter your custom category. In this case you won't need to do that, though, because Birthday and Anniversary happen to be the two pre-defined event categories.

You can create custom fields using the Gmail Contacts app in the browser.
From there, you can specify custom labels and values. Note, however, that these are not visible in the standard Android contacts viewer (People), even though they are synced to the Android phone.
For more details, see the SoftWyer blog post.

Open your contact. Select "Edit" from the options menu. There you will see several fields for that specific contact. If you don't saw the birthday field there the there will a button in the end saying "And another field". Click that button and add whatever field you want.
By the way if your phonebook is synced with your google+ account. Then google has already fetched all the information of contacts including birthdays. You can see that in your google calender app.

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


text:
ROM flashing using Odin on Galaxy S4 interrupted. Odin is still running. Is there anything I can do?
I was re-flashing the firmware on a Samsung Galaxy S4 using Odin, and the USB cable was bumped, which made the update fail. I reconnected and attempted to flash again by clicking the Start button. It seemed to be progressing, but Odin's blue progress bar continued from where it had stopped instead of starting from the beginning. After a while I got the following warning message from Odin, in red text and repeated 19 times:

Invalid percent of drawing download progress bar!

followed by this at the end:

SECURE CHECK FAIL : system

I attempted to start the process again (by clicking Start in the Odin desktop app), but it failed multiple times. I also tried clicking Reset and starting again. It doesn't seem to be possible to do anything from within Odin on the phone. It doesn't respond to any buttons and doesn't react in any way when I try to start the process again from the computer (no more messages on the screen, and no movement in the progress bar, or anywhere else). This doesn't necessarily mean it's frozen, though, because I don't believe it's intended to be interactive. The blue progress bar on the phone is all the way to the end, where it has been since my second attempt to flash.
I have not restarted the phone, because I am afraid that if I do that after an incomplete flash, I will not be able to get back into Odin. It is still on, still in Odin, still showing all the errors. The desktop Odin app on the computer can detect when the phone is connected and removed (I get the "Added!" and "Removed!" messages).
Am I correct in my concern that I'm likely to brick the phone if I attempt to restart without flashing successfully? Is there anything I can do to restart the process? It would be an astounding design flaw if Odin really isn't capable of restarting a failed flash to allow for recovery if the process fails and the device has not yet been restarted and Odin is still in RAM.
I know for a fact that the ROM file I'm using is valid and that I'm doing this correctly, because I have gone through this process several times and never encountered a problem until this time when the connection was interrupted. I have no support available from either Samsung or the carrier (Verizon), because I bought this phone used on eBay specifically for experimenting with things like custom recoveries and ROM flashing.
FWIW, here's a screen shot of the Odin desktop app as it is now:

I would try to reflash it myself, keep in mind Odin is not a tool for public use, it is a Samsung tool for employees and has been leaked rather than released as a public facing interface. Kies is the official software. It may just do that. Since it started flashing I'd try to reflash, or failing that restore a nandroid backup via recovery. Once you can boot to recovery you can can flash SOMETHING on to the device. It might be worth going to a whatever you can restore (nandroid, custom rom whatever) before trying to restore stock again.

@RossC The point is that I'm concerned that if I restart the device after an interrupted flash, it will be bricked and I won't be able to get back into Odin, or recovery, or anything else. I'm not asking in general how to restore the phone if I can successfully restart it (if I knew I could do that, I'd just go back to Odin and reflash); I'm asking if there's anything I can do while I'm still in Odin, before taking the risk of rebooting and seeing if I can get back into Odin or recovery. Kies doesn't recognize the device while it's in Odin mode ("The connected device is not supported...").

Flash a custom recovery on the device now thorough Odin. Then try to get back to where you were or try the stock ROM again. Otherwise I'm out of ideas.

I did try flashing again. See the explanation above. Everything from the second sentence through the end of the second large paragraph describes what happened when I tried to do that. I'd love to be able to flash again now. The question I'm asking is how? Is there a way to force Odin to restart the process without restarting the device? AFAIK Odin may now only exist in RAM; the failed attempt to flash might have destroyed it in the ROM, and I won't know if it's still available unless I risk restarting. I'm looking for a way to get Odin to flash again without restarting first.

BTW, the phone was already soft-bricked, so Odin was the only option (restoring a nandroid backup didn't help; I tried). I was testing out the Online Nandroid Backup app, and when it rebooted it was stuck at the Samsung logo screen. This already happened twice before and both times I fixed it by re-flashing the stock firmware with Odin, then restoring the nandroid backup.

After waiting a couple of days and not finding any answers, I restarted the device. It booted to a screen saying

Firmware upgrade encountered an issue. Please select recovery mode in Kies & try again.

I tried using recovery mode in Kies, but Kies gave me an error message saying that the device is not supported. However, I noticed that the text in the upper left corner of the screen indicated that the phone was in Odin mode (showing the above message instead of the usual Downloading...do not turn off target!!!). So, I launched the Odin desktop app and tried flashing the firmware again, and that worked.
Basically, I was lucky. In some cases if a ROM flash fails, you can't get back into Odin mode. So, I'm posting this in case it helps someone, but I'm not going to mark this as the accepted answer, because I'd like to see if anyone has a solution that avoids taking the risk of restarting and hoping for the best.

Usually, a failed flash is irrecoverable if it gets interrupted somewhere around flashing sboot*. You can mess up everywhere except any of the sboot files. If you did, hopefully you have a JTAG box laying around.

You can mess up literally anywhere. As an experiment, try flashing TWRP via Odin, but unplug it while flashing. Try going into recovery. It won't work. Flash it again, letting it complete this time, will fix it.

As far as I understood your flash process interrupted and normally you are afraid to restart the device but the key point in here is you dont change "download mode" with flash process. Dont be afraid.
Feel free to close the device and reopen download mode with Volume Down + Home + Power, Use ODIN properly this time.

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


text:
HTC Evo touch screen and keyboard malfunctioning. Where can I find an RUU file, or how else can I restore to factory settings or fix these problems?
I bought a an HTC EVO Shift 4G phone on eBay, but parts of the screen don't respond to touch. Different parts of the screen don't respond at different times. Also, sometimes when you type on the keyboard, the wrong letters come out.  I tried searching all over the web for a ruu (if I got that right?) to set the software back to factory settings, but can't find any. This is after trying to do a hard reset, which didn't help.  I've already spent hours trying to figure this out. Can this phone be fixed, and how?

Does the phone have warranty? If yes get it replaced.

no warranty, but thanks! any other suggestions?

You've already tried resetting and all so it can be concluded that it is a hardware problem. You can fix this by replacing the screen.

authors: Евгений Александрович


text:
Stop text messages from going into my Exchange account's Inbox
When a text message comes in, the stock email app throws a copy into my Exchange email accounts that are on the phone. I want to turn this feature off but cannot find a setting for it anywhere. I have a Galaxy S5.

What's even worse is that it's not just a combined view; the text messages are actually inserted into your Inbox, so your private text messages sync back to your corporate email account, so they show up in Outlook on your PC, and they're available for your company's Exchange administrators to snoop on! It's probably the most annoying anti-feature I encountered when I first got started with Android.
The setting to make it stop doing that is there, but they hide it really, really well. Not only is it in an unintuitive location, but in order to get there you twice have to scroll down to hidden portions of the screen where there are no visual cues that indicate that there's anything more down below.
Here's how to ferret out the text message sync setting's hidden underground lair:

Select Settings from the menu (the soft button in the bottom left corner, not the hamburger menu in the top left corner).

Select Account Settings.

Select your Exchange account.

You'd expect to find it here under Sync Settings, presuming that this was designed with common sense, right? Well, you'd be wrong. Scroll down to find a hidden More settings button at the bottom, and tap it.

On the More settings screen, scroll down again.

Find the Sync text message setting, and uncheck it.

OMG, I have been searching for this solution for a month now.  It gets difficult when your wife wants to text you on your personal device that's connected to your business email.  Nothing says oops like a love text in your exchange.   Thanks much Adi.


text:
Alerts & Reminders based on SMS content
At work I get paged by our automated system. The problem is that the numbers come across unique each time. 1(999)000-0001, 1(999)000-0002, etc.
The body of the SMS is the same each time tho, in the form of an email:
FRM: helpdesk@mycompany.com
SUBJ:(12345)Company pager
This is a Page from the Pager

Since the number changes each time, is their a "notification" app that can say "If the SMS starts with 'FRM: helpdesk@mycompany.com', ignore silence mode and use this ringtone".
I'm using reminder programs that let me know if I've missed a message... but I want to differentiate the SMS's from the ancient paging program we use.

GoSMS has a filter feature that supposedly moves messages based either on content within the message body OR if the number is unknown - to a separate area called FILTER BOX. I've not tried it myself, but see if custom ringtones can be assigned to FILTER BOX messsages - that would solve your requirement, perhaps.

I see the custom filter box... haven't had a chance to dig in and see if ring-tones can be assigned. GoSMS has a lot of features to dig through.

UPDATE: https://market.android.com/details?id=net.nousefor.smsfilter has the ability to look thru the body of the message and display a notification. Not freeware, but check it out, nonetheless.

Certainly there must be a way, as the Prey app uses the content of an SMS message to turn itself on or off. What have you already tried?

I'd go with Tasker for this. Tasker can react on a lot of events, an incoming SMS being only one of the many. You can then have it parse the SMS text, and react on keywords. There're probably already som "profiles" out in the wild which you could adapt (just check with a Google Search), you also can find more details on SMS Notification Management - Tasker Wiki. This is probably the most flexible solution.
To sum up alternatives already mentioned in the comments:

GO SMS offers a filter feature, as Sparx mentioned
SMS-Filter can check the SMS body and display notifications (again from Sparx)


text:
Can Android devices access an iOS file system via USB-OTG?
Using an OTG cable, Stickmount, and Root Explorer, I can view files on my USB flash drives with my Android device.
On Windows, it's possible to view an iOS device's filesystem using programs such as iFunBox or iExplorer.
When I plug my iPhone to my Android device using an OTG cable, it's recognised as a camera instead of a mass storage device.
Is there a way to view an iOS device's filesystem using an Android device and an OTG cable?

Mass-Storage-Mode is definitely not possible as iOS devices don't offer it to begin with (edited your title to ask more generic). Apple iOS devices use a network-like filesystem over USB. You need to install iTunes to see it on Windows. However, I don't know of any current solutions for Android but it's at least not impossible (technically, there is an implementation for Linux available at libimobiledevice.org which could run on Android but would most  probably require root).

The kernel can be modified to include a filesystem driver module that can understand Apple's HFS+ filesystem.

@t0mm13b You could, but that would only help if iOS devices give you direct access to the filesystem over USB. As ce4 said, they don't.

No as mentioned in the above comment it's not possible.
In android only some part of Linux is used on the architecture whereas in iOS the complete os is built on it.
Android is hard coded in Java whereas in IOS you will find most of the file in XML format so as the format is different you will end up with an unrecognised file on your Android Device

As per the wiki iOS uses XNU kernel and not Linux kernel.


text:
Issue a command to the camera from command line via SSH
If I have an SSH app like SSH Droid, is it possible to issue a command to the camera to take a picture from the command line of a remote SSH client? If so, would you have an example of such a command?
SSH Droid info

SSHDroid is a SSH server implementation for Android.
  This application will let you connect to your device from a PC and execute commands (like "terminal" and "adb shell") or edit files (through SFTP, WinSCP, Cyberduck, etc...).

The device I'm looking to use it on is ver 2.3.

I don't have experience with sshdroid. Termux does have an option to record pictures from the command line.

Thanks, it looks really, but it's for OS 5.0+. The device I'm looking to use it on is ver 2.3.

@user126440 2.3 is ancient. And btw, the feature to make screenshots from the command line has only be added with 4.0 AFAIK (same as screen recording only has been added with 5.0).


text:
How do I block packet data for background programs?
I have a Samsung Galaxy Gio running Android 2.3.3 Gingerbread.
How can I block packet data for background programs only? When I disable Settings -> Wireless & networks -> Mobile networks -> Enable packet data the default browser and Opera Mini don't work.
(I'm trying to keep down my network billing charges!)

If your phone's rooted, use the excellent DroidWall to selectively allow / disallow apps from connecting to the internet.
Like all apps that need root, read the instructions carefully and of course, do make a complete backup before trying things out.

If your device is rooted you can use LBE Privacy Guard to allow/deny network access based on a per-app setting (and much more). Since I couldn't find the version I use (and shown in the screenshots) on the market minutes ago I think there's a new version of it available. But I didn't get an update via Android Market on my phone.

In addition to Sparx's answer:
Droidwall has been discontinued and now forked into AFWall+ Play Store and continues in the spirit of open-source for the deprecated/obsolete Droidwall here GitHub.

Android allows applications enable or disable the "use data packet" from code (refer to this question on SO)
To prevent for enable "Use Packet Data", you can create new empty APN and select it by default:
Settings -> Wireless and network -> Mobile networks -> Access Point Names -> Left button -> New APN
Name: None, APN: None
[Tested on Samsung GT-I8150 (Android 2.3.6)]

Whether your phone is rooted or not – if it's running Android 4.0 or newer, there's help built-in:

Go to Settings → Data Usage
Tick the Limit checkbox
Use the bars in the graph to define upper limits (if you don't want any global limits, use "astronomical values": I've set mine to 3 GB, which never will be triggered. But you must set a limit here for the following steps to work)
Scroll the list of apps below the graph to find the apps you want to restrict
Tap their entry, scroll to the end, tick Restrict background data

Done. This app will only use data when it's the foreground app now, or when you're connected to WiFi (above settings are for mobile data only).


text:
Samsung Galaxy S plus is becoming unresponsive when locked
My samsung was working away perfectly yesterday and then was on my bedside locker when I tried to check the time the lock screen came up very faded almost its hard to describe but it was unresponsive otherwise e.g would not open would not turn off etc. so I pulled the battery (this may be bad for it I'm not sure) so I turned it on and it was working away fine but then I locked it and it became completely unresponsive, no lights nothing so I pulled the battery again and the same thing is happening.
Does anyone know whats causing this or a way to fix it. I'm hoping it's not serious as I just bought this 2 weeks ago!

can you please give more specific data, like OS using? Rooted or non-rooted? Custom lock app?

If you're using a custom lock app, it may be to blame.  Try reverting to the stock lockscreen.

Is it running a custom ROM?  If so, install another one.
If not, take it back/exchange it.

I would not think it's a custom rom as by the way he posted and described it, the OP would not know the first thing about custom roms, and also, it was bought two weeks ago...

@t0mm13b, hence the second sentence.  From what would I infer the person hasn't installed a custom ROM?  Is this something I should just ask in the comments?  I still think the answer could potentially be helpful to future visitors even if the asker hasn't installed a custom ROM.


text:
my whatsapp showed my lastseen at 2:23 a.m ,when i had left the aap around 2:01 and was not even connected to the internet
The problem is really serious.  i need to get a solution for this.  my boyfriend thinks that I am cheating on him.
I do not know much about whats app and i have not tried doing anything. i need serious help for this. I cannot afford losing my boyfriend.
Please help.

You can turnoff Last Seen on whatsapp settings. Settings->Account->Privacy-> Set last seen to "nobody".

I cannot do that . I mean he thinks i m cheating on him and if i hide my last seen it will be more serious. I just want to know why is the last seen is showing at the time when i m not in the application

I think you have closed whatsapp on 02:01am. Is whatsapp connected using wifi or mobile data?

i was connected to wifi

wifi on android keeps scanning and gets connected if available, may be that's the problem

okay, but it shows me online even when i m not connected to the wifi??

hey, please reply anytime you come online. Please

Please don't use all bold – bold is for emphasis, not for panic :) I've fixed that for you now, please just remember for your next post.

What's your actual question?

my question is "why is my whats app account showing me online when i m not using it?"

This is a bug in whatsapp...
If you exit app properly when connected to internet then your last seen will be show actual time...
But if you are using app and disconnect internet and then exit app... then it will still show you online for some more time.. which is your case... ( I have experienced this problem many times)
So better exit app properly and then turn of the internet...
Also please check if anyone is having access of your whatsapp with web view... check in web view settings..

hey thank you  for the info.will make sure to exit the app properly now.

Welcome... Enjoy ;)

What exactly do you mean by "exit app properly"?

Exit using back button... do not directly close it... or directly disconnect internet...


text:
Open attachment that contains forwarded email (MIME type message/rfc822)
When I forward an email with Mutt from my laptop, Mutt adds the forwarded email as an attachment with MIME type "message/rfc822".
Unfortunately, Android's stock email client "com.android.email" version 8.1.0 displays the received email like this:

Two things are wrong with that:

It doesn't show the forwarded email's content.
It doesn't show the content of the non-forwarded email, the body of the email I wrote in Mutt.

The email displays properly when using K-9 Mail.
Is there a way to make the email app show the email and its attachment?

I'm on a Samsung Galaxy J5 running LineageOS.

You're right, I had set mime_forward because I wanted to forward attachments per default. If I unset mime_forward, the forwarded email is just text (not a message/rfc822) and the stock email app shows it fine.

Gmail cannot support this as I understand from FairEmail discussion on XDA (outlook mail client has related limitations).
There is a workaround, in case one is willing to have the forwarded email as text and not attachment.
OP had set mime_forward because they wanted to forward attachments per default
. If this is unset as per mutt documentation (to ask-no or ask-yes), the forwarded email is just text (not a message/rfc822) and the stock email app shows it fine as confirmed by them.

The FairEmail discussion on XDA sounds interesting. Can you provide a link to it?

You can search for "rfc822", even better would be reach out to developer--he is very prompt and helpful

It isn't a single instance I was quoting but the general sense of difficulties with various email clients, like this. My guess is FairEmail will support your need but it's best confirmed by you checking and if not asking developer to consider. I find him unbelievably supportive and tries his best to accommodate. I answered it just so that it may help somebody who comes looking for a solution, though this may not be what you want


text:
Set transfer encoding in stock email app
I use Android's stock email client "com.android.email" version 8.1.0 on Samsung Galaxy J5 running LineageOS.
I noticed that the emails are sent using
Content-Transfer-Encoding: base64

I'd like to change this to something like
Content-Transfer-Encoding: 7bit

Going through the email client's options, I couldn't find anything relevant. Is there still a way to change the transfer encoding for the email body?

Are you referring to the mail body or the attachments? For the attachmnets base64 is hard coded: https://github.com/aosp-mirror/platform_packages_apps_email/blob/c28e36dbaaff7d2b4641ab0d86f1309a418437e7/emailcommon/src/com/android/emailcommon/internet/Rfc822Output.java#L218

I'm referring to the body's encoding.

The AOSP Email client has only support for base64 (text body and attachments). This is hard coded in the source code hence you won't find any UI setting to change it. The source code even contains a comment on this topic:

Note this always uses base64, even when not required.  Slightly less
  efficient for US-ASCII text, but handles all formats even when non-ascii chars are involved.  A small optimization might be to prescan the string for safety and send raw if possible.

Rfc822Output.java line 354 to line 385 (relevant function for text encoding in the source code)


text:
Google Play won't allow me to update applications
Google Play will not allow me to update my Facebook Application. It keeps saying that I can't update Facebook because of its default location.
[1]
My phone is an Android 4.4.4, Gualcomm® snapdragon

I have looked at the link that @SSS has directed me too, but it doesn't help. If I go to Settings->Storage, I don't see Set SD Card as default.
My phone's model number is MTN-8978P and it is an Android 4.4.4.

Does your phone have an SD card slot?

Yes. With an SD Card. 8GB. @SSS

What's the phone model? On googling the error I found this. Try if the solution works.

@SSS I have edited the question.

Can you try the following: remove SD card, restart phone, update app and reinsert card again. Remember to eject SD safely from storage settings.

@SSS. I tried it but it still didn't work. I got Error code: -20.  My Chrome is version 23.0.2.

Have you tried the following: clear data of play store, or remove google account from settings -> accounts and re-add it. If absolutely nothing works, go to https://www.apkmirror.com/apk/facebook-2/facebook/facebook-180-0-0-35-82-release/ and get the appropriate facebook version. Also are you sure you chrome is verwsion 23??? That's 5 years old maybe? You desperately need to update it.


text:
Why do I have to always clear the cache of the Download Manager in order to download 1 app?
I'm using a Samsung Galaxy J4 Core with Android 8.1.0 Go. When ever I want to download an app on Google Play, I first have to clear my data/cache for my Download Manager and restart my phone. It then takes a very long time to even start the download... I'm not sure why I'm getting this bug.
Edit 1: If I don't clear my cache and restart my phone, no apps will download/update. It will just say "waiting for download...". Before I even thought of clearing my cache, I waited 3 days for my download to start...
Edit 2: I have 6GB free on my internal storage (max. 16GB) and 2GB on my 16GB SanDisk Card. I have 1GB RAM, though for some reason, 560MB is used all the time.

You should edit your question and also describe what bug you encounter if you don't clear the cache and restart. Otherwise it is very difficult to understand what you mean with "this bug".

@Robert I have edited my question :)

How many space is free on your device before clearing the cache?

@Robert, I have 6GB free on my internal storage (max. 16GB) and 2GB on my 16GB SanDisk Card.I have 1GB RAM, though for some reason, 560MB is used all the time.


text:
Android 5.1.1 no "move to SD Card" option
Just bought a nice 9" Android with 8GB storage.  Put in a 32 GB SD card.  It shows up under storage.  When I select Apps then pick an app, there is no option to move it to the SD card like I had under Kit Kat on another unit.  It does show the Clear Cache and Clear Data options.
I just erased the SD card and it still just shows up as empty, under Storage.  The internal 8 GB is starting to fill up so I really need to use the SD card.
Q:  How can I move apps to the SD card when the option is not there under App info?

You can use the paid version of Titanium Backup to move the majority of apps to the SD card, if your device is rooted.
(no financial stake in Titanium Backup, just a satisfied user)

@SDsolar "philosophically disinclined to pay for software"... You either pay for it, the company steals your data to cover the cost, or the poor independent guy just goes out of business.

I have been an independent developer for years, and trust me, if people like the software and want the Pro features they will pay for it.  But there is no need to pay for most software.  Shareware is what launched the world of software.  People got rich from simple donations because their software was good.  But I will not pay a penny until I know it works, like I have with Acronis True Image.

First I need you to tell me that you only are able to move a few apps. Often apps which include Google Play Services need to be in internal storage.
Check out first if any of your apps are able to be moved using the system (often games or apps like wikipedia). If not, just go to the Google Play Store and get an app which do that for you.

My old Kit Kat phone has a move option, but the more modern 5.0 does not.

In Android 5 and older, not all apps can be moved to the SD card. If you look in the"SD card" tab of the apps settings, you can look only at the ones that can be moved. In Android 6 the option to add SD cards as internal storage was added. See if you can upgrade to Android 6.

EF Explorer lets me move most of the data, which is good enough.  Too bad they removed that option, though.

The purpose to move apps to the SD card is usually to save space on the limited internal storage.
For all the apps that let the user choose the storage folder (in my case Podcast Player) this is an effective solution:
www.beyondpod.com/Moving-podcasts-to-external-SD-Card
The solution is this:

EVERY app can write to its own private folder (and subfolders thereof) on SD >cards on KitKat (and Lollipop). It's just a matter of knowing what the folder >should be called. It will be
  "sdcard path"/Android/data/"app ID"
  For BeyondPod it's "sdcard"/Android/data/mobi.beyondpod/files
You'll need your phone manufacturer's File Manager app to create this folder
  (since only a system app can write to any arbitrary place on an SD card). If your device didn't come with a pre-installed File Manager, you'll have to >create the folder on a PC. But once it exists, the app's "owner" will be able to write to it and any subfolder within it.

I found the right "app ID" by just looking at the default storage path.


text:
Connecting 2.1 A charger instead of 850 mA
I have a Sony Xperia SP model with a 2370 mAh battery.
The original charger I got with it was of 850 mA.
My question is can I use a charger with output of 5V-2.1A which is also from Sony?
thanks and regards

Answers can be found in our charging tag-wiki, e.g. Is there any harm in using another manufacturer's USB data cable for charging? / Are Android chargers universal in terms of power (Voltage, amperage)? / What happens when I connect a 2 amp charger instead of the 0.7 amp charger provided?

TL;DR:
There's no danger in plugging a USB device into a charger with a higher amp rating than the one supplied with it.
For mobile devices that use USB chargers, the difference between using chargers with different amp ratings in most cases is that the device will charge faster or slower, in direct proportion the the amp rating. In some cases, the device may simply draw less current than the charger's amp rating. In no case (except a malfunction) can the charger deliver more current than the device can handle.

The details:
The underlying issue to understand here is that the current draw is not an intrinsic property of either the power source or the connected device. It is a function of the voltage of the power source and the resistance of the device, per Ohm's law, which states current = potential / resistance, or in unit terms, amps = volts / ohms.
The current rating of a USB charger is the maximum current it can deliver*. If your device has a resistance of 5 ohms, and you connect a 5 volt charger, the device it will draw 1 amp of current. If the charger has a 2.1 amp rating, that means that it can deliver up to 2.1 amps, to a device that has a resistance of 2.38 ohms or less, but there is no way it can force 2.1 amps on a device with higher resistance.
The only time you need to worry about damaging the device is if the voltage of the power source is too high, in which case it can deliver more current than the device's circuitry can handle (see the footnote). However, the voltage of USB chargers is standardized (at 5 ±.25 V), so you never have to worry about damaging a USB device by plugging in a cable of the wrong specs.
However, most mobile devices have a low enough resistance to draw a 2.1 amp current. Most likely, Sony supplies 850 mA chargers because they're cheaper, not because that's the maximum current the device can draw (at 5 volts). I think you'll find that if you use a 2.1 A charger, it will charge the device more than twice as fast as the original charger.

* The amp rating of a device, if there is one, means something a little different. It's the current at which the device operates best, and the current that it will draw if connected to an outlet of the right voltage.
For example, if you have a vacuum cleaner rated at 12 A, that doesn't mean that it's a property of its circuitry that it "sucks out" a 12 A current from the outlet. It means that it should operate at 12 A, and will draw a 12 A current from the kind of outlet it's intended for. So, a 12 A vacuum cleaner sold in the US has a resistance of 10 Ω, and draws 12 A if plugged into a 120 V outlet. Take that same 12 A rated vacuum cleaner and plug it into a 240 V outlet, and it will draw twice the voltage, quadruple the wattage, burn out, and possibly start an electrical fire. On the other hand, if the voltage is too low, the vacuum cleaner won't run at full power, or won't run at all.

Yes. If it is Sony branded and has a 5 V output you are good to go. Cellphones only draw as much as current as they require.

It makes absolutely no difference whatsoever whether it's Sony branded. Sony Xperia devices use micro USB 2.0 chargers, as do the vast majority of mobile devices currently in use. The follow a defined standard, and there's no requirement, or advantage, to using a charger from the same manufacturer as teh device. Also, most cell phones can draw as much current as the charger can deliver (up to the 2.1 A maximum), and I doubt any recent models top out at 850 mA. If he uses a 2.1 A charger, the device will charge faster, I'd put money on it.


text:
Can't change input language for Samsung Note 2 keyboard after a software update
I have been experiencing this problem for a while now. My keyboard is not working properly: usually I have input languages in Korean and Japanese and English, and I can just slide the space bar and the input language changes. Then, after software upgrade, I can't slide the space bar anymore and I can't use the other languages. I have tried checking the input settings and checked and unchecked the input languages but it's still not working. I hope someone can help me. Thank you!

Which firmware version (build number) did you upgrade to, and which did you have before?

i used 4.4 before upgrading to Android version 4.4.2

build number KOT49H.N7100XXUFNI4

I have a galaxy note 2 (Android 4.4.2) with build number KOT49H.N7100XXUFNL1 and it is still working the same way it used to work previously.
Check that other languages are downloaded or not.
Here is screenshot highlighted in red showing scrollable languages.

For Me the solution was different. I had nothing under the accessibility options excepted "Talkback" turned off. I turned it on then off and VOILA! it brought back the arrows.

Umm, are you sure you're answering the correct question? I don't have the device in question, but I can't find the relation between " resetting accessibility" and "change input language". Otherwise, ignore this comment if the post is indeed correct.


text:
any way to edit id tag inside android phone?
any way how to edit (mp3) id tags inside my android? HTC Desire 2.1
I am used to play my music using winamp with right click on directory and select 'play in winamp'. In that case it doesn't matter if you have id tags set up or not. I miss that on Android a lot.

I see a number of possible apps when I search in the Market for "mp3 tag". Did you try that?

no I didn't search the Market. I did search here. I like StackExchange very much and want to have all possible questions and answers available for others too.

I like Stack Exchange too, but questions asking for app recommendations that could be handled with a simple Market search are generally not welcome. If you have some very specific needs and you've struck out with a Market search, then by all means ask. Otherwise, it just seems like a "do my work for me" question.

I've used this app in the past to edit my tags AudioTaggerFree

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


text:
Install WinXP/7/8 on Android Device
I know that it's possible to install WinXP or other Windows versions to an Android device, but I don't know how.
I tried BOCHS but it doesn't work on my Xperia Z1 or I don't know how to set it up correctly.
Is there some complete tutorial or something?
Remark: I don't want to replace Android on the device. I want to run Windows "on top of it" (e.g. in a VM).

What are you trying to achieve? Running Windows in a PC emulator on your phone is almost certainly not the best way.

You might be able to use a QEMU based app like the one from MotionCoding, but I can't see it running on anything other than very high end Android devices.  Even then, I doubt a VM will work very well...


text:
What is this annoying sound on my S3 running CM 11.0?
I'm running CyanogenMod 11.0 on my Galaxy S3 I9300, Android version 4.4.2.
I didn't have this issue before installing CM, so I'm thinking it may be a CM sound. Basically, sometimes this sound keeps playing when I have my phone on loud.
It sounds like an error sound, as if I'm trying to complete an action that's not allowed. It plays even when I'm not even touching my screen, and I think there is actually a small issue with my screen.
I'm not too fussed about any issue with the phone, I just want to delete the sound so it can't play anymore! It really drives me mad because sometimes I can't have my phone on loud without this sound playing constantly.
I tried looking and listening to all the sounds on my phone to try and find it, but I didn't have any luck.
The sound can be heard here (at about 0:02):

This question reminded me of this one, can you check if it's the same problem?

Argh! Yes it is, thank you very much. It was my contactless debit card and my Oyster card doing it.
I guess I'll just disable my NFC, I don't use it much anyway. Thank you!


text:
Camera Failed Error on Samsung Galaxy S3
Getting error message  on Samsung Galaxy S3, running Android 4.3.  Have tried rebooting,  clearing Data, Cache and Force Stop with no success.
Thanks for any help!

Is this a stock Android 4.3 installation or a custom ROM? Rooted or not? Have you tried the nuclear option or factory reset?

You need to elaborate on "Getting error message". What are you doing when you get that error message? When did it start happening? What camera app are you using?


text:
Problems since 4.4.2 OTA - Verizon Wireless Note 2
Background:
I was previously rooted and even after disabling root I could not do the OTA (it kept giving me a status error 7). After researching I decided to use ODIN to try and restore to a stock ROM for the upgrade.
I initially tried to use CI605_I605VRLJB_I605VRALJB_CL414933_HWID04_HW_Rev0406_low_ship_user as the firmware, but it caused my device to go into a firmware upgrade error.
I then used I605VRUEMJ9_I605VZWEMJ9_I605VRUEMJ9_HOME which got me back to stock 4.2, I OTA'd to 4.3, and using a previously downloaded OTA copy of 4.4.2 I booted into recovery mode and manually installed the OTA.
The Problem:
Since going to 4.4.2 (and I noticed it in 4.3) the Google Play store seems to load EXTREMELY slowly. I have Frontier FiOS and speed testing the connection shows a minimum of 25/11.36 Mbps for my connection. 4G does not appear to work so well either.
Could I have messed something up? I do not know why my stuff is working so slowly...
EDIT
I tested speeds using SpeedOf.Me (website version) and got results of .5-1Mbps DOWN and .5Mbps or less UP. This is regardless of using wifi or 4G. I tested Wifi on my PC and  got more than 10Mbps.

Did you flash an updated modem/baseband? One that is for Kitkat? That may be the source of the issue.

Take it to the samsung care and fresh install the kitkat rom all your problems will be solved.
If you don wana go to samsung care go to sammobile.com find the suitable firmware and flash your device using odin.


text:
Can I make NFC payments using Google Pay while in airplane mode?
Can I make NFC payments using Google Pay while in airplane mode, like when I don't have cell phone or wifi service (particularly when travelling)?

The payment system of Google Pay uses tokens for non-online/non-website payments:

Google Pay does not send merchants their customers' actual card numbers when they pay in stores; instead, Google Pay facilitates a process called tokenization in which a token stands in for a customer’s actual credit and debit card numbers.

As far as I know Google Pay stores a limited number of prepared tokens in the app so that you can pay without the necessity of data transmission by the phone if you want to pay something. But if these prepared tokens are used-up you need an online-connection for making the next payment.

Customer tokenizes card: A customer adds their card to Google Pay.
Then, their mobile device stores a payment token that is encrypted
using a limited / single-use key.
Merchant receives token: When the
customer taps their device on an NFC-enabled terminal at the store’s
point-of-sale, the device sends the token, token expiry date, and
cryptogram to the terminal via the NFC protocol.

https://support.google.com/pay/merchants/answer/6345242

Do you have a rough idea of how many of these limited tokens are prepared at a time? like, it is just 1 or 2. or a dozen?

@Gabe based on quick research (e.g. Reddit), looks like it depends on the financial institution. It may have 5, or 10, or none at all.


text:
OTA update removed stock Contacts app (Galaxy Y S5360, Android 2.3.6 Gingerbread.XXMI1)
My Galaxy Y S5360 did an OTA software update on 22 April 2014, and ever since then, after the phone rebooted, my Contacts app has gone completely!
The data is there, so I have had to download Contacts+ app from Google Play in order for me to call/text my contacts, but I can't add or edit any of my contacts.
I've contacted Carphonewarehouse, who I bought the phone from in January 2012, and they were unable to help. I've contacted Samsung, who got their remote assistance team to remotely delve into my phone (via Smart Tutor for Samsung app) and they were unable to help.
I've done a factory reset, no joy.
Apparently there is no option to reload the software update, as Kies is old and I can't update this because my phone is old and won't cope.
I am at a loss what to do!
I've raised a complaint with Samsung, so I'm hoping they will be sympathetic, but I won't hold my breathe.
Can anyone help?

download the required firmware bundle here
install Kies, or Samsung driver pack
unzip the package, You'll get 3 *.tar (or tar.md5) files
download Odin3 1.84 or 1.85
stop Kies
stop all active ADB sessions
start odin
do backup of your data and apps
charge your SGY at least 75%
remove SGY from USB or charger
start the device in Download mode
power off Your SGY
wait 30 sec
Press Vol Down, Home, and Power at the same time
When (about 5 sec) Warning screen appears, release Volume Down and Power, then (a bit later) Home
press Vol Up (You'll get Odin mode screen)
Browse the 3 tar files to odin PDA=PDA_xxxx.tar, PHONE=MODEM_ or PHONE_xxxxx.tar, CSC=CSC_xxxxx.tar
no PIT and/or BOOT files required - leave it empty!
leave all other fields and checkboxes default!
connect your phone, You must see yellow 0:[COMxx] in the first ID:COM and "Added" in the message box
Start flashing by the START button.
flashing will start immediately, see the progress in the message box, and progress bar on the phone
Wait 1-3 minutes, until green PASS! in the upper left
SGY will reboot, leave it as is for 2-5 minutes until startup finishes
if it stuck (eg boot anim loop) then:
- Start the phone in Recovery mode

- remove battery
- resinsert battery, wait 30 sec
- press Vol Up, Home, Power at the same time
- when Galaxy Y logo appears, release the Power button
- when Recovery menu appears, release the Home button first, then finally Vol Up
- select wipe data/factory reset (Vol UP/Down + Home)
- select reboot system now

When Android boots up, it's highly recommended to set your CSC via the dialer #272_your_imei_# (to see IMEI type *#06# in dialer) -> (it will erase all your data on the phone, but not the SD card)

Thanks Ruben Roy, the thing is, I'm not a techie person and I'm worried I will screw this up - are there any other options?  I had palpatations just resetting the phone to factory settings ;-)

The only other option to reinstall the firmware is to give it to the service centre.

OK, many thanks. I'll wait to see what Samsung say before I do anything, hopefully they will accept it was their update that caused it and will recall the phone and reinstall the firmware at their service centre FOC.


text:
Google play constantly asks for permissions
A few weeks ago my Xiaomi phone (MIUI 8) started showing a permission error, stating that more permissions are necessary. After enabling all of them, the error reoccurred after a few minutes, this time asking for other (previously enabled) permissions (mostly body sensors, storage, sms, etc).
It is somewhat annoying, since I get a notification every few minutes with the same error, which wakes up my screen. How can I fix this problem and make sure the permissions are always enables?

Try disabling Google Play Services and reenabling? Try clearing its cache? Force quitting it?

@owlswipe I did, and I also uninstalled all updates from google play services and framework and re-installed it (from here: http://www.mobipicker.com/fix-google-play-store-stopped-error-android-device/). I haven't tried a factory reset yet. Is there another way?

Try clearing the data cache of the Google Play Services app (Settings -> Apps -> Google Play Services -> Storage -> Clear Cache and/or Clear Data) and then try clearing your system cache. And can you check for software updates?

@owlswipe Ha, I removed my google account, restarted the phone, logged back in and then cleared the cache as you advised. For an hour now there hasn't been such an error message, it seems that fixed it. Thank you! You could put this into an answer so that I can accept it and close the question.

Happy to help! Answered below, and if the issue comes back, feel free to comment back and I'll keep trying to help :D

This issue seems to me like a bug with Google Play Services, probably caused by some of your data within the Services app given that this isn't happening to everyone. Try these steps in order until the issue is resolved:

Check Google Play Services for an update in the Play Store, and if available perform it.
Force Stop Google Play Services in Settings -> Apps -> Google Play Services -> Force Stop.
Log out of your Google account.
Restart your phone.
Log back into Google Play Services.
Clear its data and/or cache in Settings -> Apps -> Google Play Services -> Storage -> Clear Cache/Clear Data.
(According to OP, not necessary): Clear your phone's system cache.

Note: See OP's comments above for how they fixed the issue.

Happy to hear this helped!!


text:
Droid x on Liberty 3 v 2: How can I restore contacts with titanium backup after flashing?
I just rooted my droid X and installed liberty 3v2. Awesome experience so far.
Before I flashed, I backed up most of my apps + system data with titanium backup. What app / data do I need restore from titanium backup in order to get my contacts back?

If your device is linked to a Google Account, merely syncing will restore your contacts and calendar.
Otherwise, in TiB - look for Contacts / Contacts Storage in the backup/restore tab.


text:
Touch Screen for Clock
I want my alarm clock fade to black, but when I touch the screen will display the time. I want to this feature at night when my clock is charging on my nightstand. Is there a way to achieve this type of feature?

For that you can simply use any alarm clock – and enable Daydream with either the digital or the analog clock. That would result in exactly what you're asking for:

Configuring Daydream / Daydrem in action (source: HowToGeek; click images for larger variants)
That's what I'm doing with my "good old Droid²" which serves as nightstand. You can even define how bright that clock should be (it has a special "night mode"). That way you're totally free to use the alarm clock of your choice.

That's great, thx! I didn't know Daydream would work that way.

Glad you like it! If it fits your needs, please signal that by "accepting" the answer (ticking the check-mark next to it). Btw: That clock in night mode is really very decent (not disturbing at all). Other than you requested, it would be on all the time (think of it as a screen saver) – and when you touch it, it would turn the screen saver off. I still think it's matching what you're after :)

authors: تعلم اللغه الالمانيه


text:
Recovering data from corrupted SD card formatted as internal storage (Marshmallow)
I have an SD card in a Moto G (2015) running marshmallow, not rooted.
It was formatted as internal storage, and contains photos and videos from the birth of our daughter, but has become corrupted.
Since it was formatted as internal storage, it's ESDFS filesystem and presumably encrypted. I can't decrypt it without accessing the encryption key, which I can't do because I'm not rooted. Presumably rooting will delete that encryption key.
I presume it's corrupted because any attempt to look at the SD card from within android unmounts the card, and the phone can't see any of the pictures/video on there. When the card is inserted, the 'storage' menu will initially acknowledge the card and tell me how full it is, but any attempt to look inside the card will result in it unmounting.
I've tried running fsck - within system/bin there are fsck_msdos and fsck.f2fs, but both come up as 'permission denied' when looking for them, and 'no such file' when I try to run them.
I can access /data from an adb shell, but attempting to get into /data/data/media results in 'permission denied'
Can anyone help? E.g:
1) will rooting delete the encryption key so that the card can't be accessed?
2) is there a way to get fsck working?
3) any other ideas for getting the media off this card?
Many thanks in advance. I'm a bit of a noob, so clear instructions much appreciated!

If you had Google Photos, your photos might've been backed up to the cloud... Visit http://photos.google.com/ to check... Good luck!

Same here, same phone model. My SD card got fried this afternoon. :(

http://android.stackexchange.com/questions/135803/corrupt-sd-card-formatted-as-internal-storage This may possibly be of help. I have the same problem but I don't think I got the skills. Br

This solution worked perfectly for me: https://android.stackexchange.com/questions/174799/moto-g3-android-marshmallow-not-detecting-sd-card-anymore-solution/181699#181699

1) will rooting delete the encryption key so that the card can't be
  accessed?

No, actually "rooting" will not delete anything. Rooting is just adding an application for superuser or root-level access. That being said, in order to root your device you must have an unlocked bootloader. Unlocking the bootloader will wipe the entire device, including the encryption key, and all other data on the device. On the Moto G 2015 there is no way around this. Oh, and removing the card and performing the operation will not work, once it is rooted, the system will be different and the encryption key will change.

2) is there a way to get fsck working?

Not without root access. To be honest, even if you did get it to run the chances it would correct this type of problem are very low.

3) any other ideas for getting the media off this card?

Unfortunately no... once media has been adopted by the system, it is encrypted with a unique key to that system. If you can access the key, it is possible to access the data via Linux assuming the data is not corrupted. If the data is corrupted the chances of recovering encryped, corrupt data are extremely small.
As much as I would like to be able to give you an answer to recover your precious photos and videos, I don't believe there is one. All I can say is that moving forward I suggest NOT using adopted storage if possible (if this card was simple external/portable storage, the chances of recovering media from it would raise exponentially) and use a cloud backup solution like Google Photo which has the ability to maintain a backup of your photos and video automatically.

This possibly suggests a way to extract encryption key

You don't need to unlock bootloader to root a device. It is needed only to install custom OS, recovery,etc. If one wants to install a pre-rooted OS (which falls under installing custom OS), then it's required to unlock bootloader. But it's NOT NEEDED if one is rooting the existing OS in the device using an exploit.

Rooting existing OS requires having a local root vulnerability and working shell code. If your current firmware does not include known security issues, there's no way to root the system without unlocking the bootloader (which will force wiping entire device in case of Moto G).

Having seen the same problem more than once and after giving up on trying to root my phone (runtime root), I've opted for a method that I hoped would work and actually worked.
The method I've chosen will require an identical SD card and a card reader, however I believe it should work also with any SD card as long as it is larger - haven't tested it though.
Remove the supposedly corrupted SD card from the phone and plug it into a Linux machine. After finding what device was representing it (commonly /dev/mmcblk*), use dd to extract its contents:
$ sudo dd if=/dev/mmcblk0 of=/tmp/sdcard.dump bs=4M

sdcard.dump will be absolutely useless as it is encrypted and you don't have the encryption key, but it doesn't matter. Eject that SD card and insert the new, probe the SD card device (say /dev/mmcblk1) then run:
$ sudo dd if=/tmp/sdcard.dump of=/dev/mmcblk1 bs=4M
$ sync; sync

Eject the new SD card and plug it in your phone. In my case the phone was tricked into using that new card as its existing storage, thus mounting it and allowing me to gain access to its contents.
If you get errors while reading the corrupted SD card, try using ddrescue instead of dd when creating the initial image. Chances are that despite the errors you will still get access to a large portion of the data on the card.

I suppose you'll want to replace sdcard.sump with sdcard.dump in the first command.

This answer has a similar idea behind it, only instead of replacing the card, they replaced the internal SD reader of the phone with an external USB reader.


text:
Permission denied in /data
My phone is getting out of storage space warnings and most of this is due to log files in /data that I cannot get to.
I'm using CyanogenMod and use Terminal to gain shell access.  Issue su in the root filesystem,  cd data, then ls.   That's when I get permission denied.

Screenshot (click for larger variant)
What do I need to do to gain permission to clear out these large, inaccessible log files?

If you'll add as an answer I'll green check you.

You're not even operating as root - the symbol before each command is still $ instead of #. Double check the root-related options in Developer options - allow root for shell.


text:
How to get back accidentally deleted `wpa_supplicant` file?
I was trying to get Ad-Hoc working on my Konka i127 Android Jelly Bean 4.2.2 phone, and I accidentally deleted my wpa_supplicant file. Now, I cannot turn on my Wi-Fi connection anymore.
How do I get my wpa_supplicant file back?

Finished factory reset, and it added a new file right in it's place. But I still cannot connect to Wi-Fi, any ideas?

Well that's a different question which should be asked as a NEW question. As for this question, I believe it is answered. So should I post an answer, or you would do it for us? :)

Done, I have asked a new question, here it is. http://android.stackexchange.com/questions/116785/need-help-wi-fi-problems

The wpa_supplicant.conf resides at the location /data/misc/wifi/wpa_supplicant.conf. Since it is inside /data/, rest assured that it is not lost for eternity. It would take factory reset to bring it back from scratch.
Also, that file contains device specific and your once connected Wi-Fi's specific information. So, there is no point for us to upload it for you.


text:
How to disable or remove the predefined setting for long press Home button in Samsung Galaxy S4?
I have a Samsung Galaxy S4 running  Lollipop 5.0 update. The phone's OS has designated the long Home button function (hold it down) to access the task manager.  I want to disable, remove or change this function.
I have tried eight different applications for Home buttons and none of them work as they only work for one or two tap functions.  While this may not sound major, it is very major to me and my needs.  I only need to be able to access the task manager from settings.
Samsung has advised that I can't change it.  I have searched the internet and forums high and low with no result.
I have never installed a new OS or anything like that, but I will have to get rid of my phone if I can't fix this problem.

Do you not have the related settings under "Settings -> Buttons"? Is the device rooted?

No, there is no button option under settings.  I am not sure if it is rooted or not?  I have never done anything to the phone or changed the OS.

authors: Ива Пантелић


text:
Unable to use all the memory of Allview A5 Smiley
I bought some days ago an Allview A5 Smiley. I installed some applications and made some photos. Now, I saw that I can't install files bigger than approximately 200 MB because it is only free space on phone. This is strange, because the phone has 4 GB of storage. I looked in Settings and I saw that I still have about 1.5 GB free, but I can't use for applications. Why this happens and how I can fix it?
Some screens shots:
(Click image to enlarge)

Thanks!

Try the insufficient-memory tag wiki , it may be helpful

I added a as of diskinfo.

Sorry, Mihail: that's an all-present issue. Aleksandar pointet to the correct place for how to deal with it. User data (and apps you install) are stored in a separate partition, which is almost full on your device – so no matter how much space you've got elsewhere, apps still want to go there and can't.

I had the same problem on an Allview P5 Life and I solved it by simply upgrading to Android 5.0 Lollipop.
I used to have an A5 Smiley before this one as well, and I had the same problem... what I did to make it better was to root the phone and remove the bloatware saving a pretty substantial amount of space. This is however not really recommended and you should do it at you'r own risk.
You could also try to install another ROM. There's no official upgrade but you can probably find an unofficial compatible ROM on the internet. This is a very risky endeavour and I really don't recommend it... even I didn't do it and instead left the phone as-is and gave it to my father who uses it only for calling.
TLDR; There's no official or easy way to get more space. The only two ways that I know of are risky and require at least some technical know-how. You'd be better off getting another phone.


text:
Error: Secure Check Fail : aboot, when trying to update firmware on Samsung Galaxy Core Prime using Odin
The things I did to update firmware from Android 4.4.4 to 5.0.2:

Installed latest Samsung usb drivers for mobiles
Installed latest Samsung kies and through that I installed device drivers.
Downloaded Odin v3.10.6.
Put my phone in odin mode.
Connected my phone to my pc via original usb cable.
ODIN -> AP -> lollipop firmware (G360FXXU1BOD9_G360FOXA1BOD9_G360FXXU1BOD9_HOME.tar.md5) -> start.

After that this happened;

And my device showed this error in red color : SECURE CHECK FAIL : aboot.
Any suggestions, how can I get 5.0.2 lollipop on my core prime?
Edit : I recently put phone to format, then removed micro SD, and then did everything from step 4 but no luck. It's a new Samsung Galaxy Core Prime SM-G360F (nearly 5 days old).

Are you sure that the ROM you downloaded isn't corrupt? You can test to see if a file is corrupt by comparing its md5 signature to the one on the server. Ask the ROM uploader if they can help.

Otherwise, it may be that the boot loader is utterly incompatible with your phone. You can't just put ROMs from other Samsung phones in to ODIN and think that it will work if that is the case.

@georgeunix no that is not the case, The name of the file clearly shows that. Also I (just to ensure) extracted the .tar.md5 file using 7z in some folder and the file got extracted without any errors.

I don't know what model number the Galaxy Prime is ;)

Are you sure your boot loader is unlocked?

how can I check that? name of the phone is given in edit at the last of this question

To be honest, I don't know. I don't own a Samsung device any more.

wait while I search a li'll bit more

The issue is clearly with the connection to the phone's boot loader.

You might find that another distribution of ODIN, or even Heimdall or Mobile ODIN may work. ODIN is a leaked tool from Samsung which is buggy at best.

"Finally, the function performs signature verification of the entire image. If signature verification succeeds, the kernel is booted; otherwise, a tampering warning is displayed and the device fails to boot". Source: http://blog.azimuthsecurity.com/2013/05/exploiting-samsung-galaxy-s4-secure-boot.html

You didn't purchase your phone from a mobile network (or carrier), did you? Is there network branding on the phone or box? If so, many networks prevent you from interfering with their software. You may be able to research whether this may be a possibility.

bootloader unlocked means rooting phone? if that is so, then it is clearly mentioned that the phone should not be rooted

@georgeunix No, I don't think so, my phone is not network branded

This indicates that you are using the wrong file for your phone model.

Not sure why this got downvoted, as I am :), and I know people will say OMG don't do that, but Tmobile and International Variants can be interchanged, I've done it many times. But ODIN is stopping me.

I used to get the same message. Then I removed an option called "sécurité Verr. de réactivation" in french. Translation may be "Reactivation Lock Security".
Uncheck it and restart root procedure.

If you are sure that your download file is complete, remove .md5 by renaming it. Try flashing afterwards, it wont calculate the checksum then.

I have an imperfect solution!
If you can still get into your recovery module (TWRP in my case), then you can use a micro-sd card to flash a rom onto the device. In my case, I used CM 12 because I knew it would work, and I was freaking out, panicking that i had bricked it completely.
My experience was with a Galaxy Note 4 on T-Mobile. Hope this helps.
However, I am by no means an expert, so there is likely a better way.

I tried that too, btw I got it fixed by technician in 5 min who had original copy of the firmware. I don't know which answer to pick as right one.


text:
How do I know when an app was used in Android?
Is there any way to tell when an app was being used in an Android phone?
I am specifically interested in the camera and gallery functions. I believe my roommate went through my photos without asking, and I've tried to view the cache for the Gallery app but can't seem to figure out how to do it.
Is this even on the right track? He had it for a twenty minute interval, and I want to see if the Gallery was accessed during that period of time.

Android allows usage stats to be seen from GUI. Here's how you can see it. (Source, by Kevin Swartz)

In your default dialer, type *#*#4636#*#*. It would open a window named Testing which is a sub-setting of Settings app.
Go to Usage Statistics.

For Lollipop:

Sort the time in Sort by: based on Usage time or  Last time used or  App name.
The order of entries are App, Last time used, and Usage time.
(Click image to enlarge)

For Jelly Bean 4.2.1 to Kitkat 4.4.2:

Sort the time in Sort by: based on Usage time or  Launch count or App name.
The order of entries are App, Count, and Usage time.

(Click image to enlarge)

The usage time in these Android versions is shown in milliseconds (ms). You may do calculation on your own, or try a conversion tool like this to instantly convert them into minutes.

Don't forget ADB
Alternatively, you can directly jump into the Usage Statistics window using adb. Enter this command:
For Android Lollipop:
   adb shell am start -n com.android.settings/.UsageStatsActivity

For Android 4.2.1 to 4.4.2:
   adb shell am start -n com.android.settings/.UsageStats

See this answer if you're interested in knowing the role of parameters in those commands.
You can also do adb shell dumpsys usagestats (Source, by Jinghao Shi) which for Android 4.2.1 and 4.4.2 didn't give anything more useful than already covered in  screenshots posted above for them.
Lollipop shows more end-user comprehensible output in comparison to its predecessors,
In-memory daily stats
  timeRange="8/29/2015, 8:34 AM â 8/30/2015, 1:41 AM"
    packages
      package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM"
      package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM"
      package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM"
...
...
events
      time="8/30/2015, 1:34 AM" type=MOVE_TO_BACKGROUND package=com.android.deskclock class=com.android.deskclock.DeskClock
      time="8/30/2015, 1:34 AM" type=MOVE_TO_FOREGROUND package=com.android.dialer class=com.android.incallui.InCallActivity
      time="8/30/2015, 1:34 AM" type=MOVE_TO_FOREGROUND package=com.android.dialer class=com.android.dialer.DialtactsActivity
...
...
In-memory weekly stats
  timeRange="8/27/2015, 5:30 AM â 8/30/2015, 1:41 AM"
    packages
      package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM"
      package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM"
      package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM"
...
...
In-memory monthly stats
  timeRange="8/9/2015, 8:34 AM â 8/30/2015, 1:41 AM"
    packages
      package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM"
      package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM"
      package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM"
...
...
In-memory yearly stats
  timeRange="12/21/2014, 5:30 AM â 8/30/2015, 1:41 AM"
    packages
      package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM"
      package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM"
      package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM"
Now you can browse the list to find Camera and Gallery app, and see their "last time used" value, for Lollipop, that is. Unfortunately, the info in this section wouldn't help the devices running predecessor of Lollipop, unless the device is rooted, or you find an app that can give you package statistics.
Also, in your particular case, all of this info would be helpful only if you've had not launched the Camera, Gallery, or a particular app of your interest after your friend was done using the phone, since the time-stamp for that app gets updated to the new "Last time used", for all Android versions I mentioned.

The following section would work if the device is rooted.

For Jelly Bean (4.2.1) to Kitkat (4.4.2)
Android keeps a log of when  an app (it's component) was last used. You can head down to /data/system/usagestats/ using a file explorer with root access, or using adb.
There would be a file named usage-history.xml and some other files with naming convention as usage-YYMMDD where:

YYYY - Year
MM - Month
DD - Date

E.g. usage-20150729 is the file created on July 29, 2015.
That .xml is a plain XML file, so you should be able to view it in a  text editor. Those usage-YYMMDD are data files (charset=binary) and my text editor Kate couldn't open them in human-readable form. However, cat <FILE> command does the job, so as the Android app QuickEdit, not completely I should add.
The basic template of entries in that .xml file is:
<pkg name="">
  <comp name="" />
  <comp name="" />
  ...
  <comp name="" />
</pkg>

E.g. These are the following entries for the AFWall+ app:
<pkg name="dev.ukanth.ufirewall">
  <comp name="dev.ukanth.ufirewall.MainActivity" lrt="1438134244890" />
  <comp name="dev.ukanth.ufirewall.widget.ToggleWidgetOldActivity" lrt="1435337932669" />
  <comp name="dev.ukanth.ufirewall.HelpActivity" lrt="1416601650972" />
  ...
</pkg>

The lrt against every component (comp) is the Unix time. To make it human readable, use Epoch Converter or anything that can convert Unix time into human readable time.
E.g. 1438134244890 is the Unix time when I accessed the AFWall+'s main activity (it's default view) and the converted time is Wed, 29 Jul 2015 01:44:04 GMT, which is correct.
As for the content in usage-YYMMDD, you'll see activities of the apps you visited on that day. There is no time-stamp there.
For Lollipop
Lollipop has considerable changes in regard to usage statistics collection of an app. See official note by  Google here.
The concept of  usage-history.xml and usage-YYMMDD doesn't apply here. Instead, you get directories named daily, monthly, weekly, yearly. All of them has files which you guessed it right, having numeral names, nothing but Unix Time like 1440374400000.
A typical file under daily has the content:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<usagestats version="1" endTime="66355190">
    <packages>
        <package lastTimeActive="66153798" package="com.android.providers.media" timeActive="2974" lastEvent="2" />
        <package lastTimeActive="66329769" package="net.dinglisch.android.taskerm" timeActive="64172" lastEvent="2" />
        <package lastTimeActive="66150806" package="android" timeActive="1942" lastEvent="2" />
...
...
    <event-log>
        <event time="43080692" package="android" type="5" fs="1065353216" mcc="404" mnc="97" />
        <event time="43087204" package="com.android.launcher3" class="com.android.launcher3.Launcher" type="2" />
        <event time="43087329" package="com.android.settings" class="com.android.settings.Settings" type="1" />

Now this is actually the same thing that we saw in usagestat's  output but the timing is in its raw form. I've no idea how to understand the time here let alone convert it into human-readable form. Developers should be able to do it.
If you what it is and how to convert (as an end-user) then please let me know it or post an answer here.

Have you tried opening the config file with Notepad++. I have no root so I can't check myself.

@Lucky Didn't try Windows; using Slackware Linux here. You may try opening it in your system. Here is the file. It doesn't seem to hold any configuration, so I possibly wouldn't call it a config file. :)

Could open in Notepadd++ and Sublime Text editors. Sublime opens it as as HEX data.

Could you please share a screenshot for Notepad ++?

Here's how it look in Notepad++ and Sublime Text

Plain ASCII XML here for my tabbi running 4.1.2. @Firelord: As I have no 5.x device, could you please at least include the file names used there? Thanks a lot! // For those who are curious: this is what they look like there.

@Firelord what a coincident: I've just re-checked your post right know before seeing the notification :) I would upvote it again if I could, very thorough and detailed. Now we just need the missing "timing" detail for Lollipop … Thanks for your hard work!

As per user Mel: UPDATE: The time (event time="43087329") is the delta/time elapsed in milliseconds since the time the log was created. So 1440374400000+43087329, and then convert into something readable using a Unix convertor.

adb all the way.

If your phone is last used or if you want to find out apps which runs/connected on internet like(Browsers, Clash of Clans etc) the last used activity is recorded under the my activity in your google account. You can find that out by visiting https://myactivity.google.com and click on Android.


text:
Sony Xperia Z1 randomly rebooted and when it came back up, apps on the SD card read "Application not found"
Just last night I was moving apps to my SD card and the phone (Sony Xperia Z1) randomly restarted. When it came back up, all the apps on my SD card no longer worked. Their icons became generic with a tiny SD card in the bottom corner.
When I tap an app, I get the message "Application not found". I've tried un-mounting and removing the SD card, restarting, clearing cache, but nothing works.
When I go to the App Store, the apps show up as if they need to be installed but when I look at the SD card via my PC, all the files are there still. The pictures and videos are still accessible from the phone however. Before that, I had problems moving a game to the SD card. I kept getting a "Not enough memory" error, even though all the other movable apps moved and I deleted apps to make space.
I tried options I found on the forums and other websites but to no avail, and the only thing I haven't done yet is to root my phone, which I am trying to avoid.

Maybe I can help with part of your question.  I too have had a 'Not Enough Space' issue.  I deleted a bunch of files and off-loaded more, still I could not move or edit other files.  Going to settings and checking 'Device' 'Storage' the operating system indicated that I had over 2/3 of my internal memory available.
I found that if I power cycled the device it would reset the file space available counter in another part of the operating system.  I also found that I could not count on my deletions or moves being deleted or moved unless I used the Power Cycle trick very soon after preforming the deletions or moves.

I think this is probably the fault of the SD card, not Android. It sounds to me like your SD card is corrupted.
I had a somewhat similar problem once, but not exactly the same. Every once in a while icons for all image files I put on the external micro SD card would change from thumbnails to gray squares with black keyholes, and the files would become inaccessible. I was able to open other files I had stored, and new image files I put on the SD card were okay at first, but later turned into the unopenable keyhole icons. Then I started getting error messages claiming I was out of memory when only a fraction of the space was used. I reformatted the card and tried copying some images to it. The error messages about being out of memory were gone, but a couple of weeks later the images became inaccessible again, with the gray keyhole icons.
The solution was to throw the SD card in the trash and get a new one. I haven't seen these problems again in the year and a half since then.


text:
How to fix "Google Play Services won't run unless you update it"?
My device is a Sony Xperia Z and it's running Android  5.0.2. It prompted me to update my Google Play Services, and when I followed the notification it delegated me to the Play Store to update it. However it would seem it is already updated.
My current version of Google Play Services is 7.8.93.
(Click image to enlarge)

The notification keeps coming back and I can't seem to find a solution. How do I get rid of this notification permanently?
Here's a look at the notification :
(Click image to enlarge)

I see this quite often. In my case, it always helped to 1) switch back to the list of your apps, then 2) tap the app to update again (in very rare cases, repeat 1+2 again). This usually makes the "Open" button turn into "Update". Does that work for you? On the other hand, if just this app is affected: it usually auto-updates itself, so it might be you're just not fast enough :) Check which version is installed now, and then check again after the next update pops in (updates are quite frequent here).

When you refer to "list of your apps" do you mean going to the play store and then navigating to the my apps tab? If so Google Play Services is not listed.

Yes, that's what I meant. Didn't check for play services there yet as I had no need, but neither did I get any update notifications for it: that app just updates itself without asking me – which is why I suggested checking the version numbers (in Settings › Apps › All).

OK. Check again when your issue happens the next time. I bet it then already has updated itself – so your issue would be "how to get rid of those useless notifications". Please verify, and then [edit] your question accordingly (also include the Android version running on your device then).

It's a simple notification. Unlock the screen, go to notification bar, tap and hold that notification and choose a bell icon with a slanted line on it.

Alternatively, go to "Settings -> Apps -> All apps -> Google Play Services" -> uncheck "Show notifications".

That could work but only hides the problem. But will give it a try

Settings > Apps > Google Play Services > Notification settings > off
Settings > Apps > Google Play Store > Notification settings > off
That's it.

Since the question body also mentioned "How do I get rid of this notification permanently?", this answered that question, though as the OP has commented before, "That could work but only hides the problem".

Each time I have reset my phone, exactly the same thing happens. I cannot update individually only Google Play Services as it goes into an infinite loop of popups saying that you cannot Update until you Update.
The solution which worked every time is to go to the Google Play Store into the Apps and Games (sometimes called differently depending on the version) and doing a Update All. Obviously, it may update more than you want but that is the only reliable way that worked on Android 7.0. Hopefully, this can work (or some similar steps) for your version too.

No 'guru' here, running LG tablet w/Android v5.0.2, updated software yesterday and was unable to 'update' Play Services, altho I was constantly reminded to do so.  Finally, for some reason, I decided to move Play Services App button to a different location and, when I did, it updated automatically and (I hope!) OK. Notification is gone.

That's nonsense :D

I think you're likely confusing coincidence with causality.


text:
Prevent Glympse from stopping sending my location due to low battery
How can I configure Glympse so that it doesn't stop sending my location due to low battery?

Screenshot - (Click to enlarge image)

I haven't found any solution so far.

So I am still interested if someone has any idea.


text:
Can I install Xposed framework and run GravityBox on stock and rooted Android 4.2.2?
I'm using a Karbonn A52+ running rooted Android 4.2.2 (stock), and haven't installed any custom recovery or ROMs. Can I run the GravityBox with Xposed framework on my device? I've heard rumors that Xposed framework works on devices running Android  version above 4.4. So I don't want to take the risk of installing it on my device.

You need at least root access in order to install the Xposed Framework. I doubt your stock ROM is rooted. Only devices running Android > 5 need to install the framework through a custom recovery.

my phone has root access

Xposed framework is designed to work on all Jelly Bean devices and up. All you need to do is rooting the phone first. Similarly Gravity Box. There are 3 different variants like JB, KK, L which we know in Xposed modules store. In your case use Gravity Box (JB)  with latest xposed framework. A quick tutorial for future readers - Install Xposed installer > Install Xposed framework from within the app > Search for Gravity Box module and install it > Activate and reboot. That's it. Gravity Box is also available in Play Store.

Thanks for the info.. Shall I download from here? http://repo.xposed.info/module/de.robv.android.xposed.installer

@TanmayVij Correct. Download, install, launch it. Then download and install Gravitybox. A notification would come up to activate the module and reboot the device. Do it. All good now!


text:
CAN i reinstall the system apps which i have deleteed accidently during rooting?
Recently i have rooted my phone .And somehow my media storage has beeen deleted during the rooting process ans i cant play the music and watch photos .My andriod version is 5.1. So can somebody send me the apk file (the apk file of system apps can be created by apk extractor ,you can find it  on play store) of the media storage ,so i can reinstall it.
P.S.I have tried with other versions of andriod and i failed.
PHONE DATAILS:
OBI SJ1.5
RAM 1 GB

I don't think rooting will delete anything automatically (though depending on the device unlocking your bootloader can sometimes reset your device & delete all files in your internal storage). What device is this? What apk files are you looking for? Did you try apkmirror.com?

i am looking for media storage .This must be the inbuilt  file for photos and music synchronisation.And ,yes i have tried apkmirror.com but unfortunately i can't find for my particular version i.e 5.1

Could you please [edit] your question and include what device you're talking about? Apart from that, we don't send files around here. But with enough details provided, we might be able to help you solving your issue.

System app APKs need to be signed with the same key that was used to sign your system image, so nobody can help unless you say what phone you have.

You might need to reset your phone to stock rom for that

"Reset" won't restore stuff deleted from the /system partition (where pre-installed apps reside). And "might" rarely makes an answer. What steps would you suggest?

@Izzy resetting to stock rom means reinstalling stock rom on the device

Not necessarily; installing something is no reset. I read it as "perform a reset to factory settings" (factory-reset). Flashing the stock ROM of course would solve the issue. But then it wouldn't necessarily have to be "stock", as flashing a custom ROM would solve it the same. Maybe you could [edit] your post?

@Izzy How would flashing a custom rom solve OP's problem when he wants default system apps from the manufacturer?

OP wants the problem solved. I don't see a statement saying "but please only the apps from this manufacturer". What I'm mainly pointing at is that "reset your phone" is ambiguous, so you should at least make clear what you mean and include some basic pointers on how to do that.

@Izzy That depends on your terminology. I did not tell OP to perform a reset to factory settings but to reset/to back to an initial state his phone to stock ROM

I don't think i want to flash a stock/custom rom or factory reset .PLUS my phone is obi SJ 1.5  and custom recovery is nowhere to be found for this phone .I just want to get the manufacturer app (i.e media storage ) so i can listen to my music and watch photos.AND thank you for your precious answers.

@IronMan you don't have to reinstall system apps for that just download AVG media gallery and VLC and you should be fine

THANK YOU everyone for your help . I have downloaded the poweramp and quick pic which seems to work fine for me .BUT i have no idea how these twowork without media storage on the device .

@IronMan Media Storage keeps a database of media in your device. A multimedia app can depend on that solely to list, search and play the files or can have its own database and scanning methods. Probably, the two apps are using the latter approach.


text:
Transferring apps to new phone
Applications
I updated my phone from Samsung s4 to Samsung a8. I transferred all my info with smart switch. Some app's  appeared and the rest are "in progress". It has been several days now, why are the apps still in progress please help. Btw I do not have WiFi

So I believe you used a USB cable with a USB/microUSB adapter ?
If so, you may want to check the quality of your cable and/or use a better one (USB cables are NOT "all the same" : some are excellent, some are utter sh*t).
Unfortunately, the only tool I know for that goal is the QooPow qualMeter : http://www.qoopow.com/. It's a physical tool (= not an app) and a bit pricey, but if you find yourself lost in your cables, it might be a good investment for the future (your friends may find it useful too. Why not pool some money to get one for the lot of you ?).

Use ApowerManager , not only the applications but also videos,
 photos,contacts, messages, notes, books can be traferred from one phone to PC. Then import the files to your new phones. It gives you free choice to pick out the files you want.

A number of questions to fulfill here: 1. What is your connection to this software - do you have an affiliation with this company and its software? 2. Why do you link directly to the company download vs. the apk on Google Play? 3. Are the versions different, and in what aspects?

Apowersoft is mostly known for spamming this site, which really doesn't say much for the quality of their software.


text:
MTP - it just won't work
Dear android enthusiasts!
I'm not sure this is the right place to ask but I'm being really desperate and out of ideas what to try. I have a Galaxy S6 Edge (SM-6925F) running Android 7.0 (Kernel 3.10.61-13115714). The problem is: I cannot access the phone via USB anymore.
It used to work until a few months ago. It stopped working on one computer, some time later also on all others. When I connect it to a USB port, it charges just fine, but does not display any USB options that would allow me to select what it should do (the connected for charging notify doesn't even pop up). Here is what I tried:

Standard answer is to enable the developer options and then enable USB debugging. I did that, no change.
In the developer options I can set what the phone should do when connected to USB. Changed from MTP to "charge only" several times, also tried the other options like PTP, even setting it to audio source for fun. Tried changing options and disconnecting/reconnecting, restarting phone, restarting host PC, just nothing.
Tried the *#0808# thingy. Again, this allows me to select the USB options but no matter what I select, nothing changes.
Other standard answer is drivers. Well, there is not much I can remove in my device manager as the phone doesn't show up anywhere. I don't hear a "USB device connected" sound, it doesn't try to install anything. I did try to uninstall and reinstall the drivers from [*], again with no effect. I tried Win7x64 and Win10 hosts. Nothing.
Changing the cable. Tried three different ones.

I'm out of ideas what else I can try, except for the full factory reset of the phone. I was trying to avoid that due to the hassle with reconfiguring everything. Therefore I was wondering if there are any other options or if I have to go for that.
Thanks in advance!


text:
How to get memory dumps, when internal memory (/data partition) is damaged?
(Sorry for my english)
My phone, Samsung galaxy S3 16 GB wasn't rooted and installed custom recovery. Someday, it appears on the screen that "internal storage is damaged". So I want to backup internal storage, attempted flashing twrp and rooting the phone through CF-autoroot, but it unable to mount /data in twrp.
To create a internal memory dump, I find this article.
https://dfir.science/2017/04/Imaging-Android-with-root-netcat-and-dd.html
I tried to this.
adb devices
:: List of devices attached
:: 4300********061 recovery

/data directory is empty.
adb shell
su
:: permission denied

I think phone isn't properly rooted. Installing a supersu.zip from twrp, it says "install failed".
adb forward tcp:8888 tcp:8888
dd if=/dev/block/mmcblk0 | busybox nc -l -p 8888
nc 127.0.0.1 8888 > android.dd

It created a dump file of 3.5 GB size on windows, although internal memory had 15 GB in use. And mounting the dump file from OSFMount is failed.
In this situation, is it possible to get a full memory dump of internal storage, specially /data partition?

Update.
Retry dumping of /data partition, and view this dump file from testdisk in linux. It worked.

How to recover a deleted file from /data partition?


text:
Xiaomi Mi 5C - Horrible Speed
I have a new Xiaomi Mi 5C ordered from AliExpress. When connected to the data network in Denmark, the internet is horribly sluggish. It seems to only be able to connect via Edge. Anybody knows a solution?
Note 1: that the same sim card in another phone provides 3G connectivity.
Note 2: all the settings are such that it should be using 3G when possible (e.g. Preferred Network Type = 3G)
Android Version: 7.1.2.

Only in Denmark, or generally? Because it could be the provider restricted (roaming) connections to that.

Oki, what solved it for me were the following steps for enabling 4G on Xiaomi Mi5C:

dial *#*#1#*#*
in the menu select 'TEL_Assistant'
select 'Telephony' and then 'Radio Access Tec'
choose the '5 MODE' and then 'Save'
reboot/restart the device

did you try changing the network model...is it stuck on edge..after changing the network model go to your network details and make shure your are on the selected network mode


text:
Running ARM64 Android on ARM64
I have a Linux ARM64 computer (not phone). How can I use this to run an ARM64 Android phone image?
Android Studio does not work on ARM64 computers. Android Studio with emulator works on x86. I do not want to use ARM64 to emulate x86 to run the x86 Android image since it is unusably slow.

Waydroid is one of the options.

@IrfanLatif do you have more detailed steps to run/install it? Following the steps, I am stuck on the last one: Waiting for waydroid container service... Failed to load binder driver modprobe: FATAL: Module binder_linux not found in directory /lib/modules/5.15.0 Binder node "binder" for waydroid not found. Is patching the kernel with binder module safe?