yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] biggredd:
i have the g2x and it is a really good phone now.. i also would at this time wait if you can for ice cream sandwich to come out and or wait and see the new samsung note phone or sgs2 phone as i think they will be better. however i really do love my phone now. since they released the 2.3.3 update
[General Questions and Answers] M2oSa:
Okay, I'll wait =) !

THanks
[EVO Shift 4G Q&A, Help & Troubleshooting] DeathKoil:
Hey everyone! I have a question that I couldn't find the answer to in the General or Dev forums.

My brother asked me if I could root his phone. I have experience with rooting, CWM, etc on my phone (Atrix), so I told him that I could, but I'd have to do some research first.

He did install the 2.3.3 update, so I understand permanent root is not possible yet. So here's my question-

Is there anything that would stop me from executing the following sequence and successfully getting CM7 onto the phone?

Gain Temp root

Rename install_recovery.sh to something else

Install ROM manager

Install CWM Recovery

Have ROM manager download CM7

Flash CM7

Done

Thank you in advance!

DK
[EVO Shift 4G Q&A, Help & Troubleshooting] Rooster85:
Will not work, the bootloader is locked so flashing roms isn't gonna happen.
[EVO Shift 4G Q&A, Help & Troubleshooting] drob311:
I dont think that would work... The shift is as locked down as the atrix was. I am pretty sure the partitions would still be write protected with only temp root...
[EVO Shift 4G Q&A, Help & Troubleshooting] DeathKoil:
I didn't even think about the bootloader possibly being locked. I always thought HTC had unlocked bootloaders until very recently (Evo 3D) when they released locked bootloaders, then announced that they would allow you to unlock them.

According to this page:

http://wiki.cyanogenmod.com/wiki/HTC_Evo_Shift_4G:_Full_Update_Guide#Flashing_the_Engineering_HBoot

Flashing that will unlock the boot loader. So I should be able to change my steps to:

[Edit: That site is basically instructions on how to install CM7 onto the Shift, and those steps only require temporary root to execute.]

Gain Temp root

Flash HBoot

Rename install_recovery.sh to something else

Install ROM manager

Install CWM Recovery

Have ROM manager download CM7

Flash CM7

Done

Is there anything else that would stop my process above from working?

EDIT - MY Atrix had a new bootloader installed when I did the OTA to Gingerbread several months ago. If the Evo Shift also got a new bootloader with their GB update, three is a chance that flashing HBoot could brick the phone. I'm going to start looking into this now, however if someone knows the answer to this I'd appreciate an answer :)
[EVO Shift 4G Q&A, Help & Troubleshooting] drob311:
Wont work... We have an emmc partitioned phone just like the evo 3d. The o.t.a. to 2.3.3 included a new locked/encrypted bootloader. The partitions are write protected and encrypted. Flashing the eng hboot with a locked/encrypted recovery partition could equal brick...
[EVO Shift 4G Q&A, Help & Troubleshooting] DeathKoil:
Thanks for that info, I couldn't find confirmation either way on the bootloader. I was going to check check MD5Sums before flashing the HBoot just in case.

So can I restore back to Froyo and the old bootloader? On the Atrix you could do this (as long as you didn't unlock your bootloader) by using RSD Lite and flashing the stock SBF file. A quick search on the Evo Shift implies that I can do something similar with the Evo Shift - RUU back to stock Froyo? I admit I know nothing about how that works, I'll start searching now, and any additional info would be great!

Edit: Looks like there is no way to do that either, there doesn't seem to be a way to go back. Interesting that the phone got a new bootloader with the OTA update. My Atrix got a new bootloader with its 2.3 update too, but that was because the new bootloader allowed the users to unlock it. I also see that HTC's online unlocker doesn't list the Evo Shift. So it looks like my brother installing the OTA screwed himself out of getting to run any custom ROMs.

DK
[EVO Shift 4G Q&A, Help & Troubleshooting] drob311:
You got it man... Sorry to be the bearer of bad news... Htc went all moto on us... They even used the same style of 256 bit encryption... Effing ****ty! :(
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Hi hackers,

Threw together something fun for you: a one-click (don't sue me, Bezos) app for enabling or disabling multitasking (no-dehydrate) on Mango. Fast app switching + full multitasking = awesome! Disabling multitasking when you need to save battery = convenient!

Credit to Jaxbot for working out the no-dehydration registry change. That's all this app is, just a convenient way to toggle that registry value.

I'm going to try to add support for more devices (Samsung Focus S and HTC phones that have lost the ability to use COMRegRW.dll).

UPDATE 1.1.1: Case sentitivity recognizing SAMSUNG now fixed, Samsung and LG confirmed!

UPDATE 1.1: Better Samsung support, possible LG support.

Features:

Secondary tile with deep linking! Shows current multitask state and toggles it when tapped.

Supports HTC, LG, Samsung phones.

HTC phones need to not have the latest HTC updates, as those break the Registry driver I used.

The latest DFT ROM works, and others that support TouchXplorer probably do too.

I'm working on a way to make it work with official ROMs as well - you can help out here: http://xdaforums.com/showthread.php?t=1335862

Works on Mango! Uses no homebrew DLLs.

Limitations:

No Dell/Asus/Toshiba/Nokia/etc. support yet (find me a registry function and I'll add them, though).

Doesn't work pre-Mango; it's a 7.1 app (could be downgraded pretty easily).

Requires interop-unlock.

Instructions:

Unpack ZIP file and find the XAP in MultiTaskToggle\Bin\Debug.

Install app on an interop-unlocked Mango phone.

Run app and ensure it loads the current value.

[Optional] Select the value you want; it will set immediately.

[Optional] Tap "Live Tile" button to create a tap-to-toggle secondary live tile.

This app is a simple wrapper for the OEM registry edit DLLs to make use of Jaxbot's hack. I wrote it largely just for familiarity with mango homebrew. The source is a bit of a mess right now - I took an existing homebrew library and beat it savagely until it worked on Mango, but didn't really put the pieces away neatly afterward - but it's simple enough I expect somebody else can use it for good things. Personally, I plan to make an app that allows easy general-purpose registry edits on Mango, though I still don't see any way to do registry browsing.

Thanks to XDA member MarysFetus for taking the time to do a visual overhaul of the app, with nice icons and such. It's much more artistic than my solid-color tiles with simple text! :) Grab the xap directly below. You can also visit the site: http://www.suicideclown.com

Thanks to XDA member singularity0821 for doing more visuals for the app, with a new (and flipping) live tile. I've included that XAP below as well.
[Windows Phone 7 Development and Hacking] parnunu:
Downloading to test now. :D

Oh. wow nice tool.Fast toggle MultiTask no need to edit registry by using touchexplorer and connection setsetup
[Windows Phone 7 Development and Hacking] contable:
Doesn´t run on OMNIA 7.

"System.Runtime.InteropServices.COMExeption (0x80070032)..."
[Windows Phone 7 Development and Hacking] JulietteOnXDA:
Custom Skin

Great App,

but personally wanted to do an custom design, so I've changed color values in the MainPage.xaml file, but for some reason I am getting an error while building the xap.

Anyone knows how to fix that?

Error Code is in German.

@Moderators: delete if this necessary.
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
Error in English;

C:\Program Files (x86)\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Silverlight.Common.targets(249,9): error : Could not load file or assembly 'Microsoft.Phone.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1e' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
[Windows Phone 7 Development and Hacking] go2xraj:
Thank u very much.....

It works great in my HTC Mozart....

regards
[Windows Phone 7 Development and Hacking] dxdy:
work on HTC HD2 Mango 7720 (BTTF)

edit:

change between Dehydrating and Multitasking with Live Tile also working
[Windows Phone 7 Development and Hacking] fiinix:
Read: http://thounsell.co.uk/2010/11/avoiding-reflection-adding-the-interopservices-library-to-the-wp7-sdk/
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
Make sure to read the comments about using Visual Studio Command Prompt. I had to do this after copying in the dll & editing the filelist XML.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Yeah, I had to get around the Strong Name Validation too, before it would compile. People have said it shouldn't be necessary but I ran into it all the time.

Thanks for testing, folks! Let me know if you find any bugs or have feature requests.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Hi Contable,

That's unfortunate, but I need more info to fix it. There should be a stack trace; can you tell me where in my code the exception is coming from? It's probably either the way I'm accessing the registry on Samsung, or the way I'm deciding whether it's a Samsung device or not. Either one can probably be fixed, if I know what's broken.

Unfortunately, the old way of determining what device I'm on (checking a registry key) doesn't work until I know what registry reader to use (the generic reader doesn't work in mango).

Big thanks if you help me get this working!
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Hah... you ever felt like a total idiot before, doing something the unreliable and hard way when there's no need to? Yeah... there's an official API to get the OEM name. LOL @ all those registry-based versions.

New version coming soon. Fixes to Samsung support; please test again. Possible LG support too, please test that also! Still needs Mango.

EDIT: Update is live, now! Please let me know if it works on non-HTC, and give me a bug report if it doesn't. Thanks!
[Windows Phone 7 Development and Hacking] contable:
Here my reply:

V1.1 doesn´t work either. After starting the app on my screen appears a message: "Unknown Manufacturer: SAMSUNG Please report at XDA..."
[Windows Phone 7 Development and Hacking] derausgewanderte:
just downloaded latest and installed on LG Quantum. app works fine, live tile works fine as well. not sure if it does what it says though. still tinkering to see if the settings actually have an effect. should I see a change o fthe setting under settings/background tasks?

That always lists Tasks "on", irrespective of what I do with your app.

edit1: hmm. just tried to turn the Tasks under background tasks in WP7 to off. Now I can't turn it back on. any idea why that is?

edit2: in addition to the observation above it seems some of my multitask programs stopped working in multitasking (they crash on resume, or refresh instead of resume - e.g. bbc news mobile, wpcentral). Is it possilbe your program can have this effect and how to fix it?

edit3: it seems it's only bbc news that crashes. others seem to work fine. maybe that wasn't working before I sideloaded your app (likely).
[Windows Phone 7 Development and Hacking] GoodDayToDie:
LOL case sensitivity fail. Thanks for testing though, try version 1.1.1
[Windows Phone 7 Development and Hacking] contable:
Thanks button is pushed.

V1.1.1 is confirmed to work on OMNIA 7.

I like the concept of the live-tile toggle. A Bluetooth toogle is still a dream...
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Thanks for the report that it works on LG! First post updated.

You can read more about the change by reading about Jaxbot's multitasking hack - that's all this is, a convenient way to enable or remove it. The simple asnwer to "what does it do" is that if you background an app (hit Start, hit Camera, hit Search, lock the screen, answer a phone call, tap on a streen-top toast, switch apps uing Mango's fast app switcher, etc.) the app you were running won't exit. This means it doesn't need to be re-loaded when you switch back, and also means that if it's running a timer or similar in the background, that can still run. However, it also consumes RAM and may decrease battery life.

Mango is completely un-aware of this hack, even though it makes fast app switching work better. Settings -> Background Tasks (a new Mango control panel) has nothing to do with it and shows no changes when I enable or disable the hack.

If you want to test if it's working, this is easy. Enable multitasking using the app. Then, open any NoDo app with a significant load time (anything from Facebook to Plants vs. Zombies). Once that app is loaded, hit the Start button. Then, hit the Back button. If the hack is working, the app will resume instantly, no re-loading at all.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Awesome, thanks for testing and reporting!
[Windows Phone 7 Development and Hacking] derausgewanderte:
thanks for the clarification. Got it. It's good to know it's flying under Mango's radar. Just wasn't sure. The change in the Background Tasks I see must be something else. Apparently something I do not understand at this point. It showed "on" before, now after turning it "off" I can't turn it back to "on".
[Windows Phone 7 Development and Hacking] Jaxbot:
Wait wait hold up... Are you telling me you have interop working on Mango?

Looks like I've been out of it for the last few months. Good work, to all the developers who have been working towards this, and hey, glad to see my hack is still useful come Mango time ;)
[Windows Phone 7 Development and Hacking] mohammadwaqas:
hey, i tried to load the app on to my htc hd7(7.10.7750.68), and using xap deploy got the 0x81030120 error, so removed the ID_CAP_INTEROPSERVICES line to deploy it onto the device, but when i open the app on the phone i get a long error message,

system.exception:unknown error :0 at homebrew.DeviceAPI.Registry.hTCregistery.getDwordValue(string root,string path,string name) at multitasttoggle.mainpage.getcurrentstate() at ..... and the message continues for a few more lines.

anyone resolve this issue?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
It's limited. Using ID_CAP_INTEROPSERVICES apps requires that the MaxUnsignedApp value in the registry be at least 300 (when the tools all set it to 10 or 3). Installing Mango resets this value, too. The process of restoring it is called interop-unlock.

Also, third-party native DLLs compiled for NoDo typically can't be used; they have dependencies on some DLLs that were removed in Mango.

The work-around (except on LG, where you can use the built-in regedit) is to install a ProvXML file to the Windows folder while in NoDo (HTC) or the provxml folder (Samsung), then upgrade to Mango (without the Mango HTC update), then use HTC Connection Setup or one of Samsung's manufacturer app features to process the file. The file makes the necessary registry modifications (change MaxUnsignedApp and prevent relocking), and then you can install and run high-privilege homebrew apps again.

Initially we couldn't use third-party native DLLs, so things like registry browsing, server sockets, and screen capture didn't work. Registry editing (when you know the path) did, though! (These all now work on Mango too.)
[Windows Phone 7 Development and Hacking] GoodDayToDie:
I assume you mean build 7720? This app uses and requires ID_CAP_INTEROPSERVICES. The instructions for provisioning your device for Mango homebrew are in various threads on this forum, but the easiest way for an HTC phone are below:

Be in a pre-Mango build (downgrade to NoDo in your case).

Install the DeployProvXML app at this link: http://xdaforums.com/showthread.php?t=1248845

Run it once (will immediately exit) to put an unlock CustClear.provxml file where Connection Setup will find it.

Upgrade to Mango (*without* running Connection Setup unless you ran DeployProvXML again).

Run HTC's app Connection Setup (install from marketplace if you don't have it yet) and click OK.

You should be unlocked now, and able to use this app, TouchXplorer, and a few others that are Mango-compatible!
[Windows Phone 7 Development and Hacking] PieOfJustice:
Well done. Works great. Might want to rethink the look of the live tile.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Visual design isn't my strong point; I threw the tile images together in a few minutes using Paint (did I mention this was basically an afternoon's work?). The colors were inspired by mangoes. :-)

I've included the source; you can easily replace the images and re-bundle it. If you send them to me and I like them better, I'll include them in future updates.
[Windows Phone 7 Development and Hacking] Jaxbot:
Ah, gotcha! Looks like I'm not too far behind the game, then ;) Nice work with the application, btw!
[Windows Phone 7 Development and Hacking] bilaba70:
I don't get it. How did you even manage to get Mango unlocked?

I can't even download a single app from the Zune store or from another source, because I wasn't able to unlock NoDo 7392.

I'd appreciate it if someone can answer this.
[Windows Phone 7 Development and Hacking] Marvin_S:
On NoDo the only solution is getting an official unlock. (sign up as student or wait for official chevron unlock).

Than you will need to unlock mango by having a provxml file on your device before updating.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Correct. I actually have an official marketplace account, so I was able to use that to dev-unlock my phone. Then I installed a homebrew app on NoDo that I used to set up my phone so I'd be able to use homebrew on Mango. Then I updated to Mango, did the full unlock (the "MaxUnsignedApps" tweak also allows Mango homebrew, and "prevent relock" keeps it from resetting constantly) and was good to go.
[Windows Phone 7 Development and Hacking] JulietteOnXDA:
Help you out.

I think I could help you out with this.

But due an epic internet fail caused by my provider it might take a while till I am finally able to pm them.
[Windows Phone 7 Development and Hacking] JulietteOnXDA:
Finally finished it.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Thanks! Added link to the first post.
[Windows Phone 7 Development and Hacking] JulietteOnXDA:
Mango RTM Spark Error

Just upgraded to RTM 7720 Build by DFT and I suddenly received an error launching the App.

I'll post Error Code later.
[Windows Phone 7 Development and Hacking] cruzzmz:
on Samsung Focus using Mango 7720.68, I got error
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Did you remove ID_CAP_INTEROPSERVICES before deploying the app? It relies on that capability and won't work without it. I'm on the same build as you are (HTC HD7, but some build and revision numbers) and don't have any problem, and it's been tested to work on Samsung before.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
That error means it can't load a native DLL for Samsung. Make sure the required DLLs (ComRil and FCRouter) are in the XAP, and that ID_CAP_INTEROPSERVICES is in the manifest.
[Windows Phone 7 Development and Hacking] zoiter123:
I get an error on DFT 7720, can't write it out at the moment. I'm using the xap from the attachments, not the zip, if that helps.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Hmm... wondering if there's something funky with the DFT ROMs that is interacting weirdly with homebrew. Maybe you *should* try removing ID_CAP_INTEROPSERVICES for those? I don't know, and I'm not willing to reset my phone to flash a new ROM on it until there's a more compelling reason to do so. Standard ROMs + Mango homebrew (via the "prevent relock" registry keys) can run the app just fine.
[Windows Phone 7 Development and Hacking] cruzzmz:
could you be kind enough to show me the how to???

thanks
[Windows Phone 7 Development and Hacking] GoodDayToDie:
XAPs are Zip archives. Open it in the archive tool of your chice and/or just rename the extension to .ZIP and let Windows do it for you. There should be a buch of DLL files, including the ones I named.

If you used the XAP from the ZIP download (as opposed to the standalone XAP) I assure you they're there. I'm pretty sure they're present in the other download too, soo...
[Windows Phone 7 Development and Hacking] zoiter123:
I still get the error from both XAPs
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Can you run other hybrid Homebrew apps in Mango? For example, Advanced Config or TouchXplorer from TouchXperience?
[Windows Phone 7 Development and Hacking] JulietteOnXDA:
I can't run them on dft.

I think they messed something up with homebrew.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Dang, that sucks. I was really hoping that DFT would open up more homebrew capabilities.

On the other hand, Heathclif (of WP7 Root Tools fame) says he's got homebrew *native* DLLs working on Mango, so it may be that we can run anything we want on stock Mango anyhow!
[Windows Phone 7 Development and Hacking] gms0012:
can not install it on my omnia 7.

other apps (also interop hack) are working great!
[Windows Phone 7 Development and Hacking] GoodDayToDie:
What error do you get when you try and install it? Also, which XAP are you using - the one in the ZIP file or the stand-alone?
[Windows Phone 7 Development and Hacking] Zealson:
你好我的手机是LG E900.前几天刚刚升级到最新的7720版本,然后运行你这个XAP后,直接弹错,

具体内容是:

System runtime interopService..................................

................................................................................................

................................................................

此处省略``反正就是有错误
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@Zealson: Please post in English. I have no idea what you're trying to say, and a long series of . doesn't help either.

The only things that come to mind to ask are:

A) Is your phone Interop-unlocked? (It needs to be, search this forum).

B) Did you remove ID_CAP_INTEROPSERVICES from the manifest? (Don't, or the app won't work).
[Windows Phone 7 Development and Hacking] Qtek8020User:
Add

HubType="268435456"

to the <App> Tag in WMAppManifest.xml

Then the app will integrate into Setting instead of acting like an ordinary app.
[Windows Phone 7 Development and Hacking] singularity0821:
I have created some metro style icons that you guys can use. They are transparent so you can't see them clearly without downloading them.

I have also added some code for flipping Live Tiles that show the status, but I am not sure if it is okay to upload it since it is not my work (except for the small changes).
[Windows Phone 7 Development and Hacking] clfosk:
This makes it a pain to uninstall. Also, how would you pin it to that start screen?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
My code is open source; please feel free to modify and redistribute it so long as you don't try to claim it was all your own work. For that matter, at the very least *I* would love to see what you did.

In other words, feel free to post your work, and if you send me your modified source I would by happy to incorporate the changes and credit you for them.

Thanks!
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@clfosk:

The app itself has no need to be pinned to the Start screen; it creates a secondary tile to show the current status (and tap-to-toggle it). I agree about the uninstall thing, which is why I didn't put that setting in initially, but I'll include a second XAP with that configuration in my next release.
[Windows Phone 7 Development and Hacking] Qtek8020User:
My point exactly. IMO this is a setting, not an app

You got me there. I have no idea on how to uninstall a "Setting" :)

I appreciate that ;)
[Windows Phone 7 Development and Hacking] singularity0821:
You should have a PM with my (small) changes :)

This is a version with flipping tile and new icons:

View attachment MultiTaskToggle.xap
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Nice work, thanks!

I may just put in an option for which "theme" to use. :-)