yashsingh1/xdaforums huggingface dataset:
[Windows RT Development and Hacking] bfosterjr:
Yes, several.

They will build fine in visual studio so long as you build it as a native dll, specify the driver switch, and set the entry point. Generating an ntoskrnl and Hal lib on your own is very tricky and you'll have some linker errors - they can be fixed... But its not trivial. The best thing to do is to grab the kernel libs from the latest vs2013 preview sdk and link against those libs. Avoids a lot of headaches.

If you have a look at the pdb I released for kprocesshacker you'll see the complete build strings I used for building the driver. That should help you out with any other missing cl & link switches. I intentionally posted that pdb so people could sort out kernel build issues.

Debugging a driver is another matter entirely! Crash dumps are your friend! :)

Cheers!
[Windows RT Development and Hacking] GoodDayToDie:
[MENTION=260350]donny[/MENTION]: This is *NOT* the thread for discussing kernel driver development! Right forum, though. I strongly recommend starting a new thread for your project.

With that said, I can tell you at least one completely obvious problem: you're explicitly defining the preprocessor macros _X86_ and i386. Those are (as the names suggest) used to indicate compilation of x86 code. RT runs on ARM processors (using the THUMB2 instruction set, but Microsoft just uses calls it ARM and ignores the non-THUMB2 instruction sets that ARM supports). In any case, you shouldn't need to explicitly define those macros anyhow; the compiler does that for you! Unlike some compilers, MSVC doesn't use the same program to compile for different architectures. When you look at the Visual Studio 2012 Command Line shortcuts, you'll note that there are at least three - x86, amd64/x64, and ARM. Each one sets up the environment for a different compilation target, including ensuring you'll get the right program when you invoke the compiler.
[Windows RT Development and Hacking] unbenannt:
Is there some decent desktop mp3 player -port for RT?

and why is there no windows media player on desktop. it could have helped a lot and made the experience far better within desktop mode.
[Windows RT Development and Hacking] bridgeofstraws:
You can use ffplay (http://xdaforums.com/showthread.php?t=2368706). It is the player part of ffmpeg. It's what I use.
[Windows RT Development and Hacking] Geo8:
I tried several times to port SDR# on my own but I can't get it to work. I am a beginner but want to use it on my Surface RT now.

Can somebody with some free time help me out on this?

http://sdrsharp.com/# is the download
[Windows RT Development and Hacking] hisoft:
How about Coolplayer? You can using Always-on mode to turn screen off with playing music.

You can see list of desktop apps here. => http://xdaforums.com/showthread.php?t=2092348
[Windows RT Development and Hacking] rony raj:
nice guide
[Windows RT Development and Hacking] thandiBear:
Did you manage to run anything in 2017? Please reply even if you didn't
[Windows RT Development and Hacking] Qiangong2:
You can only build with VS2012
[Windows RT Development and Hacking] thandiBear:
Thanks for replying... I thought this thread was dead already.

Another thing, where can I get the dll to lib tool from? The link in op takes me to another thread, whose download link does not work. I believe the whole process is easy to follow even if one has zero developing/programming experience

Long live surface RT
[Windows RT Development and Hacking] Qiangong2:
The link is correct for the dll to lib tool. There is a download at the bottom of the first post. It's great that more people are getting interested in app porting for RT
[Windows RT Development and Hacking] thandiBear:
My surface was just collecting dust in a closet until this Thursday, when suddenly random neurons fired in my brain and I thought "why not Google how to.....".

Thank all you guys for taking a step further in making the RT what it should have been at launch
[Windows RT Development and Hacking] lovicub:
First of all, thank you for this tutorial! 'm able to complie my own programms and some of example apps from MSDN/VS examples (with .sln project files).

After compiling with VS2012 and signing it with Windows_RT 8.1 it works great. Ive learned C# but for this projects i need to learn some C++. I've tried to port some github open src apps (c++ win32 based) but i always getting many errors like:

from compiler.

Any ideas?
[Windows RT Development and Hacking] Qiangong2:
It's pretty self explanatory. It can't find the file. If it's there, your paths may be wrong, or you may have accidentally misspelled something.

Also, if you just create a blank project, then add the files, it won't work. Most require CMAKE to create a VS2012 sln file that configures everything.
[Windows RT Development and Hacking] lovicub:
Thanks for the answer :)

I've tried to compile "The Powder Toy" and "Eventghost" from github with scons&other builders to get project fiile with no luck. I start to think that I'm noob in porting programs - spent 5 hrs on trying and get only errors :good: :silly:.

I think its easyer to code in c++ than porting.

I'm working now on programm that sends HTTP requst to auroremote app (android) for Smart Home and other actions. So when im done with that will post it here.
[Windows RT Development and Hacking] Qiangong2:
Nice! We look forward to seeing your application! :) It's a lot harder to port applications that use external libraries than ones that don't. That may be one of the reasons it is hard to port those programs.
[Windows RT Development and Hacking] [DZ]Radon:
Sorry if you mind the bump, but I wanna know if this will work out with the Ultimate / Professional versions of VS 2012 since I tried it with the Express version but it gave me nothing rather than errors thought. I also tried to source any Evaluation versions but they seem to be found nowhere. Also, asking if there could be any problems if I use Windows 7 instead of Windows 8.1..
[Windows RT Development and Hacking] rtwindows:
Sorry but will this only work for c or will it work for python(thinking of porting anki looks like its only made of python)
[Windows RT Development and Hacking] OlirexGamer:
I know this is an old thread but I'd like to know if there is a way to do this with VS 2019. I was about to install VS 2012 but it would be interesting to know if there is any way to do it with VS 2019.

Thanks in advance to everyone still working for a better Windows RT experience.
[Streak 5 General] me4tux:
What's the easiest method (without rooting) to grab a wallpaper file off a stock Dell Streak before wiping it?

Thanks!
[Streak 5 General] ammujee:
Here u go. Credits to DSC team for compiling all stock wallpapers.

https://www.box.com/shared/8sw0fj9x9xy4h9hpyudh
[Streak 5 General] me4tux:
Thanks ammujee, How do you extract just one of the wallpaper files from the APK? I would like to use just one of the wallpaper image file for another phone. (non- Dell Streak). Is there an APK file extractor that can I can use to do this?
[Streak 5 General] Strephon Alkhalikoi:
APK files are simply zip files. 7-Zip, WinRAR, or WinZip can open them.
[Streak 5 General] me4tux:
Thanks Strephon! That worked. I managed to extract the .JPGs that I wanted as a wallpaper!
[Motorola Droid 3] idontwanttobeanoob:
I want to take another stab at unlocking the bootloader, I see the forums seem to be next to dead and i believe if we can successfuly unlock this thing it will breath a bit of new life into our device. anyone who is willing to help and has some information to share please post it here. ive got a few ideas on people to talk to.

until then

lets brain storm
[Motorola Droid 3] MrObvious:
Not trying to be a negative Nancy but why? We got Kexec but just a lack of good developers.
[Motorola Droid 3] idontwanttobeanoob:
Because we have a pretty good device, and development was great for a while but the bootloader has kept this device from being truly great for a long time. i think if we can crack it it would bring back some development. and not only that but if we can find a way to crack this maybe we can put our information forward to other motorola devices with the same issue. id love to have the kernel options, and variety of roms available ive had on past devices. the og evo was awesome for that one reason. and i honestly believe its possible....
[Motorola Droid 3] Endoroid:
An unlocked bootloader would make no difference. With kexec we can bypass and use a custom kernel anyways. However the custom kernel is still in development as motorola never released an ics/JB kernel
[Motorola Droid 3] hilokilo:
Lmao
[Motorola Droid 3] doogald:
I think it would be great to crack the bootloader. However, has any phone with a locke bootloader been cracked without a leak from the manufacturer?

Moto must be using pretty large bit keys to lock the bootloader. You'll have to be lucky to crack it, not good.
[Motorola Droid 3] The-Captain:
I don't really see the actually bootloader lock changing in anyway. As said above kexec is a good system, just have to be patient.
[Motorola Droid 3] DoubleYouPee:
Patient for what? Hashcode himself said "What do you want me to improve on JB for D3?!". I don't really see D3 getting camera on 4.x anymore
[Motorola Droid 3] The-Captain:
He didn't specify camera in OP. I don't care about camera TBH. I have an actual camera I carry around. I though he wanted 4.2
[Motorola Droid 3] idontwanttobeanoob:
well glad to see my dumb post has gotten a bit of attention.... lol

id not touched my d3 since long before kexec, found it in a drawer and got a bit carried away.

went back and looked into kexec after everyone mentioned it and i agree its a pretty good system so im gonna start doing my research and see if there is anything i might be able to do.

sorry guys
[Motorola Droid 3] MrObvious:
Focus on the camera.
[Motorola Droid 3] hilokilo:
Amen. Motorola DROID 3's camera is a total bs anyways.
[Motorola Droid 3] paleee:
Hey guys, can anyone tell me in a nutshell what's wrong with our D3's cam? For example It doesn't work under CM7. Is it that special?
[Motorola Droid 3] DoubleYouPee:
For CM7 you need a 3rd party app like camera 360
[Motorola Droid 3] Peperm1nt:
I know that we have Kexec on D3, but I'm going to try an experiment on the Bootloader this weekend to see if I can unlock it. Reason being other devices do not have kexec and something crazy happened last night at work. In short, I cracked an AES encryption on a Motorola Radio(the ones Ambulances use). I know that may not sound like much, but I think I might have a way to do the same method on the Bootloaders for our Motorola Phones. I don't wanna go into too many details on it, but I'll try to get you guys a response next week sometime.

Please lol no trolling, I just like trying things. Chances are the method may not work.
[Motorola Droid 3] DoubleYouPee:
Good luck ;)
[Motorola Droid 3] Munckster:
Hopefully waiting :)
[LG Optimus G (International)] swooby:
I am using Windows8 (that's my first problem) to connect to my LGOG over USB and work on files from my PC.

The OG gives me 3 USB connection options:

Charge Only

Media Sync (MTP)

Camera (PTP)

I choose MTP and start working on my files, but there are many problems in Windows:

The LGOG doesn't show up as a drive; it just shows up as a device, which would make it very hard to access it from the command line.

The performance is horribly slow

If I try to view the LGOG file system from more than one Explorer window I get a lot of "Device Busy" dialogs.

When I do multiple simultaneous file copies only one file is copied at any moment. All of the other copy dialogs say "Device Busy".

"Moving" files is ridiculous! It first copies *all* files, and then *maybe* deletes the files, thus sometimes resulting in a move. I would expect it to copy and delete each file and directory one by one. And I have had several moves that just left the source files in place.

Adding a new folder or renaming an existing folder on the OG directly from Explorer *always* causes Explorer to lock up.

Does anyone else have any similar experience? This is ridiculous behavior!
[LG Optimus G (International)] Tim4:
Cause its connected via MTP. Unlike in case of USB flash mount, phone still controlling the flash memory.

And you still can access it from the line, just use the name of device (In my case is F180K)

Didnt noticed, good for me

Works for me

Yeah, you cant copy in few threads at once, cause device checking all packets

No its not

Why dont you use shift or ctrl?

That must be Win8 problems, cause on XP SP3 it runs good
[LG Optimus G (International)] mikedenney:
LG Driver Install

When I got around to downloading/install the LG driver / Connection / OSP packages available from their site, I was a little thrown by the wording in the driver app, I think--either that, or the directions to it...or maybe a message showing up on the phone...anyway, I think I was right to 'read into' whatever message was 'part of the process', that basically mentioned something about the device connecting, then reconnecting, during the driver install process, and that 'this was normal'.

I'd seen enough of that with Windows Bluetooth connectivity and control that I felt this basically meant just to sit there and wait 'til it stopped, no matter how redundant it appeared...and it really did an amazing amount of this, before finally stopping, showing up in my Windows Explorer menu, and 'becoming browseable'.

After I got used to it, I also experienced some laggy behavior on the phone's part, but one thing I got used to doing is tapping the message on the phone itself to tell it to 'skip' the driver install each and every time I reconnect it, whether it be to charge, or data, or 'PC software', or whatever.

Once I got tired of some of the 'regular' sluggish behavior of my Windows 7 'finding' the thing, I simply remembered I'd recently begun trying out QtADB awhile back on my Aria, and tried it....results were exactly what it'd done before--full browsing of the phone (I rooted it soon after), full 'Windows' copy-and-paste, delete, etc., file management (from my PC desktop, anyway)...otherwise, I use ES File Manager in the phone.

The attachment is a screenshot I took of the QtADB interface, browsing my PC and phone simultaneously. Copying, moving, deleting everything couldn't be easier than with QtADB, for me, anyway.
[Motorola Droid and Milestone Q&A, Help & Troublesh] ManyaBond:
Hello all,

I noticed today that my Milestone running CM 7.2.4 e is not showing all apps in battery usage stats. :(

View attachment 1640329

Is this normal? Can anyone please check their phone and confirm?

Thanks.
[Motorola Droid and Milestone Q&A, Help & Troublesh] eljan:
yep, no apps are showing here either...
[Motorola Droid and Milestone Q&A, Help & Troublesh] ManyaBond:
Thanks for confirmation! How do we fix this?
[Acer Iconia A500] nurofenplus:
My partner has a bricked A500. It will NOT boot so any utilities utilising adb/dmesg fail. I can boot into fastboot mode (v0.03.11-ICS) but fastboot returns USB write errors stating invalid partition format "." So, I assume I have to use nvFlash to re-write the partition table but this still requires the SBK that I can not generate as I do not know what my CPUID is.

I have read so many threads all offering tweaked variations of the same process but I haven't found as yet a definitive how-to on re-creating your CPUID/SBK on a bricked device as they all assume you either know your CPUID or the tablet stills boots so you can retrieve it easily.

Does anyone have any links to resources to assist? I currently can boot into fastboot and APXmode. Attempts to factory reset seem to kick off OK but then fail with errors erasing data/cache etc... I have both windows/linux and the tablet is recognized in APX/fastboot mode on both OS's.

Thanks
[Acer Iconia A500] Dr.GM:
1- download the attached file

2- go to linux

3- install GCC , lsUSB , Libusb-1.0.x , libusb-1.0-dev (from “Ubuntu software center” )

4- drag and drop the APX.c file in your desktop

5- connect your tablet to the computer (through mini USB) and put it in APX mode

6- Now on computer fire up “Terminal” and type this code

cd Desktop
sudo su
gcc apx.c -o apx -lusb-1.0

7- a new file should appear in your desktop

8- keep typing :

./apx

it will return to you the UID (AKA: CPUID)

DONE
[Acer Iconia A500] dishoom:
Error: Failed to open device

Many thanks for the walkthrough.. n sorry for being such a noob!

My A500 is bricked, and not flashing through update.zip method.. dint have my cpuid so decided to follow your guide.. installed Ubuntu on my windows pc, installed all the additional packages you just mentioned, but after the last command of ./apx it returns with Error: Failed to open device !!!

Now What? can there be ANY way or ANYTHING i can do to get over with this LLAAAST step? pretty pretty please!?

Thanks in Advance!
[Acer Iconia A500] Moscow Desire:
Put your device in APX mode, manually. Then get it.

Sometimes, if you leave it in what you think is APX mode, for a certain amount of time, you may not be able to connect to it. So do it fresh.
[Acer Iconia A500] dishoom:
SUCCESS!!

I finally managed to unbrick my tab, SPECIAL thanks to [MENTION=3887557]Moscow Desire[/MENTION], [MENTION=4361535]eppeP[/MENTION], [MENTION=3986004]civato[/MENTION] and [MENTION=2926417]srbeen[/MENTION].. here's what i did, thought it might help someone else like me!

Booted my PC in Ubuntu, to extract the CPUID, as i didnt have it saved. for that i used instructions from this post: http://xdaforums.com/showthread.php?t=1751978

Nevertheless, i couldnt completely follow it till unbricking, as somehow things didnt quite work out as expected. Expecially, the UID i recovered was as i quoted above, filled with many zeroes.. i got the correct one after tweaking with apx.c file as advised here: http://xdaforums.com/showthread.php?t=2331151 because i later realized i was using a 32-bit system.

After recovering my UID, downloaded the "V8-UNL-ICS-HC-bootloader-MULTI-cwm.zip" thing, given here: http://xdaforums.com/showthread.php?t=1622425 .. its a simplified form of nvflash, and is easier to operate for less techno ppl like me. Booted to windows, downloaded and extracted it, and edited the v8.bat file to remove any cls commands and see what this thing does. Then, opened the command prompt with Administrative rights, and run the V8.bat file... Once my tab was unbricked, i could easily flash any update.zip package i wanted!!

Sounds easy! but believe me, its easier said than done! took me over a week to complete the whole process as i tried almost EVERYTHING as anyone suggested in ANY post to unbrick my tab! but nevertheless, got the result finally and thats what matters!

Guys, the devs at xda, You ROCK!! :good::good::D
[Acer Iconia A500] Moscow Desire:
Speaking for the rest of the mentions, you are most welcome. :D
[Android Q&A, Help & Troubleshooting] gtuck1002:
Is there an app that will remove download restrictions???????
[Android Q&A, Help & Troubleshooting] ajeesh vijayan:
what kind of restrictions?
[AT&T Samsung Galaxy Note II] macm_cell:
I'm new on android, I was able to root and install a scott's clean ROM 4.0.5 on my galaxy note 2 n7100, but I want to download US google play apps like vevo for a say or hulu plus... and because I'm physically located in Mexico I can't!! please Help :confused:

- I already tried to change my profile country on google account

- VPN let me download but not install
[AT&T Samsung Galaxy Note II] NoXion1:
If you can download but not install, try searching for an app on the play store to change your phone's locale to the US and see if that helps.

Sent from my Samsung Galaxy S2 LTE
[AT&T Samsung Galaxy Note II] Skwerl23:
Vpn tunnel?

Sent from GN2 using XDA app
[AT&T Samsung Galaxy Note II] dvdmkr:
I use market unlocker

http://xdaforums.com/showthread.php?t=1695088

Of course, phone must be rooted though.

Good luck!
[Android Software/Hacking General [Developers Only]] SpokaneNexus:
(I would have posted this in the development forums but apparently I don't yet have enough "karma" or something {grin})

I'm on a project to use Android tablets to exchange data via USB with an embedded microcontroller environment. At present I'm using a Nexus 7 (because it supports USB Accessory mode, so it can be powered by the other end) and an Arduino Due (because it has two USB interfaces). I've read countless articles and scoured everything I can find on the topic of programming for USB, but still have some fundamental questions.

The biggest one concerns how the host and device interfaces "identify" each other. Seems like each end needs to expose a USB interface with VID/PID values that the other end knows about and looks for during initialization. This implies that the code on each end would need to control the PID and VID values, as well as other USB descriptor values. Yet none of the code examples I've found ever discuss this.

Example: I've found that the Nexus 7 exposes one PID value (0x4E42) when its USB port is configured in "media device (MTP)" mode, and a different PID value (0x4E44) when its USB port is configured in "camera (PTP)" mode. The protocols for interacting with these two configurations is different, and the code on the other end of the wire needs to know how to handle that. I haven't checked yet but I suspect the values in the usb_interface and usb_interface_descriptor structures also change along with the PID value, since usb.org defines a whole bunch of standardized values for various device types. A connecting device would retrieve these values, potentially from multiple exposed logical interfaces on the same physical USB port, and select a compatible one.

Since I'm writing the code on both ends of the wire, doesn't my code need to somehow convey these values into the USB interface hardware? How is that done, for example, under Android? Do the code examples just omit this because everyone but me knows how to do it? :o

If I just "ignore" this question, then when the Arduino (acting as USB Host) polls the Nexus 7 it will have to select from whatever interfaces are offered. So... whose code is in charge of those interfaces? How does my code tell the Android OS which of these "default" interfaces it will be handling? My suspicion is that, if a USB interface is being advertised, there is *already* code behind it. That brings me full circle to the question of "How does my code inform Android that it wants to use certain VID/PID values?"

I hope I've explained this clearly. It's a pretty detailed question, so if it's unclear I can try to ask it differently. Thanks in advance for any guidance, tips, RTFM's, etc.!
[Android Software/Hacking General [Developers Only]] koklimabc:
For interacting arduino with android device, it can be written under eclipse, you can learned it from "Beginning Android ADK with Arduino" which can be downloaded from torrent market. VID/PID mostly used to allow your device to be recognised to your computer.
[Android Software/Hacking General [Developers Only]] SpokaneNexus:
Thanks, I'll look for that reference!

Yes, but those parameters (along with a couple of others) are used to 1) confirm that the two devices recognize each other, and 2) in some cases to launch the proper code to handle that interface/protocol. So you must have control over them, and must initialize the USB system with the proper values in some manner. I presumed it would be in the Android API but I can't find any reference to setting the low-level values for USB connections.

Thanks again for the response! Anyone with additional data? It would be greatly appreciated!
[Karbonn A21] zebroid:
An Android switcher here coming from iOS and im bit far behind to you guys, Now im here looking for help. I have my first Android Phone a Karbonn A21. Rooted, and i want to flash it with Custom ROMS to maximize its capabilities. Could you guys post link or guide INTENDED for Karbonn A21 custom ROM flashing.

Thank you in advance.
[Karbonn A21] zebroid:
Any help
[Karbonn A21] zebroid:
Thousands of members, no one cares for a newbie like me. Great forum
[Karbonn A21] polayyan:
Read these forums

Refer to this thread and read, a lot of posters can help here

http://xdaforums.com/showthread.php?t=1969618

and

http://xdaforums.com/showthread.php?t=2070402