CM12.1 - My lock screen is not working at all! I recently updated to the CM 12.1-20151024-NIGHTLY-d851 build (I have an LG G3, D851) and also flashed gapps with the a recent "nano" version. Since then, I have noticed that the lock screen does not work at ALL. Whether I choose PIN or swipe or whatever, it will not lock the phone. (The option for "none" disappeared too, but it became available again after removing an active guest session on the phone.)

I've tried rebooting the phone after choosing different lock screen settings and enabling the PIN again. I also tried updating to 12.1-20151101-NIGHTLY-d851 (thinking maybe it was a nightly bug that got fixed). I also reverted to the earlier working version of gapps, but that did not help. And let's not mention the other "solutions" I stumbled across via Google which did not help either. The phone simply will not lock at all. This is driving me crazy.

The only thing I can think of is that it MIGHT be related to an error I saw while flashing my phone during the upgrade: unable to mount /radio (or something like that).

What can I try next?

EDIT -- UPDATE: The other day my lock screen started working again, without me having to change anything. I suspect that the problem was due to some type of app that has an ability to block the lock screen (for example, I think Google Maps can disable the lock screen temporarily so you're not fiddling with unlocking your phone while driving, as that would be rather dangerous). I'm guessing some app (hopefully not malware!) was blocking the lock screen and got updated in the background, and it started working again. I have no clue how to verify this. At least I did not have to downgrade or flash back to an earlier builld. I am presently running the 12.1-20151104-NIGHTLY-d851 build.

EDIT #2 -- UPDATE #2: I just noticed in my quick settings (i.e. the pull-down from the top of the screen) that there is now an icon to turn lock screen on/off. I guess this is a new addition that I failed to notice, and 99% sure this is what caused the "problem" -- which was really a feature. I must have accidentally tapped it off and then back on before even noticing it was there.

Answering my own question here, so I can mark it as the solution. (I also posted this in the original question as EDIT #2).

I just noticed in my quick settings (i.e. the pull-down from the top of the screen) that there is now an icon to turn lock screen on/off. I guess this is a new addition that I failed to notice, and 99% sure this is what caused the "problem" -- which was really a feature. I must have accidentally tapped it off and then back on before even noticing it was there.


Deleting photos on Google+ doesn't delete them on local storage on my phone I'm still getting used to the Auto Backup functionality in the Photos app. I turned this feature on and all my photo's are correctly synced to Google+.

When I delete a photo on my phone (Nexus 5) it also gets deleted on Google+. However, when I delete photos on the Google+ website, they don't get deleted on my phone.

Is this just how this thing works, or is there something wrong in my setup? I tried turning off Google+ photo sync in the settings, but that didn't change anything. When I delete it on the Google+ web page, it says the photos will also be deleted on all synchronized devices, so isn't that how it's supposed to work then?

It would make it a whole lot easier to delete photos that I don't need on a big screen like my laptop, and to have them automatically deleted on my phone to free up storage space.

Yes this is how things work. Google+ does not sync photos, it backs them up online. It is a one way action from your device to Google+.


Android App initial release date When you are viewing an app in Google Play store, it displays the following : Updated, Size, Installs, Current Version, Requires Android, and Rating.

I am trying to do some research and figure out the initial release / publish dates of different apps. Is there a way to get this information from Google Play, or perhaps a website with this information?

Check in www.appbrain.com for Android apps. It shows all possible information about app. Moreover, it shows release dates with respective released version numbers and number of downloads.


How to use android phone as a login key to your PC Is there a way to setup a Linux box to enable authentication by inserting correct android phone with correct software in it to allow user to login?

So when there is a login prompt shown user should be able to just connect her/his android and voila; user has logged in.

This probably would work similarly to an RSA Security Token.


Auto Complete coming up with strange suggestions The auto complete on my LGL41C android is coming up with strange suggestions, this started in the last couple of weeks.

Type "Wash" and the number one suggestion was 'Washingtonu' the phone has a languge setting of English (Settings > Language & Inputs > Language)

What is going on and how do I fix it?

The keyboard also has a language setting, that can be different from the phone.

Go to (Settings > Language & imputs > Language > LG Keyboard > Input Language and type)  Select your preferred language (English) and keyboard type (QWERTY)


Call Recorder not using microphone to record the other side Any Call Recorders that are digital - not using my microphone to listen to what is said in the other end?

What about recording calls over Bluetooth?

(It seems most most of these applications record what goes into my microphone, and listen to the other side through my microphone, often turning up the speaker to do that)

This is something that has to be enabled in the kernel. Some custom kernels do implement this, depending on your device.


Does Wunderlist store data in the server in encrypted form? How secure and private is Wunderlist? For example does it only transfer data in encrypted form but stores it unencrypted? I would like to be able to store passwords relating to work on my phone but am not sure this is safe enough.

Wunderlist is safe for all kind of data storage.

Data is encrypted in transit by 256-bit SSL encryption.
Passwords are encrypted through the same protocol in transit and at rest.
Data put into Wunderlist is stored specifically on 6 Wunderkinder servers, operated by Amazon Web Services in Ireland.
As such, 6 Wunderkinder abides by EU and German data/privacy protection requirements, traditionally stricter than US requirements.
Those maintaining the servers operated by Amazon Web Services are trained and screened to the utmost standard. Their site on compliance: http://aws.amazon.com/compliance/
Lastly, 6Wunderkinder’s practices passed through a 3rd party audit, performed by Stratum Security in 2013.
If you have any more questions, especially regarding industry-specific compliance, please reach out to use via business@wunderlist.com


Restore IMEI for Samsung Galaxy SL (GT-I9003) when there is no backup Well I was on phone and suddenly I lost IMEI and my SIM card is not detected.
So I tried flashing (to some firmware and I flashed back to original I9003XWKPG) and nothing.

I don't have any backups. I have Samsung Galaxy SL (GT-I9003).

How can I restore my IMEI?

(Click image to enlarge)

Were you messing around with poweruser settings because most of us don't suddenly "lose IMEI"  but in that case if you are rooted get an app called root explorer and go to the following directory /system/efs and see if your imei is in there. otherwise you will have to buy a new phone.


Clash of clans game data tranfer from one device to another android device Is it possible for me to transfer game data files from my nokia-x phone to another android device?cause Nokia-x doesn't support google play services,and i want save my village progress.how can i get the game data files?

You should be able to use file explorer to find the data inside phone storage or your micro sd card (depending on where you have the app stored) under Android and data or obb.  If the game data is compatible with the version installed on your new phone, then it should be able to be copied and pasted in place of the game data from the new app.  I do not play this game but have successfully done this with other apps.  It is similar to a backup, but more specific.


how do I browse to files on my external sdcard when the phone is connected using MTP? I have connected my phone to my computer (Win7) using MTP. I can browse to the H:\ drive and see things like music,amazonmp3, alogcat and so on. But when I use my phone's file manager to try and find those folders, I'm unable to. I'm trying to go to things like:

/storage/emulated/0 - doesn't have the same files
/storage/sdcard0 - empty
/storage/sdcard1 - empty

Among others. No luck though. What I'm really after is being able to store a KeePass db on my phone and access it from my PC from time to time. To do that I need to be able to find it on the (external) SD card. How can I do that?

That's probably cause your phone automaticly mounts sdcards in MTP, when your phone is in MTP mode you apparently can't use your file manager.


It is possible recover a deleted contact? By mistake, I deleted a contact in my phone. The contact was not synchronised with Gmail so I can't recover it.

Is there some method, software or technique to recover?
What's the maximum time to recover deleted data?

I was reading there is sofware that can recover it. An other option to do that  is with my phone "rooted". What could be better option?

I has recover some contacts and the call historical  with a software "Android Data Recovery", i am amazed for this, it has some other functions.

Now, the joke, or in other words the irony i has not  recover the contact that i need, it is from a girl.
Greetings ;)


what is the standard editor in Android? I'm connecting to this Google phone via adb, I need to change a character inside of a text file, and I would use vi, or maybe sed -i, or even pico if nothing else helps, but I don't find any well known CLI editor.

how do you Android Enthusiasts do this?  I mean, short of copying the file back and forth?

root@generic_x86:/ # vi
/system/bin/sh: vi: not found
127|root@generic_x86:/ # pico
/system/bin/sh: pico: not found
127|root@generic_x86:/ # nano
/system/bin/sh: nano: not found
127|root@generic_x86:/ # vim
/system/bin/sh: vim: not found
127|root@generic_x86:/ # sed
/system/bin/sh: sed: not found
127|root@generic_x86:/ # emacs
/system/bin/sh: emacs: not found
127|root@generic_x86:/ # apropos editor
/system/bin/sh: apropos: not found
127|root@generic_x86:/ #

As mentioned, I would be happy with sed.
Still as later mentioned in a comment, I am in a virtual environment, so no trouble dropping one OS and start using the newer one.

Apparently, my problem was staying in Android 5.1.  Starting version 6 Android includes ToyBox, a rather limited alternative to BusyBox, legally compatible with the non-free license of Android.

The ToyBox hint comes from the author of droidvim.


Gmail is consuming so much data in background As you can see in the attached picture, Gmail has been consuming so much data, is this logical?

(click image for larger variant)

3.3 Go in background is kind of a lot

You can reduce the number of days of messages to sync via Gmail app settings

avoid building up a large number of messages in Gmail inbox archive them instead.
Or you can use k-9 mail wich is really good!


Backup Apps Without Backing Up Rom After doing something wrong while installing CyanogenMod 13, I flashed a google marshmallow stock rom. I wanted to go back to CyanogenMod 12, so I backed up my data using CWM recovery, factory reset, and installed CM12. After making sure it was working, I flashed Gapps and restored from my recovery. My apps were back, but I was also back with the google stock rom. Is there any way to only back up the app data?

As mentioned in the comments by Firelord and me, there are multiple approaches:

you could use Titanium Backup
you could use ES File Manager, which includes an app manager capable of backing up apps and their data
you could use ADB backup
You could use Adebar to make the previous step easier

TiBu and ES File Manager require root to work. ADB and Adebar don't.

Adebar a.o. creates a script to backup each of your (user) apps into a separate archive using adb backup (and another one for the data of system apps, and two others for restore). While you could do a similar thing with TiBu (which uses its own backup format), Adebar runs from the command line while with TiBu you must use a GUI. Side effect from using Adebar: you'll have your device documented: tech specs, apps installed, etc :)

Adebar is pretty easy to install, but will require adb to be available on your computer (see our adb tag-wiki for details on that). It runs fine on Linux, and recently was reported to run on Windows as well via Cygwin.

Disclaimer: I'm the dev of Adebar.


Formatted /system without backup ROM or SD Card slot I just mistakenly formated /system on my Samsung Galaxy Nexus using the Rom Manager by Clockwork Mod. There was no Image on the system at this point, also there is no SD Card slot on my Galaxy Nexus.

The Recovery Mode still works and it seems I still could try to install a new ROM. Is there any way to get a new ROM onto my Galaxy Nexus without using SD Cards?

Possible solutions, from the least to the most effort:

Directly adb sideload a working ROM from the PC - provided that your current recovery supports it. Probably not, as CWM is very outdated;
adb push a working ROM from the PC into your phone storage, then flash it using the recovery;
Flash TWRP recovery, then adb sideload a working ROM from the PC;
Flash a factory image via fastboot and start over, as @acejavelin already suggested.

All methods require a PC with working adb and/or fastboot drivers.


How to fix Phones language resetting to SIM language after reboot? I recently got a new phone, a Landvo XM100 Plus.

It sometimes reboots randomly which doesn't bother me much, but what's annoying is that it keeps setting the system language to german. I did not have these issues on my old phone (Samsung Galaxy S3), and I don't have the problem when there is no SIM Card inserted. However, I'm using the same SIM that I used in my old phone, so I'm really confused as to what is going on.

I tried googling the issue and I ended up at a few different boards with everyone basically scratching their heads.

Any ideas?

Could it be the custom ROM the manufacturer uses? I don't quite want to flash my phone with a different OS right now since I still got warranty.

Best regards!

I disabled secure start up.
I guess secure start up uses the default keyboard (instead of SwiftKey that I normally uses) and that the language of the default keyboard depends on the sim card.

(Click to enlarge)

I am using a cubot power (cheap Chinese crap) with a Thai and a Danish sim card. Before the fix, the language changed to Danish every time I rebooted


How to chat from my S3 to my PC? I want to chat in realtime with my family who uses my Windows 7 desktop with their own profile account. Problem is they don't want to sign-up for anything on their end.  Now is there a such an app I can install on the desktop and my S3 that will pop-up messages on all the accounts on the desktop and not just my own Windows 7 account since I'll be the one signing up for whatever the chat app is...Viber needs a number so I will just end up messaging myself...I want to just be able to message using an installed app on the PC and not something that requires a browser window to be open.  Anyone know of anything like that?

os: 4.1

Well I don't think there is such an app.
You either send message to yourself (Viber, Skype etc.) and your parents answers to you (but basically to themself at the same time) or they sign up to something (perhaps you could sign them up, without having them do it).
I have an idea, but that's kinda "original" (aka stupid): use something like TeamViewer to take control of the pc with your S3 and just use a blocknote to write.
Easy, fast and no one has to signup to nothing xD


Accessing the home screen without the capacitive home button? I dropped my OnePlus One, and now the bottom half of the touchscreen doesn't work. I connected a mouse to disable the lock screen, and I can now work with most apps (apart from Strava and the Camera) by rotating the screen 180 degrees (turning my phone upside down). (By the way, the phone is running a recent build of LineageOS.)

My main issue now is that I can't switch between applications. When I receive a notification, it appears at the top of the screen, and I can pull down, and touching the message opens the app. But I can't open other applications, as I can't access the home screen. The only option I know of is to reboot.

The OnePlus One has 3 capacitive (touch) buttons below its screen, and these also don't work. The middle one of these would normally bring me to the home screen. Is there another way to access the home screen other than using these 3 touch buttons?

The 3 capacitive buttons are known as the "nav bar", and are normally off-screen on this phone. To use an on-screen version of the nav bar instead, go to Settings:

Settings -> System -> Buttons -> Enable on-screen nav bar


How to disable Enter SIM card PIN window under Android 9? hello see the picture.

I took my smartphone with me and the battery was empty. When I recharged the device I got this typical SIM card message. Enter the PIN.

but unfortunately I didn't know the PIN anymore and couldn't use the device. how can I deactivate it under Android 9? without removing the SIM card from the sim card slot?

Under iOS system I can restart the device. just hold down the POWER button and activate the flight mode. then the "Enter SIM PIN" screen is gone.

Here's a little guide to what happened with me and it's not conveniently solved in Android system:

insert one or 2 SIM cards into my Android device. Because not always my PIN notice, I have on the Android device in password manager app. The PIN is stored.
go to friends or shop. sometimes it can happen that i am not always at home. and my android device has no more battery and device goes out.
when I turn on the Android device
the "Enter SIM PIN" screen appears
now you don't want to enter SIM PIN or forgot it.
unfortunately i can't access my password manager app because the "Enter SIM PIN" screen blocks the android home screen. You get stuck.

in this case I have to go home or ask people if they have a needle so I can remove the SIM card from the device.

I tested with Android 9 and compared it with iOS 10.

Can somebody test if Android 10 fixes it?

I still have a slight reminder that it can deactivate this "Enter SIM PIN" screen in Android 2 via flight mode, just as it can in iOS.

It depends of your device but usually you can find that settings under:
Settings->Security&Location(or privacy, it depends)->Advanced (this is some times)->Sim card lock->Then sisable Lock Sim card option


Flashing N9005 (N9005XXUBMI5) Firstly the reason why I've opened this thread is because previously over a year ago I wrongly flashed a s2 and I became a little scared of flashing phones. I got a samsung note 3 whose current os is Android 4.3 and since it was already rooted when I bought it (Unlocked French Phone) I can't get OTA updates. so I wanna flash it so that I can get OTA updates.

the existing baseband version is: N9005XXUBMI5
What I have downloaded is N9005ZHUENJ1 to upgrade from older version
I'm scared, would this work if I use this N9005ZHUENJ1 to update it over odin?
do I have to repartition?
and finally how do I have to do it for double checking

No problem to use odin and flash stock firmware, newest you can vind on www.sammobile.com

On XDA I found you a thread to make sure you can succesfully use odin.
http://forum.xda-developers.com/showthread.php?t=2704363

Hope this helps,

Regards,

Axel


Video stopped recording after ~31 minutes I attempted to record a long video with my Nexus 5, only to discover that the video stopped capturing partway through.  I searched for a possible explanation, but nothing I found seems to match this particular case:

It doesn't appear to be a file size limitation, because the recording stopped at 3891MB (4,081,007,519 bytes), a ways off from 4GB.1
It doesn't appear to be a storage capacity limitation, as I had ~10 GB of free storage before the recording began
It doesn't appear to be a time-based limitation, as the recording stopped at 31:50, not a "rounded" number like 30:00 or 60:00
It doesn't appear to be a battery limitation, as I had ~47% battery after the recording had finished
I am not inclined to suspect a heat limitation, as I don't remember the phone feeling particularly warm when I picked it up -- although that wasn't until a couple minutes later

1 Additionally, the Nexus 5 stores to internal memory rather than an SD card, and I understand that the filesystem is ext4, which supports files well over 4GB

For what other reason would video stop recording?  And how could I prevent this issue from occurring in the future?

This question and this question suggest installing a separate camera app; that will be the next thing I try. However, both of those questions solve a slightly different problem and do not offer an explanation as to why my video stopped recording.

For more information:  I am running OS version 4.4.3 and I am using the default camera app.  When I returned to the phone, the screen was still on, the app was still running, and I was able to record more video.  The video saved properly and does not appear to be corrupt. I am fairly certain that the screen was not touched during the recording process.  I was recording in 1080p from the back-facing camera.

This issue of video stopping at the size ~3.80GB seems to be file size restriction embedded in the camera app, irrespective of the filesystem your SD card has, or the space left in it. (Note that some camera apps also has a default limitation of 1-hour video duration, however, it is not related to the relevant issue here.)

My default camera app in OnePlus One device  gives me a toast "File size limit reached" when this file limit is reached by the camera recording 4k video for duration 8:20. Depending upon the resolution of your video the duration will vary.

It is also to be noted that the industry wide standard of 1GB is 1000MB compared to 1024MB of computer science, and so, (4000x1000x1000) / (1024x1024) = ~3815MB or ~3.8GB → where the video seems to stop finally.


How to check which app uses GPS on Galaxy Nexus? I'm constantly seeing the Searching for GPS... icon in my status bar, and would like to check which app is trying to access my location. I checked the similar questions on the site and all suggested either Spare Parts or the test menu.

However, on my Galaxy Nexus these are out of the question, since Spare Parts crashes with ANR when I try to access the battery stats (there's no com.android.settings.battery_history.BatteryHistory activity), and the test menu doesn't have the necessary menus.

So, any other possibilities?

One way, Go to: Settings > Applications > Running Services to see if there are any suspicious services running.  Or check your battery usage in settings and see which apps suspiciously are up top.  GPS usage does suck battery.


Unidentified app using excessive battery I have a battery drain issue with a stock Nexus-7 (2013), Android 6.0.1, up to date with monthly patches. The battery is losing 15-20% overnight. Turning WiFi off overnight doesn't reduce it, or not much. The top consumer is just called "10017".

Some background - A recent version of Sygic Navigation was showing high battery usage even when I didn't use the app. I couldn't keep it from running. After exiting it, or after force-stopping it, I would shortly find it running again. I deleted the app but kept its user folder. Maybe related?

I keep Google Account Manager and Google Play Store disabled when I'm not actively using them. This is not new; I've done it since shortly after the tablet was new.

I installed the August patches a few days ago; the tablet was rebooted by that process. The battery issue predates that update.

How can I find out what it (10017) is?

Try going to Settings > Storage & USB > Explore to see if you can find/delete anything left by Sygic Navigation.

You can also try rebooting the tablet into safe mode by pressing and holding the power button until the dialog box with Power off appears. Then, press and hold the on-screen "Power off" button until it prompts you about rebooting into Safe mode. See if your battery is okay in safe mode (test it for about a day). Note that in safe mode, you can only use the core apps that the tablet came with and no third party apps. To exit safe mode, just turn off and turn back on the tablet.

Hope this helps.


How to run e2fsck on Android, can't get "adb shell" with unmounted partitions? I can access the Huawei P9 on Win10 with adb, and shell into it, but that is with the phone booted into OS. I want to run a filesystem scan (e2fsck), but need un-mounted partitions for that.
I read a thread where someone was running e2fsck from recovery on his phone using adb shell.
If I boot the phone into recovery using adb, I get Reboot / Factory reset / Wipe Cache on menu, but phone is inaccessible on PC (adb or fastboot). Booting phone into bootloader via adb or directly on phone, also inaccessible via adb or fastboot. Shell seems only to be accessible when Android is booted.
Any ideas?

Usually you don't need to run filesystem checks manually. Android runs this on every boot before mounting the filesystem (ref). So is the case with external storage (see this answer). However exceptions may exist:

"Some system images do not have e2fsck for licensing reasons (e.g. recent SDK system images). Detect these and skip the check."

So you can check if /system/bin/e2fsck (or /system/bin/fsck.f2fs, whatever applicable) exits on your device. Or check logcat after some repeated reboots to confirm if filesystem check was run (usually in vold or fs_mgr log).

If I boot the phone into recovery using adb, I get Reboot / Factory reset / Wipe Cache on menu, but phone is inaccessible on PC (through adb or fastboot).

You are booting into stock recovery provided by your OEM. But in order to run commands (including fsck) on adb shell or terminal emulator you need a custom recovery (like TWRP). Note that flashing custom recovery requires unlocking bootloader which is not supported on many devices (including all of the recent Huawei devices).
fastboot protocol is only available in bootloader mode (on supported devices), so not relevant here.
If you are sure that filesystem check is not being run on your device but it's required (due to filesystem errors), you can do a factory reset which recreates the /data filesystem.


T-Mobile Samsung Galaxy S7 edge Wifi calling with different dialer app I have a Samsung Galaxy S7 Edge with 7.0 Nougat. I have the google dialer ported and installed to my phone. Since my phone is T-Mobile, I have wifi calling. If i use this 3rd party dialer app, will I still be able to use Wifi-Calling?

Through experimentation, I found out that any dialer app can use wifi-calling because wifi calling is built into the baseband chip's code.


Cant click on heads up notifications on Lollipop Nexus 5 I installed android lollipop from the factory images on googles website. I dont know if its supposed to be like this but i think not.

I cant click on the options in the notifications be it to answer a call or reply to an SMS.

I have to first swipe it right or left then go to the call or sms to continue.

Any idea ?

Having the same issue around here. I found that waiting for the notification to go by itself is better than Swiping right since you can still access the notification on the drawer and go directly where you need to.


iOS' Quick Reply feature on WhatsApp for Android Recently I got my first Android phone, LG G3 and updated to the Android Lollipop, the latest OS ver. The transition from iOS isn't smooth as I thought and this because I'm trying to find how to enable simplest features that came with iOS as default.

One of them is the option of receiving message in WhatsApp. In iOS, if the screen is locked and I get a message, I can see a preview of the message and by swiping, I can get to write back to the sender (whereas user or group). In Android, I just see i.e "50 messages from 3 conversations".

"Slide to reply" on lock screen

I saw that I have the option in WhatsApp to "Always show pop up". Well, this brings any message from group (which I disabled) or users (which is enabled) with popup window and waiting that I'll type my response, I just want to see the little preview and if I want to respond I'll click on the specific message.

Is there any way (alternatively, 3rd-party apps) to have that feature? I have tried an app called NiLS & Notification Toggle, but it doesn't feel like this is it.

Android N will have native quick reply feature (called Direct Reply), and while WhatsApp will probably use it, it won't work for pre-N (although it has implemented its own quick reply from notification for all Android version).

However, there are some apps that can emulate the direct reply feature on Android N:

quickReply (free, 5.0+)

  quickReply will show you separate notifications for every contact including reply action buttons, so you can easily write quick replies without opening the messaging app.

  QUICKREPLY SUPPORTED APPS:
  WhatsApp, Telegram, Threema, Skype, Line, WeChat, Kik, EvolveSms, YAATA, Textra, ChompSms, Hangouts, Handcent SMS...

Floatify - Quick Replies (free, 4.3+)

  Advanced heads-Up notifications for your phone! QuickReply lets you send messages directly from the notification! ...

  MAIN FEATURES:
  Heads-up Quick Replies (5.0+, limited on 4.3+, see below for supported apps)

  QUICKREPLY REPORTED WORKING:
  WhatsApp, Telegram, Threema, Skype, Line, WeChat, Kik, EvolveSms, YAATA, Textra, ChompSms, Hangouts, Handcent SMS...

Both apps are developed by Jawomo, so it's not really surprising they have similar feature and supported apps...


Can installing Android on a Netbook reduce its power consumption? I am running Linux Mint on my old netbook and it really consumes a lot of power.
If I install Android, will it actually consume less power? I actually want to use the same device for at least 2-3 hours whereas on Linux Mint, it only works for 1.2 hours. Is Android suited for such a use?

While there is an Android port for x86-based devices -- that is, regular PCs -- I'm not sure if it is ready for normal use yet. Even if it is, you won't get that large an improvement of battery life: Android may be optimized for using little power but desktop Linux has the most important power management features, e.g. CPU scaling, as well.

But 1.2 hours of battery life is really bad for a netbook. Since it's an old one the battery might be worn out. In this case you'll have to replace it but a compatible new one top get decent battery life again.

Before you go and spend money on a new battery you might want to make sure that management does actually work on you computer. You should find help on how to do this in your distribution's or a general Linux support forum, or possibly on superuser.


Android phone "charging slowly": How to make it faster When I put my Android device to charge, the lock screen says "Charging slowly":

Is it a particular software setting that tells Android to charge slowly?

How to make Android charge fast?

This is not a software setting: Android is just telling you that the power source you connected the device to is not giving enough electrical power to charge as fast as it could.

It seems that:

"Charging slowly" means below 1A (at 5V),
"Charging" means between 1A and 1.5A,
"Charging rapidly" means more than 1.5A.

The solution is to make more electrical power come to your device:

If your computer has Type C port, use this one. This port will most likely also have Power Delivery, which will give you a "rapid" charge.
Plug to the wall rather than to a laptop.
Try different USB cables.
Some adapter/device combinations are better than others (example for Nexus 6P/5X), so use an adapter made specifically for your device if available.
Some laptops have different USB ports with different power performances. On my laptop I have 2 USB ports, if I plug in the port on the right Android says "Charging slowly" but if I plug in the port on the left (with the + battery symbol) Android says "Charging", which is better:

Edit: Please see @beeshyams' answer explaining why charging slowly is actually a good thing when your battery is already quite full.


Disable all non-Wi-Fi Internet connections I want my phone (running Android 2.3.5) to only connect to the Internet via Wi-Fi.

How can I disable all non-Wi-Fi connections, such as 3G or similar?

This functionality is built into android so there's no need for an external tool/application.

In settings:

Wireless and networks -> Mobile Networks -> Data Enabled

Disable this and you're all set.


Can I set incoming calls to silent/vibrate, but still get an audible notification for texts? Can I set incoming calls to silent/vibrate, but still get an audible notification for texts?

I'd like to be able to set my phone to silent for incoming calls, but still be able to hear incoming texts and other alerts. Is this possible?

Currently (still :( )running Android 4.0

Settings-> Sounds -> Phone ringtone -> None

Settings->Sounds-> Default Notification  Sound -> Any ringtone

Check vibrate on ring

or you can go to the messaging app and set the ringtone from the menu


How to remove the bottom promo banners in Firefox for Android? When you use Firefox for Android, you periodically see banners promoting the app features such as sync, themes, etc.

Is there a way one can disable this and get rid of the distraction from surfing?

Try typing about:config in the address bar.

After you open it, search for the browser.snippets.enabled parameter, tap on it, then tap on the Toggle button.

This disables the banners from appearing in the bottom.

Source: Annoying Firefox for Android Banners - SOLVED.


Number of available cores To find the number of cores available to you in Termux you run:

grep Cpus_allowed /proc/self/status

This number of cores is limited in a similar way to running taskset on GNU/Linux.

I am trying to be able to predict what that will return.

According to the app CPU-Z my phone (Huawei Smart P) has 1 HiSilicon Kirin 659 with 8 cores. According to the app CPU Info 4 cores are running the same speed (480-1709Mhz) and 4 cores are running the same speed (1402-2362Mhz).

After booting the phone and waiting 5 minutes to make sure all startup tasks have been started/completed I started Termux, login through ssh and got:

Cpus_allowed_list:       0-7

Which is exactly what I expect.

But if I press the home key, I get:

Cpus_allowed_list:      2-3

I thought this might have to do with how hard the cores are loaded, so I switched to Termux again, started 16 bzip2s. This does not change the number of cores I get immediately. But after 30s I get 4 cores:

Cpus_allowed_list:     0-3

And yet later I get bumped back to 2 cores:

Cpus_allowed_list:      2-3

This behaviour happens through ssh whether Termux is in the foreground or background.

The effect of the home key is only when running Termux: If I run CPU Info, then press home and then start Termux, then Termux still has 8 cores:

Cpus_allowed_list:       0-7

Only when I switch away from Termux using the home key, the app-list key, or the back key does the number of CPUs change.

Software controlled big.LITTLE could explain going from 8 to 4 cores if the limit was not enforced immediately after boot, but only activated later. Since the limit is not activated 5 minutes after boot, I think it is safe to reject this as the explanation. Also it does not explain limiting to 2 cores some of the time when running 16 bzip2s.

What is causing the phone to limit me from using 8 cores? How can I tell the phone not to do so? What is causing the limit to jump between 2 and 4 cores at seemingly random intervals?

(On top of this I had expected the cores to run at 100% speed which also does not happen).

The limitation does not happen if not run through ssh or if run in a tmux session where the tmux session is started.

Summary: the more cores you use the more battery you consume so CPU hotplugging turns off the other cores, and the others do the work which makes them at 100% CPU usage, which also give the best performance and the most balanced one.

It's CPU hotplug It turns on and off the cores when needed or not.

It's running 100% CPU usage because it's like this. Imagine, there's a 4 car, and let's assume the drivers are the cores. You have four lanes and 4 cars of course. Each one of them will take 100 pizzas. You can let one  core to do all the work and that's what hot plugging do. Knowing that a car with 50 pizzas consumes a lot less fuel than a car with 100 pizzas you can now see how we can have the same performance and save on fuel: load two cars with 50 pizzas and let them accelerate as quickly as possible to the destination (performance governor). They will get there as quickly as one car with 100 pizzas (same performance), but burn less fuel (battery saving).

If you want to make your phone run at 8 cores then you need to install a custom kernel, use an other CPU governor, use a custom CPU hotplugging, or without installing a custom kernel use an interactive governor, then tweak its parameters.
You can search on XDA for Advance Interactive governor tweaks.


How to upgrade my Android from Linux? Using Asus Zenfone 5, which I want to upgrade to Android Lollipop.

The instructions say that I have to copy the OTA files to my SD card from my PC, but unfortunately I use Linux (ubuntu and mint). I cannot connect to my sd card via the usb cable. Is there any way to copy the files to the SD card from my Linux platform? Otherwise, can I use dropbox to get the file to the SD card somehow?

The answers given were great but I felt something needed to be added: If you boot into Android, you should be able to download the OTA file directly from your web browser.


How do i prevent screen dimming for specific apps? My phone has 4.0.4 (ICS). Now i use several apps for reading like browser, wikipedia, adobe reader, etc. Only adobe has a screen dimmer setting.

Is there an app or setting that allows me to stop screen from turning off while i have any of these apps open for reading?

That's one of the many things Tasker does for me, with a quite simple profile:

Condition: App (select your browser, reader, etc., multiple apps can be selected simultaneously)
Task: Display-Timeout (all sliders to max = never)

Optionally, you also can adjust screen brightness. Then, as soon as one of the selected apps is running in the foreground, that action triggers – the screen won't turn off anymore. When you bring another app in front which was not selected with your condition, Tasker reverts to the previous state automatically.

Of course, there are also several apps available just doing that and nothing else; but having one app (tasker) that can doing this and so much more, I forgot about them long ago...


Browsers Zoom In and Out while Scrolling Every time I open a page in either Chrome, Opera or Firefox and try to scroll with the tip of my finger, the browser seems to suddenly zoom in and out while scrolling, interpreting the scroll down as a pinch AND scroll gesture. This is f****** annoying.

This problem does not occur at all on Android's built-in browser, so I must advise this is not a problem with my touch screen.

I experience this issue on my LG Optimus L3, with Android 4.1.2 Jelly Bean.

EDIT 1: The problem is probably inherent to the cell phone model, as only I and a friend, who owns an identical phone, have this same problem.

EDIT 2: The problem seems to be solved for the last Google Chrome update, but Opera unfortunately still behaves in this way. This means that it isn't a user interaction problem, but a bug.

Check how you are holding the tablet perhaps you have another finger on part the screen.


Substitute Win7 USB drivers for ADB mode Under Mac OSX there is no need for a USB driver for ADB mode.  Under windows, apparently, there is.

I'd like to be able to adb shell to my android tablet from my Win7 PC.

This table gives a list of where to get USB drivers for Windows for different OEMs.  My Android Advent Amico tablet's manufacturer isn't listed in the list.  Is there a list of what can substitute for what somewhere?  How, in general, can one determine which one(s) would be best to try?

EDIT:
The tablet came with a utility called 'Advent Transfer Companion' for use in mass storage mode.  I've uploaded and installed that from the tablet, but it appears to be no more than a pretty way to write files to the tablet from PC - i.e. mass storage mode only, and no USB driver installed.

This says you should be able to use the "google drivers" after some minor tweaking. If your device came with any software for your PC, it will have the "official" drivers though, and I recommend using them.

  You must have Android SDK installed before you can proceed. If
  you don’t have it already, proceed to
  our guide on what is ADB and how to
  install it. Make sure you download the
  Google USB Driver Package as well.
  Open the google-usb_driver folder that you will find inside your Android
  SDK folder.
  Open the android_winusb.inf file in notepad or any text editor to edit
  it.
  Add these lines under [Google.NTx86] or [Google.NTamd64]
  depending on whether you are using 32
  bit or 64 bit Windows. If unsure, it
  is safe to add these under both these
  sections.

    ;NVIDIA Tegra
    %SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
    %CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01

  Don’t edit or replace any other
  text that is already there; just add
  these new lines and save the file.

  Open a command prompt window and enter this command:

    echo 0x955 >> "%USERPROFILE%.android\adb_usb.ini"

You will also have to enable USB Debugging in Settings -> Applications -> Development.

edit I would try this first:

This site has the "official" drivers for the tablet. You will still have to enable USB debugging, as I mentioned above.


Utilizing an old Android as a security camera and saving footage to HDD I would like to create a small security camera network utilizing devices I already have, namely Android phones. All phones can have a constant sources of charge, as well as be attached to my wifi network, which has a custom NAS attached. I understand there are already apps that will stream to a Google Drive, however my lack of bandwidth makes this quite unappealing. Are there any apps that will allow me to do this that I haven't found, or are there any recommendations for creating an application that will allow me to do this.

You could try using IP Webcam, installing the computer driver on a computer on a LAN, and then using PC webcam software that points at your NAS.  Not sure on how to write directly though.  If your NAS allows you to host an FTP server from it, however, you could write directly.
On the topic of FTP, you could use Filezilla Server on a Windows computer, and point it at your NAS, if you didn't want as much overhead, although if you are usiing the lite version you will get a watermark in this mode.


Edits hosts file ignored by chrome I'm trying to cut down on procrastination in a fun way (read hacking) by rooting my phone (moto g2) and editing the /system/etc/hosts file like this

127.0.0.1     localhost
::1           ip6-localhost
127.0.0.1     youtube.com
(trailing newline)

I tried the following fixes:

Turning off Data Saver
Clear all data in Settings->Storage->Apps
Clear cache from chrome://net-internals/#dns and clear
Reboot

Still I'm perfectly able to access www.youtube.com, no problemo. Any thoughts?

If you want to redirect www.youtube.com to 127.0.0.1 you have to add it exactly that way to your hosts files.

However you only redirected the main domain youtube.com to 127.0.0.1. not the subdomain www.youtube.com. Note that this does not affect subdomains. If you want to cut of Youtube completely you have to add every subdomain to your hosts file.


Is there a weather app that can be moved to an SD card, with a separate widget program? In know some apps offer separate widget apps so you can move the main app to the SD card.  Is there any weather apps designed like this?  I haven't been able to find one, so does anyone know if one exists?

Separate widget app may be available in case when wigdet covers only a small subset of the main application functionality. However, for the weather app and weather app widget the main difference is the screen representation, the processing routines are almost the same. I'm sorry to say, but it's very unlikely to find the weather application with the separate widget.

Moreover, with the Froyo/Eclair moving into the obsolescence quite steady and newer version of Android having "unlimited" app storage in the range of 8-16GB, it's very unlikely the new developers will ever be inclined to make that kind of widget app.


sd card is empty when using su I have strange issue.

I've just installed Supersu.

With regular user (not su ) the sdcard shows all contents as usual,

But on doing  su , I see (with "ls") that /sdcard is empty (though it is not) !, on going back to regular user, I see files again....

Any idea what's wrong ?

Thanks,

It is likely due to mount namespace separation being unchecked in SuperSU app settings

For an explanation of what it does and how it could possibly affect storage not being read see Mathew's answer here, also the link referred to therein

Aside, sometimes TiBu also asks you to do the same if SD is not recognised


Low space even though most apps are linked to SD card I have link2SD and 90% of the apps are on the SD card. Yet I still only have a few MB left of space. I tried refreshing my e-mail and got a message "can't download more e-mails, delete some first". I connect using IMAP. What can I do? Obviously I don't want to delete a whole bunch of e-mails but is there a way to have only the 50 most recent e-mails sync to the phone?

Are there other places space could be taken up? When I started running low I went to the app manager but the system mail app wasn't included there so it confused me as to what was taking up all the space (I'm still just guessing it's e-mail).

This sounds a lot like an issue with cache. While the apps themselves can be stored on the SD card, cache that they produce might not. As I don't know what apps you actually have, I can only advise you to at least try and delete cache from various apps, such as twitter, facebook etc.

To delete cache, do as follows (this is for android 4.3): Settings -> More -> Application manager

Here you should be able to click in on every installed app, and delete their cache. Beware, tho, for something like calender and alarm clock apps, any set up serviced from them might reset! This should not, however, delete the app itself.


Installing Apps on External Sdcard jellybean 4.2.2 I am using jelly bean 4.2.2 on ti OMAP5 platform , I want to install application on external sdcard  but even if a lot of space is free (more than 25MB ) . I am getting error "Insufficient Storage".

These are my few questions , please reply

Is that possible to install application on external sdcard  in jelly bean?
How can I move an application installed on internal memory to external sdcard?

You can't install directly to the SD card. In many cases you can move much of the app and its data to the SD card, but the OS and the app have to support it. Even then, you need to install normally and then move it.


Phone to computer without computer install I want to display my phone screen on my computer so that it can be projected on a screen.

I am not allowed to install any software on the computer or alter any setting of the browser. I have tried various tools such as Airdroid, but they require software installation or Chrome additions (again, something which I can't use).

I don't really want to go down the road of dedicated cables for a particular phone because I will have to change my phone at some time.

I just thought: although I can't install any software, self-executing .jar files do seem to work on our current network.

Edit: I don't want to ROOT my phone if possible: it is too expensive to take the risk.

I'm not sure if how this works but have you tried this?  http://www.guidingtech.com/36734/mirror-android-display-pc-tv/


ROM Manager - What Is It's Purpose? I just finished rooting my phone (Moto Droid) for the first time using the z4root application. It worked great (one-click, no computer involved). However, before I start messing with my phone, I wanted to make a backup of my phone so, in case I really screw up royally, I can easily recover back to a certain point (AKA - I don't want to brick my phone).

As I was reading, I started hearing about Nandroid backups. However, it seems as though you need to install some sort of ROM in order for it to happen. I checked into that and heard about ROM Manager. Apparently some of the mods that come with the ROM Manager are able to setup the Nandroid backup. I have a couple questions first, however.

I noticed ROM Manager needs a lot of access to your contacts, accounts, etc. Is that because it's doing a full backup, or something else nefarious? (Yeah, I'm suspicious.)
Is there an easier way to back-up? I don't really care about a new ROM (such as CynogenMod). I just wanted root access for a couple, very specific reasons.
If Nandroid is the only good/correct way to backup a phone, am I going down the right path/process? Anything I should look into before I keep going (such as Titanium Backup)?

Thanks for any help you can provide.

1) ROM Manager is the de facto app to do two specific things: 1) Install a custom recovery 2) Install a custom ROM (or kernels.  Check out ChevyNo1s kernels for the Droid).  You need to not worry about any permission problems with this application as pretty much every rooted person uses it.  It is also an application provided by Koush, who is a well known hacker in the Android community (he ported CyanogenMod to the Droid).

2) You do not have to have a custom rom to do a NANDROID backup.  But you do need a custom recovery.  Download ROM Manager.  Flash "ClockworkMod Recovery".  Then open up ROM Manager again. Then under "Backup and Restore" do "Backup Current ROM".  This will run a NANDROID backup of your phone.  Do this ASAP.  It is very important to have a backup of your  phone right after you just rooted it in case you ever need to restore your phone back to this state.  A NANDROID backup is like taking a full image/snapshot of your phone.  With a NANDROID backup in hand, you can then experiment with custom ROMs (or anything, really) with a safety net of being able to go back to the way your phone was.  You can also perform a NANDROID backup by going into your Recovery when you boot your phone (press and hold X on the Droid when powering on until you get the yellow triangle exclamation point, then press the Camera and Volume Up buttons to get the menu to show up).

3) NANDROID is the best to restore your phone to a previous state.  I highly recommend Titanium Backup if you plan on switching to a custom ROM or ever plan on wiping and reloading your phone (or if you need to re-install an app but need to keep its data).  Titanium Backup will let you backup specific apps (AND their data, only root users can do this!) and restore them.  So you could backup all of your apps on Stock Android, install CyanogenMod, and then use Titanium Backup to restore all of your apps and their data.

Please see these other questions about How do I root my phone, and I've rooted my phone, now what?


how to open a .hbk files which contains the sms backup from htc one s I can't open the backup of sms because after sending it on my mail I discovered it's a hbk file. How can you open this type of file?

I need to print them! thanks

In case you no longer have a copy of the SMS on your phone, but have backed-up the SMS to your PC or email, you need a combination of t0mm13b's comment and bmdixon's answer.

As  mentioned, it's not possible to open .hbk files on the PC. What you can do is:

Restore the .hbk to your phone as SMS

In your SD card, make sure you have a folder called sms_backup. If this doesn't exist, create it. This will be in the same level as the Android folder.
Copy the .hbk file to the sms_backup folder
Restore the SMS from the SMS settings

Export the SMS as .xml using SMS Backup & Restore
Email the .xml file to your PC
After downloading the .xml file, open it from a program like Notepad or Microsoft word, and print.

Take note that XML has a weird structure, so expect to see a lot of tags (in greater than and less than signs).


How do I get my Nexus 7 to show up in the adb devices list? So I have a Nexus 7 that I'm trying to connect to my Windows computer for debugging over adb. Adb works fine with my phone, but when I plug in the tablet and run adb devices in Windows I get an empty list back:

C:\android\sdk\platform-tools> .\adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached

C:\android\sdk\platform-tools>

The tablet is running stock Android 4.2.2 build JDQ39. USB debugging is enabled, I did click on the build number 7 times to get the developer options enabled, and I've tried connecting both as a Media device (MTP) and as a Camera (PTP). The tablet is not rooted and I have not unlocked the bootloader.

The computer is running Windows 7 Enterprise SP1 x64. I have the latest adb version, 1.0.31. The SDK manager tells me I have SDK Tools rev 22.0.1 and SDK Platform-tools rev 17. I've tried using the Google generic usb driver version 7.0.0.1 and 6.0 as well as the Asus usb_driver_r06 from http://support.asus.com/Download.aspx?SLanguage=en&m=Nexus+7&p=28&s=2. Each driver I try does show the tablet as connected in device manager as either "Android Composite ADB Interface" or "Android ADB Interface"

If I plug the tablet in to my Macbook Pro and run adb devices, I get the the RSA fingerprint dialog as I would have expected to see in Windows:

Also if I start the tablet in fastboot by holding down the power and volume down buttons. I can see it with the fastboot utility:

C:\android\sdk\platform-tools> .\fastboot devices
015d262e32540802        fastboot

I am completely out of ideas here. Any and all off the wall suggestions would be welcome.

What fixed it for me was clicking on the "Connected as a media device" up at the top left corner, de-selecting Media Device (MTP) and then checking Camera (PTP).   This essentially made it show up as a different kind of USB device with different options and allowed the process to work perfectly.


Use AVD Manager without Starting Android Studio I would like to use the Android Emulator to work on some APKs. In order to start the Android Emulator, based on the instructions here: https://developer.android.com/studio/run/managing-avds.html

So, I need to start the AVD Manager from Android Studio, then create a device and start the emulator.

Now, the issue is, when I open Android Studio, it asks me to create a new Project or open an existing one before continuing. This takes a long time. Isn't there a way to just start the AVD Manager without opening the Android Studio GUI?

Probably, there is a way to start AVD Manager from command line?

Thanks.

You can navigate to the directory where you have installed SDK and launch "AVD Manager.exe"


How to upgrade / swap SD card without losing data and installed apps? I have 2GB Micro SD card in my Android and want to upgrade to 4GB.

How can I achieve it without losing anything from my 2GB card? I mostly use this card to store images/music and most of the apps.

First, turn off your phone's radio by entering Airplane Mode - usually this'll be by long-pressing the power button and selecting Airplane Mode.

Next on your homescreen, press MENU and click SETTINGS (or navigate in your preferred way). In SETTINGS, choose SD CARD & PHONE STORAGE. Press UNMOUNT to dismount your SD Card.

Now remove your SD card from the phone and insert it into your card reader on your PC.

Copy ALL the files to a folder of choice.

Insert your new 4 GB card into your cell phone and choose to FORMAT it from within the device. This is the safest course of action. Remove the new SD Card and use your PC to move/overwrite all data from the copy of the old card to the new one.

Re-insert your new card into the phone and reboot so that the scanning of the card takes place.


Is it possible to repack an .apk to install it in an incompatible Android version? ('there is a problem parsing the package'/have 4.0.4-requires 4.1) It's about an .apk (Inbox by Gmail) that requires Android 4.1 and up.
Trying to install it in my phone which has Android 4.0.4
it shows that "there is a problem parsing the package".
I have enabled installing .apk from sources that aren't from the Play Store on my phone.

As I've read this is caused because the .apk requires a different device API level than that of the phone.

Is there a way to convert/repack the .apk so that it can be installed to my phone?

Short answer: No.

Simple repacking cannot solve the compatibility problem. If an app requires "at least Android XX", that usually means it needs some conditions not met before it. There are new OS features introduced with each Android version, libraries get additional APIs/features, etc. – nothing of that can be solved by "repacking" the installation package. If the (required) functionality cannot be provided by the Android version your device is running, the app cannot work (correctly) – even if you were able to install it.


How to use Tasker to answer a private number, play an audio file to the caller and hang up? I would like Tasker to answer any private number (without the audio playing through my phone's speaker) and play an audio file (an MP3 that says, "this phone does not accept calls from private numbers") and then disconnect the call.

Can someone help me set up a Tasker profile for this?

Very few, if any, devices supports playing sound directly to the phone (voice) call audio stream.

Try playing a sound in Tasker using the Play Ringtone action to the Voice call audio stream, to see if your device support it.


Why doesn't my Whatsapp group show in my contacts? I am new to Whatsapp Messenger.

I have contacts in my address book.

I have been added as a member into a GROUP, why doesn't the group appear in my contacts please the same as my contacts do?
Many thanks

Whatsapp does not have an option to display the group in the contacts list.

Whatsapp has the feature to show in which group does the contact is under his profile(and common with you and the contact)


LG Nexus 4 compatibility Airtel India Possible Duplicate:
  Can I use my device on a different carrier?

I plan to purchase the LG Nexus 4 from the US on the release date (13th November). The phone claims to be unlocked. But will it be compatible with Airtel in India for both data and call services?

Yes, it will be compatible. Google has already mentioned that it will be compatible with over 200 networks worldwide. That includes Airtel India as well.

I have bunch of friends who are using Galaxy Nexus in India. Voice calls and 3G/2G works smoothly. The same should be true about Nexus 4 as it is also an unlocked device like the Galaxy Nexus.


Redmi Note 7 factory reset via PC I was just trying to flash Lineage OS on my new Redmi Note 7, since MIUI kinda sucks, and it didn't really seem to work. So after a few tries and restarts, my phone started requesting the password for an email address I entered into my lock screen when I first got the phone, in case I'd ever lose it and someone would find the person could message me. But as it turns out, the m in my email address' .com is missing and the phone keeps asking for the email's password to start Android instead of the usual PIN code.

I figured I should just try wiping it completely, but after a lot of wasted time and energy, I still haven't found a method to factory reset it. Please help, I know this is a very specific issue, but maybe there is someone here who could just help me out.

If you're on Stock Recovery,
Reboot into recovery and choose Wipe Data(Factory Reset).

If you're on TWRP Recovery,
Reboot into recovery and select Wipe -> Swipe to Factory Reset.

EDIT: The FRP lock usually gets nuked when flashed under EDL mode, refer to your device forums about booting your phone to EDL mode, usually this will require jumping contacts in the motherboard while connecting phone to the PC, be careful with that.


Questions about rooting a tablet device for making kiosks My company's looking at the option of using Android tablet for making kiosks. The thing is, the majority of the native settings must be blocked from the user, and very limited apps and utility will be exposed to the customer. From the looks of it, a custom ROM would be the perfect solution, but that requires some arbitrary device be rooted. But then rooting voids warrantee, and this is meant to be a commercial product, so some kind of warrantee is needed. Is there an alternative method? Or what's the legality of commercial rooting?

For a solution like a kiosk you would use dev hardware where you have full access to the hardware (JTAG for example) and then you would push your own Android build with root access enabled and then push the ROM to the dev board.

That said, for a kiosk type deployment you would NOT want root access available. Therefore when you push your ROM root would not be enabled.

I think your confusing root access and an unlocked bootloader.

By a dev board and learn how to build your own ROMs. :)


How to write SMS by dragging fingers I was shown that with the messaging app (texting), I can drag my finger along the letters so it writes! How do I do that? I've been looking at my phone forever & I really wanna know.

You would need to use an app like SwiftKey Keyboard or SlideIt.

Edit #1: Take a look @Izzy's comment. It is also possible.


USB Debugging for the Samsung Galaxy Y? I have connected Samsung Galaxy Y phone with Android Development Tool (ADT Eclipse) It doesn't recognize my device. I'm using window XP (64 bit) operating system.

I have also made the USB Debugging mode enabled, by Going to Settings->Applications->Development. But no reaction, I have referred this link too no use.

I have also checked the Security -> Unknown Sources.

Simply, I want to use my mobile like emulator by connecting with IDE. But Its not working. If don't know its possible or not.

are you sure your phone is recognized by Windows?
You can verify this by looking in the Windows Device Manager if there is no error message or a yellow question mark on your device (you can find it by searching device manager in the search field of start menu)
If the driver is not installed you can found it on http://www.samsung.com/


Samsung Galaxy S not displaying contacts, only unknown is shown My Galaxy S Duos only shows unknown on the display when I have saved phone book contacts calling me? How and what do I do to get numbers to be displayed?

After some investigation I found a fix that works for me.  Use this at your own risk.

First, the summary:  The file /data/misc/rild_ril.clip is a single byte,
either ASCII '1' or ASCII '0'.  Somehow this value is being flipped from '1' to '0' during low storage space conditions and causes the problem.  The solution is to either edit the file, or just delete it and let it be rebuilt.

The steps to fix this problem on your device without losing any data are as follows:

Requirements:
ADB or a terminal/console application.

Steps:

Get to a shell prompt.  If you're using ADB, it's adb shell.  If you're using a terminal/console app, just launch it.
Type rm /data/misc/rild_ril.clip.
Reboot the phone.

That's it. Please let me know if it works or doesn't work for you.


apps close automatically while using and back button stops to work meanwhile I have a problem with Samsung Galaxy Grand Prime Plus that apps are automatically close while using and back button stops to work meanwhile

Try finding out, how many apps currently running when this problem occurs, as this problem can occur when an application is taking too much processing or your temporary memory is full. Try clearing apps from background by hitting the left most button below the screen.


Change Chinese Samsung Note 5 Duo to English I bought a brand new Samsung Note 5 Duo from Taiwan. Of course it is all in Chinese, but I was hoping to be able to change the language to English. The problem is that I wasn't able yet to get to the home screen with the icons to choose Settings. The startup screen seems to take me to wireless setup (I don't have any SIM cards installed yet but have an active wireless connection, which it immediately recognizes, but I want to work offline for now and disconnected). How can I get to the setup icon if all instructions and lists are in Chinese?

And I am wondering now whether a Chinese version will really be able to make everything in English, including the build-in applications. I may have to return it afterall. But it is such a beautiful phone. Does anybody know the impact of just changing the language to English? Will I really be able to use it properly?

A Chinese speaking person helped me and the answer was real simple:
The first screen that appears when you turn on your phone (Welcome Page) has a Chinese word highlighted and a forward arrow. Scroll the word highlighted down to the desired language :-) and click arrow. Everything turned into English immediately and you can continue configuring from there.


Does Cyanogenmod Kernel support loop devices? Since I am failing to mount a Nandroid image and since I have read that the kernel needs to support loop devices for that I need to know if anybody has managed to mount a loop device on CM7 or similar. Any information on mounting loop devices in Cyanogenmod or other Mods are highly appreciated.

Cross-posted to the Cyanogenmod forum

According to zivmo on the linked thread, Cyanogenmod 7.1 stable and later ship with loop support built into the kernel, so loop devices just work without having to compile or insert a kernel module.


Busybox installation on emulator[Error:/system/xbin/busybox: not executable: magic 7F45] I was trying to install busybox on my emulator with the help of section 5.2 in Android Emulator.

My AVD config

Device: Nexus S

Target: Google API(x86 System Image)-API Level 19

CPU/ABI: Intel Atom (x86)

The busybox binary I used is "busybox-x86_64" as my emulator CPU in  is x86.
When I run busybox it throws this error:"/system/bin/sh: /system/xbin/busybox: not executable: magic 7F45"
I tried chmod 777 also but no luck.

Anyone have any suggestions..? Thanks in advance....

You can't run x86_64 binaries on an x86 system, regardless of whether it's real or emulated. You need to install an x86 binary of busybox.


Motorola DroidX eCryptfs related Sources? I see over in this question that the Motorola DroidX uses eCryptfs to do its data encryption.

I'm trying to find the source code of the mount.ecryptfs that version of Android uses (as I am one of the authors and maintainers of the eCryptfs upstream project).

I found this site, but I'm unable to find any of the (GPLv2) ecryptfs related sources.  Any pointers?

I would suggest looking at the Motorola source for the droidx. I think this is just the kernel source, but I haven't looked through it. If this isn't what you are looking for, then I would try and get in touch with someone that is part of MOTODEV.


Stop vibration fedback How can I stop my HTC m8 from vibration at the start and end of call? I turned off all vibration notifications but still I can't stop my phone from vibrating at the start and end of calls.

Open the Settings application on your device and Navigate to Sound and uncheck the option labelled Vibrate with a description of Vibration feedback for calls.


3g direct between two android devices Is it posible to connect two or more android devices using 3g bypassing the provider infrastructure. Or in other words is it posible for a android mobile phone to recieve the sending signal directly from a other phone and take action on that. Can I add a private Sim card to realise this connection between a set of phones using a duals SIM phone.
Phone B is recieving the send signals from Phone A using a second SIM card adjusted for the good frequencies. By exchaning the role of master and slave we can transmit and recieve signals in the G3 band. To be legal we need a subscrition for A and |B
Is it posible in Android to realize this senario. Swiching between two connections in the same phone?

Phone  1

slave  SIM A_______send
master SIM B____   |
                |  |
                |  |
                |  |
Phone 2         |  |
slave SIM  A____|  |
Master SIM B_______|recieve

No, you can't do this, on Android or any other kind of mobile phone. It's just not how the 3G network works. Each operator's 3G network runs on a frequency band allocated to them by the government. The cell transmitter runs on its own hardware that your phone doesn't have, with a high-power radio transceiver that needs more power than your phone has.


AnkiDroid - failed to Left Align Text I'm trying to left align text in card but with no luck.

Tried changing text-align to left in Anki desktop, the card in desktop working fine, but it doesn't affect the card in mobile - it's still center aligned.

Also tried add html tag as follows, but still not working. (AnkiDroid version 2.3.2)

use p align / still centered (click images for larger variants)

To use any HTML markup but simple bold/italics in cards, you need to turn off the option Advanced -> Simple interface.


Does the average cellphone battery protect against overcharging or deep discharging? It's known that Lithium Ion batteries are damaged by overcharging or deep discharging. While I've seen an Xposed module which prevents the phone from charging the battery above 90%, I'm wondering if it helps at all, since if the battery circuitry takes care of it itself (meaning, showing 100% when really it's charged to 90%), then there's no point in charging to 80% of the real capacity. But obviously, if the battery isn't that smart, then it's worth it to prevent the phone from overcharging.

It's just not the battery but battery and the processing logic that takes care of extremities in charging

Higher side : This is well explained here XDA thread
Lower side: This is an built in Android feature from Lollipop onwards (Izzy referred to this in comments) . This is to prevent the battery getting into Sleep mode

The reason for recommendations despite these protection features is the theory that a) higher voltages at high battery levels are damaging and b) increase longevity of battery life by charging well before it reaches critical low levels. For more details, see this Ideal charging / discharging percentage for maximum battery life?

This theory has it's opposition but AFAIK jury is still out

Related, for other methods of limiting charging How to limit charging to 60%


what apps are running? A few months back I started developing an app that read incoming sms messages and saved them in a db.

A few days ago I went to revisit the app and had a quick look in the db where I discovered the app was still recording my texts!?!

I can't find any mention of my app running on the android apps option under settings or in advanced task killer.

How can I find out if it's running or not? It's bizarre!

I had a similar incidence, in my case i left a service open. Please check if any service related, is open ?

To check you can use,
This link from stackoverflow


Is there a way to send an emergency text and/or email by holding down either of the volume buttons? A friend of mine recently developed a medical condition that causes sudden shortness of breath, and in one instance, caused her to pass out. In that instance, she said she lost her vision first, so she couldn't make a phone call to anyone.

I found some apps that send emergency messages by pressing a button in the lock screen, but it may be hard to do so without being able to see (though certainly better than trying to punch in a phone number). I was wondering if there was a way to send messages by holding down a physical button for, say, 5 seconds. (Of course, the contacts/message would be preconfigured/preset.) I'm not sure if it's even possible for an app to "hijack" a button's functionality in such a way.

tl;dr: I wasn't aware of any such apps and so I've actually written an application that can do this for a university project; the user holds the volume down button for x seconds (default is 3) and a preconfigured emergency message is sent to their chosen contact(s). There are a few problems with getting this functionality however (see below). I haven't made the app available anywhere but could put a version up on the Play Store over the next few days. Will edit this when I do.

The problem I found is that it doesn't work in all possible states the phone could be in, meaning your friend might be trying to use it but will forget to put it in a correct state if they're in a panic. Here's the results of the testing I did, a pass means the emergency SMS was sent:

  One test wasn’t applicable because if the screen is off pressing the
  volume button will turn it back on giving us the first test state.

  For the state where the screen was on but phone was locked, the evidence
  gathering could be activated but only by pressing the volume button
  repeatedly for the required amount of time.

  The reason the activation doesn’t work as intended is because Android
  only receives one button press when the volume button is held while the
  screen is locked and so only passes one press to the application. If the volume button is repeatedly pressed then
  the application is ‘tricked’ into thinking the button is being held
  constantly because the app checks if the button is being held once a
  second but the button only needs to have been held once in the last
  second for it to count.

A positive point about the volume button method is that it uses almost no battery, there isn't any monitoring or polling of the volume button's state.

If you were willing to consider other activation methods I also added the ability to tilt the phone and have it activate the emergency SMS, I found this worked in a lot more states:

I believe it would also be possible to get the Tasker application to do this tilting activation but I don't own it and haven't tried it.


What does "fastboot oem lock" do? I've had my phone for months, loading with several firmware, ROMs and OTAs, without ever running this command.  What does it do?

What I know is that "fastboot oem unlock" displays the confirmation screen and obliges me to wipe my device data, and that "fastboot oem unlock" is the first step to flashing firmware unto my phone.

Am I okay not relocking my phone?

Simply put, fastboot oem lock puts your bootloader into a mode that prevents you from overwriting your recovery image, without a subsequent  fastboot oem unlock.  This serves as a security precaution, primarily where the default recovery and firmware is installed.

Because:

The default recovery will only allow manufacturer/Google signed firmware to be installed and doesn't allow you to do much of anything else.
Unlocking the bootloader will erase all data.

....you can rest assured that, under this configuration, no one can take your phone and, say, bypass a screen lock by installing a custom firmware where the security considerations are different.

Note that as this merely locks in your recovery, and then again only from bootloader-overwrites, this is most useful where the recovery is stock, and the installed ROM is an official one that has no security vulnerabilities.  This is important because in most recoveries, and in some ROMs, there are ways to clandestinely access data via USB, bypass security settings with fixed button presses or unpatched backdoors, or install custom recoveries.


What Android OS version is on the Kindle Fire HD? Which version of Android is running on the recently announced Kindle Fire HD, Amazon seems to fail to mention that detail in the specifications they list for Kindle Fire HD

Amazon confirms Kindle Fire HD models use Android 4.0 under the hood.


How can I remove these apps from my device? I am trying to remove the Facebook and Messenger apps from my Asus Zenphone Laser 2.

Unfortunately, in both cases, I seem to be unable to find the option to fully delete them from the device. I have disabled them, but the app management screen now shows the following:

How can I fully delete/uninstall them?

You can't remove those apps from firmware without root but you can uninstall any system app for current user or any user using ADB.

Assuming ADB is installed and PATH is set if not you can do it with a simple internet search.

Steps:

Obtain package name for app you want to remove.
Open Terminal/Command Prompt
Make sure device is connected by running adb devices -l
Run adb shell pm uninstall --user 0 <package name>
Done

Package Name

Facebook: com.facebook.katana

Messenger: com.facebook.orca

Proof of Concept

After some discussion in the comments I'm adding an example here that worked for me. I have uninstall Google Keyboard from my device for current user using  command adb shell pm uninstall --user 0 com.google.android.inputmethod.latin

Before and after uninstalling (click images to enlarge)


Samsung Galaxy S3 with fastboot I have a Samsung Galaxy S3 (international and unlocked). I recently downloaded the kernel source code from Samsung's website and have successfully compiled and now have a zImage file. My problem is what to do with it?

I have seen people saying to use fastboot boot zImage to test that the kernel works before more permanently flashing it with fastboot boot zImage zImage but fast boot wont recognise my phone. When i type fastboot devices i get nothing. fastboot reboot (i think that was it) sits there for ever waiting for the device.

I have also tried adb just to prove a point. This sees the device with adb devices (while the phone is in normal mode) but still didnt help.

I currently have the Clockwork recovery mod installed. Could this be causing issues? and if so how do i remove it?

Everything i have seen says to boo the device into fast boot mode. Is this Download/Odin mode on the S3?

Thank you

Adrian

EDIT:
Forgot to mention i have tried this on Ubuntu 12, OSX 10.8 ans Windows 7 with drivers installed

I have ended up installing mobile Odin and just performing a recovery with the clockwork mod if the kernel kills the phone (which is all i have managed to do so far)
Thanks for your help


How to turn off the camera shutter sound on LG G2 mini? Where is located the camera shutter sound file on LG G2 mini (Android 4.4.2)? Or how else to turn that annoying sound off?

None of the solutions recommended in similar questions here does work. The phone looks like requiring its own solution.

The accepted answer for How do I disable the 'click' sound on the camera app? recommends deleting /system/media/audio/ui/camera_click.ogg. I deleted the file, rebooted the phone several times, however the camera did not stop making the shutter noise. N.B.: My phone is rooted.

I want either to delete the file or replace it with an no-sound file, however the location given in the related question does not seem to work on LG G2 mini.

The solution with setting ro.camera.sound.forced=0 in build.prop does not work either.

Explanation to avoid some off-topic answers:

LG G2 mini native camera application has 4 predefined shutter sounds, with no "None" option.

I don't consider switching the phone on silent as a solution.
I am not asking why LG does not have the option (whether it is somewhere legal or not), but how to turn the sound off.
My phone is rooted so I can change system files. I just haven't found which files should be changed and how.
The problem might be deeper. As the description of the Camera Sounds Off! application says:

  Don't work on some devices by ...

  *LG (The LG's camera app has own not removable sound files!)

Actually, I don't believe in anything really "not removable" :), but removing them probably will require some trick which I have not found.

You need to be rooted to do this!

Download and open any root browser. (I am Using Root Explorer for these instructions, ES File Manager works also)
Go to System
Go from Read Only to Read/Write
Find Biuld Prop
Open with text editor
Find ro.camera.sound.forced
Change the 1 to 0
Save Changes
Reboot

SOURCE: http://forum.xda-developers.com/showthread.php?t=2051384


What do the terms "BL", "AP", "CP", and "CSC" mean in Odin? I'm trying to Use Odin to download a OS to my phone (Trying to put Raspbian. Raspbian runs on the raspberry pi which has an ARM processor my android phone also has one so hopefully it'l work.)
(does something like an ISO file work? i dunno i'm gonna try and see)

when i use Odin i see these file types "BL" "AP" "CP" "CSC" what are they??

i have no idea but i really want to know and i want to know if my android phone has something like a BIOS where i can chose to boot from a USB flash drive(this might sound really silly.)

my phone has USB-OTG support but if it depends on some sort of drivers will they work in a bios (if android phones have one)please help!!

oh and ive already rooted my phone.

CSC (Consumer Software Customization): It is specific to geographical region and carriers. It contains the software packages specific to that region, carrier branding and APN setting.
PIT (Partition Information Table): You only need it if you screw up your partition table or if the firmware specifically requires it because of a change in the partition table layout.
BL (Bootloader): As its name implies, this option is used to flash the Bootloader of the device.
AP (Application Processor or PDA): Android.
CP (Core Processor): We call it Modem.


How can I mount or unmount the SD Card using ADB? The sdcard can be umounted by using the umount command.

unmount /mtn/sdcard/.android_secure

how can it be remounted again . I tried using the mount command

mount /mnt/sdcard/.android_secure

Connect your device and at the command prompt:

Type adb devices & press enter (Your device should now be listed)...

Type adb shell & press enter (Wait for the "#" to appear)....

Type mount sdcard next to the "#" sign & press enter...

You will need to know the mount point also if you intend to mount the external card.

As an example:

  su
  mount -o bind /mnt/emmc /sdcard/external_sd


If the Admin leaves a WhatsApp group, how is the next Admin chosen? I am in a WhatsApp group. Now, due to some quarrel in the group, the group Admin has left. Now, I have become the Admin of the group all of a sudden.

How is the next Admin chosen? Is it purely random or does the previous Admin choose someone before leaving?

It's purely random

From WhatsApp FAQ

  If you are the only group admin and you exit a group, a participant is chosen at random to become the new admin

(Emphasis Supplied)


Find lost acer android tablet without a tracker installed Possible Duplicate:
  How can I find a lost phone or help people return it?
  My phone was just stolen an hour or so ago. Are there any options for tracking?

How do you find your lost Acer Android Tablet a500 Iconia Tab without a tracker installed?

If you have a Google Account configured at your tablet try Plan B. You can install it throug Google Play store.


Cyanogenmod: Google Play Services keeps crashing after update a few weeks ago I updated the Google Play services of my Oneplus One (Android version 5.1.1, Cyanogen OS version 12.1.1). From an apk that I downloaded online. Since then it keeps crashing. Sometimes every few minutes but sometimes also multiple times per minute. I can still use the internet but my instant messaging apps seem to receive messages with a delay. Probably because the push service of GPS is not working properly.

The crashes especially occur when connecting to a wifi, using other apps that connect to internet and sometimes also when writing text messages (SMS)

I didn't set up a Google account and disabled almost all my Google apps except for Google One Time Init, Google Play services, Google App and Google Services Framework. (because disabling them caused some problems).

The Permissions for Google Play services switched off, especially the Location permission was denied very often (~ 62000 times). Wake up, Keep awake and Auto start are allowed.

My phone is not rooted.

Google Play Services versions:

previous version: 7.5.71 (1955121-438)

current version:  8.4.89 (2428711-270)

I also tried version8.4.89 (2428711-438) from xda-developers but could not it install due to Parsing error.

This is the error message that shows up in the crash report.

java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:304)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/data/app/com.google.android.gms-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libgmscore.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:988)
at com.google.android.gms.org.conscrypt.NativeCrypto.<clinit>(SourceFile:53)
at com.google.android.gms.org.conscrypt.OpenSSLContextImpl$TLSv12.<init>(SourceFile:152)
at com.google.android.gms.org.conscrypt.OpenSSLContextImpl.getPreferred(SourceFile:55)
at com.google.android.gms.common.net.SSLCertificateSocketFactory.a(SourceFile:272)
at com.google.android.gms.common.net.SSLCertificateSocketFactory.a(SourceFile:292)
at com.google.android.gms.common.net.SSLCertificateSocketFactory.createSocket(SourceFile:552)
at com.android.okhttp.Connection.upgradeToTls(Connection.java:175)
at com.android.okhttp.Connection.connect(Connection.java:155)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:276)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:211)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:382)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:106)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:217)
at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:25)
at com.google.android.gms.checkin.k.a(SourceFile:366)
at com.google.android.gms.checkin.k.a(SourceFile:238)
at com.google.android.gms.checkin.g.a(SourceFile:711)
at com.google.android.gms.checkin.g.doInBackground(SourceFile:678)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
... 4 more

Does anyone have an idea how to solve this problem? Before the update my phone worked fine. Did I install the wrong version of Google Play services? Or do I need to setup a Google account?

One of the good places to downloaded your APKs are from APK Mirror (run by Android Police).

It is important to download your APKs from trusted sources for safety. In your instance, the apk is probably faulty, and as a result, giving you the errors.


Is Cyanogenmod available for a Trio Stealth G2 10.1"? I recently purchased a cheaper tablet and would like to put Cyanogenmod on it. I've done some Googling over the past couple of days, but have been unable to find any information for my specific tablet.

Is there a ROM for a similar device that I can try flashing? Or, better yet, has anyone been able to get Cyanogenmod working on a Trio Stealth G2 10.1"?

Thanks!

According to the list of officially supported and unofficially ported devices, no.

Also, read more at this sticky post by CyanogenMod moderators.


Why do some Android devices (Samsung) show battery charge in steps of 10% whereas others (HTC) show more accurate percentage? Why is it that Samsung devices (and perhaps others) show the battery charge remaining in multiples of 10% whereas other devices are able to show a more accurate percentage like 96% etc?

Is this a limitation of the hardware or software and can this behaviour be changed to show an accurate (non-multiple of 10) display of the battery remaining?

I don't believe this is a hardware limitation, but just the way the phone's manufacturer chose to implement the battery reporting code.  My Droid 2 also only showed by 10% increments.  However, on my current setup I'm using the Circle Battery Widget available on the Market and it displays the percentage in 1% increments.


Desire HD Official Sense 3 update: Slate skin I just updated my DHD to the official Sense 3 update.

Anyway, In Sense 2.1, I was using the sleek Slate skin. After updating, I went to "Personalize -> Skins" and chose "Get More"; Slate skin was not there. Also choosing different skins will produce "similar" looking skins (maybe with a little difference).

So, anyone knows how to get the old Slate skin back?

Can you once try Slate.apk from this xda thread.

He has created/ported many skins.


Number of cpu cores change in my systrace output I have 4 cores cpu on my device,
but each time I use this command line to genetrate a systrace file :
python C:/Users/BJI/AppData/Local/Android/Sdk/platform-tools/systrace/systrace.py freq idle -o C:/Users/BJI/Desktop/systrace

I get a different number of cores (2 or sometimes 1 core cpu),
is it only the number of active cores ?

you can check how many cpu<?> under  /sys/devices/system/cpu/
for example, If CPU has two cores, there should be
/sys/devices/system/cpu/cpu0

/sys/devices/system/cpu/cpu1


Is there a RAW (canon) image viewer or gallery hack for android? I have a samsung galaxy and it has a brilliant screen. I would love to use it to review photos taken on a DSLR while out and about but I haven't managed to find any way to view RAW images in android. My camera is a canon so I guess it would need to have specific support for cacnon's raw format.

Are there any photographers here that can recommend some apps?

Searching the Market, I found RawDroid Demo. It says it'll open raw files from DSLRs including Canon. I haven't tried it and it doesn't seem to have many downloads, so I'm not sure if it will work.


How to get tomorrow's date and next week's number for use in Tasker Based on this answer I am looking for a way how to get tommorow's date and next week number to use in Tasker app, Run Shell Command.

I have tried:

date -d '+1 day' +"%Y%m%d" and similar, but still I am getting Error: 1.

In shell emulator I get bad date '+1 day'

Cannot find any android shell commands reference or man.

Some guides recommend using %TIMES variable, but not sure how.

I've figured it out, I had to learn to use Tasker a bit, the solution is a little awkward but it probably should be done this way in Tasker.

The most important variable for such datetime manipulations in Tasker is a global variable %TIMES which contains current time in seconds - so it is a big long integer number.

Adding e.g. 30 days to it means you need to Set variable (with Math on) like this:

%TIMES + (30 * 86400)

Tommorow is:

%TIMES + (1 * 86400)

The main problem is, that you have to convert the value to a formatted datetime string. As I understood it there is no built in command for that in Tasker.

You need to create JavaScriptlet task step for that and paste there the code from this page:

<TaskerData sr="" dvi="1" tv="4.1b1m">
    <Task sr="task54">
        <cdate>1340586441681</cdate>
        <edate>1369445351826</edate>
        <id>54</id>
        <nme>getFormattedDate</nme>
        <pri>10</pri>
        <rty>2</rty>
        <Action sr="act0" ve="3">
            129
            <Str sr="arg0" ve="3">var gsMonthNames = new Array(
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December'
);

var gsDayNames = new Array(
'Sunday',
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday',
'Saturday'
);

var d = new Date(par[0] * 1000);
var f = par[1];

var formatteddate = f.replace(/(yyyy|yy|mmmm|mmm|mm|dddd|ddd|dd|hh|nn|ss|a\/p)/gi,
    function($1)
    {
        switch ($1)
        {
        case 'yyyy': return d.getFullYear();
        case 'yy':   return ('0' + d.getFullYear()).slice(-2);
        case 'mmmm': return gsMonthNames[d.getMonth()];
        case 'mmm':  return gsMonthNames[d.getMonth()].slice(0,3);
        case 'mm':   return ('0' + (d.getMonth() + 1)).slice(-2);
        case 'dddd': return gsDayNames[d.getDay()];
        case 'ddd':  return gsDayNames[d.getDay()].slice(0,3);
        case 'dd':   return ('0' + d.getDate()).slice(-2);
        case 'hh':   return ('0' + ((h = d.getHours() % 12) ? h : 12)).slice(-2);
        case 'HH':   return ('0' + d.getHours()).slice(-2);
        case 'nn':   return ('0' + d.getMinutes()).slice(-2);
        case 'ss':   return ('0' + d.getSeconds()).slice(-2);
        case 'a/p':  return d.getHours() &lt; 12 ? 'a' : 'p';
        }
    }
);</Str>
            <Str sr="arg1" ve="3">45</Str>
            <Int sr="arg2" val="1"/>
            <Int sr="arg3" val="45"/>
        </Action>
        <Action sr="act1" ve="3">
            126
            <Str sr="arg0" ve="3">%formatteddate</Str>
            <Int sr="arg1" val="1"/>
        </Action>
    </Task>
</TaskerData>

before that Javascriptlet step you insert 2 steps where you set two input variables %par1 (contains datetime in seconds form previous step) and %par2 (contains yyyymmdd - date format).

The formatted date string is available then in %formatteddate variable.

As for getting the next week:

Run Shell date -d +"%Y" to  %year
Run Shell  date -d +"%V" to %week
Set variable %week to %week + 1 (Do Maths On)
Set variable %year to %year + 1 (Do Maths On) (If %week > 52)
Set variable %week to 1 (If %week > 52)
The yyyyww.htm of the next week can then be written as %year%week.htm


How do you maintain a constant load on the cpu? I am looking at my phone with a thermal camera to watch the external heat distribution as I attempt to hold it at a constant high load.

What I need to do is hold the CPU at a constant load over the span of about 30 mins, I have achieved this with relative success using the two "burner" apps available on google play. I paired this with SetCPU to max out the allowable core frequencies.

I have used HWMonitor PRO to view the temp sensor values and record them on my PC.

Does anyone know if there is an app available that applies a repeatably constant load or how one would begin to do so through programming? The main issue I am finding is that the burner apps will shut down after a certain time (or temperature) and don't feel very consistent.

Any help is greatly appreciated!

Install a terminal emulator and try the following:

dd if=/dev/urandom of=/dev/null

or

dd if=/dev/random of=/dev/null

It will write random values to the nirvana, should cause a constant load. But since you typically have a lot of different processes on your phone running, it is hard to assure some processes don't wake up and cause load interruptions. Therefore, switch the phone to flight mode, disable all other connections like wifi/bluetooth/nfc etc. and try to shut down as many services as you can. But still, e.g. the garbage collector could run at unexpected times. Android is just not a realtime OS, but for the measurement you are probably attempting it should be sufficient.

And in case your device has several cores: Open more tabs in the emulator and run more dd processes.


Use stock recovery to install superuser? I am trying to use the stock recovery to install superuser.zip but it give me an error:
E: signature verification failed

So I cannot root it by the superuser.zip

I Googled and someone said solution is to install CWM. However, when I try to install CWM, it require superuser privilege?!

Now I get into the loop CWM need superuser -> install superuser need CWM -> ...

Android has a chain of signature verification that (by default) protects your device from being hacked or having an unofficial image installed. Recovery images, updates, and OS images all have to be signed. The bootloader verifies that the recovery is signed by the manufacturer's key, and the recovery in turn verifies that the OS image (and any updates you try to install) are signed by the same key.

That's why you need CWM or TWRP to flash an update that roots the device. You don't need to root to install CWM or TWRP, but you do need to unlock the bootloader. This wipes all user data on the device. It's a security mechanism, to protect your data: if someone steals the device while it's locked, and wants to flash a different OS to bypass the lock and steal your data, they first have to unlock the bootloader.

So, there's no loop at all. Unlock your bootloader and flash a recovery using fastboot, then use that recovery to install the "update". The exact details of how vary from device to device, so find yours on our rooting index.