Power and logout options from Win+X menu - Windows 8 Development and Hacking

If you use Windows 8, you may miss the options in the Start menu such as shut down, restart, logout, etc. Well, my program brings them back! Once installed, you can click in the bottom left corner of the screen (or use the Win+X keyboard combination), then select Shut down from the menu. This brings up a program with the following options:
Shut down
Sleep
Restart
Sign out
Switch user
Lock
{
"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"
}
Just download it from the link below, extract it to wherever, then run Setup.exe
I have tested it, and I've had a friend test it, and it works. If it doesn't work for you, please tell me, and I will try to help out as best as I can.
UPDATE: Since uploading this, I've tested it on another PC, and the shortcut isn't being created. I am looking into this, but in the meantime, you can install my program, then use WinAero's Win-X Menu Editor to add a shortcut to the menu. You can download the Win-X Menu Editor from here: http://winaero.com/download.php?view.21

Could you please provide some more info on how this works? Hacking the Win+X menu, that's awesome... but please don't just give us an opaque binary that I'm going to have to decompile before I can be sure it won't mess something up (on a system that I can't afford to use as a guinea pig). Either provide some info on how the hack works (as simple as "it modifies registry key [foo]), or the source code, please!

GoodDayToDie said:
Could you please provide some more info on how this works? Hacking the Win+X menu, that's awesome... but please don't just give us an opaque binary that I'm going to have to decompile before I can be sure it won't mess something up (on a system that I can't afford to use as a guinea pig). Either provide some info on how the hack works (as simple as "it modifies registry key [foo]), or the source code, please!
Click to expand...
Click to collapse
The power options part is just a program I put together in Visual Studio, it's just a form with some buttons. The other program, which puts the shortcut to the power options in the Win+X menu, is something I found in an article on Cnet about customizing Windows 8. No registry entries are modified, it just adds a shortcut to the folder C:\Users\%USERNAME%\AppData\Local\Microsoft\Windows\WinX. There's nothing to worry about.

Cool, thanks for the info! That's awesome.

I've stopped working on this as I no longer have any use for it (I'm now using Stardock's Start8). I am still happy to answer any questions and may provide the original files if requested.
Sent from my GT-I9305T running CyanogenMod 10.1

Related

Organizing "All Applications" section

I've installed a lot of programs on my SD card for my Rhodium Touch Pro 2 (RHOD400 so sadly still 6.1 until a HardSPL or the update from HTC for 6.5 comes out
Is there a way to, say, create a folder that would display in the Manilla All Programs section for Games, etc so I don't have to scroll through the whole list or tell a friend if what they are asking about is a game or not?
I went into /windows/start menu/programs and see it already has a folder called Games but Manilla isn't displaying it...
Any help is greatly appreciated!
If you are talking about the All Programs softkey through the Touch Flo/Manila interface, there is no way to put folders into it. Its supposed to simply list your applications in alpha order.
I'm unaware if there are any hacks/tweaks that can change it, but that's the way HTC built it. I suppose they weren't expecting anyone to have so many applications. Haha.
Organizing applications
Hi. You can organize applications in your Start Menu!!!
First download and install Total Commander from links below:
install with activesync:
http://ghisler.fileburst.com/ce/tcmdpocketarm.exe
install from phone: http://ghisler.fileburst.com/ce/tcmdpocketarm.cab
Now you have this application in your start menu
Start the application and go to the folder: \Windows\Start Menu\Programs
Create the folders needed and move (or cut/paste) your shortcuts to the folders as you like...
@6sto - The original poster seems to be aware of how to edit the "\windows\start menu\programs\games\" directory. He appears to be asking about how to get this directory link to show up in the HTC Start Menu rather than the original Windows Mobile Start Menu.
@ijustwantthedownload - What you're asking for never occurred to me. But it's actually a pretty good idea. But as prjkthack suggested, there's no easy way to do it. But fortunately, I came up with something that just may be exactly what you're looking for.
(You'll need a registry editor for this)
1. Do what 6sto said. Basically, organize your Games links into the "\windows\start menu\programs\games\" directory.
2. Browse to "HKLM\Software\HTC\Manila\ProgramLauncher\" in your registry. The numbered folders here correspond to slots on your HTC Start Menu. 0 is the top right slot, 1 is the one the right of that, and so forth. Pick a folder that corresponds to an empty slot.
3. Edit the following keys:
DispName: Games
Path:\windows\start menu\programs\games\
Check out the results:
{
"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"
}
Note: I installed this 4 Columns mod. But it'll work without it as well.
Thanks Mate !! This helped me a lot. Now i dont have to scroll down for hours, till i reach the app i want !!

[GUIDE] Remove Developer Preview Branding

This should work with x86 and x64 but my current setup is Windows 8 DP 64bit
Please turn off User Account Control before continuing!
This guide comes at no warranty of compatibility, by following this guide you agree to any subsequent damage that may occur from misuse.
Here are some interesting things
Windows 8 themes
(will add more links later, or on request)
Now to remove (hide) the Microsoft Confidential watermark and completely remove the build number and branding from the desktop..
Normally it would look something like this
{
"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"
}
With my method you see this:
Limitations: A custom wallpaper must be used, the background of the wallpaper must be a solid color (white/black)
Find a wallpaper on Google images with a black or white background.
Save it to a safe place you remember
Right click Desktop>Personalize>Desktop Background
In "Picture Location" choose Solid colors
If your custom wp background is black choose a white color, if it is white choose black (Windows knows what color the background is of a set color and will try to counterbalance it by changing the font color)
Now find the location of the custom wallpaper and set it.
The text should be hidden now
How to remove/change the Windows branding from the login screen
tl;dr file you want to edit is in "C:\windows\branding\basebrd\basebrd.dll"
Get Resource Hacker
Download "Take Ownership" This will allow you to unlock files so you can replace them without Windows getting protective
Right click on TakeOwnership.reg and click "Merge"
Install ResourceHacker
Navigate to "C:\windows\branding\basebrd\" in Windows Explorer
Right click on basebrd.dll and click "Take Ownership"
Open ResourceHacker and navigate to "C:\windows\branding\basebrd\"
Open basebrd.dll
Expand the "BITMAPS" section
Take note of the file format, they are Bitmaps
AFAIK 120 and 121 control the LoginScreen text
right click and Save the resource as a .bmp file
edit the image and modify it to your needs
Right click on the 1033 of either 120 or 121, click "Replace Resource" and choose the corresponding image you want
Save the new basebrd.dll file to a new location
Open "C:\Windows\Branding\Basebrd" and move new basebrd.dll to the folder with old basebrd.dll in it.
Dude, does this work with the latest build 8102?
barryhamsy said:
Dude, does this work with the latest build 8102?
Click to expand...
Click to collapse
Developer Preview is 8102
meaning to say this trick works? i dont get it.let me try when i get to my other pc.at work.lol
barryhamsy said:
meaning to say this trick works? i dont get it.let me try when i get to my other pc.at work.lol
Click to expand...
Click to collapse
yes this will work with it

Defy Buttons Problem

Hello everyone.
I have a really wierd problem with defy's buttons (menu, home, back, search). They stoped working at all.
So for a couple months I have been having strange problems with the buttons. It looked like home button was pushed and app drawer was opening/closing really fast. Reset has helped, but temporary.
And about a week ago the buttons stoped working at all. I tried to flash another ROM (official 2.2), but it didn't help.
And now I don't know what to do. I goggled it, but there is no information about such problem.
If somebody can give an advice, please let me know.
Thanks.
Nobody ? That's sad. XDA was my last hope) Well, I guess I will sell it for parts.
try doing an sbf. if that doesn't work, then there is hardware issue.
edit: dont know if you already did..since you said you flashed an official 2.2 rom..
Don't know if this will work but it won't hurt to try
http://www.box.com/s/6znns5pjdttqk8y6vm8c
Download the files and android commander search it up. It's easier than manually using adb commands.
Connect your phone to pc and make sure usb debugging is on
In android commander navigate to system/usr/layout
Then click on push on the toolbar in android commander
Select the files you downloaded then right click on each file that you just added then click on properties
make sure each one looks like this
{
"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"
}
Maybe this will fix your buttons?
from http://android.site666.info/indextricks.htm :
home key, search button, security lock, power button options: repair them
Some phones do strange things at random: your home and search buttons stop working, your security lock won't load (leaving your data wide open), and if you hit the power button then reboot is your only option, because silent mode and flight mode are missing from the list.
There's nothing wrong with the buttons on your phone, but there's something wrong with the software that controls them.
• Fix: backup your apps and data, reset your phone to factory settings, restore your backups.
Make sure you have a full backup or two and check that the backups work before resetting your phone.
Click to expand...
Click to collapse
Turn lockscreen off
Sent from my MB525 using xda premium

[Q] Need help to configure keyboard...

Managed to install the Samsung Chinese IME, however, when I click on the "settings" button to activate the popup to get to the mic , error appeares that "Samsung Chinese IME has stopped working".
Since the voice input button shares the button with other functions, so you have to long press the settings button, select the mic icon and then the mic icon will stay there in that place.
{
"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"
}
(see screenshot)
Thus I can never have the MIC button as the default button, since it cannot be activated by any chance.
I did some research and found out that this button is called DefaultMultiModalKeyAs
<Cs</CSCFeature_Sip_DefaultMultiModalKeyAs>
Can someone tell me, where this default setting for extra installed keyboard on S4 mini is saved? Maybe in a .xml file?
Thus I can change the setting in the .xml file manually with a text editor?
Thank you very much!
anybody help please?
thank you.
You need to add the following in your features.xml
Code:
<CscFeature_Sip_DefaultMultiModalKeyAs>VOICE</CscFeature_Sip_DefaultMultiModalKeyAs>
These features can be found in /system/csc/feature.xml
Some users have reported on being on a rom that does not have feature.xml. If you are one of these you may try adding the code to /system/csc/others.xml (same directory).
For help on how to add it, see [CSC features] Enable secret CSC features on Note II in my signature.
PS: I dont know i this will work on S4. I dont have one.
kkoolpatz said:
You need to add the following in your features.xml
Code:
<CscFeature_Sip_DefaultMultiModalKeyAs>VOICE</CscFeature_Sip_DefaultMultiModalKeyAs>
These features can be found in /system/csc/feature.xml
Some users have reported on being on a rom that does not have feature.xml. If you are one of these you may try adding the code to /system/csc/others.xml (same directory).
For help on how to add it, see [CSC features] Enable secret CSC features on Note II in my signature.
PS: I dont know i this will work on S4. I dont have one.
Click to expand...
Click to collapse
Hello!
Thank you so much.
this command line is built in already for the SAMSUNG deafult keyboard at /system/csc/others.xml.
however i can i apply this setting to the Chinesse Samsung Keyboard?
Thank you!

New to OS, serious file management issue

Hey everyone. Since I am new to Lineage OS (18.1), I have been reading many of the threads here hoping to learn from others, mistakes and knowledge. But recently I have had an issue with file management. Originally I was going to post a thread asking how I can delete or at least disable the native Files app, but after reading a few threads on a similar subject, I realize I would be heading into issues if I did successfully delete it. So, instead I will explain the issue(s) I am facing and then see what any of you educated peers (and in the past, lifesavers) have to offer for advice. I love this OS so I don't want to have to go back, but if I can't resolve this issue, I have no choice.
Okay, so the native files app cannot see the /emulated/Android/data or /emulated/Android/obb folders at all. Every other file management app I have installed (too many actually) can see those folders which would be fine but there are a few apps asking me to approve access to those folders or subfolders therein, and it ALWAYS opens the native Files app to accomplish that. So there are a few apps I cannot use at all till I can figure that part out.
{
"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"
}
Also, I am a heavy user of the Autosync app and every new device I install it in, on first run, in the settings, I need to Enable Write Access. Pressing that again, ALWAYS opens the native files app. Although the native Files app can see the SD card/External Storage, the Use this Folder button is greyed out and when I attempt to press it anyways it states, "Can't use this folder - To protect your privacy, Choose another folder".
I am sure there is an easy way around all this but it is becoming annoying, to be as nice as possible. I hope I am just overlooking something cause I would rather feel like a n00b dumbass instead of having to lose this new (to me) and wonderful OS, or even worse, lose access to several frequently used apps. Thanks for reading and more thanks if you are able to help!

Categories

Resources