yashsingh1/xdaforums huggingface dataset:
[ONE Q&A, Help & Troubleshooting] samiran das 03:
my phone does a automatic reboot don't no whats the problem..... i took my phone to OnePlus service center they changed battery ........it was worked normally without any problem for 2-3 days .......now again issue automatic reebot has started
[ONE Q&A, Help & Troubleshooting] Mr.Ak:
Okay,then it's battery related.Go to SVC again and ask for a replacement.
[ONE Q&A, Help & Troubleshooting] samiran das 03:
not sure about battery but my phone does automatic reboot.
[ONE Q&A, Help & Troubleshooting] samiran das 03:
its a 4 year old device...
[Nexus 6 Q&A, Help & Troubleshooting] tombaldwin6:
Ok guys I have a weird one. The other day I decided to switch roms. Before I flashed I followed the instructions and did a full wipe from TWRP.. So after wiping I went to install from OTG and I get error 7 or " this rom is for a shamu device". Now before I had decided to change roms I was running a an aosp rom that I found here in this fourm. I had magisk installed and had the Sony modual installed to trick the play store into thinking my N6 was a Sony device so I could install some of thier proteietary apps...I figured a full wipe would have removed that... That it didn't makes me think something in the build prop was changed and No I don't have a back up. I'm super smart about stuff like that.. .anyways now no matter what rom I try to install I get that message...is there a way to flash build prop or is there a different solution or am I Fu**ed ??

Thanks in advance
[Nexus 6 Q&A, Help & Troubleshooting] NLBeev:
You could try to change the updater-script.

Extract it from the zip and remove the line with the device check.
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
Mount system in twrp then userr adb to pull build.prop, edit it and then ADB push to return it.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6 Q&A, Help & Troubleshooting] tombaldwin6:
I wish I could mount system. However I did a full wipe and there is no system to mount. . Thanks for the reply though. I believe I'm going to try the the other idea where it's suggested that I change the updater script. I mean if I did a full wipe that makes sense set there is no system to mount, right? Thank you to both of you for getting back to me. I do appreciate it
[Nexus 6 Q&A, Help & Troubleshooting] ktmom:
Just doing the default wipe in twrp doesn't wipe system. In the wipe section, you should go into advanced (I think that's right) and check the partitions you want to wipe.

If you did a full wipe, then any chances you made should not have persisted. If you really did already wipe the system and data partitions, it's unlikely your previous modifications are the cause of the error. Double check that you have the right ROM downloaded - though the error makes it sound right.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[General Questions and Answers] coolman911099:
Look for an a no app drawer launcher app for android 4.4.4 no ads or pro
[Windows Mobile Development and Hacking General] md_bluelily:
Hello again my dear friends,

As you might installed and worked with S2U2 (aka Slide 2 Unlock), you would see lack of an item like standard windows mobile's Device Lock item.

First I developed an managed one (I mean using .net compact framework). As far as it can take more memory space and has less functionality, I coded a new application in pure C++. :)

I have tested this application on WM 6.0 and great TNT WM 6.1 on my device (Wizard).

I hope you enjoy using it.

I would be really glad to hear from you. So please post your ideas and comments.

Thank you. :)

Note:

1- Second file is customized for one of the XDA users.

2- Third file is made to fix the version 2.02 compatibility.
[Windows Mobile Development and Hacking General] landwomble:
how does it work?

i've installed it...and now what?

how do i access it?
[Windows Mobile Development and Hacking General] wyzepro:
let's check it out...downloading now
[Windows Mobile Development and Hacking General] johanromijn:
Your post is not very clear.

What you're created is a Today Plugin to invoke S2U2, am I right?

Maybe you can add a screenshot?
[Windows Mobile Development and Hacking General] md_bluelily:
Just install it on your Device (not your storage card). Then go to Start>Settings>Today>Items

there you should see S2U2 Device Lock item. Make sure it is selected and then press OK and close Today.

Now you should have a new item added to your Today Screen.
[Windows Mobile Development and Hacking General] md_bluelily:
You are absolutely right, it is a Today Plugin to invoke S2U2. :)
[Windows Mobile Development and Hacking General] johanromijn:
Just made a quick screenshot.

Clicking this plugin will start S2U2.
[Windows Mobile Development and Hacking General] md_bluelily:
Thanks so much dear johanromijn.

Did you test it ?
[Windows Mobile Development and Hacking General] johanromijn:
I did. I does what it has to do. :D

I already assigned S2U2 to a softkey, so I'm not using it currently.

But for people who want this on their Today Screen, it's perfect.
[Windows Mobile Development and Hacking General] azzambm:
Great work ...

now I can free a softkey for other application ....
[Windows Mobile Development and Hacking General] theme freak:
Excellent work..will try it now :)
[Windows Mobile Development and Hacking General] md_bluelily:
Thanks for your posts and comments. :)
[Windows Mobile Development and Hacking General] SouthernLuke:
Excellent idea. Will try it this evening.
[Windows Mobile Development and Hacking General] marcelvanblankers:
anyway you would share your source code withb us? i'd like to see if i could extent possibilitys. thanks in advance.

greetings

Marcel
[Windows Mobile Development and Hacking General] marriotheblackguy:
Other Options

This is a nice fix, but I accomplish the same thing by adding the shortcut to HTC Home or claunch.
[Windows Mobile Development and Hacking General] harry_01:
its really nice work
[Windows Mobile Development and Hacking General] illusion8088:
Great job.

Simply brilliant. A bigger icon won't be a bad idea.
[Windows Mobile Development and Hacking General] md_bluelily:
What possibility you mean ? :)
[Windows Mobile Development and Hacking General] md_bluelily:
Thanks for all of your attentions.
[Windows Mobile Development and Hacking General] TheChampJT:
Great work! You should change the name of the thread to S2U2 today plugin though.
[Windows Mobile Development and Hacking General] rknuette:
Please forgive my ignorance, but what is this plugin good for?

I don't see the advantage in clicking on the plugin and then switching off the pda instead of switching off the pda and have s2u2 being activated automaticaly (and thus the screen locked) when switching on the pda... ?!?

Regards,

Rudi
[Windows Mobile Development and Hacking General] stefaneh:
looks nice, but if you want to save space on your today screen, just put it in the start menu or in the task bar at the bottom of the screen. Or as stated before have it activate when you turn your phone to standby.
[Windows Mobile Development and Hacking General] md_bluelily:
Thanks for your posts.
[Windows Mobile Development and Hacking General] marcelvanblankers:
Source Code

put an extra line there for s2u2 options or another program, would like to see how the plugin is build..
[Windows Mobile Development and Hacking General] md_bluelily:
Source Code.

Dear marcelvanblankers,

Here is the source code to the application.

Hope to use it well and develop applications for everyone use :)
[Windows Mobile Development and Hacking General] wacky.banana:
md_bluelily,

Thanks for this. Have been looking fr an S2U2 today plugin for a while.

I have had to run mine embedded within PocketPlus 4, which is a couple of icon steps too many.

Well done.

WB
[Windows Mobile Development and Hacking General] marcelvanblankers:
Hello md_bluelily

Thank you very much for sharing the sourcecode.

i will look into it when i find the time, and thanks to you, everybody can do the same. thanks again and thank you for a nice plugin..

keep on the good work.

Marcel
[Windows Mobile Development and Hacking General] kcguy:
Possibility?

md_bluelily,

I can see a big possibility for other today plugins, using your framework. Would it be possible to apply this framework for ThumbCal, which is one of the new calendar programs being developed on this site? So far, the only today calendar plugin I have found is TodayAgenda, which is what I currently use, but don't really like. ThumbCal and Tene's pocketCM calendar are both excellent and show a lot of promise, but both are separate applications. Is there any way to use them as today items? I display all my plugins, full screen, 240x294 and TodayAgenda is the only one with this capability.
[Windows Mobile Development and Hacking General] spyke01:
thanks a lot this works great!
[Windows Mobile Development and Hacking General] jomo25:
This lets you invoke the lock without having to hit the power button. The power button on some phones (like the Polaris) isn't easy to press. So, having something on Today to lock is "easier". You don't have to turn the phone off after locking. That'll happen presumably when the setting for timeout/sleep is reached.

Granted its a small-ish particular use case, but it is a valid one nonetheless...I do the same, but just map it to one of my HW buttons that are much easier to hit than the power button.
[Windows Mobile Development and Hacking General] md_bluelily:
Dear kcguy,

I will look into those great applications and will try to handle them.
[Windows Mobile Development and Hacking General] l3v5y:
Thanks for this I have been looking for something like this. And thanks for the source code so I can learn something about today screen plugins!

The source code download is corrupt according to my PC :S
[Windows Mobile Development and Hacking General] md_bluelily:
Dear l3v5y,

I checked the link and downloaded it, it was ok.

Please try again. :)
[Windows Mobile Development and Hacking General] kcguy:
Thank you...

md_bluelily,

Thank you for your response. I was hoping that it would be possible, and thank you for your attention. I look forward to what you can develop.
[Windows Mobile Development and Hacking General] md_bluelily:
Dear kcguy,

As far as these kind of functionalities depend on the source code of their great applications, there is almost no way to host them as a Today plugin.

These kind of features should be implemented by them.

I'm really sorry.
[Windows Mobile Development and Hacking General] lamjys:
Thx everybody. It is great.
[Windows Mobile Development and Hacking General] md_bluelily:
Happy that it is useful. :)
[Windows Mobile Development and Hacking General] md_bluelily:
Dears,

This is also compatible with new version of S2U2. ;)
[Windows Mobile Development and Hacking General] lynxy:
I have HTC Kaiser phone and hands free system in my car, when call is active the screen is unlocked. It is not an option for me to turn off a screen when I'm on a call.

Any ideas or if you can recommend any other soft.

Thanks
[Windows Mobile Development and Hacking General] md_bluelily:
Compatibility with version 1.30 and 1.32 tested.

Currently working on matching HTC Home Weather pluging and S2U2 weather icon.

As you might encounter to this problem, when you have HTC Home Weather as Weather Source in S2U2, S2U2 shows tomorrow's weather image.

Soon, a second version will be available to fix the issue.
[Windows Mobile Development and Hacking General] monamibouli:
work whith S2U2 v1.30 on my diamond

thks
[Windows Mobile Development and Hacking General] Captain_Throwback:
When I soft reset my device, the item no longer shows on my Today screen. When I go into the Today settings, its checked off. If I deselect, and then re-select it, it magically appears again. Is there a reason for this? Its annoying to have to do this anytime I soft reset my device.
[Windows Mobile Development and Hacking General] :
Isn´t working for my (german) Omnia.

I add it to my today screen, but it isn´t clickable :(

Can you help me?

PS: Sorry for my bad english :(
[Windows Mobile Development and Hacking General] l3v5y:
Does the Omnia have a Samsung today screen plugin that blocks out all others?

Try and disable all your today screen plugins apart from this and see if it works better.
[Windows Mobile Development and Hacking General] :
It has a today screen plugin, but it isn´t blocking anything. I disabled it and have the same effect like with it.

I add a screenshot to the attachments.
[Windows Mobile Development and Hacking General] l3v5y:
Does that change the behaviour at all?

Also, have you tried a soft reset?

EDIT:

After retrying it myself, it appears not to work!

I'll see if I can find a reason in the code...
[Windows Mobile Development and Hacking General] l3v5y:
The path was not being correctly worked out.

I've updated it slightly so it now loads from the default (on device) S2U2 install folder (\\Program Files\\S2U2\\s2u2.exe). If you have S2U2 installed elsewhere, I can hard code the path for you.

Attached is the recompiled/fixed version.

NOTE: You have to uninstall the older version!
[Windows Mobile Development and Hacking General] :
Same problem as before :(

But on my german client S2U2 is installed to "Programme\\S2U2\s2u2.exe"

Thanks for your help!
[Windows Mobile Development and Hacking General] l3v5y:
Try the attached version!

By default, the application reads the registry to see if it can find where S2U2 is installed. All I've done is add some code that sets a default value if the registry check fails.
[Windows Mobile Development and Hacking General] :
isn´t working :(

Can´t click the "entry" on my todayscreen :(
[Windows Mobile Development and Hacking General] appan:
work perfect on my HTC WING 6.0 :D

I have a Big Question, "Lock Device" Caption is so Small, is there anyway to make the text bigger? :(

also is it possible to change the Lock image, i want to use the default WM lock sign insted of the one you have. reason i want to change is cuz your picture dosents blend with the theme, so is it possible to change?

plz let me know. and i gota tell ya GOOD work and thanks, i wish other programs have such Todays Plug in Option like urs.
[Windows Mobile Development and Hacking General] kinmont:
thank u ! love it. c was a great choice. u Are awesome . it works like a charm.
[Windows Mobile Development and Hacking General] l3v5y:
Does your device have a dpad? If yes, scroll down to the today item, and hit the enter button. If that works, try and click on the plugin (it may not change colour, but it should send a mouse event when you let go again).
[Windows Mobile Development and Hacking General] :
Ahh, now it works! Thank you!
[Windows Mobile Development and Hacking General] l3v5y:
Good!

I've fixed the checking of install directory, so it should now work on any ROM.

Cab is attached.
[Windows Mobile Development and Hacking General] devinc:
Ok...here's a dumb question. How do you get items into the task bar at the bottom of your screen? On my phone only the inellisync icon shows up down there. I would love to be able to put some other stuff in that space.

Devin
[Windows Mobile Development and Hacking General] appan:
how come no one replying a request question? is it to dumb to be answerd or somthing? :confused:

anyway once again same question.

1) how can i change the font size of "Device Lock" caption? its too small

2) How can i replace the current lock image in todays plug in?, reason?, the lock image isnt blending with the theme. so plz somone reply :(

thanks:)
[Windows Mobile Development and Hacking General] l3v5y:
Those things can only be changed by rewriting the code...

Attached is a larger version, with the icon from S2U2 itself.
[Windows Mobile Development and Hacking General] appan:
thanks so much for the reply,

is there anyway you can make the "lock image" to the default WM device lock image?

also the font size to be like this picture style ("iLauncher Safe Mode "font size nd Bold) ?
[Windows Mobile Development and Hacking General] appan:
anybody kind enuff to reply..?

thanks
[Windows Mobile Development and Hacking General] l3v5y:
I can't find the icon of that today plugin... I've got the text to look pretty close to what you want, but if someone can get the icon I could finish it off!
[Windows Mobile Development and Hacking General] appan:
thanks for the reply,

i attached 2 formats of that windows mobile default lock, one in black background nd one in white background in adobe photoshop format so you can edit the way you like.

thank you so much
[Windows Mobile Development and Hacking General] l3v5y:
Okay. I'll see what I can do for you!
[Windows Mobile Development and Hacking General] l3v5y:
Attached is an updated version, with bold text, and the your icon (although I had to play around with it a bit to scale it up...)
[Windows Mobile Development and Hacking General] appan:
seems like its not possible to make it look like the default windows mobile lock option,with out messing wit the pic size, only the font size to bold, but still good effort and thanks alot :), if you look at this pic you know what i ment. if only the font size changes to lets say 10 and bold, it wont look weird in the screen,

:(
[Windows Mobile Development and Hacking General] blu4unc:
is this capable for the htc tytn? cause i have it installed and it shows up on my today screen but i cant get it to do anything.
[Windows Mobile Development and Hacking General] stepini:
Hy guys,

the same problem on Htc Touch Cruise, icon is available but I' can't press it...

Stefano
[Windows Mobile Development and Hacking General] l3v5y:
Where do you have S2U2 installed to?

And, which cab are you using?
[Windows Mobile Development and Hacking General] l3v5y:
Ah!

I wasn't sure what you meant, so I made it easier to hit.

It should be possible to do what you want though, I'll do it in a bit.
[Windows Mobile Development and Hacking General] appan:
thanks so much " l3v5y " :) waiting for the updated ver.
[Windows Mobile Development and Hacking General] md_bluelily:
Dear l3v5y,

As far as I have provided the source code and I have uploaded it here, please upload the source code that you have made changes to it here in this website to allow the others to use it and make it better.

Best Regards,

Masoud Dehghani.
[Windows Mobile Development and Hacking General] appan:
any update on this plz ??? :(
[Windows Mobile Development and Hacking General] md_bluelily:
Dear appan,

This is a simple plugin which does something simple,

So I wonder to know what can be the change to make an update necessary ?
[Windows Mobile Development and Hacking General] appan:
i ment this update, which i been waiting for long time md_bluelilly:)
[Windows Mobile Development and Hacking General] Omniaq:
Great idea with this plugin! I've been searching for something like this for weeks!

The joy was short because I installed it and found out it doesn't work on my Samsung Omnia, I've got the same problem as cM2003

The icon shows up nicely on my Today screen, but it isn't clickable.

I tried sevaral versions of the cab file, I finaly used the one from l3v5y that has the original S2U2 icon as I like this one the most.

I wonder if the file from l3v5y is the most recent version of this plugin?

Also I think I don't fully understand this post, maybe this is the reason I can't make this plugin work

I assume that dpad is the small black square below the omnia screen, I scrolled down with it to the Today item named "Lock Device" and clicked the dpad (I assume this is how I hit the enter on Omnia) and nothing happened?

What does l3v5y mean by this " ... but it should send a mouse event when you let go again)."

My S2U2 is installed on my device in:

Program Files/S2U2

I'm using an SPB Shell on my device.

I'd appreciate very much if someone could help me to make this plugin work!

Thanks.
[Windows Mobile Development and Hacking General] md_bluelily:
Dear Omniaq,

Make a copy of S2U2 to the root of your Storage Card or Main memory and change the installation path from the registry to make it point to where you have copied it,

the registry installation path for the S2U2 application is located at: HKEY_LOCAL_MACHINE\Software\Apps\A_C S2U2

change the "InstallDir" key value to where you made a copy.

Best Regards,
[Windows Mobile Development and Hacking General] Omniaq:
Dear md_bluelily

Thanks for a quick reply.

Now I’m going to ask few silly questions. I’m new to this kind of modifications, I just got my first smartphone few weeks ago.

I’m sure that for most of people reading this post your instructions are very clear, but sorry :( not for a newbie like me. I'd appreciate again if you could explain me the following:

1. “Make a copy of S2U2…” do you mean to copy just a S2U2.exe file or the whole directory "S2U2" from \Program Files

Why do I need to copy it in first place? It is already in my system in ( \Program Files\S2U2) could I just point this path in the registry?

2. “to the root” do you mean that it needs to be copied directly to the Storage Card or Main Memory and not into any folder on Storage Card or Main Memory?

3. I know that to be able to change the registry I need a software like Total Commander or similar, is there any beter choice? I think I’ll be able to handle the registry edit part (will make a backup just in case :) )

4. “change the "InstallDir" key value to where you made a copy.” Where is “InstallDir” and how do I change the key value. Folder \Program Files\S2U2 Device Lock is empty.

Thanks again,

Regards
[Windows Mobile Development and Hacking General] md_bluelily:
You need to copy the folder S2U2 and all of its containig files and directories to the root of your main memory or Storage Card, because the function I've used in this plugin cannot execute the application's file on some devices.

Yes, exactly. As I described above, it is because of the function I've used in VC++.

Backing up the things you want to edit is the best idea.

It does not differ what kind of software you use to edit it, but I use Resco Explorer to edit the registry, but as I stated it is up to you.

You need to go to your device's registry and then locate and enter to the HKEY_LOCAL_MACHINE. Then find and point to the Software key and open it. Here in the Software find Apps key and open it to reach applications installation settings. Then you need to open the A_C S2U2 key which is related to the S2U2 application. Here you have three value.

1-InstallDir

2-Instl

3-InstlDir

Change the value of InstallDir and InstlDir to the path you have made a copy out of S2U2 folder which I described at first.

Please let me know the results.

Best Regards,
[Windows Mobile Development and Hacking General] Omniaq:
Hi md_bluelily!

I did everything like you wrote and now it runs beautifully!!!

Thank you for the plugin and all your help!!

I'm your big fan now!

By the way, is this plugin a program that runs in the background?

I'm asking because I've read somewhere on the forum that some applications excessively drain battery.

How does your plugin affect the battery, if it does at all?

Best regards
[Windows Mobile Development and Hacking General] md_bluelily:
This plugin is not a battery drainer at all, because it just functions when you click on it, also it is not running in the background directly and its management is by Windows Mobile.

Have you used standard Device Lock which is provided by Windows Mobile ? This plugin works the same, and you can find no process at all related to this plugin in processes if you browse them by a tool like TaskManager.

The plugin is also written using pure C++ to help avoiding memory consumption, so don't worry about battery power and your device's memory.

Best Regards,
[Windows Mobile Development and Hacking General] md_bluelily:
Please use the plugin posted in the first post of this thread because the other cab files provided by dear l3v5y are customized for users requesting it or have the path hardcoded in them,

So please install S2U2 and this plugin (from first post) and if you could not get it running, do as I described for dear Omniaq in post #76 and #78.

Best Regards,