[HOW TO] Create tasks/profiles with your kernel parameters - Android Software/Hacking General [Developers Only]

Introduction
If you bored with change kernel parameters every time you open a game or your battery is low this guide will help you You can add tasks and apply them automaticly.
Requirements
-Rooted phone
-Custom kernel
-This app
!Disclaimer!
I am not responsible of bricked phones or dead sd cards.
STEPS
1- Open tasker app give root access. And slide right,select tasker.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2- Touch the plus button.
3- It will ask you a action. Available actions are:
On screen on= If screen is on ,profile will be applied.
On screen off= If screen is off ,profile will be applied.
On app launching= If you select this ,app will ask you an app. If you launch this app, profile will be applied
On battery low= If you select this, app will ask you percentagle. If battery low then this percentagle profile will be applied.
On boot complete= If phone performs a successful boot, profile will be applied.
On active= If you check the checbox on right of profile , profile will be applied.(Look step 6)
4- If you select an action enter a task name and you will go to this page.
5- Select parameters you want add to profile with checkboxs and save with floating button on the bottom.
6-Your task is ready but not activated. Just activate it with this checkbox.(And uncheck to disable task)

Ohh Great work! Seems Good. Its working fine.

dark_optimistic said:
Ohh Great work! Seems Good. Its working fine.
Click to expand...
Click to collapse
Thank you I'm glad to help you

Related

[App] moveOver - Beta - v1.0

Description :
Allows you to keep any two folders on your phone insync.
Uses ionotify to avoid excessive battery drainage.
Features :
Start onboot
Track folders/subfolders
Background service
Work in progress :
UI/icon needs revamping
Bug fixes (as they come)
Issues :
Please post them here.
Describe with as much clarity as possible.
If a force close, post log (use logcollector from market)
How to use :
Install OI File manager from market
Choose a source/destination folder
Start service (optionally press menu and make it start onboot)
Root is optional. If either source/dest is not sdcard, then root is required.
Uses :
Its up to the user. For eg one could have a
/sdcard/DCIM -> external_sdcard->DCIM mapping so that any pictures taken from camera, are automatically backed up on external sdcard.
Another use could be a mapping like :
/data/data/com.angrybirds -> /sdcard/backup/angrybirds
To keep ur up2date backups of games/apps
Market status : Not uploaded
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download : Link
this should be great for the g2x when switching between aosp roms and stock roms which use different sd partitions as their default "sdcard." thank you, great idea
Sent from my LG-P999 using xda premium

[GUIDE] How to remove unnecessary icons from MIUI home screens (VirusScan, etc.)

Hi there!
Like a lot of you guys, I'm using MIUI on my Nexus S. Since I've seen so many people in the relevant forums trying to remove the Virus Scan icon form the homescreen, I decided to make a short tutorial on how to do it and how to remove other app icons.
Warning: If you want to use the apps listed below, DO NOT follow the tutorial, since the apps won't work anymore.
Warning #2: Do everything on your own risk. I'm not responsible for any data losses, damages, or bricked devices.
First of all, you're going to need ROM Toolbox Pro or Titanium Backup (or anything similar) then follow the instructions below:
Removing the VirusScan icon:
1. Open ROM Toolbox Pro and run the App Manager, then click on All apps at the top of the screen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Long press on Settings and select Advanced freeze.
3. Go to the bottom of the list appeared then untick the followings:
Settings (.VirusScanActivity)
Settings (.VirusScanAppActivity)
Settings (.VirusScanService)
Removing the app startup icon:
The first step is the same as above.
2. Long press on Permission Manager and select Advanced Freeze.
3. Look for the following and untick it:
com.lbe.security.ui.AutoStartAppList
Restart your phone after finishing.
If you want to use the freezed apps again, just tick them and restart your phone.
With this method you will be able to remove the unused icons of Google Maps as well (of course those function won't work and Google Maps will FC if trying to use them - all the other functions will work though).

[How-To] Record your Galaxy R Screen(From a PC) (Tested on CM10.1)

Record your Tegra2 screen from a PC. ​
Proof: Watch
Warning:
1: I've only tried this on CM10.1. I'm not sure about other ROM's or stock ROM's. You test and tell me. I'll include it under "tested configs".
2: This includes installing an app on your PC and its client app on your device.
3. This is not perfect. The recording is laggy, but you can record. Isn't that enough?
4. You'll need a pc with screen recorder like camtasia recorder.
How-To:
1. First go grab this software. MyPhoneExplorer.. This is a must have. Apart from screen recording it offers multiple other tools.
2. Install it on your PC.
3. On your phone enable "USB debugging" and connect the phone to the PC.
4. Open up the app on your PC.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5. Then goto extras on the menu bar and select "Control Phone/Load Screen shot"
6. That's it your beautiful tegra2 device will load up on the screen. You can do whatever you like on the phone like navigating the homescreens, playing a game, listening to music etc. All that gets replicated on the PC screen.
7. The last step is using a good PC screen recorder to record the screen area currently occupied by the "Control Phone" window of the MyPhoneExlorer app.
8. Enjoy! and you can also post some of your screen recordings here. I'm adding the first one below for you to see.
Watch​
Note: Plz don't mind my game playing skills, I suck at some games.
Great now we can upload tutorial & more while using that. Great..:good:

[GUIDE][ROOT] Enable new(-ish) YouTube UI by force

Love it or hate it, YouTube has a new UI that's rolling out
It's not a server switch as most people think - the switch is local. If you don't like the UI, usually uninstalling and reinstalling will revert it, not always though.
Anyway, if you want it to be enabled by force, here's how to do that:
Option 1: Using a GUI preferences editor such as Preferences Manager
1.) Download and open Preferences Manager
2.) Select YouTube from the list. You may need to enable "Show system apps" from the overflow menu first
3.) Select "com.google.android.libraries.innertube.pref.inner_tube_config" from the list
4.) Enter the following value, replacing the current one:
Code:
CvoFMogBCAESgwEKAWUSfjExMjAwMTQyLDkwMTgxNiw5NDA2MDEyLDk0MDY2MTIsOTQwNzY2Myw5
NDA3OTQyLDk0MDgxNDIsOTQwODk0OCw5NDEyNDc3LDk0MTUwMzgsOTQxNTI5NCw5NDE2MTM3LDk0
MTYxNzYsOTQxNjUyMiw5NDE4MTE3LDk1NzcwOTKIAQgCEoMBCgFlEn4xMTIwMDE0Miw5MDE4MTYs
OTQwNjAxMiw5NDA2NjEyLDk0MDc2NjMsOTQwNzk0Miw5NDA4MTQyLDk0MDg5NDgsOTQxMjQ3Nyw5
NDE1MDM4LDk0MTUyOTQsOTQxNjEzNyw5NDE2MTc2LDk0MTY1MjIsOTQxODExNyw5NTc3MDky1gEI
AxIrChNJbm5lclR1YmVCdWlsZExhYmVsEhR5b3V0dWJlXzIwMTUwNzIyX1JDMhIfChNJbm5lclR1
YmVDaGFuZ2VsaXN0Egg5ODg0MDg3MxKDAQoBZRJ+MTEyMDAxNDIsOTAxODE2LDk0MDYwMTIsOTQw
NjYxMiw5NDA3NjYzLDk0MDc5NDIsOTQwODE0Miw5NDA4OTQ4LDk0MTI0NzcsOTQxNTAzOCw5NDE1
Mjk0LDk0MTYxMzcsOTQxNjE3Niw5NDE2NTIyLDk0MTgxMTcsOTU3NzA5MogCCAYSJgoaaW5uZXJ0
dWJlLmJ1aWxkLmNoYW5nZWxpc3QSCDk4ODQwODczEi0KFWlubmVydHViZS5idWlsZC5sYWJlbBIU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UOCnElDg
pxJQ4KcSUOCnElDgpxJQ4KcSWODUA2ACcAF4AZoBAggBmgECCAaaAQIIBJoBAggCmgECCAWaAQII
A5oBAggHsvbLmwICCAGK+9eeAgCi+9+iAg7ilqWiAgjq07asAgIIAfKg2qkCAggBqtelqgICCAGK
t9iuAg7Sk/ysAgiq0J+sAgIIAdLzqrQCAggBmvmLvgJ0CnAKbmh0dHBzOi8vd3d3LnlvdXR1YmUu
Y29tL2NzcF8yMDQ/Y25hbWU9MyZ1cmw9JTVCTE9HR0lOR19JTlNFQ1VSRV9VUkwlNUQmYT1waW5n
JmN2ZXI9MTAuMjUmdD1tb2JpbGVfaW5zZWN1cmVfdXJsEAEiF3lvdXR1YmVpI2NvbmZpZ1Jlc3Bv
bnNl
5.) Tap "Update"
6.) Force close YouTube from settings or reboot your device
Option 2: Manually
1.) Obtain or open youtube.xml from /data/data/com.google.android.youtube/shared_prefs (adb pull /data/data/com.google.android.youtube/shared_prefs/youtube.xml)
2.) Edit the file, changing the value for "com.google.android.libraries.innertube.pref.inner_tube_config" to the value from above
3.) Save and force close YouTube/reboot
Your UI should now be updated
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks to @- Swift - for donating his shared prefs for testing

How to periodically switch on and switch off Redmi note 5 pro's Flashlight?[Rooted

Hello y'all , my objective is to write a shell script to periodically turn off and on my phone's flashlight( about 1 khz or 500 hz) . My phone is Rooted. So i gained super user shell acess (#)
These are the files under my sys/class/leds/flashlight
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was able to modify the content of the "brightness" file and was able to manually switch off and on my flashlight. However i want to periodically switch on and off with a delay and for that i need a timer trigger. But within the "trigger" file above there is no delay section indicated! There was just some contents within the file (No Numbers!)
Can you guys help me figure out how i can go about attaining my objective!
Your help would be much appreciated!
Why not make use of Android's inbuilt crontab feature?
With regards to set a timer in Android look inside here.
Will Look into the links ! Thanks !
Hi ! thanks for your reply, with regards to timer, it is actually a java timer , i have implemented the same in my android studio app, but the maximum frequency iam able to achieve is 40hz( Os introduced delay is so high), that's why to increase my data rate to 500 hz , i rooted my phone and am trying ways to directly access Flashlight through kernel and use timer trigger and achieve my objective.
I will try my luck with the crantab feature that you had suggested

Categories

Resources