Tasker and Asus Performance mode - Asus Transformer TF700

Hello all,
I am using the application Tasker and would like it to influence the speed mode I am using. Does anybody know if I can use Tasker to swap to Performance mode or Balance mode etc.
Would appreciate your input on this, thanks.
Regards,
Ruud
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD

Ruud Westerhout said:
I am using the application Tasker and would like it to influence the speed mode I am using. Does anybody know if I can use Tasker to swap to Performance mode or Balance mode etc.
Click to expand...
Click to collapse
If Tasker can run shell scripts, you just need to execute /system/etc/cpu1.sh to cpu3.sh to switch the performance modes.

I think I read that it can, sounds goods.
Thanks for the hint !
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD

_that said:
If Tasker can run shell scripts, you just need to execute /system/etc/cpu1.sh to cpu3.sh to switch the performance modes.
Click to expand...
Click to collapse
This seems out of my league
In Tasker there is an action 'run shell', so that is nice.
But then immediately I have to choose between JavaScript (2 different), Run Shell or SLA4 Script. I took Run Shell and tried to insert the name of the file. Nothing happened.
Then I went into Root Explorer and found the file itself, clicked to run and see there is no difference to be seen in the notification bar. Plus there are 5 such script files, not 3.
A little help from somebody who did this in Tasker would be appreciated to understand what I do wrong.
Regards,
Ruud
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD

Bump...
When I try to run cpu3.sh from SManager, I get the following errors:
Error resolving interpreter: /bin/sh does not exist
/syste/ecte/cpu3.sh[14] : can't create /sys/devices/platform/tegra_grhost/enable_3d_scaling: No such file or directory.
Oddly, out of all the forums relating to the Asus Transformer family, I couldn't find one post that gave a definitive answer on how to use Tasker to trigger the performance modes. I tried Secure Settings (cool app) and even Secure Settings Helper. Nada. Anyone?
With respect, I'm not interested in editing the .sh files or an init.d solution.

jimbob_sf said:
Bump...
Click to expand...
Click to collapse
Thanks
jimbob_sf said:
When I try to run cpu3.sh from SManager, I get errors
Click to expand...
Click to collapse
Cannot copy that, as said, when running the script in ES explorer, just nothing happens.
jimbob_sf said:
Oddly, out of all the forums relating to the Asus Transformer family, I couldn't find one post that gave a definitive answer on how to use Tasker to trigger the performance modes.
Click to expand...
Click to collapse
Let's hope to find an answer finally.
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD

Update: Was chatting with sbdags. The easiest solution was to change the names of cpu2.sh and cpu3.sh. By swapping them, the TF700 boots up to what it thinks is Balanced, but in fact is Performance. It says Balanced, but you'll know what the deal is. The downside is that this has to be done with each flash.
To devs: It would be great if someone could figure out how to run cpu3.sh from a terminal which means Tasker can run it. I've tried SManager and ROM Toolbox and both give the same error even when run as root/su:
"can't create /sys/devices/platform/tegra_grhost/enable_3d_scaling: No such file or directory"

jimbob_sf said:
To devs: It would be great if someone could figure out how to run cpu3.sh from a terminal which means Tasker can run it. I've tried SManager and ROM Toolbox and both give the same error even when run as root/su:
"can't create /sys/devices/platform/tegra_grhost/enable_3d_scaling: No such file or directory"
Click to expand...
Click to collapse
You can't avoid that error - the file simply does not exist (at least on the current kernel). When switching via the GUI you just don't see the error message. The rest of the script still runs fine.

The odd thing is that I tried just running the script and the ASUS settings didn't show a change in mode. I follow that the error is ok, but shouldn't one see Performance mode set?
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD

jimbob_sf said:
The odd thing is that I tried just running the script and the ASUS settings didn't show a change in mode. I follow that the error is ok, but shouldn't one see Performance mode set?
Click to expand...
Click to collapse
The CPU speed mode is set correctly, but the GUI doesn't show it - that's normal.

Wow, so GUI does not show, but I am in another mode, interesting!
My wish is for Tasker to switch mode when I start gaming and once more when I stop.
Will play some more.
Sent from my HTC One X+ using Tapatalk 2

I can't resist... So how do we get the GUI to know what's up? This line of thinking is something that can be affected by Tasker.
OR, could an option be put into Aroma to make Performance the default at boot?
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD

I do not know, but I do not want to either.
For me balanced is just fine except for the use of certain programs. That's why I want Tasker to speed up only when I am using these.
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD

10 years later I'm curious how to do the same thing
Wish yall figured it out
EDIT:
XMODE
adb shell settings put global asus_gamemode 1
adb shell settings put global power_saver_enabled = 0
BALANCED
adb shell settings put global asus_gamemode 0
adb shell settings put global power_saver_enabled = 0
ULTRA DURABLE
adb shell settings put global asus_gamemode 0
adb shell settings put global power_saver_enabled = 1
OTHER
user_setting_frame_rate=
Not sure if all the above is working perfect but seems to work for my use case and can be used with termux boot or tasker or whatever. I found the above settings with
Code:
adb shell settings list system
adb shell settings list secure
adb shell settings list global

Related

I want to pull an exclusive app from the Asus

I really want the game "Let's Golf." Gameloft won't make it available for Tegra 2 devices and all the .apk's for other devices don't translate well.
The new Asus tablet is supposed to have it, which matches the hardware and screen specs of the xoom, which leaves me to assume that it would work on the xoom.
Does anyone know how to pull that app off the tablet and put it on my xoom?
Adb pull /system/data/golf.apk C:\some\folder
Adb push C:\some\folder\golf.apk /system/data/golf.apk
Adb reboot
Of course change your directories accordingly...or you can use root explorer....
Sent from my SPH-D700 using XDA Premium App
I'm going to be completely honest, I have no idea what that means
Sure that would be classed as piracy.
I have a acer A500 and Im sure it's a demo. Havent played it yet though.
virgil1528 said:
I'm going to be completely honest, I have no idea what that means
Click to expand...
Click to collapse
You need Android SDK Tools a USB lead and your phone, you can download the Android SDK from here. You use the commands Kcarpenter mentioned to push and pull using ADB via Command Promt in Windows.
And like he said, it's easier to use Root Explorer, assuming the Xoom has S-OFF it should be easy enough.
You can also use ES File Explorer to backup the apk to an sdcard then transfer from there to the Xoom.
BUT, I know from personal experience that Gameloft games download content after you install. I don't know if this will work with a pirated apk. Because essentially you are pirating a paid game if you do this.
Which is illegal and im sure should not be discussed on XDA...

[Q] How to run multipple apps/windows simultaneously

Need to run two reader apps (two parallel texts for reading the original literature) on one screen. Two copies of the same program like Moon+ would be even more nice.
I'm fairly certain this is impossible as of now. Either their are no apps that can possibly come close to supporting this. Or, this it is merely a limitation of the current android operating system.
But for the record, this would be amazing and drool-worthy.
there's a UI system someone posted a while back that allows android to operate in a 3-viewport mode, where you have 1 big viewport, an 2 smaller viewports, each running a different app. and you can switch between them. there's also ixonos' thing...which is a windowed UI. i personally prefer the former, because it wastes less real-estate.
neither of them are available atm, but they will soon.
although i don't think you can run multiple instances of the same app.
oh yea, the adam ink has a multi-pane launcher as well, which works just like the first one i described, and that's already available...although it doesn't seem like it's very good.
either way though, android, and especially honeycomb is capable of multi-tasking, i think it's just a question of ui issues, and everyone is trying to find the best presentation for such a function.
Sent from my Transformer TF101 using Tapatalk
^I think you're talking about Onskreen's Cornerstone:
http://onskreen.com/
Looks promising but I think they're only shopping it to OEMs at the moment.
Yea, that would be a killer feature. Maemo Os does it beautifully, why can't android ?
+1 to this. Multiple windows in Android would be a very attractive feature.
dawgpound6985
Yes, thats what I found lately, but it's not available as .apk anywhere.
Need something reliable and easy to work with.
how to install UBUNTU in dual boot mode on Asus Eee Pad transformer
Hi,
Thanks a loto for your thread about Ubuntu on Android .
I just unrooted my Asus eee pad transformer and I want to use in dual boot with first O.S Android and second Ubuntu.
I download from internet the following folder zipped:
linux-flash-kit.tar.gz
Ubuntu.img
But I don't Know how to go on, could you help me?
At the moment I download in MicroSD memory ( 16 gb) Ubuntu .img and into " linux-flash-kit.tar.gz" I can see file like "flash-linux-android.sh".
Now I confused because on the web I can see a lot of information but, for example, in this last folder I can see only to start on ubuntu ( desktop) but on other topic I can see using APX mode on Windows but They use others files.
Could YOu help me to understand where I have to paste files and where i Can start installation?
Thanks a lot for your help.
I would be happy if there was just a file manager that had multiple windows for copying and pasting. I'm sure that could be done.
typci said:
I would be happy if there was just a file manager that had multiple windows for copying and pasting. I'm sure that could be done.
Click to expand...
Click to collapse
Have you had a look at Total Commander for Android ?
It's an official android port of the classic two-pane file manager that and works great on the Transformer.
http://ghisler.ch/board/viewtopic.php?t=30417
(This post is useful as well as it details how to give the program full root access so you can even use it in place of something like Root Explorer
http://www.androidpolice.com/2011/0...ns-remount-rw-in-total-commander-for-android/)
albertus76 said:
Could YOu help me to understand where I have to paste files and where i Can start installation?
Click to expand...
Click to collapse
I believe you're in the wrong thread, mate.
there is nother one i have been using for sometime now..
Dual file manager XT
http://www.medieval.it/dualfm-android/menu-id-129.html
Sent from my Transformer TF101 using Tapatalk

Zip align and defrag

Hey guys just wondering if anyone knows if there is a way to do a zip align and defrag, kind of like the revolver rom does, but to do it manually? I'm using prime rom right now and would really like to be able to do that, although I don't know how much it might help anything
Thanks guys
Sent from my Transformer TF101 using xda premium
you can try APKMultitool, it has a zipalign option though I've never tried the option before myself.
http://apkmultitool.com/node/3
Sent from my Transformer TF101 using Tapatalk
In Prime there is a shell script in /system/xbin, called zipalign_apks. This gets called from the init script Roach setup in /etc/init.d and uses the onboard zipalign program (idk if it's part of Android or just added to custom ROMs) but it could just as easily be put on a cron job or by hand.
To do what you want in Prime, I would remount /system as rw, comment out the line in the init script, remount /system ro, and then decide how I want to run zipalign_apks - probably a weekly cronjob. I'm not sure if there would be a problem with doing it /after/ the system is a fully operational battle statation^H^H^H^H^H^H^H^H^H^Hdroid.
Sent from my Transformer TF101 using Tapatalk
So it does a zipalign on boot then?
I can just run it manually as well. I like Prime, but I'm torn between Prime and Revolver.
What are the benefits of these features anyways ??
xMini said:
What are the benefits of these features anyways ??
Click to expand...
Click to collapse
i want to know that too pls!
This is from the dev guide, it talks about doing it to the actual package when it is created. Hopefully someone can explain as to what it does when things have already been installed
"zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the .apk, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be accessed directly with mmap() even if they contain binary data with alignment restrictions. The benefit is a reduction in the amount of RAM consumed when running the application."
FunkyMcBain said:
This is from the dev guide, it talks about doing it to the actual package when it is created. Hopefully someone can explain as to what it does when things have already been installed
"zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the .apk, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be accessed directly with mmap() even if they contain binary data with alignment restrictions. The benefit is a reduction in the amount of RAM consumed when running the application."
Click to expand...
Click to collapse
I assume it does the same thing, execpt on our devices instead of the developers workstation - I'm not sure how well the whole thing works in the end but it's easy enough to profile scientifically if anyone wants to put in the effort
Sent from my Transformer TF101 using Tapatalk

[Q] Mounting mobile SD via Transformer Dock USB

Hi guys,
Is there a way to mount the SD card of my HTC Wildfire on the TF300 (just like in Windows environment)?
Surely you could just take it out of your phone and put it in?
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Thanks for that, captain obvious.
Can someone answer my question please?
Sorry, but i thought that would help
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Would you mind explaining why you want to do this? Because if you just want to browse the files without having to receive the SD card, there are apps for that
Sent from my R800i using xda app-developers app
RoarGasm said:
Thanks for that, captain obvious.
Can someone answer my question please?
Click to expand...
Click to collapse
Wifi File Explorer works for me (I use pro version). Run it on the unit you wish to access and use a web browser on the unit you wish to access with (obviously this assumes both are connected to the same wifi router).
There are other ways but this is the one I use because I can access from MAC and Ubuntu over wifi as well; In other words any thing on same wifi router that includes a web browser.
Currently I am accessing mt tf300 from a nook tablet with this method.
KindaUndisputed said:
Would you mind explaining why you want to do this? Because if you just want to browse the files without having to receive the SD card, there are apps for that
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Well I basically want to browse files on my phone through the tablet and compare/sync files manually between the two devices. Also, I'm just really curious as to why this feature doesn't exist (unless I'm doing wrong).
tobdaryl said:
Wifi File Explorer works for me (I use pro version). Run it on the unit you wish to access and use a web browser on the unit you wish to access with (obviously this assumes both are connected to the same wifi router).
There are other ways but this is the one I use because I can access from MAC and Ubuntu over wifi as well; In other words any thing on same wifi router that includes a web browser.
Currently I am accessing mt tf300 from a nook tablet with this method.
Click to expand...
Click to collapse
I used to use File Expert which is really similar to File Explorer, but the issue is: I don't always have Wi-Fi access. So I really just need to mount the SD card via the USB cable (just like with the PC).
Bump.

Browser to ram issue

So i just started using browser to ram. But what I've notice is that it appears to be frozen to the day I installed the app. No matter what settings i change or tabs i open or close. If i close my browser for an extended time or reboot, it reverts back to the way it was the day i installed browser to ram. Any ideas?
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
That's an unfortunate side effect of Browser2RAM. Since the browser is loaded on the RAM, it's settings/history etc aren't saved onto the main memory. The RAM gets wiped clean after a reboot, therefore your browser stuffs gets wiped.
Sent from my ADR6425LVW using XDA Premium.
SteveG12543 said:
That's an unfortunate side effect of Browser2RAM. Since the browser is loaded on the RAM, it's settings/history etc aren't saved onto the main memory. The RAM gets wiped clean after a reboot, therefore your browser stuffs gets wiped.
Sent from my ADR6425LVW using XDA Premium.
Click to expand...
Click to collapse
once you installed CleanROM or Data2SD or both of them, the problem solved, don't need browser2RAM anymore
SteveG12543 said:
That's an unfortunate side effect of Browser2RAM. Since the browser is loaded on the RAM, it's settings/history etc aren't saved onto the main memory. The RAM gets wiped clean after a reboot, therefore your browser stuffs gets wiped.
Click to expand...
Click to collapse
Browser2RAM has some code that writes the settings back to the internal storage, AFAIR on shutdown or on manual request.
_that said:
Browser2RAM has some code that writes the settings back to the internal storage, AFAIR on shutdown or on manual request.
Click to expand...
Click to collapse
So does that mean this piece of code isn't running? Is there something I'm doing that's not triggering it?
Sent from my Galaxy Nexus using Tapatalk 2
jpin321 said:
So does that mean this piece of code isn't running? Is there something I'm doing that's not triggering it?
Click to expand...
Click to collapse
Looks like it. Here is the source code:
https://github.com/jp-beaumont/Brow...m/theonionknight/browser2ram/Browser2Ram.java
In theory, onShutdown should be called before the device is turned off, and that should invoke the copy-data-back-to-storage script.
I've had this issue before too - not exactly sure what causes it. I've found that it seems to work best if you set everything up in the browser first (home page, default to desktop view, etc) and then install Browser2RAM last - then it seems to remember stuff properly. Not sure why exactly...
So, maybe try un-installing Browser2RAM, reboot, setup all of your settings in the stock browser, reboot and then install browser2ram (which will require another reboot)...
Also, even with CleanROM, I find Browser2RAM still makes a difference. Also make sure to set the "Enable CPU Upload Path" option in stock browser settings (it'll either be under Lab Settings or you'll need to type 'about:debug' in the URL address and it'll be under Settings->Debug - it all depends on what ROM you are running - CLeanROM enabled the debug settings under Settings->Lab without the need for the "about:debug" stuff)...
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2

Categories

Resources