text:
Editing fstab to mount /data from a different partition
Is it possible to edit the fstab to mount /data, /cache etc. from a different partition on the
a.internal memory?
b.external sdcard?
Details: The default partition for /data and /cache are too small for my needs and I can manage to format the (internal) /sdcard in ext4.
Edit: My question may superficially seem to be like other questions asking for a way to increase size of /data, but it's not. Here's why:
(1) I need to do it specifically by editing fstab, which is the usual way of doing the same thing on a GNU/Linux desktop.
(2) The other questions don't ask about /cache and other partitions.

Thanks for the downvote. It'd have been better if you could point out what this question was missing.

Wasn't me, but the "Related" section of this question suggests you didn't check for existing solutions, and "downvote" stands for "doesn't show any research effort". Two clicks brought me to: Mount a folder from external sd as /data – which perfectly fits your question and answers it.

@lzzy I'm aware of the link. My question is specifically about editing the 'fstab' (which is the proper 'linux way' to do this) achieve it.

For Linux, yes. But we're talking Android here: modifiying fstab (if it exists on your device) might require modifying the boot image. While based on Linux, some aspects on Android work differently. Quoting from What's the Android equivalent of /etc/fstab?: Android has no /etc/fstab. Also check these questions/answers. // Moreover, this is an XY problem: Better try solving your issue, not stick to your "assumed solution" ;)

@lzzy I knew the 'XY problem' would be quoted ;) (been on SE for quite long.) Your previous reply itself speaks "for" the relevance of the question, because I specifically want to know if it is possible to do this by editing fstab. As you might appreciate, people from GNU/linux land might want to know why in Dalvik/Linux the usual 'edit the fstab' doesn't work.

@lzzy my android 4.2 does have an /etc/fstab :o

my android 4.2 does have an /etc/fstab – that's why I wrote "if it exists on your device". Some devices indeed have it, but even then it often is integrated with the boot image – so changes you'd apply there would be lost on boot, which somehow defeats the purpose, right? This means you'd end up creating your own boot image – which might go beyond the scope of this site, at least "border-lining" development. If you really want to enforce this, you didn't provide sufficient details in your question: Device, Android version, ROM are missing.

@lzzy I think your previous comment should make a good first-draft version of an answer to my question. Would you care to post a polished version of the same as an answer. Coming back to the issue, I think I should read up on boot image etc. to see if/how I can proceed with my Y (just for the fun of it, as it's now clear that Y is not a viable solution to X).

You could try repartition your memory. See this guide on XDA forum.

Moreover there IS an android equivalent of etc/fstab. For android version 3.2 below
/system/etc/vold.fstab For android version 3.3 above
/fstab.

Apart from which: vold.fstab IMHO usually is just for SD cards. And the other fstab isn't present on many devices (I've never seen it at any device I checked – and I really checked a lot, see e.g. How can I identify partitions of an Android device from the shell?: if there were an fstab generally available, it had turned up there). Also see What's the Android equivalent of /etc/fstab? which I've linked from my answer.

Near duplicate: https://android.stackexchange.com/q/56888/218526

As you already expected, the way your question is phrased it looks like an XY problem: There are different ways to achieve your goal (mounting /data, /cache etc. from a different partition), while your question focuses on "editing fstab".
For a working solution, see e.g. Mount a folder from external sd as /data: What's described there should work on all devices/ROMs – while "editing fstab" bears some problems:

While that's of course the way it works on Linux, we're talking Android here – which uses a Linux kernel, but a very different setup (see: What's the Android equivalent of /etc/fstab?)
An fstab file is not present on many/most Android installations (see How to list all major partitions with their labels? for details)
If an fstab file is present, it's usually part of the boot image (see initrd for details). This means, your edits to the file would be in vain: on the next boot where you'd expect them to be processed, instead the file would be overwritten from the boot image and then processed – without your changes

Verdict: Even if your device has an fstab file, you cannot simply edit it and be done. You'd have to rebuild the boot image instead – a task that goes beyond the scope of this site (which is end-user orientated, and creating/rebuilding a boot image rather is in the domain of developers). It might not be straight "off-topic", but at least border-line/gray-zone.

I don’t know how that answer can work. It creates a symlink which gets removed after boot. No ?

That comment belongs to the linked question/answer. And to shortly detail on that: It can be done via an init script that is called on boot, or via some Magisk or Xposed module. The entire thing needs root access anyway.

I am using Moto e2 android 5.0, rooted. I am facing two main problem, 1. Can’t copy /data to 2nd partition, not with uid, gid, selinux context. I am also mounting sdcard through init script. So how do I check when to create symlink, it has to be after sdcard partition gets mounted no ?


text:
OTG support in Android Smartphones
It seems that Samsung are phasing out OTG support in their latest devices, i.e. the S6 no longer has OTG support.
Is this a general trend across smartphone manufacturers? Also, I cannot see the reason for it, it makes the devices less flexible in how they can be used. Is there a downside to having an Android device support OTG that I may have missed?

if the s6 had otg support in previous/older firmware version, then it still is capable of otg support, samsung has a habit of neutralizing previously functioning aspects of hardware by omitting/disabling support at the level of the kernel. likely you can override that by correcting and compiling/installing your own custom kernel.

"OTG support in Android Smartphones
the correct term is:
USB host support
can be easily detected if supported or not, connecting usb mouse to your smartphone via OTG cable.
If mouse is powered up and red laser is on, so supported.
The other way to detect if USB host mode is supported, is to install and run
USB OTG Checker app
Some claim USB Host Mode can be hidden and to enable it you should edit xml permissions configuration file

source: Stack Exchange

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

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

sort: votes


text:
Documentation for Droid Explorer?
I can't find the simplest of information on anything for Droid Explorer. For instance, I did a backup, the backup screen disappeared, where does it put my *.ab file?
Does the Droid Explorer app have documentation?

Documentation for Droid Explorer can be found on the GitHub repository's wiki.

As the lead developer of droid explorer, I want to point out that while this is a great answer to where the documentation is, the documentation is very limited. Also, the GitHub wiki and code is not official and won't be official until I do the next release.

Disclaimer: I am the lead developer on Droid Explorer.
As corti.nico said, those are the locations to find documentation. Documentation is very sparse. I am always looking for someone to help with creating documentation.
To answer where the backup file is saved, it is put in %USERPROFILE%\Android Backups. This is not currently configurable, but I have been working on making that configured as part of the install.

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

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


text:
how can I stop the Google app from randomly opening?
Whenever I have my headphones in, especially when I'm listening to music, the voice app thing for Google will randomly open!! I can't seem to get it to stop! Please! Someones gotta help me!! Make it stop!! It's even opened twice during writing this!

Try the following.

Launch Google app
Tap Menu icon on left
Tap Settings
In Search & Now section tap Voice
Tap Hands-free
Adjust your misbehaving settings

I was also going to suggest this, this method works for me too.

doesn't work for me


text:
Find out when the app was created
Is it possible to find out when the first version of an app was issued?
Google Play only shows the date of the latest update in ADDITIONAL INFORMATION field (see picture).

Ideally, I'd like to see when all the updates were issued. Probably, that's too much.

http://android.stackexchange.com/questions/63904/android-app-initial-release-date

@eldarerathis Thanks a lot! I tried several search combinations but didn't reach this page. Should I delete my question now?

If the other question does appear to answer yours, then we can mark this one as a "duplicate", which should help to increase the overall search visibility of the answers (since people may land on this one then be linked to the other).

@eldarerathis Yes, I believe, it should be marked as duplicate. The other one provides a good variety of answers.

You can try to Google "[name of app] version history" and it'll find you a lot of .apk websites where you can find and download older versions of apps with the release dates and update logs. However, since what you ask is not an officially supported feature, you won't have the info you want with all apps (especially if they are old)


text:
Dialer app doesn't show dial button
When I tap a number in Chrome Mobile my default Dialer app opens and shows the below screen. I struggle finding out how to actually dial the number, there is no button for that at all. I've been scratching my header of this for a while now. Is it a user interface bug? Or is it me?
I'm running Android 5.1.1 + Cyanogen OS 12.1 using the Mono Tropicalgreen theme on a Oneplus One.
Screen1:
I can either create a new contact or send an SMS, but there is no 'dial' button. Pressing the back button brings me back to Chrome.

Screen2:
The options panel doesn't give me a 'dial' action either.

Screen3:
The other panel doesn't give me a 'dial' either.

It's aa problem of Theme,Change the Theme


text:
Deactivating Viber Account on my stolen device
Is there any possible way to deactivate viber account on my stolen device.? I've tried to open it on PC but it keeps on asking for the code that was sent to my stolen device.. Wondering if deactivating SIM Card will help? Thanks!

According to the Viber support page

You may re-install Viber on your new device using the old device’s
  phone number. This will reinstate the previous account on your new
  device. Please note that message and call history will not be
  restored.

I would suggest going to the closest avaible store of your service provider and getting a new SIM card with the same number and cancel the stolen one.
Hope this helps!


text:
LG G4 not restarting
My device is rooted. It was working fine for months. But suddenly it struck and now its not restarting back. It struck at LG logo. I have no idea why its happening.
Also, it is rebooting again and again to LG logo. I don't wanna factory reset as I have have too many apps installed on the device and don't even know the names of all those apps. Is there any way through ADB that I can get the list of installed apps(without restarting) and then I can hard factory reset?

I do not understand why you're asking for a solution which requires ADB. If the device can't get past the boot logo, then it means that Android OS is not in a condition to launch and run ADB daemon in the device (I even wonder whether OS itself is initialized by that time) which implies that adb devices would give you nothing. Instead, simply ask for a way to get the installed apps' name. Also, there is nothing termed hard factory reset: there is [tag:factory-reset] and separately, the [tag:hard-reset].

I did factory reset and hard reset both. The phone starts and them again its gets into bootloop @Firelord

You can view all the apps by going to My Apps in the Google Play Store, and selecting the "All" tab. Although, this will also show all apps you have ever installed.

@SarpSTA You can view it from the new phone. For instance, I can view apps I installed on my old android (cyanogenmod) tablet from my N5.

This method is much easier, as you can easily reinstall them, and you don't have to go hunting for the packages.

Some users have reported this loop which looks like a hardware problem if its persistent.
However, your best option would be to hard reset your LG G4. No one loves starting from the scratch but you often get frustrated from the phone being frozen most of the time. At this point, you have to detach your emotions and apply technical logic which will solve the problem.
If you are not sure about a hard reset just yet, you can try a soft reset that involves removing the battery and inserting it back after 1-mins.
If that fails, you really have to perform a factory reset. You can try any of the methods in this guide to hard reset your LG G4.

It's a hardware issue. Got the hardware fixed multiple times still there's a problem. Sold the device


text:
Delete dumpstate/logcat without dialer
I have a Samsung Galaxy Tab 2 10.1 P5110 wihtout SIM nor dialer app.
It's gone out of memory so I'm trying to delete the log files which I suspect can be occupying about 1 GB.
The issue is that I can't use the *#9900# method because of the lack of dialer.
My tablet is not rooted. Is there other way to delete the system logs? I can't achieve to find any.

I didn't know there was a dialer function to delete logs but I suspect you can download a dialer app from the store right? Or use a file explorer and search for files containing "log". I used ES explorer(with root access) for this.

File explorers don't work because my tablet is not rooted (the system logs are in protected space). I just tried a dialer app and it doesn't recognize the code *#9900#

Do you know the activity name which gets launched when that code is dialed? If yes, then launch that activity directly using [tag:ADB].

I don't know it and can't find on the web.


text:
How to check which data gets cached by App?
I decided to use a banking application (provided by german postbank), but ONLY to SEE my account transactions, so I do NOT want to make any new transactions, just VIEW them.
Im always logging out of my account. But still I'm wondering how safe this use-case of mine is. Imagine my phone gets stolen >> What is cached on my phone by this app?
Is it like I would have never logged in, i.e. no cached data of my downloaded transactions exist on my phone? Or is it that my transactions will get downloaded and cached in a (maybe simple unencrypted?) database on my phone and "everyone" could access it?
How could I check this myself?
Thanks in advance!

Is your device rooted? Copy the data from /data/data/de.postbank.finanzassistent to your PC and look inside its contents.

Any other option if it's not rooted?  I mean, a hacker could root it on his own and access all the data unfortunately.

Possibly an unencrypted backup through ADB might allow you to browse the data as well. You just need to find a way to open it on your PC.

What an app stores on your phone is impossible to say without going through the source codes or at least examining the app's data folder.
That being said, valuable information related to banking (balance, account ID, your personal information, log in information etc.) are stored in the servers of the bank since it is actually them who own those information. The app merely accesses them.
As for the log in part, banking apps use a method called hashing. I won't annoy you with all the details but long in short, the reason they can't give you your old password or PIN code when you forget it is that, they don't store it as well. They store its hash. They check the hash of your password to see if it matches the one in their database and you can't reverse engineer a hash to find the password. Therefore as long as you don't choose to stay logged in, no harm can come.
But if you want to delete all personal datas related to any specific app (user data or cache) you can do it like here
Or, you can tell your bank to block every action other than viewing account information on mobile banking application.


text:
Why Does ART Compile Apps After Upgrade?
I have a Google Nexus 5. Every time I do a system update, I see this message:

Android is upgrading...
  Optimizing app [x] of [y]

I understand that ART is compiling my apps. What I don't understand is why. What happened to the previous compilations?

Because the ART compiler can get better each version after your OS gets upgraded. If Android makes any improvements to ART including bug fixes, the apps will need to go through the same processes as the compile part of the installation.


text:
Google Play , YouTube and Gmail show error message “No Connection – Retry”
Some Android apps (like Google Play, Google Chrome, Gmail, and YouTube) show an error message “No Connection – Retry”.
On the other hand, apps like Facebook, Messenger, and WhatsApp perform Okay and connect correctly to the network.
In Facebook, I can play videos, make posts, and search.
In Messenger and WhatsApp, I can send messages but I can't send images.
Can anyone help me to solve this problem?

Try these:

Clear the Cache on your Android device
To fight the No Connection – Retry error message on Google Play Store app on your Android devices, try to clear the Play Store cache since this could be a reason of this error of repeatedly getting this network error message.
To do this, go to Settings > App, scroll down to All apps and finally to Google Play Store app. Open the app details and tap the Force stop button to reach to the cache clearing button namely Clear Cache.
That’s all what you needed to do to clear out the app cache. Restart your app and you might have just got rid of the No Connection – Retry error message on the Google Play Store app.
Check Date / Time settings
In case clearing the cache did not work out for you, there can be a minor glitch in your date and time settings causing the No Connection – Retry error message on Google Play Store app of your android devices. Check the time and date since a plenty of users were facing this network error message because of incorrect time settings.
Make sure to enter the correct Google / Gmail password
Another solution is to check your Google / Gmail account password. Did you change it and forget to re-enter in on your Android device? Whenever you change your password your Android device gets a notification to re-enter it. As soon as you correctly enter your new password, your Android phone or tablet would be able to get all the Google services back on the device.
Still getting the No Connection – Retry error message on Google Play Store app?
Do a factory reset!
Of course this is the very last option to go for but you would have to do it if your Google Play Store app simply refuses to connect. Before resetting your Android device never forget to back up your data since factory reset would wipe out all the data.


text:
Is it possible to roll-back/downgrade from Android 6 to 5.1.1 without loosing all data and installed applications?
I tapped "Install" on a system update notification on my Nexus 7 2013. This update is the worst thing I've ever seen since Android Lollipop came out with all of it's bugs. The home button swipe-up Google Now action is gone, notification bar rolls down from wherever you put your finger when swiping down, toasts and pop-up notifications are annoying you with permissions all the time and all animations are extremely laggy. So how do I downgrade my tablet back to 5.1.1 without loosing all my data or using a PC(my GPU is currently on RMA).

No. As far as I know, Lollipop->Marshmallow dirty flashes are problematic, to say the least. You could try your luck, however.

So, doing the reverse would be even more problematic, to say the least.

No way. Even if it were usually possible, all the permissions changes would make it even worse.


text:
What will I lose if I install Cyanogenmod?
I plan to install CyanogenMod on my Samsung Galaxy Express 2 (Sm-G3815). I have made a backup using Titanium Backup, by choosing the "Backup all user apps + system data" option.
I am not clear on what exactly will be done to my phone, what will be deleted and what left alone. Presumably, the backup I made will allow me to restore installed applications. Assuming that the ROM works as expected (and yes, I am aware that it might not) and everything goes well, will I also be able to restore

my contacts?
existing conversations from chat apps like WhatsApp, Telegram and Viber?
phone call logs?
photos?
sms messages?

Will anything still be there when I reboot into the new ROM or will I have to restore everything (except the data on the external card) from backup?
I have quite a few of my apps on the external SD card (moved there by choosing the "Move to SD card" button on the application manager). As far as I can tell, this move means that some of their data is in the external card and some on the internal storage (as reported by the application manager). Will this cause any issues when I try to restore from backup?

I realize these are multiple questions but they are all facets of the same main issue. Since this is my first post on this SE site, please let me know if the question is too broad.

Hi terdon, I saw the other question of yours and after reading the current one, I'm wondering how are you planning to flash CyanogenMod (CM) at all? You probably would get a recovery flashable ZIP for CM and I don't think Samsung's stock recovery would allow flashing anything non-Samsung.

@Firelord it does, I did and it worked :). I'm thinking of posting a self-answered Q explaining how but the main points were i) getting the CyanogenMod for my device from here and installing CWM using heimdall as described here. I've also previously installed CM on my Samsung tablet with no issues whatsoever.

The phone memory will be wiped by the Cyanogen install. Everything will be erased.
If you have a separate SD card, that should not be altered, so if you apps store data there, you may still have it after you reinstall each app on CM, or you may be able to manually copy over the old data and thus restore it.
Contacts and call logs are synced to your Google account so unless you disabled that, once you install CM and put in your account info, they should be restored.
WhatsApp, Telegram, and Viber history: Depending on the app, this may be stored in phone memory, the SD card or your account with the app's vendor. I believe for the three you mention, all keep your data tied to your account in their own server, so you should be able to recover it once you install the app on CM and put in your account.
Photos will be saved if they were on the SD card.
SMS's will likely be lost.
When I flash ROMs, I eliminate the ambiguity by just manually backing up whatever is important, and wiping the phone clean. Much simpler, and does not rely on trusting some backup app developer to get everything right.


text:
How to set default home screen on Android 4.4.4
I am using AOKP with Android 4.4.4. I figured out how to add additional home screens, but I can only add them to the right, and the default home screen (the one that I get taken to when I press the "home" button) is always the leftmost one.
In older versions I could add new home screens on both sides, so I could have the default home screen be in the middle for easy access. But I can't figure out how to set the default now. How can I resolve this issue?

Possible duplicate of Can I make my home screen the center instead of the left?

Which launcher are you using in AOKP? Even if AOKP's default one, give us the name.

@Firelord Launcher3.


text:
Photos app doesn't show any photos when Internet connectivity is limited
It seems when access to Google's servers is blocked (by a firewall for example) Photos doesn't display my photos. The photos are locally available and can be browsed with a file explorer app. I don't want all my photos stored in the cloud nor do I like the idea that Google is checking something every time I open the Photos app. Is there a workaround to disable this behavior?
Edit: The bounty auto-selected an answer but the answer does not work. This is the main "Assistant" view:

This is the device folders view:

Assuming your photos are in some standard format like jpeg?

Did you already clear app data?

@HaydenMoulds there is no clear app data option for Photos on my system (Marshmallow).

I just checked on mine and I have it. Do you have a custom rom? On vanilla android once in app info the clear data option is in the submenu option "Storage".

Even thought the photos are stored locally, when in the main view of the photos app only the thumbnails or nothing at all (if thumbs are not cached) will be shown when internet is off/blocked/limited.
The only way you can access the local copies while using the photos app is to open the menu on the left and select "Device Folders" and then go into the Camera folder (or wherever it is you are trying to access).
Click Images to enlarge

Unfortunately because the internet is limited you wont have access to the nice new features such as the advanced photo search or the nice date order layout as these are all server-based features.

I've tried the Device Folders view but the thumbnails were all grey and the pictures wouldn't show either. The only thing that worked for me was opening the photos through a 3rd party file explorer. I'll try it again though.

That is in fact the standard procedure, even if it doesn't work for the OP. So +1.

If it still isn't working, try clearing the data for photos in the android settings > apps > photos area.

You can check if the photos are locally stored or not by:
Photos → Settings → Uncheck Show your google drive photos & videos
If your photos do not show now they were never on your device. To store them on your device download them from Google Photos and also turn off Backup & Sync if you don't want it.

This setting was already unchecked.


text:
Nexus 6 no longer turns on, now that I have flashed a Marshmallow ROM + bootloader
I have a Google Nexus 6 (Telus/AT&T) and I had been successfully running the Lollipop version of Chroma for months now.
Yesterday I flashed Chroma Marshmallow ROM, and the recommended Google Apps, along with the MRA58K bootloader. Everything went well and I successfully booted into the ROM. After my apps were restored, I rebooted the phone and everything worked just fine.
This morning, I used Titanium Backup to restore my back up of Adblock. After it restored successfully, it prompted me to reboot. Then the phone shut down and I haven't been able to turn the phone on. I am not even able to get into recovery.
Not quite sure what has happened here. The phone rebooted successfully several times since the successful flash. I have had my Nexus 6 charging for quite a while now with the stock USB cable and adapter and still nothing.
When I plug my phone in to my Win10 PC via the USB cable, I get nothing (it would register before).
Is this a sign of flashing the incorrect bootloader? How can I tell what is actually wrong? Is my phone bricked?
I have checked the Chroma thread and even made an XDA post requesting assistance. But there have been no leads so far.
Edit to answer @unforgettableid questions;

When you charge your phone, does any LED light up?

No, no LED lights up. Mind you, no LEDs would light light up on a stock Nexus 6 anyhow.

When you hold down your phone's power button for ten or fifteen seconds, what happens? Does the phone vibrate (signalling that it's getting ready to boot up?) Does the screen's backlight turn on? What do you see, hear, and feel?

Absolutely nothing happens. No vibration, no back light. It is like the battery is dead, however it has been charging for well over an hour now using stock cable and adapter (plugged into AC)
[2015-11-10] Edit to answer additional @unforgettableid questions;

Please plug a battery (which is not full) into the phone.

Can the phone successfully charge the battery? Does any voltage travel between the phone and the battery?

Not sure how to plug in a battery to the phone. The battery in the Nexus6 cannot be removed.

Do you happen to own a clamp ammeter?

I do not.

Do you happen to have access to a thermal-imaging camera?

No.

Do you happen to have access to a JTAG box?

No.

Does your phone have JTAG pins? 8. How hard are they to access?

Not 100% sure, but it sounds like you shouldn't need to go that route with a Nexus 6.

Please boot up Linux. Enter lsusb. What do you see? Enter dmesg. What do you see?

lsusb output:
ubuntu@ubuntu:~$ lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 1bcf:2883 Sunplus Innovation Technology Inc.
Bus 003 Device 006: ID 13d3:3362 IMC Networks Atheros AR3012 Bluetooth 4.0 Adapter
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2001:3314 D-Link Corp.
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg output:
pastebin

you may also start a dedicated thread

XDA thread
I also tried this approach but even after installing all of the drivers, I do not get a response when the Nexus is plugged into the PC, and thus can't rescue it.

Did you check device manager for something like "Qualcomm_QHUSB" or "Qualcomm_QDLOADER" or something etcetera? You might still be able to enable a sort of UART/JTAG and recover your device.

@Tamoghna Chowdhury - still nothing shows up when I plug in the Nexus into the PC. However when I plug in my wife's working Nexus 6, I do see the device in the device manager

Please boot up Linux. You don't have to install it: you can use a live CD. Choose any Linux distribution you like. Ubuntu is a fine choice. Attach your phone to your PC. Open up xterm or any other terminal emulator. Enter lsusb. What do you see? Enter dmesg. What do you see?

If you like, you may also start a dedicated thread for your problem at http://forum.xda-developers.com/nexus-6/help and provide us with a link to it. If you post in your ROM's XDA megathread, your posts can get lost in the sea of conversation.

My mistake regarding the battery.  I mistakenly assumed that your phone's battery was removable.

Did you try in another pc ? A Windows 7 may be. Even battery may be dead


text:
Invoking in the terminal
I have downloaded Python 3 and a terminal emulator. But when I type python3 in the terminal, it says "not found".
How do I run the python interactive shell inside the terminal?

You first have to set the environment settings in your device to access the python 3.
To use, make the script executable and run from the shell:
chmod a+x standalone_python.sh
./standalone_python.sh

or, if that doesn't work (and it may not, depending on filesystem) just:
sh /sdcard/standalone_python.sh

The script at time of writing looks like this:
#! /bin/sh

export EXTERNAL_STORAGE=/mnt/storage
PYTHONPATH=/mnt/storage/com.googlecode.pythonforandroid/extras/python
PYTHONPATH=${PYTHONPATH}:/data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/lib-dynload
export PYTHONPATH
export TEMP=/mnt/storage/com.googlecode.pythonforandroid/extras/python/tmp
export PYTHON_EGG_CACHE=$TEMP
export PYTHONHOME=/data/data/com.googlecode.pythonforandroid/files/python
export LD_LIBRARY_PATH=/data/data/com.googlecode.pythonforandroid/files/python/lib
/data/data/com.googlecode.pythonforandroid/files/python/bin/python "$@"

Original Source :
https://code.google.com/p/python-for-android/wiki/RunPythonFromShell

I assume you are on Android so why you don't just download the app already optimized? There's and a fine editor too. When you install it from GooglePlay you just tap on console and you are ready.

Yeah. In fact that's the way I installed python. But where's the fun in there? :P


text:
HTC Desire Phone Storage != Physical size
On my Android HTC Desire, it says that I have 5.30 GB of phone storage, whilst my physical size is 8 GB. The 5.30 GB of phone storage seems to be composed of 4.52 GB available, 776 MB of apps, and a few other bits.
Why does the phone storage not equal the physical size? Is this because the remaining memory is taken up by operating system files which I am not allowed to access, or something else? If anyone can confirm the composition of this seemingly extra memory and post links to resources on this, that would be highly appreciated.
Note Android version 4.4.2. Model number = HTC_Desire_320

Did you even try a Google search before posting this question? If you have, please include what you have tried and why it didn't help you in the question. This prevents us from reiterating obvious answers and helps others too.

That is because your phone has several partitions, and some of those are not user-accessible, but they are required by the OS for the proper functioning of the device. This storage is "partitioned" from your physical storage. These partitions are as follows:
1) bootloader or variants thereof: About a few MB. Responsible for booting up your device. You can't normally mess with it, even with root on-device, but even if you can, you shouldn't.
2) /boot: Contains the OS core, the Linux kernel. About 10-25 MB, varies with device.
3) /recovery: The name is pretty self-explanatory. About 10-25 MB. Responsible for doing OTA updates, factory resets and saving your device when it gets into a bootloop. Most rooted users usually flash a custom recovery like CWM or TWRP before going forward with customization.
4) /system: About 1-1.5GB, varies with device. Stores system data and apps. Read-only to normal users, write-capable for root. Most root users mess with this partition on a regular basis.
5) /data: About 1GB- depending on device. On devices with unified storage, this partition holds the internal SD card too as an emulated device. It is not even read-only to normal users, but it can be written to and read with root. It holds user-installed apps, their data, and user-specific data.
6) /cache: App and data cache. From 16-256 MB. A kind of temporary storage provided to apps.
Note: A factory data reset wipes /data and /cache only.
7) radio or variants thereof: A few MB. Again, responsible for handling telephony. Don't mess with this.
8) /storage/sdcard0: On non-unified storage devices, this is the user-available storage as a separate partition. On unified storage devices, this is still there, but is a folder under /data actually, with write permissions for normal users, unlike the rest of /data.
For any more info, a Google search will help. Or you can check this out.
Also, the partition names are the ones I got from fastboot while flashing my HTC Nexus 9 (16GB,WiFi, flounder/volantis) when upgrading Android via factory images.

@Firelord, Its my HTC Nexus 9. Partition names as reported by fastboot. There is no /radio partition, its just meant to be an example. Also, partition names can differ from device to device, that has to be allowed for. Also, the OP has a HTC device, so your point is not really relevant. Also, bootoader or radio wouldn't be shown under /, but they're there anyway.

I'll edit the answer to reflect that.


text:
Black rectangle on CyanogenMod (AOSP) browser with Quick Controls enabled
I have fallen in love with a browser built in CyanogenMod 12.1, but there is a problem with a black rectangle which has shown about 3 days ago and it do not disappear after rebooting the device
I discovered that the black bar is visible when I enabled Quick Controls, but I do not want to disable it, because it is a major advantage of this browser.
My device is Motorola Moto G 2nd gen (x1072).
Screenshot

try clearing the cache and other app data.

no change, I discovered that the square is visible when I use quick search applet, but i do not want to disable it, because it is a major advantage of this browser

Here you are. Um sorry rectangle.

Seems a known issue on AOSP Issue Tracker #39811. Try some of the suggestions on recent posts, and let us know the result.

Also, I included your comment to the question, but replaced it with "Quick Controls" since I didn't find any result with "Quick Search applet". If this is a mistake, feel free to edit back.

I can't find any solution there.;((

This problem has known. You must disable all accessibility service in accessibility setting. But this is bad because the developer didn't fix this bug till now


text:
How to perform emergency call while "Android is starting..."
Sometimes when I start my phone I get this "Optimizing app" thing that takes about 10 - 20 minutes for it to finish.
During this operation phone is unusable and reset doesn't help as the operation is repeated on next boot.
I am wondering, sometimes my nexus dies because of low battery. Now imagine there was a car accident and I needed to do emergency call. I could start it up using USB charger I have in my car, but what would I do if it got stuck because of this "Optimizing" thing?
Is there any way to cancel it so that I can do an emergency call?

AFAIK, "Optimizing app" only happens after OS update. Perhaps it's also happened on factory reset (I don't know, I never do factory reset). Other than that, the OS needs to optimize the app after the change from the update. Lastly, I don't see this can be bypassed, it's like stopping Windows while it's updating, which can be considered as dangerous (data corruption). If this happens often, then I'd consider that as bigger problem than what you ask here...

Yes, it happens very often to me when system dies improperly (that happens to me often, because of poor battery condition).

There is something really wrong with your phone if you keep getting that thing randomly (it shouldn't even happen if your phone dies of poor battery). On top of that, it really shouldn't be blocking your device for 10-20 minutes too. I'd recommend you to do a factory reset (or a full system reflash) on your device.


text:
Is this the right way to use dd for a full backup?
Sadly my device (sm-g3185) isn't supported by either CWM or NANDbackup, so I am trying to do a backup manually. I found this thread which tells me to open a terminal (I'm on Arch Linux) and run:
adb forward tcp:5555 tcp:5555
adb shell
su
/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0

And then open another terminal and run:
adb forward tcp:5555 tcp:5555
cd /path/to/store/the/backup
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0.raw

I did all this and it seems to be working. However, there was a delay of a few seconds between launching the dd command in terminal1 and the nc command in terminal2.
Can I trust the backup I created in this way? Doesn't this mean that I've lost some of the output of dd? Shouldn't these be run concurrently or, at least, shouldn't the nc command be started before the dd one?

Can I trust the backup I created in this way?

Yes, of course! This is the most accurate backup method.
Data integrity can be verified by comparing the outputs of running md5sum(1) on both the /dev/block/mmcblk0 volume on your device and the mmcblk0.raw disk image on your computer.
Additionally, you can use parted(8) to list all the partitions on the backup file:
parted /path/backup/mmcblk0.raw print

There you will find your system and userdata partitions, among many others containing bootloaders, firmware and recovery images.

There was a delay of a few seconds between launching the dd command on the device and the nc on the host computer. Doesn't this mean that I've lost some of the output of dd?
Shouldn't these be run concurrently or, at least, shouldn't the nc command be started before the dd one?

Don't worry! When you run nc -l, it will listen for an inbound connection, blocking the pipe and keeping dd from sending data until you establish the connection from your computer.

Note: you don't need to run adb forward tcp:5555 tcp:5555 twice.
Warning
Most of the modern devices encrypt all your data. Make sure that you can decrypt the backup file and access your data before erasing the phone.

I let it run and after it finished, dd reported:
7818182656 bytes (7.3GB) copied, 1245.237601 seconds, 6.0MB/s

And ls -l mmcblk0.raw on my computer shows:
-rw-r--r-- 1 terdon terdon 7818182656 Nov 10 14:45 mmcblk0.raw

Since the file is the right size, presumably the backup was successful.

I am still interested in an answer that explain why that worked so I won't accept this for a while. Is there some sort of buffering going on here? How does it work exactly?

is the .raw the same as a .img?

@Alexis yes, the extension is irrelevant, I just chose .raw.

did it end up working for you?  Could you check out my question http://android.stackexchange.com/questions/129330/create-burnable-image-of-android?

@Alexis yes, it worked fine for me. At least, it created a file of the right size which is a good indication. Presumably, the dd output was buffered which is why nothing was lost. As for your question, please edit it and explain what you are trying to do.

Here's the output of busybox nc -h from the Kindle Fire HDX I'm working on:
BusyBox v1.20.2 (2013-01-21 11:34:41 CET) multi-call binary.

Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG]

Open a pipe to IP:PORT or FILE

        -e PROG Run PROG after connect
        -l      Listen mode, for inbound connects
                (use -l twice with -e for persistent server)
        -p PORT Local port
        -w SEC  Timeout for connect
        -i SEC  Delay interval for lines sent
        -f FILE Use file (ala /dev/ttyS0) instead of network

So, the entire image is received because netcat waits for the connection to be established before running busybox dd if=/dev/block/mmcblk0, that connection being established by nc 127.0.0.1 5555 in the second terminal window.


text:
Moto G System update installation
I've downloaded a system update and now i'am freak out.
I downloaded new update on my phone by going to About Phone/System update
and when it finish downloading it ask installation and I click yes. The phone power off itself and restarted in to a team win recovery project screen and it is has eight options.

install
wipe
backup
restore
mount
settings
advance
reboot

What should I do now ?
I click on install option and it asking for a zip/image file but i cannot find anywhere in my phone.

The OTA update probably expects OEM's recovery to do the flashing. Remove TWRP, flash the stock recovery, download the OTA update again and see what happens.

I try to update because the system pop up msg several time saying there is a new update but its too complicated.  I don't what to do I gave up. Anyway Thanks.


text:
Can I change how my Gmail account is displayed in the Android Gmail app?
In the Android Gmail app, when you have several email accounts configured, you can switch between these in the menu to the left. Any IMAP account you add, you can assign a name to. When you add a google account, it assigns the email address (e.g. me@gmail.com) as the name by default. I'm wondering if I can change that name to e.g. "Personal" or "School", etc.

I just tried it out and it seems like this is not possible.
However, did you know that you can use aliases for your Gmail Account? If your address is for instance "maxmuster@gmail.com", you can also use "maxmuster+school@gmail.com" or "maxmuster+work@gmail.com", and all E-mails will land in the same inbox. Then you can filter them by recipient-address, to gain order.
I can also recommend you the "INBOX" app by google, if you want your inbox to be more structured. Hope it helped you in any way.


text:
Most frequently used contact is muted but mute isn't checked, how to unmute/demute?
I mainly use my phone to contact one person. Recently the contact's texts got muted so no notification sounds. In the conversation view the little mute icon shows but in the menu the mute option is not checked/ticked.
This happened before with the same contact and I had to delete the contact and recover the conversation from a backup. It's very strange that it has happened again. I'm seeking a simpler solution if there is one.
Does anyone know how to unmute notifications (demute notifications or reactivate notifications) for a single conversation or contact that has been muted but isn't muted in the menu.
In particular I've tried:

using the menu to mute, then unmute
using the menu to mute for a set time, on the hope it would then be unmuted
set the "ringtone" for the conversation to default
set the ringtone for the conversation to a non-default

There is no problem with the contact when receiving calls, texts from all other contacts are notified (none of them show as muted).
The phone runs Android 4.4.2 as in an Acer E380. It's on Three network in UK; contacts are synced to Google manually but I've checked on the Google end and can't see any settings that are relevant. Contact is in a group but other members of the group sending texts causes notifications to sound as normal (and they're all set to the same default "ringtone").
Thanks for any suggestions.

I had the same exact problem. I pocket muted my girlfriends notifications. I found the solution however! Go to your messages with the person who has a mute symbol next to the conversation. Then look at the spot that had their name at the top left (with a phone number right under) click the drop down arrow on the right side of the name. And it will say notifications. Then click on. (: good luck. (Galaxy s6)

Same issue here for my husband's text messages; just his conversation was muted and I wasn't receiving any type of notification when he sent a message.  I must've pocket muted him :)  To fix I opened the conversation, tapped the arrow to the right of his name, and tapped notifications to turn them back on (was set to off).  Now the conversation is un-muted and I get notifications!  Thank you thank you!!

Whoop, found the answer - open "messaging", click on the conversation for the contact, hold menu button to get the menu and choose "Chat Settings" then press the "..." menu this gives an option which says "Restore default settings" which worked, removing the mute and the mute icon.

Just click on the down arrow beside the phone number and change the notification

Please elaborate. On which phone/Android version does your suggestion work? It'd be really great if you could provide a screenshot too.


text:
Bypassing Microsoft Intune Company Portal to access Exchange email and contacts?
I used to have Outlook for Android installed on my personal mobile to access my work email which runs on Office 365. I reinstalled it recently only to find that now I have to install Microsoft Intune Company Portal and make it a device administrator to proceed with logging in (I couldn't get around it by restoring from a Titanium Backup of when I had it installed before).
I think this is somewhat overkill when all the same information and more can be accessed via a web browser anyway, so I don't want to give Microsoft almost total control of my phone just to get my work email and contacts if I can avoid it.
I tried the app Nine because I heard that it could set the security policies to be at the app level instead of the device lever, but when I logged in, I still got nothing except one email telling me I had to install Intune. The same thing happened with the Gmail app and Mailwise, but on those, I could see an empty version of my folder directory.
Somehow logging in through Cloudmagic was actually seamless as far as grabbing my email, but it has no support yet for syncing contacts between Exchange and the device. I actually wanted the contacts more than the email in order to get some mobile numbers.
So, what's the best way to work around Intune? Installing it but neutering it via Xprivacy or another permissions manager? Finding another app that will do for contacts what Cloudmagic did for email? I'm less concerned about adding my calendar.

You can try these other two Xposed modules: 1. Security Bypass for Company Portal This module can bypass the Intune Company Portal. 2. Exchange Bypass For Lollipop This app can bypass the official Gmail client and Outlook app. Both of these modules are based on the Xposed framework and must be installed on a rooted device.


text:
Keyboard settings crashes at post-reset setup, can't access phone
I rooted my device and everything went fine (Kingo Root automatic app). Some time after making my first steps into the rooted device, I tried a "Reboot menu" widget, a window with options popped out and I clicked on "Bootloader" and the phone restarted (I have no custom recovery) and went to pin input then home screen and everything felt fine until I tried to search something and the keyboard didn't appear. Went in Settings, then Language and Input, and the app crashed leaving a "Settings app has stopped." message. I tried another keyboard to substitute but nothing happened (still could not access keyboard settings).
I saw after that on a forum that a guy fixed all of this by factory resetting his phone so I tried it, and now I'm supposed to be at the setup page (like the first time you boot) and as always first thing to set is Input, and as the whole keyboard settings is bugged, I constantly get a warning "Settings has stopped working" and click on OK and it reappears.
Pretty much can't access anything on my phone.
Is there a way to prevent Settings app from further crashing from within a PC connected to the phone?
Or completely resetting the phone? Data is of no concern, I just want my keyboard working again.
P.S. Have I done something to the android keyboard? (maybe deleted it by bootloading? unaware though..) Maybe I have to completely wipe and reinstall settings app? Being a newbie, how can I do all this?
Thanks in advance, any help appreciated

Please provide more details like which phone, android  version etc being relevant information. Coming to your present situation, please read up on how to remove root and restore to stock completely. Root is a powerful thing and doing anything after rooting means you should be aware of the consequences an of need be how to recover from it. This is not to discourage you from rooting but to encourage you to understand what you are doing before acting

I do not understand what could be causing the Settings app to crash (given the events here) but if after the factory reset the app is still crashing then consider flashing the ROM from scratch.

@beeshyams LG L90 D405, Android Lollipop v5.1.1, Stock LG Keyboard
So I might have to flash the ROM and reroot it? Is there a way to install a keyboard apk from the PC (I have access to both Win and Linux) directly on the device in case my whole keyboard has been corrupted?

Theoretically, I am guessing yes, not being familiar with LG. But would recommend roll back to stock as also recommend by fire lord

I flashed it back and it's working perfectly, safe backup and all. Thanks!


text:
Seagate Media to Chromecast
I'm having trouble using the Seagate Media to cast to ChromeCast. I was using this tutorial http://knowledge.seagate.com/articles/en_US/FAQ/006027en?language=tr-tr with no luck. The problem is that in the app, the cast button isn't available.
When using the YouTube App, I haven't got any problem. The phone and Seagate Personal Cloud are on the same Wireless network.
Would there be anyone knowing what I'm missing to use this feature to stream from a Seagate Personal Cloud?
Thanks in advance!


text:
Show volume indicator on notification bar (just like WiFi/battery)
I want to be able to see the volume level of my phone as a scalable icon that behaves just like WiFi and battery. If the volume is on full, it shows up completely white, empty shows up gray, etc.
Is there a default setting that I can't access (going into Volume on my phone's Settings causes Settings to crash), and is this even possible with an app?

Perhaps related: http://android.stackexchange.com/questions/33263/is-there-a-way-to-display-the-media-volume-in-the-status-bar?rq=1

By default the answer is a no.
Since changing the color of notification bar means modifying the system it can't be done by a normal application. Best you can do is an icon that can be added to the notification bar.
But there is a way if you are rooted.
Xposed Framework  is a great app that lets users modify every single action executed at system level. You can use Status Bar Volume for what you want to have.
Thanks to Izzy for finding and sharing the name and link of the module and letting me using it in my answer


text:
Samsung Galaxy S6 - Files being deleted
On my Android phones I have always used a folder with a .nomedia file in combination with QuickPic to store password protected pictures.
I've recently got a new Galaxy S6 and have continued with this. I plug my phone into my Windows 7 PC via USB, created the folder with .nomedia file in and copied my pictures over. I then go into Quickpic, choose 'Show Hidden' and my pictures show. All good.
However, coming back some time later, I go to Quickpic and do the same, and nothing shows. Plugging back into PC via USB and the folder itself is no longer present.
The first time this happened, I had had the phone about 10 days and the files had been there, but then suddenly they were not. Yesterday I readded some files and they were present - however coming back less than 24 hours later, they have gone again.
I've read some questions that sound similar, but the general case is that people have a .nomedia file by accident. I don't, and have been using this method for several years without issues. The files are literally not there any more, not showing within android file system or when attached to PC via USB.
Restarting makes no difference, but again, why would it when the files have been physically deleted.
So, what is deleting my files?


text:
Backing up data of protected apps
I am using adb to backup some applications' data from my old phone to my new one. It worked fine for all apps except the one I purchased, it took me a while to figure that out since Android and its log were not showing any errors, instead it was telling me that the backup is complete and the log says:
D/BackupManagerService( 2121): Full backup processing complete.
D/BackupManagerService( 2121): Full backup pass complete.

and the generated backup file has a size of 549B (bytes)
Note: it says "Full" but it actually for a single package.
After searching I now know that Google added some kind of protection in Android 4.1+ to prevent people from coping protected applications between phones. However, I am not interested in backing up the apk itself as I can download the app from Google Play Store, instead I want to backup the data so I can restore it in my new phone and not have to deal with setting the application again.
Is there a way to do that without needing root access to the device?
Note: the old device is Nexus 4 (5.1.1 Cyanogen + root), while the new one is Nexus 6P (6.0 stock, no root).

Why don't you use Google Sync to back up application data?

@SarpSTA: Google Sync works only for google apps. Google apps are already synced between Android phones if you use the same gmail account so I don't need to back them up. I want to backup third party applications that have no cloud sync abilities.

Developer can also prevent backup for their apps (e.g. WhatsApp returning empty data). If you're rooted, perhaps you can use Titanium Backup, but I'm not sure if there's other way for non-rooted device.

Give us the link for the app whose data wasn't backed up by ADB. I suspect the flag android:allowbackup="false" and if that's the case then forget backing up the app's data without root.

@AndrewT. I use TitaniumBackup with all my previous phones, but I am trying to see if I can live with a non-rooted phone since google added the new permission control in Android 6. Not being able to backup your own data is nonsense and Google should provide a way to solve it.

@Firelord the app I need to backup is "JuiceSSH" I also tested with "swype" (but I don't care about backing it up) and it also didn't backup. I think you are right about the flag.

I changed the title from saying "purchased apps" to "protected apps" since I found, thanks to @Firelord, the problem that prevents me from doing the backup. These apps have the flag android:allowbackup set to false and that will not only prevent backing up the application apk, but also its data and setting and will prevent you from restoring a backup if you managed to have one.
I tried doing a backup from my rooted phone using "Titanium backup", unpacked the apk using "apktool" changed the flag to true, singed the apk with my keys and restored the modified TitaniumBackup into the rooted phone, that allowed me to do the adb backup of the data. However, restoring the data to the original app on the new phone didn't work.
So the only solutions I know of are these two:

Use my modified and signed apk instead of the play store version, but that means I have to do the modification and signing whenever there is a new update of the application.
Or, root the new phone and use TitanimuBackup to restore settings.

and unfortunately it seems impossible to do it otherwise, not very convenient.


text:
Display wouldn't turn on without a restart (Galaxy Note 10.1 2014)
The device is working great until it gets locked (by single power button click). So when I lock it, it just wouldn't turn on, the buttons are working though and it seems it's still running it just showing a black screen.
Interestingly if I try to change brightness it wouldn't respond. Looks like these two related issues.
So to turn on I am having to restart the device and make sure it is awake
P.S: Device is not rooted
UPDATE
So factory reset didn't help (erase all data).

Related: Micromax A110Q shows blank screen after waking up

So in my case the device isn't rooted. Perhaps I have to hard reset it then

And I wouldn't mark this Question as duplicate as devices are different and one of them rooted while mine is not

That's why I wrote related and not possible duplicate.

Could you repair your device, the exact thing is happen to my tablet and i know waht to do, i've just made a hard reset, and the same thing. Thanks you in advance.

https://www.youtube.com/watch?v=9zrNNczfLZ0 try this note; the connetor have 2 sides


text:
How to make marshmallow obey `ro.secure=0`
I'm using a Nexus 5X with release 6.0.0 (MDB08M).  I unlocked the bootloader with fastboot oem unlock, then created a boot image with a /default.prop file containing ro.secure=0.  This appears to work, in that when I boot my device, I get:
shell@bullhead:/ $ getprop ro.secure
0

Unfortunately, though adb root seems to succeed and reports:
restarting adbd as root

It does not get me a root shell.  ps confirms adbd is still running as the shell user.  My question is how to make adbd obey ro.secure, or whether there is some other easy way to get root by modifying /default.prop or changing the kernel command-line arguments.  I know there are third-party tools such as SuperSU, but I'm hoping to get a root shell without loading any third-party software on my phone.
To reproduce what I did, you can grab boot.img out of the Nexus factory image (unzipping image-bullhead-mdb08m.zip).  Unpack the boot image using split_bootimg_pl.  Unpack and repack boot.img-ramdisk.gz (I packed it using find . | bsdcpio -R 0:0 -H newc -o |gzip -9 > ../newramfs.gz).  Create a new-boot.img using mkbootimg as follows:
mkbootimg -o new-boot.img --pagesize 4096 --base 0 --kernel_offset 0x8000 --ramdisk_offset 0x2000000 --tags_offset 0x1e00000 --kernel boot.img-kernel --ramdisk boot.img-ramdisk.gz --cmdline "console=ttyHSL0,115200,n8 androidboot.hardware=bullhead boot_cpus=0-5 lpm_levels.sleep_disabled=1 msm_poweroff.download_mode=0"

And finally of course flash new-boot.img with fastboot flash boot new-boot.img.


text:
Feasibility of flashing a ROM (meant for original device) on a re-branded device
I have a re-branded smartphone with Android 5.0. The thing is I want to install a custom ROM to remove all the bloatware and get more control. But, as it is re-branded   and not that popular there are not any custom ROMs available for it.
What I'm thinking is that since its hardware is not that old and there are many popular smartphones with exactly the same specifications, is it possible to install a custom ROM that was not built for my smartphone but was built for one which has exactly similar specifications?
Note: I can post the specifications, if required.

Related: Can I install a ROM made for a different device? / Is flashing a ROM made for a very similar model to mine possible?

If all the specifications match, including chip level and GPU Mali blobs, it sounds a reasonable try, though I never owned a re-branded device.
After taking complete backup including EFS and double checking, I would suggest first flash the kernel from the proposed ROM to replace the existing kernel. If it boots properly and basic functionality of phone is fine, then you can flash the complete ROM. This way you are ruling out kernel compatibility issues.

Okay first of all let me help you with some information.
ROM means the Operating System. The visual interfaces of the ROMs for same version of Android can differ between brands but the codes the OS can execute are the same. Therefore, what determines if the ROM can act as intended that differs from brand to brand (or from model to model of a specific brand) is the kernel.
Android ROMs are not made to suit the hardwares. That'd take too much time to do it for every single phone models. Instead, the connection between ROM(software) and phone(hardware) is provided by the middle-man(kernel)
Now to actual answer: So as you can see if you read what I wrote is that the key player is kernel. If the kernel matches your phone then it is good news. My suggestion would be to back up your phone entirely first before doing anything. You can try to find a kernel that will do the trick with the ROM you want. Or you can just partially flash the kernel of the ROM first and use it with your recent ROM for a while to test out how it suits. If you can disclose the name of your phone I can look into it personally.

Well, from your answer it seems that all I have to do is find a custom ROM that matches my existing kernel. But, that seems to easy is there nothing else that has to match?

Well it'll be harder than it sounds if your phone is not very broad.

It'll be equal to try to find a ROM compatible with your device already. If the ROM's kernel is compatible with your phone, so will be the ROM itself since those two are already compatible. Re-branded phones are pretty much of a problematic case. Their hardware components (like chips or camera) and drivers are different than their non re-branded, original counterparts. The other answer by the user beeshyams points that out as well. Therefore kernels made for the originals might not (and probably will not) work with the re-branded ones. ROM, phone and kernel all must be compatible.

Is it safe to use phone while charging with portable powerbank?


text:
S6 EDGE Android USB drivers
I'm trying for two days to find a solution for this problem. None of my researches have been successful. I tried Intel Android drivers, uninstalled from SDK Manager and re-installed Google USB drivers, changed MTP to media option, used stay awake screen option, and tried to manually install drivers. The OEM drivers that the Google page links to for Lenovo are broken. It's also in Chinese. Even when using Translate, there is no download. I changed the fast charge cable with a standard one and the connect/disconnect cycle stopped suddenly. But Android Studio still doesn't recognize my phone.
It's unexplainable for me that how there is no fix for this issue. Since there are millions of apps on the Play Store. Google needs to fix a lot. Most information even on their pages are outdated and have spelling errors. I'm sick and tired. İ own a Lenovo G50-70 with windows 10 x64.
It shows two entries: One MTP S6 Edge and one Android unrecognized device

Capitalize your text please. It's hard to read.

You mention Lenovo drivers, why? Did you try Samsung's drivers?

Couldn't find any driver. Oh and i should mention that i have a Lenovo with W10 64 bit.


text:
My phone's camera app doesn't work
When I'm trying to take photos, I get the error:
The application Camera (process com.android.camera) has stopped unexpectedly. Please try again.
My phone is a Verzo Kinzo with Android version 2.2.
Factory reset didn't solve it.
What else should I do?

Did you try a third party camera app? What's the result?

Can be both hardware or software issue. As Firelord suggested you should try to use a third party camera app. That can make us see if the problem is about the stock Camera app or not.

This can occur when you have insufficient storage available.
If you camera saves pictures to the SD card and your SD card is full (or does not have enough space for a new picture) it can crash.
A factory reset does not affect external storage.
Check where your camera stores it's pictures and if there is room left for pictures.


text:
Uploading MP3 audio books to new android.
Have audio books in MP3. Want to upload them to my new android. What software do I need on each device (PC & Android)?

None. Just connect your phone to your computer with USB and make sure the phone is set to MTP mode. You can do it from there.
If you want to do it OTA I can personally suggest Web PC Suite application


text:
Can't save my photos from bricked phone
My unrooted phone is stuck on Samsung logo. I have TWRP. I backup now and restore but it still does the same. I have photos in the phone. How can I save them?

Boot into TWRP, mount the /data or external SD card if the photos are there, then pull them using MTP or ADB.

@Firelord how do I sir?

No need to be so formal, Jeremy. You need to find a way to setup ADB in PC and make [tag:ADB] detect the device. Start from Is there a minimal installation of ADB? Then boot the device into TWRP, connect it into PC, launch a shell on PC and do adb pull. Search the web and you would know the complete idea. Otherwise, see if device is getting detected as a portable media player or something when booted into TWRP.

Samsung phones don't come with TWRP , they have a stock recovery.To install TWRP, you need to be rooted. Unless the phone was previously rooted and root removed now? Please check the root status using apps on play store..search for root checker

@beeshyams Are you sure about the To install TWRP, you need to be rooted. part? Because I as far as I know root is not needed to flash a custom recovery?

@SarpSTA.  You are right, it is not mandatory . Should have said probably, since one doesn't normally flash TWRP, except to flash ROM, on Samsung for fear of tripping Knox and of course losing updates. Technically, you are correct and thanks for that, but my gut feeling is that it is rooted, and definitely not right to express it as a sure thing

If you still have access to your recovery it means you are not bricked. Far as I understand from what your say is that it is a bootloop. I don't know what caused it but if you want to save your photos there are multiple ways of doing it. I will suggest adb (as I was typing this, so did Firelord) Having access to TWRP means you can use adb. Use adb pull to pull DCIM folder in sdcard to have photos your camera took and other folders you need.

how will I fix my phone after this sir?

@JeremyC Depends. That's too long to answer in comments. Try asking another question.

i was rooted but i did factory reset

@beeshyams was right obviously then. You are still rooted since factory reset doesn't unroot your phone.


text:
Download files of devices that connected into my WiFi Hotspot
Is it possible to download or watch the directories of the devices that connected into my WiFi hotspot ? or  Is there any way to collect personal data from the connected devices ? . Please NOTE THAT I'VE A ROOTED ANDROID DEVICE WITH VERSION 4.1.2. I am just curious about the possibilities. Just to know.

Basically it is possible to control/watch over every data transferred by just analyzing the traffic. To do so you could use something like Wireshark, but then a lot of Internet traffic today is encrypted, which would make it impossible to gain anything from it.
To access the data of connected devices would require certain other tools and would very likely be considered as hacking and illegal.

"To access the data of connected devices would require certain other tools" - you would need to exploit a security vulnerability to do this.


text:
Adding a file to a text message
Have a Samsung galaxy 5 and I am trying to add a .pdf to a text message.
Have tried the drop box but it wouldn't let me attach the file
thanks,
dana

With SMS (Short Message Service) you can only send text. The only way to share your pdf through this service is by pasting the Dropbox (or Google Drive or another cloud service) link where is stored your file.
Otherwise you can always send an email :)

I haven't found a way to directly send anything other than an image or audio file through text message. The best thing to do would be to paste the public download link to the Dropbox file into the text message.


text:
Can i install android wear on any smartwatch?
I just got this smartwatch that is a copy of samsung wear and my question is if i can just format it and install normal android wear.
problem is i dont have any documentation on it and i can barely find any information about the model online.

No. An OEM needs to customize android wear to suit its devices. No one is likely to make such a great effort for a cloned smartwatch so basically, you have to live with what you have...


text:
How to play multiple files on multiple Androids?
I have three Android devices and I have three tracks: a bass track, a drum track and a vocals track.
What I want is to play each track on each device simultaneously, like, one Android plays the drum track, the second Android plays the bass track and the third Android plays the vocals track, all of them simultaneously.
I can also use a Windows PC to stream or remote control the devices.
I've used many apps like AirFoil or SoundWire, but I can only play one track at the time.
Is there a way to achieve this?

Maybe a batch file with a few adb commands will do the trick. Unfortunately I do not know the commands for opening a sound file on a phone (and properly syncing them as well).

Have the tracks loaded in the device. Then use a music player in each of the device, load a particular song (it would start playing) and reset the song progress to beginning. When you're done doing this in all of your devices,  (as GiantTree noted) dispatch (for Android 4.4 or above) adb shell media dispatch play for all the devices. They would start playing the song. Alternatively, for other Android versions, find the music player's activity responsible for playing the song and pass the data (the song file) into them using adb shell am start.

Another thing you can do is make [tag:Tasker] or an other competent app to play the files at a particular time in the devices.  Have the devices synchronize their time setting with a global time server for better synchronization.


text:
How do I disable the google voice typing/voice search 'ding' sound?
Whenever I open google voice typing, it plays a rising ding sound, then a falling ding sound when it stops.
This is very annoying to me. I have a rooted stock S5 on Lollipop. I searched for the sound file but couldn't locate it, it may be wrapped up in the apk file.
Is there a way to stop this irritating sound? If I install the Xposed Framework, will that help?
Edit: Someone has suggested turning the media volume down to zero. This will work, but is not appropriate for me, as I am using the language learning app duolingo while I am using voice typing. So I need the app to send out audio via the media channel, simultaneously with using voice typing. Coming at it from another angle, I have asked if there is an alternative application which meets my requirements.
edit
Using app settings 1.15, you can mute voice typing by muting the Google app in Marshmallow (and maybe above). However, voice typing now mutes other audio ( regardless of its configuration on app settings) so I asked a question about it here
How do I stop voice typing from muting/pausing other playing media?

Can you try silencing media volume for your device when you are voice typing? That should stop the sound, but not without side effects.

This can also be automated using Tasker or MacroDroid, or similar apps. On a side note, maybe Google Voice Typing has some relevant settings?

good point about media volume, but not an option for me unfortunately, see edit. Google Voice typing, as I said, doesn't have an option to disable this sound.

I found the audio file in the apk under res > raw and it is called open_mp3.mp3 if you still want to attempt that method.

That sounds perfect! But where is that folder? Can't see it in the explorer. I have root explorer

@HaydenMoulds Wouldn't that cause Google Play to not update that app whenever Google ships an update to it in Play Store?

It could yes. It is not in a folder, it is in the apk. If you use an app such as APKEditor or similar you will be able to see the files in the apk, and the internal folder structure. In that structure the sound file is there. But like Firelord pointed out this could cause a multitude of issues that come with editing APKs. Just pointing out that it is there and that is what it's called.

I have a solution  that will shut up all sounds coming from Google search (any sound from Google search app will not play like the talk back on Google now and stuff other apps can still make sound only Google search will shut up ) if that suits you I will post an answer

Yes, definitely!

Saw your pending edit; there seems to be higher versions of App Settings (I've personally used 1.15 on Nougat), though I'm not sure if those would work in terms of the specific feature you're looking for.

That works, thanks. Missed it as not in the official channel. I have another problem though: voice typing seems to pause playback of all other audio... Not what i want, and not sure how to solve it. I'll maybe post a question later.

Here we go https://android.stackexchange.com/questions/193881/how-do-i-stop-voice-typing-from-muting-pausing-other-playing-media

Btw you can go ahead and reject the edit. I don't think the new problem has to do with App Settings

I'm struggling with the same problem 6 years later - any updates? Especially ones that don't require a rooted phone? (Or should I just start a new question?)

Perhaps better to ask a new question at this point, workarounds often stop working when upgrades happen.

I have a solution that may be useful ,if not for the OP I hope it will be useful as a reference for shutting the volume of a particular application OFF.
This method will mute all sounds coming from Google App but will not affect the other apps. It works on 4.1 up to Lollipop, but the questioner found that the App Settings Xposed module doesn't work on Marshmallow.
Requirements :

Root access
Xposed installer Lollipop/Marshmallow / kitkat and older / Stock lollipop Samsung Only  (!)
App settings xposed Module get it from here (install apk on phone )

Method :

make sure app settings is activated in xposed installer under "modules" reboot after activating for the first time.
now open App settings and type Google in the search field.
You will see in the list the Google App click on it.
on the Activity Bar you will see a toggle button toggle it ON.
A view with lots of settings will show up ,look at the bottom of the screen just above the permission  button there is a check box that say "Mute audio" check it.
now click on the save button in the right side of the activity bar and confirm the pop-up message.
Now open the voice typing and enjoy the full silence :)

(!) For Samsung devices under Lollipop Follow carefully the thread you must have a deodexed Rom.

Will give this one a whack as it targets the problems precisely. Unfortunately xposed don't work on stock lollipop touchwiz. I will install it at some point as I need it for other stuff. Sadly that means installing a whole new Rom and losing all my apps :/

@Ne Mo is your touchwiz rom deodexed ? If so xposed exists for your rom

No, it's not sadly. And if I understand correctly that means I'll need to install a new Rom if I want xposed

@NeMo yes you gonna have to install a new deodexed rom ,you can deodex and keep your apps if you deodex the same Rom that you are running now

At the moment I've got 5.0, are you saying if I install any 5.0 tw deodexed rom, I'll keep the apps?

No ,I am saying that you can backup the system partition via TWRP ,extract it ,deodex the apps ,flash it back and you can keep every thing since it's the same Rom that way you can limit the chances of any unexpected behavior

I got round to installing xposed, and this works beautifully, thank you!

Automation is my solution.
There are plenty of automation apps, but I use MacroDroid, since it is easy to learn (that's why I use it) and the behaviour can be easily customized to get the result you want. Besides,free version allows you to create up to 5 macros and so for the task at hand, free version suffices. I prefer automation as a first choice when I need to get something running the way I want rather than depend on an app.
MacroDroid uses macros to perform desired actions.
Macro for your requirement would look like this:
(I am thankful to OP for testing o on his Lollipop based device and confirming behaviour as expected, since my device runs on KitKat and Google has implemented API level changes differently in Lollipop)
Main Macro (working as tested by OP)
Trigger
Application Launched → Google
Action
Volume Change → Configure
Here you get 7 options which can be chosen singly or in combination on a sliding scale from 0 to 100. Options are-
 1. Alarm
 2. Music
 3. Notifications
 4. Ringer
 5. System Sounds
 6. Voice Call
 7. Bluetooth Voice
Choose ((2) Music and (5) System Sounds) and set them to 0 for Lollipop
Choose ((3) Notifications and (5) System Sounds) and set them to 0 for KitKat
( Reason for different selection is explained in Note below)
You can set the (6) Voice call level as desired ( select by testing  voice
typing comfort level)
Constraints
None
(Macro runs only when constraint is true, so here it runs always)
Save the macro and ensure it is enabled   before testing
Optional Macro (Awaiting OP to test)
(In case you need to change volume manually for voice typing, the "ding sound reappears, as reported by OP. This macro is to kill the "ding sound". This macro is not required if you are fine with the voice control level in the main macro and do not need to manually change voice typing volume)
Trigger
Volume Button Pressed → Volume Up  →  Update Volume
(Followed by)
Volume Button Pressed → Volume Down  →  Update Volume
Action and Constraints
Same as in the main macro
( Triggers work as logical OR and the action for muting the "ding sound" is triggered whenever the volume is manually increased or decreased for voice typing )
Why this should work for everybody

My search hasn't shown an app or Xposed module that can do this ( not denying the possibility, though)

This macro doesn't require root unlike Xposed approach.

Granular control on different Volume settings. MacroDroid permits you to alter sounds, with a flexibility that is beyond what normally is available in ringer / volume sound control as this example illustrates. My Huawei Honor 6 has only 6 types of volume settings (which is more than some devices offer) but not Bluetooth, which can be controlled through a macro

Customization. You can set "modes", which are like global variables akin to setting profiles. As an example, you can set this macro to run while at home (by mapping cell towers of your home location) and have the "ding" sound active elsewhere. Possibilities for customization are pretty much as you wish

Last but not least, it is free :-)

System Settings

Do not Greenify MacroDroid and exclude it from task killers, if you use them.

Enable MacroDroid in "Auto Protect"(Huawei phones) or "Stamina Mode" (Sony phones or "Power Nap" (Stamina Mode Xposed module for non Sony devices). Also, if you update to Marshmallow in the future, exclude MacroDroid from Doze. Refer this: Is there a way to exclude an app from Doze?

These features prevent app(s) to be active when the device is not awake, conserving battery. May not be pertinent to your phone but adding this as a general precaution.

Enable MacroDroid in accessibility settings and also allow it as device administrator in security settings.

For Lollipop, enable notification access from notification settings

Note
Google Voice Recognition functionality that creates the "ding" sound  was streamed as notification stream  in KitKat. In Lollipop this is switched to music  stream. Hence, in the macro, settings differ.
Source: https://stackoverflow.com/questions/21701432/continues-speech-recognition-beep-sound-after-google-search-update

+1 for being thorough with this. I might have come up with a Tasker solution, but since yours does the job admirably, probably it isn't necessary anymore.

Your logic was impeccable, but... it plum ain't workin'. See edit

Still doesn't work quite right. It works the first time, but then when I manually increase the volume again and press voice typing, the sound is back. Even if you hide the keyboard then bring it back again. Very odd. Does that happen for you? I expect the google process is still running in the background. Also it is definitely the music/ media slider which controls the ding

@NeMo. Out of curiosity, did this solution finally work or not?  Not relating it to bounty

I felt bad about not awarding it to you, but I preferred his solution as it did not entail muting the media volume for all apps.

@NeMo. That's fine and am perfectly fine that. What I need to know from a learning point, is does the solution work or not

I didn't get around to changing the macro on volume button press. I'll get around to it and let you know

Thanks and  just as FYI, " not muting audio for all apps", was a concern I anticipated and was asked in the earlier solution (current solution was competent revised to give it a final look ) ads can be achieved by simply adding the app as constraint

Located earlier reply which had this" From your description of the requirements, it appears that more tweaking may be required in terms of when you want this macro to run, for instance do you want this macro to be always run or in conjunction with some app(s) only? ...". There was no revert on this aspect and I naturally assumed that this is not a concern for you. Just setting record.straight. in constraint add application running> running in foreground>[app name from list] and macro only triggers when this is app running


text:
Does rooting phone wipe your data if the bootloader is unlocked?
A few months ago I reset my phone because it had began to break and get really laggy. I want to re-root it now, I was just wondering if it would reset my data if the bootloader is already unlocked?

Factory reset shouldn't unroot your phone.

No. A factory reset won't unroot your phone as a reset only affects the /data and /cache partitions, and root resides on the /system partition.

I'm not familiar with the G2 specifically, but in general, no, rooting a device on its own should not wipe data. Rooting your phone is the process of getting the su binary installed and available to access root privileges. That said, @SarpSTA is right in stating that a factory reset shouldn't unroot your phone. The su binary is placed in the system partition, which is left intact on wipe. If a wipe touched /system, your phone would be bricked and unusable, requiring a low-level flash to recover. What you may be missing is an app, such as SuperSU, to control access to root.

You re-flashed your phone or just done "Factory Reset"?I think that it would not wipe your data if you root your phone in case that you re-flashed it, but if you just have done" Factory Reset " it have to be already rooted.

Clarification is required here.


text:
My screen got colorless and internet doesn't work properly
All is explained in the title. I'm an Android noobie using Samsung S5 and this problem is at hand for around an hour. Should I factory reset?

You activated Ultra power saving mode. Turn it off to fix the issue.


text:
"adb devices" gives "no permission" when on charge-only
I've just updated my LG Optimus 4X HD from the latest stock ROM (4.1) to CM11 (Android 4.4). Access via ADB is only possible when either MTP or PTP are enabled; if I disable both, I only get:
$ adb devices
List of devices attached
????????????    no permissions

I wouldn't really bother – but with PTP enabled, I always get a popup asking me to mount the "new device"; with MTP, additionally an error message for not being able to access the camera. This is pretty annoying: I never had it with this device before the upgrade, and I never experienced this with any other of my devices.
The "USB Connection" settings page only offers two checkboxes: MTP and PTP, the "Charge only" item is missing (and should obviously be reflected by unticking both MTP and PTP). Computer runs on Linux, in case it's relevant (and has no MTP software installed as I don't need it).
Is there any way to get rid of those annoying popups and still have ADB working? I'm fine with something to be executed via ADB, like adb shell setprop <whatever> and, if proven stable, to integrate with built.prop.

This may work out, provided that one has root access: have the device connected into PC both in USB debugging and MTP mode,  go to /data/property/persist.sys.usb.config, remove everything inside the file except adb, disconnect USB cable , do a full reboot, connect USB cable and see if  you succeeded.

@Firelord Great idea, thanks – but didn't work out. Same result as if I'd disabled MTP and PTP via the UI: insufficient permissions for device on adb shell resp. ????????????    no permissions as stated in my question :( Was worth a try, though – and as advertized, easily reverted via Settings › Storage

Thanks to the pointer provided by Firelord, I was able to solve the issue. The solution might look weird, but works perfectly:
As root, edit /data/property/persist.sys.usb.config. The only line in that file should read:
mass_storage,adb

We all know there is no usb-mass-storage anymore with Kitkat (except maybe rare exceptions). Well, maybe that's the reason nothing "pops up" anymore, offering to mount some resource :)
To revert from this, either:

open the notification area while connected via USB, find the "connected as …" notification, and tap it
or: go to Settings › Storage, tap the "overflow menu button" (the "3 stapled dots"), and tap the (only) entry which reads like "USB connection"

Then select either MTP or PTP, and there you are.
References:

This is the content of /data/property/persist.sys.usb.config on one of my tablets running Android 4.1 (stock)
This setting is mentioned in this answer, saying if you want to eanble ADB, you can setprop persist.sys.usb.config=mass_storage,adb

Postscriptum
Thanks to the context, one could set up some "toggle" using tasker, executing either setprop persist.sys.usb.config=mass_storage,adb (to "get rid of the popups"), setprop persist.sys.usb.config=ptp,adb (to have it back in PTP mode), or setprop persist.sys.usb.config=mtp,adb to re-enable MTP for data transfer. I don't need any of this, as I use adbfs to access my files ;)


text:
Is it safe to use this app and will it cause problems in 6.0?
Classic Dialpad  for KitKat and Lollipop
Just wanted to check if there's any reason not to use this, here's what the permissions looks like.
Click image to enlarge

I'm assuming its just a shortcut to the dialer with the keypad active, but it doesn't hurt to check.

According to the screenshot, the app is not requesting any special permissions.
If your phone is not rooted I'd say: Its safe.

Is there a way to know if its safe while rooted? I extracted the apk using apktool, but I'm not sure what does what.
EDIT: actually, I'd get a SU request if it tried to do anything wouldn't I

Yes. SuperSU should pop up with a su request.


text:
Root Samsung Galaxy Core i8262 manually
I tried almost every readymade app like Framaroot, Root Genius, etc. to root my Samsung Galaxy Core i8262 , but I didn't succeed.
I want to root it manually but did not have Linux laptop. I have a Windows 8 laptop. How to root it with that?

I read about " how to root android manually" but it has a portion where it need Linux to root it ... is there any way to root it with windows?

While I cannot answer your question, I can give a quick hint: you might wish to check with our rooting tag-wiki and rooting index for available generic methods. Good luck!

I already used many applications to root my phone but it didn't work.

I want to root it manually.

Before rooting your Galaxy Core GT-i8262, you need to know that CWM have bug to get caught in bootloop. But don't worry about that if your phone get caught in this situation. Here is solution  for all problems during rooting of your phone. So, here I prefer TWRP (Team Win Recovery Project) over CWM , which has no such problems.
Here, you need to flash a custom recovery before because, after rooting if you you reboot then your root access vanishes. It happens as stock recovery sets them back. It was happening with me. Such a waste of time in rooting your phone again. Then, I got this process for permanent root access.

Before you continue to the tutorial, you please prepare the following files:

Make sure your computer has installed SAMSUNG USB Driver and Odin307. If not, please download.
Download file TWRP Recovery, and save it on your computer.
Download flashable SuperSu zip file.

Steps to follow:
Step 1: Download both the above files in a specific folder on your computer. The Odin that you’ve just downloaded is an essential tool & is must for installing TWRP recovery on any Android device. We remind our users that this tool is an illegal way & is not officially released by Samsung. Even though it will not cause any damage to your device unless you follow the instructions properly.
Step 2: Enable mode USB Debugging on your android by going to the settings, click on the phone, click on the version 7x formation, then you will receive Developer options.
Step 3: Power off your Galaxy core completely. You need to boot your mobile into downloading mode now.
Step 4: For Galaxy core, downloading mode can be entered by pressing & holding Home button + Volume Down key + Power button simultaneously until you see a warning message.
Step 5: Leave all the three buttons as soon as it appears. And just press the Volume up button to land into downloading mode.
Step 6: Now you need to flash the TWRP recovery on your device. For that keeping the device in download mode, connect it to computer using the USB cable.
Step 7: Launch the Odin Multi Downloader v3.07 that you’ve downloaded earlier. If your device is connected properly, then you’ll see that an Added message has been appeared on the Odin window. Along with that you’ll see the ID:COM section has turned blue with a random com port number below it. If this doesn’t happen, then ensure that proper device drivers are installed on your computer. You can install them from the link mentioned above.

Step 8: Make sure that the Auto-Reboot and F.Reset Time options present on the Odin window are checked. Do not tick or untick anything else.

Step 9: On the Odin window, click on the PDA tab and browse to the twrp2.7_arubaslim.ODIN.tar recovery file which you have downloaded earlier & select it.

Step 10: After completing everything as mentioned above, simply press the Start button located on the Odin window to execute the TWRP flashing process. Your phone will automatically reboot itself while going through the process. It is recommended not to touch or remove the USB cable until the process completes.

Step 11: Be patient until the TWRP flashing process completes. It will hardly take 2 minutes to complete. As soon as it completes, you’ll see the ID:COM section on the Odin window is turned green with the message Pass below it. Now you can safely remove the USB cable.

Note: Unfortunately due to some reason phone if the process fails or if Odin gets stuck or in case your device gets boot loops, then don’t panic. Just close the Odin window, remove and re-insert the battery from your device. Again go into downloading mode and repeat the whole procedure as given above.
Step 12: As all the flashing processes are completed now, let’s see whether the TWRP recovery is properly installed or not. For that, firstly switch off your Galaxy Core.
Step 13: Now boot into recovery mode. For Galaxy Core, recovery mode can be entered by pressing & holding Volume Up key + Home button (Middle button) + Power button simultaneously until you land into recovery mode. You’ll notice that TWRP Custom recovery is properly installed on your device.
Step 13: Now select ‘Wipe data/factory reset’ option followed by ‘Wipe Cache partition’ option for wiping out the data & caches present onto your phone memory. You can now reboot your phone by selecting ‘reboot system now’ option from the recovery mode itself.
Step 14: Now, copy SuperSu zip to your sdcard and put it in your phone.
Step 15: Open recovery mode again as stated above. Click Install, then choose your SuperSu zip file and flash it.
Step 16: Reboot to system and search for SuperSu app. If you have it, then you have full root access.

Don't forget to enjoy it by utilising ROOT access.

Disclaimer: To build this answer I used my experience ( Yup! I have same device ) and two main sources as follows: first and second.


text:
Instagram Post Notification Cache Location
Instagram has a "post notification" feature which notifies users on a specific user's new posts. These notifications show the image preview in expanded notification view in notification panel.
The problem I come across is when I click the notification, sometimes I see that the image was removed from the user's profile. However, I was still able to see the preview in the notification panel.
Where are these preview images stored in android system? How can I copy them in order to see?


text:
Zoom in and zoom out in Bluestack without keyboard
The way to zoom in and zoom out in bluestack is to press Ctrl+Mouse wheel.
Without pressing Ctrl, mouse wheel will only scroll up and down, something that can already be done in Clash of Clan by click-and-drag.
I want to change the way Bluestack behaves so that scroll up and down means zoom in and out, no need to use the keyboard at all.
Is it possible to do that?


text:
Reverse Tethering over USB with non rooted Android 5.1 Phone and Linux PC
I have a PC running Slackware Linux and a non rooted Motorola Moto-G with Android 5.1.
Following this guide I should be able to share PC internet connection with my phone. But when I finally launch last command from PC as root:
# adb shell netcfg usb0 dhcp

It says that operation is not permitted, I think due to lack of privileges:
action 'dhcp' failed (Permission denied)

I think may be the phone has to be rooted.
I saw some question like this but related to older Android versions, so I ask you a confirm:
Is there any way to share PC internet connection with my Moto-G over USB without root permissions on the phone?

As for the guide you mentioned, it clearly states you need a Rooted android. Related Stack exchange post

Does any one know if exsists an other way for USB reverse thetering without rooted phone?

Sorry for this late response, but as it seems you have not found a solution yet, I though I'd chime in:
I was also looking for a reverse tethering solution for unrooted devices, but could not find any. Eventually, I started to develop my own solution. The result is an app that works on devices running Android 4.0 or higher on client side, and all major desktop OSs on the host side.
The app is available on Google Play: ReverseTethering NoRoot


text:
samsung galaxy S6 Sim Network unlock pin
I Have bought a Samsung galaxy s6 model from Saudi Arabia and inserted saudi STC sim and i just made a call and brought it to India.I tried with inserting Indian SIM and it asked me for the "Sim Network Unlock Pin". My few friends say saudi sim should be used minimum 5 minutes of call but i did only 1 min. I also Have a Saudi Arabian Sim which is currently in roaming. Can I insert that particular SIM and make calls from India and get it removed. Kindly help everyone . Please...


text:
I have enough memory but I can't install anything!
When I try to install an app that is 13 mb it is downloaded but when the part of the installation comes it can't be installed it says I don't have enough space. I tried downloading the apk file of that application and still I downloaded it successfuly and I couldn't install it because it said i don't have enough memory even if I have 250mb. I am using Lg L Fino and It is rooted. Please help if you know how. I appreciate all of your answers and I will give you more infromations if needed. Thanks in advance!

Next to the "marked duplicate", our insufficient-memory tag-wiki is a good starter to learn about the issue.

It has happened on my past phone, (LG L70).
As my experience, If you want to install new app directly from Play Store, make sure you have at least 400 MB internal storage free space

I tried with the apk files too