text:
How to restore files on SD card protected by NQ vault?
I changed my Android mobile phone from one carrier to another. I installed Vault app from the Google Play store, and placed the old SD Card from the previous phone into this new phone. After installing the vault software in the new phone, I am unable to restore data (photos, videos) from old SD card.
My old phone isn't in working condition so how do I restore these files?

There is a related post here which indicates that vault app is phone specific How to restore files on SD Card that was protected by Vault app? which indicates it is not possible, more so since your old device isn't working
Even for premium vault members it appears to be the same (need to use old phone)
https://help.nq.com/entries/24327737-I-just-got-a-new-phone-how-can-I-transfer-my-Premium-Vault-service-to-the-new-device-
But both these are time lined 2013 so it's best to reach out to nq vault help and post your outcome here for benefit of others
Edit
Short answer : NO, unless you are a premium subscriber and made a cloud backup
Long Answer : I mailed NQ, since I had the app on my previous cell and
was debating to go premium. Their reply, you can quote  request (#239838) to follow up

Carrie (NQ Mobile US, Inc.)
  Dec 23, 09:28

Thank you for contacting NQ Mobile Customer Support.

Unfortunately, if you no longer able to access the device, it will be difficult to recover your files and information from the Vault at this time. This is because the Vault files are saved locally on the device itself and the only way to either backup, restore, or move those encrypted files would be by using the Vault application on the original device. There is no other way to do so via a computer for example, unfortunately.
If you ever made a backup with our premium Cloud Backup (Vault Online) feature in the past, you should be able to restore your information to the last backup on a new mobile device by tapping " Cloud Backup (Vault Online) " in the application, signing into your NQ Account, and then tapping the green "Restore" button. If you have never made a backup or were never a Premium User, unfortunately the files are lost and there's no other way to recover them. I do apologize for any inconvenience this may cause.
If you had Premium Service on your old device, however, I can assist you in transferring that Premium Service over to your new phone.

There is a lesson to be learnt here, before trusting sensitive data to such apps, evaluate all contingencies before you do that

I imported pics and videos which were in my SD card to vault, then inserted my SD card to another phone and all the pics and videos are available.
If you import data from sd card to vault so what vault does is it copies the data to vault in internal memory
And 1 original copy is still in the SD card.

I imported pics and videos which were in my SD card to vault, then inserted my SD card to another phone and all the pics and videos were available.
If you import data from SD card to vault, what vault does is it copies the data to vault in internal memory and 1 original copy is still in the SD card.

Try to read your sdcard using the PC , the Vault is a form of programme that move you files to hidden. Use of find the folder, your files are there.
That's how I do last time.


text:
How can a web page get my phone number via the Google Now browser?
I tapped on one of the cards in Google Now, which took me to breitbart.com. A few seconds later, I got redirected to cinemobi.club and was told that I signed up for a paid subscription to that web site, which was immediately followed by an SMS saying:

FreeMsg:You've subscribed to Cinemobi for £1.99/week.Free for first 24hrs. Unsubscribe? send STOP CINEMOBI to 80206.Need help? Call 08009247988

How is this even possible? I didn't enter my phone number and I'd never entered any personal information in this browser (or Chrome) because I only use Firefox, except when opening a link in Google Now because they don't honour my browser preference by default.
Here's the link I opened originally: http://www.breitbart.com/national-security/2017/04/13/venezuela-socialist-mob-assaults-archbishop-caracas-holy-thursday/
In case it helps, there must be some JavaScript code in that page that made a POST request to cinemobi.club, based on the screen I got when trying to go back:

I'm using a Nexus 5X with the latest patches.

If I may, let me suggest you a browser which is reasonably secure. Rather than using Firefox or Chrome, you may want to opt for IceCatMobile, which (like Firefox) lets you add extensions to further personalize its behavior. I'm suggesting so because my IceCatMobile, with the uBlock extension, blocked 32 requests to other sites, one of which could have caused your redirection to cinemobi.club. I'm not affiliated with any of the abovementioned apps. I recommended IceCat over Firefox due to news of built-in advertising and too much info going back home inside the latter.

Furthermore, I have no real answer to your question. However, as Google likes to install their apps as system apps, they are granted far more control on your system than other software, so beware.

source: Stack Exchange

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

sort: votes


text:
How to root my Karbonn A51+ Mobile?
My phone is not rooted. I'm using a Karbonn A51+ Mobile.
It's running the Stock ROM:  Android 4.4.2 "KitKat".
I have tried some apps to make it rooted like Kingo, Iroot, Framaroot and a tool like SRS Root Tool
Screenshot; I'm getting this error while trying with Framaroot:
 (Click for larger variant)

Please do help me to root my phone via PC or anything else?

Your question is poorly written.  It includes unclear terms such as "was is rooted".  -1.  Please [edit] it to improve the grammar and clarity, then ping me.

Thanks for editing.  Which version of KitKat are you running?  What have you tried already?  Please [edit] your question and enlighten us.  Each time you edit your question, it will get bumped to the top of the homepage; and more people might see it.

Please run Framaroot again.  What error message does it give you?  Please [edit] your question and tell us.

@Sridhar Are you using the latest framaroot version 1.9.3?

Same Error and I'm using V.1.9.3 only @Manubhargav unforgettableid

Have you done a Google search for [ root Karbonn A51+ ] to find more information?  What advice did you find?  Did any of the advice work?  Please [edit] all this into your question.

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


text:
How to clear the data usage?
I'm using Android KitKat. I'm not able the clear the data usage of mobile data (Mobile) as well as Wi-Fi. Is there any option to clear the data usage in rooted and non-rooted Android devices?
(Click image to enlarge)

Somebody Please do help. Am using Non-rooted Android Device.

On a rooted device, go to /data/system/netstats/ and delete all the files there. Reboot the device and the data history would be gone. Worked on Android 4.2.1 and 5.0.2, and maddisonj and Beygi reported it works on 4.4.2 and Android 8.0 as well. It clears both SIM data as well as of Wi-Fi.
This would not reset the current cycle you would be having. I believe /data/system/notification_policy.xml manages it, so you can edit it out if that cycle also bothers you.
(Click image to enlarge; image order: before and after deleting the files)

On a non-rooted device, factory reset seems to be the only choice.

Somebody noted that, on Android ICS, the correct way is adb shell; su; rm /data/system/netstats*.bin; sync; sync /data/system; sync /data/system*; Then do a [tag:hard-reboot].

I'd like to let everyone know that this also works on Android 8

should it work on Android 14 or is it outdated? I get a response that its not accessible or not found?

@Incognito it might be outdated. I have not tested this answer after Android 8.0.

You just have to do that disable your app then enable again all the data usage history will reset automatically

No it will not, please do some research before you post answer

Apart from which: How do you disable a user-installed app? And how do you disable something like "Android system" if it comes to that? So even if that were true, it's not feasible.

authors: Једноруки Крстивоје

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


text:
Music player without files
My music player suddenly stopped and it says there are no songs.
But in fact, there are songs in my SD-Card.
I had a similar problem that is the gallery didn't display images and also I have deleted a nomedia .txt file in internal folder to fix it.
Any suggestions? I'm using samsung galaxy s3 mini which runs on android 4.1.2

Your files is in which folder? @Santropedro

It's in storage/sdcard0/Music

try this http://android.stackexchange.com/questions/83860/mp3-not-showing-in-library


text:
Would a higher than recommend spec SD card work just as efficiently?
My phone manufacturer recommends a class 10 sd card. At the time my phone came out, UHS Speed Class: U1 and Video Speed Class: V10 was the latest class 10 sd card.
However now there's V90. But since V90 is still classified as class 10 (as far as I know), would it be compatible with my phone? Would it work just as efficiently as the class 10 version that was available at the time my phone came out? Would the higher write/read capacity of the newer SD technology cause any hiccups? Or is it going to be
where it would only be a case of it not being used to it's full potential?
Phone: Motorola C Plus.

Micro SD cards are totally backwards compatible regarding their speed classes. Note if you want to use it as adoptable storage you should better search for the A1 standard and make sure to only buy a genuine card from a big known manufacturer. Cheap Chinese cards from unknown vendors often don't last very long in this scenario. And the most important: Before ever using a new micro-sd card in an Android device test it to really has the capacity it claims to have. This can be done using tools like H2testw, FakeFlashTest or  Flash Drive/Card Tester.

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


text:
How can I clone an adopted SD card?
I adopted an SD card as internal memory and one day it just suddenly stopped working.
With tremendous help from the member @alecxs I was able to make an img copy of it and browse the files in it. Here is some of the basics of how that was done.
I'm not sure why it failed on the phone since if it was a physical problem with the SD card then shouldn't it NOT have been possible to read or decrypt it?
In any case, I have another (new) SD card and I would like to clone the old one on it so that I can effectively start using it as if it was the old one...basically everything to be as it was pre-SD card failure.
Is there a way to do that? How?
I'm able to see my photos which is a HUGE relief but my concern now is the app data that is un-viewable unless it's put back in the phone and opened with it's app.

Comments are not for extended discussion; this conversation has been moved to chat.

Try the following

first copy sd.img to new MicroSD Card (it will finish unsucessful "error writing, not enough space")

create another sd2.img from new MicroSD Card (the one which ended unsucessful, we just need raw sd2.img with correct size)

run kpartx to map sd.img into /dev/mapper/loop1p1, /dev/mapper/loop1p2 and sd2.img into /dev/mapper/loop2p1, /dev/mapper/loop2p2 (may vary)

create two new block devices for /dev/mapper/loop1p2 and /dev/mapper/loop2p2 (see link in your question)

now lets assume /dev/mapper/loop1p2 is /dev/mapper/crypt1 (= sd.img) and /dev/mapper/loop2p2 is /dev/mapper/crypt2 (= sd2.img)

crypt1 should be mountable as ext4 partition to any mount point (that's your old MicroSD Card)

crypt2 is probably broken because of less size and must be formatted with mke2fs
mke2fs -t ext4 /dev/mapper/crypt2

now crypt2 should be mountable as ext4 too, mount to another mount point

next, copy all files from one mount point to another. make sure you preserve secontext, xattrs, uid and file permissions. this can be done with busybox cp -ac or tar --selinux --xattrs -p

i am on mobile and busy today, will improve that answer later. btw i am not sure that's how it works at all (the dmsetup part)
good luck

Comments are not for extended discussion; this conversation has been moved to chat.


text:
"Now unlock your device and confirm the backup operation"...when trying to backup through abd (TWRP)
Phone: Moto C Plus
Phone OS: Android 7.0
PC OS: Windows 7
TWRP: 3.1.1
Rooted
I'm trying to backup directly to PC from TWRP recovery through adb cmd.
The cmd adb devices shows the device id and the word "recovery" next to it, meaning i'm connected successfully and that i'm in recovery. USB debugging is on.
But adb backup --twrp shows...
WARNING: adb backup is deprecated and may be removed in a future release
Now Unlock your device and confirm backup operation
followed by the current directory.
But nothing happens on the phone. This is what's supposed to happen. Skip to 3:26.
Any insight?

Ifyou have no space left the only option would be to create the backup on-device and stream the backup file data directly to the PC using adb exec-out .... See for example this answer which performs a low-level backup. Not sure if twrp backup support this on a higher level.

@Robert Can you help me breakdown this cmd 'adb exec-out dd if=/dev/block/(bootdevice/)mmcblk0 > emmc-backup.img' What changes would i have to make to suite my particular need?

'adb pull /dev/block/dm-0 data.img' or if not encrypted 'adb pull /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/userdata data.img'

There is nothing wrong with your backup. You are just impatient. Please ignore WARNING adb backup is deprecated... Now Unlock your device and confirm... that is just because the adb.exe doesn't know what's going on at phone side.
You should see TWRP backup starting at phone display immediately without any confirmation
watch the backup.ab growing until backup process is complete
i recommend to backup each partition for it's own, that way you avoid trouble with some old bug TWRP just restoring first partition
adb backup "-f twrp_data.ab --twrp --compress data"

you can convert that backup.ab later into data.ext4.win with twab.sh (linux only)

Comments are not for extended discussion; this conversation has been moved to chat.

fyi: reason for adb backup --twrp not working is adbd isn't running with root privileges in this TWRP built (claim it to TWRP maintainer)


text:
Is it possible for a phone to still be compromised/infected by malware or spyware even after a factory reset?
If yes then how can one ensure that its %100 wiped clean?
Android 7 | rooted
EDIT: Same question but how about when rom is flashed
?

Yes, it's entirely possible if

the malware/Trojan resides and or modifies /system partition (search would show it's not uncommon) .

Thanks to Firelord who pointed out another possibility of

cases where an update to system introduced a persistent system level malware (usually a spyware, adware type), or one or two system apps (usually system update apps) acted like a malware right from the time a user started using the device. (see 1, 2, 3, 4, 5 as examples)

By doing a factory-reset, you are only removing user installed apps and data. The only solution for the first case is to install stock ROM (if you are on stock) or install a custom ROM by clean flash (usually, OEMs /custom ROM providers give detailed instructions on this). By installing a ROM, the /system is wiped clean and installed, getting rid of the trouble.
If you are a victim of the second case, there isn't much you can do unless you find another ROM for your device.
Of course, you need to review your apps and make sure you don't install from unverified sources and take precautions to not get into this situation again.

Thanks for answering! Is it possible to flash rom through TWRP? If yes, is that considered clean?

Yes. It is possible depending on the ROM. You will need to wipe /system  in addition to /data  to flash but follow instructions provided by the ROM chef

Where do I find the "rom chef" instructions for my rom? (Moto C Plus xt1723).

Xda and other sources like OEM instructions

So is this a wipe clean (which includes deleting /system and /data) AND THEN install/flash rom?

It could be that way or installing itself cleans. Read the instructions. Your question has been answered as asked. If you have doubts on the exact process even after reading it up, please ask a separate question


text:
How can I install and use apps on my phone with neither of them knowing about the other?
For example I want to install app Y on my phone, but I don't want my Google account (which I'm using to use my Android) to know that I'm using the app or any information that I enter in it...and I also don't want the app to be able to pull any info from my Google and know anything other than what I directly feed it. Basically both of them living in parallel dimensions completely oblivious to one another.
How can I achieve this?
Android 7 | Moto C Plus | Rooted

This question can not be answered for generic Android apps as it depends on which services (e.g. from Google) the app uses. Therefore please reformulate the question so that is targets one app (including app name and link to the Play Store). And it may also depend son the Android version on your device. Therefore please include details about your device name, manufacturer and Android version.

Just edited the post. I'm not thinking of a particular app atm. If it is dependant on the app, what are the determining factors?

There are two options: 1) install the app in a different user account / work profile 2) block the specific APIs (e.g. the ability to get accounts on the device) through permission restrictions or even better using some framework mod like XPrivacyLua. In former case you may find my app helpful: https://github.com/mirfatif/PermissionManagerX

you could recompile apk so google play can not associate certificates with official app anymore. not sure this is sufficient as it is still same pkgname (can be changed with Magisk hide)

Installing packages like vim and python in Termux doesn't show up anywhere else on the android system. Getting a graphical interface though will be a huge pain. The way I know it, Linux works by looking at the /bin/ folder for binaries and installed apps so if you could install an app in for example <internal storage(i don't know the exact path)>/Downloads folder, google would possibly not find it. How you would run it though I don't know, unfortunately. Though I know this definitely works in Linux, I'm not sure if it will work on Android. Just added my 2 cents hoping it might help you.

Thank You @alecxs. Your comment provided a lot of insight and knowledge. I shall delete my comment if it is completely off track.


text:
Root S4 mini SGH-i257M
A year or so ago I was looking into rooting my S4 mini SGH-i257M. This is the Canadian version, Android 4.4.2 from Rogers. At the time there was no reliable method available, and no hope of there being one in the near future. I am wondering if anyone has found a reliable root procedure for this phone since then.
S4 mini SGH-i257M
Baseband version i257MVLUBNG2
Kernal Version 3.4.0-2254622
Build number KOT49H.i257MVLUBNG2

The answer is yes, a simple reliable root procedure has been found for this phone. It is CF-Auto-Root by Chainfire. Here is a quote from Chainfire's initial post outlining the philosophy of this procedure ...
CF-Auto-Root is the root for "rooting beginners" and those who want to keep as close to stock as possible. CF-Root is meant to be used in combination with stock Samsung firmwares, and be the quickest and easiest way for your first root. In essence, it does nothing but install and enable SuperSU on your system, so apps can gain root access.
Here is the link to the actual procedure ...
http://androidmtk.com/root-samsung-galaxy-s4-mini-sgh-i257m
Here is a link to my post on xda with the details of my results ...
http://forum.xda-developers.com/showpost.php?p=64690687&postcount=1329
Note that the procedure is for Build number KOT49H.i257MVLUBNG1 but i took a bit of a risk with my phone which has Build number KOT49H.i257MVLUBNG2 and it works flawlessly.


text:
How to edit splash.img which displays the boot logo in Snapdragon chipset devices?
As far as I know, most devices powered by Snapdragon Chipsets stores the boot logo (splash screen that shows up when device is switched ON) in a partition named 'splash' which contains splash.img
Is there a way to edit the splash.img file or create a new one?
Additional Info:
It seems there is some script/software for HTC phones to edit the splash image, but it seems it will set the image (picture) resolution to that of HTC phone's resolution.
My device is: Yu Yuphoria

possible duplicate of How to change the boot logo, Not the bootanimation 4.2.2

@Firelord, The device of the OP has a mentioned Android version of 5.1.1. I suppose that it cannot be treated as a duplicate of your linked question

@TamoghnaChowdhury Android version is irrelevant here. Splash/boot image/logo is not dependent on the OS. So, it is perfectly a duplicate. Bootanimation, however, may very much be dependent on Android version.

@Firelord, even then, the linked question doesn't have an answer. Maybe we could request the mods to merge the 2? (and get on with some research?)

@Firelord I have specifically mentioned that it's splash.img for Snapdragon devices, unlike logo.bin (which is for Mediatek devices, asked by that question's OP which you have linked)

logo.bin is found in my standard Snapdragon 801 too. It's a OnePlus One.

@Firelord Oh I didn't know that :/  So, maybe boot logo is independent of the SOC.

I later found out how, and created splash.img for a few devices.. [GUIDE] How to Create Custom Boot Logo (splash.img) for Snapdragon Devices


text:
How to uninstall preinstalled apps and games in my Galaxy Note GT tablet?
My Samsung galaxy note GT - n5110 has something wrong and im not sure what. Few months now I can't use it because it keeps restarted and games and apps are just downloading without my permission. I have factory reset it and any other reset there is and now the games that had installed are pre installed so when I factory reset my tab all the games are there and you can't delete them? Does anyone know how to fix it?!!

Sounds like you've caught a persistend malware which managed to integrate itself into the system, so a factory-reset doesn't clean it up. In that case, the only way out is flashing a clean ROM.


text:
Download Mode in Galaxy Grand Prime
Ok so I rooted my phone useing King root downloaded twrp, busy box pro. Anyway I went to reboot in bootloader and i got a downloading screen. How long should this take. Anyway I'm a noob to rooted phones so not positive what I did. I can send a pic of the screen if needed.

Please do post that pic, as well as your exact model number and Android version. That particular Samsung model AFAIK doesn't actually have any use for the bootloader for flashing partition images from a PC. Try keeping the power button pressed until your phone reboots to Android normally. The Downloading thing is the Samsung Download Mode for flashing firmware from a PC using ODIN,  it doesn't download anything from the internet.

That Downloading screen you got is representative of having entered Samsung's special Download Mode for flashing device firmware from a PC over ODIN. Over there, Downloading means downloading from the PC, not from the internet. In case you want to get back to normal Android, keep holding down the Power button until the device reboots. For flashing TWRP, you can try using this app called Flashify. For using it, refer to my other answer here.


text:
How to install recovery after rooting Xperia M (stock ROM 4.3) to install custom ROM?
I have a rooted Xperia M Dual (C2004) with stock ROM 15.5.A.1.5 (4.3 Jelly Bean). Bootloader unlocking is allowed and I also have the unlock code already.
Since Sony decided to stop giving updates I wanted to install a custom ROM. So went ahead and rooted it but now I'm stuck.
I am still on stock ROM because I don't know how to proceed now.
Some threads say to unlock bootloader and flash the ROM, some say to flash the stock ROM first then recovery.
I found this app called TWRP Manager on my device's twrp page( https://twrp.me/devices/sonyxperiam.html ) which has an option to install TWRP.
But since my bootloader is still locked I don't know if it's safe.
A guide on XDA has instructions but it says after unlocking bootloader flash the custom ROM which is a huge 700 megabytes download and I at the moment don't have the bandwidth.
So is it possible for me to install TWRP via that app and flash the custom ROM directly?
Or what else should I do?

Comments are not for extended discussion; this conversation has been moved to chat.

You have to unlock your bootloader to fiddle around with your phone. Without unlocking you really CANNOT do anything. Unlocking bootloader is straight. You won't mess up anything there. It's the installing of custom recovery which will bug you. Careful.

As your info:

You have TWRP for your device (wrong TWRP will brick your phone)

You already / able to unlock your bootloader
You already have the Custom ROM for your device (wrong ROM will brick your phone)

Your phone already rooted

The steps are:
1. Install TWRP using ADB/Fastboot
2. Instal Custom ROM using    TWRP
Guide:

Install ADB/Fastboot on your PC C:/adb
Copy TWRP image to C:/adb
Set your phone to Fastboot Mode (Power and Vol+ button)
Run command: ./fastboot devices (check that your device connected)
Flash TWRP: ./fastboot flash recovery yourtwrpfilehere.img
Enter TWRP Recovery Mode: ./fastboot reboot-recovery or turn off phone then press Power and Vol-
Erase Cache, Dalvik, factory reset
Install Custom ROM
Reboot


text:
Recovering lost or stolen phone using IMEI
I have lost my android phone please help me find its location. I have tried to recover it but all in vain.
What can I do to recover it back using
IMEI ?

Call your provider.  They have support teams whose entire purpose is to find lost phones.


text:
How can I purchase apps from the Amazon Appstore without downloading them?
I've been procrastinating on swapping out my full 2 GB SD card for a 16 GB one I have, so I can't install many apps at the moment.  It's annoying to have to wait for a download and cancel the install that the Appstore attempts, and when updating other apps it only downloads one in the background (needlessly prolonging the experience, which leads to other issues).
Is there any way I can buy an app, or add the Free App of the Day to "My Apps", without downloading and installing it?  I can't just wait and do it another day, since the daily deal obviously won't apply then.

You can buy them from the website without downloading them. Any apps purchased through amazon.com simply get added to your account. I think that's the best you can really do.

Hmm, does work.  I tend to forget to check daily things like this on websites so I hope they add an in-app method.

@MatthewRead: I'd prefer an in-app way of doing it, too, but I still haven't found one :(


text:
How to make a screenshot with Android 2.3.5?

Possible Duplicate:
How to take a screenshot with an Android phone?

How to make a simple screenshot with my HTC Desire S with the Android 2.3.5 version?

My HTC Amaze takes screenshots if I press the power button and the home button at the same time. You should hear a camera shutter sound and the screenshot will be in your Gallery App under "Camera Shots". Many of the HTC phones with the newer version of Sense have this functionality now.
If this doesn't work, there are a lot of apps you can get from the Android Market that allow you to take a screenshot from your phone without rooting it. I've used Shoot Me, Screenshot It and Screenshot UX with good results, although not all of them are free apps.
You can also take screenshots while the phone is attached to your PC or Mac if you have the Android SDK installed (doesn't need to be rooted), but this is a little more involved and you have to have the phone connected to the computer with the USB cable. You don't need Eclipse to do this, just search "DDMS" for some more info, although this is probably way more involved than most people want to get into.


text:
What's next if Super One Click fails?

Possible Duplicate:
How do I root my Kindle Fire?

I want root, but not enough to reflash or do anything that has a significant chance of harming the phone. In the past I've always used Super One Click, but I've found the Kindle fire can't be rooted Super One Click (though it has specific instructions to root) and neither can my Motorola Electrify after the latest update.
Is there anything to try after Super One Click? It's an amazing catch-all solution but I realized I have never found another solution that doesn't require carrier and device specific roms, recovery mode and lots of other scary things.

I'm sure if you just wait a bit, someone will figure out how to do it, and then make a One-Click. I'd keep an eye on XDA.

The kindle fire was just recently updated and the update removed root from the device, and it broke the Super One Click root method used. Once another root method is found (it may have been already) the developer of Super One Click will most likely update the application to support the Kindle Fire again.
Here is an article from Engadget talking about the update.

Just when you thought it was safe to root your Kindle Fire with a single click, Amazon has clamped down on homebrewing enthusiasts. The company has begun pushing out an update for the $199 tablet that breaks the root, disabling the SuperOneClick utility in the process. If you've rooted your tablet and are still running a version of the Amazon-flavored Gingerbread, you're susceptible to the update any time you're connected to a WiFi network. However, if you've already made the leap to another version of Android, such as CM7, you can bypass this and any future software updates. There are some improvements with 6.2.1 though, as smoother scrolling, password protected WiFi use and the ability to remove recently used items from the home screen carousel are among the upgrades. If you're looking to read up on the issue before taking action, roll up your sleeves and hit the links below.

XDA-Developers Topic
From that thread, if you modify the hosts file and put the amazon update server to point to localhost (127.0.0.1) you will not receive the update, but If you cannot use Super One Click, it sounds like it is too late for you. You seem to already have the update.
Steps to disable the Kindle Automatic Silent Update:

Modify /etc/hosts
127.0.0.1   s3.amazonaws.com
Disable OTASilentInstall
Use an app like Titanium Backup and Freeze the OTASilentInstall apk
Rename OTASilentInstall (Optional)
Another option is to use a tool like RootExplorer and rename OTASilentInstall.apk to OTASilentInstall.bak.

As for your Electrify, I found some steps to root but I don't have the device so I do not know if they still work.

Turn on USB Debugging in Settings -> Applications -> Development -> USB Debugging - check the box.
From the market download and install the Superuser App to your phone. You may be asked to update binaries but you can't till you're rooted. It's OK as is.
Download and install the drivers to your PC from the link in step 9 below.
Download both the ADB package and the torpedo root file to your PC from the link in step 9 below.
Create a folder on your C: drive called Root.
Unzip the ADB package to the Root folder and move the torpedo root file there as well.
Plug your phone into your PC with the USB cable. Set USB Settings to Charge Only.
From your PC click Start:Run: type CMD and click OK.
Enter the prompts shown at How To: Root Motorola Photon 4G

I believe the new method was already discovered: http://rootzwiki.com/topic/13027-universal-all-firmware-one-click-root-including-261/

Yes there is at the moment working root method for the Kindle Fire


text:
Movie or Video of mobile web application for demo

Possible Duplicate:
Is it possible record videos of my screen?

Is there any way to capture mobile activities of user on mobile capture as a video.
I have samsung galaxy S running 2.3, is it possble using this? or is such feature introduced Android 3.0
or, if above is not possible, could you please help me out in finding out any software which does window activity capturing in Windows7 , I will use Android emulator to create video of my  mobile web application.
-Thanks.

You can try Screencast Video Recorder FREE and if it works you can get the paid version Screencast Video Recorder.
For Windows I'm sure many software exists. Why don't you ask on Super User if you can't find one.


text:
Is there a way to add Kindle Fire as a device on the Android Market

Possible Duplicate:
How can I download an APK file from the Android Market?

I want to download APKs from the Android Market and sideload them to my Kindle Fire. I'm able to run APKs using ES File Explorer but not able to download them :(

@Saiboogu - no, it is not. I didn't ask to "get Android Market app set up on this thing", I specifically want to sideload APKs to Kindle.

I think it should be covered by the marked dupe if not by the one Sauboogu/eldarerathis linked, though I see you've accepted the latter's answer :)

The title of your question and it's body are really not very related to one another, but I think the title is actually something that's worth covering since I haven't really seen it come up here before (in a general sense).
Per the title of your question: You can't register a device on the Market from the web interface alone. Devices appear once the Market application has been configured on the device itself, at which point you can install applications via the web interface or from the device directly. The Market's website basically uses C2DM ("push") to install the app to the device over the air, it does not download the .apk to your computer.
So, per the body of your question: You cannot download .apk files from the Market website to sideload them - even with a registered device - so ES File Explorer is not going to help you with that. This has also been previously asked here: How can I download an APK file from the Play Store?
Your Kindle Fire will appear in your account (it most certainly does on mine, anyway) if you install the Market on it and log into your account from the device. There is a question regarding how to do this already: How can I get the Android Market installed on my Kindle Fire? Note that you must be rooted to do this.

The title would be related to the body if I knew that I can't download even with a registered device. I asked how to register the Kindle because when I click to install it says that I don't have a device, implying that it would be possible if I had, that is, I thought it would be offered a way to download or direct install. Anyway, thank you.

The only way to add an Android device to Android Market is to install Google's core applications on it (including Market.)  Unfortunately, Kindle Fire does not ship with "Google experience" apps, and there is no "official" way to install them.  You must root the Kindle Fire first (voids your warranty,) and then install the Market's APK with supporting apps.
See this thread on XDA-Developers forum for an easy script.  It's dated 1/9/2012, so be aware that it could be outdated if there has been an OS Upgrade for Kindle Fire recently.  Browse other threads on the Kindle Fire Development section for other alternatives.


text:
Are there specific cases in which a task-killer or "fast reboot" program is helpful?
I know there have been previous questions regarding task killers, but I wanted to ask about two specific cases.
I've heard a debate raging here and on several forums about Android's way of managing apps and the use of task killers, (examples hereenter link description here and here and here), in which one side says that Android manages tasks just fine but the other side insists that their phone does indeed slow down and a task killer helps.
So my questions are these.
1) Could task killers or "reboot apps" conceivably help for a program that has high CPU usage and simply needs to be restarted?  I'm not necessarily talking about malicious apps, but reputable apps that tend toward higher CPU usage the longer they run?  I'm assuming that if an app always has high CPU usage a task killer will not help as it will likely restart, and should just probably be uninstalled altogether.
2)  In the case of a launcher that slows down over time, would a task killer or reboot app be helpful, simply in restarting it (similar to case 2, but I'm not sure lag in a specific app is directly correlated with its CPU usage).  I know that when I used third-party launchers, I had more lag issues as opposed to using the basic AOSP launcher (Android's own default launcher, often replaced by phone vendors own version).
Any other specific cases?

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

Good point. I keep forgetting about the native tools to do such things.


text:
How to know if it's hard bricked or a hardware problem?
Phone:
Moto C Plus, rooted.
How it started:
I was on F-Droid, downloaded Bromite (a browser). While installing it, the phone froze/hang. I went to the kitchen, came back, and i see the recovery TWRP logo screen. It was just frozen on that logo screen.
What I did:
I took out the battery, put it back in, tried to turn it on...nothing. Plug it to the charger...nothing. The computer...nothing.
Took it to a shop. They hooked it up to a power supply...
The reading was 0.7, too low. They said that means it's the AC. I don't know, is a reading of 0.7 not consistent with a hard bricked phone? Or is it a case of replacing or reballing the AC like they said?
I'm willing to do whatever it takes to revive this thing because I need what's in it.
Where do I start?

If you won't trust the expertise given you, why do you go there? You have the $$$ in your pocket that they want, so it is expected they do what is right for you. Absent another opinion of someone who can actually experiment with the device and diagnose, why would an impersonal, fact-lacking, INTERNET-based, opinion mean more?

What did they measure? You forgot to mention the unit of the value 0.7, was it Volt, Watt, Ampere, Apples, Bananas?

@wbogacz because experience my friend. Because this "impersonal, fact-lacking, INTERNET-based, opinion" came through so many times in the past when these so called experts told me its unfixable, or actually messed it up themselves. They are mobile technicians, they are not regulated like doctors. Most do not even know the term "hard bricked" or have the right tools to do the job. So I am always weary

@Robert Sorry, amps. It was very difficult getting the right info. I asked them what the machine is called, and what they are doing exactly. But they couldn't make it clear. All they said was "not many technicians know how to do this". Which wasn't my question. So I had to guess what it was, get online with that guess and figure out what they were doing. Thats how i found the picture of the device. So yeah, Ampere i deduced.

But 0.7 Ampere on USB (5V) would be 3.W Watt, which would be a common value for a phone (without charging). So it is still not clear why somebody claims a phone is dead by just reading 0.7A. May be that the phone does not charge is what they wanted to tell you.

@Robert OK, here is more detail... They hooked up alligator clips to the phone's battery positive and negative terminals. The machine was set to 4 volts (the number which is showing 31.6 in the picture above). Then they press the power button on the phone to see the reading. They said if the phone was good then the number would be above 1. Another guy said 4...but I didn't see what volt it was set on. Something else he said is that as soon as he let go of the power button on the phone, the number should decrease gradually and not instantly like it was doing on my phone. Makes sense to you?

as your device is rooted, is it by any chance unencrypted? so you can just read back userdata partition from SP Flash Tool (no battery needed)

@alecxs Hi Alexs, good to hear from you...I'm getting nothing when i connect it to the computer. Not even that windows tone you here when you first connect the phone.

@alecxs I just did it - lsusb. Not detecting.

@alecxs Its a USB Live. Tried with battery out. Still nothing. What should i do next?

Does this answer your question? How to get data off a completely dead Android phone?

@alecxs My goal here is to be able to log in normally as what I need are the apps and their data which I'm logged in to and no longer have the passwords or emails connected to them. I've been using them for years without logging out. I did make a nandroid backup but don't know how useful that is since the phone is completely dead. Also the nandroid backup is a bit old. I'm trying to troubleshoot right now to try to figure out what the exact problem is. The link you gave gives 2 options - JTAG and chip-off. I want to be %100 sure those are the required solutions for my particular problem first.

your phone is dead. Idk how to fix it. if you already have backup just send it to https://www.closingtheloop.eu


text:
How can I see a log of system changes that have been made to my phone?
Recently my phone suddenly exhibited weird behavior which I remedied by running com.google.android.setupwizard/.SetupWizardTestActivity. You can see the exact problem and solution here.
Everything returned to normal and just the way it was before the problem started except for a few things that went back to default settings (e.g. I had to reenter wifi passwords).
But now I'm noticing something weird...
A couple of apps/services that I use have suspended and restricted my account. Reaching out to their customer service, one of them is saying it's due to using third party apps/tools, of which I haven't. Something triggered a security violation to warrant a suspension of my accounts. They are not saying what exactly. But putting two and two together, this is right after the problem with my phone.
Another weird thing that happened which is causing me to think that this is the reason I've been suspended is when I opened Titanium backup, there was a pop up message that said that my Android ID has been changed and if I'd like to return it to the previous ID.
Now I want to know what other changes have happened since running com.google.android.setupwizard/.SetupWizardTestActivity or since the problem started. How can I find out?
Android 7

The link in your question does not work. Android does not have a persistent log. That you will run into such problems was very likely after your last question. Therefore I suggested a factory reset.

restore previous Android ID

@alecxs Can you suggest a good, free, app that could that? Or a way to do it?

you mentioned Titanium Backup

@alecxs Titanium Backup wants me to buy the pro version  to restore it.


text:
How can I block a certain app from connecting to the internet?
I'm trying to stop Microsoft SwiftKey keyboard from connecting to the internet. Phone is Android 7, rooted. I have it blocked on AFWall+
But despite that, I can see through PCAPdroid (thanks to @Izzy for recommending this great app here) that it's still connecting to the internet and sending and receiving data.
Here are details of one of those connections.

I'm not sure how it's able to do so since it's - supposedly - blocked on AFWall.
I was thinking maybe there are other components of the keyboard that are not part of the bundle of what's checked in AFWall? Maybe those other components are not showing up on AFWall (or are under differents names), and it's those components that are connecting to the internet? How can I stop this?
Thanks in advance!

Additional context for other readers: continuation of How can I find out if my keyboard is connecting to the internet?

And maybe you could add a screenshot with one of those entries in PCAPDroid opened to show the details? The logs might also be interesting. Background: the app will still try to open those connections, but AFWall+ should block them. But in such a case, there should be no data transferred – so it's those "5.4 KB" which irritate me. Of course you could in addition use e.g. AdAway and put snippetdata.api.swiftkey.com on its filter list – so the IP address could no longer be resolved (unless the app uses its own name server).

Btw, this seems to be an old issue, having been voiced more than once. And putting the host name to your block list is a recommendation I saw quite a few times. Seems like several filter lists even include it already, going by the search results.

@Izzy "And maybe you could add a screenshot with one of those entries in PCAPDroid opened to show the details?" Just did! Check out the OP.

The reason I suspected SwiftKey to begin with is because on several occasions I got very specific ads recommended to me when I know %100 that I have never searched them anywhere and the only place I've typed them is offline or on my notepad (which is also blocked on AFWall). Another thing is also the next predicted word would be of something that couldn't be in the pre-saved dictionary because it would be about something that is currently trending.

That's the expected behavior. VPN (PCAPdroid) is not the right tool to test the working of iptables (AFWall) because both operate at OSI layer 3. AFWall might not be blocking the traffic going to TUN (VPN) interface. And the traffic leaving the VPN is owned by PCAPdroid, not by Swift KB, so won't be blocked by AFWall. Possible solutions: 1) Enable "VPN control" in AFWall. 2) Do not use PCAPdroid but insert a iptables -j LOG ... rule at the end of OUTPUT chain in filter table (or POSTROUTING chain in nat table). 3) Intercept the traffic outside the device e.g. at your router.

@IrfanLatif Thanks Irfan. I'm afraid I'm going to need you to dumb this down a bit. I'm assuming this is what ure talking about on AFWall - - > https://i.imgur.com/W6jUOU4.jpg https://i.imgur.com/hOJLlur.jpg. Correct? As for #2, where do I add that rule? And for #3, what if I'm using mobile data?

Yes. 2) Read iptables. 3) Make testing with WiFi. Or go for option 1 or 2.

@IrfanLatif in root mode, PCAPDroid doesn't use a VPN (I'm using the app myself). As OP is using AFWall+ the device must be rooted, hence PCAPDroid will have offered to run in root mode. My bad, I should have mentioned that. Next, AFWall+ operates via iptables as far as I know – so there's no VPN involved at all – unless the keyboard is using one.

@Izzy great. To be honest I've never used PCAPDroid because I'd developed my own minimal solution when I wrote this answer. I wrongly assumed that OP used the app in VPN mode. And I think I made the assumption because I've seen similar questions earlier like this one. Whatever the case is, bypassing Linux kernel's UID based IP filtering is out of question. There must be some issue in OP's test setup. Since AFWall is iptables-based, troubleshooting it directly is the simpler approach, IMO


text:
Where can I find stock or custom ROMs for my Android device?
There are several reasons to be looking for a ROM:

Upgrading or downgrading your stock ROM
Looking for firmware from a different region/language
Flashing a custom ROM for different features, removing bloat, etc.

But where can one find ROMs in the first place?  What sites are likely to have the ROM I need?
This question is intended to be canonical; please add to the wiki answer instead of posting separate answers.
See also: How do I update Android on my device?

Manufacturer Websites
While they don't usually host ROMs directly, you may find that they have software useful for upgrading stock ROMs, such as Samsung's tool Kies.  If you want to upgrade and stay stock then you should try official methods first.
Google Flagship Updates
Google hosts update packages for the flagship Nexus and Pixel devices at
https://android.clients.google.com/packages

You can't browse that link directly, but a web search is your friend here.  Search for that link plus the code name of the device and the version you want; for example, searching android.clients.google.com/packages crespo ics results in a lot of pages with this link -- the OTA Ice Cream Sandwich update for the T-Mobile Nexus S. Links for various "factory images" for Nexus devices can be found here.
XDA Forums
Probably the first place you should look after trying the official route is the XDA Developers' forums.  Stock ROMs are usually posted in the General sub-forum for your device, and custom ROMs in the Android Development sub-forum for your device.  No guarantees.
They don't have dedicated subforums for all devices, so if you have a less-popular device you should use the site search instead of the subforum search.
RootzWiki Forums
You may or may not want to check RootzWiki before XDA Forums above. Developers tend to move from forum to forum and RootzWiki provides devices for the best developers so a lot have jumped on board.
They have sections for many devices and for those that don't, there is a General section. The forums tend to be divided into 3 sections per device (not always): General, Development (ROMS and such), and Themes.
Android Forums
This site often has ROMs for more obscure devices, as well as popular ones.
PHONEDB
This site provides a long list (about 800 pages) for all kinds of devices, including Android, Blackberry, Symbian, and more. It misses a filtering mechanism, unfortunately...
TheUnlockr
Grouped by vendor, then device. Seems to be quite up-to-date and quite complete -- for sure one of the best resources.
SamMobile
This site posts stock Samsung ROMs from all over.  It does require you to sign up.
Note: you may need to register an account before downloading. If not, then the "Download" button is just pointing to the register page, and no actual file is downloaded.
Google
When in doubt, do a web search.  Make use of quotes (e.g., "vibrant" and "stock 2.2.1") in order to narrow the results and find what you need.
Shipped Roms
A collection of shipped ROMs. Contains ROMs for 40-odd devices.
MIUI
Translated from a popular Chinese ROM, MIUI is a highly customized version of Android with a large base of customization and theme options and a strong iOS aesthetic. Available for many devices and in Froyo (2.2), Gingerbread (2.3), Ice Cream Sandwich (4.0), and Jelly Bean (4.3) options.
AOKP
Android Open Kang Project (AOKP) is just like Cyanogen Mod (CM) a Android Open Source Project (AOSP) based ROM. AOKP focuses on providing extensible settings with the disadvantage that fewer devices are supported in comparison with CM.
Android Central
Another popular Android forum, similar to XDA and RootzWiki.
OmniROM
Similar to CyanogenMod, OmniROM is a committed open-source project that provides ROMs for a variety of devices.
Replicant
Similar to OmniROM, Replicant is a committed open-source project that provides ROMs for several devices (mostly Samsung). It is a fully free Android distribution (with a marked aversion to binary blobs), putting the emphasis on freedom and privacy/security.
Lineage OS
Lineage OS is the successor to CyanogenMod (in the sense that the numbering scheme matches only).  It allows for customization of the buttons at the bottom of the screen and for root access.
Flashtool for Sony Xperia
Flashtool provides an inbuilt tool - "XperiaFirm" that lets you download the stock firmware for Xperia devices. Using flashtool you can even install the downloaded firmware onto your Xperia device.
NeedROM
The website provides original & custom ROMs for more than 65 brands (mostly Chinese). In addition, it contains very useful Tools with their latest updates.
MTK Firmware
Contains a lot of MTK-based brands (mostly Chinese), and tools and drivers also are available there.
Android MTK
Similar to MTK Firmware.
Android ROM List
Large list of Android ROMs.

I was able to find functioning build downloads using archive.org's wayback machine. See Samsung Galaxy S4 (T-Mobile) for example.


text:
Dropbox for Android folder location
Where does Dropbox for Android saves files when you click on "Download"?
I've read
How to search for files and folders?
But my /sdcard/dropbox is empty even if I've downloaded a file just now.

Tangentially, I'd like to recommend Dropsync for folder syncing: https://play.google.com/store/apps/details?id=com.ttxapps.dropsync (it's free)

Dropbox 3.0 (3.0.3.2) and Sony Xperia T3:
/Android/data/com.dropbox.android/files

As of Dropbox 2.0 the right location by default is
/mnt/sdcard/Android/data/com.dropbox.android/files/scratch/[files]

Found the things with Astro file manager (Samsung Galaxy Tab 8.9).
Moto G4 [Aaron]

On a new Moto G4 the Dropbox app has no "star" mechanism, instead you enable the "allow offline access" option, and the actual location this file showed up was
/Android/data/com.dropbox.android/files/[userhash]/scratch/[file]

Not really wrong, actually -- before Dropbox 2.0 this was indeed the place to find favourite/offline files, and they changed it to the obscure directory you have posted for some reason that eludes me.

i use 2.0.1 this answer is correct. the location is not in "/mnt/sdcard/download" anymore

It would likely be a change in the Android API rules that has dictated this new location.

I hate this location. It should let us choose where, and be by default set to /mtn/sdcard/download or mnt/sdcard/dropbox.

Remember that for newer Dropbox apps (mone is 2.4.7.14) you have to favorite the files first for them to be downloaded and available.

In Dropbox 3.0.3.2: /Android/data/com.dropbox.android/files (Sony Xperia T3)

On a new Moto G4 the Dropbox app has no "star" mechanism, instead you enable the "allow offline access" option, and the actual location this file showed up was /Android/data/com.dropbox.android/files/[userhash]/scratch/[file]

This is no longer the case. That folder becomes empty as of today.

For now in the Dropbox App there is no download option, but there is favorite option (star).
When you favorite something, it downloads this for offline use in
sdcard/android/data/com.dropbox.android/files/scratch
You can do it only for files, not whole folders.

actually, there is an app for that (doing it for folders): https://play.google.com/store/apps/details?id=com.jjinx.dropboxdownloader or even sync'ing (paid one): https://play.google.com/store/apps/details?id=com.ttxapps.dropsync.pro

Dropbox on my Samsung Note 3 has its storage at /storage/emulated/0/Android/data/com.dropbox.android/.
HTH

The default location where Dropbox will place downloaded files is /mnt/sdcard/download on my OG Droid.  I can't imagine it changes much between phone models.

Does not seem to be anymore, since at least does not do it very fast. Waiting now 5 minutes that the files would come to the folder in my Samsung Galaxy Tab 8.9.

As of Dropbox for Andrioid 218.2.2 (and probably earlier) offline files/folders are no longer saved in in a directory that is directly accessible to the user or to other apps. The only way to access them is through the Dropbox app.
I'm running Android 10 on a Pixel 1. /storage/emulated/0/Android/data/com.dropbox.android/files/ used to work but it doesn't work anymore.

Previously I was using this to download audiobooks (stored in Dropbox) to my phone. Now that Dropbox no longer supports this, Dropsync seems to work; I recommend trying it if you have a similar use case.

Thanks, good to know - I was close to think that dropbox is a nice software.

As of September 2019, Dropbox for Android 156.2.2 the following applies on my Huawei Nova 3i phone.
* This applies to files where "Make available offline" has been selected * If the file hasn't been made available offline I don't believe there is a persistent copy of it on the device, and the file contents are probably streamed when the file is accessed.
If the file is located at
<Dropbox>\Some folder\Somefile.txt

then when Make available offline is checked, a persistent copy of the file is placed at:
Main storage/Android/data/com.dropbox.android/files/u123456/scratch/Some folder/Somefile.txt

For other devices Main storage will be different. u123456 (obfuscated) probably identifies the Dropbox account.
A quick test seems to indicate that there is no connection in the opposite direction -i.e. I created a folder and file using an android file manager at:
Main storage/Android/data/com.dropbox.android/files/u123456/scratch/test/temp.txt

but the file/folder doesn't appear in the dropbox image.

The Astro file manager can connect to your Dropbox easily so that you can access your Dropbox similar to a usual folder.
You can also use it to download a whole folder (or more precisely copy a folder in your Dropbox into your SD card). Downloading is pretty slow though.

If you want to download the file to the "Downloads" folder in the normal way then click the "..." under the file and select "Save" option.

/sdcard/Android/data/com.dropbox.android/files/ in LG G3 beat running Android 4.4.2.

This answer actually said  almost the same thing. Your answer fits as a comment to it.


text:
Text message appears as Chinese Symbols in AT&T
When I send a text with letters (in English) and Emoji's to a friend from my Galaxy S5,  she receives text that looks all Chinese. She has a Galaxy S7 and we are both on AT&T

This blog says it is an AT&T specific problem and suggests how to go about it. Comments have some alternative ways too

Your network APN settings are messed up somehow. AT&T can assist you with fixing it but I had to change the mine to add admin into the string. It's worth noting it's happening on large messages. It just so happens emojis bloat the send size.


text:
How to root LG K7 (MS330)?
I have a cleaning program on my phone and one of the program functions is to optimize CPU.When I try this, it says I do not have root privileges.
How can I get root privileges on my android LG MS330 ?

Enable Developers Options on the device & allow Unknown Sources to install the non Play Store app.
Download Kingroot app (apk) & install it.
Run the app & click “Try to Root” button to start rooting process.
Wait until it’s done, and your phone might reboot.
Your device is now rooted..
Optional: You can replace KingUser app with SuperSU using SuperSU-me app

Source: XDA

Kingroot is spyware. DO NOT download it.


text:
Xposed for Galaxy J2
Recently I switched my phones to better one of Samsung, named as Samsung Galaxy J2 (2016 edition) with TouchWiz ROM..
I rooted it and had some apps installed, but when I got the Xposed Framework, unlike my previous phone, it gave a warning before the installation (attached pic) that kept me away to install it
[
So ultimately my question is, will it brick my device?
(J2's stock rom isn't available yet, so I'm trying to prevent any issues)..
If yes, is there any alternative way to fix this issue and install the framework?
Any comments would be highly appreciated.. Thanks

You need to use Wanam's Xposed, not the regular one

@GokulNC The Xposed Installer app was able to correctly download the appropriate framework for a Samsung Galaxy S3 Neo, in my experience.

@DeathMask Yeah, I think what you're talking about is the unofficial Xposed Installer by dvdandroid; that's not supported by the official one I guess.. We don't know if the OP uses the official or unofficial one..

Since you already voided your warranty, you might want to find a custom recovery for your phone, which allows you to do a Nandroid backup, a form of backup that saves your phone's current state. This way, should Xposed mess up your system, you'll be able to revert to a working state.

For custom rec., i got TWRP and i rooted by flashing a zip of supersu

@GokulNC Indeed, and that's why I suggested to make a Nandroid backup first and foremost.

With a custom recovery, you could just flash Wanam's Xposed instead of trying to install it from the installer. Do remember to backup as others said.

I just did it and it worked too... but i still have a question. .. the thread asked me to install the Xposed framework app provided and so i did but what if i install the lastest framework available at original post?

If you mean the original (not Wanam's) version of Xposed... It sends you into a bootloop.


text:
Huawei Unlock code site not working - How to get Honor 6X unlock code?
All is in the title : How to get Honor 6x unlock code since this url 'https://emui.huawei.com/en/plugin/unlock/index' is dead ?

Have you tried to contact the Huawei support?

Related thread link: XDA. Most of them over there seemed to have solved the issue by mailing Huawei support with their IMEIs requesting for unlock code.


text:
HTC Desire 616 hard-bricked (dead) after format all + download in sp falsh tool
Recently I have used SP flash tool for flash htc desire 616. I flashed successfully. But I am unable to start the OS. So once again i done "format all+download". But now my phone completely dead. Please help any one how to write NVRAM files (including factory logo and imei no). But still, i am able to flash the mobile using SP flash tool. But mobile not getting ON. Please help anyone.

The dead state of a smartphone is actually because of corrupted firmware files.
either the rom your are flashing is corrupted or the flashing process is interrupted whatever is the problem. try flashing with some other flashing tool and make sure you are flashing the right rom for your smartphone...
and about factory logo and imei no. factory logo is inbuilt in the rom your are flashing if it is official..and for the imei all android roms have modem binaries which are responsible for networking and imei related operations..
Can you tell me about your smartphone.?

i tried using a different flash file but it's in the same position (dead).


text:
Where do I find a picture I sent from messages app as MMS?
I took a picture of a tracking number receipt and sent the text message. Now I can't find the picture of the receipt. How do I find it? It's not in gallery.

If you're using the Google messages app, then the picture wouldn't automatically be saved to your gallery app, rather, it stays in the messaging app.
Open the messaging app, find the person you sent the message to, and the pictures should be there. If you deleted the picture, then it's fully deleted and the only way to recover it, would be by using some picture recovery method.
If your phone is rooted, you can double check in the directory where all SMS/MMS are stored, it might still be there. This would be under /data/data/com.android.providers.telephony/databases/mmssms.db


text:
How to root Moto G 3rd generation running Marshmallow?
For the past few months I have tried various methods of rooting my Motorola Moto G 3rd gen (Android 6.0.1) and they have all failed. How on Earth do I root my phone?

Excerpt from my XDA Tutorial on rooting the Moto G 2015 -

This guide covers ALL Moto G 2015 models (including the G Turbo) that can be bootloader unlocked and have TWRP available, it doesn't matter if it is the XT1540, XT1541, XT1543, etc., the method is identical. In fact, this method will work on all 2015 and 2016 series Moto phones running Marshmallow, including the Moto E, X, G3, G4, and Z.
Please read completely and make sure you understand each step and how to do it, if you don't get something search the thread or ask an open question.
tl;dr version for advanced users: Skip to "How to do it" section
I am writing this tutorial because there are still lots of failed root attempts using older "standard" methods that do not work on this device. I also do not like the "one click" root methods, because they can and do fail (KingoRoot will brick a Moto G3, regardless of what it's web page says), and when they do people have no idea how to fix it. The manual way is not difficult, and it teaches you how to work on, fix, and use your device on a level above that of the average smartphone user.
I will only cover the details of rooting, the prerequisites are covered elsewhere in detail and I will link to reliable sources for the information. Specifics of the prerequisites are outside of the scope of this tutorial, but are open for discussion in this thread.
Prerequisites:

Device must have an unlocked bootloader. See Moto - Unlocking the Bootloader for more info. NOTE: Performing this prerequisite will give you all the tools (fastboot) and drivers needed to continue, and wipe your device, meaning erase all your information and programs. Make sure to backup any important data first. This step will also permanently void your warranty once an unlock code has been issued by Moto, it doesn't matter if you even use it, your warranty is done.

You need to have TWRP installed or one-time booted via fastboot. CWM and other recoveries will NOT work at this time. See TWRP for the Moto G 2015 or TWRP for Moto G Turbo.

You need a copy of the latest STABLE SuperSU ZIP from Chainfire's site on the internal storage or SD card of your device.

Reboot and start TWRP recovery, the method you use to do this doesn't matter (boot or flash).

How to do it:
Now, the procedure is the same whether you are trying to root the first time, or you did it the old way just flashing SuperSU and are now not able to boot...
In TWRP, go to Advanced and open the Terminal, in the terminal type this EXACTLY as shown:
echo SYSTEMLESS=true>>/data/.supersu
Now press enter (there is no confirmation returned), then exit and press the Home key. Go to Install and select the SuperSU zip file you downloaded from Prerequisite #3 and swipe to flash it and reboot. No need to clear caches or anything else but you are welcome to if you wish. You can install SuperSU updates normally through the app going forward (as of this posting).
Why do I have to do this???
For whatever reason, the install script for SuperSU does not recognize that this device (like many others) requires a systemless root installation. By creating /data/.supersu in the TWRP recovery environment, the SuperSU install script parses the file and sees "SYSTEMLESS=true" and ignores what it auto-detects and forces a systemless root installation.
Hope this is helpful to someone!
As always, if this is the first time you have booted TWRP or attempted root... BACKUP IN TWRP FIRST!!! Once the system is modified, it cannot be undone (easily) and you will always have a known good starting place if the worst happens.
DISCLAIMER: I am not responsible for anything that happens... Your device, your responsibility, no matter what happens... Although all the information here has been tested and is known to work with no issues except where noted, things occasionally can and do go wrong and we cannot foresee every possible scenario or circumstance.
If you need assistance, we need detailed information about what what's going on and what you have tried to do... Please provide details including:

Device model number and Android version
TWRP version
SuperSU version
Output of 'cat /data/.supersu' from TWRP terminal

And a copy of recovery.log if possible, and any other pertinent information you can think of. Without  specific information there is nothing that I can do to assist you and request for help may be ignored.
Photos added showing what a proper command and flash should look like. Note that in picture 1 the exit command is not needed, you can just back out. In pictures 2 and 3 a proper flash of SuperSU is shown, note that system-less mode is specified and the boot image is patched, this is what should occur. It is normal for it to loop once or twice, but that is it, first boot could take 10 minutes plus.

acejavelin my Moto G 3rd Gen already boot-loader unlocked. If I 2 to 4 after that will it wipe the existing data from internal memory.

@Ajay It will not... The unlocking process is what wipes the data.


text:
Android Phone Off State and Boot process - Does Android consume power when switched off?
I am curious about the "turned off" state and the boot process after that in details.
I found some good articles on this topic like this one:
http://www.lieberbiber.de/2015/07/05/mediatek-details-little-kernel/
but it's still not completely clear to me what's the exact process.
I know that the basic boot sequence is:

Boot ROM
Preloader
Little kernel (LK)
And then it may split into going to:

Download mode (in case of a Samsung device for example)
Fastboot mode or
Recovery or
Normal boot (starting Android boot itself)

But is the phone really off when we turn it off and the battery is inserted?
I know that Android is really shut down but is the phone completely off regarding the software level?
As the article linked above says, the little kernel is doing the charging animation,
or selects the next boot image when pressing the keys (recovery, fastboot, normal boot, etc).
So my question is: when the phone is off and we press the power button is it the hardware
which starts the boot really from zero (from the boot rom) or at this point the phone
has already been finished with processing the boot rom, the preloader and loading
the little kernel as well which is watching the key press events?
It's not clear to me because I checked the source code of the little kernel as well
and there are some keyboard ckecking routines for example to enter to recovery mode.
Thanks in advance!
Cheers!

This should very well answer your question: What happens when I press the power button on my phone to turn it on?

Clarification
You're asking different things in each part of the post. The title asks "Does Android consume power when switched off?" but the latter part of the post asks "which is watching the key press events?", with a few different questions in between, which adds further distractions and confusions to the possible answerers...
Anyhow, I guess it all boils down to:  "Once an Android phone is turned off, what wakes it up to start a process in each appropriate situations?".
Backgrounds
To answer this, I'll have to take you to even lower level of an electronic device: hardware.
You may argue,

"What are you talking about?! A hardware is nothing when there's no software! Something HAS to be there watching the button input and I'm simply asking what that could be".

Be patient, please. Well get there soon.

"But...!"

Believe me. Besides, you might need to remind yourself of the definition of 'software' and 'hardware' now, since we're about to dive deep into such a low level.
I wonder whether you've ever played with an Arduino, those little boards that get clicky button inputs and put flashy LED outputs. A chip working as the brain in one of these devices* is called an 'MCU', or a 'microcontroller'. A computer - including Android devices - is equipped with a few of these. Every firmware/ROM chips, BIOS chips, or any programmable ICs is likely another microcontroller.
Simple Answer
These MCUs are quite simple compared to CPUs, but more robust and energy-efficient. For this reason, MCUs are often used to aid CPUs to set things up for them. How do they work? Essentially, they behave just according to how a firmware is programmed inside the ROM.
"Ha, so it's simply the Boot ROM, isn't it? You could have just said so!" Well, you'll have to know a bit more to understand better to get an answer for each of your oh-so-many questions.
Deeper Explanation
The keywords are interrupt and sleep mode (the terminology of the latter may vary).
(Wrong) Example
The firmware could be coded in a way that the chip would constantly be looking at the external inputs. However, this is not the ideal way. The chip will have to retrieve the state of a button, compare whether it's on or off, and then count up to 50ms or so to simply wait. Now back to retrieving the state, and so on. The poweroff state could last hours, days, or even years - all the while unbeknownst to the poor little chip is whether the moment for it to shine again would ever come...
Sorry, that was a little bit disturbing. The existential crisis is not the only problem though, if that helps. Even if the chip were to be actively working, each glancing costs valuable resource as well!
Interrupt
Interrupt works the other way round. It's more like giving a notification to the main computational part. An MCU with the capability, essentially every modern one, is prepared with a procedure where they could push away & forget whatever they were up to before, execute a specific function to respond to the interrupt signal, and then get back to the task they were doing before. This way, an MCU doesn't have to actively, repeatedly compute a retrieval & comparison set. In the case of a typical Android device, you could assign interrupt for [power applied/removed on the charger pin], [power applied/removed on the charger pin] and [power button pressed].
Sleep Mode
You may ask,

"Okay, sooo... now that MCU doesn't have to be burdened with that, it could happily sleep?"

HA! No.
...well yes. MCU could just sleep there.
Actually what I want to remark here is that, don't quote me on this but, what they sip when they sleep should be comparable to self discharge of a battery. At this point, there's so little software involved here that I would say those running at this point are all purely implemented in the hardware - but that's just my opinion and I don't consider myself expert enough to get you necessarily convinced.
Closure
So, basically, when in the poweroff state, Boot ROM is barely running that battery consumption is minuscule. When awakened, all it has to do is to call Preloader and/or to tell LK about what happened. I'm not sure of even deeper details; I have no idea but I'm willing to say it should be implementation dependent.
Clear Ups
I guess at this point, your main question should be answered.
Followings are answers to your other questions.

Does Android consume power when switched off?

No.
It is not any part of the Android OS ("Normal boot", you said) that consumes power.

Does Android consume power when switched off?

Yes but barely.
Note that there could be additional power consumption to run other parts, notably RTC (Real Time Clock) module.

But is the phone really off when we turn it off and the battery is inserted? I know that Android is really shut down but is the phone completely off regarding the software level?

No but almost.

when the phone is off and we press the power button is it the hardware which starts the boot really from zero (from the boot rom) or at this point the phone has already been finished with processing the boot rom, the preloader and loading the little kernel as well which is watching the key press events?

More like former.
Except Boot ROM is constantly running but barely.
Hope you got better idea about how everything works now!
*Note: Most Arduino boards have two MCUs, one in the center and the other to control the USB interface.

Good answer. But might have been better if it were a bit less funky and a bit straight-forward in answering.

@GokulNC Thanks for your feedback :) I will try to next time. Maybe Quora ruined me a bit there?


text:
Is possible to invoke an Android API without declaring the related permissions but with root access?
While reversing some malware, I have realized that despite they use an exploit that gives them root access, such malware declares a lot of permissions in the manifest.
Because (AFAIK) "normal" apps that require the su executable they still need to declare the permissions in the manifest, because the su command just launches a child process with elevated (root, in this case) access.
Android malware reversing isn't my full-time job, but in my little experience this is the most common pattern among malicious apps:

exploit -> root access
change permission or remount partition
steal data from other apps

Thus, my question is:
is possible to invoke an Android API (more precisely, the Java API framework) without declaring the related permissions but with root access?
I guess the answer is yes, but I think it's a twisted process, so it's easier to declare a lot of permissions (but it sticks out like a sore thumb).

Interesting question. Related: How to grant an app a permission that isn't in its manifest for audio recording?

The framework APIs do check for required permissions, so if you want to use those APIs, you do need the required permissions in the manifest. But of course, the root user can do any action regardless of permissions: it's just extra programming work to do the same low-level actions that the Android framework would do.


text:
How to get rid of these marks?

I'm 100 percent sure that it's possible because I managed to do it a few months ago, but now I do not know (don't remember) how to do it again. It looks like someone can help here.
Thanks in advance.

This should be in the keyboard settings, go to Settings -> Language and Input or similar.

It would help to know which keyboard app you are using (looks like Google Keyboard, but you can never be sure) and Android version on your device.

I'm using Android 6.0.

Matthew Read, your response isn't full, I knew about those settings, but I've not managed to find the settings allowing to change the appearance of the keyboard (I mean deleting these marks).

You can do by hiding the auto correction in android Keyboard Settings under Settings,
 (Click image to enlarge)

Else, Try as mentioned here.

Much obliged. It was helpful.


text:
Unlock phone to toggle wifi?
I have a galaxy s6 with Verizon on marshmallow, and every time I try to toggle wifi from the lock screen I am forced to unlock the phone. This isn't really a hassle, more of a minor inconvenience, but it doesn't make sense that Samsung would design the lock screen like that. I know the iPhone has excellent security, and it doesn't require the phone to be unlocked to toggle wifi, so this isn't a security measure. This also happened in lollipop. Thanks in advance for any ideas.

What Android version is that? On my tablet mit Android 5.1 I can swipe the lockscreen from the very top and get a menu to toggle various values, including wifi, bluetooth, orientation, brightness.

Actually, I would think that having to unlock the phone to change any setting especially disable connectivity is a security issue. What if your phone was connected to WiFi as a security camera? Someone could disable the WiFi and there goes your camera.

This is just the way Samsung chose to implement it... The quick toggle panel on most stock Android or near-stock devices is accessible without unlocking the device, although anything other than a toggle, such as selecting a different WiFi network, requires unlocking.
You would need to flash a custom ROM in order to get the desired result due to Samsung's customizations being so non-standard.

Try this!
Go to Settings>Lock Screen and Security>Secure lock settings and
Disable Lock network and security
Hope this helps! :)

Secure lock settings is the way as earlier mentioned.
I would rather everything except Torch is locked.  Sound can be turned off/on when phone is locked, and on some phones bluetooth as well.
Another thing I would like is (if phone went missing) to locate the phone WITHOUT the Notification "Device Located" popping up.  I rather who has it, doesn't know I'm on too them.

Download Next Lock Screen app and you can do that stuff without unlocking


text:
How to decrpyt & extract data from encrypted removable SD card from another device?
My Xperia z5 died for an unknown reason and I had to send it for repair. I had an SD card inside for my pictures and kept it home. After a longer time, Sony sent me a new phone. Happy, I put back my Sd card to see that the files were existing but are encrypted, the new phone not having the same setting.
I don't really remember setting the encryption but now its too late.
Now my question, I have several pictures saved on my computer unencrypted who are also on the phone. Is it possible to extract the key by comparision or is android encrypting the whole drive making it impossible to find the key when you have the original file at disposal?

In short, no. It's not possible, without having the old device. Why? Think of someone like your enemy, who wants to copy your data when you're not around. So, he removes your memory card and plugs it in his computer to read your data. Do you think he should be able to extract those data from your encrypted card? NO! That's the sole purpose of encryption. Once encrypted, without the key, it's just junk data inside.

Thanks you, that's fine there is no critical data on it anyway. But I was wondering how the encryption was working, whether it was encrypting each file with the key meaning that when i have the original file and the encrypted one, I should be able to get back the key or if android what encrypting the whole drive, meaning that when you delete one file, you loose everything.

Not possible without old device where key is stored (still no accessible without root AFAIK) p.s. that key is also wiped when performing factory reset.

@Thomas On portable SD cards, disk-encryption is performed, meaning that the entire drive is encrypted, not files individually.

authors: Једноруки Крстивоје


text:
How to block/disable Snapchat's in-app web browser?
In snapchat, if you type into a chat a website URL you can then access snapchat's browser. For personal reasons, I've taken the time to remove my phones browser via rooting so that I can't access the web. However, I really enjoy snapchat and don't want to have the temptation of using the internet at any point via snapchat.
I can't find any settings to block it. The only way I can think of blocking websites is via the hosts file, but it only works for individual sites; I want to have no access whatsoever via the snapchat browser.
Any suggestions on how to do this?

Bump. I really want an answer


text:
Telegram still knows my location after using a VPN
I connected to a VPN and turned off location but telegram still show my country in registration form. How this is possible?

To use any app, you still must use some connection point, which identifies itself when you use the network. Every bit of information on the internet identifies FROM/TO info for normal routing, even in generalized form.

there are different methods to get the user's current location in android. If you have turned off your location  it checks your last known location from your phone
Try changing your current location in maps by using/downloading FAKE GPS from play store.
Hope this helps.
Thank you

I used a VPN(Hola) to route through Switzerland and then I changed the location using Fake GPS Location - Hola to the same area the VPN was routed to (according to Telegram's check based on my IP). I also turned off my mobile data. I assume Telegram is keeping track of when the account was used where and then they just show the last location available in their database if the sudden change in location doesn't make sense.
Here you can see they got my location wrong:

Also when sending my location in a chat they show the fake location I set. Unfortunately, when searching for friends or groups nearby this is not the case.

If you are using a Smartphone with SIM card inserted and unlocked, Telegram can simply query the network operator info (which includes the country) of your SIM card.


text:
How to root Samsung J1 Ace?
I have tried with many apps but none of them help to root Samsung J1 Ace (SM-J110H).
Is there any successful method to root Samsung J1 Ace (SM-J110H) smart phone?

Did you try this?: (ROOT) (RECOVERY) Samsung galaxy J1 ACE - SM-J110H

is it is a rooting method?

Yes. Follow the instructions there.

how to decide that which file i want to download for my device cyanogen,cwm-6,3.0.0

Use the first one: TWRP

can i increase size of ram after root the phone

If your kernel supports swap memory, yes, you can. Else flash a custom kernel that supports it.

Download Odin, SuperSU.zip and twrp for the j110h. Then be sure to enable adb debugging and OEM unlock in developer options. Then reboot into download mode. Plug into PC start Odin, choose the correct twrp and click start and at the same time hold down vol up and home button, I'm thinking g when I flashed this recovery I had to hold the vol up and home while it appeared to restart a couple times but it did work. When twrp finally boots it should mount on the PC and then transfer the SuperSU zip and then flash it.


text:
Casper Via V6X Bricked. Can't Boot Into Recovery Mode
I've an Android device, Casper Via V6X.
The device is not booting. I get the vibration and see the logo of the device but then nothing happens. When the device is closed and plugged in, it shows that battery is charging.
I also tried to boot into recovery mode with Volume Up + Power, Volume Down + Power, Volume Up + Volume Down + Power button but still got the short vibrate and logo, then nothing.
I've tried to access to device through ADB but as I expected since the device is closed, my computer can't access the device so ADB always fails to connect to device.
Any suggestions?
Edit: Seems like device is bricked. I've found a ROM and some Qualcomm softwares and tried to connect to device. And then I've flashed it. The console logged that download was successfull and finished. The guides that I've followed claimed that if you see this message that means process is completed so you can run your device. But still, it's not booting.

I think you need to flash a ROM so the phone can boot up again.

Any suggestions with this? See my edited question please.

All my searches return results in Turkish, so I can't really help. Try searching for ROM and flashing guide

See if you can recognize the device through fastboot. adb only sees the device if you enable it in recovery or if the device is booted into normal system.

I've tried fastbook oem unlock and it said waiting for any device. Nothing happened.

You said you tried to flash stock rom, can you paste the link you followed? You also said you cannot boot to recovery, so I think you will need to flash stock recovery from the bootloader before you flash ROM.


text:
How to disable vibration from notifications?
I am now on Android version 6.0.1 on a Motorola Moto G (3rd gen)
I have the ebay app installed and prior to the update whenever I received Ebay notifications they would just silently appear on my home screen at the top (where all notifications go). However, since the update my phone now vibrates, which I don't want.
When I go to Settings->Sound & Notification->App Notifications->Ebay

"Block all" is not enabled
"Treat as priority" is not enabled
"Allow peeking" is not enabled

How/where do I disable vibrating for Ebay notifications?

You would need at least adb or root access for this to work. I'd describe the method for adb, since root access is not available or cannot be afford by just everyone.
Once you have adb setup and working with device, issue this command:
adb shell appops set --user 0 com.ebay.mobile VIBRATE deny

The notifications from Ebay app wouldn't vibrate your device anymore. If you want to treat other individual apps the same way, replace com.ebay.mobile with their package name.
If you have root access or can afford some inconvenience of having to connect the device to a PC every time former is restarted, try an app like App Ops.
(Click image to enlarge)

Appreciate your answer, but are you seriously telling me I cannot turn off vibration alerts due to this new Android? Isn't that a bit of a backward update?


text:
Add app shortcut to homescreen in Lenovo A7000
I have Lenovo A7000 with Android 5.0
I've accidentally removed Chrome shortcut from my homescreen. How can I put it back? I don't mean shortcut to a certain webpage, I really mean just shortcut for running Chrome itself on my phone. Now when I want to run Chrome I have to go all the way into the Settings-->Apps-->Chrome and click on Launch - that takes forever.
I need icon on homescreen back but there doesnt seem to be an obvious way of how to do it. When I hold on an empty space i get an option to "add or edit widget" and I can choose from dozens of predefined shortcuts and add them to homescreen. However there is NO chrome shortcut here, only bunch of other google services and other apps installed on my phone.
Help pls!

What launcher is it?

I dont understand the question. What do you mean by "launcher" in this case?

Go to your app drawer, long tap on Crome icon then you'll be able to place it on home screen.

If you mean this: http://www.beginandroid.com/appdrawer.shtml I dont have such a thing on my screen anywhere :(

Alright I installed App Drawer as an app - when i try to use to put Chrome icon on desktop by "create shortcut" it says "Shortcut Chrome already exists" (but it doesnt omg).

Aaaaand it works after restarting the phone - thanks man!


text:
ADB pulling files from /data/data fails due to symlinks. How to skip symlinks in ADB pull?
I can run
adb pull /data/data/com.xlythe.saolauncher/databases ./

or
adb pull /data/data/com.xlythe.saolauncher/files ./

and it works fine. However, if I try
adb pull /data/data/com.xlythe.saolauncher ./

It fails with the error:

adb: error: failed to copy '/data/data/com.xlythe.saolauncher/lib' to
  './com.xlythe.saolauncher/lib': remote No such file or directory

It happens because the lib folder is actually a symlink to /data/app-lib/com.xlythe.saolauncher
Now, if I wanted only com.xlythe.saolauncher I would just do it by hand copying one folder at time, but I want instead to pull all /data/data at once.
So I need a way to tell ADB to just skip symlinks instead of failing the copy.
Any hints?

Method 1:
If you're okay with getting the output file as a .tar archive, try this command:

adb exec-out tar c data/data > data_backup.tar

Make sure to omit the leading / in your path. (Source)
Method 2:
If you want to copy file-wise, use the following script written by me:
#!/bin/bash
## Run as: ./filename.sh <source_folder> <destination_folder>
## If no <destination_folder> is provided, it's stored in current directory.

location=$1
if [ -z "$2" ]
  then
    destination=.
else
  destination=$2
fi

## Find the full path of all the files in the given directory, and retrieve each file one by one

while read line
do
  ## Create the directory where the file will reside, by removing the filename alone from the fullpath.
  ## Thanks to https://stackoverflow.com/a/9022471/5002496
  mkdir -p $destination"${line%/*}"
  adb pull $line $destination$line
done <<< `adb shell find $location -type f`

## The find binary in Android doesn't seem to show symlinks when '-type f' option is used.
## Source: https://stackoverflow.com/a/16303559/5002496

Save it as adb_pull.sh, run chmod 777 adb_pull.sh and run it like:

./adb_pull.sh /data/data data_backup

All the contents from /data/data from Android device will be stored into data_backup folder.
(Note: DON'T specify the source folder like /data/data/ with an additional / after the folder name)
Tested and working on my Ubuntu 17.04, using an Android 7.1 device.
Note: To access /data partition completely via ADB, you need to run adb root. (more help..)

+1 I had to join this site just to give an upvote to this answer (Method 1) which really helped me. :)

Creating a tar archive may fail because of combining stdout and stderr. Try adb shell 'tar -cf - data 2>/dev/null' | gzip -9 > backup.tar.gz instead.


text:
Display bound manipulation on an android device, to avoid faulty touchscreen area
I have a Oneplus 3T on which, the digitizer would not register a touch on the bottom 1cm of the display. I tried the adb shell wm overscan 0,0,0,100 command to set display margins, and it breaks a lot of apps (even after restart). The margin seems to scale differently to different apps. So, I used the adb shell wm size 1080x1820 (original resolution: 1080x1920) command to set the height 100px less. Unfortunately, it shrunk to the middle, and there are 50px padding on the bottom as well as the top. But, all the apps are working well. Is there a way to shift ("translate") the display upwards on y-axis 50px, so that all the extra padding is on the bottom? If not, are there any other ways to achieve the same intention (to shrink the display to the usable area)? I can't find any comprehensive list of all the adb commands anywhere...
PS: I've tried activating on-screen navigation to offset the display, but on Oxygen OS 5.0.3, it also disabled the hardware buttons.
Edit:
The instructions I followed were from these questions question 1 & question 2. But it didn't help.
Edit 2:
Current device display configuration:

Here are a few screenshots to show what went wrong with the adb shell wm overscan 0,0,0,100 method. There is an empty space at the bottom of each of these app windows and they are different for each of them as well.

Did you correct the display density after using overscan command? I  once noticed that not correcting it caused some apps to crash.

The problem after the overscan method was odd. The actual margin of 100px is just about 6-7mm at the bottom of the screen. But in each of the app, the margin seems to be at different height from bottom. When I open Whatsapp, there was a 1cm blank white area at the bottom additional to the 100px overscan. But in the OOS settings, that white area was just 5mm. It seems to me that the margin is scaled differently to different apps. PS> I did always use custom font & dpi for the phone. Is there a particular criteria that I need to know calculating the dpi?

I don't have a criteria either. I used trial and error to find a DPI that could work with changes made with overcan, back when I posted that answer. BTW, you might want to look into logcat's output to get more info on why the apps are crashing.

The apps aren't crashing, just the bottom bounds of the active region of the apps are a little higher than expected.


text:
How to flashing bootloop Samsung Grand Prime SM-G530H with USB debugging Mode is disabled
i need your help..
my device bootloop.
Stuck in Odin mode.
Product Name: SM-G530H/DS
Current Binary : Samsung Official
System Status: Custom
here'e some information about the device and the tools:

debugging mode : disabled
root status : Unroot
Firmware : Official KitKat 4.4.4. G530HDCU1AOF1 (Indonesia)
Windows 7 SP1 32-bit
Samsung-USB-Driver-v1.5.63.0
Odin 3.04, Odin 3.07, Odin 3.1, Odin 3.2, And Odin 3.3 patched.
Root file for Sm-G530
Official firmware file SM-G530 all version and Indonesian version.
TWRP file for SM-G530

And then I try to :

wipe data/ cahe in recovery mode(Press power+volume up+home), the result is none...
root device via Odin, failed.
Install TWRP via Odin, failed
Flash via odin with some firmware ( HDC, HXX, HXC) the result also failed..

When i try to root or install TWRP or flashing with stock rom Odin displayed same error log:
=======================
 File analysis..
 SetupConnection..
 Initialzation..
 Get PIT for mapping..
 Firmware update start..
 SingleDownload.
 aboot.mbn
 sbl1.mbn
 rpm.mbn
 tz.mbn
 hyp.mbn
 NON-HLOS.bin
 sec.dat
 boot.img
 FAIL! (Erase)

 Complete(Write) operation failed.
 All threads completed. (succeed 0 / failed 1)
=========
Now, after i repeate to Flashing with root file, flashing with stock rom official then i cant access to recovery mode (Press vol up+home+power) anymore, just stuck in Odin Mode like as i just switch on the device..always displayed "Firmware Upgrade ecountered an issue. Please select recovery mode in Kies & try again."
If the USB debugging mode is the problem for this case, so what can i do to fix it?
I found this and i trying, but im still fail to follow the instruction.
https://www.isrgrajan.com/how-to-enable-usb-debugging-in-android-using-recovery-mode.html
Anybody can help me to fix my case?
Here's some Error pictures..

![flash official rom all version]
Flashing Official firmware with 4 files All country
(https://i.sstatic.net/MrOkU.png)

Flashing Official firmware with single file Indonesian version
(https://i.sstatic.net/2v6vC.png)

Installing TWRP

(https://i.sstatic.net/usJSu.png)
Rooting

Comments are not for extended discussion; this conversation has been moved to chat.


text:
After upgrade to lollipop, LG D415 grays out "Enable USB Debugging" when phone is connected to PC
I've linked this phone to the same PC many times, but since upgrading to lollipop (5.0.2), my phone is not recognized (in adb devices) when I connect.
When I look in "Developer Options", "USB Debugging" is ungrayed when I'm not connected to my PC, and I can toggle it, but when I connect to the PC, it changes to gray.  It changes to gray whether it was enabled or not before connecting.
If I choose MTP as my connect type, I do see my phone's file system from my PC, but there's still no "USB Debugging" link.
Trying to follow the directions on http://developer.android.com/tools/extras/oem-usb.html to connect a driver to this device, when the phone is connected, I don't see "Other Devices" in the list under "Device Manager".
My PC is running Windows 7.  My carrier (who pushed the upgrade to lollipop) is T-Mobile.
I've already tried:
 - updating all the software in SDK manager.
 - installing a driver from the phone's "pc software".
 - downloading and installing a driver.
This also fails in the same way from one other PC we have at our company that is used to set up very many other phones.

I had to connect as a camera (i.e. pick "PTP" from the item in the drop-down menu option you get when a phone is connected) to get the device to show up in Device Manager (it showed up near the top under Android Devices).  From that point, it was standard: right click on the entry under Android Devices, select "Update Driver Software", click "Let me pick from a list of device drivers on my computer", then pick "Android ADB Interface" under "Google, Inc." as the manufacturer.
I had previously tried (several times) connecting charge-only and "MTP" and the device didn't show up under Device Manager.  It looks like I always need to connect as PTP; MTP and "debug only" still leave my device invisible to adb devices.

authors: ᜋᜇ᜔ᜃ᜔ ᜀᜎ᜔ᜎᜈ᜔ ᜁᜐ᜔ᜃ᜔ᜂᜊᜒᜂ


text:
How to check my phone hardware specs on Android terminal emulator
I was wondering if there is a command to check the hardware specs of my phone. I just installed the Android terminal emulator. I've tried the 'lshw' but it does not work. Thanks in advance.

You can enter getprop to get info about device. Or, you can do cat /system/build.prop
If you've root access then you can enter su and then  dumpsys | less to get the name of the services which can give more info about some specific things such as battery. See this answer to know more.
On a non-rooted device, you can do adb shell dumpsys | less provided that adb is running in wireless mode and your device is connected locally in loopback mode. See this answer for more info.

There are some bits and pieces under /dev, /proc and /sys but I can't get a hold on a central point like lshw.

And dumpstate has too many things to figure out.