Android filemanager contextmenu - Galaxy S II Themes and Apps

How do you edit its context menu? Like if you press and hold on a file, itll bring up "Open As", how do you modify it? Ive seen someones shutdown menu modified..

Related

App to shutdown phone?

Hi, everyone. Does anybody know of an app or a way to shutdown the phone at a predetermined time. Reason I'm asking is it would be great to be able to shutdown my phone while still charging at say 5:30 am and have it ready for me when I get up at 6:00. This is all related to the battery "bug" that our dincs seems to have. Thanks
nstavr said:
Hi, everyone. Does anybody know of an app or a way to shutdown the phone at a predetermined time. Reason I'm asking is it would be great to be able to shutdown my phone while still charging at say 5:30 am and have it ready for me when I get up at 6:00. This is all related to the battery "bug" that our dincs seems to have. Thanks
Click to expand...
Click to collapse
If you charge via a computer i'm sure you can write a simple command line script that would issue a shutdown through the adb shell
That certainly is an option even though I do not normally charge via the computer. One problem with this is I would have to leave the computer on in order to provide power to the USB ports. Does anyone know of an app?
Is this "bug" that we have something that can be fixed via an OTA update or is it a hardware problem
Its not a bug. The N1 was the same way. To get a full charge you needed to have the phone off. Again, not a bug with the Inc but rather the way HTC or Google has programmed the battery to behave. at least in 2.1.
Yeah, definitely seems to be by design. Just wondering why HTC or Google would do this? Anyway, I have been searching the market for an app this will allow me to input a set time for the phone to shut down for this very reason. Still have not found anything.
not really sure what you would have to put in the script but you could run a script in the app called gscript
Edit: im bored at work ill see what i can do with gscript to maybe write something for ya.
nvm ... i have a script, but it doesn't seem to work consistently. I will upload it if I can get it to work all the time.
he wants the phone to just shutoff by itself tho without using a computer to tell it to do it.
Well i got the solution for you now you just need to get someone to right a script for you to watch the time and do the shutdown at a specified time.
Get locale and then get the ase plugin app which allows you to start a script at a curtain time.
zerf said:
Well i got the solution for you now you just need to get someone to right a script for you to watch the time and do the shutdown at a specified time.
Get locale and then get the ase plugin app which allows you to start a script at a curtain time.
Click to expand...
Click to collapse
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action. (still working on that)
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.
ihtfp69 said:
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action.
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.
Click to expand...
Click to collapse
I appreciate your work on this! Can't wait to test it out!
ihtfp69 said:
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action. (still working on that)
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.
Click to expand...
Click to collapse
This sounds great. I will test tonight when I get off work. Thanks for taking the time to do this!
In your instructions ihpft69, how do I push the script to SD card?
"adb push PowerDown.lua /sdcard/ase/scripts/"
htfp69, I have tested this out successfully. One question though. Is there a way to get this to run in locale? For some reason when I clear Android System defaults in menu-->settings-->applications it will work with locale. However, when I attempt it a second time I can see that ASE is running but it does not power off the phone. Thanks again for your help.
nstavr said:
htfp69, I have tested this out successfully. One question though. Is there a way to get this to run in locale? For some reason when I clear Android System defaults in menu-->settings-->applications it will work with locale. However, when I attempt it a second time I can see that ASE is running but it does not power off the phone. Thanks again for your help.
Click to expand...
Click to collapse
The problem is the shutdown permission is reserved for the system only. You cannot give an application this permission either. Thus only the system can perform the intent. I had to add an intent filter to get the pop-up so you can choose the system to perform the intent. For some reason, though, the system ignores defaulted requests so you have to leave that box unchecked for it to work.
BTW, that Locale app is pretty neat. I didnt know it worked with ase. It's much better than using those triggers.
Sent from my ADR6300 using XDA App
Love the work you've done on this script. I have a question though, if I set it to use the system by default, it doesn't work, but if I dont check it, every time it runs it asks what to use. Can it run by itself yet or is that something you're still working on?
^agreed, love the way the script is done
ihtfp69 said:
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action. (still working on that)
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.
Click to expand...
Click to collapse
hey man, this is i looked for a while i use it with tasker. great work, thanks
ihtfp69 said:
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action. (still working on that)
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.
Click to expand...
Click to collapse
I have the same need but I need my device to restart at a schedule time each day....there is an app on the market and I have been in back-forth email with the developer. The restart & shutdown function do not work on the Driod right now..
1. first you have to be rooted for this function of the app, which I am (unrevoked)
2. the "/system/bin" is not in the system search path for the "/system/bin/reboot" to work...I can run it manually via the shell and it will reboot. He plans to fix this...
the app is here: http://www.appbrain.com/app/com.connectivetools.ctschedulerl
Can you make your app to reboot the phone? I do not mind supporting development...
Thx

Saving files in nano editor

I wanted to edit my build.prop file but have a problem saving it.
I press Ctrl+O (Ctrl being the Vol-Down button) to open the write file dialog. Then I specify a filename but what to do next? Pressing the enter button doesn't do anything. I can change the file name but still enter does nothing.
Is there a specific command needed to write to the file? It's probably not file access settings, because the same happens when I choose a file from the sdcard.

Samsung Galaxy SIII Softkeys for GNEX - Alpha

I made the Samsung Galaxy S3 hardkeys to Galaxy Nexus Softkeys.
Flashable with Metamorph or do it manually.
Did not try it, hope someone else can do it because my GNEX is in reperature.
Please post some screens if you flash it, so I can see and make it better, some updates etc.
DOWNLOAD LINK: http://www.file-upload.net/download-4445951/GalaxyS3SoftgeysForGNEX.zip.html
Tutorial:
MetaMorph
Download and install MetaMorph from the Market, open it at least once so that the folder AndroidThemes will be created on /sdcard/
Download a Softkey Style using the MetaMorph link and move this .zip file to /sdcard/AndroidThemes using your favorite file explorer
Open MetaMorph, choose "Unzip/Extract new theme" and select the .zip file you downloaded. A popup screen will appear, meaning it has been extracted. Press the "Close" button.
Hit the "Apply all!" button and wait +/- 5 seconds (nothing will happen)
Reboot your phone immediately after this and you're done! Oh, and set a new wallpaper because it may be restored to default..
(Phone can hang in "SystemUI has been ended". Just pull out battery and restart phone.
2. Advanced (Hard) Method - Edit the SystemUI.apk from your phone - thanks to bangdrum! Not working for everybody!
Download and install Root Explorer from the Market and make a Nandroid backup
Download the softkeymod you like
Open Root Explorer and navigate to /system/app/, find SystemUI.apk, long press, and select extract. Go to the folder sdcard/speedsoftware/extracted and make sure you have a folder that's called SystemUI
If the folder is there navigate to where you downloaded the chosen softkeymod (usually sdcard/download) and long press it. Select extract all. Go to sdcard/speedsoftware/extracted and there should be a folder with the name of the softkeymod.
Click on this folder, and also on the next. Hit the menu key and press 'Multi Select'. Highlight all the images included in the folder and select 'Move' at the bottom. Navigate back to the SystemUI folder, go to SystemUI/res/drawable-xhdpi and 'Paste' here. A command prompt should pop up asking to replace the current images. Select 'Yes For All'
Go back to the sdcard/speedsoftware/extracted folder, long press the SystemUI folder and select 'Create ZIP'
Rename the created SystemUI.zip to SystemUi.apk and move the SystemUI.apk to your /system/app folder. Change permissions of SystemUI.apk to rw-r--r--
Reboot your Galaxy Nexus (pull battery out and reboot, this is an essential step) and your softkeys will be modded!
Credits to: atticus182 (http://forum.xda-developers.com/showthread.php?t=1413582) for tutorial and search button !
I have the download fail a couple times before it takes but then it says bad .zip file...mind just posting the .PNG images her so us folks on AOKP can just plug them in through ROM control.
This^^
here is the link for the png-pictures for CDMA users:
http://imageshack.us/g/513/icsysbarback.png/

How to get on screen buttons in the cm10.1 release?

Does anyone know how to turn them on am I missing it?
ianandamy said:
Does anyone know how to turn them on am I missing it?
Click to expand...
Click to collapse
Using a root explorer app, go to /system and long press on build.prop & select text editor.
At the bottom, add (without quotes) this line:
"qemu.hw.mainkeys=0"
And to turn them off, change it to:
"qemu.hw.mainkeys=1"
Or simply delete what you orginally added.

Remapping back and recents buttons

I'm using offical PixelExperience rom (20180228) and there is no option for changing back and recents buttons. I've tried to remap buttons by changing the generic.kl file located in system/usr/keylayout but it didn't worked. Rooted via Magisk 16.0
I changed key 139 and key 158
There's no need to install something or edit something, you just need follow my instructions.
Go to:
Settings >System > Buttons
On " back button " click on "single tap action" and "select custom action", then scroll down and find "recents".
Repeat the process with "recent button", but selecting "back".
I hope I've helped you.
Sorry for my poor English.

Categories

Resources