yashsingh1/xdaforums huggingface dataset:
[HTC U11  Questions & Answers] awdrifter:
Seems like I might have gotten scammed. The phone is supposed to be new but it has S-On and bootloader relocked. I can't get HTCdev to generate a token for me to unlock it again. Is there any way to unlock it?

C:\fastboot-win>fastboot getvar all

(bootloader) boot-mode:FASTBOOT

(bootloader) unlocked:no

(bootloader) off-mode-charge:0

(bootloader) charger-screen-enabled:0

(bootloader) battery-soc-ok:yes

(bootloader) battery-voltage:3901

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) variant:MSM UFS

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0xE000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0xDAD000000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0xEF000000

(bootloader) secure:yes

(bootloader) serial:HT76K1800388

(bootloader) product:QC_Reference_Phone

(bootloader) max-download-size:536870912

(bootloader) kernel:uefi

all:

finished. total time: 0.002s
[HTC U11  Questions & Answers] snoopyhaeckers:
You must activate oem unlock in settings-developer option menu then try again

Gesendet von meinem HTC U11 mit Tapatalk
[HTC U11  Questions & Answers] awdrifter:
I have returned the phone. From what I've read from other people's posts on previous gen HTC phones, S-On and relocked bootloader basically means it's not unlockable anymore.
[HTC U11  Questions & Answers] snoopyhaeckers:
I have lock and relock my phone any times

Gesendet von meinem HTC U11 mit Tapatalk
[HTC U11  Questions & Answers] awdrifter:
But you probably have S-Off. The phone I got has S-On and relocked bootloader. From the older HTC phones that has the same issue it seems like the bootloader is permanently locked in that scenario. So I don't want to risk it, I just returned the phone.
[HTC U11  Questions & Answers] snoopyhaeckers:
I just s on s off is Not permanent at the moment

Gesendet von meinem HTC U11 mit Tapatalk
[HTC U11  Questions & Answers] awdrifter:
I understand that you can turn s-on and s-off once the bootloader is unlocked. The phone I got was s-on and bootloader relocked. I don't have a way to unlock the bootloader via HTCdev because the phone won't generate a new token. I can't flash to another rom because it's s-on. So I was basically stuck with using it without root or returning the phone. I just returned the phone.
[HTC U11  Questions & Answers] AarSyl:
What message did you get when you put the line to get the unidentifier token? (I don't remember the exact words...)

I know that you already returned the phone, but I have never heard this. Speaking of which...I'm pretty sure that I relocked and re-unlocked my phone before I got temp S-Off for it...

Besides....S-On is S-On. I don't need to S-Off to unlock the phone again. I am SURE of this because I relocked it and returned it to stock to sell, and the buyer fell through the first time. I unlocked the phone again and kept life moving. Never needed S-Off until I wanted to change the firmware.
[HTC U11  Questions & Answers] awdrifter:
When I type the command to generate the token it gave me an error. When I typed 'fastboot oem unlock' it says failed. I returned the phone, so I can't try it anymore. But thanks anyways.
[Nexus 6P Q&A, Help & Troubleshooting] ZuneYT:
Hey Everyone,

So I broke my nexus 6p last week friday as I was out with friends and kinda fell on the floor and dropped my phone in the process and then it hit the floor really hard, I picked up the phone to find out the whole phone and digitizer is broken and couldn't use the touch screen at all. I need to perform a repair on my phone as I am using my old little htc desire 510, I did buy a screen but It looked off all together such as the whole screen looked alot more thicker and the sides were a lot thicker than slim and was falsely advertised that it is AMOLED boy I was wrong but luckily managed to get a refund out of it. Does anyone know where they have got good genuine screen/digitizer from before I'm not too bothered if its amoled or LCD I just need a working screen to be honest.

Another question, If I were to get an LCD What is the difference between AMOLED or LCD, I know that Amoled has got that super black look to it and brings more colour into the screens but risks getting burn in on the phone. I'm not too sure about LCD Would both be up on par with each other or not?

Thanks for reading.
[Nexus 6P Q&A, Help & Troubleshooting] Exodusche:
[MENTION=7524093]ZuneYT[/MENTION] AMOLED is so much better then LCD. Too many times you get bright spots or see the lights on the side. Maybe I've just had bad phone's lol. See if you can pick up a bootlooped or dead Nexus 6p cheap and use the factory screen . Got to be enough out there with all the issues it has.
[Nexus 6P Q&A, Help & Troubleshooting] ZuneYT:
Haha, I know that AMOLED is so much better than LCD, If I did buy LCD It would be a difference to me and will most likely miss the amoled screen but is it really worth buying another 6P just to get the Amoled screen back?
[Nexus 6P Q&A, Help & Troubleshooting] robbieas:
Have you looked at the cost of buying a new 6p? I broke my N6 about a year ago, and it was ~$200 for the screen/digitizer. I got the N6p I'm using now on eBay for $140 and it was in excellent shape, no issues to speak of.
[Huawei P10 Guides, News, & Discussion] Ronju Khan:
Hoo Lala.. Got OTA UPDATE FINALLY!!! WITH THE FACE UNLOCK FEATURE!!!!????????.

Thank you Huawei Bangladesh ??

07JUNE2018 @4.20am
[Asus ROG Phone Questions & Answers] Oske829:
So the whole idea of having a phone that can be put in a dock and used as a computer is really cool, but me and my friend came up with an idea to expand on that. Would it be possible to have both android and Linux on the phone and then have an app/desktop icon to switch operating systems? I know this can be done on other devices. My mate has a chrome book and installed Ubuntu on it. Just a keyboard shortcut will switch operating systems. So would it be possible to do the same thing just on an android device. Hardware wide, there shouldn't be any problems. His chrome book has a cpu that's low spec enough to not have any sort of cooling system/unit whatsoever and only has 4 gigs of ram. Since the ROG phone has a top of the line smartphone processor, an actual cooling unit, and double the ram I don't see why there should be any issues related to the hardware. The thing I'm not so sure about is software issues. From my perspective it should be possible to do something like this, but I'm not at all familiar with software and programming so I wouldn't have any idea if it were possible or not.
[Asus ROG Phone Questions & Answers] q0kHaN:
You can do it with linux deploy afaik.
[Asus ROG Phone Questions & Answers] iamhatter:
Honestly, it would be much better to get a fully OpenSource build running on this hardware, no chroot env, no android kernel, no android libs, no proprietary closed drivers.

Since Asus is going with the ROG branding on this one, maybe they will make source code (drivers, libs etc) available for the the linux hackers in the ROG fan community to build images for it.

There is already a lot of linux use on ROG notebooks and a pretty decent following in the ROG fanbase as it stands but if we can't get a pure OpenSource build, at least a libhybris supported port using LXC and the android kernel as a start.
[Android Q&A, Help & Troubleshooting] RandoSwift:
What the title says. Have frp lock and tried many ways. I am running android 7.0
[Android Apps and Games] Strifexxx:
Hi guys, check out our new game about sticks. Feedback welcome!

Stickman Destruction 5 Annihilation is a sequel to the legendary game of survival, where to make incredible tricks, driving different transport and getting into different crash! The game is made in the best traditions of simulator games with ragdoll physics elements. Make incredible jumps and tricks and destroy the enemy! Your task is make the finish alive or dead!

Download on Google Play: https://play.google.com/store/apps/details?id=com.stickman.destruction.annihilation5

Youtube: www.youtube.com/watch?v=rvzolera3xQ

Website:http://strifexxx.wixsite.com/cyberpony

Facebook:https://www.facebook.com/groups/577850349043463/

VK:https://vk.com/club122273704
[Android General] Joyless88:
Lawn Chair Launcher.

Icon Pack Flatcons Black.

Zooper Wiget.

Zedge wallpaper.

I was going to upload pictures but I don't have a URL for them at this time.

Everything can be found on Google play.

Enjoy
[Windows Mobile Development and Hacking General] evilc:
I am interested in dabbling a little in programming for my Kaiser. I have programming experience, mainly php / mysql, though I have done some C and lots of scripting in my time. My biggest project so far though was an open source google maps mod to put on your website - thousands of lines of php / js code, mysql backend and AJAX tieing it together, some graphics routines etc, so I am no drooling n00b when it comes to coding.

How easy is it to develop basic stuff in WM?

I have access to MSDN, so I can get Visual Studio (2005 for sure, maybe later versions), so I think I have access to the apps I would need. I just ordered some books to help me along, but was wondering if I would likely face a steep learning curve.

All the stuff I want to do is today screen plugins - was thinking of having a bash at writing my own quick contacts plugin - *very* basic - just a vertically scrolling list of names over a transparent PNG button with maybe photos from the address book - I want it to be able to scroll by vertical gesture within an ultimatelaunch tab - is this likely to be quite easy and quite a good "first app" to program?

I was also looking at writing a lite repacement for phoneweaver as the only feature I use is to turn on BT when it detects power but no activesync (ie auto turn on BlueTooth when I am in the car and the device is cradled) - maybe a hack to force the keyboard backlight on in the same situation.

I have bought:

Microsoft® Visual C#® 2005 Step by Step (Microsoft)

Microsoft® Mobile Development Handbook [Paperback] by A. Wigley; Daniel... (Microsoft)

Comments / suggestions?
[Windows Mobile Development and Hacking General] PieterVos:
I would also be very interested in a thread or good reference on how to start to program app for mobile gadgets. Actually i'm a Delphi coder, and i would like to implement some applications on WM platform, but when i search over internet there's plenty of information, but no usefull information with "real-life" recomendations.
[Windows Mobile Development and Hacking General] Rudegar:
depend on the platform and language one wish to use really

there is c#.net, vb.net c++.net

c++ miniMFC, c++ PureWin32 sdk

oldVB

...

here are some other posts asking pretty much the same thing from the forum

http://xdaforums.com/showthread.php?t=225405&highlight=programming

http://xdaforums.com/showthread.php?t=237932&highlight=programming

http://xdaforums.com/showthread.php?t=241670&highlight=programming

http://xdaforums.com/showthread.php?t=245426&highlight=programming

http://xdaforums.com/showthread.php?t=228043&highlight=programming

http://xdaforums.com/showthread.php?t=317913&highlight=programming

http://xdaforums.com/showthread.php?t=302548&highlight=programming

http://xdaforums.com/showthread.php?t=327164&highlight=programming

http://xdaforums.com/showthread.php?t=305926&highlight=programming

http://xdaforums.com/showthread.php?t=336251&highlight=programming

http://xdaforums.com/showthread.php?t=226412&highlight=programming

codeguru.com got examples of various windows mobile programs too today items and such

about delphi i dont know if anybody got some info i would say borlands site
[Windows Mobile Development and Hacking General] evilc:
Thanks rud. I was aware of various other posts, but my question was more of a "How steep is the learning curve?" rather than "How do you do it?".

There was also an element of "How do you do it?" insofar as there seem to be better or worse ways of going about various kinds of app (eg today apps with gesture support) which I am finding a bit of a minefield, but I feel that the new post was valid because I am giving an indication of my experience level and what I am trying to acheive - none of the posts you listed cover the combination of stuff I am trying to do. Reqs like pulling from outlook db and allowing gesture scrolling in a today plugin, I dunno, I may waste ages with C#, for example, only to realise it is a breeze with C++... I also note that a google search for wm programming gesture scroll today screen currently ranks this very thread #5. By tomorrow that'll be a googlewhack then.

Yes, there are various posts about how to get started, but I think maybe a sticky would be in order with a bit of info on the various paths - the vb/c++/c# options are quite bewildering - stuff like

is really useful, maybe if it were expanded upon, info such as for this route you need visual studio, etc, etc it would make a really good sticky for the dev section.
[Windows Mobile Development and Hacking General] neofix:
Hey!

Congrats on getting your hands on with Windows Mobile...

The easiest way is to download Visual Studio 2005(2008 ;) You have it on MSDN) - and create a new application with it.

It's sooo easy if you know your object oriented programming, as long as you want to create ordinary "office" applications... But if you want to do more advanced things(like creating a today-plugin) you need to go over to c++(even though you can download a .net home-plugin-container which acts like a "loader" for your plugin written in c++) - and also, if you want to create good GUIs, I think you are better off with c++... But then again, I think you need a bit more effort in learning c++ then using c#...

Hope this helps...
[Windows Mobile Development and Hacking General] evilc:
Still slogging my way thru this...

I got hold of an MSDN disc, first off I installed visual studio 6 - bad move.

Had to uninstall before trying to install VS 2005, now I think it has screwed something up, every time I try and create a "Smart Device Win32" project, I get a "Project creation failed" error. I may have to re-GHOST my OS to get rid of it :(

So much time just finding out what apps I need and what options to choose to start a project...

I found http://channel9.msdn.com/wiki/default.aspx/MobileDeveloper.HomePage which seems helpful
[Windows Mobile Development and Hacking General] PieterVos:
Thanks for responses!

Evilc, you link of msdn is excellent point, many thanks!
[Windows Mobile Development and Hacking General] Ather:
I have also just started programming in C++ ..i dnt have any knowledge of any type of codes..i learned every thing frm MSDN libraries ( i have many many of them caz i have VS 2006 VS 2005 and VS 2008 )..i recommend you to work with C++ because it uses less system resources and is fast..hope this helps..check out my Kitchen coded in C++ ( link in signature )
[Windows Mobile Development and Hacking General] evilc:
Yeah, I think C++ is definately more what I am looking for from what I have learned thus far.

Re-Ghosted OS - totally fresh XP SP2, installed Visual Studio 2005, still the same error. GRRR!

Visual C++ --> Smart Device --> Win32 Smart Device Project == "Project Creation Failed"

Other Languages --> Visual C# --> Smart Device --> Windows CE 5.0 --> Device Application == Project created OK.

Some posts I have found on the net say it is an IE7 issue, I may try uninstalling that or flashing back to an OS image with IE6 only, but this is really winding me up and taking a *lot* of my time...
[Windows Mobile Development and Hacking General] evilc:
I uninstalled IE7 and the problem went away. Woohoo!!
[Windows Mobile Development and Hacking General] notrash_2004:
starting programming windows mobile

hello

1. see my web site.

2. see my book recommendations, especially the 'programming windows ce' by douglas boling. It has an example for many things and a today sample too. Most is based on visual c++ 3.0/4.0. Embedded Visual C 4 can be loaded free of charge at ms.

regards

josef
[Windows Mobile Development and Hacking General] evilc:
Nice site, thanks.

The windows mobile 6 sdk actually has a today screen sample, along with samples of most of the things I need to do.
[Windows Mobile Development and Hacking General] evilc:
Are we using the same language?? Cos this (C++ Win32 for Mobile Devices) is by far and above the most difficult programming language to get into that I have ever tried. Yes, worse than ASM.

Trying to code an app that prints "Hello World" has taken me over 5 hours with no success yet - most languages I have a go at it's 5 minutes.

From http://msdn2.microsoft.com/en-us/library/ms901121.aspx :

int DrawText(
HDC hDC,
LPCTSTR lpString,
int nCount,
LPRECT lpRect,
UNIT uFormat
);

It gives a brief description of what the parameters are, but absolutely no examples and no explanation of what all the parameters do or how to initialize them, so even browsing an example is no use to me.
[Windows Mobile Development and Hacking General] Ather:
u can simply try

MessageBox::Show(" your message ");
[Windows Mobile Development and Hacking General] evilc:
Isn't that .NET ?

I thought the consensus was that Native Win32 or whatever it is called was the better way to go?

This is part of the problem. I cannot even work out what to put in a search engine to pull out info on the right "flavour" of C and for the pocketpc. It's *so* bewildering.
[Windows Mobile Development and Hacking General] levenum:
Hello evilc.

First I noticed you have some trouble with VS 2005. It probably won't be easy now, but if you ever get to format your machine again don't install it (unless you absolutely need some other features).

For C / C++ programming for WM device I strongly recommend eVC 4 as it is much lighter and responds quicker. (It's a free download as well)

Second, though you can program for WM in C# and VB .NET which are both .NET Object based languages and are probably much closer in form to PHP and Java then C, you can not write system components such as today plugins in those languages.

You need native code so C / C++ is the only way to go.

(Actually, there is a trick to combine C# and C++ DLLs to create a today plugin where C# will do the main stuff, but its pretty complicated)

What you need is to learn basic Win32 programming and using the windows API. They are almost identical for Windows Mobile and Desktop windows versions so any book on Win32 should teach you the basics.

(Personally I started with MS book on MFC and studio 6 but I would not recommend it)

Finally:

I would gladly explain the parameters of DrawText but I am not quite clear on how much familiarity you have with the Win32 mechanics, since the languages you are used to obscure them unlike C which gives you extra power but also makes you work much harder to get anything done.

Do you know how to handle messages, and how windows manages all abjects using handles? Any familiarity with GDI?

If not, it will be pretty difficult to explain.
[Windows Mobile Development and Hacking General] evilc:
Hello! <waves>

I tracked down the problem when I got home and installed on my desktop. When doing it on the laptop, whilst installing SP1 for studio 2005, I had hit "Not Now" to a reboot request and it had said installation failed. When I installed SP1 on my desktop and said "Yes" to the reboot request, the problem went away, so I guess it was fixed in SP1 but the installer is a bit picky.

Wish I had that advice before as I wasted a day messing around with an MSDN CD, trying to work out what to install and what not. So does the eVC 4 download include an IDE? If not, what do you use?

You don't have to tell me twice to avoid the bloatware ****e ;)

No GDI Experience. I take it this would be the library of choice for drawing the screen of a today screen app? Stuff like the HTC Home clock or the new Face Contacts - they would likely use Native C++ and GDI? Doesnt strike me as something you would do with a form.

Also, anyone got the skinny on vertically scrolling by click-and-drag inside a today screen app? Just a case of enabling a parameter? Has to be coded manually? Best way to do it smoothly? If you have seen the Conduits Pocket Player 3.x browse list - how it "eases in" and "eases out" at the ends of the list, has inertia so you can "flick" down the list, the alphabetical bar instead of the regular scroll bar - is that all coded manually or is there an api or something that can help?

Thanks for the help!
[Windows Mobile Development and Hacking General] evilc:
I just noticed your apps in your sig - checked out LVM time - noticed there was source - wooohoo! I generally pick these things up by example.

All that code just for a (configurable) clock on one line - wow. Great though, a really good example of a today app - minimal enough in functions so it is easier to suss how it all slots together, but full featured enough (implimented example of an options screen - yay!) to show how to do various things.

And Gnu as well! Nice, this will be the basis of my first test project too I think - at least now I have a framework to test out what I want to do and how to go about it without having to work out how to code the basis of the application.

I thank you from the bottom of my heart sir.

I tried to build it in VS2005, but I got a

fatal error C1083: Cannot open include file: 'todaycmn.h': No such file or directory

A quick google search showed todaycmn.h was part of the SDK, I found the file, dropped it into the headers section of the project, but no joy. I will probs just try eVC.

Oh, and having developed a today plugin, maybe you can answer this one:

As far as I can tell so far, debugging isn't very easy with a today app - something to do with the fact that the dll is not releasable? Is this an issue I will come up against? I hope its not a case of "reinstalling" the app each time you want to test... I was thinking maybe along the lines of have it as a normal app for debugging, then make it a today plugin when you want to build to use it?

I dunno, probably trying to run before I can walk, my books shoulda been here today, oh well. Sorry for all the questions...
[Windows Mobile Development and Hacking General] robp:
@evilc:

Are you using standard Win32 or MFC?

You may want to try using MFC since you get the flexibility of native development but with some nice class libraries that make your life easier.

As for click and drag behavior, that is usually implemented by handling the WM_LBUTTONDOWN, WM_LBUTTONUP and WM_MOUSEMOVE.

When you get wm_lbuttondown you set a flag that says the user is dragging. You use wm_mousemove to update the stylus position as long as this flag is set, then you unset it on wm_lbuttonup.

That's the basic idea anyway. Someone made a post about gesture recognition in this forum a few weeks ago with sample code. You should see if you can find that.
[Windows Mobile Development and Hacking General] robp:
Managed Today Screen plugins

See:

http://msdn2.microsoft.com/en-us/library/ms839442.aspx

for some background on the concept.

And:

http://www.christec.co.nz/blog/archives/279

Outlines what I think is a very ingenius technique for managed today screen plugins.

For those of you that want an easy way to make a today screen app in c#. Chris did all the C++ work for you.

Also I forgot to mention that the SDK samples cover all most every application type you can think of. Most of the good ones are Win32 though.

Also, keep in mind that you can use P/Invoke from your C# apps to call native APIs. So don't let people tell you you need to use C++ just because you can access more api's. I will say that you should use C++ for games, or other apps that require high speed or advanced GUI's (it is VERY hard to do interesting gui techniques with C# and interop, trust me).

And finally, I would highly recommend using the most recent version of visual studio you can get (especially if you're using vista), unless your machine can't handle a newer version. I say so because visual studio gets more and more powerful as an editor with each new iteration and I personally can't go back after I get used to the new features they introduce. And the new versions are almost necessary if you're going to do .net development.