text:
How do I install CyanogenMod on the Samsung Galaxy Tab Pro 10.1 Wi-Fi?
I put off buying a tablet or smartphone, because they seem like a kind of toy (not bad per se) and a way for big companies to use you. Even a laptop is not always practical though, and modern tablets are pretty powerful. After I found out that there are quality builds like CyanogenMod (CM) that can give you control over the device, I selected the Galaxy Tab Pro 10.1 Wi-Fi for its CM support, good reviews and current low price.
Unfortunately, I found out after the fact that the install instructions at the CyanogenMod (CM) wiki don't work:
http://wiki.cyanogenmod.org/w/Install_CM_for_picassowifi
This is according to CM users:
forum.cyanogenmod.org/topic/102253-help-flashing-using-heimdall/
http://forum.cyanogenmod.org/topic/109417-newbie-question/
In the second link, "the recommended method on the wiki for installing a custom recovery (via Heimdall) indeed does not work on the tab pro 10."
After many hours of research, preparation and finally success, I provide my own answer below in the form of a detailed, step-by-step How-To, because the information was scattered. Hopefully this can save someone time, or encourage someone to try it out. It's totally worth it.
I hope that some experienced users will vet my answer to correct any misconceptions and add helpful details and explanations.
NB: I currently don't have enough reputation to post more than two links.

Overview
One user reported a method to do this on the CyanogenMod forums back in January, but it isn't exactly detailed.
Similarly, my path has three main steps, with varying levels of detail:

Install a custom recovery. I used TWRP.
Wipe the device.
Install CyanogenMod.

Root?
Note that I did not root the device. This is because I used Odin to install the custom recovery (TWRP). An alternative way would be to root the device and then install TWRP, without Odin; however, I shied away from rooting. There is more than one way to go about this.
Terminology
I do not explain certain concepts and terminology, but most are available here:

http://wiki.cyanogenmod.org/w/Doc:_glossary
http://wiki.cyanogenmod.org/w/Basic_concepts

Requirements

One Samsung Galaxy Tab Pro 10.1 Wi-Fi
A willingness to void your warranty
A PC or Mac with admin rights for flashing the custom
recovery
A USB data connection cable An external SD card could be
helpful

Furthermore, these instructions assume you have the stock Samsung ROM installed. If you've flashed before, probably you don't need this guide or can use it to figure out how to adapt it.
Step 0: Familiarize
If you are new to flashing, read through these instructions and some other resources (see below and search your own) to familiarize yourself before going ahead. In my case, I read for about a week before I decided to act.
Step 1: Play and charge
If your device is new, turn it on and play around with it. This way you can familiarize yourself with the stock ROM to see what you will not miss later once CyanogenMod is installed. Since I'm new to tablets and smartphones, I didn't hate TouchWiz, but the stock ROM did feel restrictive. Personally, I didn't even turn on Wi-Fi at this point, much less enter any account details or install apps.
Most importantly, charge the battery to at least 60%. I just went ahead and charged it all the way. If the battery were to die while you're flashing later, it would brick your device.
Step 2: Install a custom recovery
http://wiki.cyanogenmod.org/w/All_About_Recovery_Images
The custom recovery will allow you to install CyanogenMod. This is the most critical and the most involved step. I've divided it into several small steps and provided lots of detail in an attempt to anticipate questions and reduce confusion.
Note on the choice of custom recovery:
The CM wiki instructions suggest using ClockworkMod (CWM) or TeamWin Recovery Project (TWRP). From reading on the XDA forums, I gathered that TWRP is both easy to use—it uses touch buttons rather than using the volume and power buttons with CWM—and most importantly that it works well. Having used it, I can confirm that it not only works, it provides useful feedback and an intuitive interface. I haven't used CWM, but it is also known to work.
The following four steps (2.1 through 2.4) can be followed in any order.
2.1 Enable USB debugging
I assume your device is using the stock Samsung ROM. If so, select Settings, then General (top of screen) and select About Device (on the left, probably have to scroll down). Look for "Build number" and tap it seven times, and it will display "You are now a developer."
There is now a new menu entry "Developer options." Select it and then tick "USB debugging" and select OK when asked whether to allow. Now you can power off the device.
2.2 Install USB drivers on your computer
You need these to communicate with your device via USB cable. This guide provides instructions here for Windows 7. I understand that it also works on Mac OS X. (I don't use anything Apple.) GNU/Linux, though indicated in the CM wiki, is out of luck since Heimdall is known to not work (see the threads linked in the question).
There is a good guide for installing the drivers on Windows, the key parts of which are reproduced below. As an aside, Samsung Kies didn't work for me.
2.2.1 Download the Samsung USB drivers
The link from the android.gs guide
This provides SAMSUNG_USB_Driver_for_Mobile_Phones_v1.5.25.0-retail.exe
You can get them directly from Samsung by entering your device, selecting Product Support and clicking on USB drivers, but companies like to change their web pages and drop support, so no guarantees.
This provides SAMSUNG_USB_Driver_for_Mobile_Phones_v1.5.45.0.exe.
2.2.2 Scan the drivers with your anti-malware program (optional)
My scan gave no indication of a problem.
2.2.3 Install the driver package
Launch the exe file you just downloaded and provide the administrator password when prompted, follow the on-screen instructions.
2.2.4 Reboot
After completion of the install, reboot the machine. You'd probably never have guessed this one.
2.3 Install Odin
According to the instructions on the TWRP website there are two methods of installing TWRP that require you to root the tablet, which this guide avoids, and one that doesn't require root but does require Odin. A way with just FOSS would be better, but I did go this path, which is a weird one. Odin is leaked software, so there is no official download site. Fight a web site you can trust to obtain it; one possibility is another android.gs article. The version that worked for me is Odin 3.10.6. Odin 3.10.7 is also available, but not necessary.
If you mistrust using Odin, look at the instructions on the TWRP site, or use CWM.
2.3.1 Download Odin
Search for yourself, although there is a link in this guide (June 16, 2015). The link from that android.gs guide is this.
Wherever you download Odin from, be sure it's a safe download!
2.3.2 Extract archive and scan with anti-malware
The program is in a zip file, whose contents you can extract and scan with anti-malware.
2.4 Download the TWRP image
This is an easy one. Go here
Under Download Links, click "Primary (Recommended)" and then the most recent version with the .tar filename extension. Currently, this is twrp-2.8.7.0-picassowifi.img.tar (9 MB).
2.5 Install TWRP with Odin
All of the above steps should be completed before continuing with this step. Your tablet should be charged and turned off.
2.5.1 Launch Odin
On your PC, navigate to where you extracted (unzipped) the Odin files, and launch the executable. You don't need administrator rights. At least, I didn't.
2.5.2 Plug the USB cable into the PC
I had success with the white cable delivered with the device, but that may be different for you. It needs to be a data cable; some are only designed for charging. Do not plug the cable into the tablet yet.
2.5.3 Boot into download mode
The Galaxy Tab Pro 10.1 Wi-Fi has an unlocked bootloader, which is one reason we don't have to root it. It thus comes with a unique boot mode called download mode. To enter it, press these three buttons simultaneously for five to eight seconds:
Power + volume DOWN + Home
The first two are on the top edge, the Home button is the one in the middle on the front under the screen. See for example here.
WARNING!!! This is your last chance to not void your warranty. Samsung has a KNOX flag on this device, an e-Fuse that you very likely cannot reset. Continuing will void your warranty. Yes, Samsung has an unlocked bootloader and then voids your warranty if you use it. To me the tablet is only worth having if I can have control over it, so Samsung makes voiding the warranty a necessity.
2.5.4 Plug in the tablet
The USB should be plugged into the PC at this point, the tablet is in download mode, and Odin is waiting to see a device. Now plug the USB cable into the tablet, connecting it to the PC. This is the moment of truth whether the USB driver was correctly loaded. I had some doubt, because Windows popped up a dialogue with the spinning blue disc, saying "Searching Windows Update" for approximately longer than I could handle. It finally did work though, and the battery had charge.
You'll know it worked when Odin's "Log" window adds a text to show the detected device:
<ID:0/003> Added!!
That's what it read for me, anyway. Where Odin says ID:COM above several bars, there will also be a light blue background with the first tab listing 0:[COM3].
2.5.5 Set up Odin for flashing
Click on the Options tab to the right of Log, and make sure only the following two entries are checked:

Auto Reboot
F. Reset Time

The others should NOT be checked. Checking/ticking the wrong boxes here could brick your device. See here for some explanations of Odin terminology.
Now check/tick on the box next to the AP button. In earlier versions of Odin this button is apparently the same as the PDA button. Against my expectations, the BL (bootloader) button is not correct; the twrp.me instructions explicitly mention to use the PDA button (now AP). Browse to the TWRP .tar file you downloaded in step 2.4 and select it. Do not press Start yet.
2.5.6 Double-check everything
Seriously, do.
2.5.7 WAIT: Read this before pressing Start
We are about to flash TWRP to the device. The flashing goes very fast on this device, only a few seconds, and then the boot happens right away. The stock ROM will probably overwrite TWRP if allowed to boot. To prevent this, you want to boot immediately into recovery mode as described below. You need to have the tablet in your hands and be ready to press the keys as soon as you see it is rebooting.
2.5.8 Press Start and enter recovery mode
After pressing start, the tablet will soon reboot. To enter recovery mode, press and hold the following two buttons simultaneously:
Power + volume UP
If it worked, you will be greeted with the blue (in version 2.8.7 at least) TWRP splash screen.
If you missed entering recovery mode (I did the first time), Samsung will start your tablet as usual. Don't panic. Power down the device and repeat the preceding steps, starting with 2.5.2.
The next time you boot into download mode, you may notice the following line:
KNOX WARRANTY VOID: 1
Be glad that you are now out from under Samsung's oppression. :)
Congratulations. The rest is pretty painless, even fun!
Step 3 Use TWRP to install CyanogenMod
TWRP is powerful software. Respect it, but don't be afraid. It's actually easy and fast.
3.1 Pick your CyanogenMod
Based on the 36-page thread on CyanogenMod 12.0 Nightlies for the Tab Pro 10.1 Wifi (picassowifi) (link), the June snapshot is stable for daily use, and that is my experience so far. (The 12.0 nightlies were discontinued sometime in April with the advent of 12.1 nightlies.) If that's the version you'd like, get the snapshot here
The CM12 June snapshot filename is cm-12-20150626-SNAPSHOT-YNG4NAO0A0-picassowifi.zip (231.71 MB)
Do not unzip the file. I recommend transferring it to the SD card in its own folder.
Note on file integrity:
Note there is a sha1 sum listed below the download. You can use this to check the integrity of the downloaded file. If you can use the PC to transfer this file to the Android storage, you can use the PC to check the file integrity after download (easy on GNU/Linux and probably on Mac, may need to download a utility on Windows). In my case, I couldn't get the PC to see the Android storage, so I ended up turning on Wi-Fi to download the CM12 snapshot directly on the device. If you want, "there's an app for that."
3.2 Back up (optional)
Restart the tablet in recovery mode (see 2.5.8 above), so that you are TWRP. If you want, you can back up the stock ROM to revert to in case of eventual trouble. I recommend putting this on the external SD card.
3.2.1 Press Backup
3.2.2 Set backup name (optional)
If desired, give a meaningful name; note it includes the date and build number, mine was KOT49H.Tt520XXUAOB1. I also clicked to enable compression (smaller file size, but takes longer) and allowed MD5 generation (for an integrity check when restoring, I believe). Use the enter key when done. (Took me a while to get this.)
3.2.3 Select Boot, Data and System
3.2.4 Swipe to Back Up
When done, return to the home menu
3.3 Wipe the tablet
This is a crucial step for correct flashing.
3.3.1 Press Wipe
3.3.2 Press Advanced Wipe
3.3.3 Make selections
You want these four:

Dalvik Cache
Cache
Data
System

Do not select Internal Storage or external_sd.
3.3.4 Swipe to Wipe
This will go fast. When done, return to the home screen.
3.4 Install CyanogenMod
Go for it!
3.4.1 Press Install
3.4.2 Select the CM zip you prepared
You can use the Folders area on the left to navigate between external (SD card) and internal storage, wherever you stored the zip file in step 3.1. Select the file, making sure it's the right one. You can select "Zip file signature verification?," which I suspect also verifies the file integrity.
3.4.3 Swipe to Confirm Flash
Shouldn't take long, actually.
3.4.4 Return to Home menu
When done!
3.4.5 Press Reboot
3.4.6 Press System
3.5 Boot into CyanogenMod
You should now see the CM logo animation and walk through the device setup. Rejoice!
Notes
Note on GAPPS:
I want to get away from Google and did not install the standard Google apps. If you want to do that, it's your homework.
Note on Google leftovers:
Unfortunately, CyanogenMod is not entirely free or open-source software—there are remnant proprietary Google components. You theoretically can remove these using a script called freecyngn. Sadly, I haven't been able to confirm yet that it worked on my device.
http://forum.xda-developers.com/showthread.php?t=2550769
NB: I didn't know how to take screenshots, but experienced helpers are welcome to do add images.
Resources

Install CM 12 Final Android 5.0.2 Stable ROM for Galaxy Tab Pro 10.1 Wi-Fi (Uses root)
Samsung USB drivers
How to root Samsung Galaxy Tab Pro 10.1 SM-T520 (updated March 2015, see download mode)
How To Root Samsung Galaxy Tab Pro 10.1 SM-T520–Easy Guide (Feb. 2014, see Odin interface)
How to Use ODIN to Flash the Official ROM [Ultimate Guide] (Jan 2013, see Odin terminology)
Odin Tutorial: How to Use Odin to Flash ROM on Android Device (Jan 2013, older guide)
How to Install Custom ROM using TWRP Recovery! (Get a feel for using TWRP)

And I was thinking I got the lengthiest rooting guide on this site. :)

Thank you very much for this write up, I too tried the CM recommended method on my SM-T520 and finally stumbled across this when I found out it did not work. This is well Written and easy to follow; the only hang up i had was entering Recovery. I finally figured out that my unit ONLY uses Power and volume buttons to access EITHER Download or recovery modes. Power + Vol Down = Recovery
Power + Vol Up = Download

Many thanks for the excellent write up. I'm  surprised that this hasn't attracted more helpful comments. I found this from Google, and it certainly helped me.
One tip: To avoid the finger twisting you described in Section 2.5.7, simply  disable the "Auto Reboot" option in Odin. When the flash is completed, long-press the Power button on the SM-520 to power it off, and then use Power + Volume Up + Home at your leisure to enter into recovery mode.
Note 1: I used TWRP v3.1.1-0. It crashed while performing a Nandroid backup of my existing setup. When I used the version 2.8.7-0 you used, it worked.
Note 2: CM ROM have been superseded by Lineage OS ROM.
Note 3: If you want to install Google Apps, it is best to reboot to complete the installation of the OS first, and then reboot back into TWRP to continue the installation of GApps.

For "Note 3" I have the complete opposite advice: flashing GAPPS after booting the ROM will likely cause a bootloop. There's no real point in "completing the installation of the OS first". Other than that, good supplement to the above answer.

Thanks Andy. I also used the following guide, to install Luneage on my Samsung Galaxy S4 mini: http://www.cyanogenmods.org/forums/topic/galaxy-s4-mini-lineage-14-1-nougat-7-1-rom/. In step 1e, it recommends to reboot after installing the OS, just before installing Gapps.

Andy. I checked again, and you're right. My mistake. They have both to be flashed as a single  operation.


text:
How does Android detect new mail, tweet, etc?
I am curious about how Android is able to send notifications. I have installed apps such as Gmail, Google+, Whatsapp, Twitter, etc., how does Android know when there is new mail, whatsapp message, or Tweet? Is this something that is handled by Android or the application that is running?
What kind of things happen underneath?

It's a very clever system called "Push Notifications".
How it works
An Android device will keep an active connection to Google's servers. This is a small connection, using very little amount of data and power. Notifications are sent from app developer servers, say Twitter, or Facebook, emails, etc. to the Google servers. The Android device will then see that notification and download it.
I just found a better explanation on Stackoverflow. The good explanation of how it works can be found here. (Here's a quote of the first answer, although answer two is easier to understand):

There is simply a TCP socket waiting in accept mode on a cloud Google server. The TCP connection had been initiated by the Goggle Play application. That's why Google Play must be installed on the device for making Google Cloud Messaging (GCM) (formerly Android Cloud to Device Messaging Service - C2DM) work.
When this TCP client socket receives some message, the message contains information such as the package name of the application it should be addressed to, and of course - the data itself. This data is parsed and packed into an intent that is broadcast and eventually received by the application.
The TCP socket stays open even when the device's radio state turns into "idle" mode. Applications don't have to be running to receive the intents.

Why using push notifications are useful
The effect of having a single open connection means two important things:
Firstly, your device uses less data/bandwidth connecting to all the third party servers.
Secondly, it uses less power, as applications don't have to be open in the background to check for notifications, as it's all handled by a single background application.

All those apps use a service called Google Cloud Messaging (formerly known as "Cloud 2 Device Messaging", hence the corresponding app permission still carries the C2D abbreviation: com.google.android.c2dm.permission.RECEIVE).
In laymens terms: Apps using that register with the GCM servers when your device starts, and tell them what the registration is for. On the other end, the target service (Gmail, Google+, etc.) has also registered with those servers. So the GCM servers mediate between the two: whenever there is a new "event", the Android device registered for the corresponding service gets notified. One big plus here: instead of each app keeping its own network connection for that, only the Google Services app will do that – and simply "wake" the target app when there's news for it.

It's impossible to tell exactly how it's implemented without having access to the source code (which we don't have), but looking at the permissions Android requires to install these kind of applications it's assumable it uses some kind of Push Technology.
In this kind of messaging system establishes the server as the initiator of the event, so basically the app registers itself in a central server and then the central server, when needed, sends an event to the client which is what you see when you receive a new Whatsapp message, for instance.
You might get more info here.

source: Stack Exchange

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

sort: votes


text:
How to avoid leaking private data to apps without rooting my phone?
The majority of apps on the Play Store require access to things like location, contacts, call log, identity, SMS, etc., even when the app functionality clearly doesn't need this information to work.
I read somewhere that for rooted devices there's an app that can provide fake data to other apps, thus protecting the users privacy.
But I don't want to root because of security issues (I haven't really researched it much, but I don't think there's much control over what goes into the modified system images).
Is there a solution to this? At the moment I just don't install apps that require too much, which leaves me with very feel options in some cases.
Ideally there would be some way to block the access to certain data, even when I install apps that want that access.
Thanks.

See if any app solution does the job for you: Are there any tools to sandbox a malware application even more than the granted permissions on Android?

I suggest you upgrade to Android 6 when it comes out :) In the meantime, don't install suspicious apps.

Simple answer is no.
Also, I'd like to point out that there's many, many reasons apps will ask for these sorts of permissions, and I can promise you, they're not all stealing your private information. For instance, the SMS permission is commonly used to detect conformation codes that an app may send you.
If you are installing calculator apps that require your call log, contacts and SMS, then just download another app.
People these days are getting far too scared over nothing.

Thanks. It's not "nothing", though, it's personal information. Yes, there are valid cases, but the correct way would be for the app to ask me if I want that feature (in your example, to automatically verify a code), and if I don't allow it, just let me use the app without this.

That is a good idea, and something I think it'd be cool for Google to implement. As for rooting, you're safe. Popular custom ROMs are often checked over by third party developers and security firms for the sort of thing you're worried about. But really, I doubt apps are stealing your personal data - nor do developers really care. Whilst it is possible for an app to copy all of your text messages, it's not an interest to the developers, and even if they were to, that'd be braking the law in most countries, and they would likely get caught

Currently there's no way for us to know how an app will use the permission. It's like if I allowed a stranger that is mowing my lawn to go into my house while I'm at work so he can wash his hands. Maybe he's a nice guy and just wash his hands, but I would prefer if he used the garden hose (there's probably a better example, I'm not good with analogies).

That's a good analogy and a good point. Yes we don't know what they are doing. But I can promise you, not a single app created by a "top developer" on Google Play will be stealing your information, and any app with lots of users wont be either. People constantly check app source codes for this precise thing. If you've not heard a real story about a popular app stealing data, then it isn't. Case closed bruh

I don't like your thinking MyNameWouldGoHere. Large companies and apps with many users have the most to win with gathering your personal data. If the app isn't open source, you never know what it is doing. And even when it is open source, the app you install from the play store may very well be built from a different source ;)

I strongly disagree with your "simple answer is no", there are a lot of research papers and also actual products (see my answer for an example) that show that this is possible without root and system modification. Please do not give absolute answers if you are not absolutely sure.

A rooted stock ROM is a security risk, and apparently the reasons to root have disappeared over the past few years. You can have the behavior you describe, however, if you are willing to install a custom ROM, assuming your device is supported. Specifically, CyanogenMod 12 has Privacy Guard, which gives you fine-grained control over what permissions each app has.
Overview including mention of Privacy Guard
https://wiki.cyanogenmod.org/w/Why_Mod%3F
Supported devices
https://wiki.cyanogenmod.org/w/Devices#vendor=;
You may first need to root your current ROM to unlock the bootloader, in order to install a customer recovery and then CyanogenMod, but once installed, Privacy Guard prevents the need for root access, so it is not enabled by default. You can easily enable it under Developer Options in those cases when you do need it, but run without it under normal use.
I found a couple of articles that explain the options well, although they are more than a year old:
http://www.xda-developers.com/protecting-your-privacy-app-ops-privacy-guard-and-xprivacy/
http://www.cnet.com/news/why-android-wont-be-getting-app-ops-anytime-soon/

In fact, there is an application called SRT AppGuard that runs without root privileges and can monitor and even revoke permissions from third-party applications.
The reason this works without root is the following: When you choose to monitor an application, this app is first found on the device, then its code is instrumented in a way that everywhere in the code where a call to a permission protected funtion is made the AppGuard system first checks if you have allowed this, and then the instrumented app is installed again. So they are effectively injecting additional permission checks that you control into the application.
You could for example allow internet access, but block SMS and location.
Of course, such rewriting approaches are not 100% stable, so for a small number of apps this might not work. But for all other cases, this provides you the possibility to monitor and block access to specific critical resources. There is a free version, so you can try it out.

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


text:
Can't show the content of /sdcard of my Android phone from Ubuntu's Nautilus or FileZilla via sftp
I set up a ssh server on Android using SSH Server by Ice Code App.

Settings of ssh server:   https://i.stack.imgur.com/ZlbzJ.jpg
https://i.stack.imgur.com/b1X4i.jpg https://i.stack.imgur.com/CgT4d.jpg
Settings of ssh user t: https://i.stack.imgur.com/DHxMT.jpg https://i.stack.imgur.com/efqVA.jpg

After upgrading from Android 4.3 to 4.4.2,

sftp from Nautilus or FileZilla in Ubuntu to Android can't read or write the content of /sdcard any more.
But ssh and scp from terminal in Ubuntu can still read, write and transfer files in /sdcard.

I connect  using the same ssh user t in sftp from Nautilus, and ssh and scp from terminal, although why is the ssh prompt  u0_a116@C6730 rather than t@c6730?
If they indeed use the same ssh user, why is there  the difference in read permission?
In ssh to Android, I see the read, write and excecution permissions for "others" users are not allowed:
u0_a116@C6730:/ $ ls -l
...
lrwxrwxrwx root     root    1970-01-11 17:07 sdcard -> /storage/sdcard0
...

u0_a116@C6730:/sdcard $ ls -l
drwxrwx--- root     sdcard_r          1980-01-01 00:00 Alarms
drwxrwx--x root     sdcard_r          2015-07-22 08:05 Android
drwxrwx--- root     sdcard_r          2015-08-18 22:41 Cardboard
drwxrwx--- root     sdcard_r          2015-08-20 19:40 DCIM
drwxrwx--- root     sdcard_r          2015-08-29 21:22 Download
...

I guess my ssh user t belongs to the "other" group. but don't know how to confirm that. I couldn't add the permissions:
u0_a116@C6730:/sdcard $ chmod -R a+r Download/
Bad mode

What does the "Bad mode" error mean?
What are some solutions?

Can I change file permissions on Android directly?
Do I need root? But I heard that rooting my device Kyocera Hydro Icon with Android 4.4.2 isn't possible due to locked bootloader?
Can I downgrade Android from 4.4.2 to 4.3?
Can I upgrade my ssh user account to be one level above "others", so as to have write and read permissions? Do I need root? Will that solve the problem, given the difference in read permissions between sftp from Nautilus and ssh and scp from terminal under the same ssh user?

I found a discussion at http://forum.xda-developers.com/google-nexus-5/general/sdcard-problems-upgrading-android-t2938749
, where the suggestions seem to require root,  right?
Thanks.

@Firelord: it is android problem. It denied the permissions of read and write for "other" users to the files in /sdcard. But I can't change that, is it because of the upgrade of Android from 4.3 to 4.4.2? Thanks for catching the typo. See my update.


text:
How to solve the "APN settings are not available for this user" issue?
After upgrading my ASUS Zenfone 5 to Android Lollipop, I am unable to access HSPA/3G data. In Brazil we have to manually input APN settings, and when I try to do so, I receive the following message (in Portuguese, here tentatively translated into English):
Access point Name settings are not available for this user.
As my phone is rooted, I have tried solutions proposed by this topic and also by this. None gave me results, even provided that I followed every step without any errors or warnings (chmods and chowns were all effective and edits to content://telephony/carriers were persistant). I also tried to re-generate telephony.db file by deleting it (thus forcing Android to populate it again). A factory reset (as suggested here) had no effect as well.
So far I have nothing to celebrate. My only access to internet is Wifi at home and at work. No mobile data access, and I know it is available (this week I had a try with CM12.1 and data connection worked perfectly. Unfortunately had to revert to stock ROM because CM12.1 is still too buggy). No better suggestions came from googling around other sites and forums.
I hope someone can give me some light over this issue, as I should rely on my mobile internet access to perform various things when commuting or away from wifi.
Heads up: the bounty was automatically awarded by this site yet the problem was not solved. Still awaiting a valid response.
Final update: please refer to my answer a the bottom of this page. The problem is (finally!) solved by the latest (v. 3.23.40.78) released by ASUS.

Seems it's a known issue on Zenfone 5. I found 2 suggestions: downgrade the Android version (which might not be the best interest), or follow the SOP for APN Editor. Unfortunately, I don't have either device to test, so could do a favor and let me know if it works?

@AndrewT. I really do not want to downgrade Android for now (would be last resort). Following the SOP did not work: as I try to launch the installed ApnEditor, I get the message "ApnEditor has stopped" and the app closes itself. Any other ideas? Thanks for your attention!

The latest stock ASUS update (v. 3.24.40.78) solves the problem.
I had to unroot my phone, apply both 5.3.3.3 and 5.2.2.2 downgrades (in this order), then I applied a FOTA upgrade (97Mb download, received and applied automatically). Then I could install the latest version (downloaded from ASUS website; uploaded via USB to phone's internal storage; unplugged USB and then the update could be applied automatically). APNs are available by default, I did not even have to input my APNs manually (as I had to do in prior versions).

After hours of experimenting, found the reason for this, (it works for me).
Nothing too technical about this post in contrast to what these posts suggest.

Step 1 : WiFi turned on, and be in the range of a known WiFi network.
Step 2 : Reboot the phone (may need to reboot several times, if it doesn't work the first time)
Step 3 : When the phone reboots, it should connect to WiFi network.
Step 4 : Go to APN settings and see that you can, now edit APN settings.

Reason : When phone is turned on, if it's not connected to WiFi, it will try and connect to mobile network thus disabling you from editing APN settings. However if you try the above steps, your phone connects to WiFi instead of Mobile-data.

I have tried the steps you provided without any success. WiFi is always turned on here; once I reboot the device, I try and go into apn settings but the item is greyed out from the menu. It takes around 40 seconds to become available, and when I open it, there comes the dreaded message. Apn settings are still unreachable to me.

have you tried toggling off mobile data,turning on WiFi and rebooting?

Yes, I had this idea but the result (or lack thereof) was the same.

Try factory reset

As I pointed in my question (last sentence of second paragraph), I have tried it before (multiple times) without any benefit. Thanks for your attention anyway!

If the problem is not resolved, maybe it's a bug, you could try installing cm11, that has less bugs

With your method, even after multiple reboot, I was unable to access to the APN config so I open a terminal as root and rename the android telephony provider : mv /data/data/com.android.providers.telephony /data/data/.bak.com.android.providers.telephony. Then I reboot my phone and I was able to create a new config despite I seems not to have proper rights yet. After saving my new config, list remain empty, so I just restarted again and disable airplane mode. When I got back to APN config all new default config were here with my custom one.

I tried this many times without luck, but eventually it did work after setting the phone to airplane mode in step one. Not sure if it was the repeated attempts or the airplane mode that did it.

As you have root permissions, try copy and replace telephony related files from CM12.1 to your phone.
/data/data/com.android.providers.telephony/databases/ is the path where telephony.db exists
Note: This may harm your normal working of your phone; try it with your own risk.

where can I get these telephony-related files from CM12.1? all I have here are boot.img and system.img for flashing. I wouldn't like to install CM12.1 just to retrieve such files... any repository around where I can download them?

you can install CM 12.1 in your PC with Virtual box  link and try explore directories of it

Remove your simcard PIN
Turn-Off Data
Turn on wifi
Reset the phone 3 times

That worked for me.

Try manually setting the HSPA network.  Open Dialer and dial *#*#4636#*#* and set it manually.


text:
SystemUI/lockscreen malfunction on DROID Turbo
I have a Motorola DROID Turbo running Android 5.1, unrooted, and I cannot unlock the phone because the lockscreen does not appear. This problem started occurring after the phone ran out of battery and powered off normally (not forced shutdown).
With the screen on (black), I can hold the power button to bring up the power menu and reboot into safe mode. I can take screenshots, but I cannot change the volume. Hardware navigation buttons do not work (back, home, recents, or menu), and I cannot swipe up for Google Now. I can see my custom lockscreen, SlideJoy, and I can see the time, but I cannot interact with it, and the notification bar is also missing (telltale signs of com.android.systemui not running).
Here is what I have tried so far:

I have removed the SIM card to try to trigger the lock screen. Did not solve the problem.
I have wiped the /cache from recovery. Did not solve the problem.
I have booted into Safe Mode, so my custom lockscreen would not load. There is just a black screen when I try to turn it on. Touch inputs work (I can interact with power menu) but trying to interact with the black screen does nothing.
I have tried to connect it via USB to try ADB commands, but I have yet to permit any computer RFIDs.

I am only willing to wipe /data as a last resort.


text:
how can I have my you tube music playlists available to play on my galaxy xcover even when I have no Internet connection?
Can I have a play list transfered from my you tube account on to my actual phone to use when I have no Internet connection?  What do I have to do? - im a tech no spaz!-please help me thanks

There is no possibility of using youtube without an internet connection.
Youtube doesn't even allow you to play music and such wil the screen is off.
You would need to have a playlist on your phone in order to play a bunch of songs.


text:
smartphone as a USB ramdisk
Is it possible to use an Android device (like a smartphone) as an USB ramdisk?
Basically i'd like to have the PC accessing a tmpfs on the smartphone as a (virtual) USB mass storage device, so data gets written on the smartphone RAM instead of the flash memory.
This could have many use cases:

emergency swap space for PCs with low RAM
temporary storage for privacy sensitive-data
fast storage for temporary files (alternative to a native ramdisk wasting PC RAM)
PC USB interface benchmarking

if you think you can do it, just embed your android storage onto the pc: but note: if you use usb (currently usb 3.1 supports only 10gibs minus bad transfer,....), I don't expect you have an USB 3.1 android phone and a corresponding pc, so your theoretical maximal data rate would be 60mbps, which is slower than most hard drives.

It still looks interesting to me despite the USB 2.0 bottleneck. Side note: i've found this commercial app that could do the trick by mounting /tmp. I'm going to try it asap.

by the way there is also a free version.... https://play.google.com/store/apps/details?id=os.devwom.usbsharereval

How to boot an .iso file in PC using Android device?

I wouldn't do it as the data rate is far more slower then RAM speed.

USB Share does the trick by creating a virtual usb image in /mnt/secure (which is mounted as tmpfs on my Android 4.2 OS). Then, mount and share the image with RW permissions.
Side note:
i've found my OS also mounts a tmpfs on /sdcard/.android_secure but when connected as USB mass storage the files get written on the flash memory instead of the tmpfs.
If you know a better solution not requiring any commercial app please let me know!


text:
Samsung Galaxy s5 receiving MMS as group messages?
I have a new Samsung Galaxy s5 which I like however when a single contact decides to message me an MMS (picture/video) my messages start a whole new message thread as a 'Group message'.
I just want the single message thread to continue with the same person when I received a MMS (picture/video) from that contact. Is there a way of making this happen via settings or something?
Much Love!

I recommend you change application to another is the simplest thing to do. You can find them on google store, one of the best is Textra (in my opinion).


text:
Can not access Internet on N9100 Android 4.4.2
I bought  a smartphone (N9100) which is running Android version 4.4.2 (kernel version: 3.4.67).
When I plugged the SIM card in the smartphone, I set Data connection to the name of the company that provided it to me.
I went to Settings -> WIRELESS & NETWORKS  and set Wi-FI to ON
I see now : 3G h+(with three vertical bars).
I open the browser and type any page but it says I have no connection.
Also, when I check in Wi-Fi -> Advanced , I see that I have no IPv4 address assigned to me.
How to resolve this problem?

WiFi has nothing at all to do with the SIM card. Can you see the company's WiFi network name in Settings › WiFi? If so, tap it and provide the network key. It then should connect to this WiFi network.

Now you're talking about mobile data – and yes, that's connected to the SIM (other than WiFi). Usually, when plugging in a SIM Android tries to automatically configure the network corresponding to your provider. If your provider is relatively unknown, that might fail. You will need to check the APN settings then. If no APN is configured, contact your provider for details; they might send you a service-SMS for auto-configuration.

OK, with that verified, time to check the logs – something's going wrong here, so the logs should give at least a pointer to what that might be.

sorry for a stupid sounding question. But have you actually turned on your mobile data switch? From the question you were mixing things up when your were asking. So you could just have not turned on your mobile data switch.

This questions needs to have a better description - please rephrase your original question with the newest information - include which service provider your sim card is from, include screen shots from the APN settings. Otherwise we can only guess but can't help you that much.

Turn off wifi (and vpn , firewalls if any). Turn on mobile data. Restart phone.

Mobile data means  mobile internet(2G, 3G, etc ). It can be toggled from the notification area.

@Begueradj So did you get it to work?? Your comment was a bit ambiguous.

@Manubhargav convert your comment into an answer and I will accept (APN settings were the problem)

@Manubhargav yes, indeed

This behavior (3G/H/H+ shows up in notification bar, but no internet connection) usually occurs when APN settings are not configured properly.Also since it's a new phone, recently purchased you might need to configure APN settings pertaining to your network carrier (service provider)
APN settings can be obtained by calling up the customer support,asking them to send the APN setting through message(sms) or by googling even.
Some have found a workaround for the issue by simply changing preferred network type to 2G only
Also working on mobile data(2G/3G) does not assign any IPV4 under WiFi settings because that section shows IPV4 address assigned only by WiFi connections.

Click to enlarge


text:
How to remove the Google Now search bar from Nexus 5
My Nexus 5 has a useless and space-wasting Google Now search bar:

QUESTION: How can I remove the Google bar?
My rooted Nexus 5 runs stock Android 5.1.1, and I would rather get rid of Google Now if possible. I would rather not use a third-party launcher.
Notes:

Disabling Google Now bricks Nexus 5 phones, so I want a procedure which is certified to be safe on Nexus 5 explicitly.
This wild procedure for Nexus 5 is hard to trust (anonymous comment), and it requires two phones. The different procedure below does not sound more trustable.
Remove Google Search Bar on Nexus devices running on stock Lollipop is for Nexus 6 and Android 5.0. Hide search google search bar on nexus 5 is different because the asker wants to keep Google Now, I don't. How do I remove the search bar? is for Android 1.5

isn't there a setting, at least in cyanogenmod is one. but I thought also on the vanilla android. but if you want, you can look for the launcher source code of the AOSP and modify it, and install it as separate launcher

Seems like you need another launcher. The search bar is most likely hard coded into your current (Google Now) launcher.

While I agree with @GiantTree (I remember the very same "hardcoded" thingy), you could try disabling Google Now via the Google Settings app. Not sure whether that helps, but it's worth a try – especially as you don't want to keep Google Now anyway.

Oy sh!t! Wasn't aware of that (who would dream of such a thing?) Sorry for that then. So that was what you meant by "the usual procedure"? Could you [edit] that into your question, and we remove the corresponding comments then?

I would like to believe that Remove Google Search Bar on Nexus devices running on stock Lollipop should also work in Nexus 5, Android 5.1.1. However, the problem is, RossC's answer has been self-deleted, which I believe it should work using Xposed framework...

I was having the same problem but on Nexus 6 running stock Android 6.0.1 (yes, Google Now Launcher is there as a showpiece. The app Google seems to be handling everything and disabling it caused a boot-loop). I tried Xposed GEL Settings (free) and I was able to hide that pesky search bar from home screen of Google Now Launcher. I later used GravityBox Xposed module to hide search bar from recent app screen. Try it. It should work since devices differ but not the Android version and implementation of stock launcher.

Added: After more searching, I found How to remove the Google Search bar from your Android homescreen indicating you have these options:

Disabling Google Now, which is not recommended on the Nexus 5 as it might soft-brick your device
Install custom launcher, which you don't really want to do
Using Xposed framework (root required), which doesn't seem to work as Exposed and ART is a bad combination
Install a custom ROM, and then disable it

In other words, it seems like you need to make up your mind on either living with the Google Now search bar, installing a custom ROM, or install a custom launcher.
Original answer with fails
The 14 Essential Tweaks to Perform on Your New Nexus 5 Smartphone  has the following to say on this topic:

You'll probably notice the search bar on the homescreen has a reminder to say "Ok Google" to trigger a voice search. It's a neat feature, but the text is a little annoying. It will go away only when you've proven you understand what it's saying. Just do any voice search from the homescreen to clear the text and get your nice, clean bar.

Fail 1: Does only remove the text, not the search bar
The previous tip is for the nexus 5 and lollipop,  whilst the next tip is only for previous android version,  from 25 Hidden Nexus 5 Features:

Open Google Now with the quick setting above, or swipe to the left and enter Google Now on the Nexus 5. Scroll to the bottom and tap the three dots on the bottom left (menu) > tap settings > and simply tap the On/Off switch at the top to disable Google Now.

Fail 2: Does only apply to previous version of Android
My final tip if none of the above works,  I did the following on my Sony Xperia Z3 running  Android lollipop:

long press on home screen on an empty space
toggle the hide/show button of the Google search bar

Fail 3: Correct procedure for some phones, but not for Nexus 5
Hope either one of these helps you out!

I'm afraid this won't work, since it's a known "issue" that it's impossible to remove the search box on Nexus device. Also, the Xperia Z3's method doesn't work on Nexus since there's no setting for that.

The article you linked to says "You'll probably notice the search bar on the homescreen has a reminder to say "Ok Google" to trigger a voice search. It's a neat feature, but the text is a little annoying. It will go away only when you've proven you understand what it's saying. Just do any voice search from the homescreen to clear the text and get your nice, clean bar.". It is only for removing the text inside the bar, not for removing the bar itself.

@NicolasRaoul, Hmm... I was wondering about the text but it sounded so promising, that I thought I should mention it. That does render the entire answer kind of useless. Sorry.

It is not useless, at least it confirms that Google deliberately made it really hard to remove it (I am trying to do it on a more recent phone, and also failed - https://android.stackexchange.com/questions/215147/remove-search-bar-from-home-screen-in-android-9-pie ).


text:
To what forms of "Where are you" will Google Hangouts afford a "Share your location" button?
When asked "Where are you now?" by another person in Google Hangouts, the app will offer an action button for you to send your location to the person:

What other forms of that phrase will work? So far, I know that these do, with or without the punctuation:

Where are you now?
Where are you?
Where you at?

@Rubén It's just as much a part of iOS and desktop as it is part of Android. I just happened to use an Android screenshot because it was available to me at the time of writing.

You should consider to add that to your question to make it clear that it's a question related to the overall system and not only for mobile apps. By the way, how can be added the location from the Hangouts apps for desktop?

@Rubén Do you know of a more appropriate place to ask about multi-platform software questions? My question is not about adding location from desktop or Android or iOS. I don't know if you can add a question from desktop or not, but I know that you can, using the desktop Hangouts, ask another person (who is using Hangouts on a mobile device) one of the questions and the button will be afforded. My question is about the invocation process, not the provision of the location.

@Rubén If you do know another more appropriate site, please suggest it so that it can be migrated there, rather than simply closing my question.

See my first comment. You could delete the question here and post it in the site suggested.

@Rubén Ok, I flagged it with a request for migration based on your comment.

May I know the reason why you want to know this? It seems impossible to know unless someone from Google discloses it (except, they only mentioned "Where are you,"). An article from 9to5mac shows a screenshot with "Where?" only. I don't use Hangouts, so I can't test it though.

@AndrewT.It's user research. I have curiosity about a grammar decision like this from a company like Google.


text:
nexus 5, can't see new texts for one person
Yesterday, I was texting this friend with whom I am romantically involved when all of a sudden, I couldn't see the texts between us anymore.
That is to say that I type the text and send it and she receives it but it never shows up on my screen, at all. On my side, it's like I never sent it. As stated, however, she receives it and can send some back, which I, again, don't receive even though it shows the text as delivered on her side.

I recommend unistalling the app the install one more time if it do not help the simplest thing is installing another messeanger ( in google store there is a lot of it )

I've just now solved a similar problem. I just texted someone on my HTC 626S (a couple of hours ago) a few times (and also received a few from him) but after ending the session I could no longer view the messages. I could view older ones but not the latest ones I just sent or received. Also, on ending the session I got a message saying that the message was stored as a draft, even though I'm sure I sent the last one. Apparently an older message of mine from a few weeks ago never got sent due to a loss of signal (the call was dropped) so Android stuck it in 'draft' instead. From that point on no newer messages could be viewed. What I did to fix it was to tap the draft message and backspace over all of the text. That deleted it and now all the messages I sent and received since then all show up.


text:
Can I flash Nexus 7 with Odin?
Current status
Device issue
I have a Asus Nexus 7, I can't flash anything with fastbootbecause all flash procedures I have read need to unlock (using fastboot oem unlock) or mount /cache partition and for some reason when I try something I get freezed mounting /cache partition.
More details about this please read: Nexus 7 Error: Failed to mount /cache, which still UNSOLVED.
Asus support
I asked to Asus Support Service (in USA and Mexico) and they answer that this device do not have support.
My claim
So I want to try to flash using a tool like Odin. Maybe it can solve my problem (now I have an expensive paperweight).

Odin is for Samsung devices. You would need a comparable tool from ASUS (I do not know if one exists).

With Odin, no its a different flashing protocol but it is a nexus so as long as the hardware is not fried you should be good to go. Google makes all the needed software for nexus's available. Are you getting those errors cannot mount /partion_whatever? your EMMC might be fried. With fastboot what have you tried? Is adb.exe and fastboot.exe installed on your computer? Open a administrator command prompt from your PC. Completely power down the device then enter the bootloader by press & hold the Power button + volume down button together. Then from prompt type fastboot devices what is returned?

@user981, Thank you for your reply.
I now understand that "Odin is for Samsung devices".

@BoLawson, Thank you for reply.
(1) I get many E:failed to mount /cache (invalid argument) messages. How can I confirm that EMMC is done.

First, can you get into the bootloader and get fastboot commands running? Because one way to test is to unlock bootloader and see how your device reports it. If it has hardware issue it will not change the reported state.

@BoLawson
(2) In a terminal when I execute fastboot devices I get 05861998 fastboot (this number is the device serial number).
(3) If i try to execute fastboot oem unlock in terminal, it show ... (three dots) as waiting confirmation of bootloader unlock in device screen. Then I select yesin screen and press power button, then immediately terminal shows (bootloader) Unlocking bootloader...and then (bootloader) erasing userdata... and still there.

Uh-oh if still erasing user data thats an issue bit i might have seen a fix. If it completed  though check to see if it unlocked first throw fastboot command: fastboot reboot-bootloader     check bottom left at locked state what does it report. Next fastboot command: fastboot oem device-info   what is returned?

OEM device-info? I found plenty of confirmation of what I suspected which is a corrupted bootloader. Look at Google issue here, here, and here. OK what you need to do is.

Download a factory OTA for your device.Here is a collection of OTA's but verify md5 to be sure.
Take OTA for the OS you currently have get the upgrade. Based on your other post recovery picture it's KK 4.4.4 KTU84P to LR50
Sideload the next OTA with ADB command.

adb sideload 0xxxa.signed-nakasi-version-from-version.0xxx9.zip

It should start to load once complete reboot. Don't worry with an official OTA your bootloader needs to be locked.

Repeat OTA sideload but this time from LR50 to LR51.

This should get you back up and running. If somethings off then the OTA should abort. If you need a debugging script refer to first here reference and check with with csm.hrm's example.

Unfortunately It does not work. :(
Once I select apply update from ADB option and execute adb sideload 5189573323c8a232cbe42fc3413ce006c585c7cb.signed-razor-LRX22G-from-LRX22C.51895733.zip in terminal, device shows these 3 messages: E:failed to mount /cache (Invalid argument), E:failed to set up expected mounts for install; aborting and Installation aborted.

Here you have an image of these messages: http://www.comunidad.escom.ipn.mx/ibuitron/wp-content/uploads/2015/05/photo_2015-09-02_00-27-04.jpg

Before giving up I would try to update in order from 4.4.4 KTU84P to LXR21P 5.0. The reason the corrupted bootloader is KTU84P. Also OTA should be done in order because they arereally patches to framework and so on

bad news!, I executed adb sideload 5a0f7a47588c268c239e58cf568823c6637c5af1.signed-razor-LRX21P-from-KTU84P.5a0f7a47.zip in terminal but it shows the same messages 3 messages: E:failed to mount /cache (Invalid argument), E:failed to set up expected mounts for install; aborting and Installation aborted.


text:
Device suddenly unauthorized for adb
I have a Samsung Galaxy S5 with Lollipop and recently broke my screen so that it is now black. adbcontrol worked somewhat okayish - I did not see the whole screen but it was just enough to navigate to my memos and share them. But now I remembered that I hadn't synced my Browser bookmarks so I started my PC again, connected the phone, adb devices showed the device - but unauthorized.
That already happened to me once so I ran adb kill-server && adb start-server but the phone stays unauthorized. Unplugging and putting it back in or restarting the computer did not help either.
Why is it suddenly unauthorized? And why can't I fix it with what I tried - because that worked already a few times...
And most importantly: Has anybody got any idea how I could make this work again (or maybe a different screen-replacing tool that doesn't require adb) ?

I can't say why you are unauthorized, but you can try resetting all authorisation in developer options. it will ask you again.

Thank you, but this is not an option because my Screen doesn't work (since I cannot access it anymore also not with the tool 'adbcontrol') - except I could somehow accept it again by using only the pc (?)

You can try the following:

adb kill-server followed by adb start-server
(on device) Settings -> Developer Options -> USB Debugging -- switch off and on
[Windows] Make sure you have the proper driver (your best bet is Universal Adb Driver by Koushik Dutta -- will handle any device)
[Windows] Try turning off all fancy on-the-fly anti-malware scanners/firewalls
[Linux] Make sure you have the proper UDEV rule in /etc/udev/rules.d/51-android.rules (again, universal solution: https://github.com/snowdream/51-android)
[Linux] Try using adb as root
Restart your phone
Replug cable, try different cable, different port, remove any extender cables

I hope somthing works for you :)

Thank you :) but I already tried unplugging, restarting and killing the server and re-enabling on the device is impossible cause of destroyed screen...I decided to bring it to a screen-replacement-shop..that should let me keep the data

You're welcome :). I hope your device works now. Let me know if there is anything that works besides the sceen replacement.

Now that the screen works again, adb DEVICES made the device ask me again for permission so youryour idea of dis- and reenabling would probably have worked if the screen would have

Great! :) Well you can mark it as an answer then :)

I just re-read my question and noticed that I mabe didn't make the 'my screen doesn't work' part clear enough. Questions without that exist enough on here. On one hand, your answer didn't help me at all, but on the other hand it is probably the most complete list of what could help when the screen still works. So I guess I give you that tick because ther is probably no solution for my specific problem.

You are right. Infact, there can not be a specific answer to problems like these. They require debugging but one thing is for sure, you need to debug in the right direction rather. Anyways, thanks


text:
How to create nested folders on home screen in Lollipop?
Example:

Assume that a folder F1 has ABC app icons (shortcuts) in it.
Another folder F2 has XYZ app icons in it.
The default launcher in COS12 doesn't allow inclusion of more than 16 icons in a single folder.
Neither it provides the option to include one folder (F2) into another one (F1) so that the included folder (F2) would show up as a normal icon in F1 amongst other ABC icons, but when touched, would show its XYZ icons, hence achieving the proper nesting.

How do I achieve this folder nesting in Lollipop?
I've found that Folder Organizer can do the job but it hasn't been ported to Lollipop's Material design. Result, your host folder looks in sync with rest of the UI (white background, smooth font) but the nested folder gives you a somewhat black background with not so smooth or crisp font. It also doesn't respect the current theme in place. Pretty much a weird combination in hand.
I believe Tasker's scenes can do this but I would like to have consistency between folders when it comes to their appearance.

I've a OnePlus One running rooted Cyanogen OS 12 with Xposed Framework installed.

This is relatively very close question: Can I have a folder (on the home screen) with more than the default amount allowed per folder on the Nexus 5, which is 16?

I've created a Scene in Tasker, loaded it using a task and created a shortcut using Task Shortcut widget to launch the scene.

First image is showing a normal folder with some app shortcuts. See the folder icon titled "Nest". It is a task shortcut for the Scene.
Second image is the Scene created in Tasker which is launched from a shortcut .

(Click image to enlarge)

To maintain consistency in appearance I took the background from Material Palette, cropped the color I wanted and loaded it into the Scene as background image.
All the app icons are loaded using Image element in the Scene.
Because it isn't a folder, so there is no drag and drop in it.

As for how to create this scene, you can see YoutTube videos or search Tasker sub-reddit or the numerous websites filled with cool tutorials. You may consider my answer here to get a rough idea of how to create a Scene in Tasker and how to use it then.

An alternative would be to use a third-party launcher app. I had SlimROMS installed already and I noticed that its SlimLauncher doesn't lag when Tasker is enabled. I grabbed it from that ROM and installed it on COS12. It feels like Trebuchet in terms of aesthetics, but much smoother and faster.
Anyhow, the point is, it doesn't restrict you to 16 icons per folder. You can have as many icons in your folder as much as you've in your app drawer.
Nova Launcher also allows you to add as many icons in a folder you want, so the need of nesting can be put on hold for a while.
(Click image to enlarge; First two images are for SlimLauncher and the last one is for Nova Launcher.)


text:
Can an LG G3 ROM be used for LG G3 Vigor?
Can an LG G3 ROM be used on LG G3 Vigor? I would like to know if it will work because my friend would like to flash a ROM on his phone.

Most of the time, the answer is it depends on which ROM are you talking about. Most ROMs comes with a speficic set of devices in mind (due to the need and support of partition layout, hardware-specific drivers, etc), so it really depends on the developer.
In most cases, a really similar hardware, would indicate that it should be usable to some extent.


text:
What's the difference between "Zombie, Run! Zombie Finder" and "Zombies, Run!"?
There are two different augmented-reality zombie games which work on Android devices:

"Zombie, Run! Zombie Finder"
"Zombies, Run!"

It's confusing that they have such similar names.  Please tell me about the difference between them.

I'm not so sure that the question is Android-independent. "Zombie, Run! Zombie Finder" only works on Android, and not on any other OS.

"Zombie, Run! Zombie Finder"
The first of the two games is called the "Zombie, Run! Zombie Finder".  It is free and open-source software.  The project founder is Peter Dolan.
According to an old comment by Reddit user "participating", it is:

[A] fun way to get some running/jogging/terrifying brisk walks done ... It also has a multiplayer mode, which I have yet to try out.

Several people have had commit rights over the years, including Peter Dolan (project founder), Gabriel Francis (Spanish co-translator), as well as "empeamtk" and "agent.craig".
Development started in April '09.  Version 1.3 was released to the Google Play store in April '13.  At last count, the game had been downloaded more than one million times.  If you look at the most recent code commits, you'll see that revision r207 mentions a "Version 1.3.1".  But I'm not sure whether or not such a version was ever released.  The game is currently unmaintained.  But, because the game is open-source software, a new maintainer could step up at anytime.
Mr. Dolan has moved onto other things.  The game is gone from the Google Play store now.  I have no idea why; if you do know, please enlighten me.
You can download the game from Aptoide.  You can find basic usage instructions here.

"Zombies, Run!"
"Zombies, Run!" is the second of the two games.  It is completely separate from the first game, and comes from a different development team.  It's a closed-source "freemium" game.  It's maintained by Six to Start Ltd., a British game-development company.
It seems to me that this game was conceived independently, though I am surprised that the development team didn't choose a different name.  It was released in Feb. '12, and is available for iOS, Android, and Windows Phone.
The Google Play store app description writes:

Zombies, Run! is a ... running game and audio adventure ... .  Every run becomes a mission ... with our ... audio drama putting you at the centre of your very own zombie adventure story.  While you run to [a] mix of ... audio drama and ... songs from your own playlist, you’ll collect supplies to grow your base back home.  ...  Zombies, Run! works anywhere and at any speed. You can jog in a park, run along a beach, or walk along a trail.  It even works on treadmills.

You can download the free version of the game here.
If you post questions about this second game over on our sister site Arqade, please use the tag [ zombies-run ].

Dear readers:  This post is marked as "community wiki".  Please edit and improve it.


text:
What's cyanogenmod's recovery.img?
I just went to download.cyanogenmod and saw the download now come with device-here-recovery.img. Can someone please tell me what is this for? thanks :)

Could you provide an example link? CyanogenMod is no recovery, so this confuses me. Usually, CM ships as flashable ZIP (to be flashed via the device's custom recovery) – but then it's not named .img.

CM has its own recovery now. https://www.reddit.com/r/Android/comments/2kgzfk/cm_is_going_to_use_own_cyanogen_recovery_ditches/

@Izzy See the fourth column here: https://download.cyanogenmod.org/

this recovery is mostly used in COS and not CM. (Cyanogen OS, not CyanogenMod). because COS, the system which is provided by Cyanogen Inc. on some mobile phones as stock ROM, this is the stock recovery on those phones. there is still the possibility of the cm recovery on every device which has got cm support, just because it's a stable recovery. it has not more features than other stock recoveries, I tried it myself. the only features are 1. flash signed updates (OTA, not any zip) 2. factory reset. not much more, but mostly useless tools.

@Firelord Thanks for the pointers! One more here at ASE: Cyanogenmod custom recovery can't backup, restore or apply an update! (the answer there fits the question here)

It's basically a basic recovery that is available with CM ROMs. Due to CM nature of distribution, though, this doesn't mean that most CM ROMs will use it, but rather depends on the developer that is distributing it.


text:
Better Readability with epub Books
I'm seeking a method to re-format epubs to be more readable on an Android phone (specifically the SGS5).
Epubs are awesome, however there are some issues I've come across with a huge majority of them: they weren't meant to be read on a phone. This leads to, for instance, the contents of a single page being compressed into a single, massive paragraph with annotations at the end of the paragraph. A single one of these paragraphs takes up about 2.5 "pages" in the reader I use. As you can imagine, this makes it difficult to read. I would like a method to ameliorate this issue.
I have seen a few methods for reformatting epubs, but they all require ready access to a PC, which I do not have, or manually editing the config files themselves, which is a more time-consuming endeavor than I care to undertake. So I need a quick method of reformatting epubs for readability on the Galaxy S5. I am also open to suggestions for an epub reader that might fix them for me.

I use "UB reader" on my galaxy s5 and It has alot of customisation with epubs such as, font size, background/text color, index, bookmarks ect. Seems as I can change the font size i find it comfortable at 9pt witch for an average size book is 2 screens to one book page. hope this helps.


text:
Rooting nexus 7 from AOSP
I have a nexus 7 flo tablet (with android 5.0.1) and I tried rooting it using twrp. It gave errors such as "can't mount /data" etc . I had to reflash from the source flo image to restore the device.
So, I want to root the device by building the AOSP source. If i just build from source and flash the device will it give root access ? How do i proceed ?. Alternatively, if i just modify the kernel a bit and then load it, will it give me root access ?
Thanks

You probably want to find a suitable tutorial online outlining the steps required for your particular version of the nexus 7 - "grouper" (2012) vs "flo" (2013). Rooting is so much easier these days(unlike the days of odin) that it shouldn't take long for you to find a suitable guide for rooting. Also make sure to include "xda" in your search queries, as those guys are usually up to date on the best way to root your device

Try Wugfresh NRT

Download Wugfresh Nexus Root Toolkit http://www.wugfresh.com/nexus-root-toolkit-2-0-5-is-out-now-with-proxy-support/
It's one of the very best methods. Additionally, the toolkit allows you to modify and flash data with a great degree of flexibility. You are going to love it.

Please mention the usage of that software to achieve the objective, in detail?


text:
How to create a profile with multiple context in Tasker?
Right now by default, Tasker runs my task when any of the context (aka. profile) are met.
I want to have the task only activate when all of the context are met:  location and time, et cetera.
How?

You can add more contexts to existing profile by:

Tap the profile to display the context
Long-press the context
Select Add +
Choose the context you want to add

For example, if you want to have location & time as the contexts:

On Profiles tab, tap + icon and select the first context: Location.
Create or choose the location
Create or choose the task
On Home profile, long-press the location name until a pop-up appears; press Add +
Select the second context: Time
After configuring the time, press Back to finish it

In case you want to remove a context without deleting the profile:

Tap the profile to display the context
Long-press the context
Select Delete
Select OK to confirm

Warning: if there is only 1 context, deleting it will also delete the profile.

Is there any way to have more than four contexts?

@Shayan I believe that is a good question that should be posted as a new, stand-alone question :)


text:
I own a rooted Moto E with very little usable internal memory. But it does have a MicroSD slot. Can I change its default storage?
I own a rooted Moto E.
It has about 2GB of usable internal memory.  It frequently runs out of memory.
Luckily, it also has a MicroSD card slot.
Can I change its default storage?

Have you tried adb shell pm set-install-location 2 using ADB ?

Hi and welcome! 1.  I have edited your question so that other people will be more likely to understand it. But the last sentence ("Can I change its default storage?") is unclear.  Please [edit] and clarify, so that you might get more upvotes. 2. Also, what ROM are you running, and what version of the ROM?


text:
Tasker - If at least one context is true
How do I make it run the tasks when at least one context is met?
For example, when either the phone cell or GPS context is met, it activates...and only runs the exit task when both are not met.

From what I can tell you can't create a profile that will trigger when 1 of 2 conditions are met. To achieve what you are looking for tasker would have you create 2 separate profiles that choose the same task to active when the condition is met. If this doesn't answer you question dead on please provide more details since the example seems to imply you have another question.


text:
How to hide Vibrate status bar icon on CM12?
I just got my OnePlus One, running on CyanogenMod 12.1. This phone is great... However one thing bugs me, the vibrate status bar icon.
2
It just makes my phone ugly! How can I hide it? Thanks.

Is the device rooted?

An alternative would be to use a different theme's status icons. You're using Hexo theme's status icons as it seem at first glance. You can choose to change the whole theme or just the status icons by an other theme's status icons under Settings → Themes. This answer should help you out.
Try the icons of System (Android) theme or download others themes using Themes app (a system app).
(Click image to enlarge)

Right, that just changed the icon. I want to hide it completely.

That's why I asked. Is the device rooted?

Sorry. It is not rooted.


text:
Google Play music won't play album in order
I've made a custom album/playlist and imported it onto my SD card on my phone. However, when I got to play the playlist, not only does it break up the album by artist, it won't even play in order. Every song has a track number, but it seems to be ignoring this. How I can I get it so the album is grouped together regardless of artist AND have it play the playlist in track order?

Check if the "random" button is on...

Sort by "time". Pick an album and set it. That will change the settings when playing the songs in the database. It will re-order the songs to the way they were loaded onto the memory card. They were originally loaded with a time stamp in sequential order, with one being slightly older than the other. It appears to be ignoring the proper order. That is how I got it to work without downloading another player. Nothing worse than trying to play "The Wall" out of order!

To play all songs by an artist when in Artist view, click the picture or album art to the left of their name. This will start playing a random song and then you can click the Mini Player at the bottom and you should then see the option to shuffle if it's not already enabled.


text:
How to recover Nexus 5 data from memory chip
Edit 2:
My Nexus 5 doesn't boot up the OS or the Recovery, but it boots the Bootloader. The service people speculate that the power IC isn't able to supply enough power for the first two but it's enough for the bootloader. I have flashed a new 5.0 image using fastboot, and all fastboot operations report success. So I'm pretty convinced the internal memory is fine.
How do I recover my data? I don't know any fastboot method to do it.
Is there a way to connect the motherboard to an external power source so that adb works and I can read the data?
Is there a way to remove the memory chip and read it using a card reader or something?

in normal cases an OTA update does only update the system partition and does not update the bootloader. Of course I have no insights what google is doing with their bootloader for the nexus devices but IMHO it is normally not needed to update the bootloader for a step from 4.4.4 to 5.0 as also the old bootloader should still work as the hardware which needs to be initialized prior calling the kernel will ofc remaijn the same after an update. Although it can be needed if there is a signature check for the called kernel or something.

Umm, did you make any head way? Did you get the device to power down? Are all the keys unresponsive or just the volume buttons?  As far as the flash-all.bat script did it complete? There was a lil bit of tunnel vision on the bootloader what about the rest of the system?  Minus the exposed it's doubtful  it's hard brinked the majority of the time that requires hardware damage.

So, I went on a crazy wild adventure dealing with all this, and sorry to say, it hasn't led me anywhere fruitful yet. Current status is, phone is being moody. Seriously. Most of the time, it stays in a Qualcomm emergency download mode: 'Qualcomm HS-USB QDLoader 9008' with Windows having a proper driver installed. There is an awesome guide over at XDA which shows how to restore boot images using this mode. My tries fail at 'Serial port open FAILED' every time. But, after fiddling with the buttons for a long time (sometimes 10-15 min) the bootloader loads up. And miraculously, it works now.

Since last time, it had failed at the reboot-bootloader step, I skipped the flash-all script, and manually flashed the system image. I ignored the radio because it was already the correct version. Everything happened perfectly, like before... until the reboot. Something is wrong with the boot process. The partitions seem to be hale and hearty (I can access bootloader, flash files properly). The most evident appearance of a problem is that the screen blacks out after the appearance of the Google logo, whether booting up the OS or into recovery (stock or custom, it doesn't matter).

@BoLawson Thanks for asking, I've updated the question.

@Andy356 could you link the XDA guide?


text:
Configurating push notifications
I've been struggling for a while with push notifications. I want to configure them so I can avoid getting social networking notifications while at work. I don't want to uninstall them or log out, and I don't want to receive them while at work, as I am easily distracted by them and don't get anything done (but I do want to receive them after 7 pm)
I'd also like to still receive my mail and other notifications normally, I just want to "remove" some of them.
out, and I don't want to receive them while at work (but I do want to receive them after 7 pm)
Is there any solution for my problem?

I'm not really sure what your problem is, but on Android 5 you can categorize your notifications to normal or high priority. Instead of setting your phone to vibrate you can now set Android to show "All", "Only high priority" or "None" notifications.
See this link for additional info: https://support.google.com/nexus/answer/6111295?hl=en

I simply want a way to not get social networking notifications while at work, and receive them all at the end of the day.

Sadly that is not possible. but with my suggestions, at least your phone won't disturb you with new social networking notifications, but if you turn the screen on they are present.


text:
How to clear an Android device without losing root?
I am considering selling an Android (KitKat) phone that is rooted.
Normally, when selling a phone, I would recommend performing a factory reset.
Do root privileges typically survive a factory reset?
If not, is there any way to really clear out everything on an Android phone without performing a factory reset?  Or will some data remnants always remain?

your data is normally stored in the /data partition. root in the /system partition. if you wipe everything except the /system partition using a custom recovery your data should be cleared but still rooted. you have to try that and obviously I don't wanna try it out....

See When selling your phone, what steps should be taken to make sure that all personal data has been removed? and Can I safely do a factory reset without losing root?.

@Firelord Thanks for the relevant links.  I will look into whether or not root will survive factory reset (I don't think it will in this case, but it could).  Still interested in clearing procedures without factory reset.

Performing a factory reset doesn't make you lose root access, since the root handling app (SuperSU or KingUser or whatever) is installed as a system app and only the /data and /cache partitions are formatted by a factory reset. The /system partition remains unaffected.

Of course this objective does take some time I'm in the same boat I want to try the same thing I haven't found a good answer. So that being the case the alternative means would be to go in and uninstall everything that you put on the phone that relates to your personal information it may take some time but it's a hundred percent guaranteed to work. That's what I did and I kept all the rooted apps with the phone so I can resell it so that the next person can tweak it their own way.

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


text:
Editing Android phone contacts on the fly from a Windows PC
Is there any way to edit contacts on my Android phone from a Windows PC and without internet connectivity? Perhaps by using USB debugging?

Assuming that your contacts are synced to some service like Google or your mobile carrier, you should be able to do that right through their website (or Gmail, if all of your contacts are synced with your Google account). Any changes you make in your account on a PC, including contacts, will automatically sync to your device.

syncing with google contacts, sometimes it makes my contacts messy and merges names with google email names;
Note : By the way this question is asked to get rid out of messy contacts while doing sync with server


text:
Relock Y300 Bootloader
I have hauwei Y300-0100. I unlocked Bootloader Of My phone before for root it.
Now i want to flash my phone with stock rom but i cant. I tried to lock my phone with fastboot but i gave an error:

I cant solve this problem and i dont have access to phone menu. I have access to TWRP recovery.
How can i lock Y300 boot loader?
or How can i install stock rom on unblock phone?
note:

system and data folders wiped and there is no data in this folders. My phone is freezing between first logo and welcome picture (A block screen)

That command is invalid as shown in the picture. I guess you didn't read it anywhere but thought if unlock  unlocks the bootloader then lock would lock it. Anyhow, why do you want to lock your bootloader just to flash stock ROM? Can't you use a flashable stock ROM zip from Recovery? Or perhaps a fastboot image from fastboot?

I couldnt find flashable stock rom or image :(

solved =
fastboot oem relock "xxxxxx.."
xxxx.. = 16 digital code
But if you flashed custom recovery or boot before
you cant relock it


text:
android encryption: too little time?
I have a 3rd Gen Moto G that I just enabled encryption on.  It showed the warning as usual, "make sure it's plugged in, this will take an hour or more", etc.  However, after confirming this, the phone rebooted itself, asked me for my pin so it could "boot android" (even though the boot splash screen had already displayed), and then showed me my home screen.
The issue: this whole process took less than a minute.  Now, granted, the phone has only 3 lightweight apps on it (aside from the not-very-bloatware-like stuff motorola put on there), plus android standard things.  There's also a few albums of music on the 32GB SD card; perhaps under 2GbB.
Less than a minute is not an hour or more.  Did the encryption actually happen?  The device THINKS it is encrypted; it tells me so in the settings menu.  If not, what next steps should I take?
This is android 5.1.1.
I just came across this right before I posted: Device encryption fails, but no error
My device IS plugged into a computer, but through a power-only cable.  There is no data connection.  Not sure if that matters; I'm not sure I can do anything about it anyway, because the phone says it is encrypted already.
Thanks!

AFAIK, the external SD card won't be encrypted, only the internal storage; encrypting only three small apps probably would only take a minute.

In Android 6.0, the external sd card can be setup to include internal storage -- but even then it appears to not encrypt it (either that, or silently fail) -- I've got 50 GBs of data on this phone, and the SD is setup as internal storage, and it still encrypted in under a few minutes. -- The whole reason I wanted encryption was for the sd card.  This feature is very misleading.

In my Xiaomi MI 5 (Marshmallow), it took me like 10 seconds, without even rebooting. I had Zenfone 5 (Lollipop) before, and the process would take around 10 to 15 minutes while the phone is rebooting. Granted, I encrypted my previous Zenfone 5 after 2 years of usage, while I encrypted MI 5 just right after I bought it.

Android encryption is of two types:

Device Encryption
SD-card Encryption.

For Device encryption kernel DmCrypt layer is used and it encrypts "/data" part of the device.dm-crypt is a transparent disk encryption subsystem in Linux kernel versions 2.6 and later and in DragonFly BSD. (see https://en.wikipedia.org/wiki/Dm-crypt).
Prior to android Lollipop, android device encryption encrypts full "/data" partition. (Encryption is basically a mapping system , it maps all memory from real "/data" block to a virtual block device).
Prior to Lollipop, on some devices(like samsung devices) fast encryption was also supported. Fast encryption means it will encrypt only used partition of your "/data" partition. (i.e. it will map only used parttion). If you will copy any data after encryption, it will be encrypted on runtime and saved on the device.
From Lollipop, google uses default fast-encryption. that means , whenever you will trigger encryption, it will encrypt only your used "/data" partition.
You have mentioned that phone was almost blank, hence it was completed within one minute.
AFAIK google has also changed its encryption system in lollipop and it is much faster than kitkat.
Check this link for more information: https://source.android.com/devices/tech/security/encryption/
You can enter your SD-card on other device and check your files ( these will not be encrypted).If these were encrypted, you will not be able to play on different device.

It suddenly occurs to me that I may have moved 2 of those apps to the SD card before doing Encryption.  If Android only encrypts the data partition, that makes sense....there was less than 10 MB to encrypt!  Thanks for the clear answer!

In Android 6.0, if you setup the SD card as internal storage, you already can't use the SD card on another device -- so why doesn't encryption allow you to encrypt the SD card and give you a virtual block device like it does for /data? -- Is there any way to set this up for a rooted device?


text:
my phone won't reboot from fastboot mode it keeps coming back to fastboot mode
I wanted to flash recovery.img in my phone but I accidentally flashed boot.img and now my phone is stuck in fastboot mode.

Can you not just flash recovery.img from fastboot (fastboot flash recovery recovery.img)? What command did you use to flash boot.img?

I used " fastboot flash boot boot.img " command I don't even know if it was right but the command was executed

Download stock boot.img for your phone and flash it using same command

Welcome to Android Enthusiasts. It would help, if you answer with code snippets rather than simply stating ambiguous answers


text:
How do I manually configure the DNS of my tethered connection?
In my new moto E, tethering my internet connection isn't working. I configured my nexus tablet to use my mobile phone connection. Everything looks fine, it looks like it is connected, but I can't access anything.
Using a terminal app, I can successfully ping a domain with numbers: ping 8.8.8.8, but when I try to point a domain name (Google.com), it fails.
I've tried with other devices and the result is the same.
How do I manually configure the DNS of my tethered connection?
Any other suggestion to fix this problem is welcome.
Some tests that I did:

I tested tethering with two android devices, and both had the same problem.
These devices used to successfully "theter" in my old Moto G.
The problem happens in wifi and usb tethering.
A few apps work fine, like WhatsApp. I believe they use the IP Address directly.

The moto E has Android 5.0.2.

I've installed the DNSet app and it solved my tethering Moto E bug. The pro version allow you to configure any DNS server, but it wasn't necessary.

authors: Вова Макаревич


text:
Rooted but su says “Permission denied”
[ I first asked this question on stackoverflow by mistake.  ]
I have this "old" Lenovo A2107 tablet which I rooted years ago (using a download from http://androidforums.com/threads/a2107-root-mods-and-rom-discussion.661261/, tho running its root.bat script by hand from my GNU/Linux machine) and that worked fine: I could "su" from the shell and then edit all the files I wanted.
Then I passed this tablet to my daughter for a couple years, and now I got it back.
/system/bin/su is still present, still the same date and size, still mode "rwsr-sr-x", still the same firmware (Android 4.0.3) so all looks fine, but when I try to run it from a shell, it just tells me "Permission denied".  And of course, other applications that require root bump into the same problem.
Any idea what might be going on? What I could try to do to track it down?
[ See also https://stackoverflow.com/questions/32353148 where I posted the solution I encountered.  ]

have you tried a root checker app as they can be good to detect a possible issue?

re-root. repeat the procedure that you used first time. that should do the trick.

@iTechy: RootChecker just tells me that my machine is not rooted.

Try
adb shell su
mount -o remount,rw /system

Then you will need to re root

@BoLawson: Thanks, I didn't expect it, but oddly enough, indeed "su" works from "adb shell".  So it's still somewhat rooted.

Good stuff, I figured at least a shell should still be available. Because from what I have seen its just the one-click and root apps that cause permissions  to mysteriously disappear.

Did you find the solution

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


text:
How to run 2 shell scripts from ramdisk?
I am attempting to setup my ramdisk to fire off 2 sets of scripts.
1 is ramdisk /sbin only, the others are user allowed scripts
# Check Properties
on property:dp.early_init.done=1
    chmod 0777 /data/dp_scripts/onearlyinit.sh
    exec /data/dp_scripts/onearlyinit.sh &
    start dp_early_init

on property:dp.init.done=1
    chmod 0777 /data/dp_scripts/oninit.sh
    exec /data/dp_scripts/oninit.sh &
    start dp_init

on property:dp.late_init.done=1
    chmod 0777 /data/dp_scripts/onlateinit.sh
    exec /data/dp_scripts/onlateinit.sh &
    start dp_late_init

on property:dp.post_fs.done=1
    chmod 0777 /data/dp_scripts/onpostfs.sh
    exec /data/dp_scripts/onpostfs.sh &
    start dp_post_fs

on property:dp.post_fs_data.done=1
    chmod 0777 /data/dp_scripts/onpostfsdata.sh
    exec /data/dp_scripts/onpostfsdata.sh &
    start dp_post_fs_data

on property:dp.boot.done=1
    chmod 0777 /data/dp_scripts/onboot.sh
    exec /data/dp_scripts/onboot.sh &
    start dp_boot

on property:sys.boot_completed=1
    chmod 0777 /data/dp_scripts/onpostboot.sh
    exec /data/dp_scripts/onpostboot.sh &
    export PATH /sbin:/system/bin
    start dp_post_boot

on property:sys.shutdown.requested=1
    chmod 0777 /data/dp_scripts/onshutdown.sh
    exec /data/dp_scripts/onshutdown.sh &
    start dp_shutdown

# DP Services
service dp_early_init /sbin/bash /sbin/0/onearlyinit.sh
    user root
    disabled
    oneshot

service dp_init /sbin/bash /sbin/0/oninit.sh
    user root
    disabled
    oneshot

service dp_late_init /sbin/bash /sbin/0/onlateinit.sh
    user root
    disabled
    oneshot

service dp_post_fs /sbin/bash /sbin/0/onpostfs.sh
    user root
    disabled
    oneshot

service dp_post_fs_data /sbin/bash /sbin/0/onpostfsdata.sh
    user root
    disabled
    oneshot

service dp_boot /sbin/bash /sbin/0/onboot.sh
    user root
    disabled
    oneshot

service dp_post_boot /sbin/bash /sbin/0/onpostboot.sh
    class late_start
    user root
    disabled
    oneshot

service dp_shutdown /sbin/bash /sbin/0/onshutdown.sh
    user root
    disabled
    oneshot

While the services themselves all fire off, the execution of the /data/dp_scripts/* scripts never happens.
This is a lollipop kernel, running on a Note 3
How can I force the execution of /data/dp_scripts/* at the moments specified?

This appears to do the trick
# Check Properties
on property:dp.early_init.done=1
    start dp_early_init
    start dpu_early_init

on property:dp.init.done=1
    start dp_init
    start dpu_init

on property:dp.late_init.done=1
    start dp_late_init
    start dpu_late_init

on property:dp.post_fs.done=1
    start dp_post_fs
    start dpu_post_fs

on property:dp.post_fs_data.done=1
    start dp_post_fs_data
    start dpu_post_fs_data

on property:dp.boot.done=1
    start dp_boot
    start dpu_boot

on property:sys.boot_completed=1
    export PATH /sbin:/system/bin
    start dp_post_boot
    start dpu_post_boot

on property:sys.shutdown.requested=1
    start dp_shutdown
    start dpu_shutdown

# DP User Services
service dpu_early_init /sbin/bash /data/dp_scripts/onearlyinit.sh
    user root
    disabled
    oneshot

service dpu_init /sbin/bash /data/dp_scripts/oninit.sh
    user root
    disabled
    oneshot

service dpu_late_init /sbin/bash /data/dp_scripts/onlateinit.sh
    user root
    disabled
    oneshot

service dpu_post_fs /sbin/bash /data/dp_scripts/onpostfs.sh
    user root
    disabled
    oneshot

service dpu_post_fs_data /sbin/bash /data/dp_scripts/onpostfsdata.sh
    user root
    disabled
    oneshot

service dpu_boot /sbin/bash /data/dp_scripts/onboot.sh
    user root
    disabled
    oneshot

service dpu_post_boot /sbin/bash /data/dp_scripts/onpostboot.sh
    class late_start
    user root
    disabled
    oneshot

service dpu_shutdown /sbin/bash /data/dp_scripts/onshutdown.sh
    user root
    disabled
    oneshot

# DP Services
service dp_early_init /sbin/bash /sbin/0/onearlyinit.sh
    user root
    disabled
    oneshot

service dp_init /sbin/bash /sbin/0/oninit.sh
    user root
    disabled
    oneshot

service dp_late_init /sbin/bash /sbin/0/onlateinit.sh
    user root
    disabled
    oneshot

service dp_post_fs /sbin/bash /sbin/0/onpostfs.sh
    user root
    disabled
    oneshot

service dp_post_fs_data /sbin/bash /sbin/0/onpostfsdata.sh
    user root
    disabled
    oneshot

service dp_boot /sbin/bash /sbin/0/onboot.sh
    user root
    disabled
    oneshot

service dp_post_boot /sbin/bash /sbin/0/onpostboot.sh
    class late_start
    user root
    disabled
    oneshot

service dp_shutdown /sbin/bash /sbin/0/onshutdown.sh
    user root
    disabled
    oneshot


text:
Insufficient memory message in error
I have a brand new 32GB SD card barely used, my phone even shows that it has 31.23GB of storage available, however when attempting to download an app it says I do not have enough memory. I have double checked that the SD card is the default storage on my device, but to no avail. Please help, I just got the memory card and can't even use it.

Your phone name? Your Android version? Also, give us the output (screenshots) of Diskinfo and DiskUsage. You may have to delete an app or an app's data  to get some space for the said apps installation.

Welcome to the Android Enthusiasts! Your SD card has little to do with this error. Please check our insufficient-memory tag-wiki for some first aid, then [edit] your question with the details Firelord asked for, and with what you've tried and how that failed.

Google Play downloads app data to internal storage first then installs the app to external, hence the low storage message. There is no way to change this without rooting and using a symbolic link.

You can't have apps on an external SD card without you phone being rooted.

All of them you can't have apps on SD card without root access

You can not run an app from an external SD card on any android version. His question was why can't I download an appointment when I have space on my external SD card.

So you figured this doesn't answer the question at all? Apart from which, it's not even true but very much depends on the device and Android version used.


text:
How to apply changes to keyboard layout without reboot
After playing with keyboard layout at /system/usr/keylayout/.. the changes are take effect only after a system restart. How to apply the changes immediately ?
Additional details
Phone : Samsung galaxy chat - gt B5330
OS : ICS (stock) ,rooted
file correspond to physical keyboard : bcm_keypad_v2.kl

Switching to another keyboard and then back might work.  If you see the keyboard in your running apps/services, stopping it and then performing an action that would bring it up might also work.

Thans for the suggestion. Unfortunatelu it's not working. it's a built in PHYSCIAL KEYBOARD.

Oh, I see.  You might need to unload and reload a driver / kernel module but it's hard to say.  Can you add the details of your device and software version to the question?

Updated. Can we use modprobe or services command as in linux.

@totti Android is based on linux and there are terminal apps available. I don't know those commands but it might work. Best way to find out is to try! :)


text:
Backspace deletes too fast
In my android 4.1.2 samsung galaxy s3 mini, when I'm writing sentences, sometimes I want to delete words because grammar mistakes or whatever reason, problem is if I hold backspace after a small time starts to delete at a uncontrollable wild fast pace, and that makes impossible to control and delete messages difficult. It would, for me, be much better a constant speed much slower like windows, letter by letter and not word by word. Is that a serting somewhere?

That is the functionality  of the  keyboard app. Swiftkey does that but AOSP in my Lollipop doesn't.

Hey, what you mean by aosp? seems like a organization  not a software, i don''t understand correctly you sentence?

This "feature" depends on the keyboard. Before we can answer your question, we need to know what keyboard you are using.

What do you mean by keyboard? I will give answers that probably covers what you are asking. My phone is screentouch, there is not hardware keys they are virtual. I'm using android 4.1.2 and I never made a choice of what keyboard I want software. I have the degault option, and is the same keyboard for wroting in any app or to write an sms.

Sorry for the grammar mistakes. When on computer I'll correct them.

The interface (those Q W E R T Y like keys ) using which you write something in your Android is considered a keyboard and it is actually an app in system, so we generally call it a keyboard app, or say soft-keyboard. You've to find an app that doesn't delete words but characters at a time. See if AOSP or Google keyboard app works for you.


text:
Organizing apps not in folders
This is a bit hard to explain.. I like having my apps categorized at the home screen (games, Google apps etc.) but I don't like how folders do it.
Placing apps in folders makes them too small to see which makes me just go to the app drawer and search for them individually. Instead I need something to pop out and let me see all of the apps in the folder without having to click it.
I have tried just placing similar apps together but that doesn't give you such a folder-like effect.
Is there a way to have large folders on your home screen which shows every item or even a way to add small dividers to make some apps look like they are grouped?
I am using lollipop with CyanogenMod 12
Thanks in advance!

CM12 is based on Lollipop only! :)

@Firelord Oh, are you sure? Anyway....

First, let me suggest that you specify your device, OS, etc.
Second, it sounds like you would benefit from an app (like Circle Launcher or Folder Organizer) or a completely different launcher in order to achieve greater flexibility.

Sorry about thay. I am using android lollipop with CyanogenMod12