Soft Reset app - G1 Apps and Games

Does anyone know if there is a soft reset/restart app available?
I am checking out a bunch of themes and hitting "Menu+End+Call" at the same time is a pain!
I am hoping there is a simple app that you just press, select to confirm, and it restarts the phone.
I have had a similar app for every smartphone I have owned except this one. WM5, Blackberry, etc.
I searched in several different ways and have been unable to locate this type of app. If my search wasn't extensive enough please let me know so the monitors can delete this thread.

Search the market for 'tReboot'

It notes on the market that the app only works with Dev phones.
I have a rooted phone - but, not a Dev phone.
That is exactly what I want... If it worked on a Rooted phone it would be great! Thanks for the info.

np sorry about that, didn't know what type you had or whether it would work or not on which phones, just saw it in the market while browsing around I'm sure the dev will make it better.
why don't you just long hold the end call button and press 'shut down'

Or you may get DroidSans Tweak Tools 0.87, it has a option for reboot ^^;

Or use adb (or terminal emulator) to enter the command
reboot recovery
then just wait for it..... It will reboot into recovery mode automagically!

DroidSans Tweak Tools works.

You could also use the gSript app and put a shortcut on your desktop with a reboot script.
I would think that would be the easiest way.

Yes, I just found the Gscript app today.
I think I am going to use that. I have Droidsans Tweak Tools - but, I think mine is the lite version. Didn't use the other version because my phone has JF latest mod on it and I didn't know that app added anything that wasn't covered by the mod that the lite version had.
"Or use adb (or terminal emulator) to enter the command
reboot recovery
then just wait for it..... It will reboot into recovery mode automagically!" - Kinda defeats the whole purpose of having something that is quick and easy.
Looks like Gscript will end up working best. Then if Buttercut will work with my Home program I can just give it a nice looking icon.
Thanks!

skri11a said:
You could also use the gSript app and put a shortcut on your desktop with a reboot script.
I would think that would be the easiest way.
Click to expand...
Click to collapse
This is the route i use.

i though a lot of people knew this but guess not. if you press call(green) button+menu+end(red) button it does a soft reset

maxdamage2122 said:
i though a lot of people knew this but guess not. if you press call(green) button+menu+end(red) button it does a soft reset
Click to expand...
Click to collapse
I do, when im not lazy, i use that method lol

Can't seem to find gscript- can't see on market or on cyrket...

It's not on the market.
Here
and
here

maxdamage2122 said:
i though a lot of people knew this but guess not. if you press call(green) button+menu+end(red) button it does a soft reset
Click to expand...
Click to collapse
Mikey1022 said:
I do, when im not lazy, i use that method lol
Click to expand...
Click to collapse
Of course, I know about that. But, when I am constantly checking out new themes and tinkering with my phone it is a hassle to keep pressing three buttons at the same time to reboot when I could have a button on the home screen to press without having to pick the phone up.
It is just a convenience issue - like the whole cell phone/smart phone thing to begin with. LOL

shaneaus said:
... it is a hassle to keep pressing three buttons at the same time to reboot when I could have a button on the home screen to press without having to pick the phone up.
Click to expand...
Click to collapse
Agreed. On my phone I seem to have to be fantastically precise with the timing of all three buttons at once. Even with concentrated effort it most often brings up the dialler, the menu or goes into sleep mode (annoying). I put a GScript - Reboot shortcut on my homepage and it works fine.

I am also looking forward to a application that could reboot the phone like those found in Windows Mobile. As the above reply said, sometimes we may not press all three buttons together at one go. Seems like we got to wait.

hazeline said:
I am also looking forward to a application that could reboot the phone like those found in Windows Mobile. As the above reply said, sometimes we may not press all three buttons together at one go. Seems like we got to wait.
Click to expand...
Click to collapse
Why wait for an app when you can use a script?

Download Gscript from the above posted links.
To create a reboot/soft reset/re-start script you just:
Open Gscript
Select the "Menu" button
Select "Add script"
Enter a name for your script - I entered "Re-Start" - but, use what you want.
Make sure "Needs SU?" is checked.
Enter "reboot" inside the large text window.
Select save.
Long press on your new script and select to "save to SDcard."
Go to your home screen. Long press in a blank area and go through the prompts to add a shortcut. Select Gscript and it will give you the options to choose which script you wish to create a shortcut for. Then you can use Bettercut to give it a nicer look (unless you are like me and using a custom home screen which won't work with Bettercut!)

Why not "reboot recovery"? Then you won't need to hold the home button when it reboots. Just a thought.

Related

Can someone help me out?

I tried doing a search but I honestly don't know what to enter--tried button layout, android controls, etc--no dice.
On the Touch, it used to be that if you held the camera button down, it took you straight to home. That does not seem to be the case anymore. Can anyone tell me if the Touch has a way to do that now--and if not, how in the world are you getting out of the browser without losing all of your progress? Task Switcher doesn't seem to allow me to choose my home screen, and if I switch to something else and then exit out of that, my browser is waiting for me, like the sneaky bastard it is.
spectheintro said:
I tried doing a search but I honestly don't know what to enter--tried button layout, android controls, etc--no dice.
On the Touch, it used to be that if you held the camera button down, it took you straight to home. That does not seem to be the case anymore. Can anyone tell me if the Touch has a way to do that now--and if not, how in the world are you getting out of the browser without losing all of your progress? Task Switcher doesn't seem to allow me to choose my home screen, and if I switch to something else and then exit out of that, my browser is waiting for me, like the sneaky bastard it is.
Click to expand...
Click to collapse
if you aare using an nbh that has the task switcher built into it, then you need to only hold the camera button for a second for home.
tap - back
hold for a sec - home
long hold - task switcher
Awesome! It's going to take some getting used to, but this is a huge help.
Now if I could only figure out how to install themes...
spectheintro said:
Awesome! It's going to take some getting used to, but this is a huge help.
Now if I could only figure out how to install themes...
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=628353
go to how to install an update

(Wanted) Optical Sleep Wake

I am wanting to know if anyone can port the program for the nexus to the aria, that when the trackpad is pushed the phone will wake. I know that coming from an Iphone that is a huge benefit.
seconded.
it's a pain to reach over to push the power button every time because the phone slides towards if you if face up on desk pushing trackpad button much more elegant solution.
Hello, I am a new member and I thought I'd join and tell you what I found. I've been using my Aria for about a week already. I used lock2.0 (bugs and keeps your phone running idle, not standby), nolock (basically takes away lock all together and only wakes it up), this widget screen mode (bugs) thing and a couple others..
Anyways the best solution (in my opinion) is this app called "lockbot." It wakes the phone up using the trackpad and volume keys. The free version lacks the password but if you get the pro, you can add the pass code functionality (not for me especially if you need to do an emergency call plus you can always download a kill app in case your phone gets stolen). A good thing about it too is that you can modify your lock screens i.e. iphone style, x10 style, froyo style, etc. I got 5 different types cycling randomly. You can also change a few options i.e. lock during a call so you dont do a "face hang up" or shake to unlock. The only real bug I found so far was the x10 lockscreen because it would lag for about a second.
I know a few may say "oh the side keys will get hit and drain the battery" but honestly, after using the app for like 5 days, I haven't notice any change in battery consumption. Not wearing out your power button pretty much outweighs losing a minuscule of battery life.
Hope it helps. Of course you can try out the other apps to see if they suit you =)
kudvu002 said:
I am wanting to know if anyone can port the program for the nexus to the aria, that when the trackpad is pushed the phone will wake. I know that coming from an Iphone that is a huge benefit.
Click to expand...
Click to collapse
I'm using lockbot now and it's exactly what I was looking for. I'll keep an eye on battery life and report back if it seems to drop.
Awesome suggestion, thanks!!
Btw I was going through the configurations. Apparently you can set a lock code for the lockscreen once you swipe it. You have to pay for the swipe lock but it's free to put in a numeric lock code.
Cheers
I tried lockbot and uninstalled it.
-It does not support the Aria's native resolution.
-Won't let you load BG pics smaller than the 480 x 846 or whatever the res of the device it was made for is.
-When you press the power button to lock and then immediately hit it again, it never locks, just shows the home screen again.
Would it be hard to port the N1's app? I just want something simple that works
nope
didn't work out for me.
almost locked me out of the phone.
I think it doesn't play well with task killer.
Im using an app called "no lock" disables the slide lock and you can jus press the optical button, volume or power buttons to unlock the phone.
pcruz said:
Im using an app called "no lock" disables the slide lock and you can jus press the optical button, volume or power buttons to unlock the phone.
Click to expand...
Click to collapse
Same here, works great.
Sent from my HTC Liberty
This just became available on the Incredible...I am sending the file that needs to be edited to the dev who created it for the Incredible so he can make it work for the Aria as well. You can take a look at the thread here:
http://forum.xda-developers.com/showthread.php?p=7267384#post7267384
If anyone has access to the phone now and knows how to use adb you can pull the file off and send it to him. If not I'll send it to him later tonight.
Optical wake working for me
EDIT-Short Version...
-:Have Clockwork Recovery Installed and know how to use ADB:-
-DOWNLOAD ATTACHED qwerty.kl (may need 7zip to extract file from archive...)
-BOOT into CLOCKWORK recovery with NO USB PLUGGED INto phone!!!
-PARTITIONS>MOUNT /SYSTEM
-adb push qwerty.kl /system/usr/keylayout|adb reboot
END EDIT
First android phone! I love it. I too wanted optical press-to-wake, particularly because my ATT case made the power button a bit of a pain to press. First real post, been here a bit, I mostly just read/search.
Anyways...I had been searching around the file system getting myself acquainted with android and found /system/usr/keylayout.
It has 4 files in it, one of which is qwerty.kl. It sounded promising so I checked it out.
Long story short, I took a look at it, tried changing our DPAD_CENTER to WAKE instead of WAKE_DROPPED (just like the power button, seemed logical ), but it didn't work. Did some more searching and saw that the key was key # 272 on another phone instead of 232 in our qwerty.kl. I have it working now. Here's the thread I read to figure it out http://forum.xda-developers.com/showthread.php?t=729923
I did this in windows...(I have ADB working and Clockwork Recovery, you should get these too, invaluable tools)
1. Boot into clockworkmod recovery
2. Go to Partions Menu and Mount /System
3. adb pull /system/usr/keylayout/qwerty.kl (this pulls a file, qwerty.kl, and puts it in your adb tools directory)
4. Now you need to open the qwerty.kl file and edit it.
5. Use notepad, or notepad++, or vi, anything really.
6. Search qwerty.kl for key 232 DPAD_CENTER WAKE_DROPPED
7. Change 232 to 272
8. Change WAKE_DROPPED to just WAKE
9. Save the file
Now we need to push the file back to the device. This sounds very easy, and is, except I had trouble and got stuck in clockwork twice and had to pull the battery, as I think when I went to select reboot or unmount in clockwork (using the trackpad...), my newly changed trackpad was probably making everything act up. So I tried twice and had to pull batt twice before I just figured I would streamline my commands. (edit-trackpad works normally in clockwork after next step.)
10. do this! adb push qwerty.kl /system/usr/keylayout|adb reboot
This will push your new qwerty.kl file to the phone and reboot it without you having to use the trackpad which could leave you potentially stuck in clockwork recovery, thus avoiding the inconvenience of taking off your case/back.
I attached my qwerty.kl in a 7z archive so you hopefully can just extract it to wherever you need it and just adb push it to /system/usr/keylayout.
Good luck. Let me know if it works.
When the phone reboots you will be able to press the optical trackpad and wake the phone!
I haven't really tested it more than waking the phone a half dozen times but it seems to do what I want. When getting stuck in clockwork concerns me, I will simply edit my qwerty.kl file as needed when doing clockworkmod recovery work as it is a fairly simple and straightforward process.
EDIT-phone functions EXACTLY as before except can now wake via trackpad press!
Questions, why were you using the trackpad in clockwork?
Also, I like how no lock works since I have a security code on my device. When I dont feel like entering my code everytime the screen blacks out, I just run no lock and I wake the device up using the trackpad. Will your modification do the same? Or once I wake the device up, it will take me to the security screen?
SysAdmNj said:
Questions, why were you using the trackpad in clockwork?
Also, I like how no lock works since I have a security code on my device. When I dont feel like entering my code everytime the screen blacks out, I just run no lock and I wake the device up using the trackpad. Will your modification do the same? Or once I wake the device up, it will take me to the security screen?
Click to expand...
Click to collapse
Because I could...? haha. I think it did the same thing when i tried selecting with the power button as well, can't recall, and didn't futz with it enough to remember it today. Could be a clockwork error or my own...
This doesn't get rid of the lock screen, it just wakes the phone with a trackpad push which I believe was the original intent of the thread. "No lock," well...gets rid of the lock screen which is a different function all together. I don't use a code/pattern on my phone, just the standard drag down lockscreen, its not terribly inconvenient to me.
I find it a bit more convenient since my thumb is already there when I pick up the phone. Also, whenever I would demo my phone to anyone else (whether they owned an iphone or not) they would ALWAYS try to push the trackpad to wake it, and I would ALWAYS have to point them to the awkward power button.
I'm not a huge fan of installing random stuff, and this does exactly what I want. Simple fix ftw.
yollasho said:
I'm not a huge fan of installing random stuff, and this does exactly what I want. Simple fix ftw.
Click to expand...
Click to collapse
this is awesome. going to try it once i get home. thank you so much!
edit:
pushed the file with no issues whatsoever. very very helpful.
mattbollenbach said:
this is awesome. going to try it once i get home. thank you so much!
edit:
pushed the file with no issues whatsoever. very very helpful.
Click to expand...
Click to collapse
Really glad it worked for you!
Thank You. your procedure worked flawlessly.
HTC should really rethink their "wake up" button, using power button up on top is a real pain.
yollasho said:
Good luck. Let me know if it works
Click to expand...
Click to collapse
It works ! Thanks man.. very nice find
Very usefull ..
@MOD
Sticky @ Development section please !
haven't done this yet so feel free to correct me but this looks to just change the wake button from the power to the optical. is there a way to allow both to wake the phone?
either way great work.
ryan92084 said:
haven't done this yet so feel free to correct me but this looks to just change the wake button from the power to the optical. is there a way to allow both to wake the phone?
either way great work.
Click to expand...
Click to collapse
Both wake the phone !

Can't enable alternate keyboards

Hi,
I've been trying to get an alternate keyboard working on my stock Gtab, but can't. I know that I can't enable it via settings, so I copied the APk to /system/app and rebooted, but still no luck.
I tried a bunch of different ones, and all don't work.
Any ideas?
Thanks,
Jim
Got Ultra keyboard working on stock, kind of
Hi,
No one has responded, but I've been focussing on trying to get Ultra working.
Some things I tried:
- Install from market - No setting to enable it, long press doesn't cause input selection
- I found some comments that problem was because of stock TNT Settings.apk and SettingProvider.apk, so I found some Android apks, and replaced them. - I then got the enable in Settings, but still no input selection when long press on a text box
- I then moved the /data/app/com.binarybulge...apk file to /system/app, and rebooted - Then, in Settings, the enable was gone ...
- I accidentally pressed on Ultra in Myapps on the new market, and a screen with 3 buttons appeared, including a question mark/help button. I clicked on that, which brought up a help doc, and in there, there was a link to open the input selection! I clicked that, got the selection, and selected Ultra. After that, long press still doesn't bring up input selection, but Ultra pops up when I click on any text box,
So, at this point I can use Ultra, but only Ultra (no input selection on long press).
I'm about ready to go back to the TNT Settins apks, but if anyone has any idea why I can't get the log press to invoke input selection, PLEEASE, let me know. Maybe there's some other Android apk that's needed?
Jim
I would like to use the gingerbread or swiftkey keyboards but am having the same issue disabling the TnT keyboard so I can select an alternate.
jimcpl said:
Hi,
No one has responded, but I've been focussing on trying to get Ultra working.
Some things I tried:
- Install from market - No setting to enable it, long press doesn't cause input selection
- I found some comments that problem was because of stock TNT Settings.apk and SettingProvider.apk, so I found some Android apks, and replaced them. - I then got the enable in Settings, but still no input selection when long press on a text box
- I then moved the /data/app/com.binarybulge...apk file to /system/app, and rebooted - Then, in Settings, the enable was gone ...
- I accidentally pressed on Ultra in Myapps on the new market, and a screen with 3 buttons appeared, including a question mark/help button. I clicked on that, which brought up a help doc, and in there, there was a link to open the input selection! I clicked that, got the selection, and selected Ultra. After that, long press still doesn't bring up input selection, but Ultra pops up when I click on any text box,
So, at this point I can use Ultra, but only Ultra (no input selection on long press).
I'm about ready to go back to the TNT Settins apks, but if anyone has any idea why I can't get the log press to invoke input selection, PLEEASE, let me know. Maybe there's some other Android apk that's needed?
Jim
Click to expand...
Click to collapse
People have probably not responded since already asked by others several times. Also, I think people are becoming shell shocked and a tad weary of what Viewsonic is actually doing with the device.
rushless said:
People have probably not responded since already asked by others several times. Also, I think people are becoming shell shocked and a tad weary of what Viewsonic is actually doing with the device.
Click to expand...
Click to collapse
Hi,
Understandable ...
But, I've been continuing to work on it, and I think I'm close to a workable solution, at least for me.
If you look at my last post above, you'll note that I can use alternate keyboards now, but the long press thing on a text box doesn't work. I don't quite understand why yet, because that behavior seems like it's suppose to be embedded in Android, since maybe 1.6 or so.
Anyway, so I'm trying to write a small Android app that will cause the input method selection menu to pop up. I just got that working, but I've hacked a few things like the Settings/SettingsProvider apks earlier, so I want to go back and re-do things to see what works vs. doesn't work.
Once I get all that done, and it hopefully works, I'll post info and my app/apk.
Jim
P.S. Reminder: This messiness is apparently only with TNT/TNT lite, as the other NON-TNT firmware works "normally" (enable in Settings then long press in text box).
I am sure you already tried this but I will say it just in case
Did you tried going to "settings" - "language & keyboard" - find the keyboard your using and enable it by the checkbox on the right?
then you go to any text input box like the market search box and long press to get the "input method" option.
jonagpa said:
I am sure you already tried this but I will say it just in case
Did you tried going to "settings" - "language & keyboard" - find the keyboard your using and enable it by the checkbox on the right?
then you go to any text input box like the market search box and long press to get the "input method" option.
Click to expand...
Click to collapse
That doesn't work like that in stock TNT .
After install, you can't enable it in stock Settings. Also, even when I switched to vanilla Android Settings, which allowed enabling, long press on text box doesn't bring up input method selection.
Jim
Anyone come up with a solution? I still cannot use an alternate keyboard within TnTLite 3.0.
http://forum.xda-developers.com/showthread.php?t=842004
Long press isnt working with TnTlite 3.0. Look at the last item in the changelog.
1. Root it
2. Load Vegan ROM (comes with Android 2.3 keyboard)
3. After loading an alternate Keyboard (I like SwiftKey) & enabling in settings, select input method as you normally do in Android.
Hi,
I think that my small app is working, at least on my Gtab, but I'd like to get a couple of people to test it, and then if it's ok, I'll post it as an attachment.
It'll come as an apk, that you just install. When you click on the app, it causes the input selection menu to pop up.
If anyone is interested, pls pm me.
Jim
jimcpl said:
Hi,
I think that my small app is working, at least on my Gtab, but I'd like to get a couple of people to test it, and then if it's ok, I'll post it as an attachment.
It'll come as an apk, that you just install. When you click on the app, it causes the input selection menu to pop up.
If anyone is interested, pls pm me.
Jim
Click to expand...
Click to collapse
I'm ready to give it a try I also have stock UI
beepoo83,
I pm'ed you a link.
Jim
Hi,
I haven't heard from anyone except beepoo83. Anyone else interested in trying it?
Please advise.
Thanks,
Jim
I will give it a shot
kibana said:
I will give it a shot
Click to expand...
Click to collapse
Thanks! I just sent you a pm w/the link. Please let me know how it works for you? I'm still new to Android and Android development, so "be gentle" . If this works OK for you all, I'll post the link in this thread.
Jim
Here is what I did.
installed the app you sent
installed free ultra keyboard
reboot the gtab
went to settings just to confirm that alternate keyboard entry does exist but can't be selected
Long pressing any text box brings pop-up with two entries 1. Edit text 2. Input method. Selecting input method just shows tnt keyboard entry and not the alternate ultra keyboard
So I would say it is not working out for me...or I am missing something...let me know if you want me to try something else
Oh...I just realized that your app might only work on stock UI and not on tnt. 2.0...is that the case?
Kibana,
I think there are a couple of things/problems that we're dealing with here, including some stuff that I don't understand 100%, but let me try...
My understanding is that the problems with keyboards is only with TNT or any TNT derivatives. Since you're on TNT lite, I'd expect your system to behave similar to mine, with respect to this.
First of all, not being able to enable (in your case) Ultra keyboard, in Settings. Actually, if your system works like mine, you can check the radiobutton, but it doesn't "stick". From searching, my understanding is that is because thy TNT Settings or SettingsProvider apks are missing something that is not missing from the standard Android Settings.
I know this for sure, because I found another Settings/SettingsProvider apk set, that does make the keyboard setting stick.
I don't know if that matters now on my system, because even after I switched back to the original apks, I can install new keyboards, even tho I can't check the button in Settings.
Second, I had seen info that when you install a keyboard, they got put into /data/app, but needed to be in /system/AOL, instead.
In my case, I did that (copied the keyboard apk from /data/app to /system/app), BUT, I am not 100% sure that is needed. The reason I say that is I can install (for example) the ultra apk now, and without moving files, if I click on InputPicker, I will get the popup that let's me choose a keyboard, including ultra.
Third, I think that I forgot to say: AFTER you install InputPicker.apk, you need to click on the InputPicker icon and this will force the input selection menu to popup.
In other words, anytime you want to select a keyboard, click on the icon. Once you select a keyboard, your choice should stick until you force a selection again.
So, did you click on the InputPicker apparently icon after the installation was done?
Sorry for the long post, but even for something so trivial, there's a lot of moving parts to this !
Jim
kibana,
I did another set of tests. This is with the original TNT Settings apk.
I installed two more keyboards from market (slideit and swiftkey).
As you have, they appear in Settings, but I can't enable them.
When I ran InputPicker, only the 2 original keyboards appeared, even after reboot.
Ok, then I copied the apks (com.dasur.slideit... and com.touchtype...) from /data/app to /system/app, and then rebooted.
Then I ran InputPicker, and VOILA, i GOT ALL KEYBOARDS.
So, to summarize, in your case, I think you need to copy the com.binarybulge... apk from /data/app to /system/app. Make sure the permissions are ok, rw-r--r--, then reboot.
If I'm understanding your post, you already get the popup when you long press in a text box, so you shouldn't need my InputPicker app.
I wrote the app because on my Gtab, running stock TNT, I don't get the popup when I long press.
Jim

[SOLVED] Anyone Know How...

Okay, so I want to be able to do a couple of things. The first is nagging me, as I'm sure there's a way to do it, the second I'm not so sure about.
1) I want to be able to access the multi-tasking/Recent Apps list from anywhere. My idea is to push and hold Menu to get it to pop up, since Home uses Google Now when it's pushed and held. I know there was a way to do that with the search key back when we had 4 keys using LaunchKey, but I can't find anything to let me assign push/hold functionality to Menu. I'm rooted, so I'm sure there's a way to do this...
2) This I'm not so sure of. Because of the charging port being on the side of the phone, it works best in my car when it's held in a landscape orientation in my windshield-mounted dock. This is great for everything except one thing: the dialer. I know in most AOSP custom ROMs I've used on other phones, the dialer rotates with the phone. Since I've rarely stuck to stock on a phone before, and we're kind of forced to here, is there a way to get the dialer to rotate?
chrisliphart said:
1) I want to be able to access the multi-tasking/Recent Apps list from anywhere. My idea is to push and hold Menu to get it to pop up, since Home uses Google Now when it's pushed and held. I know there was a way to do that with the search key back when we had 4 keys using LaunchKey, but I can't find anything to let me assign push/hold functionality to Menu. I'm rooted, so I'm sure there's a way to do this...
Click to expand...
Click to collapse
Double tap the home key brings up the recent apps.
Sent from my HTC first using xda app-developers app
1. What jonslice says.
2. Download another dialer in the play store.
Holy crap. I feel so stupid now. How did I not know that? LOL
And yeah, downloaded another dialer. Forgot I could do that (since I've never really done it before). Thanks guys!

[APK][LG-D415] LG-D415 QuickButton Editor

This little utility application is designed for assigning a custom action to the QuickButton on the LG Optimus L90 LG-D415. This application is only for LG-D415 devices.
After flashing a custom ROM we basically have a useless button on our device. In my CM11 ROM, selfless plug LOL, I assign a WAKE action to the QuickButton which, when pressed, will wake the device. So the button's not completely worthless. This application was obviously written for LG-D415 users running custom ROMs but it may, as in maybe, work on stock as well.
Anyway in response to a thread that was created recently and also after having thought about it previously, I decided to write this app.
The application is not signed and does NOT have any kind of advertisements. The only requirement is ROOT privileges as it must write to a system file. You will be prompted for root confirmation when the app is launched for the first time, this also depending on how your superuser is set up.
This application modifies, actually replaces, /system/usr/keylayout/gpio-keys.kl. The application will back up your original gpio-keys.kl only the first time you Apply a custom action. That way you still have your original file in case of error. The back up is saved in the same folder as "gpio-keys.kl.bk".
Have fun!!!
I used it. It works. The button now bring up my camera. D415
shinobisoft said:
This little utility application is designed for assigning a custom action to the QuickButton on the LG Optimus L90 LG-D415. This application is only for LG-D415 devices.
After flashing a custom ROM we basically have a useless button on our device. In my CM11 ROM, selfless plug LOL, I assign a WAKE action to the QuickButton which, when pressed, will wake the device. So the button's not completely worthless. This application was obviously written for LG-D415 users running custom ROMs but it may, as in maybe, work on stock as well.
Anyway in response to a thread that was created recently and also after having thought about it previously, I decided to write this app.
The application is not signed and does NOT have any kind of advertisements. The only requirement is ROOT privileges as it must write to a system file. You will be prompted for root confirmation when the app is launched for the first time, this also depending on how your superuser is set up.
This application modifies, actually replaces, /system/usr/keylayout/gpio-keys.kl. The application will back up your original gpio-keys.kl only the first time you Apply a custom action. That way you still have your original file in case of error. The back up is saved in the same folder as "gpio-keys.kl.bk".
Have fun!!!
Click to expand...
Click to collapse
Is it possible to change it to a custom app?
blondgod said:
Is it possible to change it to a custom app?
Click to expand...
Click to collapse
No, I dont think so, mainly because I'm having to use key ids that are pre-defined. I will dig in to it a little deeper tho.
Sent from my LG-D415 using Tapatalk
After some more digging I've determined that there is no way to define a custom application to be called by the QuickButton. At the moment, the only way I can think of to possibly do this is to have a background service running to "listen" for the QuickButton presses and then launch the appropriate activity.
In reality, at the moment in any case, all this app does it trick the system in to believing that the QuickButton is actually the button whose action we assign to it belongs to.
I also found two more actions I missed, "Search" && "Bookmark". Haven't tested "Bookmark" yet so I'm not sure what app it opens. LOL. Will know shortly tho
I've also considered adding "Home" and "Menu" to the list as well. Thoughts?
I like the ideas, I just really liked to set the button to open up my messages.
I really like the app though. Plain and simple.
Sent from my LG-D415 using Tapatalk
blondgod said:
I like the ideas, I just really liked to set the button to open up my messages.
I really like the app though. Plain and simple.
Sent from my LG-D415 using Tapatalk
Click to expand...
Click to collapse
If I find a way, I'll let you know
As for the "Search" and "Bookmark" I mentioned earlier, ehhh, no go. They don't do anything.
OP updated with new version - 0.1.1
[ CHANGES ]
- Removed redundant code
- Significant improvement in speed for writing changes to gpio-keys.kl.
- Application is now setting permissions, ( 0644 ), for gpio-keys.kl as well.
shinobisoft said:
After some more digging I've determined that there is no way to define a custom application to be called by the QuickButton. At the moment, the only way I can think of to possibly do this is to have a background service running to "listen" for the QuickButton presses and then launch the appropriate activity.
In reality, at the moment in any case, all this app does it trick the system in to believing that the QuickButton is actually the button whose action we assign to it belongs to.
I also found two more actions I missed, "Search" && "Bookmark". Haven't tested "Bookmark" yet so I'm not sure what app it opens. LOL. Will know shortly tho
I've also considered adding "Home" and "Menu" to the list as well. Thoughts?
Click to expand...
Click to collapse
So i can choose any app on my stock rom
xantanion said:
So i can choose any app on my stock rom
Click to expand...
Click to collapse
Running stock, there is really no need for my application. As much as I hate to admit it, LOL. At this point in time, no, the only choices are they default apps I have already listed in the application.
I believe in order to implement the ability to launch ANY activity ( APP ), I will need to create a background service to listen for QuickButton presses and then act accordingly. This is still theoretical, but from my programming experience, seems to be the only answer. Granted, I'm a Windows programmer, so there may be something I'm missing or overlooking too. LOL.
Oops... Sorry folks, I made a boo boo with my last uploaded version. There was still an entry for "Bookmark" in the radio button choices. "Bookmark" doesn't do anything. LOL.
New version added to the OP
I may have found a way to allow the QuickButton to open "ANY" application. I'm in the middle, well almost finished, of another project. Once I get a chance, I'll experiment with my latest findings and will let everyone know
Will this work on Lollipop? I'm assuming so but just wanted to make sure before I Install it. If it does, that would be awesome because this useless button is bothering me haha. Either way, great work man.
Suicide_Machine said:
Will this work on Lollipop? I'm assuming so but just wanted to make sure before I Install it. If it does, that would be awesome because this useless button is bothering me haha. Either way, great work man.
Click to expand...
Click to collapse
Sorry, afraid not. Key layouts change in 5.0 and I haven't had time to update the app.
How about making it a screenshot button as well?
LupusGallus said:
How about making it a screenshot button as well?
Click to expand...
Click to collapse
No promises, but I'll see what I can do.

Categories

Resources