yashsingh1/xdaforums huggingface dataset:
[Tasker Tips & Tricks] alienyd:
I use the following to freeze a list of apps:

create a run shell command, with root:

cat "/storage/emulated/0/disable-apps.txt" | while read d; do tmp=$(echo $d | awk {'print $1'}); adb shell "su -c 'pm disable $tmp'"; done

the text file just includes apps in full name, such as net.dinglisch.android.taskern,1 name per line

for location, run this shell command with root:

settings put secure location_providers_allowed +gps,network
[Tasker Tips & Tricks] ioy:
[MENTION=3254004]alienyd[/MENTION] thanx a lot, it looks like the key engine are Linux shell commands for Android. And how do you know of them, is there any "man" for Android shell commands (like: settings put secure location_providers_allowed +gps,network) to look through oneself?

Yes, it is possible in this phone model: Xiaomi MiMax (Qualcomm Snapdragon chipset)

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1 r.06-24-2017 by*nijel8
[Tasker Tips & Tricks] alienyd:
hmm somehow my reply wasn't posted...

anyways, just search for useful tasker shell commands, I saw some threads in here about that. You can also list out all system variables and their values, which is imo priceless for automating tasks!
[Tasker Tips & Tricks] ioy:
Yes, but found many examples from most are just typical Linux system commands, like:

mount -o remount,rw /system
mount -o remount,ro /system
mv /original/path /new/path
cp /original/path /new/path

etc.

And where are purely Android commands list, like:

pm disable
settings put secure location_providers_allowed +gps,network

?

And they are Android commands, not Tasker's, right?

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1 r.07-08-2017 by*nijel8
[Tasker Tips & Tricks] Vagelis1608:
They are Linux commands, but since android is based on Linux it has them.

Tasker can run them without an issue using the Run Shell action (some commands require you to tick the use root box).
[Tasker Tips & Tricks] ioy:
Yes, but these commands could be run also from e.g. terminal emulator or scripts without Tasker installed at all, right? In this meaning questioned: if they are Tasker independent and belong to Android itself?

And please, do you know commands to set particular screen orientation: portrait or landscape?

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1 r.07-08-2017 by*nijel8
[Tasker Tips & Tricks] ktmom:
Yes, the "commands" you listed are within the OS of android, not integral to Tasker. The example mount command is basic to any Linux kernel. The settings "commands" are really a list of configuration settings that the OS refers to and are android (and device) specific. The are 3 groups of configuration settings: system, global and secure. You can see what your device has by opening a terminal and entering:

settings list system > /sdcard/system-values.txt

That command will list all of the entries in the system configuration and their current values. The output will be put into a file named system-values.txt on the root of your sdcard.

For example, whether the screen is permitted to rotate when the accelerometer senses device rotation is controlled by the value in:

system settings > value user_rotation

For an overview of these configuration settings, please see Best run shell commands in Tasker

Using the "secure" configuration values is the way to replace the defunct "secure settings" plugin using tasker's built in scripting ability.

As far as commands to set screen orientation, IMHO, it's just easier to use Rotation Locker. It integrates with tasker.
[Tasker Tips & Tricks] ioy:
Is it possible controlling the whole phone with just these settings variables, i.e. will just commands

settings get secure/global/system name_of_the_setting
settings put secure/global/system name_of_the_setting 0 or 1

suffice?

I've already read it but thank you very much! (And there're still several doubts)

Easier, why? Plain text commands are elegant and minimalistic, if Tasker can fire them it is nice to avoid installation of any further third party application. And the whole my question was about it, for any particular task in Tasker you can always find some application which could perform it (without Tasker). And the rationale is to replace them all with one Tasker, agree? ;)

Please, answer the question: which text console command can switch screen orientation: Portrait or Landscape (can't see relevant variable)
[Tasker Tips & Tricks] ktmom:
No, it's a big part, but, for example, forcing an app that is programmed to not rotate ever, into rotating is more than defining settings.

No, not agreed. The point of tasker is to bring the ability to script custom actions to the programming knowledgeable community. Tasker enables people familiar with the concept of if/then/else or variable arrays, ect to derive results based on triggers WITHOUT having to be experts in the deepest layers of the android system.

Plugins bring to the user access to actions not included in tasker. If every possible combination of options was built into tasker, the app would be enormous. It's also unnecessary for the average user who is looking to pop up a particular keyboard automatically when an specific app is launched. Or to turn gps on/off only when using navigating apps....ect.

The user rotation variable I used in an example earlier. Which is the same as using tasker's built in Display AutoRotate. Other than "because I can", I can't imagine why using the built in action would not be preferred.

The trick is there more that goes into whether or not an app will be forced to rotate. The individual app's display layer does things like looks at the screen dpi and the app's layout and I don't know what and determines how and when to rotate if the user authorizes the screen to rotate in the first place. This can all be over ridden if you are sufficiently knowledgeable in the programming of android apps. But then, why the heck would anyone introduce the overhead of a framework like tasker.

I encourage you to look for android app development tutorials to enhance your understanding in the depth you are looking for. But also understand that you are pushing the use case of the tasker app.
[Tasker Tips & Tricks] ivy.lally:
Automagic offers such an option.

It's disappointing Tasker needs some plugin to do this simple thing. If I need plugin then why tasker, there are many other applications controlling screen orientation!
[Tasker Tips & Tricks] Vagelis1608:
If you want to use a different app for everything, be my guest.

Tasker has a built-in action for autorotation.
[Tasker Tips & Tricks] ioy:
An this only switches AutoRotation ON/OFF, what is actually needed is screen orientation settings: to switch AutoRotation OFF and then to set fixed screen orientation of choice.

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1
[Tasker Tips & Tricks] roselanguste:
Hello!

I know this is a while ago that You posted this, I hope anyway that You answers me!? I want to freeze a App (Sony-Smart-Connect) automatically with Tasker, and in searching for a how to, I have seen Your post here! Can You Please say me, where exactly in the shell command I must put the full App-Name, and where can I find the full App-Package-Name of a installed App!? My Device is rooted, and I have a root-file-explorer with access to all folders! Please Help me!:highfive:

Thanks in advance!

RoseL.
[Tasker Tips & Tricks] ktmom:
I think your app package name is: com.sonyericsson.extras.liveware

I don't use that app but going to apkmirror.com and searching for it gave me the package. Depending on version, settings -> apps and finding the app might have the package name listed. It no longer does on my oreo ROM.

The operative explanation in the post you quoted is:

The text file is what is called in the run shell command:

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Tasker Tips & Tricks] roselanguste:
Thanks! I have found a other way! - I have downloaded the Secure-Settings-Tasker-Plugin, and it has the ability to Freeze, Kill Apps, and it worked in the moment! But I learn a new thing from Your answer!

Thanks!
[Tasker Tips & Tricks] alienyd:
fyi the core command is

shell su -c pm disable (app-full-name)

You should be able to manually freeze apps with it. My post was meant for batch freezing with a file list. As this is a native shell command, you don't need any extra plugin for the job.
[Tasker Tips & Tricks] amn1987:
For some reason this doesn't seem to work for me.

I have pasted the error log below:

15.45.19/E Run Shell: ->

15.45.19/E Run Shell: ->

15.45.19/E Run Shell: ->

15.45.19/Shell runBackground cat "/storage/emulated/0/disable-apps.txt" | while read d; do tmp=$(echo $d | awk {'print $1'}); adb shell "su -c 'pm disable $tmp'"; done root: true timeout: -1

15.45.19/Shell start process-thread ID 803

15.45.19/E add wait type Shell1 time 2147483647

15.45.19/E add wait type Shell1 done

15.45.19/E add wait task

15.45.21/E Error: 1

Edit: I tried the command in Termux and the following error came up:No devices/emulators found.
[G2 Q&A, Help & Troubleshooting] d802islove:
Hello, I've got problem can't cope with all day...

My d802 just started bootlooping, I decided to install stock, because hard reset didnt help first, so I made a new .tot through FlashTool, first it failed at 95%, now it stops at the start with error "laf memory size error=0". When I try .kdz it stuck at 4%. I've got 16GB EU version. It easly go into download mode, and hard reset.

That's the logo on the screen when it should finish any method

Any ideas?
[Moto Maxx Q&A, Help & Troubleshooting] Stas1337:
My phone isnt showing battery precentage right, after left it on charger over night system will 79-90%. But it shows 100% in the recovery and rebooting it back to the system i can see 100%
[Moto Maxx Q&A, Help & Troubleshooting] EjđiSixo:
I'm also experiencing some weird bat readings, it could be both software and hardware built in battery sensor.. Mine problem is related to ROMs I use.. To reset it , Try to completely drain battery to 0% until the phone doesnt want to start anymore.. Then force it into bootloader and choose barcodes , when it turns off repeat.. Until you completely don't kill the bat and phone doesn't have no signs of life. Connect it to charger , preferably some lower power than turbo charger , usb 500-1000mA and don't touch it until its fully charged..
[8125, K-JAM, P4300, MDA Vario General] trad3mark:
ive searched and searched for a solution for this, with no joy, could someone help?

I recently bought a wizard, and im trying to set up the mms on it, but when i go into messenging > mms > menu > tools > options > mms > servers i cant add or delete them. there's only 1 there, a t-mobile one, and im not actually on tmobile.

PLEASE help.
[Xiaomi Redmi Note 3 Questions & Answers] sibikallikkat:
I am facing a strange issue..I unlocked the bootloader the official way. Installed RR rom latest. Flashed Agni kernel. It was working fine.

After I switched off the device and turned on I noticed that touch is not working... System reboot to normal but touch is fully gone..

I had to flash fastboot rom edl mode to bring back the system to normal...

What might be the reason for loss of touch... Anyone please help....
[Xiaomi Redmi Note 3 Questions & Answers] goofball2k:
Don't flash a different kernel, just try RR first, boot and make sure it works.

Once that is done, then you can try flashing the kernel and see if everything works. If it doesn't, you have your answer.
[Xiaomi Redmi Note 3 Questions & Answers] ATG Droid:
Most custom ROMs are also builded just for their kernel so if u flash custom kernel then there is chance that ROM will not work as u expected. Just think about it when you are installing a custom kernel. :cowboy:
[Xiaomi Redmi Note 3 Questions & Answers] sibikallikkat:
Today I did flash lite mode rom . It boots up but touch was not working...nothing was flashed even gapps.

Sometimes the recovery twrp too does not work.,touch lost. Now i suspect something wrong with the hardware.

But no issues with miui roms...Thats what makes me wonder
[Xiaomi Redmi Note 3 Questions & Answers] xioatan828:
did you do it on the computer?
[Xiaomi Redmi Note 3 Questions & Answers] Giegl:
You may want to try installing Radon Kernel. I've got an aftermarket display which also didn't work with a custom rom (Lineage OS), but after flashing Radon Kernel it worked flawlessly. You may want o try Radon 5.0 as I'm having trouble with 5.1.
[Android Q&A, Help & Troubleshooting] BartxGamer:
Hello,

Lately I have noticed that some of my apps disappeared - uninstalled from my phone (LG G4). But Im sure that its not LG problem, but that newest Stock rom which is installed.

Google authenticator.

Microsoft auth.

Every app that uninstalled is important.

Anyone suffer from something similar? It is getting me angry. I will throw this phone to trash if it keeps going.

Please help - reply to this. What can i do with it?
[P8lite Q&A, Help & Troubleshooting] meowside:
Hey everyone,

I was using RROS for few days, but i would like to go back to stock. I have searched few threads but none of them worked, so i would like to ask few things.

1) what version have i to download first.

2) after i download it, i have to use Huawei Update Extractor and flash cust, system, boot and something else?

3) do i have to lock my bootloader back?

4) i put that downloaded UPDATE.APP on my micro sd card (/dload/UPDATE.APP)

Is it like this or have i missed something? I couldn't update it. Every single time i tried to update phone through emui update tool (vol + and vol -) it threw error on 5% (i didn't lock bootloader though).

Thanks for any info!
[P8lite Q&A, Help & Troubleshooting] keikari:
1. Most likely b602 or b603 is good choice http://hwmt.ru/oth/HWFF/info/view.php?find_model=ale-l21

2. You can use this guide to install https://xdaforums.com/honor-4x/how-to/install-emui-4-1-4x-4c-g-play-g-play-t3515702 you need to have TWRP recovery for this.

Read guide carefully.

3. No need. Also it's impossible to lock.(Re-lock might be possible but it's different)

4. No need for this if you use guide from "2."
[P8lite Q&A, Help & Troubleshooting] meowside:
thank you very much! going to try it now!
[Wileyfox Swift 2 Questions & Answers] brainwaster:
Hi

Do these phones all use the same screen/digitizer ? I dropped my 2x the other day and the official repair people want £88 to fix it. I'm trying to find replacement parts so was wondering if I cound some for the swif 2/+ owould they be the same as the ones on the 2x ?

Does anyone know any uk repairers who can do repairs ?
[Wileyfox Swift 2 Questions & Answers] rsocon:
I need a screen for a 2+, some of the Chinese sites have the original swift screens for about £25.

My hope is in a few months they start getting swift 2 screens in and then I can get it swapped.
[Wileyfox Swift 2 Questions & Answers] emyrderfel:
2 and 2+ use 5" 720p screens. 2X uses 5.2" 1080p.
[General Questions and Answers] mostak242:
I am on Resurrection Remix.How can I flash MIUI 8.5.3.0 on redmi note 3 without getting stuck at bootloader?
[HTC Desire S] ridley1000:
Hi Guys,

I have an unlocked Desire S running TWRP 2.6.3.0. I've never had any problems installing new builds before, but every time I do now it always failed and I always get the error "Error executing updater binary in zip '/sdcard/cm-11-20161203-UNOFFICIAL-saga.zip"

I've tried installed the Open Desire Project Cyanogenmod builds 11, 12 and 13. The phone previously had 11 installed and I had no problems whatsoever flashing it. Any help would be greatly appreciated!
[Moto E3 ROMs, Kernels, Recoveries, & Other Develop] Napster98766:
Hey guys

I got new AOSP custom ROM

Buugs - volte problem

Camera fixed and patch available

Features - nougat 7.1

Smooth ROM

Fully customisable

Links are

ROM:- https://drive.google.com/file/d/0B4Vk

Open gapps :- http://opengapps.org/

Camera patch :- https://www.androidfilehost.com/?fid

Thanks to the developers

Samar v and others

Xoxo enjoy:eek::cool::cool::cool:
[Moto E3 ROMs, Kernels, Recoveries, & Other Develop] LenAsh:
Please look at other ROM threads for a better idea of how to present this kind of thing. Layout, content and features for starters.

Pay particular attention to Sources, Credits, a full description and some screenshots.

Thread closed - PM a Moderator to re-open once you are ready to correct.
[Samsung Galaxy J2 Questions & Answers] GuestK00473:
Moved to Dev section
[Samsung Galaxy J2 Questions & Answers] RevolverRz:
Allow us to taste that :D
[Samsung Galaxy J2 Questions & Answers] RealSaad:
[MENTION=8368243]bengris32[/MENTION] plz try and post it to Mega, and btw will this work on j200H, i've been waiting forever for someone to make Cyanogen/LineageOS for this sku.

~Saad
[Samsung Galaxy J2 Questions & Answers] adarshadhungel1:
yes release it . btw will it be working in J200H ???
[Samsung Galaxy J5 Guides, News, & Discussion] BlackAxiom:
by joining this Telegram group you will gain beta/early access to my public test builds.

Click here to join
[Moto Z2 Play  Questions & Answers] M1810:
Hello, can anyone please share the fonts from moto Z2 please?
[Wing, P4350 Herald Upgrading] residentEvil:
I swear I must be the only fool that cant get his internet sharing to work.Ive had help from 2 people here and a T mobile tech that sounded like she was just reading problem solving answers to me...lol i put in the cab from Duprade restarted internet wiz and all that stuff .....nothing even changed my settings to internet2.voicestream.com....nahda :confused:

HELP

ops I mean Internet Shareless...damn T Virus
[Wing, P4350 Herald Upgrading] duprade:
You mean InternetSharing.

please be sure not to double post in order to keep the forum more organized.
[Wing, P4350 Herald Upgrading] residentEvil:
sorry about the DP I tried to delete it but no go :( no I mean im internet sharless).. the sharing part wont work:mad: man this thing has me stumped
[Sony Xperia XA Questions & Answers] mojacko23:
Can somebody please help me? my xperia xa is rooted and i unroot it because of the nougat update, so after i unroot my device i download the nougat firmware for my xperia xa and flash it using flashtool, after a while seems no problem the flashing is successful, but after that when flashtool says flash successful reboot your device, i immediately reboot my device but it won't , the LED stays red light forever when its plugged in but no light when not, my phone is fully charge before i flash it, what would be the problem and how to fix it please somebody help me.
[Sony Xperia XA Questions & Answers] davixdevelop:
Are you sure that you download the correct version of the stock ROM for your model and your region?
[Sony Xperia XA Questions & Answers] mojacko23:
i think i downloaded the wrong stock version, what would i do? please help :(
[Sony Xperia XA Questions & Answers] sumitha shankar:
Flash the correct Firmware. using xperifirm
[Sony Xperia XA Questions & Answers] mojacko23:
sir my phone does not recognize by flashtool, my pc detects it then after seconds it will not
[Sony Xperia XA Questions & Answers] sumitha shankar:
Do you following any guide for flashing firmware?
[Sony Xperia XA Questions & Answers] wrundawan:
I can fix the issue just for 500Rs.
[Sony Xperia XA Questions & Answers] rrvuhpg:
No proof of this! How to be sure that you are not a scammer?

---------- Post added at 09:43 AM ---------- Previous post was at 09:03 AM ----------

OK [MENTION=7851668]wrundawan[/MENTION] I found the scam, you have a dead device and you never solved your problem. You only need an other device to play with it and try to repair YOUR device, that's why you can't prove anything. I searched for your old posts on Xda and I confirm that your phone is always dead and I found this from you on the web who comfirm this again: https://forum.hovatek.com/thread-16341.html

Other thing, selling services and spamming all threads is against forum rules so I will contact forum moderator to have his opinion.

To all users, I will make a small guide to explain how to unbrick your phone, it works in some case but not 100%. For the short story I bricked my phone some weeks ago with the same result, only red light, and I successfully resurrected it. Don't worry it's free, you can do it yourself and I can provide a video for proof :D
[Sony Xperia XA Questions & Answers] wrundawan:
Buddy check the date of that post at which I had posted it.

Currently I had fixed my device and also helped other guys to fix their phone.

I hope your just eagerly waiting for posting me here solution as till now you didn't got any solution. As I said my solution is paid, I am not rich enough to do it for free.

Show me single person with whom I did scam.

Good to know if you got solution and posting video soon.
[Sony Xperia XA Questions & Answers] rrvuhpg:
And you show me some users who repaired their phone with your solution, nobody reported good feedback or trusted you. You can't show us anything, video or any kind of proof, for me it's a big scam!
[Sony Xperia XA Questions & Answers] mojacko23:
sir where is the guide? thank you so much
[Sony Xperia XA Questions & Answers] rrvuhpg:
I will make it soon, for now you can read this old thread where I explain how I unbricked my device many times: https://xdaforums.com/xperia-xa/help/xpeia-xa-dual-3112-soft-brick-flashing-t3466317

If I have time I will make a video too, yes I will brick my phone for this :D
[Sony Xperia XA Questions & Answers] mojacko23:
thanks in advance sir, i hope sooner, i want my xperia use again, and notify me if you have the tutorial, thank you so much sir!
[AT&T Samsung Galaxy S6 Edge] mj4g2:
Hello -

I've been a long time reader/lurker and have been able to resolve most issues reading and searching.

I have a G925A S6 Edge variant. It came to me with a blue screen stating "System Software Not Authorized by AT&T". I have downloaded various ODIN images and applied and I get the same results no matter what.

The phone requires resetting a few times to boot. When it finally boots, I receive several app crash errors. I have tried to install TWRP and it fails and gives a secure error in download mode.

I know the phone isnt unlocked and I cannot fine the OEM unlock setting anywhere in settings which is probably causing the issue.

Anyone have an idea?

Thanks
[AT&T Samsung Galaxy S6 Edge] norbarb:
You not reading enough. Phone have lock bootloader and you can't unlock at all as of now. This mean you can't use any other recovery then stock.

On Edge of Galaxy
[AT&T Samsung Galaxy S6 Edge] mj4g2:
Thanks.

I was asking about TWRP only because I cant get the phone to behave properly. No matter what version I use, I get constant force closes on tons of apps...

Ive tried all the below versions:

G925AUCS5DPJ1

G925AUCS6DQC1

G925AUCS6EQE1

G925AUCU1AOCE

G925AUCU6EQCF

Im currently on the Nougat version G925AUCS6EQE1.

After I flashed each version in ODIN, I had to force reboot a few times to get past dm-verify and "No command" errors. Eventually, I got it to boot. From then on out it boots properly.

One other oddity, is under "Service", it says KT twophone service" - in settings.

I have no idea what the previous owner did to get it locked up on the "System software not authorized" message, but the phone would do nothing until I ran ODIN.
[AT&T Samsung Galaxy S6 Edge] norbarb:
No command it is normal. Just wait for phone to start. Then go to recovery and do factory reset.

BTW. Are you sure it is G925A model, just asking to be sure.

On Edge of Galaxy
[AT&T Samsung Galaxy S6 Edge] mj4g2:
Yes - SM-G925A printed on back and shows on download mode screen.
[AT&T Samsung Galaxy S6 Edge] norbarb:
Great. Try ODIN again and flash E1. This time when you see "No command " just wait and let boot all the way. Then restart in recovery and factory reset. Reboot and let us know what you got.

On Edge of Galaxy