yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Themes and Apps] Mark Crouch:
Are you kidding :eek:

That's like asking if M$ can put a desktop icon to "reformat your hard disk and re-install a copy of Windows"

The procedure to hard reset is intentionally awkward - requiring the use of both hands, both feet and an elbow......ain't no way I'd want a big red button that could do that - all it would take is some numbnuts to nudge you when you're hovering over the "Turn screen off" button and blammo!!!

Dave....please don't even think about thinking about this :D

Mark.
[Tilt, TyTN II, MDA Vario III Themes and Apps] dsixda:
Actually, this option is in psShutXp, although hidden in the top right corner. If you click it, it will say "Are you sure you want to do a hard reset?".

It might be useful to a few people ;-)
[Tilt, TyTN II, MDA Vario III Themes and Apps] Mark Crouch:
OK...my bad :)

I didn't know it was a hidden option in psShutXP - probably just as well :D - so now you've told a few hundred other people too!!

Admittedly, this could be useful to the "flash junkies" in the community, but it would have to be hidden/obfuscated so it couldn't be selected by accident/nudge/inquisitive child :D

Me, I'm quite happy with the contortionism required to do it manually!

Mark.
[Tilt, TyTN II, MDA Vario III Themes and Apps] Blowfish64:
Well obviously it would need to have a confirmation box pop up, unlike the other buttons. And yes, this is indeed in psShutXP and I have indeed used it several times. As for it being hidden, since this is going to be a skinnable program, that could be left to the discretion of the skinners ;).
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
No updates, didn't get time to get on last night.

There's the clear storage in Settings>System that does the equivelant of a Hard Reset. I'm not sure on the code to Hard Reset, I might add it in a later version.

Personally, I just use the Key Press combiniation.

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] asofiker:
I'm not sure, but I think it might be

31#"\Windows\ClearStorage.exe", "ClearStorage")
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
I meant other than calling Clear Storage. :p

But, yeah I could try that.

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] joel2009:
is there a way to map this through a reg edit or whatever to the power button instead of the windows prompt you normally get on long press
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Use Schap's advanced config and map it to the Long Press Power and Tada :)

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] dsixda:
Rename it to PowerOffWarning.exe and copy to Windows folder.
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Please don't :(

That's how I shutdown the phone. Without PowerOffWarning.exe I cannot shut down the phone.:D

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] asofiker:
Hey Dave, what command are you using in your app to put the phone to sleep?
[Tilt, TyTN II, MDA Vario III Themes and Apps] joel2009:
thanks hadn't seen that before in there....... but i found it :)
[Tilt, TyTN II, MDA Vario III Themes and Apps] dsixda:
But we use your app to shut down the phone ;)
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Yeah, and my app calls PowerOffWarning.exe when you click shutdown.

MS and/or HTC removed the API call :(

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] dsixda:
Doh! Didn't try that. psShutXP can do that - it calls GwesSPowerOffSystem I think.
[Tilt, TyTN II, MDA Vario III Themes and Apps] dsixda:
Dave, anything new with your program so far? Are you still working on it?

By the way, is it possible to make "Light Off" the default rather than "Sleep"? Because, most people will press the power button to put it into Sleep/Standby. If they want to turn the Light Off they can use your program.. but they'd need to go into Settings to change that property first.
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Nothing new this weekend, had to help lay a garden.

I'll swap the default over in the next release.

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] Blowfish64:
Been over a week since last post, anything happening yet?
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
I finally found some good C++ UI sample code last night so I am gonna try and throw up a Native C++ UI in the next few days.

Although the load speed of 0v01c on the my current ROM isn't too bad :)

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] Blowfish64:
How's this coming along?
[Tilt, TyTN II, MDA Vario III Themes and Apps] Blowfish64:
So apparently, it's not :(
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Oops sorry, I forgot to reply the other day.

I got side tracked, I'm not the great developer like Sunscape and A_C who can keep firing out updates. :)

I'll try and get some work done when I can.

Appoligies to all waiting a fast decent version.

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] Blowfish64:
So anything happen since last month?
[Tilt, TyTN II, MDA Vario III Themes and Apps] Lancelot94:
Hi there,

This app is very promissing, I hope you'll get something going.

I love it.
[Tilt, TyTN II, MDA Vario III Themes and Apps] sapateira:
Warning

Hi, thank for this great app.

I would just like to sugest a warning message with confirmation option (YES/NO) when you press shutodown or reset, inorder to prevent accidental screentaps when runing the app.

Regards
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Thanks for the feedback, I'll consider it if I ever make any progress. (I still need to spend some more time with C++) :p

EDIT:

Shutdown, should have a warning. It calls PowerOffWarning.exe on your phone, if this doesn't show a warning I don't know. I am still looking for a way to make my own shutdown process, but I think it is impossibe.

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] brack11:
hi I have hp 614c with wm6, downloaded you programm today and... no luck it fires exception when i try to shut down. I realized that my phone DOESNT HAVE poweroffwarning.exe file at all, I can still turn off the phone completele through pressing long time power button. I downloaded poweroffwarning.exe and put it to the windows folder, exception is not firing anymore, BUT phone just goes to sleep instead for shutting down, of course i get warning about data loss before, and I have to say yes, but phone goes to sleep. When I long press power button it still does shutdown, and shows dialogue but the sentence in original dialog is different from that in poweroffwarning.exe which makes me think there is yet another file on the system that replaced poweroffwarning.exe function. Do you have an idea how to find which file started when long press power button? :confused:
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
If you run task manager (the dotfred one with a process list) before and after long pressing the power button you should see what the process is.

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] brack11:
Just tried to run task manager with pocesses tab here is a result:

Before long press:

taskmr
pword
cprog
vcdaemon
tman
poutlook
connmgr
services
shell32
gwes
device
filesys
nk

after long press I see warning dialog, without closing it, I press refresh button in proceses and see the following:

taskmgr
pword
cprog
vcdaemon
tman
poutlook
connmgr
services
shell32
qwes
device
filesys
nk

as you can see the processes are identical. But the power still goes off as it should. I'm perplexed...:confused:

But I oticed that during the long press, shell32.exe takes more CPU resources than usually. but if I try to click on this file in windows folder, the phone is hanging, only powerOff and powerOn helps.
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
No idea, might be something else in the device, I think each deveice has a different implementation becasue MS removed the API to do it, so the PowerOffWarning.exe actually tell's the HW to power off, so each device will need it's own copy.*

*Best guess work.

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] brack11:
Yeah, as I say I tried one PowerOffWarning.exe from 4pda.ru (found only one there) but it would only suspend the phone.

What do you think about shell32.exe activities duringpoweroff though? could this function be inserted there? if so, and I cannot call it from the shortcut, how can I call it from that file? Or shell32 is kind of general library that was not designed for these purposes?
[Tilt, TyTN II, MDA Vario III Themes and Apps] mzshortay:
Question, will this only work on the Kaiser, or will it possibly work on other phones as well?

I was thinking about trying this on my Fuze [Rapheal/Touch Pro]
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
It should work, the Graphics might be a bit off, but in theory it should work.

I still need to spend some time on the C++ version, sorry guys :(

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] nucentury08:
xdashutdown Help

Hey I have the Touch pro And I installed Xdashutdown But the Shutdown button Wont shut down my phone the Softreset Works fine But not the Shutdown What do I do Thanks:cool:
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
It just calls the PowerOffWarning.exe file in the \Windows Directory. Is that file there?

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] WatskeBart:
Great tool

Great tool Dave!

I like this one much more than psShutXP. They should integrate this tool of yours in the Touch Pro Elite ROM ;)
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Thanks mate. Does it work OK on your TP as the last user reported it didn't?

Another feature maybe... raise an error when PowerOffWarning.exe is missing...:p

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] wolframio74:
i know its a little early for this but... can you make it skineable, using a image file like psshutxp, i want it in "spanish" so if is skineable i only need to edit the base image and put "shutdown = apagar" "reboot = reniciar" "sleep = suspender"... regards!
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
I am planning on making it skinable, there are just not enough hours in my day.

Although I am hoping things might get a bit better soon.:)

I'll keep working on it when I can :o

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] djquick:
Looking forward to the new version. I wish I knew C++ but I was a bad kid which kept me out of the good schools:p.
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
I'm finally getting somewhere with the native one. I'm going to make it config file driven for now - I think - instead of having an options dialog.

Very basic Icon replacement skinning will be available from the off, as will an improved "Shutdown" algo.

I'll post a new D&H thread when I get a bit further. I'll probably do a beta here (because it's my quiet corner of xda, and D&H will probably get a little busy).:)

Thanks

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] djquick:
Sounds good Dave, looking forward to it.
[Tilt, TyTN II, MDA Vario III Themes and Apps] NotATreoFan:
A Mod plans to cross-post?!? Boy oh boy... if only I could ban YOU! :D:eek::rolleyes::cool:;):p
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
This isn't even my post if you look :p

I just hijacked it.:D:D

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Right, here we have the first C++ pre-alpha untested use at your-own-risk, blah de blah relaese.

Let's go through the points... :)

This was designed on QVGA screen so any higher and it'll bunch upto the top left.

Shutdown should work on all new HTC devices.... If it doesn't please post your device details and where I might find a ROM (if it's not a device on xda) and I'll look at it when I can (this isn't my #1 priority though, but I'll look at it at some point).

There are two versions:

Sleep = Performs a Device Sleep (i.e. short press power button)

Lights Out = Turns off the display (like S2P does when music is playing).

If you wanna hack the graphics edit the files in the \Program Files\xdaShutdown Folder.

You must keep the images the same size for now.

I am not implementing verioning correctly in the cab files, so always un-install before installing.

The next job is to introduce a config file that will let you specify more options for skinning and a config file for the app's options.

I am calling this R1 release

EDIT:

Re-uploaded CABs with the correct %InstallDir% :o

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] gigafun:
Hi Dave!

Thanks for your work.

I've installed it immediately, and had some problems. First my device freezed after install, had to softreset. Then it was ok, but no images in the program. Otherwise power off and softreset is working and it's much more faster then the old one.

I'm using Garmin DK.3. ROM.

Thanks

Gigafun
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Not sure about the freeze. The CAB contains 4 images and an exe.

If the program doesn't show images, have a look in \Program Files\xdaShutdown\ for 4 images called Sleep, Restart, Shutdown and Cancel.

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] gigafun:
That's the problem. I think you set a wrong path in the cab-maker. On my Kaiser it's installed into "\Program Files\DaveShaw\Your Application Name".

Gigafun

ps:

I've changed the path and it's working perfectly.

I can upload it if you don't mind.

Thanks for your work.
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Doh, I though I fixed that. I'll double check both CABs.

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Re-uploaded CABs with the correct %InstallDir% :o

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] Major_Sarcasm:
What a great app :) Thank you. Works great, no confirmation for shutdown, sleep is fine and SR works too.

I've attached a screen of what it looks like on my Touch HD. If you ever find the time, a slightly larger or WVGA version would be sweet ;)

I assume that I can't just make the images bigger as the screen taps would be off?

Cheers fella.
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
You can't make 'em bigger in R1.

But I have already implemented some changes to draw the buttons based off the image sizes. Now I need to write config file support so that the images can be drawn to user specified locations (otherwise the buttons will still have the same top-left anchor). I know someone with a Diamond and a HD so once I have a config file system written I'll create some themes for QVGA, VGA and WGVA).

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] NotATreoFan:
I'll happily test it for you on my Touch Pro...
[Tilt, TyTN II, MDA Vario III Themes and Apps] Major_Sarcasm:
Cool beans. Thanks. I'll keep an eye on this thread :)
[Tilt, TyTN II, MDA Vario III Themes and Apps] Link278:
I didnt read through all of the pages bu tdid read for a while so im not sure if anyone mentioned this but this also looks like it would be a nice replacement:

http://xdaforums.com/showthread.php?t=462361
[Tilt, TyTN II, MDA Vario III Themes and Apps] Turley:
App looks nice,

although all im after though is an app that will power off the display so i can put a shortcut in my programs menu, anyone know of a way?

EDIT: I already use psshutxp but i hate having to hold the power button for 4 seconds before the menu appears to shut off the display, just the "Turn off display icon" in the start menu would be nice
[Tilt, TyTN II, MDA Vario III Themes and Apps] leak73:
I am wondering if there is a way so that I could assign a button so that a short press will make the device sleep, and a long press for a reset. Is there a command that can be added to a shortcut to this program?
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
If I added command line support (which I plan to do). Then you could use AEButtonPlus to accomplish this.

@All,

Sorry for the lack of updates, there is a problem with the XML parser I am using that the author is looking in to.

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] dirtydizzle:
Very nice work.. I'll be subscribed!!
[Tilt, TyTN II, MDA Vario III Themes and Apps] l3v5y:
Not sure if this has been spotted yet, but with the "new" finger friendly PowerOffWarning from the Topaz/Rhodium

#\Windows\PowerOffWarning.exe SILENT_MODE

will shut the device down without a warning shown...
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Thanks mate, I'll try it on my Kaiser and if there arn't any problems I'll call it with the extra param on all devices.

I am calling the shutdown DLL, if that doesn't exsist I call poweroffwarning, and if that doesn't exist, I show a message box saying "I give up" :p

P.S. this XML parser is really p'ing me off now, I'm off to bug some of the senior devs on here... :D

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] l3v5y:
What XML parser is it?
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
http://www.codeproject.com/KB/recipes/FlexibleParser.aspx

I have a post on his forum, but he needs to get his phone back before he can debug it.:rolleyes:

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] l3v5y:
Oh cool...

I've been using TinyXML for some XML things, though that seems a far easier to use system... I wish I'd seen that! :S
[Tilt, TyTN II, MDA Vario III Themes and Apps] btonetbone:
This is amazing and exactly what I was looking for! The Shutdown feature works perfectly on my Titan. I noticed that the icon is blank for this, though. Are you still working on this?
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Yes I am working on it most nights.

I think it's getting there now.

Ta

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
An update for those of you stragler's that are still following this...

My C++ version is working.

Features are:

Fully Skinable (All 4 Buttons, BG Image or BG Solid Colour)

Command line support

An Icon (Big deal if you know me ;))

QVGA and WVGA icon set. (I'll do a VGA one before release) - They are poor quality graphics so I'll see if round up some fancy skinners to make this app worthwile.

Partial Full Screen Support.

I'm now just trying to tidy up the code, add some features to make the app complete (for example, it still has the C++ hello world buttons at the bottom).

But it's getting there :).

Dave
[Tilt, TyTN II, MDA Vario III Themes and Apps] btonetbone:
Great! I'm looking forward to it. This is going to replace psShutXP in my bag of tricks. :-)
[Tilt, TyTN II, MDA Vario III Themes and Apps] Lancelot94:
I love this app. It's in my Diamond2 since the beginning and I used it on my Cruise

I am trully waiting for the release for VGA :)

Thank you.
[Tilt, TyTN II, MDA Vario III Themes and Apps] DaveShaw:
Finally... it's out here : http://xdaforums.com/showthread.php?t=544016

Dave
[Samsung Galaxy Note 20 Ultra Questions & Answers] Razvanc95:
Considering the troublesome idle drain of the note 20 ultra and galaxy s21 ultra which for some people is caused by the camera worker wakelock, I am wondering if there is a way to create a bixby routine in order to turn all sensors off when screen is off instead of dion it manually from the developer options toggle.

Or for that matter, it could be any way to automatically disable sensors when screen is off. That could really help. Thanks !!
[Introductions] Chitminko:
What is useful
[OnePlus 5T  Questions & Answers] Tobias101:
Hello,

I would like to install Lineage on my OnePlus5T, as the OxygenOS system does not seem to have an option for the Albanian language. Lineage does.

However, since Wednesday July 28, I have been trying and failing. Here are the steps:

1. Unlock bootloader (worked perfectly.)

2. Flash TWRP (No issue there either.)

3. Wipe Data, System, Dalvik, Cache (All okay so far...)

4. Flash Lineage and Gapps (both worked fine). I'm flashing lineage 18, with the pico gapps package for android 11.

5. Wipe dalvik and cache again, then reboot. But I got stuck on the spinning wheel. I had backed up all the data with TWRP, but apparently restoring it won't put me backk on OxygenOS. The backup must've been corrupted when copying to a computer.

I also erased system and vendor with fastboot, which wiped all else from the phone and then I tried again, still no luck.

I have tried flashing OxygenOS again, and that now gives me "zip trebble compatibility error, invalid zip file format".

But all partitions were empty, before flashing the system. What have I done wrong? Or what should/can I try to get the system installed?

Many thanks for any help... Sorry for the long message.
[OnePlus 5T  Questions & Answers] dedq:
Hmm. Did you try without flashing GAPPS? How would your phone behave with system being flashed only?
[OnePlus 5T  Questions & Answers] Tobias101:
I feel that could work. However, just before I do, I should ask, does Lineage have the core google apps already installed? Google play, etc? If so, I'll give that a try at my earliest convenience.

Many thanks for the help.
[OnePlus 5T  Questions & Answers] dedq:
Lineage doesn't have anything related to Google. It's totally debloated.

Give flashing without GAPPS a try and you will be able to identify the problem.
[OnePlus 5T  Questions & Answers] Tobias101:
If this works, how would I be able to get the google apps installed? Would I need to try a different gapps package, maybe?

Many thanks again, and sorry for all the questions.
[OnePlus 5T  Questions & Answers] dedq:
First see if it works at all after flashing system and we will see after it.
[OnePlus 5T  Questions & Answers] KeinePanik:
It's always worth an attempt to boot after flashing system only. If your phone boots you should reboot to recovery and flash your Gapps. Hopefully your phone wool boot again then.
[OnePlus 5T  Questions & Answers] Tobias101:
Thank you so much, I'm going to give that a try when I can.
[OnePlus 5T  Questions & Answers] Tobias101:
Hello,

The system booted without gapps, but didn't boot with it. So I downloaded the nano package, which was the only other available one for android 11, and it now works flawlessly.

Many thanks for all the help!
[Thinkpad Tablet Android Development] adazem009:
​

*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned

crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today

Android 11 update: https://xdaforums.com/t/rom-unofficial-11-0-tb8504f-x-crdroid-7-x-for-lenovo-tab4-8.4473173/

Features:

https://github.com/crdroidandroid/crdroid_features/blob/10.0/README.mkdn

Flashing Instructions:

Pre-installation:

gapps (Download from here)

Magisk 20.0 or newer for root - (Download from here)

First time installation:

Boot a custom recovery

Format data, cache and system

Flash ROM

Flash GApps (optional)

Flash Magisk for root (optional)

Reboot

Update installation:

Boot a custom recovery

Flash new build

Reboot

Sources:

ROM: https://github.com/crdroidandroid

Device sources: https://github.com/TB8504

Download:

ROM: https://sourceforge.net/projects/ad...droid-10.0-20210731-TB8504-v6.20.zip/download

Known issues:

Screen recorder crashes SystemUI.

VoLTE doesn't work.

WiFi and Bluetooth don't work on SOME devices (there's a high chance your device won't have this issue).

Visit official website @ crDroid.net

crDroid Community Telegram

Donate to help our team pay server costs
[Thinkpad Tablet Android Development] adazem009:
The problem with VoLTE is that outgoing calls are broken when your operator enforces VoLTE.
[Thinkpad Tablet Android Development] ZONTAC:
Flashed everthing is working smoothly(2x faster than RR rom)

Only problem with setting>system = setting crashes

Thanks dev for the awesome rom.
[Thinkpad Tablet Android Development] adazem009:
Doesn't happen on my device... Does it happen after a reboot? Do you have GApps installed? If yes, which package is it? There could be many reasons, logs would be helpful.