text:
Root Nexus 7 with 4.2.2
I'm trying to root a Nexus 7 with Android 4.2.2 (1st generation). I am following instructions here:
http://honai-android.blogspot.com/2013/06/how-to-root-nexus-7-on-android-422.html?showComment=1377379346836#c8791363668077143555
I get to Step 4 in which it says to wait until windows has finished installing drivers. I am on OS X. The Nexus 7 is in fast boot mode. It has an image of the green Android lying on its back with a panel open, in the upper right is "Start > corresponding to the on/off button" and just below that up and down arrows corresponding to the up/down volume buttons. I plugged in the USB and nothing happens, ie no indication of drivers being installed.
I watched this video:
http://www.youtube.com/watch?v=V0MyTvgfO7s
Which was somewhat helpful. Following the instructions enable me to see that the Nexus 7 was connected to the Mac in fastboot mode.
So I continued on to step 5, Running root-mac.sh resulted in this error in the terminal window:
... FAILED (remote: (Nv3pBadReceiveLength))
downloading 'boot.img'... FAILED (unknown status code)
Then from here [GUIDE][MAC/PC/LINUX][4.2] Unlock, Root and Flash Recovery at Android Central (sorry it won't let me put 2 links), I did the commands:
./fastboot-mac oem unlock
./fastboot-mac oem reboot
It did a clean install and reboot, but it is not rooted. When it was rebooting, the padlock icon was showing that it was unlocked. I test for root by trying to run the app Z-ScreenRecorder, which required root access.
I got it. After the unlock and reboot commands, then I went back to the original instructions and ran CF-Auto-Root-grouper-nakasi-nexus7/root-mac.sh.
Now the Z-ScreenRecorder app starts.

If you want to unlock the bootloader, root and add a custom/stock ROM, then you want to use Wugs Toolkit for Nexus. (Try to borrow or use a Windows PC or laptop, its not for OS X)
Here is XDA forum link:
http://forum.xda-developers.com/showthread.php?t=1766475
Here is the download link (this is for Windows, not OS X)
http://www.wugfresh.com/nrt/
Its pretty self explanatory, but try to read it all anyway.
As far as I know there isn't a version for OS X
I have used this method on my 2 Nexus 7s and my friends Nexus 4 & 5!!!
Happy rooting everyone!!!!

If I was wrong about OS X having a version,  my bad.

Try to install framaroot, it's support many devices :) :)
http://forum.xda-developers.com/showthread.php?t=2130276

The Nexus 7 is not on the list of compatible devices, though.


text:
Switch sim cards?
Up to about 3 weeks ago, I had a Motorola Moto X running Android 5.1 with Verizon/CDMA . Then I switched to a Nexus 5 running Android 6 with Ting/GSM. The Ting service is terrible it turns out, so I am probably going to switch back to Verizon. I do like the Nexus 5 much better than the Moto X. Can I use the CDMA SIM Card from the Moto X in the Nexus 5 on my switch back to Verizon?

The Nexus 5 does not support CDMA or the proper LTE bands for Verizon service, if you have the Nexus 5x it will work but not the original Nexus 5.

source: Stack Exchange

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

sort: votes


text:
Place icons anywhere on Droid Maxx
I have a Droid Maxx. Unlike any other Android device I've had, I cannot place app icons anywhere on the screen. They fill in towards the bottom of the screen, just like iOS.
Is there an option to turn this off?
Failing that, is there an invisible icon app to use to fill in?

Long press the icon of the app and move it?

It slides back down when I do that.

Do you use any kind of launcher?

I do not use a launcher

Could you make a screenshot of display settings?

added screenshot

Long hold on the app icon, and drag it to the remove button the appears on top of the screen. This will put it in the app drawer, but it will stay on the phone.

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


text:
ADB version of these terminal emulator instructions?
I have the "Insufficient storage" bug on my Moto G X1032. This answer fixes it with the terminal emulator app, which i can't install.  They recommend performing the following commands in adb if that's the case. These commands aren't working, so i assume ADB uses different equivalents. Hopefully you can translate:
"After browsing around, I found out that the cache folder (that I assume used by the market) is using small partition (around 20mb in my case). So to solve this we need to change it to bigger partition.
You gonna need Android Terminal Simulator or equivalent terminal app. This will also require your Android rooted."

su                                    // Root permission request will be shown: you need to approve it.
cd /
umount /cache
mount -o rw,remount -t rootfs rootfs  // To set the folder access to rw – read and write
rmdir /cache                          // Delete cache folder. I'm personally using root explorer to do point 5-6.
mkdir /sdcard/cache
ln -s /sdcard/cache /cache            // To link cache folder to /sdcard/cache – which should have bigger partition size

(Text next to // indicates a comment above. Text before // is the command to be used.)

You can use all these commands, if you run adb shell before you enter them.

rmdir /cache returns device or resource busy.

Hmmm, I never had such an issue. Probably some process is accessing the folder constantly. Remember that /cache is a link to a device and not a regular folder.

I stopped every process i could, but still nothing.

I've also turned off all background processes in developer options.

Well, it's Android itself. If you can boot into recovery, you can easily select wipe cache  and simply wipe the cache like that, without those commands. Also: Are you sure you ran umount /cache successfully? Otherwise it's no wonder why the device is still in use.

Huh. Now i'm getting failed: Invalid argument in response toumount /cache.

You probably cannot do that with the device "fully booted up". Try booting into recovery mode and see if the device is detected by ADB then (not all recoveries do support it).

You can NOT remove /cache, it is a partition mounted at /cache. You can try manually flushing cache by running     rm -fr /cache/*

rm -fr /cache/* is accepted, but ln -s /sdcard/cache /cache returns ln: /cache/cache: Read-only file system. Maybe it's because my X1032 has no external SD card?


text:
Work around on an unrooted LG 4
Had a rooted phone for years til and LG update bricked my last phone. Now I had to upgrade to an LG 4 ( Sprint is my carrier BTW) Problem is... I can't find the setting to enable USB debugging, nor, does it appear, that I can unlock the UICC. I like the phone so this isn't really a problem, but, I hate having the bloatware. (ie I would rather access facebook via the browser than keep this data-eater on my phone. Does anyone know how to work around this block so that I can remove the unwanted bloatware without rooting the phone?
Thanks in advance.

Is your Facebook app a system app? You can't uninstall the System app without root access. What is your Android version?

Hi! Please note that this is not a forum but a Q&A site, so you need not to add any indication that an answer is found or this is a question or similar things. I've rolled back to original question for the moment.

I thought about posting this as an edit, but I feel an answer will better suit the community. Here is what I found.
To unlock the developer options on an LG4 Go into settings... about phone..Software info. Finally, tap "Build Number" 7 times. Now back out to the main menu and there will be a choice for Developer Options. From here you can enable USB debugging and enjoy all of the other tools available. Rooting the phone from this point is easy.


text:
Is it possible to install pure Android on any Android phone?
As the title says, is it possible? What is AOSP (Android Open Source Project)? I want to install a pure Android operating system, nothing else. Full control (root access), no bloatware and all.
Is there any possible way, as Android is said to be an open source, so why we are bounded by these restrictions?

For your goal: that's called a custom ROM.

Depends whether there is a ROM of the kind you are looking for available for your device. AOSP is simply Google's source code for pure stock android, with no modifications whatsoever.


text:
Make Titanium Backup work across multiple user accounts
I'm using CyanogenMod 12.0. I have installed Titanium Backup in primary user account.  I have an another user. I tend to let the other user have apps like Facebook, WhatsApp, some games, etc., while letting the owner for maintenance of the device.
The owner has root access while the other user doesn't, so I can't use Titanium Backup as the other but I need to make backups of the other user's apps.  Titanium Backup only lists the apps installed under the primary user account.
So, how to make backup of apps installed in a secondary user account, using Titanium Backup?
Note
I know there exists other backup options but I want to use Titanium Backup (one day or another I'll have to).
If there are other ways besides "using SuperSU instead" I'd appreciate it.

Can CM's root option not be enabled for secondary accounts?

@MatthewRead sorry But I didn't find anything like that in the settings, All what I found is Developer Options -> Root access where I can disable it completely or allow only ADB or allow only apps or both.


text:
Why 'am start PACKAGE' cannot launch some apps and shows an error?
I keep having an error trying to start some apps using am start command. It works for many, but for some apps I get the same error mentioned below:

#adb shell am start com.amazon.venezia
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=com.amazon.venezia }
Error: Activity not started, unable to resolve Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.amazon.venezia }

#adb shell am start com.whatsapp
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=com.whatsapp }
Error: Activity not started, unable to resolve Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.whatsapp }

Just to add on. I can manually tap on the apps and turn them on but in using $ adb shell am start _____ gives that same error for many apps. It seems to give the error when the Package Name is COM.____ but if it is something else the ADB START works

I thought it had to do if the Package Name started with COM. but that doesn't seem to be related. Same error for many apps

In case you need to start an app  using only its package name, you can use this alternative: monkey -p PACKAGE 1

So the command would be something like $adb monkey -p com.whatsapp   ?? I tried also $adb start monkey -p com.whatsapp  .....I can't seem to get that command right :/ (syntax wise). Thank you for your reply :)

The command would be adb shell monkey -p PACKAGE 1.  This trick used to work well. Now it is acting funny in Android 6.0.1 for some reason.

IT WORKED! Your the best...  but it opens the app but gives this output (what does it mean):  Events injected: 1
Network stats: elapsed time=118ms (0ms mobile, 0ms wifi, 118ms not connected)

You can read about monkey here: http://developer.android.com/tools/help/monkey.html. It is  a trick I learned from some answer on [so] sometime ago.

Interesting stuff, thank you for sharing it was educational. Do you why the orignal error above was even appearing and why this command is needed instead? It's just wierd it isn't for all apps but only about half of them experience this.

I do not know. I would have provided a formal answer if I knew the reason. Time doesn't permit me to find out the reason either. Sorry!

No worries was just wondering and really appriciate your help. If you don't mind me asking? I read the link but don't fully under the "event-count". You showed above that I should use "1. "I guess the -p allows it to run one package name but what does the "1" mean and increasing it by more do anything? I can't seem to see any difference when testing.

am start isn't working for those apps because they don't have a "default" Activity that handles action.MAIN.  You could try to inspect their manifest file (inside the APK) to determine a specific activity to start.

use this:
adb shell am start -n com.whatsapp/.HomeActivity

While this might answer the question "How to start WA via ADB", that was not what the OP asked (though it might be implicated). Could you please [edit] your answer and add some explanation?

authors: Михаил Комаров


text:
Device can only boot into download mode
I have rooted my Straight Talk Samsung Galaxy Grand Prime (SM-S920L) running with Android 5.0 and while trying to load TWRP recovery I messed up with my device and  now, I can only get into download mode.  It says "Set warranty bit : kernel". Samsung's website doesn't  list my device and it turns out to be a model Samsung makes for the TracFone network, so I am at a dead end.  Using Odin I have tried other firmware with no luck and Samsung Kies is also of no use.
What can I do now to get my phone working again?

First google search hit sent me to: http://forum.xda-developers.com/grand-prime/development/repo-twrp-galaxy-grand-prime-t3048842

Please see: Where can I find stock or custom ROMs for my Android device?

@Rexford That looks like it is only for the SM-Gxxx variants, I don't think OP should try it.  Scotty: I found this thread which claims to have a cobbled-together ROM that will work if you flash it via Odin.  I can't find stock firmware anywhere.

You need to reinstall the Samsung drivers from kies then go install odin on pc then download the stock recovery.tar it must be the .tar or it will not work with odin. Then open Odin on pc then plug in phone then click the AP button in Odin then select the .tar file and hit run. All is good.


text:
Screen resolution vs. image resolution
I have a question about pixels and screen resolution of an Android device.
The app I developed was at the time when Samsung Galaxy S III was new. The images for my app had a resolution 2310x1300 (ratio 1.777 to fit screen). Samsung Galaxy S III has a resolution of 1280x720. I chose a higher resolution to have some margin for future devices with larger screens and higher DPI.
But that's not enough these days - Galaxy S6 has a resolution of 2560x1440, that is far higher than the resolution of my images. So I thought that the quality of the images for such a device would be deteriorated since the resolution of the images is lower than the resolution of the display. But when testing the app for the Galaxy S6 I cannot see any differences right now - the images scaled for the new device (image resolution of 2310x1300 used in a device with 2560x1440) is at least as good as for an older device with lower resolution.
Have I completely misunderstood how dpi and resolution works?
The images resources are under the /res/drawable/hdpi folder.

Googling could have possibly helped- from sister site Super User - Screen resolution vs image/video resolution

Can anyone explain how is this relevant to an end-user? DIP (not DPI) and resources are something an end-user wouldn't be bothered with, unless modding an APK.

As mentioned in @w3dk 's answer, you can't see any difference because you can't see any difference. As in, your eyes literally can not differentiate between the detail of the picture on either the Galaxy S3 and the Galaxy S6, because in either case, the picture resolution comes close to the eye's limit of resolution (the minimum angular separation of 2 distinct points/objects from a particular distance of observation for which they can be discerned to be distinct from each other). What I will address here are some of your concerns as a developer.
The S3 was a xhdpi device, so any apps on it will use image resources in the /res/drawable/xhdpi/ folder. The S6 is a xxxhdpi device, and so any apps on it will use the resources in the /res/drawable/xxxhdpi/ folder by default, but fall back to the next lower resolution if the requisite folder is not available, utilizing fast image scaling to show the images at the required abstract resolution (dip (device independent pixels), not pixels) (dip are hardware-independent, pixels are hardware-dependent).
You are correct in assuming that image quality should have deteriorated under normal conditions, but your images are in fact pretty high-resolution, and combining that with some downscaling on-device for the S6, you actually get a similar quality image as on an S3.
Why do I say downscaling even for the high-resolution S6? Simple. You're probably not using the whole screen to display the image, and probably what dip resolution you specified maps out to less than 2310x1300 real hardware pixels, so the image is downscaled.
Contrary to what one may think, downscaling from a high resolution source actually increases image quality, and upscaling from a low resolution source decreases it on final display, given the same final display resolution and similar (except in resolution) source images. Here is my source about scaling as regards image quality.
As @DanHulme succinctly put it:

"An image which has been downscaled from a high-resolution source will look better than one which has been upscaled from a low-resolution source."

A followup on the quote: Assuming your scaling algorithm is good-quality. Whatever you do, don't use nearest-neighbor!

@JAB I prefer bicubic where possible.

But isn't Galaxy s3 rather a xhdpi device than hdpi? According to developer android xhdpi (320 dpi) is closer to 306  dpi than hdpi (240 dpi). And furhtermore - I changed folder for my images from hdpi to xhdpi and two things happended 1) images a bit crispier 2) the images loads faster. http://developer.android.com/guide/practices/screens_support.html

Oops. I'll correct it.

Displaying a smaller image than the device is capable of is not going to "deteriorate" the quality of the image, it's just not going to be as good as what the device is capable of. The example image (2310 x 1300) you state should certainly appear "better" on the S6 than the SIII since the image is larger than what the SIII can display so must be scaled down. The S6 is capable of displaying all the image.
The fact that you cannot see the difference is probably simply down to your eyesight. Between 306ppi (SIII) and 577ppi (S6) and depending on the type of media being consumed, the average human at average viewing distances is probably not going to be able to tell the difference. 577ppi is getting close to what the human eye is capable of differentiating (at 4 inches)!

Upscaling an image can reduce the quality of it, by making sharp edges blurry, and sometimes by sampling artefacts, but this is only a concern for "synthetic" images (logos, screen layouts), because photos don't tend to have those sharp single-pixel edges anyway.

@DanHulme , precisely what I pointed out in my addend answer.

@DanHulme Although when upscaling on a very high (577) ppi screen any blurring is going to be negligible and probably not discernable to the average human eye.

OTOH, if you did start out with a, say, 640x480 image, it would look very bad indeed on a 2K display, far worse than how it would look on a HD one. There is the amount of upscaling to consider. Blurring will be heavily noticeable, and if the scaling isn't smooth, you can end up aliasing (jaggies).

How many Android games are upscaled and look horrendous on a 2K display is a topic for another time.


text:
How to reset a device to factory settings when it is stuck at boot animation
I have a Lava Iris X1 running Android KitKat 4.4. The device remains stuck on  boot animation during boot.
I have several questions:

Can I perform a factory reset to fix this issue? If so, how?
Will doing so affect the normal operation of my phone?

I don't have any backup but I don't need any of the apps or data in my device.

Can I perform a factory reset to fix this issue?  If so, how?

Yes, of course. Follow the tag wiki of recovery-mode to know the various key combinations. One of them would help you to boot into your device's recovery mode. Most likely, it would either be Volume Up + Power button or Volume Down + Power button. When the device is turned off, long-press them simultaneously for few seconds until the device starts to boot. If you successfully boot into recovery mode, you would see an option to wipe data or factory reset. Use it.

Will doing so affect the normal operation of my phone.

Under normal circumstances (that is, device is not flashed by user other than through OTA), after factory reset the state of the software in device would be same as having it bought from a shop. No user data to be found anywhere - that includes your contacts and all user installed apps as well.


text:
Boot-loop after flashing custom ROM. What went wrong in procedure?
I tried to flash a custom ROM on my old  Samsung GT-I8190N. It's the first time so I need some advice. The steps I followed are as follows:

I downloaded the ROM zip file Jellybean 4.1.2 (CyanogenMod 10) 20130727
I installed Heimdall on my Ubuntu 14.04 machine
I turned on the device on Development mode with Volume Down + Home + Start Button
I connected the device to my Ubuntu machine
I ran in terminal heimdall detect and got back the message 'Device detected'
I ran the command heimdall print-pit and I got the list of ROM partitions
I extracted the files included in the ROM zip file and got the following files and folders:

folder 'META-INF`
folder 'system'
file boot.img

As I did not know how to flash the ROM I checked some tutorials. I then checked the PIT file and noticed that there was a file called boot.img in the partition called kernel. So I decided to flash the ROM in that partition.
I navigated to the folder where I unzipped the ROM zip file ran the command heimdall flash --Kernel boot.img
the device rebooted but went into a boot loop

I know I did something wrong and I would like to know if I can still fix the problem. In particular I would like to know in what partition I should flash the boot.img file that I get from the ROM zip file.
When I start the device in Development mode I now get the following info:

ODIN MODE
Product Name: GT-I8190N
Custom Binary Download: Yes (2 counts)
Current Binary: Custom
System Status: Official

When I run the command heimdall print-pit I get the following output:

Heimdall v1.4.0
[removed irrelevant info]
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Initialising protocol...
Protocol initialisation successful.

Beginning session...

Some devices may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device's PIT file...
PIT file download successful.

Entry Count: 25
Unknown 1: 1598902083
Unknown 2: 844251476
Unknown 3: 28519
Unknown 4: 25708
Unknown 5: 28261
Unknown 6: 0
Unknown 7: 0
Unknown 8: 0

--- Entry #0 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 1
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 0
Partition Block Count: 256
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MBR,GPT
Flash Filename:
FOTA Filename:

--- Entry #1 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 2
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 256
Partition Block Count: 768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MasterTOC
Flash Filename: STE_boot.bin
FOTA Filename:

--- Entry #2 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 70
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 1024
Partition Block Count: 2048
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PIT
Flash Filename: goldenxx.pit
FOTA Filename:

--- Entry #3 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 71
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 6144
Partition Block Count: 2048
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MD5HDR
Flash Filename: md5.img
FOTA Filename:

--- Entry #4 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 3
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 8192
Partition Block Count: 1024
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: STEboot1
Flash Filename: STE_boot1.img
FOTA Filename:

--- Entry #5 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 4
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 9216
Partition Block Count: 1024
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: STEboot2
Flash Filename: STE_boot2.img
FOTA Filename:

--- Entry #6 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 5
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 10240
Partition Block Count: 1024
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: Dnt
Flash Filename: dnt.ssw
FOTA Filename:

--- Entry #7 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 6
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 11264
Partition Block Count: 1024
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: reserved
Flash Filename:
FOTA Filename:

--- Entry #8 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 7
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 16384
Partition Block Count: 2048
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CSPSAFS
Flash Filename: cspsa.img
FOTA Filename:

--- Entry #9 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 8
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 18432
Partition Block Count: 2048
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CSPSAFS2
Flash Filename: cspsa2.img
FOTA Filename:

--- Entry #10 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 9
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 20480
Partition Block Count: 32768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: EFS
Flash Filename: EFS.img
FOTA Filename:

--- Entry #11 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 10
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 53248
Partition Block Count: 32768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: ModemFS
Flash Filename: modemfs.img
FOTA Filename:

--- Entry #12 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 11
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 86016
Partition Block Count: 32768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: ModemFS2
Flash Filename: modemfs2.img
FOTA Filename:

--- Entry #13 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 12
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 118784
Partition Block Count: 102400
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: Fota
Flash Filename: ssgtest.img
FOTA Filename:

--- Entry #14 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 13
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 380928
Partition Block Count: 128
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: IPL Modem
Flash Filename: ipl.bin
FOTA Filename:

--- Entry #15 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 14
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 385024
Partition Block Count: 28672
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: Modem
Flash Filename: modem.bin
FOTA Filename:

--- Entry #16 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 15
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 417792
Partition Block Count: 4096
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: Loke4
Flash Filename: normal.bin
FOTA Filename:

--- Entry #17 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 16
Attributes: 2 (STL Read-Only)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 421888
Partition Block Count: 4096
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: 2ndLoke4
Flash Filename: normal2.bin
FOTA Filename:

--- Entry #18 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 17
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 425984
Partition Block Count: 32768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PARAM
Flash Filename: param.lfs
FOTA Filename:

--- Entry #19 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 18
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 458752
Partition Block Count: 32768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: Kernel
Flash Filename: boot.img
FOTA Filename:

--- Entry #20 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 19
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 491520
Partition Block Count: 32768
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: Kernel2
Flash Filename: recovery.img
FOTA Filename:

--- Entry #21 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 20
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 524288
Partition Block Count: 2457600
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SYSTEM
Flash Filename: system.img
FOTA Filename:

--- Entry #22 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 21
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 2981888
Partition Block Count: 1720320
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CACHEFS
Flash Filename: cache.img
FOTA Filename:

--- Entry #23 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 22
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 4702208
Partition Block Count: 655360
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: HIDDEN
Flash Filename: hidden.img
FOTA Filename:

--- Entry #24 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 23
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 5357568
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: DATAFS
Flash Filename: userdata.img
FOTA Filename: remained

Ending session...
Releasing device interface...
Re-attaching kernel driver...


text:
Grant an app write access to external storage that does not request it?
I would like to grant the Syncthing app write access to external storage in Marshmallow.  The app does not request it explicitly (unlike other apps that seem to use the Storage Access Framework to do so).
In the app permissions screen, there is no permission listed for external storage, only for 'storage' (which seems to mean internal storage).  So there does not seem to be any direct way to grant this permission.
My phone is rooted and I could just run Syncthing as root - but this option creates many problems and sometimes results in the app hanging indefinitely.
Is there any other way around this problem?

This appears to be an XY problem. Your problem is X and you think Y is the solution so the whole question appears to be about doing Y instead of solving X. // If your apps hangs, then contact the developer and seek assistance from them. Note that you cannot grant a permission which has not been requested (actually you can but it wouldn't achieve anything) by an app.

I appreciate your point. However, it would 'achieve' something in the sense that the app is perfectly capable of writing to these folders and in fact is attempting to do it.  Android is blocking it from doing so.

Other permissions can be granted without being requested - for instance, using the earlier app ops apps in earlier versions of Android (when rooted), or granting permissions in the current settings screen. The problem is that this permission is not listed.

@ShankarG The permissions an app will request access for when it is being installed is defined at its androidmanifest.xml file that is stored under the base.apk file which can be found at /data/app/<app's package name>

I'm not sure if the link you provided is for Android, but if what you're using is Wrapper of syncthing for Android, then it's already requesting writing to external storage permission

And I think the relevant bug report on GitHub

You could manually add the related permission to write on external storage to AndroidManifest.xml but it won't work.
I found myself in a situation similar to yours, and I also tried to decompile the app, add the WRITE_EXTERNAL_STORAGE permission request to the AndroidManifest.xml and recompile the package, but it didn't work.
Since Lollipop, Android's new policy concerning the external SD requires any app which needs access to the above-mentioned to use the DocumentProvider interface. Unless you prefer to work in Smali, there's no way to implement it without the Java source code. Just editing the Manifest is not enough.
So, no. There's no way to manually add a working WRITE_EXTERNAL_STORAGE permission, neither in Lollipop or in Marshmallow. Your only choice is to ask the dev to implement it.

I do this for the AMAZING terminal app Termux which for reasons that I do not understand also does not request this permission.
The procedure is rather complicated, involving copying and editing an xml file manually, and puts you at risk of preventing your system from booting.  You'll also need to do it again every time the app updates.  I guess if you use an editor that has root access you wouldn't have to worry about the copying part. Hmm.  Maybe I should do it that way too, actually.
The following are the steps I use to fix perms for Termux.  You'll have to adapt them to work for your app.  They should probably be the same except for the full app name.
If you're not familiar with XML you should be suuuper hesitant to try this as you'll probably render your phone unbootable if you make an error.

Make sure you're not updating apps (turn off auto-update) or doing anything else which could result in modifications to the packages xml file while you're editing it.
Start a session in Terminal Emulator.  su - in this session to give yourself root permissions.
cd /data/system
ls -l packages.xml

write down the permissions and ownership of packages.xml.  They will be essential later.
When I did this ten minutes ago, these values were still -rw-rw---- system:system as they have been for the however many years I've been doing this.  Might be different on a different type of phone.

cp packages.xml packages.xml.orig to make a backup copy of this very important system file
cp packages.xml /storage/emulated/0/tmp, or some other location depending on how your phone's file system is laid out.  If that directory doesn't exist, just create it.

Now edit the file whichever way you prefer (I use vim under Termux, but use whatever text editor) to make the following change:

Find the second line containing /name="com.termux"/.  It should be a shared-user tag (i.e. a line starting with <shared-user)

For your app this might end up being a different line containing the full name of your app, depending on whether your app has an entry in the earlier section in this file.  There might also not be a permissions entry for your app, in which case you'll have to make one from scratch, I guess. I would think this would probably be okay but I really don't know; you might cause system issues by doing so.  Caveat emptor.  But yeah if you find this node for Termux and copy it and paste the copy below Termux's entry that would probably work.

Copy the last <item ... /> line and paste it right underneath.
Edit the pasted line to change the permission (currently mine has WAKE_LOCK) to read WRITE_MEDIA_STORAGE.
so the last node within the <perms> node should be

<item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" />

Save the file and exit your editor and go back to your Terminal window (where you still have a root session running in /data/system).

cp /storage/emulated/0/tmp/packages.xml .

Use cp here and NOT mv as mv doesn't set the permissions correctly.

VERIFY that the permissions are the same as they were when you started.  This is VERY IMPORTANT because the phone won't boot if the perms are wrong.  I did this once and managed to rescue it somehow, I forget how.

At this point you should be good to reboot.  It's probably prudent to do a diff packages.xml packages.xml.orig1 or whatever to verify that you made the change correctly.
After you reboot your app should have write access to the external SD card.  Good luck!
If anyone is aware of a cleaner way to do this, please let me know!  This is clunky AF and carries no small risk of having to spend another hour afterward fixing my phone.

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


text:
How to install python in android rooted device?
I am trying to install python in my android device but it fails. For references i have used scripting language for android and python for android apks from the below link:

https://github.com/damonkohler/sl4a
https://awesomedetect.com/how-to-install-python-on-android-without-root-and-no-internet/

I have installed these apks but still through adb shell when i try to access or run the python interpreter its showing me the following errors.
   ASUS_Z010D:/data/user/0/com.googlecode.pythonforandroid/files/python/bin#
   ./python

   CANNOT LINK EXECUTABLE "./python": library "libpython2.7.so" not found

   Aborted

  ASUS_Z010D:/data/user/0/com.googlecode.pythonforandroid/files/python/bin#

Kindly help me out with this issue..!
I need to install python and run the .py script in my android device.
Thanks in advance..!

Installing new binaries to the system itself, especially ones which require a lot of shared libraries, like Python, is going to be a nightmare. Why don't you install Termux, a compact Linux environment, and issue apt install python for the latest Python version, or apt install python2 for Python2, instead?

Have you tried PyDroid3  IDE ?

Do you always install APKs from Google Drive links on dodgy websites? That's a good way to get malware.

Have you read https://github.com/damonkohler/sl4a/blob/wiki/RunPythonAsScript.md?

Depending on what your script is trying to do you may find QPython sufficient for your needs.
It is available free from the play store and provides a python 3 environment but with some limitations on the libraries available.

You can install python in Termux even without root. Run: pkg install python or python2.

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


text:
Wi-fi not working on Android at home
My wifi is not working on my Android 4.4 tablet, but the tablet says it is  connected (although the icon is red rather than the usual white) and the router says the tablet is connected. The tablet gets an IP of 192.168.1.5
1|root@rk3026:/ # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
    link/sit 0.0.0.0 brd 0.0.0.0
3: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN
    link/tunnel6 :: brd ::
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether ac:a2:13:33:de:96 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.5/24 brd 192.168.1.255 scope global wlan0
    inet6 fe80::aea2:13ff:fe33:de96/64 scope link
       valid_lft forever preferred_lft forever
5: p2p0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DORMANT qlen 1000
    link/ether ae:a2:13:33:de:96 brd ff:ff:ff:ff:ff:ff
root@rk3026:/ # ip r
default via 192.168.1.1 dev wlan0
default via 192.168.1.1 dev wlan0  metric 304
192.168.1.0/24 dev wlan0  scope link
192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.5  metric 304
192.168.1.1 dev wlan0  scope link

The router has IP 192.168.1.1. For some reason the router identifies two connected devices with IP 192.168.1.5 and 192.168.1.2, but changing the IP of the tablet manually to 192.168.1.2 does not help.
For comparison my laptop works in the network through wired ethernet
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 5c:26:0a:15:4a:f8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.4/24 brd 192.168.1.255 scope global dynamic noprefixroute em1
       valid_lft 594523sec preferred_lft 594523sec
    inet6 fe80::c497:8044:af6c:4a3d/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 26:13:0b:8f:90:41 brd ff:ff:ff:ff:ff:ff
$ ip r
default via 192.168.1.1 dev em1 proto dhcp metric 100
192.168.1.0/24 dev em1 proto kernel scope link src 192.168.1.4 metric 100

The table can ping itself at 192.168.1.5, and the laptop can ping itself at 192.168.1.4 and the router at 192.168.1.1; but the tablet cannot ping anything else, and the laptop cannot ping the tablet. When I turn everything off and on several times, it sometimes work.


text:
Terminal stuck on "<waiting for any device>" after /fastboot oem unlock command
I have been trying to unlock my phone's (Samsung Galaxy J5) bootloader with almost no success. I used adb for the process but it always gets stuck at waiting for device, after fastboot command ./fastboot oem unlock
Idk why this is driving me crazy. Any help is greatly appreciated.
Thanks

Is the phone in bootloader mode when you run the command? If you run fastboot devices with the phone in bootloader mode, is the device listed?


text:
Is there any method of installing Xposed framework on non-rooted devices with stock recovery?
I am trying to figure out if there is  a method of installing Xposed framework on stock ROM without custom recovery (e.g CWM or TWRP). The conventional method that I am well familiar with is installing the framework via Xposed app on a rooted device.
I researched a bit and most workarounds were promising although not successful:
According to this source, the method involves setting the system partition writable then pushing the necessary files via adb commands however fails with Permission denied errors. I suspect bootloader issues (which seems to be locked) here but not very sure.
The other way, described here doesn't need custom recovery. This involves installing a third party application (FlashFire) to flashed unsigned .zip but unfortunately seems to require root (from description).
The last one involves using new systemless xposed framework but the problem is that it supports android 5+ versions.
So is there any convenient way of installing xposed framework on stock recovery without root?
Edit
Following important discussions raised in comments, I guess I have to explain why I want to bypass root-based installation procedure, it's because the device in use is not rooted, so I need to use a non root installation mrthod.
Contrary to the comments however, some users have used Xposed without root:

Xposed only needs root access when you install it, then everything
  else is completely transparent to the user because the framework acts
  as a separate conduit to the system -- it doesn't go through the usual
  SU channels

Also the device is running Android 4.3 stock

What is point when Xposed requirers root to work?

@ЈеднорукиКрстивоје are you sure it requires root to work?? Other sources confirmed otherwise?

Even systemless Xposed (A Magisk module) requires root to work, you must be rooted for Xposed to be installed and function. Also, you are referring to JellyBean, is that tag correct? I don't think "systemless" root or other "systemless" mods can be achieved without Marshmallow or higher.

Straight up, no. You have no entry point to either system or systemless approaches. The first XDA link you referred to worked for OP only because he had a rooted shell, which can exist on non-production builds without the device itself being truely rooted.

Wasn't interested in going back to answer my post, however its pretty funny how things that were deemed impossible 5 years ago are becoming possible as technology age, anyway there seems to be possibilities of achieving what I wanted 5 years ago.
There exists a plethora of Xposed solutions that can be utilized sans any hindrance. Depending on the given use cases, it is feasible to inject a particular application in order for it to load the xposed module and perform as desired (which aligns with my objectives).

LSPatch

Rootless implementation of LSPosed framework, integrating Xposed API
by inserting dex and so into the target APK. Supported Versions
Min: Android 9
Max: In theory, same with LSPosed

SPatch

VirtualXposed

et. cetera. The main point here is that it is quite possible to used rootless xposed method as long as the module doesn't need access to the system. Some modules are just specific to the applications that use them.

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


text:
Why Key Test app shows KEYCODE_UNKNOWN when I press headset control button when the Generic.kl contains KEY 226 HEADSETHOOK?
My Phone runs Resurrection Remix 7.1(Redmi 3s). When I press headset control button, the key test app identifies the code as 226 but says KEYCODE_UNKNOWN. But the Generic.kl file contains the line KEY 226 HEADSETHOOK. Also I cannot play/pause the music using headset control button.

Headset is not necessarily mapped to Generic.kl (in fact, usually not - it should be in another .kl instead).


text:
Google Voice stopped transcribing messages after switching to a different carrier
I have a Samsung Galaxy S4. I recently changed cellular carrier from Verizon to Consumer Cellular and I kept my phone & my number, so it was "ported" over.
Prior to this change, I was using Google Voice, because it types transcripts of voice mails received in to emails.  I have a Google Voice number, but never used it to make calls.
Google Voice stopped transcribing messages on the day I changed carrier. The Voice mail setting on my phone is set to Google Voice, but I am retrieving voice mails through Consumer Cellular.
How do I fix this issue?


text:
Why does any app having an active overlay is causing low frame rates?
Any app that I try on my device that is some kind of on-screen tool, such as monitoring apps, pie apps, screen filters, corner sliding apps, etc., makes the device have consistent low frame rates.
If I disable HW overlays though, the problem disappears. Why is that?
I've a Ulefone U7 running Android 4.4.2 with Linux kernel 3.4.67.

Maybe the phrasing is incorrect. I mean enabling the option which disables hw overlays.  Enabling a dev. option which is off by default, fixes the problem.

My fault. My interpretation was incorrect.

Deafult options, no osd, max smoothness
Deafult options, osd, max choppiness
With disable HW overlays I get average smoothness w/ and w/o osd apps.

I think that only the last app requesting an hw overlay gets GPU access, the rest get offloaded to CPU, resulting in crappy rendering.
But a 3dmark benchmark shows this:

Default options, osd disabled 30fps
Default options, osd enabled but not visible 30fps
Default options, osd enabled and visible 25fps
no hw overlays, osd enabled but not visible 27fps
no hw overalys, osd enabled and visible 22fps

So I suppose that with hw overlays, there is an option to "put them to sleep" while benchmarking (hence the same fps)
but disabling hw overlays keeps the (GPU) memory of all the apps no matter what, hence the lower framerate in general.
This is all very confusing and a possible answers can be:

It's hard to understand what gets offloaded to what, mtk cpu rendering may as well be on par with GPU rendering considering the chipset is balanced with a beefy cpu and crappy gpu...therefore HW overlays don't work as they should because cpu/gpu balance was thought with other specifications in mind.
MTK crap hacked backported kernel causes trouble with HW overlays at least for 2D apps, being unable to discern the correct usage of those.

I wish someone would give me a more insightful answer but I guess nobody cares about 4.4 android anymore, and nobody cares about mtk chipsets in general (and this chipset is even 2 years old which means no one among the nobodies would care :p)


text:
How to root Samsung Galaxy S6 Edge+?
I've Samsung Galaxy S6 Edge+ (SM-G928i). I need to utilize Tor properly. I need root access. I do not have access to any sort of other computer.
How can I root this device without a PC?

Which Android version are you using? Have you tried anything so far which we should now avoid suggesting you?

It has lollipop 5.1.1,  Kernel architecture is aarch64.. no i have not tried as i have not had access to a pc since purchasing and will not for sometime

Even changing the os would be amazing but im assuming that requires root access


text:
Unbrick a device having broken volume rockers
A technician checked my phone's (TCL S950/Alcatel One Touch Idol X) hardware and broke the volume buttons. I flashed TWRP recovery, because I wanted to install the latest CyanogenMod. The latter in turn bricked my device since it doesn't get past the boot animation. The volume buttons to get into Recovery or Bootloader don't work and ADB doesn't detect the device either.
What can be done to unbrick the device?

It's possible that the rocker for the buttons isn't seated correctly and that they're working just fine, so you could open it up and press them or correct it.  You could also try a USB jig to get into the bootloader.  And it seems like you should make the repair shop pay for the damage....

Thanks for answering,i recently checked the phone and the volume cable is completely cut off.

Get that ribbon cable replaced! Don't make this an XY problem. You'll have to get the volume buttons working eventually. Check ebay for parts.

Since you cannot access fastboot without using the volume rockers or having access to adb: No, you cannot do anything else but repair your volume rockers or buy a new phone. If you want to repair the rockers, you can check on iFixit for a manual. They may have one for your phone.


text:
What does a round icon with a horizontal line in its middle show?
I'm using a nightly build of CM13. I recently noticed this round icon with a horizontal line in its middle. The icon is located in the right side of the notification bar.

What does that icon depict?

"Do Not Disturb" was turned on, you can swipe down the status bar and toggle it on/off.  Settings for it would be for a specific duration, Until you turn this off.  You can opt for Total silence, Alarms only, or Priority only.


text:
How to factory reset Micromax A35 H/W ver v2.0 S/W v8_0_9
I tried all of above ideas but there is no display. Factory reset + and power button hold is shows various type of test about phone and i also tried fast mode solution device not detected with computer tell me what i will do for it i am tired.

Welcome to the Android Enthusiasts, bishnu! Would you please [edit] your question and let us know what "above ideas" you are referring to? At least on my monitor, "above" it I only see the walls of my room. You might also want to check with our factory-reset tag-wiki, which a.o. links to similar questions which already have answers. After that, please [edit] your question and let us know what you tried. If you succeeded, it's also a good idea to answer your own question yourself.

Oh, besides: I've just checked questions tagged factory-reset containing micromax a35, and found a very similar question: Factory reset without accessing phone settings. Guess what: it's about factory-resetting a Micromax A35, and has 4 answers. Maybe one of them can solve your "above" issue?


text:
Nexus 7's MTP does not connect in mass storage mode anymore
I've had a Nexus 7 for a year now and since the day I've got it, I could easily connect it to my PC and transfer file to/from it in MTP mode. But some weeks ago I tried installing Ubuntu on it and since I failed, I downloaded and reinstalled Android on it. But ever since, it is not recognized as a mass storage on my PC!
Does anyone know how I can fix this?

I've occasionally seen a new (or factory reset) N7 refuse to appear on a PC until you change the storage mode to camera then back to MTP. From memory (I don't have my N7 to hand) go to Settings, Storage, tap the three dot menu and there is an option to change the storage mode there.

Thanks but it didn't work! Switching to PTP opens the tablet's picture folder on my PC but switching back to MTP does nothing (other than closing the picture folder). Any other idea?

It's starnge that PTP works but MTP doesn't. I'd probably resort to flashing a factory image using fastboot, unless of course that's what you did to remove Linux.

Try uninstalling drivers.
There is a tool in the Nexus root toolkit
http://www.wugfresh.com/nrt/

Most likely a hardware issue. I recommend you get your device repaired by sending it to Google/Asus.


text:
Phone stuck on loading screen and recovery mode doesn't work
I have a Samsung Galaxy S1 with CyanogenMod, and I don't know what happened but when I turn on the phone it just stays on the loading screen, something like this:

It's just a black screen with that little loading icon in it (without animation) I tried running both recovery and downloading mode (Volume Up/Volume Down, Menu, Power) but nothing works.
There is another strange behaviour, sometimes it show me the "Downloading.... do not turn off target !!!" message. When it is in that screen, the PC does recognise the Samsung driver but I have no access to it, and Odin doesn't find the device.
Any advice please?
UPDATE :
After charging it for few hours (wall) the phone now isn't stuck in the loading screen, instead it goes directly to "Download Mode" (Downloading ... Do not turn off Target !!!).
When I plug it to the PC, it installs a driver then a message (windows driver)
"SAMSUNG USB Composite Device Ready to use".
The bad new is that Odin doesn't recognize the device :/
I have Samsung Kies installed (a long time ago for my Samsung Wave Y), I also made sure that it's not working on background though. I have also installed the Samsung USB driver manually. I really don't know what to do next.

What version of Odin are you using? Have you tried plugging in the to the USB port at the back of your computer (vs those in front)?

strange behavior, sometimes it show me the "Downloading.... do not turn off target !!!" message

In fact, this strange behavior is the downloading mode. If it's true, then I would suggest trying to re-install the driver for the phone and seeing whether Odin recognizes it.

i did re-install drivers, re-install kies, run Odin as administrator but nothing seems to work,

i have some good and bad news,
the good news is that somehow Odin recognized the phone and i was doing the stock flash step by step from the xda forum, when the big top rectangle in Odin become green (the small ID : Comm didn't yet) the phone got turn off by it self, which bring the bad news, now the phone is stacked in a screen that i saw for the first time
Phone--Triangle--Computer
i can't get neither recovery or download mode
what sorcery is this :( ??!!!

UPDATE :
i managed to get download mode working again, and i followed all the steps in this thread :
http://roms.android-emotions.com/stock-rom-2-3-6-for-samsung-galaxy-s-i9000/
i get the green "PASS" and the phone try to reboot but it get stuck on the samsung galaxy home screen, it just stay there for ever, and there is no "Reboot" in the Odin Log
i tried this instructions too :
http://forum.xda-developers.com/showthread.php?t=1922505
but it stay for ever on "Setup Connection"
and like always the recovery mode doesn't work
any help please ???
thank you

Alright so it's a common mistake... it's the old software running on the old android systems.. just take the battery out and let it sit for 10 minutes... put it back In let it reboot. Then restart the process.. it's also the overheating of the over working battery to keep up with the technology

It seems that you did not flash the ROM properly.
Reflash the ROM, and use CWM (ClockworkMod Recovery) for flashing.
Do not forget to wipe /data, /cache, /system and Dalvik-cache before flashing.


text:
Can I Recover Email Address That Have Been Signed Into On My Galaxy Phone??
When I factory reset my phone, it had signed me out of my Gmail account that I had created and used for my Google Play Store. And now I cannot remember what the exact email address was.
It has my SMS backup and restore on it and all of my pictures and contacts and important info. Is there a way to find out what the email address was??

All account data on the phone is lost after a factory reset. Perhaps you can use a different way to find that email address, however.

Did you ever send email from that account to one of your other email
accounts? What about to a friend or family member? See if you can find one
of those old messages.
Did you ever log into a Google service using that account on a PC/Mac
browser? If so, maybe you can find it in your browsing history or
saved passwords.
Did you link that Google account with any other online service? Did
you create a Google+ account with that address? You might have if you
ever wrote a review of an app in the Google Play store. Try and find your Google+ profile.


text:
Is it possible to copy Android OS from my friend's device and install it on my tablet?
After encountering a serious problem in my Android tablet, I need to reinstall my android. There is no OS available for my tablet on the the internet. My friend has the same Android tablet.
So I was thinking if it is possible to 'copy' the Android OS from his device and put it on mine. I have a Porto 9" tablet running android 4.2 and is rooted.

Before considering a "re-install": have you performed a factory reset?

Given that you and your friend both have the same tablet, this should be possible. Your friend will need to be rooted as well. Probably the easiest thing would be for him to perform a Nandroid backup which you then transfer to your tablet and restore.
If this works, your tablet will be in the same state as his at the time he flashed, so you'll need to delete his account, establish yours, etc.
Disclaimer: as with all things flashing, I can't guarantee that this won't make your situation worse. But it sounds like you're already in a bad way.

I already tried the factory reset, am going to try your method Trevor Rude

Can I do a nandroid restore without custom recovery

I doubt it, I think I've only seen Nandroid options on custom recoveries. But I've never really tried a stock recovery.


text:
Samsung Galaxy S3 keeps restarting, stuck on Samsung logo
Two days ago I got the official update of jelly bean 4.3 to my Samsung Galaxy S3. Last night phone was dropped from a small height. Today morning when I switched on the phone it worked fine. But in the evening, suddenly my phone restarted and goes to Samsung Logo Splash Screen (Samsung galaxy S3 GT-I9300T) and keeps rebooting. I removed the battery and insert it after a few second. After that the phone worked fine and again the same problem happened.
If I remove the battery to switch off the phone and if I insert the battery again, phone switch on by itself (without press power button) and keep restarting.
I try to open the Home + Volume Up+ Power On button option. But is not working. If I plug the phone to charge, gray battery shows and again restarting to charge. (I mean, phone won’t stay in a stage).
If i try Home + Voulme Down + Power On option, phone shows the download mode for 5 seconds and restarts again.
So can you please let me know it’s a software problem or hardware problem?
If it’s a software how to fix it ? ( I tried the emergency firmware recovery through kies, but kies couldn’t fine my phone).
My phone current status video below
https://www.dropbox.com/s/xvq6bd93qjmdt6o/20131012_235047.mp4
Note : I downloaded the video from youtube, because I wanted to show the current situation. ( But my phone is critical than what is shown in the video)
Thank You.

I have the exact same issue.. Do you have any solution yet?

It does look like a stuck power button. (as ridiculous as it may sound)
The behaviour in your phone is exactly as it is when I press and hold on my power button for an extended period.
By right, the device should not turn on by itself when the battery is inserted. It should remain turned off - only a hardware switch can turn it on. As your phone turns on by itself, it clearly shows that the power button is being pressed.
Furthermore, the power menu shows when you turn the phone on without touching the phone at all and again showing the power button being pressed.
I suggest you bring your phone down to someone who knows how to open up your phone to see if there has been any damage to the power button.

I agree with this. Sounds like a faulty power button. If you hold the power button on most devices it will restart.

I can suggest to follow these steps:

Remove USB cable and battery.
Re-insert battery.
Hold Volume Down and Home, then press Power.
If you can enter the recovery system, try to clear caches.
If that doesn't work, do a factory reset.
If that still doesn't, go back to download mode, and try to restore using Odin and a corresponding firmware.

What I do is take the battery out, wait 15 minutes, and then put it back in.

Your phone is stuck as a result of memory overload caused by some bad program. Following will do the trick for you:

Turn off your Samsung Galaxy S3.
Press and hold down the “Power” button, “Home” button, and the “Volume Up” button.
Wait for your phone to vibrate, then release only the “Power” button.
Wait for the Android System Recovery screen to appear, then release the “Home” and    “Volume Up” keys.
Press the “Volume Down” button until the “Wipe data / factory reset” option is highlighted.
Press the “Power” key to select the option.
Press the “Volume Down” button until “Delete all user data” is highlighted.
Press the “Power” button once again to select the option. Your phone will then perform the reset process and display “Reboot system now” when complete.
Press the “Power” key to select the reboot option and complete the master reset.

In case you face any problem, check the following link:
Samsung Galaxy S3 Factory Reset
Hope it helps :-)

Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

@bmdixon apologies on my part. I have edited my answer :-)

This happened to me many times. In my case, the main problem was the on/off switch got stuck.
What I did was: I presses the button until the phone opened again. Solved it for me.


text:
Does a device with no physical SIM slot have an IMEI?
In telephony, an IMSI identifies a SIM card and, hence, a user. An IMEI identifies the device itself.
If an Android device does not physically have a SIM card slot, does it still have an IMEI? The documentation is not clear on this.

[Update] Since I don't have access to such a device, would someoen be so kind as to test it programatically? Just add call to GetDeviceId() into the code of an existing app. Thanks a 1,000,.000

Well, nope I don't think that a telephone that doesn't have a SIM card will posses IMEI number as there's no need of IMEI number over it. IMEI itself stands for International Mobile Equipment Identity, and I guess its only made for SIM card slots one SIM card slot over a device one IMEI number, 2 SIM card slots over the device 2 IMEI number. So, as far as I know I don't think it will posses IMEI number rather than such devices are identified by using something different maybe mac address or ....

From the Wikipedia itself, "The IMEI number is used by a GSM network [...]", so if it doesn't have telephony, it won't have IMEI. Also, anecdotally, Nexus 7 (tablet) doesn't have IMEI.

@Peter, sorry to correct you, but you are 100% dead wrong. A device with 2 SIM slots can have 0, 1 or 2 IMSIs, depending on how many SIM cards are inserted. It will always have exactly one IMEI, independent of SIM cards.

As for your edit, I'd say this post on SO is related.

I think the existence of a GSM radio is more important than the existence of a SIM slot.

I think you are correct (+1). The IMEI is really only necessary obtain a (P-)TMSI

Sorry if this is a stupid question, but don't emulator instances constitute as "devices" that don't have a physical SIM card slot but still has an IMEI?  Granted, the value seems able to be spoofed as whatever the user wants or randomly generated (by all appearances, I've yet to find any functional need to touch those settings), but they appear to be recognized by Google Play services as actual devices.

I am answering my own question, because I finally found a definitive answer. This S.O post says

"Google's CTS require that getPhoneType of TelephonyManager needs to
  be none and getDeviceId of TelephonyManager needs to be null for
  non-phone devices."

I had a look at a tablet which does not have a SIM card slot and it does not have an IMEI number in the About Tablet settings menu.
This answer on StackOverflow should help you find an ID for a device with a SIM card slot and for those devices without.

My Azpen A727 tablet doesn't have a SIM card slot but it does have an IMEI number.
I see this number under Devices on my Google Dashboard.

How certain are you of this, as it seems to contradict what everyone else says? Could you post a screen shot, or even just tell us how many digits it has? Thanks

I have been researching about Azpen/iNet A727, and until now, I couldn't find any info if this device has SIM slot or not. But the text "No carrier" confused me, since it seems to support telephony, but no SIM card. This is just my opinion: the manufacturer probably didn't implement the code correctly, or there is a way to use telephony without SIM. As contradicting with other answer, this is a valid answer with proof.

It's probably the world's most low-end tablet, so anything is possible.  But you definitely cannot use it as a phone at least as it is configured from the manufacturer.'


text:
What happens when I tap an NFC tag which contains a URL?
I don't have an NFC 'phone to try it out. A colleague absolutely insists that if you tap an NFC tag which stores a URL then that URL is launched automatically by the operating system.
That doesn't sound right to me and the developer docs says

Reading NDEF data from an NFC tag is handled with the tag dispatch
  system, which analyzes discovered NFC tags, appropriately categorizes
  the data, and starts an application that is interested in the
  categorized data. An application that wants to handle the scanned NFC
  tag can declare an intent filter and request to handle the data.

That sounds like what I expected (a BroadcastReceiver - or possibly a listener?). Can I tell him categorically that he is 100% wrong?
The reason being that he wants me to develop a small system for him and, while I see that I need a minimal Android app to listen for an NFC Tap event and then launch the browser, he insists that no app is needed and that any NFC enabled Android device, fresh from the factory, when tapping an NFC tag containing a URL will launch the browser to that URL.

I just tried one outside the office and it opened the "Open Link In" dialogue with Chrome/Internet/Dolphin as the options. The phone has been factory reset today. Beyond that I can't tell you how it should work, and what changes have been made to this in different versions of Android. I tried it on a Galaxy S4 GPE with Lollipop. UPDATE: Someone in the office tried it on a HTC M7 just there and it opened in the browser with no interaction, only one browser installed.

I cannot test because I don't have NFC tag which contains a URL, but based from RossC's comment, I guess Android receive it as normal URL, then handle it based on its URI scheme, just like when a user clicks URL on native app (not from browser itself). However, that's only my assumption.

@RossC thanks. Can you post that as an answer, please?

Please see my followup question http://android.stackexchange.com/questions/96564/tapping-an-nfc-tag-which-contains-an-url-how-can-i-override-the-default-actio

From trying it on two devices:
Galaxy S4 Google Play Edition: Lollipop 5.0, with multiple browsers. Once tagged the prompt to choose my browser comes up, and then once chosen opens the URL in the selected browser. The device was factory reset that morning.
HTC M7: Stock 4.4 up to date, no reset done, one browser. Opened straight in the browser.

Thanks, Ross! Please see my followup question http://android.stackexchange.com/questions/96564/tapping-an-nfc-tag-which-contains-an-url-how-can-i-override-the-default-actio

'Next bus' NFC tags at bus stops here in London attempt to open in a browser - if you've just got one browser, fine, it'll automatically open in that... no need for permissions, logins or a special app. But like everything else on your phone if you've multiple choices for browser, reader, editor... etc., it'll open a 'complete action' dialogue - and continue this process - until you choose one as default.

The URL is launched using Android's intent system.
You can register a application for all URLs (like a web browser) or for only specific URLs.  For example, you can register for http mybusticket.com/ticketid/* with your bus ticket application and Android will then ask the user which app the user wants to launch (if there are multiple that can handle that URL) when the NFC tag is scanned.
The Youtube app does this for example.  NFC tags are handled mostly the same way.
https://developer.android.com/guide/topics/connectivity/nfc/nfc.html#dispatching
http://developer.android.com/guide/components/intents-filters.html#Receiving


text:
New Android 9 'phone - where is "schedule power off / on"?
I always use this feature to save battery, but can't find it on my new Android 9 'phone.
Where has it gone?

[Update] the 'phone is a Ulefone Armor X3. For the least 5 or 6 years, I have had exclusively Ulefone and they all had this feature, so I just assumed that it was baked in to Android itself. Otoh, they were all other models & pre Android 9.

Which device are you using? I don't think scheduled start/shutdown is a universal feature in Android. Might be OEM specific, such as Xiaomi, OnePlus, etc.

Thanks. Its a Ulefone Armor X3, All previous Ulefone  for the last 5 or 6 years had this feature. They also had Android version < 9. See App to schedule Android power off / on at specified times?


text:
Can I keep all of my Dropbox data on SD card?
Is there any way to configure the Dropbox app so that all Dropbox files, now and future, are available offline on the SD card?

There isn't any way. You can do that by using apps that sync Dropbox to external SD

Thanks. Do you know of such an app, or should I ask at https://softwarerecs.stackexchange.com/ ?  My idea, though, is that all of my DropBox stuff is available offline, and I think that you have to do that on a per file basis, so it may not be easy, or even possible

I use this paid app which works very well. Free version allows only sync of selected folder and pro entire Dropbox with a host of useful options. If you want give it a try and let me know

Alas see this. Your question is probably a dupe of this and am going to vote for closing. https://android.stackexchange.com/q/26728/131553

I haven't tried folder sync though so not sure if it backs up to SD card. If it doesn't, please clarify so that your question is not closed

I don't want to "partially" synch. I want to have my complete DropBox files available off line. Not just current files, but any added in future. Perhaps I ought to ask at https://softwarerecs.stackexchange.com/ ?

Your choice. But the app I linked does completely back up to internal or SD. Only drawback is paid app. I use it a lot. Files added are automatically synced

Yes, but the problem is that DropBox does not seem to make files available offline unless you manually fetch them, so I would need an app to do that for me - or have I misunderstood?

Let us continue this discussion in chat.

Check this out.. https://www.dropboxforum.com/t5/Dropbox-files-folders/How-to-transfer-Dropbox-files-to-a-USB-or-Disk/td-p/91079

Yes, you can

Specifically, making a file available offline:
Adds the file to your Offline view for easy access (like a bookmark)
Saves the file to your Android device for offline viewing within
Dropbox
Attempts to keep the file as up-to-date as possible and gives you the
option to update the file manually
Ensures that any changes you make to the file while offline will be
synced to your Dropbox account once you have a connection again

I don't want to make a file offline. I want to make all of my DropBox files available offline. Both those which I have today and those which I add in future, and I do not want to have to do it manually for each file.

There was an an unofficial app that did just that. Search the Play Store. It is not allowed to give software recommendations here.


text:
Can one NFC tap initiate multiple actions from the same tag?
If a single user taps a single tag a single time, can the tag be encoded such that it both sends an SMS (or, at least, launches the SMS app) and launches a URL connection?
Is this the best S.E site to ask?

[Update] I can't rely on any particular app being installed. Can this be done with a fresh out of the box Android / iPhone?

I'm pretty sure Tasker can do this.

Thanks, but I can't rely on any particular app being installed :-(

In that case I'm not sure it's possible, sorry. What's the specific use case? Maybe there's another way around this.

use case: man in the street taps a tag - his SMS app should open, with some pre-loaded text and a URL should be launched, so that I can count the number of interactions with the tag (irrespective of whether the SMS was sent or cancelled)

Hmmm, have you looked into just loading the webpage with a sms uri? You can specify some default text and a number to send to.

That's last ditch, but possible (+1). However, if at all possible, I want to launch two apps - SMS & bowser (the URL will got to a page where I have some PHP to store the visit in a database, then display a page) Hmmmm, maybe two tags, very close to each other? But I can't be sure that they will both register ...


text:
Can I encode an NFC tag to send HTTP POST data?
Can I encode an NFC tag to send HTTP POST data? Or can I only use HTTP GET?
I have Googled extensively, but can't seem to find an answer (which, I suppose, implies that it is HTTP GET only, but I would like someone to say so).

[Update - 6 years later]  This project was abandoned, but it was basically advertising, embedding NFC tokens in posters.
As such, it should work on any Android, out of the box, with no helper apps being necessary (my bad; maybe I ought to have made that clearer).
The extra step to install an app would drastically lower the number of people who scanned the tag.

No, you can only encode a URL on the tag. The tag neither contains an instruction to issue a HTTP GET request nor a HTTP POST request.
How the URL is interpreted and processed depends on the app that opens the URL. Typically that app will be a web browser and that web browser will typically treat the URL as if it was typed into the address bar. Consequently, the web browsers usually opens the URL by issuing a GET request.

Yes, NFC Tools PRO has a Post option https://play.google.com/store/apps/details?id=com.wakdev.nfctools.pro&hl=en

As the OP, I wish that the downvoter had given an explanation. It would have helped me :-(

I know that it has been 6 years, but could your link doesn't mention Post. Do I have to D/L the app & try it? If you have a link to something online that says that it can encode POST requests, then I will award you the answer.

The Tasker application can be set to send any http request to any address when it gets in contact with a NFC tag that it recognizes.

Not really an answer, as it would require all users of my tags to install Tasker (and maybe pay for it?). This project was abandoned, but it was basically advertising, embedding NFC tokens in posters. The extra step to install Tasker would have drastically lowered the number of people who scanned the tag. I will update the question to make this clear.


text:
Windows explorer freezes when trying to transfer files from mobile
I tried to transfer files (of extension PPT, DOC, MP4 and so on) from my Samsung Galaxy Note 4 to my laptop (Windows 10; tried on two laptops from Dell and Lenovo). Once  I plug the USB cable I can see both device storage and card storage and I can sometimes (let's say 1 out of 3) browse the folder. When I try to copy the file from that mobile folder into my laptop mobile, it works 1 out of 10 times! Most of the time explorer freezes or it starts to browse the folder (i.e. the path bar is progressing but never ends).
I installed USB drivers on my laptop. I even installed Kies but then Kies itself launches explorer and loops.
Please do not tell me to use Wi-Fi as I am in a hotel with very poor connection and I am using my 4G phone to actually download files and then (I thought that would be easy) I was thinking to transfer those files to my laptop through USB cable.
Actually, what is working is: I plug the cable, I go into the folder and select the file. Then I unplug the cable but I keep the explorer opened.
Then I plug again and at that time I right-click, copy the selected file and then I am able to paste it in a laptop folder. Yes, that is working. But I would not do that for all the files I need to transfer.
There should be a simple way, right?

Such unplugging and re-connecting will sooner or later lead to data corruption. Get a new USB cable instead of wearing out the solder joints in your charging connector. NOT the cheapes cable you find. Get quality cables!

@svin83 I have the exact same problem. The cable I'm using is the original cable Samsung gave me, I don't know what a better cable is.

@Gqqnbig If your cable is wonky and you're unsure: Go to any reputable local store that sells electronics. Ask for a medium-to-high quality USB cable that fits your phone and supports data transfers and fast charging. Then put the wonky cable somewhere in case you lose the new cable.

@Gqqnbig Also: If you get a cable and you're satisfied with it, then go back to the same store and get one more exactly like it.... Cables tend to wear out over time...


text:
Force-stopping, disabling and even factory reset failed to stop recurring app crash error message
My friend sold a TeXet 9768HD to somebody. Now the customer returned it with a weird problem. When the tablet boots up and loads OS (Jellybean.rus.texet 4.2.2), it shows:

Unfortunately fingerprint unlock has stopped working.

It shows this error nonstop. Every time I tap on "OK" it comes back in a blink, with lots of pain! I went to Settings → Apps and saw this "FingerPrint Unlock" there, but like system apps it doesn't have "Remove/Uninstall" option. I can't install anything on it, because this error message is on the screen all the time. So I tried to use both "Force Stop" and "Disable" options, but regardless of that the error still comes up.
I've no idea what to do. My friend asked me to flash it, but since (obviously) TeXet no longer is active, there's no support.
"Wipe/factory reset" and "Clear cache" in recovery didn't solve the problem too.
When I plugged it to PC, it wasn't recognized, but after installing "Rockchip Tool" not Flashing tools seems to show it.
So, what's causing the issue and what do you suggest me to solve the issue?

Disabling the app should work.


text:
Push notification not working
the problem I am having is with Push notifications in Android.
In order to receive my WhatsApp notifications I need to manually launch the application, which I don't want do. I want to be able to receive my notifications at any time...
I've heard that it might be due to the Push Notification not working so, I decided to download from Google Play the app PNF No-Root which changed the heartbeat interval to 5 minutes (I use WLAN connection) and it didn't work at all (the same for similar apps). I tried looking for other solutions. I went to Settings > Data Usage > WLAN > WhatsApp to check if the Restrict background data box was unchecked, it was unchecked.
I also went to Apps > WhatsApp to see if the box "Show Notifications" was Checked. Went to WLAN > ADVANCED and set "Keep WLAN on during sleep" as "Always". Finally, I launched WhatsApp and all the settings are correctly set for me to receive, but I don't. When I go to Apps > Running > Whatsapp it says that there is 1 Process and to Services (although it shows 1 service sometimes), ExternalMediaManager and MessageService.
My device is a Lenovo A5000 with Android OS 4.4.2
 I don't know what else to try, thanks.

A possibility is mentioned here: Apps constantly disconnecting from the internet. Can you confirm?

Do you have any power save mode set?
Otherwise Download the app "Wifi settings" and change the DNS Server to Google and hit apply . I hope this will help

Please link the app in your answer and highlight the specific capability of the app that would help OP- this would enhance the value of your answer

If you have any task killer app installed in your device, uninstall it or keep the WhatsApp app in the ignore list of that task killer.


text:
Orbot transparent proxy requires enabling manually
My phone is HTC One M8 on Marshmallow stock ROM, rooted with Magisk.
I've installed Orbot and noticed it doesn't work in transparent proxying mode when proxying all apps. It requires manual proxy settings in Wi-Fi or mobile network.
If I proxy only selected apps, it works.
I suspect it's due to DNS requests being blocked by iptables rules set by Orbot. They're trying to be sent directly, not respecting Orbot's proxy.
How can I verify it and possibly fix it?

I suspect the issue is due to ip tables enforced by Orbot (it tends to use IP tables bundled with the application and not default ip tables)
You can try the following workaround;

Go to Settings menu, check use default iptables and uncheck (or leave unchecked) the option to allowed it for tethering i.e Tor tethering. If the tethering option is off and the use default iptables option is on, it should work.
Make sure to enable Request Root Access, Transparent Proxying and Tor Everything.

Tor's transparent proxy runs on port 9040 by default and forces apps
  to proxy through it, so you can tell whether or not it is working by
  using Orbot's restrictive hosts policy to allow/deny traffic and see
  how the app behaves.

You also use Orbot's VPN service to bypass filters and firewalls and see if you do "transparent proxy" for all apps:

It doesn't work at all with default iptables. Check.torproject.org says I'm not using Tor.

Ok the issue, is because the default ip tables that come with ROM need to be updated. You can find some tutorials on how tp update default ip tables binaries, it should work

I was suggesting you to update the iptables


text:
From which applications do these "S" symbol and balloon like notifications respectively belong to?

Please help me with the (S) looking icon and the hot air balloon icon.  What apps are they. Thanks

Do you not see corresponding notifications when you pull down from the status bar?

No. I need someone to figure it out. I've tried for days

Ok I got one symbol for you, its qihoo 360 mobile security (s) shaped icon

The S shaped icon is Qihoo 360 Mobile Security application.
Here is the source to confirm : Qihoo 360 Security - Antivirus Boost (for Android)
The grey bubble like or hot air balloon  notification is not very clear, but while I couldn't deduce from which app it comes from, I suspect its from a live wallpaper of some sort. Check related settings to confirm.

Thank you. Please let me know about the hot air balloon one if you can. Thanks

Sure @Rob, will do


text:
Nougat 7.0: I cant explore phone memory in my computer
I formatted my sd card as internal storage but when I connect to computer via USB its shows memory card storage space only! How to explore mobile internal memory?
(Using Android Nougat)

To see your Internal Storage, on Android Nougat 7.0 and above, open the notification tray on your device, tap on the persistent notification "USB charging this device" and select "Transfer files".

Source: http://www.theandroidsoul.com/set-transfer-files-mtp-default-nougat/


text:
How to change fonts in motrola moto X XT-1060?
My phone is Moto X, verizon running 5.1 and I am unable to figure out how to change font for my phone as there exist no font settings under Settings > Display.
Previously I was using Samsung galaxy J5 and there were font settings under display but for my Moto, there is no such option even in applications from Playstore for this purpose. They won't just do not do the job as they redirect me to settings page and prompting me to navigate through Display > Fonts but as I already mentioned there exist no font settings.
Moreover I cannot root my phone as it just do not connect to PC due to some driver issues. So my question is that:

Is there any way I can change font of my device without my PC getting involved?

The Moto X, like most retail Moto devices in the last 4-5 years, uses pure Android with only minimal enhancements from Motorola. Stock Android does not have provisions for changing fonts.

Changing device fonts varies from device to device (it is normally found in Settings under Display section). From there you can change the actual font, as well as the font size e.g some Samsung Android devices let you change the font style in this manner. (Samsung has pre-installed a few extra fonts besides the default)
Not all manufacturers make this setting available to users. In this case, one has to root their device and add an application that can install new fonts in /system/fonts directory.
There are a few ways to do this if you're not able to root the device as in your case:

One non-root way to change fonts on Android is through custom launcher
  apps. Some custom launchers integrate the font-changing function,
  while most others will need you to install themes.

One such launcher capable of doing this is GO Launcher (Others include Line Launcher etc)

To change font styles in GO Launcher, do the following:

Copy your .ttf font files to the phone.
Open GO Launcher.
Find the Tools app and open it.
Tap on the Preferences icon.
Scroll down to Personalization and select it.
Tap on Font .
Tap Select Font and tap on the font that you want to use.

Acknowledgements

How to change Android fonts


text:
Unable to get bluestack downloaded data
I installed Bluestacks and  I am trying to access files downloaded via Bluestacks but I seem not to find these files (folder is empty). I have also installed ES file explorer . Can anyone provide a  good solution on how to access these files ?

You mean download folder?

You might also wish to see How to transfer files between BlueStacks and Windows PC for related answers.

My path to shared data is
C:\ProgramData\BlueStacks\Engine\UserData\SharedFolder

+1 Thanks a lot for the update! It is indeed the path for newer versions of windows specifically Win 10. In older versions it was just C:\ProgramData\BlueStacks\UserData\SharedFolder

There is a nice tutorial explaining how to do this:
As Bluestacks emulates Android, the default download path should be similar i.e. /sdcard/Download (or /storage/sdcard/Download)
Using a file explorer e.g ES explorer, browse the file structure until you come across the root folder, from there try locating the above path.
Now Bluestacks has an integrated Shared folder with Windows in the following paths:
/storage/sdcard/windows/bstsharedfolder/
or
/sdcard/windows/bstsharedfolder
In order to access your downloaded files in Windows explorer, you need to copy the contents of the download folder (/sdcard/Download) to the Bluestacks Shared folder (/sdcard/windows/bstsharedfolder) using ES file explorer.
Finally access the downloaded files from the PC via Windows explorer from this path:
C:\ProgramData\BlueStacks\UserData\SharedFolder
Remember to enable the option "Show hidden files and folders" in Windows explorer options
Update
If you are unable to find bstfolder in its default Windows location [C:\ ProgramData\ BlueStacks\ UserData\ SharedFolder ], you can find their actual location from the Windows Registry.

Access the Windows Registry by going to Start >> Run and type in “regedit” and hit Enter. This opens up the Registry Editor.
Go to HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\SharedFolder. Each of the numeric folders represents a shared folder, and their location is indicated in their Path String values.

You may have to manually set the Bluestacks shared folder in the following way:

go to HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\SharedFolder.
Create a new key here and rename it to the number following the previous key.
Inside the newly created key, right-click on the space on the right side and create a new String called “Name” by selecting New >> String.
  Double-click on it and enter a value.
The value is the name of the folder as seen inside BlueStacks, additionally create a new DWORD Value by right-clicking on the blank
  space and selecting New >> DWORD (32 Bit) Value and rename it as
  Writable. Right-click on this newly created value and click Modify.
  Set the Value data field as 1 and select the base as Hexadecimal.
Create another String called “Path” and assign a value of the full path of the directory you want to include inside BlueStacks.
Restart your computer for the changes to take effect.

Now you will be able to access BlueStacks files from Windows.

Update:
As mentioned by Josh Davis if you can't find the path in newer Windows version, navigated to this path instead: C:\ProgramData\BlueStacks\Engine\UserData\SharedFolder

still shared folder empty

Please edit your question with clarification on what you're trying to achieve, right now its hard to guess what's happening, and also the above workaround is one of the most probable solution

my issue is that..whatever i download from bluestack i am not able to find it in my computer...

can you help me thorough this

Not that this is a help...but I have a co-worker that has the same problem since using Bluestacks 3. (Maybe it would be a plan to go back to Bluestacks 2 because of this...)

@Yosroel Agreed! perhaps this is the only way out

I think your question is

"You are not able to find your downloaded files which you have
  downloaded over bluestacks"

You can move to this ----
C:\ProgramData\Bluestacks\UserData\SharedFolder
here you will find all your shared data

First enable hidden files and folder to view program data folder

or you can  just send all files to desktop from bluestacks to view all your files and other stuff
hope this will help you...

i already checked this folder so many times..but it shows empty..

you can also install es explorer and choose send to windows this will help you

how to do that can you tell steps? i already installed es explorer

My path as of 9/6/2018 in Windows 10 is:
C:\ProgramData\BlueStacks_bgp_kk\Engine\UserData\SharedFolder
ProgramData is a hidden file in windows 10.
In ES File Explorer I go to:
Home->Internal Storage->Windows->BstSharedFolder

Here are the same files in Windows File Explorer:

Note the path.
I have BlueStacks 3 installed.

Use the Media Manager to transfer files from Bluestacks to Windows.
Here are the steps.

Click on My Apps tab.
Click on System app.
Click the Media Manager.
Long left mouse click on the file you want to transfer to Windows.
At the top click on Export to Windows.
Select a location in Windows and your file will be saved there.
In Windows browse to your save location and now you will have the file located there.


text:
Is there a way to put upcoming Google Calendar events on the lockscreen?
I'm wondering if there's a way to put upcoming events from Google Calendar on the lockscreen.
I'm very forgetful and do not check my calendar regularly, so it would be nice if there were some way to remind myself when I open my phone. I tried Googling about this, but I couldn't find anything.

There are many apps available. Picked one on random based on downloads and rating. Try it (not tested by me) https://play.google.com/store/apps/details?id=com.codesector.calendar

This one is much much more popular and better rating https://play.google.com/store/apps/details?id=com.dvtonder.chronus

It seems the feature to display calendar events on lockscreen has at least become obsolete since lollipop:

With Android Kitkat and earlier, you could install apps that would display your calendar or other info on the lockscreen. With Lollipop or later, Android removed that feature.

However with a plethora of 3rd party lockscreen apps it is possible to get this working.
For such functionality please refer to this list of potential lockscreen candidates that allow one to view upcoming calendar events.
From that list and ones suggested in comments, I personally find these useful:

Hi locker

Hi Locker's offers a CyanogenMod-style quick launcher that works by
  holding and swiping over to one of your favorite apps to quickly open
  it from the lock screen. It has 3 styles of lock screen: classic,
  Lollipop and iOS, and a separate screen dedicated to your calendar,
  where you can quickly view upcoming events.

Next Lock Screen

Next Lock Screen looks elegant and simple, but beneath the surface
  it's cleverly calculating which apps you're most likely to use based
  on your location (home, work and so on), then presenting you said
  apps. You don't need to use this feature of course, but Next is still
  worth using for its neat presentation of notifications, calendars and
  other key phone functions.


text:
3 android devices possibly hacked and data compromised. Is it possible for devices to be hacked whilst offline?
In a museum we have 3 android tablets, 1 Samsung tablet and 2 commercial tablets. The tablets don't have internet connection, wifi is disabled, bluetooth is disabled. the tablets auto boot when power gets on, and autostart a fullscreen application to play video's.
A few weeks ago one of the tablets was missing his video files (stored on the external SD card). A few weeks later, one tablet was missing files again and the other tablet has the default videoplayer of android to play video files. After putting back the files everything worked again.
But this weekend, 3 android devices were not working. One commercial tablet is missing the video files on the sd card and .fuse_hidden file was on the external sd card, the samsung tablet is also missing video and photo files, and the other commercial tablet is giving the message Unfortunately, the process com.android.system.ui has stopped.
When I click ok the screen goes black and comes back with the same message. In the back of this message I see a unlockscreen, clock and text connect your charger. So so strange. After clicking multiple times ok, the message disappears but I don't have access to the tablet, because I don't know the unlock pattern, because I did not make that. On the external sd card no files are missing but a extra folder is there with the name .android_secure.
Are the tablets hacked? Is this possible offline? I am really frustrating about this, because I don't know what is going on. I hope someone knows.
Thanks in advance!

Strange! Were these tablets accessible to the public? I get an impression someone initiated rampant deletion of important files or at least tried hiding some files in vault

yeah really strange.. The tablets are build in a case. so they can only touch the screen. All buttons are hidden in the case. To open this they had to use screwdrivers and time. And the tablets were not visualy damaged, neither the case.. the application that is running is fullscreen and without statusbar. I personally have to plug in a usb mouse to exit application (after I removed the case)

Why is everyone so paranoid about getting hacked? I guess just tablets went nuts because of all time being on? Also if files were stored on same card every time file went missing than probably SD cards at dying. Perform factory reset and replace SD cards and you will be good to go.

tablets only run from 09:00 am till 17:00 pm...
and are tablets lock themself with a security lock pattern? I guess not. I am not paranoid, I just can not figure out why and how.

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


text:
List of apps I can delete/uninstall on my S4
Can someone please give me a list of apps that are safe to uninstall or disable on my Galaxy S4?  Thanks!

This depends on the amount of applications installed by you and by your carrier (if in US/UK) and there is no exact answer for these kind of questions. Please mention the android version and carrier variant along when asking a question.

As stated it may not be possible to build a complete list, due to carrier bloatware. You may need some of these for functioinality you need also. There is also variants of the S4, to confuse matters further. This is not a complete list, but trying to keep one exactly up to date is like trying to build your house beside a boat, before you get the foundation poured the boat has moved on down the river.
 XDA Bloatware List I must again emphasise that there can be roll on effects and you can lose functionality you MAY need on your device.
E.g.:  AllSharePlay15.apk Removing will impact Wifi-Direct function.  You CAN remove it, but you will lose WiDi and so on.
The alternative option is to find a Slim or Ultra-Slim ROM for your device. An example of this would be Echoe Illusion ROM for the S4 which has a SLIM and ULTRA SLIM variant of some of their ROMS. There is also the Google Edition 'Stock' ROM that you can use, which is 450 Mb approx, while Touchwiz Variant is about 1.6 Gb.  There is also the Echoe Debloater which can remove bloatware from recovery, but the caveat of losing functionality still applies. There are many other ROMs out there too so shop around if this option appeals.
 XDA Forum for S4
Note: Any mods/themes/firmeware must be for the EXACT variant of your device, such as GT-I9505, GT-I9505G, GT-I9500, GT-I9506 etc. Using the wrong ones can and most likely will brick your device.