Officially rooted HTC, denies su permission in Android Emulator app officially rooted from htcdev.com, I followed the instructions step by step and had the screen confirmation that my phone (HTC Sensation XL) is rooted.

Now when trying to gain super user access through "Android emulator", "Superuser", "Super manager" the permission is denied or the apps cannot detect if the device has been rooted.

I want to know why root access is denied after the device has been rooted successfully and how to fix this issue, am I missing extra steps or additional settings?

Thanks to "eldarerathis" for the comment. Basically unlock bootloader does not mean you will have root access to your device. Even though you can install an entire new operating system still rooting your phone must be done inside the OS.

So if you trying to root your HTC device check unrevoked.com. for other devices I found a reliable tutorial at http://howto.cnet.com/8301-11310_39-20054428-285/how-to-root-your-android/.

please note unlock bootloader or rooting your device may void your warrantee.


Outlook not showing notifications I am using ms Outlook on my moto g5 plus android 8. My Outlook app does not sure any notifications. It used to but not anymore. What do I do?


Is there no option to turn off cell broadcasting messages in HTC Desire 500? I got the recently launched HTC Desire 500 (Android  4.1.2, Sense 5).

Since then I am continuously getting cell broadcasting messages (4 every 2 minutes). And shockingly, there is no option to turn off the cell broadcast neither in message settings nor in Call settings.

When I compared my HTC Desire X with Desire 500, I saw the option is there in Desire X but not in Desire 500. The call center people are helpless. The Customer care center people are saying its a defect in the phone's software, so we cant repair it.

So by the time the software update comes, does anyone here has any solution. It is really irritating and its sad that HTC doesn't have the solution to such a trivial issue which is actually a headache.

I am not sure whether this works as I believe broadcast settings are not stored in SIM. I searched and stumbled on this HTC support page where the solution is said as:

  I resolve problem. It is very simple. Just put your sim card in old or
  some other phone and turn off cell broadcast info option. Then return
  your sim in new phone. On my HTC Desire 500 there is no option for
  cell broadcast. After this procedure I do not recives messages.

Then, another search result says with better detail (you may have to search for Cell Broadcast. Though this not deals with your phone (with HTC Desire T327W), I guess this seems to be a common issue with few HTC phones. As per that page:

  26-Sep-2013 - My earlier review talks about Cell Broadcast messages
  problem faced by me while using HTC Desire XDS. After a lot of
  followup with HTC, I have got the steps using which the Cell Broadcast
  messages have got disabled in my Desire XDS. The steps taken by me
  were as follows for each of the two SIM cards:
  a) Find an old phone which has an option to enable/disable Broadcast Channels and Messages
  (in my case its a Samsung D500).

  b) Insert the first SIM in that old
  phone and go to the settings menu for Broadcast messages.

  c) At first
  the Channels and Messages usually appear as disabled. I changed the
  setting for both Channels and Messages to Enabled in the old phone.

  d) Switch-off the old phone and Switch-on

  e) Go to the settings menu
  for Broadcast messages. Change the settings for both Channels and
  Messages to Disabled.

  f) Switch-off the old phone and Switch-on

  g) Switch-off the old phone and remove SIM card

  h) Do the same steps (a-g) for the second SIM

  i) Insert the SIM cards back in HTC Desire
  XDS

  Now I do not get any Broadcast Messages, its such a relief. I hope HTC
  provides a better and elegant solution via a software update in the
  upgrade to Android 4.3.


Google Play keeps asking for an account (new or existing) and does not start anymore Suddenly Google Play stopped working and now it is always asking me to provide an existing account or that i create a new one. When i try to use my existing one, it tells me that that account is already installed on Android and it returns back to the "Provide existing or new account" screen. When i remove that account from my device, it allows me to provide my existing account, we walk through the screens, i skip the credit card screen, and afterwards Play does not start. When i start Play again, it again asks me for an account...

Using the same account within the email app works without problems, syncing contacs, calendar etc. works as well without any issue.

How can i find out whats going wrong with Play now after it worked nicely since i have purchased the device?

This worked for me.

go to settings -> apps -> Google play.

Disable the app, uninstall the updates and re-enable it.


How to you become a ROOT Shell user? So I am rooted and used a root checker to give me some good information about my device. I noticed when it gave me info about my root it told me that I was a "non-root" shell user.

So what does this mean? Can I possibly make it to where I AM a root shell user? I am a very curious person. ANY information would be greatly appreciated!

Is this a stock ROM or a custom ROM?

In the stock ROM you would edit the build.prop and change the entry for ro.secure=1 to ro.secure=0 and reboot.

In most custom ROMs, and some stock ROMs, there is an entry in Developer Options called "Root access" and by default it is set to Apps only, you should be able to  change it to Apps and ADB.

There is also an app called adb Insecure by Chainfire (the author of SuperSU) which can allow adb shell su access.

BTW, this information is easily accessible via Google, and the previous question here at Why can't I get root access from shell?


Android lock screen bug after system files deleted I accidentally deleted some system files ( I was on adb connection) .
And lock screen stopped working right after.
The issue is that,
I have a lock pin/pattern/password, but system says, it's not correct password.
I changed my password with removing password files from system, and set a new password. But the error was same, incorrect password.
I tried to flash ROM, but it didn't help.After flashing ROM , abd and TWRP broke too, because of the password issue.
Also I can't add custom ssl certificates, because the password problem .
Samsung Galaxy s7, Android 9 with Hyper ROM (Galaxy Note port).
What should I do to repair my system files?

If you have access to the /data/system folder you should delete

password.key
pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal

all of them who existing.


How can I establish an AD-HOC Wi-Fi connection on my tablet? I'm not an expert in this kind of subject. I'm reading that I need to root my tablet.

What does root mean? All the instructions are really difficult.

How can I make this AD-HOC Wi-Fi connection in my Sony S tablet?

I'm running Android 4.0

There are two other Q&As here which might help you (in fact, there are several more, but most of them -- as you wrote -- are a bit "techy" or, as you put it, "really difficult"):

Does any version of Android support ad-hoc connections? could be used ith the second device involved is running Windows, and seems not to involve rooting your device
Connect android phones through adhoc wifi network is just "slightly techy", but requires root, and the Android SDK on a computer

If rooting your device is no problem for you, the second approach should be possible also without the SDK -- if you have a terminal emulator such as Android Terminal Emulator installed on your Android device. You could then execute the commands quoted there within the terminal emulator, but probably need to prefix them with the su command (to have them run by root):

su ifconfig wlan0 up
su iwconfig mode auto;iwconfig wlan0 essid "your SSID" channel 11 mode auto
su ifconfig wlan0 10.0.0.x netmask 255.255.255.0

As explained,

  your SSID should be replaced with the name of your Adhoc network, and 10.0.0.x is a different IP you give each device.

I didn't test/verify that, but from my Linux knowledge, it sounds quite reasonable. Drawback is, you would need to execute those commands each time you need to establish the ad-hoc connection -- but here some other app could kick in, once you verified the steps are working. One I found is Script Manager - SManager -- but there were some easier ones I just cannot remember at the moment. If this is an acceptable approach to you, I can update my answer and add a few more tools to compensate.

EDIT:

Here's the one I had in mind to make the script-running easier: Scripter


How do I turn off the power-on sound and camera sound in a Galaxy S II? I have followed several guides and can't get any of them to work on my Galaxy S II. How do I disable these sounds?!

This requires a rooted phone. There is a good guide here: http://forum.xda-developers.com/showthread.php?t=1103399

If you don't have ADB, get the full Android SDK from here: http://developer.android.com/sdk/index.html (it might come in useful multiple times, and all app developers should already have it). Don't trust websites offering ADB alone unless it the official Android site. After installing it, browse to the install directory, then "platform-tools", then open the command line -- on Windows 7, this is done by shift-right-click and choose "Open command window here", then type "adb".

Power-on sound

This sound file is NOT in the standard location for Android (/system/media/audio) so most guides haven't worked for me.

Connect your phone to your computer and open ADB. Go into shell with "adb -d shell". Now become super-user with "su" - your phone must be active and unlocked - a dialog will open which you accept. In ADB again: " mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system".

Now rename the sound files so they can't be found!
"cd /system/etc"
"mv PowerOn.wav PowerOn.wav.old"
"mv 1_Power_on.ogg 1_Power_on.ogg.old"

Restart your phone. There should be no power-on sound.

Disable camera sound

Again. this sound file is also not in the standard Android location (/system/media/audio/ui/camera_clicker.ogg) so most guides haven't worked for me.

First, make your / read-write. In ADB, go into shell then type "cat /proc/mounts", find the line where "/" is the second column, and remember the first column which in my case is "rootfs". In ADB do "mount -o rw,remount -t yaffs2 rootfs /"

Now you need to edit the root default.prop (that is, "/default.prop"). In ADB: "cp /default.prop /sdcard/default.prop". Copy it from your SD card to your computer (Samsung Kies is the easier way). Add the line "ro.camera.sound.forced=0" and save. Put the edited file back onto your sdcard with the same name. Now "cat /sdcard/default.prop > /default.prop"

Restart your phone. Open the camera app. Taking photos and videos should now be silent.


Maximum number of devices an Android can handle from USB hub We are planning to work with multiple USB devices from a tablet.

For this implementation, we are planning to connect a HUB (http://www.amazon.in/Belkin-F4U041SA-7-Ports-Hi-Speed-Powered/dp/B008368G72) to it via OTG.

My queries:

Will there be any issues in kernel device detection?
Will power be an bigger issue?

Also, request to suggest some more failures using this mechanism.

As it's a powered hub, power won't be a problem. Android doesn't have a specific limit on how many USB devices you can have, so the limit is that imposed by the USB specification. If I remember rightly, it's 256 devices, but you can check that for yourself if you're worried. Using a single USB hub with a device is well-tested on different kinds of devices.

The only other thing you need to check is that the tablet you're using supports USB-OTG. Most branded devices do these days, but cheaper tablets from unknown manufacturers, and older ones, don't. You also need Android 4.0.3 or later.


See all Reviews/AppRatings on PlayStore in a better Way? Is there a better way to see all Reviews / Ratings with Comments on an Android App in the Play Store?

Right now i on a Android Device, i can scroll to infinity and in the Browser i only get some random 40 reviews. Sometimes (on the Android Play Store) it also resets my settings for the filter.

Update

For better understanding, i want to read all comments programmatic and store them in a database for further analytics.

So the best thing would be something like a WebAPI or a Website which provide an tabular overview of all comments/reviews.

Play Store reviews , IMO , are not a good indicator of an app for reasons mentioned Why You Shouldn't Trust App Store Reviews (and What to Trust Instead).

Appbrain a front end for Google Play , gives a better filtering capability as mentioned here. In addition, you do get a better insight of app in terms of rating over time, updating details, change in price, versions etc

Aptoide , at least an alternative of numerically showing the number of reviewers per rating , along with overall rating and use that in addition to alternate ways suggested . Screen shot below

Post your update in the question, Sensor Tower could be an option. It is a paid service but offers a flavour of services by free login for Facebook for example

Amongst the host of features it offers, Review History is one of them as shown below

  Export Reviews (Enterprise-only)- Export of reviews in .csv format will not be displayed unless you are logged in with an Enterprise-level account.


Google playstore showing "similar app available here" in green bar Many apps like Facebook, Linkedin have two versions. One small and one full version. When you go to playstore and navigate to any of these apps you see "similar app available here" written below app logo and name in green background.

On what basis does google playstore (android app, web version doesn't show such thing) show this?

https://play.google.com/store/apps/details?id=com.facebook.katana

https://play.google.com/store/apps/details?id=com.facebook.lite

Why it does not show whatsapp and whatsapp business in similar fession?

https://play.google.com/store/apps/details?id=com.whatsapp

https://play.google.com/store/apps/details?id=com.whatsapp.w4b

To what I know, Play Store only suggests lite versions of the apps under this current setup. The lite versions of Google apps (at least) were originally developed for Android Go smartphones. But then Google decided that users of standard Android smartphone might also wanna try the lite versions.

So, you get app suggestions for YouTube, Google Maps, Facebook, Messenger etc. WhatsApp isn't shown since WhatsApp doesn't have a lite version.

The current setup is only there to push a lighter (and faster?) version of the same app. Its intention is not exactly to give you similar apps. Similar apps are offered later on, at the end of the app description.
Yeah the wording could have been better, but Google is the boss. Maybe Google will expand the functionality in the future to get something like what you're expecting in the latter part of your question.

Edit: From the source (in comments), it does look like Google is also suggesting a bigger version of the app when you're browsing the lite verison. Still, my answer stands relevant as it is only doing the juggling between lite and standard app and not exactly doing similar/related apps.


WiFi network not accessible with modified MAC address I've recently bought a Nexus 7 to use as a demo client for a system I am currently developing. For the time being, the system requires the client to have a particular MAC address in order to work. I've rooted the Nexus (still with the Android 4.4 stock ROM), and am using ip link to change the hardware address of wlan0. I am aware that this will be reset on reboot, but as I'd rather not recompile my Android kernel right now, that's okay.

The issue I am seeing is that I am unable to get an IP address from my (open) WiFi network with a modified MAC address. If I set a static IP, I can connect successfully with the modified address, but no packets are getting through.

Hopefully the below transcript will shed some light on exactly what isn't working and what I've tried.

First, I "forget" my WiFi connection and reboot my device just to start from scratch. Then:

$ adb shell
shell@flo:/ $ su
root@flo:/ # ip link | grep -A1 wlan0
22: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 100
    link/ether ac:22:0b:9f:37:f7 brd ff:ff:ff:ff:ff:ff
root@flo:/ # ip link set dev wlan0 addr ac:22:0b:9f:37:f0

Here, I connect to the wireless network. If DHCP is selected, I am simply shown "Obtaining IP address" until the connection fails. If I set a static IP, the network is shown as connected, but:

root@flo:/ # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.113: icmp_seq=1 Destination Host Unreachable
From 192.168.1.113: icmp_seq=2 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1004ms
pipe 2
1|root@flo:/ # ip route
default via 192.168.1.1 dev wlan0
192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.113
192.168.1.1 dev wlan0  scope link
1|root@flo:/ # ip n
192.168.1.1 dev wlan0  INCOMPLETE
255|root@flo:/ # ip n change 192.168.1.1 lladdr 10:0D:7F:4D:1C:D0 dev wlan0
root@flo:/ # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
^C
--- 192.168.1.1 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6006ms

So, still no connection.
Let's see what happens if I change my MAC address back to the real one without even disconnecting from the wireless network:

root@flo:/ # ip link set dev wlan0 addr ac:22:0b:9f:37:f7
root@flo:/ # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=13.0 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=9.82 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=9.49 ms
^C
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 9.491/10.793/13.061/1.609 ms

Does anyone have any idea what might be going on here?

For what it's worth, I am running DD-WRT on my router, no MAC filtering is enabled, and there should be no other "weird" rules set.

UPDATE:
After some further investigation, I have noticed that it seems like the Nexus 7 isn't using the spoofed address at all when talking to my AP. I have enabled MAC filtering and only allowed the spoofed address, and then adb logcat shows a CTRL-EVENT-ASSOC-REJECT message. I'm wondering whether this might somehow be related to this wpa_supplicant question, but there weren't any answers to be had there either...

After much searching, I came across this thread on the xda-developers forum where people seem to be having much of the same issue with a Nexus 4. After trying several of the proposed solutions in that thread, I came across one that worked!

It turns out that Android keeps a permanent record of the MAC in /persist/wifi/.macaddr. For some reason, it insists on using the MAC in that file whenever connecting to a wireless network. If you're on a rooted device, however, you can overwrite it with whatever MAC you want. Interestingly, this change will also persist across reboots!

So, without further ado, here's how you change the MAC permanently on an Android device (substitute 112233445566 with the MAC you want):

computer $ adb shell
android $ su
android # cd /persist/wifi
android # echo -n "112233445566" > .macaddr
android # ^D
android $ ^D
computer $ adb reboot


Android Market auto restore apps not working After some problems I had to restore my phone. Before doing it I had enabled the option of google's security copy. Now I've linked my google account and market does nothing, it doesn't restore apps. So I've decided to enter the market through the browser and in "My market account" I could only see the three apps that are native to the phone (youtube, gmail and google maps). How can I get all the apps I had before?

Thanks,
Diego

Did you look in your "Library"?

I recently did a factory reset and I can see all of the apps that I'd previously had installed, not just the ones I've only just gotten around to.


How to disable warning about listening at high volume for a long time I use an ambient sound app through headphones while I sleep. This usually works quite well, except for the occasional night where i get woken up because Android has decided to drop the volume and display a message to the effect of "Listening at high volume for a long time can damage your hearing." I haven't managed to transcribe the exact wording yet because I'm usually grumpy and attempting to get back to sleep when it happens. I'm fairly certain that it can be displayed more than once per reboot cycle, as it was displayed last night despite my having used the phone this way numerous nights over the past couple weeks. (uptime currently shows 13 days.)
FWIW, I'm probably risking permanent hearing damage by doing this, but that seems a better bet than the certain negative effects (acuity, mood, cancer) of chronic sleep deprivation.
Is there a way to disable this "feature", with or without root?

According to the article How to Automatically Disable the High Volume Warning without Root, the warning is implemented on devices due to European legislation which stipulates that:

all electronic devices capable of media playback sold after February 2013 must have a default output volume level of a maximum 85 dB. Users can choose to override the warning to increase the volume to a maximum of 100 dB, but in doing so the warning must re-appear after 20 hours of music playback.

(The warning should only appear if your device is using an European ROM)
It is possible to disable the warning by following the methods below:

On rooted devices

If you have the Xposed framework installed, there are several modules (VolumeSteps+ (image on the left), NoSafeVolumeWarning, GravityBox (image on the right), etc) that offer the option to disable the warning.

On non-rooted devices

The article above describes methods for disabling the warning using Tasker & AutoTools
either at boot or periodically. It also has a link to download the Tasker's scripts.
In other forums, the app Hearing Saver is purported to work on non-rooted devices.
You can also go to Settings --> Apps --> Your_App --> Notifications --> enable Block Notifications
Note: I don't use Tasker that is why I have not included the process decribed in the article. However, those who are more knowledgeable with it can include the steps.


Disable Pattern lock with usb debugging or Login to WiFI network Summary

I forgot the pattern lock on my new phone, it's an Acer Z630S running android 5.1. I managed to turn the WiFi on, but the only network my phone knows right now requires me to accept some conditions on a login page, however tapping the "Login to WiFi" notification asks for the pattern.

Fortunately I have USB debugging enabled, and my pc is a trusted device. Can I circumvent the lock screen is some way, or can I tap a button to log in to the WiFi network?

I also found this answer but none of those methods worked, here's a list of what went wrong with each of them:

Credentials stuff

My phone doesn't ask for them.

Bypass screenlock using a special app

I don't have WiFi, so I can't download anything.

Unlock via web

No WiFi, so isn't going to work.

Disable Pattern Lock via ADB

As in one of the WiFi attempts: sqlite isn't installed, pulling doesn't work and mounting doesn't work either.

Similar thing without ADB

My phone is not yet rooted.

Phone hole stuff

I'm not in my home country and accepting calls costs a lot of money, so I can't really do that right now.

Samsung users with Windows PC

It's an Acer device.

Any other things?

I've tried to document everything as good as possible, but I'd happily answer any other questions you might have!

This method will only work if you have an sd-card slot on your device and it's rooted.

You mentioned that you can't download any apps to bypass screenlock as you don't have an internet connection. But what you can do is:

Download any similar app on your PC (as an apk from the internet)
Create a recovery-flashable zip out of it, ie, make an update.zip package from the apk and save it onto your sd-card (using a card reader or a different device)
Insert the sd-card into your device boot it into recovery mode
Install the package (update.zip) from recovery

The app should take care of the rest.

If your device isn't rooted or your device does't have an external card slot, follow this link to learn how to factory reset your device from it's locked state, but it would wipe your device's data, so proceed cautiously.


Extract photo from contact This is a friend of mine, Taranaki: (perfect picture timing)

I want to extract this photo to a PNG on my device. How do I do that?

The best way is to do the following steps:

Go to contacts
Options > Import/Export
Select Export to .vcf file

Now the .vcf backup will be stored in your storage.

Open .vcf file in an advanced editor (in pc or phone)
Scroll and find the entry of the particular contact.
You can find a base64 encrypted code of your contact's photo -copy it.
Now open some online base64 decoder and paste the code and click decrypt.

You have your photo. Enjoy.


Xperia V require root permissions every time I have Xperia V 9.1.A.1.140 and I just rooted it using "Root Many Android" (see closer decription on XDA), and now I installed Titanium Backup and every time the app loads it requires permissions multiple times and every time I try to uninstall and app, why is that?

EDIT: And here is the solution - I also rooted it with motochopper (again described at XDA) which installs the SuperSU, and in now only asks the SuperSU for permissions only once and it's working fine now.

So here is what I did:
First I tried Bin4ry method's from XDA
with the 3rd option, it installs Superuser, but its buggy and it doesn't remember the permissions.

So then I did it with Motochopper method from XDA
which installs SuperSU, and the root apps now require permissions from SuperSU just once, and it's working fine.

After that I safely deleted Superuser.


Phone switches to watch interface when put against a specific side of my laptop Not a very annoying bug, but quite mysterious:

I noticed that when I put my LG G2 (running v4.4.2, with NFC turned off) against the top left edge of the lid of my laptop (ASUS Zenbook UX303LN running Linux Mint), whether closed or open, so that the phone's power button (on the back on LG G2) is aligned with the edge, my phone magically switches its interface into a tiny watch screen, in which I can unlock the screen (difficultly), switch watch designs, view the weather forecast and play music. As soon as I take the phone out of that spot, the regular interface comes back.

I would be glad if someone could tell me he could reproduce it, and was wondering if anybody had witnessed such an odd behaviour and/or could explain it?

The tiny watch screen is a feature of LG G2 named QuickWindow when put on a smart cover (a cover that uses magnets to detect if it's closed or opened).

(LG G2 showing tiny watch when put on smart cover)

That indicates there's a magnet field on a particular spot on ASUS Zenbook, and LG G2 reacts to that on a very specific position. (As already confirmed by OP, there's a magnet on the left side of the lid to keep the laptop closed)


Is there any way to retain a secondary partition to older form? I have a SD Card of 4GB. Me Partitioned it using Link2sd.I made an ext2 partition of 2GB for using it as Internel Memmory.Now the SD Card size is shown as 2GB(when put it into computer).Can I retain the partitioned space to older form and can I use the SD Card as a 4GB memmory SD Card?

Sure, just repartition the card. Not that you'll lose any data on it, so take backups. Alternatively, if you don't need another kind of partition, you can just change the partition size IIRC. I recommend gparted for editing partitions.


up/down signals by bars I purchased an outside antenna for boosting reception as I live in a mostly dead cell zone now I get up/down/arrows from time to time by my reception bars.  Does this mean my antenna is actually working///

It means data is being transferred to and from your device. That doesn't necessarily mean it is working.

You should try to use a speedtest app with and without the antenna to see if there is a difference in connection


How do I change my wifi cycle in moto g? I had the same problem with data usage but that got solved. The drop down button in the wifi tab does not have the change cycle option. Please help with that.

The drop down button in the wifi tab does not have the change cycle
  option

That is very much expected. The data usage and monthly billing cycle of internet that you are using through Wi-Fi is provided via Router and is not controlled through Mobile device.

Since SIM-based Mobile internet is very much tied to the mobile itself, Android provides Setting to adjust the billing cycle to view/control data usage.

So, you cannot control your Wi-Fi Cycle via Android Settings. You may need to connect with your Internet Service Provider to check for change in Wi-Fi Billing cycle.


Remove "ad-type.google.com" adware in any Android device browser ad-type.google.com is appearing regularly whenever I access the web through Chrome. It's a new adware and there are no solutions available other than

  Go to system Settings > Applications > Chrome > Clear cache

But this seems to be not working. After few minutes, it appears again in few devices, we can't uninstall the browser in Nexus devices. Factory reset also doesn't work according to few of them who tried

Related link on Google product forum.

ad-type.google.com redirect adware has been most stubborn malware on the internet now.

Step 1: Disable JavaScript in all your browsers

Step 2: Install Malwarebytes Anti-malware for android

This should inhibit the infection.
If Problem persists go ahead with next step

Step 3: Your router might be infected too.
 Ask your ISP(internet service provider) to change your DNS server settings.

Also see protect your phone from infecting


Can I disable the camera sound in the new ICS camera app (in silent mode)? Android got a brand new camera app with ICS. The old camera app from previous android versions didn't play a sound when the phone is in silent mode, the new one does. Obviously this can be somewhat anoying in some situations.

Can this sound be muted?

Note: I'm asking for an answer that doesn't require a rooted device. I'm aware that I can rename/delete the sound files from the system (as documented in this question), but I'd rather not root a device just for this.

Alright, I went through the sourcecode and the answer is surprisingly obvious:

Yes, this can often be muted by simply using the volume keys while using the app or adjusting the volume of the media audio channel in the preferences. The media volume is used, regardless if the device is in normal, silent or vibrate mode. But it depends on where you bought your device if this works (I guess), some devices enforce audio over a channel that can't be muted.

More (technical) details:
The camera app checks the device configuration (system property ro.camera.sound.forced) whether it should play the camera sounds over a system-enforced audio channel that can't be muted. If this setting is off, it uses the media and music channel instead.

In case that it uses the music channel, it ignores when the device is in silent mode though. This might be a bug/small oversight by the authors. This is why you have to adjust the channel volume instead.

I guess the property mentioned above is set depending on where you buy your device, since the sound is required by law in some places/countries as explained by eldarerathis in the comments.


Is there a TTS app that will read me my email or a webpage? All I can seem to find is apps that read SMS and manually entered text.

For Email there is the DriveSafe.ly® Free SMS Reader available from Google Play Store.

It can read emails, but has mixed reviews. I have never tried it so can't recommend it one way or the other.

  Listen to SMS text (TXT) messages, Emails and Caller-ID while driving. Read SMS!

  Listen to SMS, listen to email, listen to TXT messages. DriveSafely® reads text messages, SMS and emails aloud and lets you respond by voice (with Pro). iSpeech Text to Speech (TTS) will speak your SMS while driving. Hands-free.


Are there different results, depending on how you uninstall an Android app? When uninstalling an Android app, is there any resultant difference between any of the following three procedures:

Find the app in the Play Store, and select "Uninstall"
or
Open Settings, Select Apps, find the app in the list of apps, and select "Uninstall"
or
Open Settings, Select Apps, find the app in the list of apps, and select "Clear Cache", then "Clear Data", then "Uninstall"

Specifically, does any of these options leave more behind than another option (or written conversely, does any one of these options do a better job cleaning up during an uninstall)?


Google Now on the LG G2 Yesterday I bought a new LG G2 device and I wanted to turn on the Google Now feature, sadly, my Google Search app settings does not show any sign of Now switch. How can I turn on the Google Now

Screenshot (click for larger variant)

See if Google search is somehow disabled in the list of apps. Alternatively, ensure that the latest version of Google Search has been installed in your device.

I am assuming of course, that Google Now is a supported feature in your country.


Wrong phone number for contacts are shown and called I have a problem with the app 'Contacts' on my Android 7.1 Nougat (Wilefox Swift 2x). In this app both phone numbers from my google account and from whatsapp are synchronized.

Sometimes the app shows the wrong phone number for a contact. When I call this contact, the person the number belongs to is called instead (always another existing contact). At that time I'm not able to see the correct phone number for the contact. When I try to edit the contact, the phone number is not shown or correct.
In other situations an incorrect number (number of another contact) is added to a contact. In this case both the correct and the wrong numbers are shown, only the correct number is visible when I try to edit the contact.
In both cases it says the number is a whatsapp contact. These numbers shouldn't be linked however. I've never done so and I'm not allowed to unlink this.

Recently I removed all contacts and added them manually again. Everytime when adding a new number manually, there was automatically a duplicate added in the contact list from Google Contacts. And again I saw a couple of persons with a number that don't belong to them.

Does anybody know how I can stop this from happening? This is very annoying.

Thanks in advance!

Update: The issue may be caused by a second whatsapp I'm running on this dual sim (in parallel space). Does anyone have more information on how to solve this without removing the second whatsapp?

This issue is because of WhatsApp. After their latest update (4th Dec) these problems have surged.
Easiest solution is to backup whatsapp and uninstall it. Then reinstall > restore your old chats.


Is there any way to make calls ring/vibrate only for specific contacts? My girlfriend has an Android phone but she hates actually talking on the phone, and hates being distracted by ringing or vibrating. Her mantra is that she'll check it when she checks it. This is quite annoying when I really need to get a hold of her as she often won't notice I was trying to call/text until later. She has the phone set on silent and turned off vibration. I am wondering if there's any way I can configure it so that either it rings, vibrates, or both -- but only if it's me calling? In other words, I'm asking if it's possible for only specific contacts to trigger a ring and/or vibration, while otherwise being silenced? I'm not sure if this is something that can be configured out-of-the-box as I have an iPhone and am unfamiliar with Android. But even if it involves installing a third-party app, that would be fine as long as it can achieve the same result. Is this possible on Android?

see there i don't know any direct method but we can apply some trick to it.
(i am assuming that we want to make all other calls silenced and only your call can ring or better we can say make sound.)

open voice recorder and record silence. Name that recording as per your convenience.
now go to the settings and change call ringtone to the one you just now recorded and save the change's made.
now go to the dialer and select your contact and now edit your contact info.
(at this you need to be careful as every android device has this feature in different ways) From there in setting's select a special ringtone for your contact

Thus when others call it will sound silenced and when you actually call than it will ring the tone you specifically selected for you.


Open Google Docs in Browser I'm using Samsung Dex on a Note 9 and would like to open Google Docs in Chrome (or any other browser) instead of the Google Docs app.

Otherwise I can't use certain plug-ins like reference managers.

I tried uninstalling docs, tried different browsers, tried to change the default action for Google docs links and tried to activate the desktop mode where possible but I still couldn't access the desktop mode of Google Docs that I would see on Windows. I'd be grateful for any help.

You can use this for most Google apps not just Google Docs

Install Firefox
Install Google Shortcut add-on. Tap the 3 dots (⋮) menu to reveal the side bar →Add-ons→Google Shortcut. Tap to open →options. From the left pane tap Google Docs and it will appear on the right pane.

(Click to enlarge screen shots )

Open a new tab and from 3 dots menu locate App Launcher (see screen shot).

Tap on App Launcher to reveal Google Docs icon. Tap on that to see your docs and open them!


Where can I download the stock clock apk for LG G3? I deleted the stock clock app on the LG G3 (Model D855) without knowing that I need it for the Quick Circle Case to correctly display the Clock Faces when the lid is closed.

Do you know a place where I can download the stock APK file, it goes something like "com.lge.alarmclock", the easy access from Google Drive is not longer working:

https://drive.google.com/file/d/0B3dApvWjgNoKVmU5cjlUMFdwbW8/edit?usp=sharing
not working

I tried doing the hard reset but the app did not get back.

Or if anyone would be so kind to back it up for me, I would deeply appreciate it.

Thank you in advance for your time and help.

A "hard reset" would not change the /system partition, which is where the .apk originates. Since you deleted the system app, I'm going to assume that you have root access. After installing the .apk, I recommend manually pushing it to /system/priv-app/ (command: adb push LGAlarmClock.apk /system/priv-app/, replacing LGAlarmClock.apk with the full path to the .apk. Alternatively, you can change it from a user app to a system app (via an app like Titanium Backup if you install it from PackageInstaller, but I highly recommend pushing it to /system/priv-app/ from adb. Here is a link to LGAlarmClock.apk, pulled from the latest stock lollipop 5.0 build on XDA.


How to watch videos in 144p, 240p, 360p, 480p, 720p on YouTube app? While watching videos in browser it shows me options of 144p, 240p, 360p, 480p, 720p and so on. But on YouTube app for Android I only see option of HD/HQ (I assume its High Definition / High Quality).

How can I watch videos in 144p, 240p, 360p, 480p, 720p on YouTube app?

You can't. Those quality settings only apply to the desktop version. Mobile apps use a different set of videos, which are already optimized for mobile devices, and have two different quality settings, regular and HD.


Display current speed in OsmAnd I use OsmAnd when riding my bicycle.

I would like it to display my current speed in a corner of the screen or somewhere similar.

It should not interfere with normal use of OsmAnd, in particular it should not be a different screen.

Is there a way to do this in OsmAnd, via an option or plugin or custom fork or anything?

In OsmAnd:

Open the navigation drawer (swipe from left or bottom left button)
“Configure screen” (Gear icon)
“Right panel” should have a line for “Speed”, tick that.

The speed will be shown, somewhat small, in the top right list. I think standard is to show only the number of satellites, but there are a few items that can be shown there.

Eta:
I also set “Trasparent skin” at the bottom of the “Configure screen” list. Makes the speed &c. a bit less obtrusive.


Can I prevent Android from booting in Safe Mode altogether? I have a Nexus 5 (hammerhead) running CyanogenMod 11.

The Volume Down rocker button is damaged in such a way that it's stuck on (apparently a common failure mode after 2+ years).

The only real problem with the device is that it always boots into safe mode, due to the stuck button.

Is there any way to disable the Volume Down activation of Safe Mode, so that I can boot my phone into normal, full Android mode?

Right way to do this

Disable the broken VOLUME DOWN key by editing /system/usr/keylayout/gpio-keys.kl and /system/usr/keylayout/Generic.kl as root and commenting that key out. Longer instructions on this answer.

Dumb and hacky approach that sort of worked for me

This is an ugly solution but it works for me. It is a "tethered" solution requiring adb to do repeated "soft reboots" (restarting the Android Zygote process).

This bash script repeatedly restarts the Android Zygote process until it detects that the device isn't in safe mode. Takes about 20-50 reboots until my device randomly gets lucky and doesn't restart in safe mode…

#!/bin/sh
n=0
g=0
while true; do
    safe_mode=$(adb shell dumpsys display | egrep -o 'mSafeMode=\w+' | cut -d= -f2)
    case "$safe_mode" in
    true)
        n=$(( $n + 1 ))
        g=0
        echo "In safe mode, rebooting (try #${n}) ..."
        adb shell "su root -- killall zygote"
        ;;
    false)
        g=$(( $g + 1 ))
        [[ $g -gt 2 ]] && break;
        echo "Appears not to be in safe mode, will check again ..."
        ;;
    *)
        echo "adb shell dumpsys display failed" ;;
    esac
    sleep 15
done

adb shell dumpsys power | grep -q 'mScreenOn=false' && \
    adb shell input keyevent = POWER

echo "Escaped from safe mode after ${n} reboots. Whew."

This related question and this answer gave me what I needed to figure it out.


Install apps on Android Phone automatically when installed in BlueStacks I am developing an Android application, and I have to constantly mail the apk to myself to download to phone. I also use Bluestacks app player for testing. But also verify app in my own phone. Is there any way to have the app installed on the phone directly when installed on the Bluestacks App Player. I know the reverse is possible through Bluestacks Cloud Connect. Can I achieve the other way round?

With an installation of the official Android SDK, virtual devices are available to you (so you don't have to use Bluestacks).  You can simply install them via adb to your virtual Android device and test them there.  You can customize every aspect of the device, ranging from resolution, hardware buttons, modems, and software.

If you are developing using Eclipse, simply install the SDK and the plugins, and then press the "Play" button, and Eclipse will send the app directly to your phone.

Read more here: http://developer.android.com/sdk/installing/installing-adt.html


How do I get Google Play back on my phone? A can of worms were opened all because I was logged out of Snapchat. I got new a phone about a month ago called the Samsung Galaxy A9 Pro. It was only sold in China and Hong Kong. When I got it it worked like anyone other Android phone, but it came with root already on it with some program called Team Win Resource Project. After discovering it had root, I got some rooted apps for it. Then, a friend wanted to log on Snapchat so he logged me out but he couldn't log on. I tried to log on and it still wouldn't work. Eventually I discovered I couldn't log on because I modified the root folder. So I tried to unroot it with SuperSU and that took me to the TWRP screen after I rebooted it. I didn't know how to get past that screen, but a video I watched showed me how to fix it (or so I thought) by installing the original firmware. After doing so, I didn't have any Google services and the play store was replaced by the Samsung store. I tried installing the Google Play store with the play services and play services framework, which only slowed down my phone ("unfortunately, play services/play services framework stopped working"). I uninstalled all play services and now I have absolutely no clue what to do or where to go to get Google Play back. Please help me.

Try google play installer apk. It will hep android phones to install gapps.


Folder in root directory (/) gets automatically deleted after reboot I have a rooted samsung galaxy y phone running android 2.3.6

As a root user , I successfully created "usr" directory in  / path & set permission 755. But after rebooting my phone, usr directory is not there.
How it got deleted !!

Please guide me how to create it permanently in  / path.

The / (root) directory is not a persistent filesystem on Android. It's a initramfs, which is packed into the boot image on your device. Although you can remount it with write permissions, changes will always be lost the next time you boot because the original ramdisk will be re-extracted from the boot image on the next boot.

In order to make a permanent change you would need to get a copy of your boot image, unpack the initramfs, make your changes, then repack everything and flash the boot image on your device. Tools like dsixda's Android Kitchen can help facilitate this. Otherwise, you can try something like mkbootimg-tools to help you get the ramdisk, then gunzip/cpio to unpack it  by hand, and the reverse to repack everything.

The process - provided not much has changed in the last few years - would be something along the lines of:

$ mkboot boot.img /output-folder
$ cd /output-folder
$ gunzip -c ramdisk | cpio -i
... make some changes in the ramdisk and possibly /output-folder/img_info ...
$ find . | cpio -o -H newc | gzip > newramdisk.cpio.gz
$ cd ..
$ mkboot /output-folder newboot.img

You may need to check if there are any additional options to pass into mkboot for your specific device.


Any way to reboot device programmatically without root? I don't switch off mobile phone at night. After several weeks of uptime my mobile phone becomes slow. When I reboot it everything is smooth again.

It's not possible to root my android 5 phone, there is no custom firmware, and no current one-click-root bugs. I would like to reboot my mobile every night while charging (wireless charger), but I have not found a way to do that. I could even write an app for that if it's somehow possible.

Is there any "legal" way to reboot phone programmatically? Maybe "device administrator" app permissions can help?

Thanks

You could use AutoInput with Tasker.
AutoInput can create list with recorded screen touches for reboot, and with Tasker you can schedule action at the time you want, without root access.


Nexus 5 stuck on “flying color dots lollipop” screen after Hard Factory Reset I updated my Nexus 5 to Lollipop a month back and it was working fine. Suddenly one day my device didn't boot up so I did a factory reset and I got wipe/cache error and if I switch off the power and restart I get the flying color dots page and nothing comes up after that. I went to service center and they said it's a software issue and they can't do anything about it. How can I fix this?

There is nothing to worry. You just have to flash the images properly.

Please follow the steps mentioned in this Android Enthusiasts answer.

The initial bootup usually takes time around 10 to 15 minutes. I'm up and running 5.0.1 without any problems.


I see repeated annoying pop-up messages claiming I have viruses. When I click "Remove Virus", I'm sent to the Google Play store. What should I do? this pops up whenever I lock my phone and unlock it. How do i fix this?

I'm using a Samsung Galaxy Note 3. When i click on 'remove virus now' it redirects me to a page on google play store which shows a cleaner app.

Visit a different site (and avoid this one in the future). That's a fake warning wanting to trick you into some download. Definitely do NOT hit that button labeled "Remove virus now" – if you do that, you'll have your device infected with some malware for sure. Don't get irritated by the Google logo, this is not a message from Google (they have other ways for "desinfection").

Never trust any such popup if it says your Android device has viruses – there are no viruses on Android (malware yes, but no viruses – there's a subtle difference). Second proof: a website cannot scan your device for malware, so how will it know?

One more pointer is the "countdown" in the second screenshot, which clearly identifies the message as Scareware: No sincere and trustworthy software would issue an ultimatum to the user. The only intention here is forcing you to "switch off your brains in panic".

So either that website got infected – or it's even an intentional malicious site. Your device is fine.


How to unbrick my Samsung Tab 1 (7 inch) from T mobile brought it from S. KOREA I had plan to upgrade my samsung Tab 1 (7 inch) to Lollipop. I got the fair enough idea to upgrate it from youtube videos. I was able to go to recovery mode by pressing up+power. I was able to go to download mode by pressing (down+power) button.

I got the information that I can upgrade it from SD card & choose to install from SD card from recovery mode. I assume it was successful if I could have tried that.

But before trying direct update to lollipop, I tried to download with odin 1.7. (My mistake)

I tried with modem, kernel & pit file. After doing that I was not able to come to download mode itself. It looks like I hard brick my phone.

Old Samsung devices (Galaxy S1 to S3 generations) where near impossible to brick unless you had the emmc bug or somehow flashed missmatched set of bootloaders. The best way to attempt to recover the device is grab a firmware package from samsfirmware or similar. Force device in to download mode with either key combinations or with a jig then proceed to flash stock firmware using ODIN.


Grooveshark app on Android I realized that they took TinyShark offline recently.  I'm looking to see if anyone knew why or what the reason for that was?  I've found one alternative, BlueStream, but I don't think that that is a solid alternative and would love to hear some more apps from you guys.

Try Wiredog. It's new and you can find it on Reddit in the top apps category.


What are these Two icons? I was re-ordering objects on the quick settings When I noticed two icons that I do not recognise:

To clarify, it's HotKnot and BroadCastTile That I am questioning.

Whats odder is that they are not in the Quick settings menu (Even if I add them)

What are they for, and how can I use them?

HotKnot - The technology allows the capacitive touchscreens of smartphones to interact – a feature that can be used for quick data transfer/sharing, in a similar way to NFC.

Source: link

BroadCastTile - It is just a customizable tile, you can add a custom tile if you know the constraints.

Source: link


Need help rooting my phone I have a Micromax Canvas spark 2 q334 running android 5.1 and it has a very low internal storage.so I need to root my phone to use link2sd. some guides suggest Kingroot but it doesn't work for my phone..also there is no custom recovery available for my phone so I couldn't root using recovery method.can someone guide me on how to root my phone.

You could try other one click root apps like Vroot or frama etc.

"Very low internal storage" you could be more specific, 8/4 MB?


Does using multiple gps tracker use much more battery? If I run several GPS tracking apps at the same time, like strava, ski tracks, my tracks, for example, does the battery drain much faster then using a single gps tracker? Basically what I'm asking, is how much of the gps battery usage is from the communication to the gps vs how much from the individual app usage.

The GPS itself probably won't use much more power – after all it doesn't matter if 1 or 100 apps ask for the location: it's obtained once and then handed to all. Actually there's even a "location cache": if you're now at e.g. Trafalgar Square in London, you're unlikely to be in Manhattan the next second (exaggerating a little) – so that's what subsequent requests within a short interval access. And that's also what's used when you e.g. enter a tunnel and temporarily have no location info.

A little more power of course will be required as the device is kept awake "more aggressively": one app probably would update the location once per second (or fewer times) – while multiple apps won't do that "unisono" (at the exact same time). But compared to the overall load while tracking (or navigating), that's most likely rather a little indeed.

Which reduces your question to: "Does using multiple apps use much more battery". The answer to that is "it depends". It certainly uses more – but how much depends on what those apps do, how well they are written, etc. Also think of ads they may draw, or data uploads they might perform.


How do I safely install an app not from the Play store? I have always installed apps from the official store but today I wanted to install an app from SlideMe so I clicked "download" but it didn't install automatically.  It just downloaded an .apk file and then a window popped up with two options called "Google installer"  and "package installer"..how do I proceed?  I have an unrooted S3.

OS: 4.1.1

Choosing the Google installer option will verify the application with Google before installing. Choosing the Package installer option will install the application as is. Since I like to be safe, I installed AVG Antivirus from the Play Store. A third option will be to scan the package for viruses before installing.


PC bluescreen when enabling adb on phone connected to PC via USB I'm using Cyanogenmod 13 Nightly (Android 6.0.1) for LG G3 Beat and i tried to use adb but as soon as I enabled adb on phone the bluescreen on pc (Windows 10) shows up saying SYSTEM_THREAD_EXPCEPTION_NOT_HANDLED (lgandnetmodem64.sys)

If you need information let me know

Uninstall LG drivers and let Windows download and install himself.
It fixed blue for me.


Nexus 7 randomly reboots and resets date to 1999 Twice now my Nexus 7 has randomly rebooted while it was charging and the date was changed to December 31, 1999 and the time has been changed; this time it was set six hours ahead. Does anyone know what's going on and how to stop it?

Update: It just happened again today, 4/28/13. This time the time was set 2 hours ahead. It's been charging every time this has happened.

Edit:

I use the original charger and cable. However, the charging port is a
little bent and I can't do a data connection to a PC, and it can
be a little hard to get it to charge sometimes.
I do not use any docks.
My Android version is 4.2.2
I updated the Android version myself using ClockWorkMod Recovery as I am rooted.
I have 63 apps installed.
I do not use task killers.
I have not yet done a factory reset since I won't be able to re-root (see note about charger above) and it would take quit a while to re-download everything since I only have internet occasionally. I will do a factory reset only if it's the last resort.

This isn't too big of a problem, just annoying.

I have N7 too. I never heard or read about anything like this. It can be faulty battery or charging circuit, but it can be just SW problem.

First, please, add some important details to your question:

Did you use original charger?
Did you use original USB cable?
Did you use original dock?
What android version do you have?
Do you have this version out of box from the first day (from factory) or did you get it as OTA update or did you update it yourself?
How many apps do you have installed?
Do you use any task killer?
Did you try reset to factory defaults?


External Ext4 card mounted only for root (!) on Android 5.1 64 bits In short: if I mount my Ext4 8GB SD card, only root (SU) can see it. The rest of users (so, the rest of apps) don't detect it.

As long as my Ext4 SD card is not correctly mounted (Android always yields Damaged SD card. Format it... blah blah blah), I followed this guide to mount it. And it works:

SD Card is at /dev/block/mmcblk1, so first partition is at /dev/block/mmcblk1p1.
I performed the (not very clear for me) prior ADB process:

su
setprop service.adb.tcp.port 5555
adb kill-server
stop adbd
start adbd
HOME=/sdcard adb start-server
adb connect localhost
adb -s localhost:5555 shell
exit
stop adbd
cat /sdcard/.android/adbkey.pub >> /data/misc/adb/adb_keys
start adbd

And then the card is correctly mounted by doing (as root):

# mount -t ext4 /dev/block/mmcblk1p1 /storage/extSdCard && sleep 5 && /system/bin/vold

Note how it works as SU but not as normal user:

root@unknown:/ # ls /storage/sdcard1
lost+found
root@unknown:/ # exit
u0_a98@unknown:/ $ ls /storage/sdcard1
ls: can't open '/storage/sdcard1': Permission denied

I have tested the above steps via SSH (remote shell).
The SD Card has been formatted from Windows using Minitool Partition Wizard.

I have tested too:

Editing the /system/etc/permissions/platform.xml file manually (adding <group gid=”media_rw” />) to WRITE_EXTERNAL_STORAGE section, as referred here.
SDFix.
Using Xposed framework with HandleExternalStorage module.

But the apps (Total Commander, Ghost Commander, or any other program) have no access to the Ext4 SDCard.

What else could I try?
Workarounds to make apps read (and write) SD Card accepted too.

Extra data 1:

Note the output of the mount command for both users:

root@unknown:/ # mount | grep "sdcard" -i
/dev/block/mmcblk1p1 /storage/sdcard1 ext4 rw,seclabel,relatime,data=ordered 0 0
root@unknown:/ # exit
u0_a98@unknown:/ $ mount | grep "sdcard"
u0_a98@unknown:/ $ mount | grep "mmcblk"

As can be seen, the root user has a mounted device that the normal user has not (!). I did not know this could happen on Linux.

Edit 2020-06-03: If you would like to see a way more detailed answer in how the mounting ecosystem works under Android, you may have a look at this answer: How to bind mount a folder inside /sdcard with correct permissions?
Mounting
Try logging in as a root user with proper mounting permissions using
su -mm

Make sure that a directory exists that receives the mount:
mkdir /mnt/arch1

You can also create an empty folder inside your internal storage and use that mount point instead if Apps won't allow you to browse in the / root directory.
Mount your ext4 partition using
mount -t ext4 -o noatime /dev/block/mmcblk1p2 /mnt/arch1

whereas mmcblk1p2 is the second partition of my sdcard in my case. You can replace /mnt/arch1 with any other path you wish.
My first partition is formatted (and acting as extSdCard) with FAT32 as a fallback, so Apps write their stuff there while my ext4 partition is "safe" and to prevent OSes accidentally formatting the whole SD-Card when inserting it.
You should now be able to browse inside that mount point using either your terminal (rooted and non-rooted) or your apps.
To automatically mount the partition on startup, you can use this line
su -mm -c mount -t ext4 -o noatime /dev/block/mmcblk1p2 /mnt/arch

in Tasker for example.
Unmounting / mount information
Please note that mount points of -mm in turn aren't visible to the "regular" root (without -mm). To unmount the partition, you would have to login with -mm again and use umount /dev/block/mmcblk1p2 or umount /mnt/arch1 from there.
Checking whoami won't reveal being logged in with or without -mm.
App permissions
Edit 2020-06-03: After all these years using this approach I should add that even with rwx permissions on my special ext4 sdcard partition, apps may not be able to read files unless the SELinux policy is set to "permissive". For a quick fix I let Tasker execute su -c setenforce permissive on every boot. I need to do this anyway because I use ViPER4Android audio effect processing and it would not work without the permissive setting. Because of this, I noticed the permissive dependency just recently.
What I can't answer
Unfortunately I have no idea how to mount it in that way that your ext4 partition is displayed as real external storage by standard file managers. You would have to do the workaround by creating a directory inside your internal storage mentioned earlier.
How I figured it out
I experienced the exact problem. I gave the fact that other apps can't access the mount a further thought. Maybe the root user is not supposed to mount partitions for use with Android apps. I noticed a directory called media_rw is owned by media_rw (yes, same names) so I thought about suing as a media_rw user and applying the above steps.
While reading the help page with su --help within Android, I stumbled across this part:
-m, -p,
-mm, --mount-master          connect to a shell that can manipulate the
                             master mount namespace - requires su to be
                             running as daemon, must be first parameter

So tried logging in as a root user with the -mm option instead, mounted my partition from there and surprise - I was able to see my stuff in Total Commander and open media files from there with VLC.
My device in particular is the Planet Computers Gemini, using stock Android 7.1.1 (Nougat) rooted with SuperSU. Edit 2020-06-03: Android 8.1 (Oreo rooted with Magisk; same device) as well.


How will a swap partition/file affect the system? Some friends told me that their Android phones have very little (<100MB) available memory for regular apps, because the OS and some un-killable services take most of the RAM. For example, one phone with 512MB only shows 90MB available memory, so only 2-3 apps can run at the same time.

I'm wondering if creating a swap partition/file will help, but I saw mixed opinions all over the web and I'm not sure what to do. Here are my questions:

(1) Will there be many not-oftenly-used memory pages to swap out, especially in OS and those un-killable services?

(2) How will swapping out small memory pages hurt flash memory life span? Does the flash (or SD card?) do wear-leveling automatically?

(3) Will swapping really help performance when running multiple apps? I assume if the answer to (1) is yes, it will.

(4) Will writing to flash be too slow and thus hurt responsiveness when swapping happens?

(5) Is it true that Android keeps the swapping mechanism from the Linux kernel, so as long as there is a swapping partition/file, it will do swapping without extra configuration?

Thanks for reading.

I don't think there will be much benefit with swapping for Android, as the Android Application Life Cycle is a much more advanced form of swapping.

  (1) Will there be many
  not-oftenly-used memory pages to swap
  out, especially in OS and those
  un-killable services?

You can't swap the OS kernel even in Desktop Linux and Android already kills services when it needs more RAM. If your device vendor persists that you have to have useless services running all the time, then root your device.

  (2) How will swapping out small memory
  pages hurt flash memory life span?
  Does the flash (or SD card?) do
  wear-leveling automatically?

Even if the SD-card does wear-leveling, swapping will hurt quite a lot.

  (3) Will swapping really help
  performance when running multiple
  apps? I assume if the answer to (1) is
  yes, it will.

Not in the context of Android. Unlike traditional OS that will keep trying to chug in processes as you requested it, Android will Force Kill older, unused processes and reclaims their memory; this killing is fast as applications will already save their state when you task switch.

  (4) Will writing to flash be too slow
  and thus hurt responsiveness when
  swapping happens?

Probably, probably not. Will need benchmarks for that.

  (5) Is it true that Android keeps the
  swapping mechanism from the Linux
  kernel, so as long as there is a
  swapping partition/file, it will do
  swapping without extra configuration?

I don't know whether Android keeps the swapping mechanism, but even if it does (or if you compile your own kernel), you will still need some configurations. It's usually just having an fstab file that points to the swap file and doing swapon -a.

In fact I have reasons why swapping may actually hurt performance: it prevents Application Life Cycle, Android's memory management scheme, to work correctly.


I still can 'delete for everyone' message on WhatsApp? Why? I would like to ask..
Why can I still delete my message from whatsapp, even though the times already round in an hour?
If you guys know, please let me know too.. thanks

WhatsApp has changed the way it works. You can now delete for everyone within an hour and eight minutes.

From TheVerge:

  WhatsApp has quietly changed the way its message deletion feature
  works. Originally introduced in October, the WhatsApp “delete for
  everyone” used to only allow you to delete messages up to seven
  minutes after you sent them. WABetaInfo has noticed that the latest
  version of WhatsApp extends that time limit significantly to one hour,
  eight minutes, and 16 seconds.


Reinstall on Proscan PLT7650G Tablet? My son has a Proscan PLT7650G tablet that will not get past the ProScan startup logo.  I have tried a factory reset and its still a no go.  Before I throw in the towel I want to try an OS reinstall but I am not sure how to go about it.  I am a programmer/dba/sys admin and I am not afraid to take it on but my knowledge of Android is very limited.

Try this:

Download the firmware from this site
Extract downloaded .zip (Should contain a .img file)
Rename .img file to update.img (If it isn't already)
Copy update.img onto SD card (Should be the only thing on the card)
Reboot. Should install the file.

You should read more here


Boot loop after flashing android 6.0 marshmallow on nexus 5 follow up this question follows up on this one (but there are many other posts about this topic on the web.. see this reddit post and this xda developers post.

I just want to approach this problem in a more structured way as opposed to just saying how something worked by coincidence.

Problem definition

Like everyone else I simply followed the official instructions from google developers. To expand a bit (because this could be the cause of the problem).. following this part of the instruction from the above link:

  To flash a device using one of the system images below (or one of your own), you need the fastboot tool. You can get the fastboot tool either:

  From a compiled version of the the Android Open Source Project.
  Or, from the platform-tools/ directory in the Android SDK. Be sure that you have the latest version of the Android SDK Platform-tools from the SDK Manager.

So I simply downloaded the entire android studio application (i know that's a bit of overkill but I just wanted to make sure I got the latest and greatest)

From the below android studio screenshot.. you can see that I have android SDK platform tools 23.0.1

question: I'm updating my phone from android 5.0.x (not sure what the exact version is).. could it be that this android version mismatches the android platform tools that i have?

I've ensured that my fastboot is added to my PATH environment:

$ which fastboot
/Users/abdullahbakhach/Library/Android/sdk/platform-tools/fastboot

I've downloaded the flash file (specifically the hammerhead for nexux 6.0.0 (MRA58K)).. then i started the device in fastboot mode by the key combination. and ran the flash-all script.

what happened was that the script ran with the following logs:

$ ./flash-all.sh
sending 'bootloader' (3120 KB)...
OKAY [  0.207s]
writing 'bootloader'...
OKAY [  0.524s]
finished. total time: 0.731s
rebooting into bootloader...
OKAY [  0.001s]
finished. total time: 0.001s
sending 'radio' (45425 KB)...
OKAY [  1.536s]
writing 'radio'...
OKAY [  3.145s]
finished. total time: 4.681s
rebooting into bootloader...
OKAY [  0.001s]
finished. total time: 0.001s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: HHZ12k
Baseband Version.....: M8974A-2.0.50.2.27
Serial Number........: 03a3d66d0a4e64bd
--------------------------------------------
checking product...
OKAY [  0.100s]
checking version-bootloader...
OKAY [  0.100s]
checking version-baseband...
OKAY [  0.100s]
sending 'boot' (9156 KB)...
OKAY [  0.500s]
writing 'boot'...
OKAY [  0.798s]
sending 'recovery' (10016 KB)...
OKAY [  0.562s]
writing 'recovery'...
OKAY [  0.850s]
sending 'system' (1019261 KB)...
OKAY [ 32.164s]
writing 'system'...
OKAY [ 70.421s]
erasing 'userdata'...
OKAY [ 15.854s]
erasing 'cache'...
OKAY [  0.630s]
rebooting...

finished. total time: 122.480s

question: should i be concerned about this part?

archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'

anyways after all is done.. the phone reboots and gets stuck in the boot screen (for ever)..

what i've tried

I've tried running these commands as suggested by this post

adb shell
e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist

and

make_ext4fs /dev/block/platform/msm_sdcc.1/by-name/persist

but nothing changed..

I've also tried performing a wipe using TWRP as suggested by this post:
- I downloaded the twrp-2.8.7.1-hammerhead.dmg file from the twrp site

and then ran

fastboot flash recovery twrp-2.8.7.1-hammerhead.dmg

then performed a wipe two different ways:
- performing a normal wipe pretty much made things worse.. the phone would show the google logo then reboot.. show the google logo and so on
- simply deleting the cache also didn't make any difference at all..

i'm stuck.. any suggestions?

I too faced this issue and issuing the fastboot commands manually (instead of relying on flash-all) and it worked well.

These are the commands to use (just forget everything and make sure these commands are executed in this order with the appropriate .img file available):

fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot reboot


How to call my own phone with a loud ringing tone (in order to find it in my house) even if it is in silent mode? My phone (Samsung A3, Android 5) is nearly always in silent mode (for many reasons: work, or kids who should not be awakened by a ringing tone).

But sometimes I don't find my phone at home, and lose 10 minutes finding it!

A solution would be to call my phone from another phone (home phone)... but obviously this doesn't work since the phone is in silent mode!

Is there a way to make one specific number always ringing loud? (even if the phone is in silent mode)
Or is there an app such that my (lost-in-my-house) phone there could be called from another phone, or from a computer, with a loud ringing tone, even if the phone is in silent mode?

You may consider using Google's Find My Device (web version, app). I would not suggest a third-party app from unreliable sources (although you can't trust Google as well :p).


Nexus 7 (2012) won't charge or start after a series of problems A year or so ago, I bought an old Nexus 7 that was very slightly used (I took it off my girlfriend's hands). Everything worked fine, but I barely ever used it.

Two days ago I broke it back out. I charged the battery to full but never ran anything. The next day, I opened it up again and noticed that there was an update - 5.1.1. Not researching beforehand, I went ahead and tapped the notification, and then the problems started flooding in.

First, the tablet became locked in the loading animation after the Google logo. I let it do this overnight just in case, and it was still stuck in the morning. So I held the power button and volume button until it turned off and tried to reboot it.

At this point, it booted to a 'No command' screen. I did a factory reset from here, and rebooted. Now the tablet became stuck in a reboot loop of the Google logo.

After some research, I flashed it back to version 4.4. Everything worked fine with the fastboot and everything was working great. I ran a few updates from the tablet and got to version 4.4.4. Again, it loaded fine.

I tapped the envelope icon in the top-left corner to view my e-mails. As I was reading the first one, the screen froze. I let it sit for a few minutes and it was still frozen. So again, I powered off by using the power and volume button. My battery was around 30% at this point.

Now the tablet shows absolutely no signs of life. I have tried holding the buttons with all of the combinations that are online, I have tried doing combinations of buttons while plugging/unplugging the charger. I have tried using a regular micro-usb charger as well as a 2A charger. I have tried reseating the battery. NOTHING has worked. The tablet shows NO signs of life - no flashing, blanks, anything at all.

What else can I possibly do?

Looking at your issue related to battery and charging (which may not be the sole cause- I am not familiar with Nexus devices)

Since you barely used it for an year, it would not have been charged either and the battery could have discharged to very low levels. Li Ion batteries have a protection circuit that kicks in when the discharge falls below a certain level. It requires certain current to be applied to it before charging can happen. This is called "Boosting". How to awaken sleeping Li-ion explains it. Fix: Nexus 7 Refusing to Charge, Try This Trick mentions steps getting into the bootloader to revive it

  Plug-in your dead N7 to a wall charger. (Jump immediately to step 2.)
  Immediately after plugging it in, press Volume Down and Power at the same time.
  Once in the bootloader menu, use Volume Down until you see “Power Off Device.”
  Choose that option with the Power button.
  Once your device is off, unplug the charger and then plug it back into the device.
  You should now see the battery meter  with your device returning to life.

You could also try to change the charging cables- I would suggest is to use a 20/22 AWG cable for charging (if you don't want to buy, look for a short thick charging cable-it may help). See answer here for my details. Nexus 7 is more choosy: It will stop charging if voltage levels drop and resistance comes into play again. Google Nexus 7 Charging goes into details and says

  Nexus 7 will stop charging if the input voltage is less than the internal battery voltage plus 0.2 volts.

There are other drastic methods, which you could try if you are comfortable, involving jump starting


How do I factory reset my HTC Desire? I got an old HTC Desire (the first model) which I need to reset.

I've tried to hard reset my phone using the instructions here: http://www.thefullsignal.com/htc/htc-desire/4989/how-hard-reset-htc-desire. But my phone just keeps booting as usual. Maybe I'm doing something wrong?

Are there another way for me to reset the phone? Maybe through ADT or something else?

Edit: I've forgot both which Google Account I used and the visual password (It's an old phone). So I can't log into the phone. That's why I want to do a hard reset.

You should be able to wipe via the recovery however, this will wipe all the data on the device including contacts, apps, pictures and videos.

Turn the power off. If your HTC Desire 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 Recovery
On the next screen press Volume Up and Power
You should then see the "Android System Recovery"
Select the 'Wipe data/factory reset' option
You may need to confirm your choice (i don't want to wipe the device i have so not 100% sure)


Decrypting manually Android 4.4.2 partitions pulled from phone (SM-G313HN) Way how I got to this point is that my phone somehow had restarted in my pocket and was asking for password which I entered but upon entering password it restarted so I was basically stuck in bootloop. So I went into adb through recovery and pulled all partitions of the phone so they are on my pc right now. The question is how can I decrypt them. I tried looking around how is 4.4.2 encrypted but didnt find any good answer. I only understood that key is stored in footer of it which I did find there but then arises question of how you derive the encryption key from it? I'm so confused. Also how is sdcard encrypted as I looked at files from sd card they seem to be file-based encrypted?

Okay so I got more info about how Samsungs encryption works from this video and was able to decrypt my userdata partition with tool called Sandy. As for SD card I just pulled out eds_p_sd file from /efs partition from my dd dump and put it back into factory reset phone and it worked like a charm. But SD card decryption can also be achieved with the Sandy framework you just need to have eds_p_sd file and right ECryptFS version so the keys work otherwise you will run into problems.


Images not displaying in Galary folder In samsung galaxy ace s5830i the photos in sd card are not displaying in galary folder why? That is some image folder are not displaying but it is there in myfiles folder. Even songs are getting removed automatically from playlist why it happening like please someone help on this.... Recently im facing this problem. Plsss help.....

Check if the folders you store your photos in have a file called .nomedia in it. It is used to flag folders for media players (gallery, music, etc.) not to scan


How to transfer files from Linux to android using the command line. (Linux/Fedora26)? When I plug in my Galaxy S4 into my computer running Fedora 26, I am able to easily write files to the SD card by dragging and dropping them onto my phone's SD card in nautilus, the file browser. However, if I try to copy over the same file using cp, I am told that the opperation is not supported.

I've tried to ssh into the phone by using such apps as SSHDroid, but I always receive an error telling my that I don't have the necessary permissions when I try to write to my phone.

Steps To Reproduce:

Plug Android into computer with usb cable.
Open command prompt and attempt to file copy a file: cp screenshot.png /run/user/1000/gvfs/mtp\:host\=%5Busb%3A001%2C015%5D/Card/fromComputer/. This outputs the following error message:

cp: cannot create regular file '/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C015%5D/Card/fromComputer/screenshot.png': Operation not supported
Open nautilus and navigate to the mounted Android phone's sd card. Copy and paste the desired file onto the card. The opperation will be successful.

On your phone:

Open Settings > About Phone
Click on Build Number 7 times
Go to Settings > Developer Options
Enable Developer Options and enable Debug mode on USB

On your computer:

Install ADB on your computer. You may refer to this guide, although it isn't for Fedora, the steps should be similar.
Use adb push/pull to copy to/from your phone. To transfer a file to your phone, use adb push filename.extnsion /sdcard/0/ and substitute the path to the sdcard accordingly for your device.


Android: how to increase system partition and decrease data partition? A very bad situation
I want to install the Lineage 16 OS on Nexus 5
Without apps it install Ok
With google apps(I select pico package arm, wich is under 100 MB) not and give error system partition space not sufficient.
This is the actual situation

Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   949772        28    949744   0% /dev
tmpfs                   949772        44    949728   0% /tmp
/dev/block/mmcblk0p28
                      28061148    643132  27418016   2% /data
/dev/block/mmcblk0p28
                      28061148    643132  27418016   2% /sdcard
/dev/block/mmcblk0p27
                        706392     13084    693308   2% /cache
/dev/block/mmcblk0p25
                       1045804    899652    146152  86% /system

I have tried a parted binary for resize but said ext4 is not supported!
And with fdisk allow me to delete only the gpt partition(!)  number 1
How to resize the partition n25   /dev/block/mmcblk0p25?
My idea is to decrease sdcard of 2GB and increase system with 2GB
is possible?

I have follow this method,shrink data,and recreate system partition, is not too "kind" but works.
Warning: this method is ok from a fresh installation from 0, you will loose all data, so follow it only if expert user, I'm not responsible for loose data,brick device,etc you are warned.
You must have twrp installed, a usb connected smartphone and adb,fastboot on pc

a)Get parted and gdisk from here

b)Reboot in recovery mode

adb reboot recovery

c)Push gdisk and parted

adb push parted /
adb push gdisk /

d)With parted resize the data partition,in my case is 28 and we resize from 30G to 27G

    adb shell
    umount /data
    parted /dev/block/mmc0blk0
    resizepart 28 27G

e)Now exit from parted and open gdisk

umount /system
gdisk  /dev/block/mmc0blk0
d #delete, select the system partition, in my case is 25
n #new,I select the new size of 3G for my system partition and 0700 as fsid
w #write

f)Now reopen with parted and rename the partition 25 as system

g)Reboot in recovery mode from twrp or adb

adb reboot recovery

h)The command
fdisk -l /dev/block/mmc0blk0
must report correct sizes

i)Now create the ext4fs

make_ext4fs /dev/block/mmc0blk0p25

l)resize the fs

umount /system||echo ok
e2fsck -f /dev/block/mmcblk0p25
resize2fs /dev/block/mmcblk0p25

m)Eventually correct /etc/fstab
the command mount /system must complete successfully.
With twrp try to wipe the partitions data,system,etc
the command must complete successfully.

m)Install android rom or recover from a backup.

n)I see my lineageos image resize automatically the partition to 1G(sic!)
so I'm tryng this workaround

1)install lineage
2)reboot and wait for Android OS
3)reboot in twrp
4)then resize the partition as explained on l)
5)then install the other zips


Disable window animations when the menu option is missing? How do I set Window animation scale and Transition animation scale to Animation off when  the option to do so is not available on my ROM (though it ought to be). Specifically it should be under Developer options in Settings but all of the User interface options are missing.

If you have root, you can edit the Settings database through adb:

adb shell
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db
sqlite> update system set value=0 where name='window_animation_scale';
sqlite> update system set value=0 where name='transition_animation_scale';
sqlite> .exit
# exit
adb reboot

I first attempted to edit the field with the SQLite Editor app from the Play Store: Settings Storage (com.android.providers.settings) → settings.db → system → window_animation_scale but it unfortunately gave me Update failed - error code 5: database is locked. Whereas updating the database from adb worked fine. (Perhaps a different app would also work.)

Other settings are also editable this way.

If sqlite3 says permission denied you may need to chmod it to allow execution. You also may need to find the right path to use above for the settings.db file, here's an example:

# find / -name sqlite3
/system/xbin/sqlite3
# chmod 755 /system/xbin/sqlite3
# find / -name settings.db
/dbdata/databases/com.android.providers.settings/settings.db


Why is 'no connection' error appearing while accessing Google Play store? I have this common, annoying problem while trying to access Google Play Store from my phone. It just shows 'no connection', and won't load, even though the internet access is surely working. The suspected cause is a synchronization error of my Google account, likely due to incorrect time settings (it's reported while running WhatsApp for example). Here's what I've done so far:

Set the time automatically
Manually set the time, without using the network
Clearing cache of Google Play store application
Reinstalling Google Play store manually using .apk
Logging out and back in with my Google account
Rooting the phone and using ClockSync app to set the time
Doing a factory reset of my device
Making sure Freedom application is not installed

I'm slowly running out of ideas...if anyone has the smallest hint, I'll be really grateful. I'm using Android 4.2.2.

Try clearing the app data and cache of Google service framework.

Go to Settings
Apps
Scroll to ALL
Google Services Framework
Clear data and cache
Disable and Enable back
Reboot phone


TWRP: No OS flashed after flashing LOS 16.0 on Samsung S5 I want to install LOS 16.0 on my Samsung S5 SM-G901F. According to the LOS installation wiki, I did from an ArchLinux OS:

installation of TWRP 3.2.3-0 with heimdall
wipe -> format data
wipe -> advanced wipe (all partitions were wiped)
advanced ADB sideload: adb sideload lineage-16.0-20200106-nightly-kccat6-signed.zip (I tried the 3 last build)

I checked all the hashes and they are Ok.

I observed a progress-bar difference between the TWRP and the terminal: the TWRP announced a 100% progress, while the adb command stopped at 47%. However, after debugging it, I realized the installation script runs entirely.

Finally, when I wish to reboot on the system partition, I get the error message "No OS flashed are you sure you wish to reboot?".

Have you any idea to truly flash LOS?
Thank you!

if you wiped all partitions under TWRP advanced wipe. You need to flash Samsung factory firmware because you wiped the framework that the ROM is built over.


4.3 Lockscreen: How to drag on a lockscreen notification to go to that app? I have a Samsung Note II. It used to be Android 4.2, and on the lockscreen, if I got a notification of an SMS, I could drag on that notification itself to unlock the phone and go straight to the SMS app.

Then 4.3 got rolled out and my phone updated itself. Now the lockscreen is a fancy multi-page customisable thing. But it's lost access to the key feature of letting me unlock and go straight to the source of a notification with one swipe.

Before (4.2):

Drag on the SMS notification -> Phone unlocks and goes straight to the SMS app.
Drag on the missed call notification -> Phone unlocks and goes straight to the phone call history.

Now (4.3):

Drag left or right on the SMS notification -> Lockscreen tries to switch to another page
Drag downwards on the SMS notification -> Lockscreen expands the empty space around the SMS notification to be a bigger empty space (?!)
To go to the SMS app, I have to (1) drag in the small "unlock phone" space, then (2) drag down my notifications bar from whatever app I end up in, and finally (3) tap the SMS notification.
I can't find any action that will simultaneously unlock the phone and take me straight to the SMS, or unlock the phone and take me straight to the phone call history (the source app of the notifications that are being displayed).

I guess I could install a custom lockscreen app like Celltick Start linked from question 49935. But it'd be nice if the smooth, easy functionality in the 4.2 lockscreen could still be available in 4.3 without using a custom app. Is there any way to do this?

The answer is indeed as Dan Hulme mentioned:

Tap once on the notification (SMS, phone etc). This makes that notification shrink and fade, when in fact it's selecting it; extremely unintuitive but that's the way they implemented it...
This makes an empty grey box appear in the bottom half of the screen with no label. What you need to do now is drag across this box. Again, no label, no instructions, no suggestion, bad UI; but it does what you want: unlock the screen and go to the app corresponding to the notification (SMS, phone, etc).

Thanks Dan for the answer.


Restore nandroid backup on an other phone I have a nandroid backup of a huawey y600 and I have to restore it in an other huawei y600.Can I do that?If I do that the imei will change on the phone in wich I do the restore?

The guy in this site did this. It might work if you have TWRP because he did this

Made a quick backup to generate the proper folder structure and the correct directory name needed for my new phone.
Copied the folder that contained the backup I intended to use from my old Hercules S2 to my replacement Hercules S2's TWRP backup directory.
3.Copied the name of the folder of the backup I made in step 1 to the clipboard.
deleted the folder I created in step 1.
renamed the folder I imported by pasting the name from the clipboard.
restored the backup.
Done.

The link to the chat discussion http://forum.xda-developers.com/showthread.php?t=1949020.


Is there an easy way to switch render effects? I find myself changing render effects a lot on my Nexus One. During the day brightness is ok, but to read on bed it's extremely bright even on the lowest setting.

I find that going to options, cyanogen, interface (why not under display?), render effects, and selecting either night mode or blue works wonders. Even if still too bright, it's worlds better than before.

But going to that menu all the time is a pain.  Is there a widget or a patch to add to the notifications power bar or something?

I reinstalled CM7 on a spare HTC Desire to check the procedure:

Long press on spare space of homescreen
Select "Widgets"
Select "RenderFX widget"
Choose color (night, red, etc.)
Place Widget.

Results in a toggle switch widget:


How to get my tablet listed by adt When I run adb devices from my Windows XP machine there is nothing listed. The tablet's Vendor ID is 18D1 and the Product ID is DEED. It gets enumerated as a USB device with a name MID. When I enable "USB storage" on the tablet, I can see the tablet's files in the Windows File Explorer as drive G: and the SD card on the tablet as drive H: -- however the Computer Management shows a big yellow question mark next to a device named "MID".

I searched for a suitable driver but all I could find was a list of drivers for well known brands. My tablet is a no-name version of the Hyundai A7 Art.

I've been struggling with this for quite a few days. My purpose is to collect a logcat to document another problem that I posted here. I hope you can help me out.

Try to re-install the USB device driver for that specific tab, and try it once again.


Deleting Google Image Search History On my Android device, the Samsung Galaxy S, I frequently use Google and its search functions. Now have I noticed that I cannot seem to delete the Image Search history. When I search something using the regular search I can easily delete that search afterwards. But an earlier search in the Google Image Search does not seem to be possible..

Am I wrong? I have already tried things like deleting the search history through Google, which did not help, and deleting the history on my browser app, which also did not help.

If anyone has some helpful information it will be appreciated!

Kind Regards, Floris

EDIT: This has not been solved yet. The issue still remains. I can delete the history of the regular Google website, the Browser on my Phone and the history of the Google Widget. Yet after doing a search through the Google Widget you come to a Google page with the results, if you search again on that page then the autocomplete comes on with all my old history. Still searching a solution.

EDIT 2: This question is not relevant to me anymore. Due to some other issues I had to go back to factory settings which deleted most of my data. I cannot accept any answer as I am not able to check whether that answers works..

There are two cases:

You are logged in your google account on your device browser
You are not logged in

In case 1, go to www.google.com, scroll down and click on "settings" at the bottom. You'll get to a page which gives you the option of wiping your search history

In case 2, go to www.google.com, start typing something in the search box, you'll see in the autocomplete the option to wipe your search results.

What Matthew suggested wipes the search history of your device not on google's servers.

You have to do both if you wanna clear everything.


Enable "Install via USB" without creating MI Account I am trying to create some apps on my xiaomi smartphone (MIUI 8), but when I try to run an app, the error INSTALLATION_CANCELED_BY_USER appears. I found that the problem is that I must enable the "Install via USB" option from developer settings. When I try to do so, I get a screen that says I have to login/signup with an MI account in order to enable this option, which is something I am not willing to do. So, I have 3 questions:

Why did they make it neccessary to provide an account for enabling an option like this?
Is there any way I can bypass the MI login screen and enable the option?
The reason I don't want to connect my phone to an MI account is that I am concerned about personal data being uploaded. Is it a logical concern?

What I didn't want was to continue having an MI account connected to my device. So I just created a temporary account, enabled the "Install via USB" option and then logged out from the MI account. So, now I hope the option stays enabled :)


Multiple Touch Gestures in Android? Does Android allow for multitouch input?

I have a Samsung Galaxy Y phone with Android 2.3. On the Samsung Homescreen, when I rotate two fingers simultaneously in a clockwise direction, I get the option to add/remover spaces from the home screen.

Because of this, I assume it must be possible, but I have never come across any app for Android that makes use of it. Several iPhone apps make use of them. Why is it? What is the state of multitouch in Android?

There are many apps in play store which support multiple touch gestures.
For example you can zoom in or out in many video players like (mx player, bsplayer)
E-book readers like mantano reader uses two finger touch to scroll pages...
GestureControl app is totally based on multi-touch and gestures...


What is the difference between deleting and clearing downloads? If I select on a download I am given the option to delete or clear the selection. What is the difference? If I select clear, do it mean I still have the option to delete? If so where from?

Clearing downloads will only clear it from the list of downloads.

To delete files that have been cleared from the list, you would need to do so directly from the SD card's download folder, either with your computer or using a file manager like Astro.


Can I run apps with similar function? Recently I have installed Juice Defender and Greenify.

Unknowingly I ran both of them. The result is pretty great (battery almost stopped discharging). Battery levels stood constant for hours when my screen is off.

Is it good to run both of these apps together?

Typically it is advised not to run two apps that have overlapping management areas.

If you aren't seeing excessive activity/drain due to the two apps stepping on each others toes then it is not bad. From your take so far, it does in fact seem good in this case.

You wouldn't, for example, want two anti virus software running side by side in the same environment. That would usually be bad.


What is the difference between AOSP/vanilla and stock? Possible Duplicate:
  What's the difference between an AOSP ROM and a stock ROM?

When referring to Android ROMs or kernels (etc.), what is the difference between:

AOSP ("vanilla")
Stock

They are both Linux, but the AOSP kernel is a very standardized, general Linux kernel provided by Google that requires minimal modification to work across different devices, to make it easier for manufacturers to get Android working.

The various modifications made by manufacturers to their own kernels relate to the different hardware found in these devices. So HTC may enable some features in their stock kernel that only works on that particular HTC device and would not work on other devices by other manufacturers.

An example of such a feature is voice recording which was present in a certain version of the HTC Hero stock kernel, but this feature would not be possible on the AOSP kernel because the drivers being used for voice recording were only compatible with the HTC kernel, not with the AOSP version.

Similarly, an AOSP ROM is one built directly from Google's unmodified sources whereas a stock ROM is the manufacturer-modified version of Android that comes with a device or is released as an official update.


Cannot connect HTC One X to PC I'm having trouble connecting my HTC One X to my PC. Every time I plug it into a USB port it starts charging and my PC shows "Could not recognize USB device". I'm running Win7 x64. I installed HTC Sync manager and switched the connection option to 'HTC Sync' (also tried 'Drive Storage') and tried enabling USB debugging in developer options as well.

I also tried to connect to my notebook (also Win7 x64) and I got same error.

The issue was evidently resolved by using a different USB cord.