I installed and executed this app which is a virus or malware now what to do?

You became a victim of a typical phishing scam. The problem at this point may or may not be severe, depending upon the state of SELinux enforcement in your device and un-patched known vulnerabilities in platform software. I would suggest begin by hunting down any app which has been recently installed.
I tried App Detective1, Elixir 2 and Solid Explorer Classic and all of them were able to sort the apps by time of installation and/or update.
Note: If the app offers sorting then have it sort in descending order. Whichever app entry you would touch, you would be shown certain information. One such information is package name of the app. Note it down and so as the label/name of the app.
Now, in order to remove the app, go into application manager of your device. That would mostly be Settings app → Apps → All apps. Search for your app and uninstall it. Repeat the whole exercise if you installed more than one malware.
Note: some malware apps tries to be smart (funnily). Through phishing they have the user set them as device administrator, which makes them temporarily immune from force stop as well as removal. Under application manager of your device, if you find your malware with having Force stop and Uninstall button grayed out, then you may be dealing with a device administrator. In that case go to Settings app → Security → Device administrators → deselect the entry for your app.
If you cannot find the app by its label/name in application manager, then setup adb in PC and execute this command:
adb uninstall PKG  # PKG refers to package name of the app you intend to uninstall

Tip: all the three apps I tried, they also offered removal of a user selected app; at certain point of app removal, you might need the assistance of safe-mode.
If the app exploited a vulnerability then it may have become a system app. In that case, you shouldn't bother about removing the malware because you may not be skilled enough to ascertain where else the infection may have occurred. The cleanest approach is to have the stock ROM flashed on the device. For that, you may seek technical help from the  vendor or on this site or forums out in the wild. Anyhow, the details about flashing a ROM are beyond the scope of this answer.
(Click an image to enlarge it; order of images: App Detective, Elixir 2, Solid Explorer)

Lessons for future:

When browsing in any browser, ignore any warning -- no matter how convincing or scary it is -- that asks you to install an app or to share any piece of personally identifiable information. That's just spam and will always be.
Keep Unknown sources setting disabled. It's not a coincidence that it is a security setting.

1 Courtesy of HasH_BrowN for the answer here.


Are there specific cases in which a task-killer or "fast reboot" program is helpful?

Honestly, I don't believe so. If you need to stop an app, you can always go to Settings > Applications > Manage Applications, click on the app and force stop. It does the same thing and the only time I find myself clicking on it, is when an app is acting up.


Maybe changing the default write memory could solve your problem, see the last entry in the Storage and Memory menu:

Settings->Storage and memory (click image for larger variant)


Able to play only few mp4 files in Samsung Galaxy Y?

Deriving from the link given in Comments:

Answer by Richard

  You are not able to play the high resolution videos in your mobile.
  Your device should be able to handle videos up to 640*360, this is the
  resolution of HQ YouTube.

  Note that there's absolutely no point in watching HD videos on your
  phone. It has a screen resolution of 240 x 320. Anything above this
  will be scaled down to fit the screen.

Comment by ce4

  In General, HD videos need to be decoded by a specialized companion
  chip (h264 decoder) because the CPU is not powerful enough. For price
  reasons, only a subset of h264's Features may be supported leaving you
  without HD support


How to hard reset of a Samsung Galaxy GT-I9000 which I cannot put in recovery mode?

Did you try this:

Turn the power off. If your Samsung Galaxy S is frozen, pull the battery out and reinsert it
Hold the Volume Down button
Press and release the Power button
You are now presented with a menu that allows for Fastbook, Recovery, Clear Storage, and Simlock
Select Clear Storage by pressing the Volume Down button
Press and release the Power button
Now simply confirm your decision: Volume Up for YES and Volume Down for NO

(Source: KnowYourCell.Com -- the first hit on a little Google Search)

UPDATE: Alternative approaches are listed at Hard-Reset.COM, e.g.:

charge your battery fully before doing a hard reset
PRESS AND HOLD VOLUME UP + Home Button (or VOLUME UP + DOWN)
Keep pressing these 2 buttons + press Power button for 2-3 Seconds
Release only power button, but KEEP pressing Volume up + Home Buttons (or VOL UP + DOWN)

You also might check with the following question here: SGS doesn't go to download, recovery mode nor does it connect via USB after installing a battery MOD


What's the best way to move files from SD card without the risk of losing any files?

For regular fuse/FAT file system type, there is no need to preserve file permissions, just copy all files as usual. You can check file system type by typing in mount  in the terminal emulator. You will see somthing like this example:
/mnt/media_rw/149B-8301 type vfat
/storage/149B-8301 type fuse

149B-8301 is the UUID of the SD card and it shows that the file system is vfat.
To copy files regularly, run the following:
adb pull -a /storage/149B-8301 ~

advanced copy (tarball archive)
adb exec-out "tar -c storage/149B-8301 | gzip" > ~/sdcard_backup.tar.gz

copy from PC MicroSD Card Reader
cd /media/xubuntu
tar -czf ~/sdcard_backup.tar.gz 149B-8301

Note: replace ~ with path to target disk drive providing enough free disk space on PC


Why can't my device see an ad-hoc WiFi network?

Android has issues connecting to adhoc networks. Here is a link to a fix someone else here used to get his tablet to connect to a adhoc network. Also this is the link to the thread he got his information from.


Trying to install Copperhead OS on Nexus 6P

wrong fastboot!

1st i used android-tools-adb and android-tools-fastboot from ubuntu -- didn't work - same error

following the instructions https://copperhead.co/android/docs/install - it worked


Lenovo Yoga Tab 3 Pro (YT3-X90L) factory image, OTA update or backup needed

I've wrote it down. Translation by google, but i think it's all good :) Sry for not posting, needed some time.

Situation:
"Confirm account: The device has been reset. To continue, sign in with a Google Account that was previously synced on this device. "

Explanation:
The device has been blocked by repeated input of the wrong password, pattern, etc. and can only be unlocked with the Google account of the owner.
A factory reset or hard reset does not help here, as the account information is saved in its own FRP partition and will not be deleted when the factory state is restored.

Solution:
1. Connect device to a Wi-Fi and Internet access.
2. Before confirming "Next", select another hotspot here
3. Go to "Advanced Settings" and change the proxy settings of any hotspot to Manual.
4. In the text input field of the proxy settings you enter now any word: e.g. Test
5. Now mark this word and select "Assist" in the context menu.
6. Selecting this "Assist" option opens the Google search application.
7. You can now not only browse the Internet through this search, but also search for and open installed programs.
8. We are looking for Chrome, open the internet browser, go to www.google.com and search for DPC test.
Link: https://www.apkmirror.com/apk/sample-developer/test-dpc/test-dpc-4-0-6-release/test-dpc-4-0-6-android-apk-download/
9. After downloading this application, go back to the Google search application.
10. Here we enter "Download" to search for the download application.
11. In Downloads we can now find and install the downloaded app.
12. To allow the installation of this .apk, you must allow the installation of "unknown sources" in the settings.
13. Either you go here on the installation itself on "Settings", or you search for "Settings" on the Google search app.
14. After completing the installation of the DPC-Test program, start it with "Open".
15. The app itself is will register as a device owner and now allows us to set up a new Google Account as owner.
16. If this is set up, it will also be included in the FRP partition.
17. In the event of a new factory reset, the device is reset, the DPC-Test program is removed and the device can be freshly set up in the factory settings.

after the takeover of the owner, the reason for blocking the device was not present anymore and the old owner was overwritten. This will be overwritten in the FRP partition aswell with the new account and the old one no longer queried.


The unlocking the bootloader and installing a custom recovery is a one time procedure, for future updates you just need to flash the zip file and you are good to go. Having said that, since you feel it is a risky complicated procedure, in case you have a phone that is mentioned on this Page then the whole process becomes a lot more simpler and opaque to you! At the end you will have a phone with the last stable release of CM for your phone, what this also does is take care of the messy steps, so if you are unable to root your phone just using CM Installer will unlock a whole new world.


Block apps from accessing the Internet on Android device

If you don't have root access on the device, then you can use mobiwol to control the access various apps have to the Internet. Mobiwol creates a 'virtual' VPN connection on the device which allows control of the individual app connections. However, although the app starts when the device starts it is possible that there may be a brief period prior to Mobiwol executing in which apps could get Internet access despite the Mobiwol configuration.

If you have root access, there are more alternatives:

Remove the 'internet' permission using an app like Permissions Denied
If your kernel supports IPTables, you can use an app such as AFWall+ to control which apps have access to the internet.


You should be wiping the data before rooting it. It might be bricked or if you try opening the recovery mode wipe and clear every data on the device then reboot. Wait for it to boot.

Sometimes it works with this method but you should search the internet for millions of methods for millions of android device models out there.

Sorry if your device is bricked that's a bad feeling.


For some reason, MTP and ADB are incompatible.  Try turning USB debugging off, I've never been able to get it to connect right with it on.


You cannot remap hardware buttons without root, but if you don't want to root your phone there are some soft key apps which "work" (they look bad to me, but if they are satisfactory I guess it would work). For how to do remapping or use better soft keys look below:

The first step in this process will be of course to root you phone (the linked instructions are just one I found on Google, feel free to look for others).

From here you have two options, either use soft keys or remap your hardware keys.

Soft Keys:

-You can either grab an app to do this for you, or install a custom ROM (for example CyanogenMod) that has the feature built in. Just google "android soft keys" for some app options.

Hardware Keys: ButtonRemaper

Look for hardware key remapping on Google for more options.

Let me know if you have any questions.


Find out which firmware to use to revert to stock ROM

You can use a SamMobile ROM, but be sure that the model, the country and the original carrier match the phone as different carriers often require different radio drivers if they use different radio spectrum for bandwidth.  If you don't know which carrier there are several routes you can use to determine it:

find out which radio you have on your device and match it to the appropriate carrier's
find out what frequencies your current carrier uses and use that to determine the equivalent carrier for the SamMobile ROMs
the version of CM you installed should also tell you which radio is on the phone, on the CM website
you can also get the information directly by dialing the code *#0011# on your phone, tho it may not be overly helpful (GSM900 is helpful, for example, but WCDMA is not - if it's WCDMA you'll have to look up the Rx(download) and Tx(upload) to determine frequency)

FWIW, I find that Odin generally is easier to use than Kies for flashing ROMs.


Change Facebook (and others) photo saving folder

I had EXACTLY the same problem. I couldn't find a solution else where. The only solution was to use a .nomedia file in the /sdcard/DCIM/Facebook directory and moving the *.jpgs to another folder. I had made a Tasker task referring to a reddit post in /r/tasker. Here is the description and the XML for importing it. You have to create the %destpart and add a .nomedia in %sourcepath for it to work. You can run this task in a profile as an exit task for Facebook and as an entry task for other messenger apps like Telegram/Whatsapp, etc. so you get your memes right!

The Meme Mover (3)
A1: Variable Set [ Name:%sourcepath To:/sdcard/DCIM/Facebook/ Recurse Variables:Off Do Maths:Off Append:Off ]
A2: Variable Set [ Name:%destpath To:/sdcard/Pictures/Facebook/ Recurse Variables:Off Do Maths:Off Append:Off ]
A3: Variable Set [ Name:%suffix To:(1) Recurse Variables:Off Do Maths:Off Append:Off ]
A4: Variable Set [ Name:%counter To:0 Recurse Variables:Off Do Maths:On Append:Off ]
A5: List Files [ Dir:%sourcepath Match:*.jpg/*.png/*.jpeg/*.gif/*.3gp Include Hidden Files:Off Use Root:Off Sort Select:Alphabetic Variable:%filestomove ]
A6: For [ Variable:%thispathfile Items:%filestomove() ]
A7: Variable Split [ Name:%thispathfile Splitter:/ Delete Base:Off ]
A8: Variable Set [ Name:%len To:%thispathfile(#) Recurse Variables:Off Do Maths:Off Append:Off ]
A9: Variable Set [ Name:%filename To:%thispathfile(%len) Recurse Variables:Off Do Maths:Off Append:Off ]
A10: Variable Clear [ Name:%exists Pattern Matching:Off ]
A11: Test File [ Type:Type Data:%destpath%filename Store Result In:%exists Use Root:Off Continue Task After Error:On ]
A12: If [ %exists !Set ]
A13: Move [ From:%thispathfile To:%destpath%filename Use Root:Off ]
A14: Scan Card [ File:%destpath%filename ]
A15: Else
A16: Variable Split [ Name:%filename Splitter:. Delete Base:Off ]
A17: Variable Set [ Name:%filename1 To:%filename1%suffix Recurse Variables:Off Do Maths:Off Append:Off ]
A18: Variable Join [ Name:%filename Joiner:. Delete Parts:Off ]
A19: Move [ From:%thispathfile To:%destpath%filename Use Root:Off ]
A20: Scan Card [ File:%destpath%filename ]
A21: End If
A22: Variable Add [ Name:%counter Value:1 Wrap Around:0 ]
A23: End For
A24: If [ %counter eq 0 ]
A25: [X] Flash [ Text:No memes? Sad. Long:On ]
A26: Else If [ %counter eq 1 ]
A27: Flash [ Text:%counter meme moved! Long:On ]
A28: Else
A29: Flash [ Text:%counter memes moved! Long:On ]

 Remember to have .nomedia in %sourcepath

Here's the XML for direct import:

<TaskerData sr="" dvi="1" tv="4.9u4">
<Task sr="task3">
    <cdate>1489093858387</cdate>
    <edate>1489219027762</edate>
    <id>3</id>
    <nme>The Meme Mover</nme>
    <pri>100</pri>
    <Kid sr="Kid">
        <launchID>3</launchID>
        <pkg>me.regalstreak.movefb</pkg>
        <vnme>1.0</vnme>
    </Kid>
    <Action sr="act0" ve="7">
        547
        <Str sr="arg0" ve="3">%sourcepath</Str>
        <Str sr="arg1" ve="3">/sdcard/DCIM/Facebook/</Str>
        <Int sr="arg2" val="0"/>
        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
    </Action>
    <Action sr="act1" ve="7">
        547
        <Str sr="arg0" ve="3">%destpath</Str>
        <Str sr="arg1" ve="3">/sdcard/Pictures/Facebook/</Str>
        <Int sr="arg2" val="0"/>
        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
    </Action>
    <Action sr="act10" ve="7">
        342
        <se>false</se>
        <Int sr="arg0" val="4"/>
        <Str sr="arg1" ve="3">%destpath%filename</Str>
        <Str sr="arg2" ve="3">%exists</Str>
        <Int sr="arg3" val="0"/>
    </Action>
    <Action sr="act11" ve="7">
        37
        <ConditionList sr="if">
            <Condition sr="c0" ve="3">
                <lhs>%exists</lhs>
                <op>13</op>
                <rhs></rhs>
            </Condition>
        </ConditionList>
    </Action>
    <Action sr="act12" ve="7">
        400
        <Str sr="arg0" ve="3">%thispathfile</Str>
        <Str sr="arg1" ve="3">%destpath%filename</Str>
        <Int sr="arg2" val="0"/>
    </Action>
    <Action sr="act13" ve="7">
        459
        <Str sr="arg0" ve="3">%destpath%filename</Str>
    </Action>
    <Action sr="act14" ve="7">
        43
    </Action>
    <Action sr="act15" ve="7">
        590
        <Str sr="arg0" ve="3">%filename</Str>
        <Str sr="arg1" ve="3">.</Str>
        <Int sr="arg2" val="0"/>
    </Action>
    <Action sr="act16" ve="7">
        547
        <Str sr="arg0" ve="3">%filename1</Str>
        <Str sr="arg1" ve="3">%filename1%suffix</Str>
        <Int sr="arg2" val="0"/>
        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
    </Action>
    <Action sr="act17" ve="7">
        592
        <Str sr="arg0" ve="3">%filename</Str>
        <Str sr="arg1" ve="3">.</Str>
        <Int sr="arg2" val="0"/>
    </Action>
    <Action sr="act18" ve="7">
        400
        <Str sr="arg0" ve="3">%thispathfile</Str>
        <Str sr="arg1" ve="3">%destpath%filename</Str>
        <Int sr="arg2" val="0"/>
    </Action>
    <Action sr="act19" ve="7">
        459
        <Str sr="arg0" ve="3">%destpath%filename</Str>
    </Action>
    <Action sr="act2" ve="7">
        547
        <Str sr="arg0" ve="3">%suffix</Str>
        <Str sr="arg1" ve="3">(1)</Str>
        <Int sr="arg2" val="0"/>
        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
    </Action>
    <Action sr="act20" ve="7">
        38
    </Action>
    <Action sr="act21" ve="7">
        888
        <Str sr="arg0" ve="3">%counter</Str>
        <Int sr="arg1" val="1"/>
        <Int sr="arg2" val="0"/>
    </Action>
    <Action sr="act22" ve="7">
        40
    </Action>
    <Action sr="act23" ve="7">
        37
        <ConditionList sr="if">
            <Condition sr="c0" ve="3">
                <lhs>%counter</lhs>
                <op>0</op>
                <rhs>0</rhs>
            </Condition>
        </ConditionList>
    </Action>
    <Action sr="act24" ve="7">
        548
        <on>false</on>
        <Str sr="arg0" ve="3">No memes? Sad.</Str>
        <Int sr="arg1" val="1"/>
    </Action>
    <Action sr="act25" ve="7">
        43
        <ConditionList sr="if">
            <Condition sr="c0" ve="3">
                <lhs>%counter</lhs>
                <op>0</op>
                <rhs>1</rhs>
            </Condition>
        </ConditionList>
    </Action>
    <Action sr="act26" ve="7">
        548
        <Str sr="arg0" ve="3">%counter meme moved!</Str>
        <Int sr="arg1" val="1"/>
    </Action>
    <Action sr="act27" ve="7">
        43
    </Action>
    <Action sr="act28" ve="7">
        548
        <Str sr="arg0" ve="3">%counter memes moved!</Str>
        <Int sr="arg1" val="1"/>
    </Action>
    <Action sr="act3" ve="7">
        547
        <Str sr="arg0" ve="3">%counter</Str>
        <Str sr="arg1" ve="3">0</Str>
        <Int sr="arg2" val="0"/>
        <Int sr="arg3" val="1"/>
        <Int sr="arg4" val="0"/>
    </Action>
    <Action sr="act4" ve="7">
        412
        <Str sr="arg0" ve="3">%sourcepath</Str>
        <Str sr="arg1" ve="3">*.jpg/*.png/*.jpeg/*.gif/*.3gp</Str>
        <Int sr="arg2" val="0"/>
        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
        <Str sr="arg5" ve="3">%filestomove</Str>
    </Action>
    <Action sr="act5" ve="7">
        39
        <Str sr="arg0" ve="3">%thispathfile</Str>
        <Str sr="arg1" ve="3">%filestomove()</Str>
    </Action>
    <Action sr="act6" ve="7">
        590
        <Str sr="arg0" ve="3">%thispathfile</Str>
        <Str sr="arg1" ve="3">/</Str>
        <Int sr="arg2" val="0"/>
    </Action>
    <Action sr="act7" ve="7">
        547
        <Str sr="arg0" ve="3">%len</Str>
        <Str sr="arg1" ve="3">%thispathfile(#)</Str>
        <Int sr="arg2" val="0"/>
        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
    </Action>
    <Action sr="act8" ve="7">
        547
        <Str sr="arg0" ve="3">%filename</Str>
        <Str sr="arg1" ve="3">%thispathfile(%len)</Str>
        <Int sr="arg2" val="0"/>
        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
    </Action>
    <Action sr="act9" ve="7">
        549
        <Str sr="arg0" ve="3">%exists</Str>
        <Int sr="arg1" val="0"/>
    </Action>

        <cls>com.facebook.katana.LoginActivity</cls>
        <pkg>com.facebook.katana</pkg>

</Task></TaskerData>

Copy the code above and save the file as The Meme Mover.tsk.xml in /sdcard/Tasker/tasks. Then go to Tasker, long press on Tasks, and import this.

Pro Tip: Enable A25 just for testing if you want to.

Edit: Code corrected and updated. (1 memes moved was triggering my OCD.)

Edit 2: Had some problems, corrected again.


how to get xperia m by default notification tone

Go to /system/media/audio/ringtones in your Xperia M and copy the notification tone and place it in media/audio/ringtones in SD card in your grand neo phone. Restart the phone. Also refer to Izzy's answer in this link


how to send to special number in the new hangouts

You to access Hangouts from the website version https://hangouts.google.com/ and then input the number that you want to send a text to once the conversation is created you can access the conversation from your phone.


How to prevent SECUSO Privacy Friendly Net Monitor apps from shutdown without my permission

By default the app is battery optimised, which means once the screen is off and doze-mode  kicks in, it is stopped.

From Settings → Battery → 3 dots menu on top right → all apps → Netapp → Don't optimize
(that's on Oreo, may vary a little on Nougat). Once you do that app will run till you stop it manually.

OP has clarified further

  For Nougat, find the options 'lock screen cleanup' or 'off screen cleanup' from Settings → Battery and choose the option 'Don't Close' for SECUSO Privacy Friendly Net Monitor.


Is there a folder system viewable by applications

A music application will look in certain places for MP3 (or other format) music files, and show them in whatever graphical browser the application has built in.

Conversely, a file manager will show you the file and folder structure of your Android system (well, as much as is allowed by root/non-root permissions).


Samsung Galaxy S2(Format or restore factory setting through pc?)

A hard reset restores the original factory settings and erases content, including downloaded ringtones, images, programs, and contacts stored in the internal memory. This feature allows for resetting of sound profiles, display settings, and phone or memory card settings.

To perform a hard reset using the hardware keys, follow these steps:

Turn off the device.
Press and hold both Volume Up and Volume Down keys at the same time.
Press the Power key only until the phone vibrates once, then release only the Power key.
Continue to hold the Volume up and Volume Down keys until the Android System Recovery screen appears.
Press the Volume Down key to highlight Wipe Factory Data.
Press the Home key to select.
Press the Volume Down key to highlight Yes - Delete all user data.
Press the Home key to select. Press the Home key to reboot.

But as you said, your screen is broken. Check the screenshots and see how many times you want to use down and up volume key, so that the according to number position you can do it.


Joining a public WiFi made the owner able to send me a Facebook friend request. How?

Not enough rep for comment, sadly - but my guess is that this could be Facebook beacon (not necessarily BT, they work with WiFi too).


Why lsusb gets "permission denied" error in Termux?

lsusb command lists entries in /sys/bus/usb/devices which is world-readable but SELinux would be denying access because u:r:untrusted_app:s0 context isn't allowed to access u:object_r:sysfs:s0.

However you can try adb shell lsusb because sepolicy allows u:r:shell:s0 to read the directory as defined here:

allow shell sysfs:dir r_dir_perms

And here:

define(`r_dir_perms', `{ open getattr read search ioctl lock }')


"Google Now" swipe from Home button is not working in Marshmallow

There are actually 2 issues here:

No swipe from Home button gesture
Cannot change the action from Google Now to other apps (e.g Tasker, or Greenify)

The first issue is caused to accomodate a new feature called Now on Tap. Now, instead of swiping the Home button, you just need to hold it to access Google Now screen (or "Now on Tap", if enabled). AFAIK, this behaviour cannot be changed natively (enabling/disabling "Now on Tap" doesn't affect this).

The second issue is caused by the addition of explicit setting for assist app (before Marshmallow, you need to clear defaults the app that you assign to before). The setting can be accessed from Settings - Apps - Advanced (cog wheel icon) - Default Apps - Assist & voice input - Assist app. By default, it is "Google App" (i.e. Google Now), and you can change to any apps that support this feature (i.e. Tasker, for my case).


Where are the sources and issue tracker of Ghandicam?

I am not sure it is open source, as I could not find any reference to it being so, but you can try using the Contact link on their website to report the bug.


Google now cannot display cards because of low storage space

Just clearing the cache didn't fix the problem. But restarting the phone afterwards solved it.


Nexus 5: /storage/emulated/0 not mounted

OK, so I finally fixed this problem.
I wiped my phone completely after backing up my data and I used fastboot to flash an all new recovery image and installed a new ROM but still the problem persisted.
Then I noticed that in the recovery I keep getting: "error mounting /persist".
I found and followed this link: http://forum.xda-developers.com/google-nexus-5/general/guide-to-fix-persist-partition-t2821576
And the problem was fixed!


FakeGGSearch.a - Lookout found a virus on my Android Phone

I had the same problem this morning.

Lookout reported this trojan, and it says it's part of Google Search Enhanced. When I try to uninstall I get a message saying the uninstall failed.

When I first searched for it there were no results on Google. Now there are several. So this seems to be a very new problem that people have started to see this morning.

I ran a different antivirus and it found no problems.

The phone has had no new apps installed for some time, so I'm hoping this is a false positive from Lookout.


What is this icon that looks like a headphone cable?

The icon looks like an aux cable which suggests that your phone thinks that you have plugged in some headphones.

Assuming you haven't, you can try peering into the headphone socket (use a bright light) to see if anything is trapped in there. If there is you can try blowing into the port to see if that will dislodge/remove it, or turn if so the port is at the bottom and tap gently to see if that helps.


whatsapp group ...what does the message so and so was removed mean?

When you see a message <User> was removed then it means two things:

The group admin removed the user from group.
The person deleted/deactivated his account. I can vouch for this one because my friend lost his mobile and on deactivation the message appeared in my group that he was removed without me taking action.

Yes, <User> was removed and <User> has left mean two different things, <User> has left comes up when user voluntarily leaves a group but keeps his WhatsApp active.


When I open Gallery phone starts going through a Gmail installation Wizard

I have a feeling the "gallery" app somehow links up to google photos or any of google's services and hence it's requiesting your gmail authentication.

It is generally a rule of thumb to association an android smartphone with at least one functioning gmail account. This is what enables you to access the play store and certain other core features of the smart phone.

You may try to do one of the following:

1. Use android's basic file explorer that is built in.

Depending on what version of android you are in, you should be able to get to the file explorer via Settings > USB & Storage > Explore ( or simply tap on images)

2. Install a third party gallery app

You may try to install a third party gallery app on your phone in order to access the photos in your local storage. If you are installing it via the play store, it is again going to prompt you to sign into your google account. Consequently, you can download the apk separately and have it installed as well. You will need to  first disable unauthorized app check (settings > Security > Unknown sources (uncheck this).

Post this, you can download any gallery apk. I would recommend you download this app called Focus. It should be available in apkmirror.com. Since I'm answering this from my office, I am unable to provide you with the direct link.

You many then click on the downloaded notification in order to install the app. Should you be unable to do that for whatsoever reason, you will still be able to locate the app via android's default file manager (settings > USB & Storage > Explore --> Then nagivage to downloads directory.


I have just had the same question answered on another forum:  Its a notification from Greenify: opening Greenify showed that auto-hibernation was not currently working.  Greenify need to ensure that a notification is linked to the appearnace of the icon.

If you do not have Greenify installed then the mystery deepens...


How can I clear recent searches from search bar in Chrome?

Here is an easy solution to disable recent search history in Google Chrome's (Android) search bar (as shown in OP's screenshot):

First of all you have to make sure you sign out of your google account, you       can do it from google chrome's settings. The first thing that appears is your account, click on it and search for close session in chrome.
Signing out is necessary for the option to disable search history to appear. Remember this is not your account's search history, but rather the app's history.

At the bottom of google.com (or rather you can access it  fromhttps://www.google.es/preferences) go to 'settings' -> 'Search settings' -> 'do not save searches' -> Make sure you click SAVE button at the bottom of Search setting page.

Now you can sign in again.

Those annoying purple recent searches should now be gone and never reappear!


How to use external SD card on Ehndroix?

Since android kitkat, apps cannot access sdcard without special permissions.Most custom roms however bypass this requirement


Where does memu android simulator save applications files?


Facebook contact sync no longer working: "Sync is currently experiencing problems. It will be back shortly"

Samsung phones have a proprietary app to synch with social networks: SNS Provider. So to solve it you probably have to search/wait for an update to it in Galaxy Apps.

You can also check your preferences in Facebook app, it has its way to synch contacts and gallery. There should be an option related to contacts synch, check that it's activated.


There is a custom app based on original whatsapp , named Whatsapp PLUS , it allows you to edit complete user interface and as well you can run multiple whatsapp account on a single phone .
whatsapp-messenger


They're the same thing, auto backup is basically just a new (and more appropriate) name. The only thing that changed is that now it uploads your pictures in original quality (part of the reason why they bumped up everyone's google drive limit to 15GB)


Can I have horizontal scrolling in the installed application on the Sense 5.5?

You can use a third-party launcher app like Nova Launcher. Nova will let you scroll vertically or horizontally via Nova Settings > Drawer > Drawer Style.


I am using motorala g .I have problem sending contacts via SMS how to resolve it

what is your android version ? ,
check this question and search please before send a question.
and also you can use import/export at " Contact " if your android version is support this option.


Today, my phone out of nowhere started opening random spam/scam sites. What can I do to make it stop

This thread had the answer for me.  It turned out to be the latest QR code scanner.  It said it had ads but did not say it opened them in the default browser randomly.


Google backup issues after factory reset: required to enter the Google account last synced

Factory reset doesn't ask for that, so there is something amiss.  Somehow it is not doing a real factory reset.  Try powering it up while holding the volume up (+) button.

Mine was really easy.  Just went to the settings menu and all it did was ask if I was sure.

When you do log it into your Google account it will find any and all Android devices you have sync'd and it will ask you which one you want to restore into the unit.


According to Support

This is a new Edge webview experience with the Bing search
capabilities which is expected. There is no way to disable this at the moment. However, if you want to open a link in the default browser,
you will need to click the link, then tap on the overflow menu at the
bottom and choose "Open in Browser".


Two types of internal storage, what is the difference

SOURCE : http://gadgetstouse.com/gadget-tech/internal-phone-external-storage/20812

Most of the today's Android have Three types of storages.

Internal Storage
Phone storage
External storage.

Difference between Internal, Phone and External Storage.

Internal Storage:

In laymen term, it is the personal space of Android, where it stores your (system) applications and its data as well as other sensitive data.

In short this memory is reserved for your operating system and personal data.
And you cannot access it directly, even with a PC.

If you get a Low storage space you can move apps to SD-CARD to free up some space.
This storage gets erased to default by Factory Reset

Phone Storage:

This is the storage that is available to you. When you "move" Applications, this is where they get stored. It is shown as SD-CARD or similiar name. You can use like a normal memory storage.
It doesnot get erased by Factory Reset.

External Storage:

As name suggest, it is the external storage available to you ie your Memory Card.
For Note N7000 is 32/64. So it atleast supports 32 GB memory card.

Apps2SD:
To move apps to SD card. download Apps2SD APP. The App will give you full list of apps which you can transfer to SD card and will prompt you in notifications whenever you download an app which can be moved to Sd card.

Not all apps can be transferred to your SD card. (If developers check ‘Apps2SD’ option in there apps, only then you can move that App to SD card.) Another important thing to note is that complete app will not move to SD card. If you move 25 MB Adobe Flash Player to SD card, about 10 MB space will be freed on your internal storage.

How to get more?

In order to get even more that that 2GB (Its a lot already!), you need to do some Advanced Steps which requires basic knowledge of root and/or partition.

By simply rooting your phone, you get the freedom to use it as you want to, but that voids your warranty. you can move most apps and other data to SD card even without root, but even that is something basic users shouldnt have to be bothered with.

---

For Rooted Devices:

Partitioning Memory Card:

A great article is written over here which explains all the steps in a lucid way.

By following the above steps, you will get extra internal storage from your memory card.
Please note that the above method will Erase your memory card so dont forget to make a Backup in your PC.
Please note that, once done, if you remove your memory card, all the data and apps that you linked wont be available to you anymore. Hence use a memory card (I suggest 16 GB) that can suffice your storage needs.

Advanced:

This section is for advance users only as the knowledge require and risk is much higher. Continue on your own discretion.

Partitioning Internal Storage:

Rather than partitioning memory card and get stuck with it, why not partition Internal Storage itself!

  Here is the link to the Guide which is Especially made for N7000
  http://forum.xda-developers.com/showthread.php?t=2642299

Swapping Internal and Phone storage.

This Article shows how you can even increase the internal storage. Combining with the above and get even more space!

Kudos.
It takes a lot of hard-work to write a good answer, a thumbs-up is always appreciated!


How can I re-flash stock firmware for my Nokia 6.1?

Warning: Before flashing, always make sure that you have the correct tools, ROMs, etc. because you can brick your phone if things don't go as expected.
I found at least 2 threads from xda-developers. Before you start, your bootloader must be unlocked.
From the first thread:

Install the OST tool.
Replace the EXE file in the program files with the patch file you downloaded.
Delete the Onlineupdatetoolexe.config file. If you don't do this, the program will not start correctly.
Put phone into download mode ( either by powering it off, pluging into USB cable and immediately hold power and volume down. Or if you can boot into android with ADB debugging, just do a adb reboot bootloader.
Pick firmware file and click next.

From the second thread:

Download Nokia-SDM660-Tool.zip & Copy Nokia-Tool.exe
Download latest HOME BREW Stock Rom And extract in one Folder and name it as STOCK ROM
Now add Nokia-Tool.exe in to that respective STOCK ROM Folder
Now connect phone to pc
Go to download mode
Now Open Nokia-Tool.exe
Now select Button according to your Phone code
Example Iam Using Nokia 6.1 Plus & My phone code DRG & so i will choose [ DRG B2N CTL PL2 ] same option for 6.1 , 7.1 & 7+ but for 7.2 & 6.2 users choose [DDV SLD]
i will click on [ DRG B2N CTL PL2} According to my phone as i explained in point no.8
wait for 10 min Tool will flash the rom & your phone reboots to system.
So finally this is what the exact standard method to flash stock rom on Your devices

Important: Read the linked threads (and others). If there are steps that you don't understand, ask the authors questions so they can guide you throough the process.
Nokia 6.1 (2018) ROMs, Kernels, Recoveries, & Other Development


How can I change the notification sound to a custom but non-default sound?

You'll have to add the desired tone to the /sdcard/Notifications directory (followed by a restart, possibly).

Alternately, you can install a file manager app such as ES File Explorer, which you can choose as the notification tone picker, instead of the default menu.


First, make sure that your contacts from your old phone were saved as Google contacts. You can do that by going to: http://www.google.com/contacts from any computer and login in with the Google account you used on your old phone.

If your contacts are there - you're in luck. Just add this Google account to your new phone and the contacts will be synced.


You can specify AND logic in contexts, not just tasks. Don't forget that you can have multiple contexts that must all be met (logical AND) before the task(s) run. Try adding the context State > Call [Any, Invert = YES]; this would mean the profile will only activate 1) when a text is received AND 2) no call is active.


My Samsung J5 fell and the touchscreen, as well as the LED-screen are completely broken. Hwo can I make a backup?

That sounds like a difficult issue. You can have the screen repaired at your expense unless its under warranty. You could try booting into recovery and using reference images and luck to do back up while you can't see it.


Problem was that the settings made in the device by manual selection wouldn't stick
Solution
Dial *#*#*4636#*#* and in Phone Info section → preferred network type choose the network type you would like to be always connected to.

As OP noted in their comment, the network selection made in settings was not sticking and the selection made in above menu did stick and prevent roaming  (they chose LTE as preferred network)


Any way to push files onto android phones?

Dropbox and Ubuntu One has Android client.

FoxToPhone has a hidden feature to push arbitrary file from Firefox to your phone.


Can't download some apps from Google market after phone software update

I would trying Force Closing and clearing the data for the Market in Settings -> Applications -> Manage applications and rebooting your phone.


Low-Level: How to copy appdata from android 4 kitkat to android 6 marshmellow

GiantTree got this thing working. With his comment I found
https://forum.xda-developers.com/showpost.php?s=08f8d78aabe88fb570ec1e59a37e71a8&p=67319237&postcount=3

Which does the trick. So you need to fix user, group, Unix rights and SELinux Security Context. Thanks for this quick reply!


How to log/record system events or phone vibrations - Problem with Huawei Mate 20 Pro

The vibrator is not really logged that much but you might be able to get enough information to help. First,  The log output format is:

date time PID-TID/package priority/tag: message

Looking like:

12-10date 13:02:50.071time 1901-4229pid-tid/com.google.android.gmspackage Vpriority/AuthZentag: Handling delegate intent message

adb logcat -v long

Linux: adb logcat -v long > ~/Desktop/logcat.txt

Windows:

adb logcat -v long > %userprofile%\desktop\logcat.txt

Vibrate is system thing so to get just system logs then this use this log command:

adb logcat logcat -b system

Linux:

adb logcat logcat -b system > ~/Desktop/logcat.txt

Windows:

adb logcat logcat -b system > %userprofile%\desktop\logcat.txt

If within the logs you happen to see what package is responsible for vibrate and it gives its pid number write it down. Next use this command inserting the pid number where {pid} part. This will show only the output for that package.

adb logcat --pid={pid number}

Looking like:

adb logcat --pid=1000

If you know the package name you can get the pid number from this logcat command:

A
adb logcat pidof -s {package_name}

Looking like:

adb logcat pidof -s android.os.Vibrator

Just riffing but if you want to get fancy and try the previous two commands at once then through an adb shell throw this:

adb shell "logcat --pid=$(pidof -s {package_name})"

{With linux use a single quote instead of double quote.}

adb shell "logcat --pid=$(pidof -s android.os.Vibrator)"

You might be able to get some information from the battery stats with the command:

adb shell dumpsys batterystats --checkin

Look for vib for time and count.

There are apps that record the logs such as Matlog (no affiliation) that can record, highlight, and other options. However, I do not know if you narrow down the logs to get the details you are looking for.


Odin is an internal Samsung tool used for flashing firmware to their devices (via Download mode, bypassing recovery etc.).  Importantly, it also has the ability to repartition the device storage based on a .pit file, which can save you from softbricking (when flashing goes wrong and recovery/the bootloader fail).  It is not open source and to my knowledge they have not intentionally released it — a few versions have been leaked.  For what it's worth, I have used the version posted here without issue.

Heimdall, however, is open source and duplicates the functionality of Odin.  It claims to be more reliable as well, in addition to being cross-platform (Odin is Windows-only).

Both tools appear to work best with Galaxy S devices, so if you're using another device you probably want to ensure someone else has tried it and succeeded.  Another note is that they use .tar packages layed out differently than the normal update.zip format used by recovery and OTAs, so you need to get the proper package for it to work.


System control take over by whatsapp media playback or a call

The problem you are describing, is a result of a faulty proximity sensor.

What's supposed to happen is, when you listen to voice note or make a call, the screen will stay on, but as soon as you put the phone to your ear, the screen turns off. When the sensor is broken, it thinks that the phone is always by your ear.

One way to get around this, is by using an app called macrodroid.

You can set it in a way, that when the proximity sensor is activated while in WhatsApp, the screen will stay on.

Here are the few simple steps to set this up:

Open macrodroid  → add makro  → sensors  → proximity sensor  → near  → ok. Now press on proximity sensor and add each of the options separately.
Press on actions on the top of the screen  → screen  → screen on/off  → screen on (alternative)  → ok
Constraints  → device state  → application running  → running in foreground  → ok  → WhatsApp  → ok.  ↠ application running  → alive in background  → WhatsApp  → ok.
Now press on the check mark on the bottom, and give a name to this action.
From the main page of the app, press in macros, and after pressing on the one you just made, near constraints, press on and and change it to or. You should see the exact settings as I have below:

Now test this out. Go into WhatsApp and make a call. The screen will stay in during the call.

Note:

The screen will stay an as long as WhatsApp is running, and it will disregard the set sleep time. It will also stay on while not in WhatsApp, as long as WhatsApp is running in the background. If that happens, you can go into your recent apps, and swipe WhatsApp away.
I tested this in s galaxy s5. No guarantee that it works across all phones.


No system updates for Galaxy Nexus (maguro) with Cyanogenmod 11 after 20140225-SNAPSHOT-Installer

The answer to 1) is:
The installer doesn't use the same releases as you see on the download page, it has separately signed releases so they're not directly comparable. Sorry I don't know how you can predict when you might next get an update when you've used the installer.

The answer to 2) is:
Latest release for installer devices are here: http://wiki.cyanogenmod.org/w/CyanogenMod_Installer#Supported_Devices

For the galaxy nexus that is:

  11.0-InstallerXNPQ09P

Further info:
On that same wiki page it says:

  How do I get updates?
  Updates are done via Settings > About phone > System Updates. When a new snapshot build is >available, your will also receive a notification. Devices flashed via the installer will only get updates when a new stable snapshot build is available.

I suspect that might be out of date however.

The following seems to be the most recent up to date information:
http://www.cyanogenmod.org/blog/cm-11-m4-post-release-items

  Installer builds are those served via the CM Installer applications (Windows, Mac). These >builds are specially signed and named separately – there is no concept of an ‘M’ build for >this release channel – so saying ‘Installer skipped M#’ is an incorrect interpretation. >This channel only ever receives specially created Stable builds – they even come with their >own naming structure (eg XNPQ02R).

There is an additional blog post that rehashes some of the information on the m4 blog post above with a bit of extra clarification here: http://www.cyanogenmod.org/blog/cyanogenmod-11-0-m6-release

HTH.
Stephen


Device: Samsung Galaxy S4
Facebook: 3.5

Is this what you are looking for?


It's not clear from your question or the app description exactly what a premium subscription gets you, so I don't know if this applies to you, but there's an exception to the rule you quote. Purchases of goods or content that isn't just accessible through the app don't have to go through the in-app purchase system or Google Pay.

Quoting Google's Developer Policy Center:

  Developers offering products within another category of app [other than games] downloaded on Google Play must use Google Play In-app Billing as the method of payment, except for the following cases:

  Payment is solely for physical products
  Payment is for digital content that may be consumed outside of the app itself (e.g. songs that can be played on other music players).

If the subscription this app offers is for videos or music, or it's also available through their website, they don't have to use Google Pay.


Lost pin, no Google account, can I factory reset?

I think you misunderstand what it is saying here... It is referring to FRP (Factory Reset Protection) which is a method of protecting the phone from unauthorized access by third parties when it is factory reset by requiring you to log in to the Google account that was setup on the device prior to the factory reset.

Three outcomes are possible here...

There was no Google account setup on the device, a factory reset will clear all data and the phone will startup to the Setup Wizard like normal. FRP will not be a part of this situation. If there was no Google account on the device then you would not have been able to access the Play Store either, if your friend's daughter was able to access the Play Store then she had a Google account on the device.
There was a Google account setup on the device that is not known now and there is no way to recover it. If you factory reset at this time, the FRP will kick in on the first boot as part of the Setup Wizard and you will be required to enter the email address and password of the Google account that is not know. FRP will prevent any access to the device. In 99% of cases there is no way around this situation and the device will be permanently unusable.
There is a Google account setup on the device that is known. If you factory reset at this time, the FRP will kick in on first boot and you will enter the Google email address and password and FRP will be completed and turned off. The Setup Wizard will complete normally.

Unfortunately, we see more and more of #2 recently, and the device is basically a brick after a factory reset. A few specific models have a bypass for FRP, but those a few and far between and often require ADB and/or fastboot access to the device.

If this is an older device, prior to Lollipop (meaning Android 4.4 or older), then FRP is not an issue anyway since it is not incorporated into ROMs that old. Lollipop or higher is required for Google FRP.

Also, this is nothing new, in fact Google has been a bit behind in this are for a while... Apple's iOS and Microsoft's Windows Mobile operating systems have been doing this for some time now.


What's the difference between "cdma_shadow" and "shadow" builds in CyanogenMod 7.2

EDITED
Found the official source where can be read that the Motorola Droid X build was renamed to shadow:

Also worthy of note: the new release files have a slightly modified naming-scheme, including the codename instead of the commercial/common name in the filename. So the following is a handy “translation chart” to make sure you don’t mis-identify your device...
...
shadow -  Motorola Droid X
...

Original Answer
At cyanogenmod downloads, the build identified by cdma_shadow stopped at cm_shadow_full-154.zip (the available links are broken).
When they were resumed, they've been renamed to shadow, being shadow the codename for the Droid X.

Droid X formerly known as Droid Xtreme, has the development codename "Shadow".
CDMA Stands for: Code Division Multiple Access. It is the general system used for 3G services.

Related information:

CDMA Technology - CDMA is a wireless technology standard used by Verizon Wireless in all of its phones, and by certain other carriers in the countries listed at this link.

Trying further to justify this answer:
Here's the metadata found at /META-INF/com/android/metadata for the cm-7-20120624-NIGHTLY-shadow.zip where can be seen the reference to the cdma_shadow:
post-build=verizon/shadow_vzw/cdma_shadow/shadow:2.2.1/VZW/23.340:user/ota-rel-keys,release-keys
post-timestamp=1289194863
pre-device=cdma_shadow

And yet the information presented on the menu hover effect:

Besides from this, the cyanogenmod documentation, forums and wiki pages reveal no better insight and are mentioned to be outdated. This seams to be the best official justification for the build rename.


Is it possible to use android phone as bluetooth headset for ps3?

Thanks to an app that turns an Android phone into a more universal Bluetooth device, it is possible to control a PS3 with your Android phone as though it were a Bluetooth remote control. The connection allows the phone to be used as a virtual keyboard for entering text, and it even has a touchscreen trackpad for moving the cursor in the PS3's web browser.

The app, BlueputDroid, is in beta form right now, and is still a bit tricky to use, as the list of supported Android phones is not exhaustive, some of the phones require custom firmware and once you get the app installed, there are technical hoops to work through. A list of believed supported and unsupported devices can be found on XDA-developers.com, where the app was introduced. It also has details on how to download the app for those who own a compatible Android handset.

The independent developer has tested it out on the Nexus One, HTC Wildfire, and LG Optimus One - all with rooted firmwares. He was not able to get it working on the Optimus One.

BlueputDroid is the first app to allow a smartphone to pair up with the PS3 as an input device. There have been other Bluetooth apps for Android that more flexibility in syncing the phone to a computer, but this is the first working app for PS3 connectivity. If the dev can further refine the process and expand compatibility, we'll welcome the chance to use our phones to input PSN info or type in URLs - beats having a real keyboard tethered to your system, hm?

source: http://www.gamesradar.com/how-to-use-your-android-phone-as-a-ps3-bluetooth-keyboard/


Is there an Android known issues database?

The official issue database for bugs/features/etc. of the Android OS can be found here.

Copied from Bryan Denny's answer to another question.


Can you sign into the other Google Account?

If do, your google account is wrong
but If not, maybe I guess, your phone is crashed (such as /system) while android updating.
-> You should go to Samsung A/S center

If I have wrong thinking, Point out please


run the diskpart command from an elevated windows command prompt.
type "list disk"
type "select disk #"  (get number from list disk command)
type clean


How do I install an apk as a system application?

Found these instructions to install PowerManagerPro into /system/app, just modified them a little.
(Note: first install the app into /data/app, like you would any app, and you need a rooted device.)

  Open a Terminal Emulator app and execute the following command to copy the application to the sdcard:

su
cp /data/app/your.apk /sdcard/your.apk

  If you can't find the application in /data/app try /data/apps-private/.
  Then, un-install your app from the device.

  Execute the following commands in the terminal emulator to remount the /system directory as read/write and to install the application into the /system/app directory:

su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/your.apk /system/app

  If you prefer to use adb from your computer, execute these commands:

adb remount
adb shell cp /sdcard/your.apk /system/app


Any way to set profile pic using FB  for Android App (1.8.1 on ICS)?

Yes, there is a way to do so in the mobile app.

I am using Facebook App Version 1.8.1 on a Motorola Droid 3.

The process I did to set a picture as my profile picture was as follows:

Started Facebook
At the top left there was an icon with 3 horizontal dashes that brings up the different sections of Facebook, I browsed down to the "Photos" section under Apps.
I selected a photo out of my list of Photos (It would not let me select the option on anyone else's photo; so I assume it must be one uploaded into your account).
I used my phone's physical Menu button to open the Facebook menu.
I hit the "More" arrow button to list more options in the menu. One of these extra options was to "Make profile picture"

It  may be slightly different on your device; however it is possible to do this in the latest Facebook version on the desired photo.


No. It's not just a question of adding something to the chooser (the menu of apps): there needs to be an app on the other end to take the photo, log into Flickr, and understand Flickr's API (the programming interface that apps use) in order to upload the photo. It also needs to handle possible failures, such as resuming or retrying the upload later if you lose internet connection.

If you want a share option that shares to Flickr, there are many Flickr apps on Google Play that only do uploading, and don't have any functionality to browse or view photos. That way you can have the share option while still keeping your phone lean.

Alternatively, you can browse to the Flickr website in your web browser and upload photos from there. It's not as convenient but it's the only way that doesn't involve any kind of special-purpose app.


Nexus 4 - Bootloop after screen replacement

Ok, I've found what was a problem thanks to that thread : Nexus 4 Stuck at boot screen after replacing the LCD/Digitizer, I've forgotten to attach the headphone connector, after I've done it, it begun to work.


You could send a text file that contains the relevant server details, and username and password, with instructions, but there is no file extension, which when clicked, automatically creates an email account.


LAVA OTG adapter keeps android tablet from sleeping

The LAVA SimulCharge has a chip in it that detects if charge power is being supplied.  If no charge power is being supplied it turns into a regular OTG connection.  When it does this, it draws power from the tablet to power your accessories.

From what I've looked at so far, I haven't found a way to make the OTG 5V power from the tablet turn off when the tablet goes into sleep mode. When the tablet goes to sleep, it seems to still be providing the OTG power.

My tablet will go to sleep, but drains the battery from the OTG connection.


What Kindle device is that? What is its Android version ? You should know that, for most apps, the android version matters.

Apps downloaded from your Galaxy S7 (running Android 6.0, I presume) will not work on a device with a lower Android version, that's why you're getting a parse error.

Download it directly from Amazon AppStore.


My samsumg s3 is acting like its on silent

The lack of sound may be caused by the malfunction of the battery, try removing it and repositioning it after checking that there is no swelling of it, if you still have problems trying to replace it.


Recover deleted content from userdata partition?

The sms database is stored in /data/data/com.android.providers.telephony/databases/mmssms.db which is what you want to do.

Best thing to do, is this, do not plug in USB cable yet:

Reboot into ClockWorkmod Recovery.
Go into Mounts and Storage
Select mount /data
Plug in the USB
From the windows command shell or terminal, adb shell
Since you are in ClockworkMod Recovery, you are root by default, now do this cp /data/data/com.android.providers.telephony/databases/mmssms.db /sdcard/MySmsDatabase.db
exit out of the adb shell by typing in this: exit
Now your database is copied to the SD-Card.
Back out of ClockworkMod recovery and just reboot, the recovery will unmount /data for you.

At this stage your database is now copied across. And can be safely extracted via using something like SqliteMan. HTH.

Edit: The OP was interested to know how a dump can be done. - Read on :)

When you invoke this (with USB plugged in and within the adb shell)

sh-4.1# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "recovery"
mtd1: 00500000 00020000 "boot"
mtd2: 00120000 00020000 "splash"
mtd3: 00080000 00020000 "misc"
mtd4: 02580000 00020000 "cache"
mtd5: 0d700000 00020000 "system"
mtd6: 0cb80000 00020000 "userdata"
mtd7: 00020000 00020000 "oem"
mtd8: 00180000 00020000 "persist"

Knowing which partition is the key.. So for example from my Blade, I can see that userdata is on the partition mtd6, in which the actual partition information can be found within /dev/mtd/mtdX so its a matter of doing this using cat:

cat /dev/mtd/mtd6 > /sdcard/myuserdata.dump

And from there, taking the /sdcard/myuserdata.dump, depending on the filesystem used on that partition, it can be mounted via loop-back. The mileage will vary and of course, its a chicken-and-egg situation, in order to do all of that, the handset needs to be rooted.


Facebook woke up by Google Services and don't want to be Greenified

There are quite a few apps which will wake up Facebook in the background. In particular, any apps which offer to allow you to sign in via a Facebook identity. Even though you might not have signed up via Facebook, those apps will often wake up FB anyway.
  If you want to ensure FB doesn't wake up, then you need to install Xposed framework, enable the Greenify module in Xposed and then tick the option on Greenify for Wake-up Tracker and Cut-off. You can then disable having other apps open FB.

Source Thread


Is there a lightweight way to test C code on Android?

It might be worth a try to install Android IDE (AIDE) - to quote a brief summary:

AIDE is an integrated development environment (IDE) for developing
real Android Apps directly on Android devices. AIDE supports the full
edit-compile-run cycle

However, typing on a device might make it cumbersome unless its a tablet form factor with bluetooth keyboard attached to save the pain in typing.
Edit
As per @Izzy's comment below, Terminal IDE is another such app, this one points to Google Play Store, however I got a 500 error trying to access the page below within the comment! Cheers for that \o/


How do I find the kernel config for my ROM?

If the kernel wasn't compiled with /proc/config.gz support turned on, then the only sure way is to look at the source tree that was used to compile the kernel you're running. Copy the config.h file into your own source tree (or just use the original source tree) and run make menuconfig to set any new options you want.


Errr.. For this rooting problem, I have checked so many informations before. "Rooting" seems a little complicated and technical. However, it's really simple. The most important thing is to find a secure and easy tool for free rooting. Then, find a way to backup the file and data on Samsung Galaxy S4. Actually rooting won't cause data loss, but processes like unlocking bootloader will. So it's still important to backup the data before rooting.

Luckily, Samsung Galaxy S4 doesn't need to unlock bootloader like HTC or Nexus phones. You need focus on one thing: not bricking your device.

You can follow the steps on how to root Samsung Galaxy S4 here. Ensure you have working ADB before continuing. Preferably, install Samsung Kies and the drivers that come with it, and some ADB/fastboot package or the Android SDK from Google.

Download iRoot on your Windows PC.
Connect your phone to your PC.
Detect the device and click on "Root Now".
Done!

Hope you have succeeded now.


How to share a Google+ public post outside of the Google+ app?

Tap the post you want to share
Open the overflow menu (three vertical dots)
Tap "Link"

You'll receive a message: "Post link copied to clipboard."

You can now paste that link to whatever sharing mechanism you'd like

Not the same as using the Android Share function, but, again, Google+ is not alone in doing this. I don't know when this function was added to the G+ app.

Of course, it only works for Public posts.


google play services crashing on login attempt

Maybe just try to go in developers mode
Google service, google+, app store etc stopped working

I tried all the recommendation to clear cache, etc etc and after the factory reset still getting the error. What finally worked for me is going to Developers mode (easy to do, search how to for you phone in google).

I bet some developer tested something and push his code to PROD without testing real user mode. Once I did, the error magically disappeared.


Physical placement of specific sensors in Google Nexus 7 (2012)

Here is a labelled photo of the nfc antenna behind the cover. It runs the perimeter of the black cover on the phone back

http://i.imgur.com/1ETQzow.jpg


Delete the Whatsapp-related files on the SD card ?


That's odd, photos are usually stored within a DCIM directory of the SD-Card. Never heard that one would store them as binary blob within a sqlite db.

Anyways, you cold discover the contents of the sqlite db with the sqlite (sometimes sqlite3) tool. But you need some basic understanding of SQL syntax.


Can I shorten the network name in my status-bar so I have room for more icons?

Yes you can root your phone then cook up your own ROM. The easiest way to cook up your own ROM is to use one of the online Kitchens such as UOTKitchen (http://uot.dakra.lt/kitchen/) or RomKitchen (http://romkitchen.org/). Then when choosing the status bar, edit it to suite your needs.


Background data is anything that involves mobile data or Wi-Fi; it will use whichever is enabled (I think Wi-Fi has higher preference). This includes autosync, background polling, notifications, and other similar operations that will access mobile data.

Assuming you don't have any task / data killer that runs in the background when your phone sleeps, the MMS will be sent You do not need to have the Messaging app open. However, if the sending fails (after a certain number of retries), it will fail and you will have to resend it manually.

Update #1: Autosync depends on background data. If background data is disabled, autosync is also disabled. Autosync is used by accounts defined in settings (In S4, System Settings > Accounts).

BUT it's also possible to have background data enabled, and autosync disabled. In this case, apps could poll and show notifications (e.g. Twitter).


Try following these instructions:

1) Open the command prompt and navigate to your sdk/platform-tools/ folder.

2) Type adb tcpip 5555 with your device plugged in

3) Type adb connect <your device ip address>:5555

4) At this point you unplug your device and type adb logcat

5) At times, such as unplugging/plugging into a USB device, the logcat will become disconnected, just redo steps 3 & 4.

From my answer here.


Is it possible to know if an app has advertisements by analyzing permissions?

You cannot see that just by checking an app's permissions: those permissions ad modules require for their job are the same the app itself might need for another job. You can, however, look up the app at AppBrain: for each app, that site lists up what ad modules (and other libraries) are used. You find that scrolling down to the "Libraries" section. AppBrain distinguishes between "Development tools" (which also include analytic libraries like Google Analytics or Flurry), "Social libraries" (Facebook & Co), and "Ad network libraries" (Admob & Co).

Libraries used by an app as shown by AppBrain

Clicking on an entry also reveals details on that module/network.


My Moto G (2014) stuck on a boot loop while plugged and now doesnt even boot to recovery while unplugged. Any solution?

This is a manufacturing defect. I had the same issue with a Gen 1.
If its still under warranty you can get it replaced


How to restore expired WhatsApp chat history?

You can use Helium backup to backup all your chats, groups, etc. Moreover, this app can be used to backup all the applications on your phone.

You can store this backup on your PC, and when you reset your phone, you can upload the whole backup folder on your SD card and initiate a restore from Helium app.

If you are not rooted, you will need its desktop application to backup your phone. It's pretty simple and reliable. You can refer to Helium Wiki in case you get stuck.


Wifi won't connect when SSID has space character?

Yes and yes.  http://code.google.com/p/android/issues/detail?id=8035

I haven't seen any resolution to this except changing the router's SSID if you have access to it.


How to backup broken screen phone when USB debugging IS NOT enabled?

install kies and connect your phone with usb cable.  Then go to backup/restore and you can easily backup your important data from there.


first time trying to install custom ROM on Samsung Galaxy Win (SHV-E500L)

If You have stock rom,pc and odin then you can retain device to normal state as restored if you flash cwm or twrp you can still get your default recovery from Stock rom but don't flash wrong rom it might brick your device so be careful.


Apks files download but will not install?

If you have upgraded the YouTube app, then you can easily downgrade it. Just open YouTube's app info and then click Uninstall Updates button. In this way you can get the default version of YouTube back.


GRUB for Android taking too long to install

It appears that I just needed to go into the bios and enable some kind of linux mode. That's something I didn't expect to find on a Windows tablet.


Override PlayStore Application Android Minimal version requirement?

The problem here is not in the software, but the hardware. You phone uses a CPU that does not support the ARMv7 instruction set that is required by many games these days.
It is more than likely that a recent update for the game dropped support for older instruction sets to improve performance or make the app smaller.


Is there a way to extend or stop the expiration limit of Offline Maps provided in Google Maps?

Unfortunately it's not possible.

Straight from the horse's mouth:

  Offline areas that you downloaded on your phone or tablet need to be
  updated at least every 30 days.

  If your offline area expires in 15 days or less, Google Maps will try
  to update your area when you're connected to the Internet and plugged
  into a charger.

(from Google Maps Help - Download areas and navigate offline)

There's a bit of conjecture online about what the reason for this may be, and whether it's potentially related to Google being worried that maps will be out of date. On the same link above, I would say this gives a clue:

  Note: Downloading offline areas isn't available in some regions
  because of contractual limitations, language support, address formats,
  or other reasons.

Although there's no official word from Google on it, I'd say it's highly likely that this time limit is related to contractual limitations at least in some areas. Kindof like how iTunes rentals expire, or Spotify Premium offline playlists expire: if there was no expiry date at all, then there's no difference between 'accessing' and effectively 'permanently buying for free/cheap'.

If offline maps are very important to you, you may want to consider apps that support OpenStreetMap (or see this answer).


My sd card is not connecting to my Android phone

The information provided is less.. so I'm assuming that the sd card is detected and is working and.. you're trying to download apps from google play store..
Lemme explain... The apps downloaded are automatically stored in your internal storage so even if you sd card has space available it won't be used.
What you can do for this..
try to delete useless stuffs and free up space from your internal storage (I'd recommend you to download Files by Google for this)
and copy all the videos from your internal storage to the sd card..
HOPE IT HELPS.. (^_^)


Mounting external sd-card on rooted Android 7.1 tablet fails, but only if partition not empty

Does sdcard mount Android storage setting?

Run blkid command, see what say about partition.

Also what is mountpoint? I.E. /mnt/sd-ext

If you call mount like this

# mount -t ext4 /dev/block/mmcblk1p1 mountpoint

You have to be in same directory as mountpoint


Change system language from Chinese to English?

Try this :

Go to Settings [app look like "Gear" Sign]

Go to language and Input [Find "A" sign icon]

Change the Language, usually the top option is used as Changing Languages

You will get a list of languages, select your appropriate language, That's it!

Original Source :

https://rumorscity.com/2014/12/25/how-to-change-the-language-on-android-from-chinese-to-english/


Can no longer attach pictures to messages from 'gallery' on Samsung Galaxy Ace 4

I had a similar problem where when I tried to attach an image, it went straight to my Google Drive, instead of giving me the option to choose Photos, Gallery, or Drive.

In my case Drive had somehow become set as the default.  I went into Settings --> Application Manger --? Drive and hit the button to remove it as a default applications, and that took care of it.


On Android, WhatsApp has a limitation on how many messages you can export.

When exporting with media, you can send up to 10,000 latest messages. Without media, you can send 40,000 messages. These constraints are due to maximum email sizes.  https://faq.whatsapp.com/android/chats/how-to-save-your-chat-history/?lang=en

You might be successful in transferring your chat to an iDevice or accessing the database of the backup on your computer.


I think this not an Google Map Issue. This is Expected Scenario.
If in your current Selected Route any tolls are there then only it will show those options, In your current routes ferries are there. So, you are getting that in your route options.


How to know why is my Nook unable to boot into ClockWorkMod?

Yeah, the DD command to the SD card was probably a mistake. For Android using DD method usually is like example only:

Place recovery.img in the root of your /sdcard folder and rename it to cwm.img.

Run the following commands via ADB Shell or a terminal emulator app:
 su dd if=/sdcard/cwm.img of=/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery

However, according to this guide, it will brick your device if you do it this way because the recovery is on the /boot partition. So not a good thing to try.
This guide was poorly written lacking detailed explanation. As far as the adb reboots stuff it looks like the developer could not get a handle on reboots so it's a bug.
The 2GB image can be used for installing ROMs and making backups. A 2GB image can be flashed on any sized SD card.
This is what I think you are trying to do. Example of using 2GB image SD card method:

Extract the cwm.img (if you can't open the file, use 7zip) and burn to SD card using win32diskimager (free) or winimage (shareware).
For Linux, use Etcher. These apps will need to be "run as administrator". Some internal laptop/desktop readers will not work, so to do this, you may need an external USB reader if you run into problems.

Once the card is done, copy any ROMs, or ZIPs you want to flash over to the card (simple copy and paste job).

Turn your Nook off, insert the card and boot the nook. It should come up with CWM.

If you want to also replace the stock recovery with this developers CWM (personally I would not looks sketchy and cwm has been out of development for a very long time). It's a little unclear but from what I remember it goes like this. If an issue on this last part arise I will revise. I do not think one will though.

Copy this developers install_cwm_recovery_xx.zip from the downloads to the SD card (just a simple copy and paste job).
2.Now, boot into CWM by placing your newly made SD card in the device and turning it on.
Go to and select the option Use the install zip from sdcard to install it (it just replaces uRecRam and URecImg in the /boot partition. You can also do this manually if you want).

Now you should have CWM permanently on the device if you so choose.


Bluetooth audio connection confirmation with Tasker

You could make use of the condition State→Bluetooth Connected:

The device is connected to another device via Bluetooth. If either of Name or Address are specified, they must match a connected device.
Connections to non-paired devices (e.g. while pairing is taking place) are ignored.
Warning: Tasker can't directly detect when a BT device is connected, only when a connection or disconnection is made.

As for the task, take a look at Music Play:

Play a sound file from the SD card.
File is the path to the file on the SD card e.g. Music/wow.mp3

Alternatively: Notify Sound:

Show a notification on the top bar and play a sound.
The specified Title will appear on the bar initially. Notifications with a particular (non-empty) title replace existing ones with that title.
When the notification area is pulled down, the specified Text will be visible.

Or Notify Vibrate, Play Ringtone, Say (Synthesize the given Text into speech)...
Trying a raw thing (I didn't test this):

Condition: State→Bluetooth Connected (specify the parameters)
Task: Say "You are connected now."

For more information, you might want to take a look at the User Manual. Also check the Tasker Homepage itself for more Guides, FAQ, How-Tos, etc. Moreover, the Wiki contains a lot of ready profiles, step-throughs, and more.


I installed Chrome and disabled the built-in browser months ago and haven't had a hint of trouble.


Can my Android device replace a heart monitor watch?

I use an app called Instant Heart Rate which uses the phone's camera to measure your pulse.


Whatsapp Call / Line Call and Spotify Music over Bluetooth

You can use this app https://play.google.com/store/apps/details?id=com.codococo.monomono or other similar ones.

as is explained here https://www.youcanic.com/article/play-music-phone-car

Let us know about the sound quality.


After rebooting motorola defy M525 no service network shows?

Try calling your service provider. Some cell companies lock the phone after failed attempts as a precaution to possible theft.


Changing contact to canonical form (adding + country_code)

You can try syncing your phone contacts with Gmail, preferably into a group.

Then use Gmail's web interface to export that group into a Google CSV format, use a text editor to replace ",00xxx" with ",+xxx" (and do any other editing while you're at it) in the CSV file, and reimport into Gmail.


I tried to flash the rom manually but failed miserably (ran into this page).

I decided to use the Nexus Root Toolkit (download here) to go back to stock Android 5.1 (losing everything on the device of course). That worked like a charm and re-rooting it afterwards was simple enough Rooting guide for 5.1.1.

In the past whenever a new Android version came out I had to flash back to stock Android to get the update and then re-root it. I'm sure some people manage to update without erasing everything...


How to make SELinux permissive with `systemless-root` on a `system-as-root device`?

I am searching for any way to inject them permanently.

As explained in my answer to your previous question: How to make SELinux injected rules persistent without unpacking-packing boot.img? you need to modify SELinux policy file in order to inject rules permanently.

Policy could either be monolithic (pre-compiled sepolicy file on initramfs or /system or /vendor) or split.

In latter case it can be either pre-compiled SEPolicy (/vendor/etc/selinux/precompiled_sepolicy) or you need to compile it from .cil files in /system/etc/selinux/ and /vendor/etc/selinux/ using SEPolicy compiler (/system/bin/secilc).

In former case the hashes of both platform and non-platform policies (/system/etc/selinux/plat_and_mapping_sepolicy.cil.sha256 and /vendor/etc/selinux/precompiled_sepolicy.plat_and_mapping.sha256) must match, otherwise init won't load it.

In either case you can't retain systemless approach.

  Modify init.rc file of system.img to run these commands but when I have tried to modify init.rc with just adding a comment and flashed it on the device then that comment is lost.

As explained in my answer to your previous question: How to boot system-as-root device always as rooted? on rooted SAR device system.img is mounted at /system_root by Magisk init, contents of ramdisk are then copied to / cleaning everything previously existing, files are added / modified in rootfs /, /system_root/system is bind-mounted to /system, and finally [/system]/init is executed for normal boot. So you need to edit /system_root/init.rc for permanent changes. Please note that modifying system.img (or vendor.img) would break dm-verity and OTAs.

  Change the SELinux from enforcing to permissive. I am not sure how can I do it with either root access or Modified ROM Flashing.

SELinux is set enforcing by init (if it's not already enforcing), so you need to modify init source. Or on userdebug ROMs pass androidboot.selinux=permissive kernel command-line parameter. For details see What sepolicy context will allow any other context to access it?

With root access just execute the following in any .rc file:

on property:sys.boot_completed=1
    exec u:r:magisk:s0 -- /system/bin/setenforce 0

For details see How to fix SELinux “avc: denied” errors?


How can I find out what devices support Skype video calling over Wi-Fi?

The Skype application description in the market lists the list of devices that supports video calling. As of Skype 2.5.0.108, video calling is supported on these tablets:

Samsung Galaxy Tab 7 (Wifi, Verizon, Sprint, Plus)
HTC Flyer
Samsung Galaxy Tab 10.1 (T-Mobile)
Acer Iconia Tablet (A500)
Motorola Xoom
Acer Iconia Smart

Devices that are not listed may still be able to do video calling, but Skype says that the video quality may not be as good as on supported devices. Check out Skype's application description page for the latest list of supported devices.


Text-to-speech reader for Google Voice SMS text messages?

If you have a stock Android phone, or certain more recent versions (I think gingerbread on), then you can use Talkback (either as a separate app or in the Accessibility settings), which does generic text reading on your phone, and should read most things. It does read any notifications which come through, which should include Google Voice (though I'm in the UK so I can't actually test this).

It's designed for blind or partially sighted people, and may not be a perfect fit, but it possibly the best option out there so far.

If you want something that does generic reading, then it MUST be an accessibility app, as only they have permission to read the text from other apps. I don't think Google Voice exposes an external API, which is why you aren't able to find an app which specifically offers this capability.


Enabling Mass Storage instead of MTP/PTP

Unfortunately, Android has switched to the newer MTP/PTP protocols, so no, regular "mass storage mode" can't be enabled. (That is unless there's a ROM hack I haven't found.)

Source: A post from 2013 confirming it's not a thing anymore.


how can i lock my gallery vault on external sd card?

Yes the files are in a hidden folder but a brilliant person can always get them by unhiding and renaming the photos to jpg. The app doesn't encrypt them. It just hides and renames... So there's nothing you can do to stop this other than hoping he formats the sd


How to access sensors and camera of android device from Shell

I haven't tried this, but since android isn't so different than the underlying Linux system, you might be able to do the same thing as described here. The device file name might be different though and you might need to be rooted.


Maybe shadowsocks? There are different os client/servers, even for routers.
http://www.shadowsocks.org/


Is there a camera app which would let you access the gallery?

There is currently no app like this that I am aware of.

However, you could ask the app developer of the app you are using to allow pictures to be taken from the gallery, and not only a new picture - this is very possible.


How does Marshmallow encryption work technically?

I'm quoting from the Android Manual here, but:

NOTE:

The source I have used is not directly relevant to Marshmallow but is relevant to Lollipop and higher.

TL:DR

I'll just address the OP's questions now. Technical details will follow.

The default encryption key comes from a hardware source (a chip similar to a TPM) and the default password of AOSP defined as default_password in the cryptfs.c source file, see below.
Yes, not just the default, but any password is made into a key and is stored on a TPM-like chip, called a TEE (short for "Trusted Execution Environment", see below for further details).
A hacker with UART/JTAG access to the chips on the SoC of the device could technically get access to the TEE key, or a custom kernel can leak this information to a hacker. Some 3-letter agencies in conspiracy theories can possibly partner with the OEM to get these insecure kernels used in production devices, but I wouldn't lay many stores by it. Again, see the last section of this answer for further details.

The only thing stopping a hacker from getting access to the key is the sheer amount of effort required to do so.

Checking the hash of (checksumming) the firmware (called "Verified Boot" by Google) is in fact done on and above Lollipop by default (and is available from JellyBean 4.3 onwards), by a kernel module called dm-verity. However, this is independent of encryption status.

Source: AOSP security guide here.

About the process involved in decrypting the system with a custom password, see below. I'll just tell you here that the user password is involved in both creation and usage of the encryption key.

Overview

Upon first boot, the device creates a randomly generated 128-bit master key and then hashes it with a default password and stored salt. The default password is: "default_password" However, the resultant hash is also signed through a TEE (such as TrustZone), which uses a hash of the signature to encrypt the master key.

You can find the default password defined in the Android Open Source Project cryptfs.c file.

When the user sets the PIN/pass or password on the device, only the 128-bit key is re-encrypted and stored. (ie. user PIN/pass/pattern changes do NOT cause re-encryption of userdata partition.)

Starting an encrypted device with default encryption

This is what happens when you boot up an encrypted device with no password. Because Android 5.0 devices are encrypted on first boot, there should be no set password and therefore this is the default encryption state.

Detect encrypted /data with no password

Detect that the Android device is encrypted because /data cannot be mounted and one of the flags encryptable or forceencrypt is set.

vold sets vold.decrypt to trigger_default_encryption, which starts the defaultcrypto service. trigger_default_encryption checks the encryption type to see if /data is encrypted with or without a password.

Decrypt /data

Creates the dm-crypt device over the block device so the device is ready for use.

Mount /data

vold then mounts the decrypted real /data partition and then prepares the new partition. It sets the property vold.post_fs_data_done to 0 and then sets vold.decrypt to trigger_post_fs_data. This causes init.rc to run its post-fs-data commands. They will create any necessary directories or links and then set vold.post_fs_data_done to 1.

Once vold sees the 1 in that property, it sets the property vold.decrypt to: trigger_restart_framework. This causes init.rc to start services in class main again and also start services in class late_start for the first time since boot.

Start framework

Now the framework boots all its services using the decrypted /data, and the system is ready for use.

Starting an encrypted device without default encryption

This is what happens when you boot up an encrypted device that has a set password. The device’s password can be a pin, pattern, or password.

Detect encrypted device with a password

Detect that the Android device is encrypted because the flag ro.crypto.state = "encrypted"

vold sets vold.decrypt to trigger_restart_min_framework because /data is encrypted with a password.

Mount tmpfs

init sets five properties to save the initial mount options given for /data with parameters passed from init.rc. vold uses these properties to set up the crypto mapping:

ro.crypto.fs_type

ro.crypto.fs_real_blkdev

ro.crypto.fs_mnt_point

ro.crypto.fs_options

ro.crypto.fs_flags (ASCII 8-digit hex number preceded by 0x)

Start framework to prompt for password

The framework starts up and sees that vold.decrypt is set to trigger_restart_min_framework. This tells the framework that it is booting on a tmpfs /data disk and it needs to get the user password.

First, however, it needs to make sure that the disk was properly encrypted. It sends the command cryptfs cryptocomplete to vold. vold returns 0 if encryption was completed successfully, -1 on internal error, or -2 if encryption was not completed successfully. vold determines this by looking in the crypto metadata for the CRYPTO_ENCRYPTION_IN_PROGRESS flag. If it's set, the encryption process was interrupted, and there is no usable data on the device.

If vold returns an error, the UI should display a message to the user to reboot and factory-reset the device, and give the user a button to press to do so.

Decrypt data with password

Once cryptfs cryptocomplete is successful, the framework displays a UI asking for the disk password. The UI checks the password by sending the command cryptfs checkpw to vold. If the password is correct (which is determined by successfully mounting the decrypted /data at a temporary location, then unmounting it), vold saves the name of the decrypted block device in the property ro.crypto.fs_crypto_blkdev and returns status 0 to the UI. If the password is incorrect, it returns -1 to the UI.

Stop framework

The UI puts up a crypto boot graphic and then calls vold with the command cryptfs restart. vold sets the property vold.decrypt to trigger_reset_main, which causes init.rc to do class_reset main. This stops all services in the main class, which allows the tmpfs /data to be unmounted.

Mount /data

vold then mounts the decrypted real /data partition and prepares the new partition (which may never have been prepared if it was encrypted with the wipe option, which is not supported in the first release). It sets the property vold.post_fs_data_done to 0 and then sets vold.decrypt to trigger_post_fs_data. This causes init.rc to run its post-fs-data commands. They will create any necessary directories or links and then set vold.post_fs_data_done to 1. Once vold sees the 1 in that property, it sets the property vold.decrypt to trigger_restart_framework. This causes init.rc to start services in class main again and also start services in class late_start for the first time since boot.

Start full framework

Now the framework boots all its services using the decrypted /data filesystem, and the system is ready for use.

Storing the encrypted key

The encrypted key is stored in the crypto metadata. Hardware backing is implemented by using Trusted Execution Environment’s (TEE) signing capability. Previously, we encrypted the master key with a key generated by applying scrypt to the user's password and the stored salt.

In order to make the key resilient against off-box attacks, we extend this algorithm by signing the resultant key with a stored TEE key. The resultant signature is then turned into an appropriate length key by one more application of scrypt. This key is then used to encrypt and decrypt the master key. To store this key:

Generate random 16-byte disk encryption key (DEK) and 16-byte salt.
Apply scrypt to the user password and the salt to produce 32-byte intermediate key 1 (IK1).
Pad IK1 with zero bytes to the size of the hardware-bound private key (HBK). Specifically, we pad as: 00 || IK1 || 00..00; one zero byte, 32 IK1 bytes, 223 zero bytes.
Sign padded IK1 with HBK to produce 256-byte IK2.
Apply scrypt to IK2 and salt (same salt as step 2) to produce 32-byte IK3.
Use the first 16 bytes of IK3 as KEK and the last 16 bytes as IV.
Encrypt DEK with AES_CBC, with key KEK, and initialization vector IV.


Is there any way to remove the timecode from an .srt file on my S3?

I'm going to provide a suggestion, but it's not an Android app.

You can try subeditnet:

  A simple tool to add or remove time to a SRT subtitle file. I
  developed this in my spare time, so don't expect it to be completely
  bug free. Please always BACKUP your .srt file ;)

  You will need Microsoft .NET Framework 3.5 to execute it on older
  Operating Systems.

Or via Linux command (not tested):

  $ dos2unix subtitles.srt
  $ sed -r '/^[0-9]+$/{N;d}' subtitles.srt > outfile


Changing /system/build.prop issues on fully rooted and DM-verity removed device

See when you did the DM Verity patch, have you patched the boot.img to support Android 8.1? if working on Win can use ClassyKitchen. If working on Linux, AIK Linux is the way to go. i'd suggest using classykitchen and patch for DM verity and enable 8.1 support. worked for me. running 8.0 Oreo. ;)


HTC Magic with OpenEclair: Factory reset doesn't work!

You didn't do a factory reset then, but probably a soft reset. To perform a factory reset from the Home screen press Menu > Settings > SD card & phone storage > Factory data reset > Reset phone > Erase everything. That should take you back to square one. Reply back with a comment if not.

Update:
Boot into the bootloader: Completely power off the deivce. Then hold down the Back button and press the Power/End Call button to restart your phone. Keep the back button held down till the bootloader menu appears. From here do you have an option to wipe, reset, or factory reset (or something along those lines)? If so try it.


Fixed it myself! Turns out the symptom was far from the problem. At the time of posting this question, I was using a hosts file generated by AdAway. Before that, I was using the MoAAB hosts file. Neither allowed persistent loading in chrome.

I have since moved to Dan Pollock's hosts file and have been wonderfully happy. While it similarly blocks most if not all ads, it fixed problems with broken non-invasive redirects through ad networks, and, pertinent to this question, allows mobile chrome to once again persistently load data from an embedded app such as Disqus!

I hope this helps even one other person out there with a similar problem. Best of luck! :)


How to access Google Now settings on Nexus 10?

The overflow menu for Google Now (on all form factors, I believe) is in the bottom right corner of the app instead of the top right, where most other applications put it. You need to make sure you've scrolled all the way to the bottom of your cards, though, because it shares the bar with the "Show more cards..." button, which is hidden if your screen is full.


Suspicious Permissions And A Safe Repository?

As a general rule, I don't trust any "freeware" or "shareware" site that has not specifically been recommended to me by someone I know and trust, and because these sites aren't my thing I can't either recommend or condemn this specific example. I can answer part of your question, though, and say an emphatic yes, unscrupulous people can inject malware into APKs. Installing an APK from an unknown source is generally a very bad idea.

The permissions you mention, though, are actually the same that the legit Facebook for Android app asks over in the Play store (see the "Permissions" tab). Permissions alone are a bad judge of an APK's potential for harm. In this case, personally, I would say the risk of an unknown source far outweighs the app's permission requests.


to identify these services after upg. to andr 10?

The following observation supports a conclusion that this no more than a quirk of the last system update:

According to this link to an Android package QMMI, it seems that this is created by HMD Global the company that produces Nokia.


No cell service in Moto E after restoring Stock ROM backup from CWM.

I've faced a similar issue when I flashed CM12 into my Moto E XT1022 and reverted back to stock.

The solution was to boot into fastboot mode, erase modemst1 and modemst2 and flash the NON-HLOS.bin of KK ROM.

You'll need the stock ROM files in order to do this. NOT A ROM BACKUP.

The commands to use:

fastboot erase modemst1
fastboot erase modemst2
fastboot flash modem NON-HLOS.bin
fastboot reboot

After the reboot, it might take some 5 minutes to get a signal. IF you still don't get a signal, try this:

1) Open the dialpad and type: *#*#4636#*#*

2) Head over to Phone Information and scroll down to Set preferred network type.

3) Try changing this value after waiting for a few minutes.


Edit Whatsapp contact name in Samsung Galaxy S3 Neo?

This may work :

Save your friend's number (copy & paste into a note taking app or write it on paper or just remember it).
Delete your friend's number.
Add new contact with the name you want and enter your friends number.


How Do I Activate 4G LTE Only On Samsung Galaxy A5(2016)

Open the Dialer/Phone application and dial (STAR)#(STAR)#4636#(STAR)#(STAR), then select Phone Information and scroll down to Set preferred network type and change the drop-down to LTE only.

Be aware that with few exceptions, like T-Mobile's VoLTE, that in LTE only mode, you will not be able to make or receive phone calls or text messages. 2G/3G/HSPA(+) is required for voice calls and SMS in most GSM/LTE networks.

Also, be careful with using terms like 4G and LTE... depending on your carrier these might be interchangeable, or some carriers use "4G" to mean HSPA+ and "LTE" to mean, well, LTE service, some carriers use "4G" to refer to both/either HSPA+ & LTE, and some others use "4G" to mean only LTE.

In common practice for most users, 2G refers to Edge, 3G refers to GSM, and 4G refers to HSPA/HSPA+ and not LTE service.


Good job rooting! Makes the process easier to explain.
First of all, take your SD card and backup all the data.
Then, partition it into two partitions - 1 half for regular usage. Format this as FAT. 2nd Half for the apps. Format this EXT2 format. I'm not too sure how to format on windows. I use the mac disk utility.
Then, insert the SD card back in and download Link2SD or Apps2SD. Load up the SD card. Link2SD will ask you to choose the partition for the apps. Here choose the EXT2 option. Once you've selected it (and rebooted your phone, which is required to load up the partition), you can link apps to SD card. Linking is just like moving and saves a lot of internal space.

Feel free to comment if you have any Qs.

Good Luck!


Can't get rid of icon, move out of range or switch the hotspot off. Can tell my tab to ignore them and not connect. Went to: https://android.gadgethacks.com/how-to/make-your-android-automatically-switch-strongest-wifi-network-0172651
Get the Cloudie WiFi Switcher and select the access points you want to use.


ICS has IPv6 support, but only on mobile data networks; it's somewhere between buggy and nonfunctional on Wi-Fi.

Issue 3389 lists a wide variety of Android IPv6 bugs. Your issue is probably among them.

I've been using IPv6 successfully on my Verizon Droid RAZR MAXX since I got it almost a year ago, on ICS. Works great on 4G LTE. No idea what Jelly Bean does on Wi-Fi since I haven't gotten around to redoing my home network to bring IPv6 into every subnet yet...when I do, I'll be sure to update this.