text:
Do apps that access gmail only have write access or full gmail access (potential security risk?)
I use a backup app to backup SMS text messages to my GMail account registered on my HTC Desire Z Android 2.3 phone.
The app requests access to the gmail account. But what does this actually mean? Does it mean:

the application has write-only access to the gmail - i.e. it can insert emails but not delete or adjust other existing emails (does the Android API provide for that?)
the application has full access to the email, and could potentially delete emails if there was a bug

This is a question that requires technical knowledge of the API, so perhaps not ideally placed in this Android users forum, instead here: http://stackoverflow.com/questions/10553057/are-apps-that-access-gmail-only-have-write-only-access-or-full-gmail-access-pot

An answer has been provided here:
http://stackoverflow.com/questions/10553057/are-apps-that-access-gmail-only-have-write-only-access-or-full-gmail-access-pot

There is no "write-only" permission for access to Gmail - it's either "read-only" or "full access", meaning that the app in question will be able to both create and delete messages from your account. However, I would guess that adding and deleting mails are two very different things from a programming standpoint, so you should be ok :-)!

+1 Thanks @Dirk, I would have preferred finer granularity of access by an app, i.e. "add new emails only", this would be more precise and defensive and therefore one's trust of the app does not have to be stretched beyond what the app should be doing.

P.S. @Dirk could you point me at specific API documentation to support your answer then I will mark your answer as accepted.


text:
Samsung Galaxy S2 wifi - Connected but no internet
My Galaxy S2 (ICS I9100G) connects to my home wifi but sometimes does not actually transmit data. I took it to the shop and they did a factory reset (which I could have done on my own) and then was told to take it home and see if it was any better. It wasn't.
O2 tech support didn't really have much to offer so I tried various different online fixes. None worked.
We got another router (for the back of the house) which used WPA2 whereas the initial router uses WPA. My SGS2 works absolutely fine on this new router.
What's going on?

Thanks for coming forward to share your knowledge. It will be more useful if you can strip the solution from your question and post it as an answer (answering your own question is very well acceptable).  This will promote this question from "unanswered" to "answered".

Yeah cause im new to this part of stack exchange I need to wait like 8 hours or something

You can answer any time, you don't need an account for that even. Answering should just work.

@ce4: Very new users (with less than 10 reputation) have these sorts of restrictions placed on them to help prevent spamming. That includes self-answering.

@AlEverett: Ah, self-answering is the key here. Thank you for the hint. Andrew: You got 11 rep, so it should be possible now :-)

My solution was to change the front room wifi to WPA2 to match the backroom's wifi (WPA2) which I never had a problem with.
Don't know why this works I cannot believe the SGS2 has less than optimum support for WPA. Maybe it was buggy software ... although I am fully updated and have been since I got the phone. (September 11)
I should mention this was not a problem caused by ICS or fixed by the firmware upgrade as I had the problem pretty much as soon as I got the phone (September 11).

source: Stack Exchange

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

sort: votes


text:
Google Now Choosing Weird Route
For at least a month or two, my Razr Maxx HD running the stock firmware Android 4.1.1 (9.1.41.XT926.Verizon.en.US) has done a great job at telling me how long it'll take to get home.
I know the route and don't need it to navigate me, obviously, but it has been picking the route that I actually follow. It gives me an estimated time for getting home, so that I can plan my evening around whether there's a severe problem on my route (traffic, road closure, construction, accident, etc.) and either route around it, or let others know that I'll be late, or if it's really terrible, stop somewhere for dinner before hitting the highway.
Suddenly, without changing my route or my driving habits at all, Google Now is telling me that it will take about three times longer to get home, and through an extremely indirect / inefficient route. So the time to home is very inaccurate because it isn't basing it on the correct route. Moreover, when I check other sources of traffic information online, I have no evidence that there is any sort of significant delay on my primary route -- at least, nothing significant enough that would make the alternate route faster, or even close to the same time (my primary route is one that takes about 25 minutes at full speed, 35 minutes in typical traffic, 60 minutes with a moderate to severe accident; the alternate route is saying 85 minutes!)
I double checked the settings for the Google Now traffic card, and the home and work addresses are set correctly. Google Navigation app picks the fastest route (the route I actually drive) when I ask it to take me home. So, why is Google Now telling me it'll take me an extremely long time to get home via an alternate route? Is there any way for me to set the route manually?

Yup. This is my life, every day: "54 mins to Home. 35 mins via alternate route." Why?!

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


text:
Phone stuck in fastboot mode
I've rooted my OnePlus 6 yesterday. To do so, I followed this guide:
Root Your OnePlus 6 with Magisk — A Beginner's Guide
TWRP version: 3.5.1_9-0
Magisk version: 22.0

I also installed the Magisk app on my phone
Now  I've edited my hosts-file (needed to change some permissions to be able to modify this file
) to block some sites. I've restarted the phone once successfully, but now the phone will not boot anymore. When I power on, I see the OnePlus logo very briefly and then it gets stuck on the "bootloader is unlocked" warning for a long time. It then goes on into fastboot mode. If i press start from there, the process repeats. If I press recovery mode I still get into TWRP, but rebooting from there also repeats the process and does not boot up my phone successfully.
I'm not sure, but I don't think editing the hosts file is what caused this? Shouldn't I be able to edit this file without bricking my device?
Any help on what happened and how I can fix this bootloop without wiping/reinstalling my entire device would be greatly appreciated; I don't want to lose all my settings =).

The problem was that I edited the system hosts file. This causes the system to be unable to boot; the reason is dm-verity which denies boot (chain of trust) when any modified system file is detected.
To fix the issue, I followed https://www.droidwin.com/restore-oneplus-6-stock-via-fastboot-commands/
Basically, it explains how to download the stock ROM, extract the .bin file into multiple .img files, and how to flash them subsequently.
Since only the boot and system partitions were modified, and I did not want to lose my data, I flashed them using
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system_a system.img
fastboot flash system_b system.img

This fixed the issue =).

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


text:
Swipe to wake when screen is off
I would like my new Android (5.0, Galaxy S5) to handle screen locking the way my old Android did (4.something, Galaxy Express).
The old one was set to pattern lock, but after the screen turned off, within 10 minutes I could unlock it with only a swipe. The new one is similar, but during the 10 minute interval, it doesn't require even a swipe--I just push the home button and it's immediately unlocked.
This is a problem because I keep pushing the button accidentally as I put it in my pocket, and the inside of my pocket touches the screen and does random things.
How can I make it require just a swipe, but not the pattern lock, during that time interval after the screen turns off?


text:
Clock to use when giving presentations
When I give presentations, I have to keep an eye on the clock to make sure my speech does not take more than alloted time, or in the end to know whether I can take more questions.
Looking at my watch is inconvenient, I would prefer my Android phone's large screen to:

Just display the time (for example 14:28).
Not go into standby mode.
Hugest font possible, black on white, landscape.

Sounds trivial. Is there such an app?
Priority to free apps, biggest priority to open source apps.

Make sure there is a hanging clock on the back of the audience. This promotes 'looking' at the audience and gives everyone a 'timeframe'. I'd also ask someone to keep track of the time if you need a really tight timing.

I use Ovo timer: a minimalist app to set your timer by dragging an arc on your screen. Also, you can set time by voice (it needs Internet connection for this). It runs on Android 2.1 and up. The only con I've found is that it only supports times not greater than 1 hour.

About what you're asking for:

Just display the time (for example 14:28). Check.
Not go into standby mode. Check: You can configure it to do so via Preferences.

Hugest font possible, black on white, landscape. Close enough: It rotates as your device does. Also the red/white arc animation gives you a clue about remaining time.

Free app. Check.
Open source app. I think not.

+1 Not exactly what I was thinking, but Visually showing remaining time as a circle is a great idea!

I use
Stopwatch & Timer
 Goes full screen when you change into landscape orientation, also I used the lap times when we had to give a team presentation.

I use Flow Timer for this, it displays the (countdown) time in the largest possible width in black on white (default).
Furthermore by default it just dims the screen but doesn't turn it off (in the settings there is a choice to keep it at "bright", that is, to not even dim the screen a bit).
Landscape mode (even tablet) as well.
You can also add several timers after each other for different parts of the presentation. No interaction required, it just makes a small beep (configurable) and continues/finishes.
Full disclosure: I'm the author

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


text:
Alternative contacts app, faster than Google's with 2000 contacts?
Google's Contacts app is very slow to load when I want to quickly get a friend's phone number.
Is there a quicker/lighter contacts app?
I have found nothing fast enough in the Market.
My dream app:

Loads the list of ~2000 contacts in less than ~3 seconds.
No need for picture/details in the main list, just name.
Can import contacts list from vcard or similar.

Have you looked in the Market? Why isn't anything there viable?

If you're just talking about one or two people, you could always just create a shortcut to their contact information on your home screen.

@Al: Thanks for the shortcut tip! Unfortunately, I am contacting many different people, so shortcuts won't do in this case.

@Al: Yes I have looked in the Market, all of the apps I have tried are even slower than Google's, because they all show details, picture, etc in the main list, making it very slow to load.

You can turn off pictures in the contacts app settings. Also have you tried the search widget. You can use it to get a contact without having to open the app.

I will recommend Dialer One. I am 99% sure it can show contacts without pictures. It has lots of customization options, t9 search in contacts in slew of different languages. I have 900+ contacts and is really fast, I hope it works that way for 2000 contacts. Be sure to fiddle with the options after giving it a try.

Dialer One is wonderful indeed. To make it even better, it seems to be Open Source. Developer website is http://code.google.com/p/dialerone but unfortunately that project gives error 403. Anyone knows where to find the source code?


text:
AnkiDroid: Change decks tts language
In my phone, Ankidroid ask me every time what language shall be used for each card side. Which is listed as a bug.
But with other phones (eg. Samsung S2 mini) opposite problem arises. Once you select TTS language for a particular deck there is no way to change it.
I reinstalled both, TTS engine and Ankidroid, but the TTS language setting is still there.
What should I do to force ankidroid to allow me to select another TTS language?
Phone: Samsung S6500 Galaxy Mini II
Ankidroid: 2.0.1

In AnkiDroid preferences, there is a "Reset Languages" item:

Reset language assignments (for text to speech and dictionaries) for all decks. Reset specific deck assignments on deck picker


text:
How to use GPS/Maps without an Internet connection?
I need a way (possibly a third-party application) that allows me to use maps and GPS without an Internet connection.
I don't use it by car, just for walking in cities. It would be nice if I could just copy all data relative to a particular city before going there for tourism.
The Google Maps app does not store maps reliably, so it is risky to rely on it without an Internet connection.

I am now using OsmAnd.
It stores OpenStreetMap maps on the phone's storage.
OsmAnd uses a vectorial format, which means it can store a lot of information without taking too much space, and is visible in all zoom factors.
You can download the maps you want, for instance Italy, Bolivia, or any other country/region.

Free, open source.

ⓘ Many of these applications use map data from a really cool free map project called OSM (OpenStreetMap), which anyone can contribute to. Most of the OSM-based apps won't have traffic information.
Free:

Google Maps

Google Maps does have some offline functionality (including offline navigation as of version 9.17), but the size of the area you can download is limited (you can't download an entire US state, for instance) and some countries or areas aren't available for download. See here for instructions: Download a map and use it offline

HERE Maps

Unless you specifically want an OSM-based app, this is probably the best free option out there. Has offline maps, turn-by-turn navigation, full street addresses, points of interest, alternate routes, traffic, public transport, and speed limits.

Organic Maps

Open-source fork of Maps.me, uses data from OSM. More user-friendly than OsmAnd. Features offline maps, cycling routes, hiking trails, elevation maps, turn-by-turn navigation, dark mode, and more. No traffic information.

OsmAnd

Open-source, uses data from OSM. Much more advanced than Organic Maps but potentially more complicated to use. No traffic information.

MapFactor

OSM-based offline navigation.  Fairly basic but promising. TomTom maps and traffic available as in-app purchases.

Many others based on OSM here: Android - OpenStreetMap Wiki

Paid:

CoPilot GPS

CoPilot Live is a very nice, full-featured app, which will let you download maps ahead of time and use GPS offline. I ended up using it because the US version was so cheap compared to the other paid navigation apps, but I've been very pleased with the quality, features, customer support, and free app and map upgrades. It has all the features I could want in a GPS app, the only downsides being you have to have a paid subscription for traffic data (the paid app includes a free one-year subscription), and you will have to buy new maps if you travel outside your purchased area.

Other paid apps that I haven't used:

Scout (formerly Skobbler): USA, elsewhere
Sygic
TomTom

There are detailed reviews of many Android GPS apps here: Android Sat Nav Apps

There's another great OSM-based offline map application missing: Maps.me. It used to be commercial but is now fully free. It has all the basic features I need (local maps, fast display, bookmarks + tracks). http://maps.me/en/home

Maps.me was purchased by a Korean money exchange company. The open-source fork is Organic Maps. I've added it to the list as it appears to be very well-reviewed and highly recommended.

Google Maps 5.0 now supports offline mode!

You don't have much control over the cached maps in the offline mode. And note that you may have an older version pre-installed on your device and the update to 5.0 is not announced automatically. Just search the Market...

Additionally the offline cache is automatically deleted after 30 days.

Not really.  You can cache a small area, but only the roads, not places, and it will be deleted after a few weeks, and you can't sync it except manually, and it doesn't work with navigation, etc. etc.  Remember that Google's in bed with the phone companies and their data plans.

It looks like there's some license problems with the maps. I've  managed to use Paris and Belgium offline maps, but it isn't possible for Brazil and Spain.

I regularly use Locus. It doesn't have much in the way of navigation support (although I think this is in the works), but for off-road and off-line use it's fantastic.
It allows downloading of maps for off-line use, supports SQLite and GEMF maps, which allow large map (2GB limit for SQLite, no realistic limit for GEMF) tile sets on your SD card without wasting masses of space.  It also supports vector maps as well as bitmap ones (more coverage, less disk space).  It has a very good interface and is well supported.
There's a free version with ads which doesn't support in-app map downloading (I think), although you can use your PC to download the maps. The paid version is not expensive.
That all sounds excessively glowing, so I should emphasise that I'm not the developer and have no affiliation; just a very happy user!

For England and much of Europe, ViewRanger is great. Supports Ordnance Survey and other official-type maps; also some open street map projects. But it is absolutely what I would use -- and do -- if I am hiking with a phone. For Android - ViewRanger

Mapy.cz is the easiest to use app and now it has all the content of the whole world for download to offline in vectors (which means smaller files).
It is both for cities and tourism.
For navigation it currently needs a network, but they claim they'll make it offline as well.
It is free. The world is covered by a great render of OpenStreetMap. The Czech Republic has its own (great) cartographic data.

You might want to use Sygic if you are in India. It comes with free maps.

Maps (-) allows to store maps for offline use from OpenStreetMap, from OpenCycleMap and from Google Maps.

If you are looking for North American maps (and European maps as well I'm told), than I can recommend CoPilot Live. It's not free though.

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

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


text:
How do I end a voicemail call?
Apologies if this is an elementary question.
I have called up the voicemail service and I listen to the first message; I'm then invited to press a key to save, delete, and so forth, but the screen has gone blank and there is no key to press. How do I recover the keyboard so that I can select an option?
A second problem then presented itself; that not only is there no key to select an option, there is no key to end the call either. The only way I could do this was to take the battery out of the back.
This can't be what the designer intended, but there is no guidance given any of the manuals I have been able to find.
Can anyone give me a pointer to an idiot's guide?
Edit: It is a Samsung Galaxy (can't say what model number), and it has no protective devices attached to it.

Welcome to http://android.stackexchange.com. Can you specify the device you have (brand and model)?

"The only way I could do this was to take the battery out" - do you not even have a power button?

Do you have a screen protector on your phone?

@Zuul, thank you. I've added the make to the question.

@w3d, no, it is mother-naked. It is just that I am being asked to press buttons on a blank screen.

@BrianHooper Has this always been the case since you had the phone, or is this recent?

@Zuul, I don't believe I've ever called the voicemail with it before; I got a text saying "you have bazillions of messages" and thought I'd better do something about it.

@BrianHooper Do you use any special app to call the voicemail? or do your just dial the voicemail like a regular call?

It sounds like your screen simply turned off (possibly due to the proximity sensor) - pressing the power button typically turns it back on.

@Zuul, no, I just call it as a normal call. That's why I was somewhat surprised by the difficulties I'm having.

@eldarerathis Answered just that. Don't believe to be anything else...

@eldarerathis, that might be it. I'll try it.

By what you describe, this is more likely to be related with the proximity sensor.
It is located at the top right corner of your screen, outside of the touch area.
If anything is blocking that sensor, the screen goes black. This happens to prevent the users face from touching anything on the screen during a call.
What works for me, is either using the home button or the power button to bring the screen back on.

Righto. I do this, and the front screen comes up with all the usual app buttons, and the voicemail call burbling along in the background. So I guess I need to reconnect to that call somehow. I'll go away and try to work that one out. Thank you.


text:
Connect to laptop's localhost websites
is it possible for me to connect to http://localhost websites on my laptop from my phone without any internet connection?
Phone is Samsung Galaxy W. Laptop Acer with Windows 7.
The server I'm using on the laptop is XAMPP at the moment, but this can be changed if another program is easier.
Basically, I want to connect to my laptop server from the phone without router or internet connection.
I know the phone is supposed to have hotspot functionality, does this work without internet (just bought it so I don't know much about it yet)?

One solution to your problem probably is Reverse Tether:

Other than your hotspot functionality (which lets you use your phones Internet connection with other devices via Wifi), this allows you to use your computers network via USB, as the screenshots imply. Thus your phone gets a (configurable) IP address (pic1: "Desired IP") matching your computers (pic1: "Gateway IP"; it is important that both are part of the same subnet), and then you can access your computers web services from your Android device as described before (using the computer's IP).
Drawback: This solution requires your device to be rooted. I will check further, maybe I find a similar solution not requiring root, and then will update my answer with that new information.
UPDATE:
If your computer is equipped with Wifi, an "adhoc connection" could also provide a solution. You might want to take a look at the question How to connect android wifi to adhoc wifi? for details on this. And there is a brand new article just published today at PC Advisor: Connect Android phone to Ad Hoc network, which might be even more helpful to you.

That adhoc network thing looks just like what I was looking for. Will look into it thanks alot.

Glad I was able to help! Would be nice if you also could add your results on adhoc here, once your reached them ;)

Assuming the phone and your laptop are on the same network AND the web server is listening on the right ports, you should be able to just use the local IP of your laptop.
http://192.168.1.100/ (or whatever the IP address happens to be)

Okay, I don't need a router for them to be on the same network right?

Well, I expect you would. My answer assumes that you're using the phone on your home wifi network. If not, you'll need to punch holes in your firewall to access your laptop from the Internet.

If the OP requires access to http://localhost/ (as the special service is bound to localhost -- i.e. 127.0.0.1), another IP address won't help. @hustlerinc, maybe you give some more details on what you want to achieve: What kind of localhost service etc., and if you can only reach it on http://localhost or also on your computers other IP address (execute ipconfig on a command prompt to find out your IP addresses).

@Izzy It looks like the OP is running a webserver on their laptop, which they wish to access from another machine (a phone) on their LAN. In this case, accessing http://laptop-ip/ should be sufficient; if firewalls permit. Although, it might be questionable whether they actually have a LAN set up?

Yeah, w3d assumed right, only that I'm not using router or LAN. I would like to setup this connection on the run, wherever I am (to be able to test my browser games on the phone without downloading). And I added some info in the post.

@hustlerinc OK, got it. You will find my answer in a few minutes.

@hustlerinc: You don't need a router to access the laptop, as long as you laptop have an IP address that is accessible by the phone and you have configured your web server to serve correct virtual host and your software firewall are not refusing externally initiated connection to that port.

Can be done through a bluetooth PAN network using the internet sharing feature on smartphone. As soon as both belong in same PAN network, smartphone can navigate host's web server.


text:
How are SetCPU frequencies formulated?
Are the frequencies suggested by SetCPU for each device based on a certain algorithm or was it worked out device specifically or are they just arbitrarily formed upon extensive testing?
I have an old HTC Wildfire which has a maximum frequency at 768MHz
The steps of frequencies show by SetCPU itself is 176,264,352,518,576,614,633,652,672,691,710,729,748,768 all in MHz.
I eventually created a setcpu.txt file which I put in the root of the SD-Card. The thing is when I had a frequency of 800MHz SetCPU still read it but the max frequency it could obviously touch was 768MHz.
I repeat, my question is how are the frequencies listed by SetCPU formulated?

The answer lies in the kernel source for that HTC Wildfire - look in arch/arm/mach-msm/acpuclock.c to see the table of the accepted frequencies. Since the WildFire is based on MSM-7x25 chipset here's the excerpt of the frequencies table hardcoded, assuming its a GSM handset:
/* 7x01/7x25 normal with GSM capable modem */
static struct clkctl_acpu_speed pll0_245_pll1_768_pll2_1056[] = {
    { 0, 19200, ACPU_PLL_TCXO, 0, 0, 19200, 0, 0, 30720 },
    { 1, 122880, ACPU_PLL_0, 4, 1,  61440, 1, 3,  61440 },
    { 0, 128000, ACPU_PLL_1, 1, 5,  64000, 1, 3,  61440 },
    { 0, 176000, ACPU_PLL_2, 2, 5,  88000, 1, 3,  61440 },
    { 1, 245760, ACPU_PLL_0, 4, 0,  81920, 2, 4,  61440 },
    { 1, 256000, ACPU_PLL_1, 1, 2, 128000, 1, 5, 128000 },
    { 0, 352000, ACPU_PLL_2, 2, 2,  88000, 3, 5, 128000 },
    { 1, 384000, ACPU_PLL_1, 1, 1, 128000, 2, 6, 128000 },
    { 1, 528000, ACPU_PLL_2, 2, 1, 132000, 3, 7, 128000 },
    { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0}, {0, 0, 0} }
};

First column, indicates that the frequency can be scaled, if it's a 1 in there, that chipset frequency can be scaled up or down, think of ramping up the CPU when there's a processor-intensive app running and that is done by the kernel dynamically within the confines of a safe threshold without burning down the chipset - please note: This is only for the kernel to use, further on in the answer, that shows the overclocking table, that is "end-user" responsibility - not the kernel!!!!!!
Second column, the normal frequency in KHz as dictated by the what I think is called the a11 clock (somewhere within the bowels of the chipset itself)
Third column, not exactly sure but is specifically related to chipset itself
Fourth column, the selector used for the normal frequency setting
Fifth column, the divisor used for normal frequency setting
Sixth column, the overclocking frequency in KHz
Seventh column, the overclocking frequency selector
Eighth column, the divisor used for overclocking frequency setting
Ninth column, not sure either what that signifies

There's actually in fact, 12 fields used, the remaining fields are filled in at kernel boot-up, perhaps adding guards and ensuring that the conserved values are not explicitly over-ridden, a "gate-keeper" if you like, read on...
Further on in the source, there is usually a conservative over-clocking frequencies (the common MSM-7x 01 / 25 / 27 ) chipsets supports it), again same layout as the "conservative values" as highlighted above, notice every single one of the frequencies can be scaled up/ramped down for each overclock frequency That is how SetCPU can adjust those values as it has a 1 in there in the first column
#ifndef CONFIG_MSM_CPU_FREQ_OVERCLOCK_AHB
/* Conservative AHB overclocking */
    { 0, 403200, ACPU_PLL_2, 2, 2, 134400, 2, 5, 122880 },
    { 1, 480000, ACPU_PLL_0, 4, 1, 160000, 2, 6, 122880 },
    { 1, 595200, ACPU_PLL_2, 2, 1, 198400, 2, 7, 122880 },
    { 1, 604800, ACPU_PLL_2, 2, 1, 201600, 2, 7, 200000 },
    { 1, 614400, ACPU_PLL_0, 4, 0, 204800, 2, 7, 200000 },
    { 1, 633600, ACPU_PLL_0, 4, 0, 211200, 2, 7, 200000 },
    { 1, 652800, ACPU_PLL_0, 4, 0, 217600, 2, 7, 200000 },
    { 1, 672000, ACPU_PLL_0, 4, 0, 224000, 2, 7, 200000 },
    { 1, 691200, ACPU_PLL_0, 4, 0, 230400, 2, 7, 200000 },
    { 1, 710400, ACPU_PLL_0, 4, 0, 236800, 2, 7, 200000 },
    { 1, 729600, ACPU_PLL_0, 4, 0, 243200, 2, 7, 200000 },
    { 1, 748800, ACPU_PLL_0, 4, 0, 249600, 2, 7, 200000 },
    { 1, 768000, ACPU_PLL_0, 4, 0, 256000, 2, 7, 200000 },
    { 1, 787200, ACPU_PLL_0, 4, 0, 262400, 2, 7, 200000 },
    { 1, 806400, ACPU_PLL_0, 4, 0, 268800, 2, 7, 200000 },
//  { 1, 825600, ACPU_PLL_0, 4, 0, 275200, 2, 7, 200000 },
//  { 1, 844800, ACPU_PLL_0, 4, 0, 281600, 2, 7, 200000 },
#else
/* Agressive AHB overclocking */
    { 0, 403200, ACPU_PLL_2, 2, 2, 201600, 1, 5, 200000 },
    { 1, 480000, ACPU_PLL_0, 4, 1, 240000, 1, 6, 200000 },
    { 1, 595200, ACPU_PLL_2, 2, 1, 297600, 1, 7, 200000 },
    { 1, 604800, ACPU_PLL_2, 2, 1, 302400, 1, 7, 200000 },
    { 1, 614400, ACPU_PLL_0, 4, 0, 307200, 1, 7, 200000 },
    { 1, 633600, ACPU_PLL_0, 4, 0, 316800, 1, 7, 200000 },
    { 1, 652800, ACPU_PLL_0, 4, 0, 326400, 1, 7, 200000 },
    { 1, 672000, ACPU_PLL_0, 4, 0, 336000, 1, 7, 200000 },
    { 1, 691200, ACPU_PLL_0, 4, 0, 345600, 1, 7, 200000 },
    { 1, 710400, ACPU_PLL_0, 4, 0, 355200, 1, 7, 200000 },
    { 1, 729600, ACPU_PLL_0, 4, 0, 364800, 1, 7, 200000 },
    { 1, 748800, ACPU_PLL_0, 4, 0, 374400, 1, 7, 200000 },
    { 1, 768000, ACPU_PLL_0, 4, 0, 384000, 1, 7, 200000 },
    { 1, 787200, ACPU_PLL_0, 4, 0, 393600, 1, 7, 200000 },
    { 1, 806400, ACPU_PLL_0, 4, 0, 403200, 1, 7, 200000 },
//  { 1, 825600, ACPU_PLL_0, 4, 0, 412800, 1, 7, 200000 },
//  { 1, 844800, ACPU_PLL_0, 4, 0, 422400, 1, 7, 200000 },
#endif /* CONFIG_MSM_CPU_FREQ_OVERCLOCK_AHB */
    { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0}, {0, 0, 0} }
};

Depending on the table lookups, and depending on the chipset, only the max is specified, and is re-inforced by the kernel (in the remainder of the fields of the record that the kernel reads from and process it - as mentioned above!)

I eventually created a setcpu.txt file which I put in the root of the
  SD-Card. The thing is when I had a frequency of 800MHz SetCPU still
  read it but the max frequency it could obviously touch was 768MHz.

That is why you can never override the maximum as dictated, as in the OP's case, to prevent thermal damage to the chipset and clock frequency!
Random reboots, random freezes, battery overheating quicker than normal (normal as in within the regulated CPU clock frequency threshold) are all symptoms of a overclocked chipset.
This is a big give-away clue when someone asks about random reboots but does not say that it is probably overclocked!

tl;dr version: it depends on the kernel :)

@Chahk not true - kernel from device manufacturers (that is, if they comply with GPL!) actually has that as default - acpuclock.c is actually designated for qualcomm chipsets, there will be variants for ARMv7 chipsets such as acpuclock-7x30.c, acpuclock--8x50a.c or even acpuclock-8x50.c, these are for qualcomm chipsets, there will variants in the other kernel subdirectories underneath arch/, furthermore, to actually use the overclocking requires root!


text:
Tablet forgets default launcher
I updated the firmware on my Transformer Infinity a couple weeks back. I had been using the Nova Launcher on it and ever since the update the tablet asks me which launcher I'd like to use every time I restart it. I choose the Nova launcher and choose "Always", but the next time I restart it does it again.
Is there any way to fix that?
Update:
The tablet is now forgetting the launcher quite frequently, even when I haven't rebooted. Simply hitting the "Home" button while in an app will often bring up the message asking which launcher I'd like to use.
I also believe that I have determined that it is not a problem with the Nova Launcher. I tried installing a different launcher and using it, but I have the same problem. I also have the same problem with the stock launcher. It seems that simply having multiple launchers installed is causing me problems. Any help resolving this issue would, of course, be much appreciated. It's becoming very frustrating.

I don't have a Transformer, but I face a similar issue back when I was using the Nexus One. Is it possible that you have installed Nova on the sd card? Go to Settings -> Apps, Look for Nova Launcher and make sure it is installed on the internal memory.

@RaghdHamzeh I don't even have an SD Card, just internal memory.

Can you check nonetheless? Some tablets and phones have two types of internal memory (one of them is called an Internal SD Card), I've came across a couple of phones like that. The Internal Storage tag has more info abut this.

@RaghdHamzeh I don't see anything on that screen that indicates where it's installed. What exactly am I looking for?

@RaghdHamzeh – I believe the Samsung Galaxy Nexus (i515) has them as one and the same...


text:
Home Key pressed when not even touching it?
I've been going insane since yesterday. When typing or selecting things on the bottom half of the screen, every so often the app I'm on erratically closes because the home key thinks it was pressed. I removed my scratched screen protector, but all that accomplished was the problem being more consistent.
I found that when ever I press/swipe my finger within 5-10mm above the home key, it activates and I'm back on the home screen. It's especially bad when my finger slows down, so I guess it stops registering the swipe and thinks I tapped.
Anyone having this problem on Android? Or do you think my phone is giving up the ghost? I tried booting in Safe Mode, still same problem.
Phone: Sony Xperia E4g
Android version: 4.4.4

Does this device have a hardware or on screen home button? I'm assuming on screen, but this site isn't about assumptions.

The home button is on screen

If you have older firmware than 25.0.A.2.14 it's probably a software issue (check that link: multitouch bug xperia e4g Otherwise it's probably broken screen or another unknown software bug.. :(


text:
How to root Samsung Galaxy Alpha SM-G850A?
Seems I have searched vastly across the internet to no avail.
So far, I've tried using a CF-auto-root file with Odin 3, and vroot, neither of which worked. The only helpful thread I've found was an XDA thread from may 2015 which still did not seem to help
http://forum.xda-developers.com/galaxy-alpha/help/want-to-to-root-alpha-sm-g850a-t3107199/
The only other resource I've found were several forums and websites that link back to the same blog that claims to have rooted the phone, but the download file is labeled as malicious by chrome and there is no conformation by anyone that it actually works.

You may need to unlock the bootloader before doing this process. Here is tutorial.
As you mentioned above about odin , it means you know how to work with odin. Now just download this CWM recovery file and flash it using Odin.
Now download this flashable SuperSu zip.. Move this SuperSu zip to your sd card. Now you have to boot in recovery mode after flashing CWM recovery. In recovery mode install this zip file and reboot.
This is the best way to root any android.

Am getting "recovery.img" followed by "NAND Write start!!!" when flashing using the PDA option. Strange... This actually happened when attempting to install the CF-auto-root file using AP.

Did Odin showed pass? It is so as it writes recovery partition with this recovery.

No, it shows fail with the line "Complete(Write) operation failed. following with "Added!".

You need to be in 1. download mode, 2. USB debugging mode must be clicked. Other thing may be driver problem. So, you must find an appropriate driver for your device.

All of these are correct as well as my device driver. Still get the same error. Side note, I did use an earlier version of Odin 3.04, so I could have access to the PDA option, which is not provided in version 3.10.x. could this matter at all? I don't know of another way to flash a recovery.

Can't say too much but it doesn't matter if you choose AP which is equivalent to PDA.

@Neuromeda Have you tried using the correct version (whatever is referenced in the guides you've researched/been provided) and just modifying the .ini/.cfg file to enable whatever option is greyed out?

Go to developer option. Turn on OEM unlock and erase all data.
Start mobile in download mode.
You get custom operating system warning, continue with it.
Extract Odin on computer and start Odin app. Connect Samsung mobile to computer.  KingoRoot work well with KitKat 4 android rooting.
Odin will find Samsung mobile. Click on AP tab and give path to auto root file.
Mobile is rooted then you can see green mark.
Mobile restart automatically.


text:
What is the solution for external sd card unexpectedly removed
Please give me the solution to this problem. My external sd card memory is about 2 gb available, yet is is removed.
When I reboot my phone then it supports but in a few seconds it gets removed.
Please give me solution

There are many possible causes for this issue. Usually it's one of these:

Your SD Card is malfunctioning. Try if it's working on other devices reliably.
Your Android is corrupt. Depending on what you have done (root, custom rom, etc.) your Android might be buggy (e.g. a system component relevant to storage might crash after startup).
Your SD Card Slot is malfunctioning. If it's none of the former causes your phones SD Card slot might be defective. There isn't much you can do about it, besides sending it in for repair or buy a new phone.

Change your phone. This is happening because of the Card slot error. Hardware problem.

Do u had also the same problem? How u knew that it is hardware problem? Pls explain me.

What is the solution to repair the card slot? Do we have to buy a new phone?

@VaibhavKumar there is maximum chance that your phone has a damaged card slot or your memory card is corrupt. You can opt for a repair or you can go for a new Phone.


text:
How to reach Google Servers to complete the setup from China
My phone fell from my pocket while on a bike. After a while it was giving me some problems so I decided to resetting it. I'm in China now and I forget that I have to do through all the processes but China is blocking Google's servers so I can't complete the connectivity check.

Set up a VPN / Shadowsocks on either your PC or a router, then proxy it through. If you have neither... just buy one, you'll eventually need it.

how do i use it if incase i get it on my pc

I will detail this in an answer later.

I don't get it. You can use your device without a Google account, so you don't need to connect necessarily to complete the initial setup.

@BálintBabics Problem is, the setup wizard checks for connectivity to Google servers, and since we Chinese can't access it normally, this step will take forever. Worse, on recent devices this step cannot be skipped by normal means.

@AndyYan But if you do not grant any network (data) connection (2G/3G/LTE or WiFi) the phone can't and won't check Google servers due to there is no available data connection so the phone won't try to force reach Google's servers. But maybe I am wrong.

@BálintBabics No it still will - it's just that stubborn. Else we wouldn't have to devote such efforts to it...

As seen in other answers, VPN is the best solution.
In case you don't have a VPN or it fails to connect, do as follows. This won't do any harm to your phone.
    1. Unlock bootloader (if needed) and flash a custom recovery (if TWRP is available for your phone, go straight for it) and boot into it
For TWRP:
    2. Tap 'Mounts' and tick 'system'
    3. Tap 'Advanced' and 'File Manager', locate
       Android 4.1 & before: /system/app/SetupWizard.apk
       Android 4.2~5.0: /system/priv-app/SetupWizard.apk
       Android 5.1 & after: /system/priv-app/SetupWizard/SetupWizard.apk
    4. Rename it to SetupWizard.bak
Other custom recovery like CWM:
    2. Navigate to 'Mounts' using volume buttons and press power button to enter
    3. Again navigate to 'mount /system' and press power button
    4. Get a PC (with adb available) and run
adb shell mv /system/app/SetupWizard.apk /system/app/SetupWizard.bak
Change the path to SetupWizard.apk respectively according to the information above. Then reboot.
After rebooting from recovery, you'll find that the setup screen is gone and there's no more troubles.
Edit: For most highly customized ROMs in China like MIUI and Huawei's EMUI and ZTE's, there may be other setup wizards called mi_SetupWizard.apk or hwSetupWizard.apk or ZSetupWizard.apk, respectively, which exist along side the AOSP's one (usually located in /system/app regardless of ROM version). Remove them as well.

Nice one, this is actually exactly the one I used before I learned how to share a VPN. OP's phone might not be rootable or have a custom recovery though. Still, +1.

Also, to OP: if you were to try this, remember that after passing the setup wizard and going into homescreen, you should revert this change, i.e. put the setup wizard back into where it was and set correct permissions. Not doing so might give you weird problems, e.g. Home key not working, notification shade empty, etc.

@AndyYan For myself, I always purge (remove completely) the setup wizard directly without hesitation, and so far I have never observed any malfunctions in anywhere else. I'm the one who dares testing out the side effect of the removal of almost everything, and to my surprise, in most cases, there's hardly any side effect beside the disability of the removed function.

More or less the same, but it did cause issues on some ROMs, and CyanogenMod is one of them. Before one of the commits popped up last spring I remove the wizard too, but from then on I'm starting to experience issues and had to trace back. Anyway, life of us barebone users :)

Assume you already have a VPN, or a Shadowsocks connection that works globally (i.e. not just for your browser - all applications on PC must be able to use it). If using Shadowsocks and don't know how to do it, look up another (paid) software called Proxifier. I will leave this part out since this is not so relevant.
Connect PC and phone to the same network / same router. Install Privoxy and start it up, the default working port is 8118. Also get the local IP of your PC, for example 192.168.1.2.
Now, on the phone in setup wizard, it will initially ask you to set up wireless network. At this phase, choose something like "options" or "advanced" so that you could tweak the network's advanced settings. Choose "manual" for proxy type, fill the IP into the hostname field and port into the port field, presumably like this:

Done. Save this settings and you should be able to proceed with the rest of the setup.


text:
command line text editor for android lollipop terminal emulator
Is there any text editor for lollipop which i can use from terminal emulator??The editor must be like gedit or notepad like (means i can create any kind of file like .txt .c .cpp .html etc)I have used mobipad which resembles notepad but I want something for command shell.

Depending on the Android variant (stock ROMs, custom ROMs, etc. could differ), GNU Nano might already be built in. Here's what it looks like running in Terminal Emulator, identical to its desktop Linux counterpart.

Even the CTRL key shortcuts are preserved, so your terminal emulator should support emulating CTRL key combos if you want to use it, else you'd need an external keyboard.
Run it anywhere simply by executing nano /path/to/file/filename.


text:
Building a simple, background app
What I have to do is very simple, I want to use Tasker to ping my Raspberry PI unit when I get close to home.
What I have:

An Android 6.1 Phone
An ssh server I can reach from everywhere
A Raspberry PI unit behind a router at home

I have downloaded tasker, so I can trigger applications on my phone and I have an app to connect to my remote ssh server. My idea is something like:

Have the Raspi periodically check a file on the server.
File is updated with a flag on whether I am close to home or not by Tasker + SSH application on my phone
????
Profit!

I need some help on how one can achieve 2. or similar. Essentially, I would like to set up tasker so that on triggers it will make my phone execute a script on the server, any hint?

So, I've managed. It's a bit clunky, but it does what it should.
Here's whatis needed:

Tasker app (2.99$ on the Play Store)
Connectbot
An ssh server you can control

Tasker checks my position every two minutes, connects with connectbot which triggers a shell script on the ssh server.
Generate a public ssh key without password from Connectbot. Go in the key section, long tap and copy the key. You can then send the key to your ssh server so that connectbot can authenticate passwordlessly.
Create a profile in connectbot with a meaningful nickname (in my case "homeflag"). Select post-login automation and insert which command you'd like to run. In my case I have a very simple script called I_am_home:
echo 1 > /home/user/home_flag

so in connectbot post-login automation I would put
/path/to/I_am_home; exit ⏎

this ensures the command is triggered automatically at login and then the connection is closed.
In tasker create a task to send intent (use the search bar to find it), with the following fields:
Action: android.intent.action.VIEW
Data: ssh://user@host:port#homeflage
Target: Activity

Information on how to do this have been found on this dedicated reddit containing a lot of other info and different way to achieve this.
It is then easy enough to have tasker check your location periodically by making an appropriate profile.


text:
How to import a .obf POI file in OsmAnd
I created this Data.osm file:
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.5' generator='GPSBabel-1.4.0'>
  <node id='-1' visible='true' lat='41.890121' lon='12.492265'>
    <tag k='name' v='place01'/>
    <tag k='note' v='place01'/>
    <tag k='tourism' v='museum'/>
  </node>
</osm>

Then I converted it to Data.obf using OsmAndMapCreator.
How to have OsmAnd show this POI on the maps?

Open OBF file using filesystem browser
Use a tool for navigating your phone's filesystem. Navigate to the file you wish to import and choose to open the file with OsmAnd.
On Android there are several tools for navigating to the file, one example is Total Commander.
Obsolete method, pre 2022
The solution below does not work on recent versions (since some time in 2022) but is still here for completeness. It is what was originally suggested in this answer.

Copy the .obf file to your OsmAnd folder, for instance /sdcard/osmand.

In OsmAnd, enable the "POI > Any" layer.

Sometimes it does not work immediately, in such case restart your phone (there might be faster methods but at least restarting works)


text:
Transfer LINE account from a phone to another without losing friends and chat history
LINE is a messaging/call application.
I bought a new Android phone, and want to transfer LINE friends, chat history, call logs, groups, groups chat history, from my former Android phone.
How to do?

Official backup / restore solution for Android, introduced by LINE by 2018 for all regions
Limitations of this method
Restored: Chats, Contacts, Media not older than a few weeks
Not restored: Sealed letter messages, Group chats, Media older than a few weeks
Perform on old Phone

Make sure you set an Email and Password for your LINE Messenger account
In LINE, go to your friends list
Open Cogwheel (top right)
Open Chats
Open Back up and restore chat history
If Google account has Not set written below, click on it
Choose your Google account and click OK
Select Back up to Google Drive
Make sure the date on Last backup is the current day and time

Perform on new Phone

Install LINE Messenger
Login with your Email and Password
Go to the friends list screen
Open Cogwheel (top right)
Open Chats & Calls
Open Back up and restore chat history
If Google account has Not set written below, click on it
Choose your Google account and click OK
Choose Restore

Note: This requires giving LINE the "Contacts" permission (you can create a separate Google account to prevent LINE from seeing all of your Google contacts).

I have pressed "Back up to Google Drive", and now "Last backup" shows todays' date and "Total size: 5.00 MB", but strangely the associated Google Drive account has nothing new (it is actually totally empty). Do you see a LINE backup file in your Google Drive? Just in case I checked my main Google account's Drive too, nothing new there either. I am checking with Google Drive's web interface so it is not a sync problem either.

That sounds correct, Google Drive stores app data without it being visible to the user. More info here: https://developers.google.com/drive/android/appfolder

Warning: LINE only allows one active phone, and will destroy data on the old phone as soon as you log in on the new phone, so be sure to correctly perform this procedure BEFORE logging in on the new phone.
Fast procedure (requires rooted phones)

If you don't remember your LINE PIN code, now is the last chance to change it, LINE will ask for it after you switch. Even if you never set one, it will ask you so better set it now.
Make sure Letter Sealing is disabled in Line settings on your old phone (you can re-enable it after this is complete).
Root both of your Android phones, old and new (absolutely required)
Install Titanium Backup (free) on both phones.
On the old phone, make sure LINE is not running, launch Titanium backup, and backup LINE (App+Data).
Copy the Titanium Backup folder (typically /sdcard/TitaniumBackup/) from your old phone to your new phone. It should contain 3 files or so.
On the new phone, install LINE (don't start it yet), launch Titanium Backup and use it to restore LINE (App+Data). Press "Done", do not start it yet.
On the new phone, install Root Browser, and use it to copy /data/data/jp.naver.line.android/databases/naver_line to your /sdcard/, then transfer it to a desktop computer (via ADB or email)
Open this file in SQLiteBrowser, go to the Execute SQL tab.
Type delete from setting; then press the Execute button. Click "Write changes" then exit, and copy the modified file back to /data/data/jp.naver.line.android/databases/naver_line
Start LINE on the new phone and log in. When Line asks you about restoring the chat history; say no. Even though Line warns you about loosing your chat history, just go head; all of your data will be just like you left it.

This restores your friends, chat history, call logs, groups, groups chat history.
Note about Letter Sealing: if you forgot to disable it in step 1, new incoming messages will show up as an error and you won't be able to send messages. To fix this problem, just:

Disable Letter Sealing.
Use Root Browser to remove all files that start with "e2ee" in /data/data/jp.naver.line.android/databases.
Re-enable letter sealing.

Thanks to TechGravy for the procedure.
Thanks to YandereSan for the Letter Sealing fix.
Slow procedure (no rooting needed)
If you are unlucky enough to have a phone that can't be rooted (the old one or the new one or both), then your only option is this:

One-by-one for each chat conversation, go to the conversation settings and backup it (Backup all) to the SD card (or email if you prefer).
Move the resulting files to the new phone in a folder called /sdcard/LINE_Backup.
Log into LINE on your new phone. This will destroy all history from your old phone, so only do it when all conversations have been backed up.
For each of your friends, go to the conversation, chat settings, and tap Import chat history, confirm.

In total this will take about 1 minute per friend if you are fast, for instance about 3 hours if you have 200 friends.
Warning: Groups chat history can not be restored by this procedure. This only restores friends, chat history, call logs, groups. Also, it loses any media older than a couple of weeks.

This answer is essentially obsolete. I just transfered an account from one Android phone two another by just registering an E-Mail (account settings) on the old phone, then making a backup to google drive of the chat history. Login on your new device. Your contacts should be restored. Now restore your chat backup on the new device. Here the basic procedure is described https://www.recovery-android.com/social/carry-over-line-account.html

@Grmpfhmbl: Nice to hear that it has gotten easier! Could you please post an answer describing the procedure, as external pages tend to disappear? Thanks!

I found out (too late) that the backup/restore all chat option loses any media older than a couple of weeks.

@NickWestgate: Thanks for the tip, I integrated your info into the answer, is it correct? Thanks!

Root solution for fresh install and old database
Example situation
You lost your old phone, the other root solutions do not work here, but luckily you have a backup of naver_line database found in jp.naver.line.android/databases/naver_line (maybe you have set up Syncthing to always have the latest version)
You have installed NAVER LINE on your new phone, but were not able to set your chat history back at first startup.
Solution

Download "DB Browser for SQLite": https://sqlitebrowser.org/
Open the latest naver_line DB with DB Browser
Click "Attach Database" in toolbar and select your old naver_line

When searching for your file, change "Files of type" to "All files (*)" (naver_line file has no extension)

Write SQL code to merge the 2 databases

I've done it here for you (too much code to copy and more detailed steps): https://github.com/NumesSanguis/naver_line_restore_chat_root

Copy the merged database to your Android phone
Set the UID and GID to LINE
Rename the new app's current naver_line db and copy your new merged db into e.g. /data_mirror/data_ce/null/0/jp.naver.line.android/databases
You got your chat history back!

Limitations

Not sure how to recover images shared in chat yet.
Chats that haven't seen a new message since you reinstalled LINE do not show up (but have all your chat history)

These do appear if you select the chat from your home screen. The message will be shown as from 1970/1/1 though

Search for old chat history seems broken :/ Even after you have opened an old chat.

ROOT 2020-06: Transfer all data locally and allows for 2 phones with the same LINE account
An updated version of @nicolas-raoul 's answer, for when your phone is ROOTed. The following procedure does NOT require uploading your private chats to Google (everything is done locally). Works with Letter Sealing.
Disclaimer: These steps worked for me, and I tried to be as detailed as possible. I'm not responsible for any loss of data, or other damages. Try at your own risk.
Situation my transfer succeeded

Tested with a transfer from Android 9 (OnePlus 3) to a new Android 10 phone (Samsung S20+) (through a computer)
Both phones ROOTed (with Magisk) and still working
LINE Version: 10.9.3 (old phone) - 10.9.3 (new phone) (v9.7.0 gave me a black screen on Android 10 following the instructions below, so I updated to the latest version on the time of writing through the Play Store)

Letter Sealing is ON

Computer to transfer files from and to your old/new phone
Turned off wifi / mobile internet to not receive new LINE messages during the transfer process.
Warning: Pictures did not show in chat after transfer. Maybe I should have transferred these images first. Or filesystem path changed, hence it cannot find the images?

Preparation
Locate settings_ssaid.xml on your old and new phone. Likely can be found in 1 of these locations (what I did and what the below instructions assume):

/data/system/users/0/settings_ssaid.xml
sbin/.magisk/mirror/data/system/users/0/settings_ssaid.xml
Or you can use an app like Android ID Editor to find/edit an app's Android ID (untested)

Steps on your old phone

Make sure your LINE is registered with an Email address and Password that you remember (More -> Settings (cogwheel right-top) -> Account)
Get Android ID (which is unique per app since Android 8+; Before 8, it's your device's Android ID)
With a file browser that has ROOT access (I used Total Commander), access the file settings_ssaid.xml (see Preparation step)
Search for "line" and you should find something like: <setting id="xxx" name="yyyyy" value="aaaaaaaaaaaaaaaa" package="jp.naver.line.android" defaultValue="bbbbbbbbbbbbbbbb" defaultSysSet="false" tag="null" />. Copy+paste this line (or whole file) somewhere outside your phone.
Close Line and backup with Titanium Backup. This created 2 .apk.gz and 1 .properties files for me.
Use another app to create an .apk of your current LINE version (in case TitaniumBackup cannot restore the app itself, what happened to me)
Transfer your LINE app backup (Titanium Backup) to your new phone (e.g. through your computer). Check that the backup files are not 0 Bytes (something went wrong then).

Steps on your new phone

Install Titanium Backup (or other app) and an app that can edit SQLite databases (e.g. SQLite Editor)
Copy the Titanium Backup of your LINE app+data to the storage on your new phone (likely 3 files).
Check if Titanium Backup shows a "Restore" button (DO NOT OPEN THE APP AFTER INSTALL):

If yes, tap this (if it's taking 5+ minutes (my case), it's not working. Restart phone and follow "no" steps)
If no, something might have gone wrong, but you can try these steps:

Install LINE (through the .apk) with e.g. a file browser OR Play Store if you had the newest version (my case)
Start the app once and close it again (this should create an entry for LINE in settings_ssaid.xml on your new phone)
Titanium Backup's "Restore" button should have appeared now, tap this and select "Data only"
Do NOT open LINE yet

Go to your phone's settings -> Apps -> LINE -> Storage -> Data should NOT be 0 B (this means Titanium Backup has failed)
In relation to settings_ssaid.xml (Android 10):
Open settings_ssaid.xml

If you can find jp.naver.line.android: change the values to of value and defaultValue to values found on your old phone (aaaaaaaaaaaaaaaa and bbbbbbbbbbbbbbbb, respectively)
- (untested) If not found: Copy the whole <setting id ... tag="null" /> and change id to 1 higher than the other apps (e.g. setting id="27")

If permissions were changed on save, restore original values (probably did not happen if you used Total Commander)

File permissions: Owner-only RW; value=600; UID: 1000 system; GID 1000 system

Open your SQL editor app, give it root access, and navigate to: /data/data/jp.naver.line.android/databases/naver_line. If using SQL Editor:

Use File explorer (not Apps list)
If you cannot see naver_line, press the 3 dots right-top and uncheck "Show only database files" (it's a database file, but without extension)
Open naver_line -> setting -> delete everything with specific phone info (I deleted entries here on a a previous transfer, so I forgot what I deleted, sorry)

(untested) Copy LINE images received in chat to new phone.
Restart your phone (otherwise Android ID change won't take effect, and LINE will crash)
Start LINE:

If you see your chats, congrats, you now have LINE working on both phones :D
If you get an error saying LINE detected a new phone, do NOT continue. If you continue, LINE will erase all your messages. Go back to the SQL editor step, and delete more entries that could tell LINE that it's not your old phone.

I figured this stuff out with the help of the following resources:

Outdated Backup creation instructions: https://www.techgravy.net/line-chat-history-backup-restore-android/
Outdated Backup restore instruction: https://www.techgravy.net/transfer-restore-line-chat-backup-new-phone/
Find Android ID on Android 8+: https://medium.com/@sdex/how-to-change-android-id-on-oreo-with-root-a71ebbc38cec

Another "Fast procedure" for un-rooted phones is by using a 3rd party tool called Backuptrans Android Line Transfer. You need to follow these steps:

Connect both your Android Phones to computer via USB cable.
(Make sure USB debugging is enabled on phone)
Run the Android Line Transfer program on computer. Choose the source device on the program and then click the "Transfer" icon.
Choose your target device and wait the transferring to be done.

That is it.

I see "Personal Edition USD $19.95", there is no free version I guess? I looked for feedback about this tool, and find it strange that nobody on the Web is talking about it, Google only finds the product's download pages and your answer here.

My experience with Backuptrans Android Line Transfer was hit and miss. Backing up from a Samsung J7 went fairly smooth though the software is slow and lags a lot. Transferring the same backup to an OPPO F1S Plus didn't work, the phone was recognized but would not cooperate with the software. (Restoring to a different model may have went smoother but I didn't try). I then had to restore the back up to the J7 again which took 3 attempts. I spent 4 1/2 hours doing this whole operation. I think better doing it the Line chat by chat method could be better. Backuptrans Android Line Transfer is the r


text:
Remove notifications "Activate Anti-malware service" and "Battery fully charged" on rooted Samsung S10
On my Samsung S10e device I often get these notifications:

Device care - Activate Anti-malware service

and

Battery fully charged

When I try to turn one of them off, I am told:

These notifications can't be turned off

Which raises the question: On my rooted device, how can I turn them off?
Solutions that only work for one of these notifications are OK.

This is not an answer, but hopefully providing a background/context to why it cannot be turned off easily: "McAfee [...] is an integral part of the so-called "device maintenance" in Samsung's One UI user interface; formerly Samsung Experience and TouchWiz."

Have you tried Magisk modules? Debloater to debloat that McAfee thing which is I believe under the Device care or debloat Device Care itself? If that's not working out, the hidden settings Magisk module. Yet another option - if you can get to install Gravitybox on your device, see under Advanced tuning (Framework and System UI) Options if you can disable.//

//These may turn out to be not helpful but that's the best I can think of, since I don't own the device

If you want to "flex your root muscle" so to speak, there are options using Xposed modules, but these options do not require it.
Battery full notifications are a bit of a workaround:

Open Settings and select the Notifications option
Click See All under the Recently Sent list
Select All from the dropdown in the top left
Click the 3 dots in the top right and click Show system apps
Select System UI
Click the Battery full item
Edit the options as desired

As for Device care, that is a little less of a workaround:

Open Settings and select the Device care option
Click the 3 dots in the upper right of this screen
Select Advanced
Slide the Notifications switch to off

This option may have been part of the Android 10 update. If you do not have this option:

Open Settings and select the Notifications option
Click See All under the Recently Sent list
Select All from the dropdown in the top left
Click the 3 dots in the top right and click Show system apps
Select Settings
Click the Device care (Important) item
Edit the options as desired
Return to the previous list
Click the Device care item
Edit the options as desired

Keep in mind that this will disable all Device care notifications. If you went with the second method, you may want to try disabling one at a time to remove the notification you want without necessarily removing all of them.

Thanks! Battery full was in Silent so I switched it to Silent and minimized. When clicking the 3 dots in Settings>Device care I only see: Auto optimization, AUto restart, App issue history, SHow icon on Apps screen, About Device care... I don't see Advanced.

I can confirm that the battery icon does not appear anymore when reaching 100% :-)

@NicolasRaoul I've updated the answer with the alternative solution, which uses the same method as the one that worked for battery. Don't forget to accept if this answers your question.

Thanks! I switched both Device Care items to Silent and minimized, and will wait for 4 days to see if it reappears (it does not appear very often in the first place). I won't forget to give you the bounty if it works ^_^

As an update to this information, I found that General notifications / General Messages handles the low battery and charging notifications. I recommend only making these silent, as minimizing them will disable any sort of warning before the device dies.

Apparently I can't post comments yet, so here's my thoughts in an answer.
Try searching for the package name of the app that's showing the notifications. A quick Google search finds this app which seems to do what you're looking for.
Hope I helped.

Rebuilding a system app without activities is a terrible idea. Not to be so blunt, but the core firmware is not built in a one function per activity fashion.

Yeah I wouldn't do that with a system app. But if it wasn't a system app (I thought OP used a custom battery monitor app), it might be possible.

A regular app should not have activities removed to disable notifications, since you would have an option in the app or the standard notifications options for that. That explanation doesn't really make it any better of an idea.

Huh ok. I thought a standard app could set it's notifications to be unswipable as well, just like a system app can. Anyway, thanks for the insight.

An app can set persistent or recurring notifications, but the system notification settings override that.


text:
How to find out the package name of an Android app, without ADB nor installing apps
My friend just showed me a really useful app. I want to install it too, but the app's name is very generic and there is no app with this name in any app store nor on the web. Knowing the package name of the app would help me find it.
How can I know the package name of an app?

In Settings>App I only see the app's name.
If it was my phone I would install Applications Info and read the package name. Unfortunately I can't install anything on the phone. Understandably, my friend does not allow me to enable developer options, nor to connect any cable to it.
The phone otherwise only has stock apps.

Latest Android.

Related/possible duplicate: https://android.stackexchange.com/q/90141. Btw, the correct term is "package name", you might use that keyword to search for related existing questions.

That question specifies "via ADB". So any answer there is not a valid answer here, and vice versa. So I don't think it is a duplicate. Thanks for the terminology tip, I fixed my question :-)

If I understood correctly, then the restriction on this question is: stock, fully-locked (cannot install/side-load apps, cannot use USB debug, not rooted, etc.) Android devices? If that's the case... based on my experience, it's almost impossible to get the package name, surprisingly... hopefully others know the solution.

Ugly way: Let your friend install Helium Backup, create a backup of that app, and see how the backup was named. Or use an "app inspector" (link goes to my corresponding app listing). Or shock him and let him use ClassyShark3xodus, which doesn't only show the package name but also the trackers inside ;) Without installing an app you can only hope to open it in play store (web site, "id" part of the URL).

@AndrewT. Yes exactly. I hope Izzy knows some trick either via settings or via the Play store app or something else :-)

Re: Izzy's comment on "open it in Play Store", related Q&A: https://android.stackexchange.com/questions/78318/package-name-info-for-android-apps. Also try searching the same app name on Appbrain just in case the app has been taken down from Play Store. But otherwise, if nothing comes up, then it might be a proprietary app specific to certain vendors/manufacturers.

@Izzy Unfortunately I can't install anything on the phone, and it has only has stock apps, so no Titanium/Helium/etc.

PS: Open in play store (app) might be helpful as well. Write down the name of the developer, and use that to show all his/her apps: https://play.google.com/store/apps/developer?id=<url+encoded+name>. If any of that constitutes an answer in your eyes, let me know :)

There is a browser app, so that's definitely an idea. Please note that "there is no app with this name in any app store". I suspect the app was removed from Play. Or maybe it was installed another way, even possibly via APK by a pre-owner who then would have disabled developer options.

In that case you're out of luck. The only way to get the app then would be to extract it from his device – which you cannot do as you can neither install an "app extractor"/backup, nor use ADB :(

There are multiple approaches to that – depending on what you have access to. I'll include those not working for you as they might work for others:

Most obvious: use an app inspector (link goes to my corresponding app list). Won't work for you as you cannot install any app.
Not that obvious, but with helpful side effect: install ClassyShark3xodus from F-Droid. Not only shows the package name but also the trackers contained in apps. Again, needs installing an app.
Another one with helpful side effects: installing Helium Backup and inspecting the backup file name. Doesn't work for you either, unfortunately.
Native method: Open in Play Store, ideally in the web page. Find the package name in the URL's id parameter. If in app, use the developer's name to list all apps made by them: https://play.google.com/store/apps/developer?id=<url+encoded+name>.

If the app is not available in any of the app stores available on the device (often happens with vendor specific pre-installed apps), you're out of luck: you cannot even extract the APK from your friend's device if (s)he doesn't let you install an APK extractor or enable ADB (with ADB, you could e.g. use Adebar's getapk script to extract all or specific apps).


text:
Odin stuck at "File analysis"
When I press "Start" in Odin3 3.13, the log just says:
<ID:0/006> Added!
<ID:0/006> Odin engine v(ID:3.1.1301)
<ID:0/006> File analysis..

Then it is stuck forever, with the desktop computer's CPU constantly at 30% and 0% disk usage.
The same happens regardless of whether I start Odin then connect my device in "Downloading" mode, or whether I connect my device first and then start Odin.
Question: How to solved the problem, and successfully download the patched firmware?
My configuration is:
- AP: magisk_patched.tar produced by Magisk from the Samsung Galaxy S10e firmware AP_G970FXXU1ASD5_CL15820661_QB23234096_REV01_user_low_ship_meta_OS9.tar.md5
- Options: Disabled Auto Reboot, so that only F. Reset Time is left enabled.

your magisk_patched.tar might be corrupt

... or maybe carrier/region of used rom does not match. try another one. at least (without warranty, might be a scam) there is a patched version of odin which ignores some checksums https://www.xda-developers.com/samsung-galaxy-s8-note8-bootloader-odin
https://forum.xda-developers.com/showthread.php?t=3762572

@alecxs: Thanks! I had picked a region without thinking. Now I found out the CSC of my phone using https://play.google.com/store/apps/details?id=org.vndnguyen.phoneinfo so I am downloading the matching country's ROM at sammobile.com. I will let you know whether it works :-)

@alecxs: I downloaded (from sammobile.com) the ROM for my phone's region, and... turns out it is binary equal to the one I had tried yesterday. So I guess it will not help.

I did 3 things, tried again, and it worked (I mean it got past File analysis). I am not sure which one of the 3 things did the trick, unfortunately. You might want to try them all.

Run SAMSUNG_USB_Driver_for_Mobile_Phones.exe
Use a different USB port, for me COM7 instead of COM6.
Get the ROM for my phone's region. It is binary equal to the file I tried yesterday, though, so I doubt it changed much.

i found that you must use the correct version of odin. For example, if your md5 file made in year 2015, you need to use the same odin version of the year 2015 (odin v3.07)
Try this by myself and it works. May work for your phone too.


text:
Unwanted unlock code screen on Samsung Galaxy Note 10.1
This screen has been appearing lately. It appears in a few seconds after I have inserted a SIM card, rebooted the device, and draw the right pattern or inputted the right unlock code. The screenshot of the unwanted code is below.
Model number: GT-N8000.
Android version: 4.1.2 (stock).

No more unwanted unlock screen. Something might have been wrong with the firmware.

This looks like you have a tablet with SIM lock.
You have to unlock your tablet to use another SIM card (or a SIM card from another provider). You have to contact the provider which has sold the tablet for the first time.

I'd rather say that this tab is not sim-locked to a specific carrier but instead the SIM itself has a PIN protection which needs to be unlocked after a reboot/re-insertion. Change it under Settings->Security->Setup SIM card lock

@ce4, the "Setup SIM card lock" checbox is unchecked. I inserted another SIM card and had to input the same unlock code.


text:
How to make Samsung Galaxy SL I9003 play AC3?
I have a film in the .AVI format, with an SRT subtitle file, and an AC3 audio track.
I used the S/W decoder function.
The film can be played with/without the subtitles, and the AC3 file itself can be played. I have tried MX player (not PRO) with the ARMv7 codec and VPlayer with the ARMv7 codec. I have the same problem on my Nook Color. If I stop the film and try to select audio, I have the only item which means embedded audio track.

Am I assuming correctly that you have 3 files (.avi, .srt & .ac3 (maybe some other language)) which you want to simultaneously play or is the ac3 track embedded in the avi? I'd say: Use handbrake to merge all into a single playable (.mkv or so) file for your handset.

Thanks for sharing your workaround! If you want, you can compile this into an answer, just FYI.

Thanks. (PS: The answer section is below... Sorry for nitpicking)

The solution.
I ended up preferring films in the .MKV format and using mkvmerge for merging audio tracks and subtitles into a video file.
However,
for those who want to watch films with an embedded AC3 audio track, this solution could be useful. It worked on my Samsung Galaxy Tab 4 10.1 SM-T530NU, and I'm sure it would work on any other device.


text:
How do I copy the stock launcher's layout of widgets, icons, and folders from the old Nexus 6 to the new Pixel?
I received my new Pixel today (Yay!) and I went through the installation.  During which I was asked to migrate my old phone info using the Google app.  (My old phone is the Nexus 6 not the 6P).  It happily downloaded and installed all my apps and settings (at least I hope all of my settings since I see my background has copied).
Now, when reinstalling my OS on my Nexus 6 from time to time (such as the dev preview), I always was able to restore my home screen layout along with all other settings.
Is this not possible when upgrading between physical phones?  I figured that Android would be able to migrate this data since it's the same OS version using stock Google launcher with the same 5x5 icon layout.  However I can't seem to find any information about it.
It will take me a very long time to migrate all my stuff manually since I have  many, many folders so any help would be appreciated.  (I'm all for getting under the hood too.)

Were you using a custom launcher or the stock Google Launcher on the N6?  Widgets are always problematic, even using something like Nova Launcher and restoring a backup isn't always 100%, but it gets you mostly there.

I am using the stock Launcher.  I will edit question to reflect this.


text:
how to fake my personal information
I downloaded a game from Google Play. In the permission page, I noticed that it asks for my personal information.
Allow this application to:
Your personal information read sensitive log data.

Why in the world a game needs my personal information to run? so I decided not to install it. However, I really want to play this game. My question is this, is there any way to fake my personal information so developer of the game can not be able to reach my info?
My Android version   : 4.0.2
Model number         : GT-N7000
Baseband version     : N7000XXLB2

This app wants the "read logs" capability which may include sensitive information logged by other apps (also system apps). However note, that this specific problem has been adressed by Google with Jelly Bean onwards (apps can only read their very own logs, and not everything in the log since then). You have Cyanogenmod (or similar), right? (if so, you can have a look at PDroid (here, here and here))

I have a stock ROM installed. so do you think is it safe to install?

Nope, no official ROMs are supported. It's a rather invasive patch that depends on a firmware as close to Android 4.2 as possible. A number of aftermarket ROMs are supported (from the above linked Autopatcher thread: CM10, CM10.1, AOSP and AOKP 4.1.2 and 4.2.1. Evervolv, PA and SlimRom 4.2.1.) PS: Doesn't the N7000 only have an official Android 4.1.2 firmware yet? That's why I thought you might have CyanogenMod. Android 4.0 and 4.1 are also supported but with the same restrictions on the supported firmwares.

Bottom line: The read logs permission on Android 4.1+ is safe. You can install the app without fear on Jelly Bean devices (but not ICS and below).

you were right. my phone was running Anroid 4.0.2 . I was confused with my iphone's firmware number. sorry about that.

ok. It's baked into the firmware, i.e. you need to upgrade if you want that functionality. You can either install an aftermarket mod (4.2.1) and additionally apply the pdroid patch for fine grained control or upgrade to an official JellyBean firmware to (only) get the read logs security.

Have you checked the app description either in the Play Store or on the official web site to see if it has an explanation for why it needs that information? Have you considered contacting the developer directly and asking?

@ce4, thank you for these awesome information.

@user267, there is no explanation at all.

@ce4 I think it would make very much sense if you take all your valuable comments and compile an answer! You could also include a hint to LBE, which runs fine with its Playstore version up to 4.0 on any ROM (including stock).

Summing up from the comments on the question itself, so it doesn't "get lost":
As ce4 pointed out: The READ_LOGS permission requested by the app grants it access to the system logs, which might include sensitive information logged by other apps (also system apps). However note, that this specific problem has been adressed by Google with Jelly Bean onwards (apps can only read their very own logs, and not everything in the log since then). So the READ_LOGS permission on Android 4.1+ is safe. You can install the app without fear on Jelly Bean devices (but not ICS and below).
PDroid
If one has CyanogenMod (or a compatible ROM) installed, there's the option to use PDroid in one of its incarnations. Visit the XDA-Developers for information on...

The OpenPDroid AutoPatcher, working on Linux, MacOSX, and meanwhile also Windows. With this tool you can patch a ROM image so it will contain the PDroid functionality.
The OpenPDroid project. This thread gives you detailed information on what OpenPDroid is, what it does, what features it includes, and more.
PDroid 2.0, which now also offers support for stock ROMs. Tons of screenshots there, for sure an interesting read!

Still, PDroid is nothing for Android newbies to install -- it's not like just picking an .apk and go. All PDroid incarnations require you to patch an existing ROM image file, which you then must flash to your device. So no easy-go.
LBE
LBE Privacy Guard, on the other hand, can just be installed straight from the playstore if you run Android 4.0 or below. There are issues with JellyBean like e.g. boot-loops, so do not install the playstore version on JellyBean devices! At least not if it was not updated May 2013 or later. You have been warned!
For JellyBean users, again XDA is a good source: some busy members took care to translate the Chinese LBE安全大师 (LBE Security Master) to different languages. The thread can be found here, and this version does not boot-loop JellyBean.
XPrivacy
XPrivacy is pretty new in this area (I just discovered it recently, after I wrote this answer -- so I felt the need to update it). As with the other mentioned solutions, it requires a rooted device. In order to install the app, you also need a Custom Recovery such as e.g. clockworkmod or twrp. XPrivacy is based on the Xposed-Framework, so you will need that as well. Requiring Android 4.1 or higher, this seems a nice option for those having used LBE Privacy Guard before, and don't want to use the overloaded LBE Security Master on JellyBean.
From its behavior it's comparable to LBE: on a per-app basis, permissions can be set separately. In most cases, if you "revoke" a permission, "fake data" will be served instead -- with two exceptions, where this seems not to be possible (internet and external storage). More details can be found on the project page.
CyanogenMod, Paranoid Android, & Co. with Privacy Guard
CM 10.1 nightlies and onwards of CyanogenMod as well as Paranoid Android already ship with a Privacy Guard, which lets you define what apps should be placed into "incognito mode". While that's better than nothing, it's just an on/off switch: either the app is put into "incognito", or it is not. No selective withdrawal of permissions here.
Android 4.3+ App-Ops
With Android 4.3, Google finally introduced a kind of "permission manager". In 4.3, it's still hidden, but can easily be made available: App-Ops allow you a fine grained control over your privacy, almost similar to what PDroid, LBE, and XPrivacy provide. But just almost: not all permissions can be revoked here (e.g. network/internet access cannot).

From what I've read about Android 4.3, the security is clamped down alright (dmesg_restrict which means you need to be root to read the kernel log), and also, from rumours, parts of the app ops is slightly broken...?! unsure

All I've read about this was it should be working, but apps might crash (i.e. information is not "faked" like with LBE etc., but simply the permission revoked). I cannot verify myself, but nowhere was the word that root is needed, AFAIR.

Yeah, Even Chainfire had trouble in getting Superuser app to work comfortably with 4.3 as well.. and it would be fair to say it would have broken a few apps such as LBE etc

If you ask Steven Kondik (Mr. Cyanogen), root will die soon either. LBE was good up to ICS. The "new LBE" working with JB is a monster.

cheers for the linky... did not about the demise of root! how the eff did I miss that - TIL! +1

Proid 2.0, OpenProid and XPrivacy which one is the best at performance ?

Don't know. People able to use OpenPDroid will probably not check the other two. And considered that (Open)PDroid only runs on CM, people on other ROMs have no choice to test it out. My guess is, as both PDroids directly integrate deep into the system, they are the "more performant" candidates. But I never heard of any contest.

Log Data can't be faked without root and doing that would be a painful waste of time. All phones pre 4.1 that app can access a list of everything the phone has been doing (after you install 4.1 it can only access what it has been doing itself). You will have to trust the maker of the game to not use any logs maliciously currently or you can try and use this http://forum.xda-developers.com/showthread.php?t=1923576. I would recommend trusting the app or uninstalling it.
If you still want to play the game and be sure no one is getting your logs, you can play in aeroplane mode and then uninstall the app before you take it off aeroplane mode.


text:
Moto G4 still on security level July 2016
I have bought an Moto G4 smartphone about half a year ago. At first system updates where available but now no more. The security level is still at July 2016 with Android version 6.0.1
The Motorola Upgrade News site does not even list the G4 model.
How to get security updates for my phone?

Come and dive into the world of tinkering and flashing. Official OTAs and firmwares get you newer versions that might not void your warranty; custom ROMs guarantee that you're always on the bleeding edge.

@AndyYan I know about custom roms but I hoped to avoid flashing my mobile phone

Then see if there's a stock ROM that fits your particular SKU, prefereably in OTA format, so that you can update without even losing your data.


text:
Playing all sound from one device to another
Let me explain my situation first. I have a tablet that is connected to a Bluetooth device that is connected to my auxiliary of my car speakers. I can only connect one device at a time. I have a tablet in the back of my car that my customers, as an Uber driver, can use to listen to their own preferred music or media. It's too complicated to switch back and forth each time I pick up a passenger.
I tried solving this by getting a auxiliary spliter. So when the customer in the back starts playing their music, all I have to do is turn my music off and we can hear their music or media. Otherwise both of our music plays simultaneously.
I could deal with that but there is a static interference from using the splitter, which I can't seem to eliminate, unless I manually disconnect the splitter. Interference seems to come from having two devices connect to one line, even if one device is not having any sound output. I can disconnect any one of the two devices and the static interference goes away, so it's not the splitter itself in question.
So without installing some manual switch to switch back and forth to keep from having a cross connection interference, I'm trying to find an app that works kind of like Spotify new connection does. Where I can play audio from my back tablet and it plays through my front tablet.
After a bit of research, I come across a lot of apps that come close but not exactly how I need it to. I need to make it convenient for the customer because they tend to shy away from making me feel uncomfortable in my vehicle.
Preferably I would like my back tablet to take over the sound of my front tablet. So even if I'm playing music on my front tablet and someone starts the tablet in the back it will turn my sound off and start playing through my tablet in the front which has a constant connection to my Bluetooth.
Anybody know a way that I can accomplish this even if not the way I intended originally. If not a app maybe a specific Bluetooth device that will allow one device precedence over another without having to manually switch back and forth. Or maybe something that I haven't even thought of.
By the way I have SureLock installed on the tablet in the back. So whatever suggestions you might come up with it has to be able to run through that.
Thank you for your help and I appreciate any suggestions you might offer.

Nobody can offer a suggestion to my dilemma?


text:
installing gapps without custom recovery
i have a SM-J7008 which was recently flashed but has no google apps installed. i read it was possible to in stall them using busybox. i would like a little more detail with the method mentioned here:

If you want to install without modifying /system then it's impossible.
  So the answer is "No, you can't" with neither root access nor recovery
  flashing. But if you simply wany to DIY without using a custom
  recovery, it's OK. Takine OpenGApps as example. Download their ZIP and
  extract it.
Install BusyBox
Use busybox lunzip to extract the .tar.lz files in Core/
Move files other than APKs to /system. You will find things to be merges into etc/ and framework/. Take care of file mode (permissions)

and owner/group.
      Install GoogleServicesFramework.apk as system app. In my experiments it sometimes fail if not installed as system app.
      Install the rest of the APKs as normal.
You can't install GApps without modifying /system. As you see, there
  are quite a few configuration files that will be merged into
  /system/etc during installation, and a few essential framework JARs to
  be installed to '/system/framework. They won't work if installed
  elsewhere.

Are you answering the question you asked yourself? If yes, crop the answer part out and put it in a proper answer; else, make it clear what the whole latter part is for (maybe it belongs in a blockquote?).

i am knew to this.i copied a response which i believe can help me but i need a little more detail on how exactly to go about it

I put it in a blockquote for you. To me the instruction seems quite clear: if you are rooted or has a custom recovery, you could proceed to just flash the GAPPS zip; if not, just don't think about it. As for busybox, it's just how the zip itself handles the installation, it's not what we as end users should care about. Just go get root or custom recovery figured out.

That text looks very familiar to me. I think it's my answer :)

i am rooted but a custom recovery is not available for my model SM-J7008

yes it is yours, can you explain the steps any more clear

Does anyone think it's a good practice to post detailed answer here?

i do not know but anything you can do i can get it installed wil be great

@iBug Didn't know he just copied it here... Added a link pointing to your original. Still, I reckon the text better be kept here for clarity.

Probably you can take the discussion to the chat room, if the instruction gets too long and requires step-by-step guidance...

if that is possible then yeah. my phone is rooted,busybox installed and the Gapps on my sdcard. i just need to know what to extract from where to where

Why not try extracting some of them and figure out the directory tree by yourself? It's very simple.

i have never used busybox before so can you tell me at least how to use it to unzip the tar.lz files


text:
Plasma Mobile in MultiROM Manager on Nexus 5
I tried to install Plasma Mobile on Nexus 5. It is very important to me to start testing it in MultiROM Manager first (with some other mobile operating systems).
I followed this tutorial.
In section:

Finally install the Plasma Phone

on:

It will take while to download. After download is over, it will reboot to recovery, in recovery it will make real installation process, so drink a coffee meanwhile.. ;-)

I got error:

cheching file device-687a931c47e1...d6b63d42054.tar.xz..FAILED

I checked "dev" (version 8), but I got same error on: "dev-proposed" (version 1).
I have:

OS version (official Nexus 5 latest update - 6 IX 2016):

Andorid 6.01

Kernel:

3.4.0-g4ad03fa-dirtytasadar@tyene #1Tue Feb 9 21:30:30 CET 2016

Compilation number:

M0B31E

In MultiROM (patched - like in tutorial) I have installed:

MultiROM v33

Recovery 2016-02-10 (0)"

Kernel: Stock 6.0 and 6.1

How can I solve this error message?

Edited to correct your MultiROM tutorial link. Better off directing these to MultiROM or Plasma XDA-Developers threads (if any). Also, thanks for interesting mention of Plasma Mobile - gotta go look it up.

@AndyYan: "gotta go look it up" Did you checked it? Any tips? I will create a topic at xda-developers and reference this question to it.

I actually mean figuring out what Plasma is... sorry for leaving you anticipating :(


text:
What kind of charger do I need to get for my Galaxy Tab?
I have a older Galaxy Tab 1 I'm assuming because all it says on the back is Galaxy Tab Samsung. And I need to know what kind of charger I need to ask for when I go and purchase one or order offline so if anyone knows the exact name or what ever I'd appreciate the feedback thanks.

If memory serves, it's a 28-pin. Looks like an old apple charger port, but is a bit smaller?

The original Galaxy Tab (GT-P1000) is a 7-inch device with one very distinguishing feature - the capacitive keys below the screen.

If this is indeed the one you have, you will need to find a charger or a USB cable with this flat connector on one end:

Given its age, it's quite cheap - sells for < $5 in my region. Usually just vaguely searching would give you reasonable results. You can just grab a cable and pair it with any modern USB charging adapter too.


text:
I factory reset my SM-A300FU with TWRP and lost access to Play Store
I factory reset my SM-A300FU with TWRP and I can't access Play Store as it says: "Checking info..." then it says:

Since you already went ahead and did a factory reset, ever considered just flashing factory firmware via Odin? This will reset the phone to its "working as intended" state, and unless other factors are at play, you should be out of problems.

Looks like you have a bad WIFI connection there. Try another network.

At first, we can see you do not have a good internet connection, so that might be the problem. Try getting closer to your access point, connect to another one, or use mobile data.
If this does not fix your problem, you could try flashing the original firmware of the SM-A300FU with the latest version of Odin
Disclaimer: Neither me nor the Odin developers are responsible for any damage you could cause to your device using this method.


text:
Change adb permissions to rw?
I have LineageOS on my phone. I'm looking to edit some files in /system.
I'm using root permission for adb devices from Developers Options. When I request to move file into /system, I get the message no permissions.
I tried to change permission with chmod but its not working. Since I don't have root permission for apps I can't change it from file manager either.

This was discussed thousands of times

adb root then adb remount should be sufficient. However, you can also get addonsu for LineageOS of your version and device architecture, which enables root permissions for apps in Developer Options.
I understand some users might explicitly avoid opening up root for apps, so pick between the two according to your needs.


text:
Difference between Lineage OS and Cyanogenmod : how does it affect current users?
Cyanogen said it plans to cease developing its open-source version of Android and will shutter its services by the end of the month. The company's blog mentions,

As part of the ongoing consolidation of Cyanogen, all services and Cyanogen-supported nightly builds will be discontinued no later than [December 31].

Do users get new update as OTA while using CyanogenMod, or do they have to completely erase and flash a new ROM? (That requires flashing new firmware, ROM, recovery etc.)
What will happen, if users are continue using CyanogenMod after December 31, 2016?
What about bugs, security, stability?

Here are some answer, but as I'm not Cyanogen representative, they only engage me.

Users will not receive OTA updates as soon as they stop maintaining their software stack. You keep on using your last Cyanogen ROM and hence receiving no more security updates, or you can change the ROM you install. For changing, you could use an entirely new one and try to wait some guys start a fork of the project (this will, for sure, occur: perhaps you'll be one of them). With a fork it is possible they will choose to support upgrade from the last Cyanogen.
Nothing, you just will not receive updates and you will risk more and more because of missing security updates.
As you will not be able to update, your phone will keep the same software stack as it is. Bugs, security and stability will stay as it is in your last Cyanogen. For bugs & stability, you don't care but for security it is a pain (as security will go down as time goes on).

@RahulGopi Experimental builds are no longer available for download officially (it was intentionally short-lived), hence I committed a rollback.