yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab General] Kostiz:
I'm pretty sure I've done a backup via titanium, but havent tried to restore from that, also i removed overcome 1.4 as thought i had wifi issues which when restored from OEM backup that OC1.4 performed it bricked it, so I had to use a full roto conversion which changed my modem & i assume pit as well.

Before (stock)

PDA : P1000XWJJ4

PHONE : P1000XXJID

CSC : P1000OPSJJ3

Build Time : 2010.10.16 20:35:06 KST

Changelist : 639474

Firmware 2.2

Kernel Version : 2.6.32.9

After roto rom

PDA : P1000XWJMI

PHONE : P1000XXJMA

CSC : P1000OXAJMG

Build Time : 2011.01.22 01:24:16 KST

Changelist : 869777

Hence why i want to bring it back to my OEM CSC & Modem if that's at all possible..

I cant even find the OEM ROM and Kies or Samsung Website?
[Windows Phone 7 Development and Hacking] lyriquidperfection:
Us T-Mobile users cannot flash Roms at the minute because the download mode button combo has been disabled.

Maybe there is a way to do this programatically or use a resistor accross certain USB pins like the Galaxy S method.

What's your opinion on this?

Sent from my OMNIA7 using Board Express
[Windows Phone 7 Development and Hacking] KarmaXXK:
Yesterday I wasted some time playing around with the USB diagnostic port (enable in the Diagnosis app, it's the third USB mode option). Both PSAS and QPST can connect to and mess with the phone, so I think if someone knows his way around, the phone can be kicked into Download Mode.

(I only managed to crash the phone in many different ways, but I was really just monkeying around.)
[Windows Phone 7 Development and Hacking] daleski75:
If this can be done it would be great as this is the first phone I have owned where I cannot flash firmware myself.

Might be worth while seeing if everyone with a tmobile uk branded omnia 7 has this issue?

FYI I have included my firmware versions etc so we can try and collate a list of working/non working ones to see what the differences are if any.

os version 7.0.7004.0

firmware revision number 2424.10.10.6

hardware revision number 3.15.0.4

radio software version 2424.10.10.6

radio hardware version 0.0.0.800

bootloader version 4.10.1.9

chip soc version 0.36.2.0
[Windows Phone 7 Development and Hacking] lyriquidperfection:
Yes, I tried the *#7284# code and changed the USB Path Control to "Modem, USB Diag" and my phone was recognised by the ROM Downloader but the phone was not in download mode.

I have stumbled upon something which may be what we are looking for though, after reverse engineering the Samsung Diagnosis app I notice there are codes to access 'Operator Specific' Admin areas in the app. Take a look at the attached image.

Now as you can see, the values listed cannot be typed into the Diagnosis app as there is a formula to decipher them. I have the formula but cannot get it to work.

Private Overloads Function GetHashCode(ByVal str As String) As UInteger
Dim num As UInteger = 0
For i As Integer = 0 To str.Length - 1
[B]num = ((num << 5) + num) + str(i)[/B]
Next
Return num
End Function

Now the bit highlighted in bold is the bit I cant get to work.

It gives the following error:

Operator '+' is not defined for types 'UInteger' and 'Char'.

Once someone can help to get this working, reversing the formula should in theory show us the correct *#000# code combination for each area. :)
[Windows Phone 7 Development and Hacking] daleski75:
Fingers crossed you can crack it!
[Windows Phone 7 Development and Hacking] martani:
I worked on this few days ago, I couldn't reverse the hash function but we had some brilliant ideas how to do it (see the stackoverflow thread about it http://stackoverflow.com/questions/4523553/reversing-a-hash-function)

but I used brute force and extracted some 60 diagnosis codes that you can find here http://www.martani.net/2010/12/windows-7-hacks-all-diagnosis-codes-you.html

and here http://www.martani.net/2010/12/windows-7-hacks-all-diagnosis-codes-you_26.html
[Windows Phone 7 Development and Hacking] lyriquidperfection:
This is great stuff martani if there is any way to decipher these ones, they may be worth looking at:

g_ADMIN_GENERIC = 3370684588

g_ADMIN_TMOBILE = 469486183

g_ADMIN_VODAFONE = 474092301

These ones indeed look very interesting and may offer a way to enable ADC or even the Download Mode some people like me have been looking for.
[Windows Phone 7 Development and Hacking] martani:
Actually the code is a little misleading, if you see closely, the enum HashCodeTable is used nowhere.

The app waits for user input, after each "tap" on a number it calls the function ParseDial() that hashes the input with GetHashCode then calls the function GetEnumFromList() on this hashed value.

In GetEnumFromList, there is no use of HashCodeTable and even the codes you provided are not hard-coded in this function. I am not sure why they are there :D but as far as I can tell, to access these parts of the diagnosis app, you need another method than dialing a code it seems :D
[Windows Phone 7 Development and Hacking] lyriquidperfection:
Damn it! Looks like we are back to square one!

Have you seen also on the Samsung Galaxy S the Download mode is disabled on some devices, but some users made a jig where you bridge 2 pins with a certain resistor and it knocks the phone into download mode. Maybe this would work on the Omnia 7 also???? :D
[Windows Phone 7 Development and Hacking] daleski75:
I am hoping for a software based fix rather than hacking together something.
[Windows Phone 7 Development and Hacking] martani:
Can you share how did you reverse the hash function? I worked on this some time ago but finally just brute forced it to extract the keys.
[Windows Phone 7 Development and Hacking] lyriquidperfection:
I would also like to know how he reversed the hash codes! I tried for hours and had no luck!
[Windows Phone 7 Development and Hacking] Heathcliff74:
Haha.. Well, I first tried to calculate the original dial-codes, but that seems to work only for dialcodes shorter than 8 digits (5 bits per digit, 32 bits hash-code = 32 / 5 = 7 digits + 1 digit for the extra add):

uint hash = 0; // enter hash here
string DialCode = "";
while (hash > 0)
{
uint digit = (hash % 33) + 33;
if (digit > hash)
hash = 0;
else
hash = (hash - digit) / 33;
DialCode = Convert.ToChar(digit) + DialCode;
}
return DialCode;

But this does not work for long dial-codes. So after that I just made a little program to brute-force it. I copied the enum with menu-titles and hash-codes to my project. Then I used reflection to populate a sortedlist. Then I started to brute-force and check all dialcodes for their hashcode and see if it exists in the list. If it exists, I add it to a textbox and remove the item from the list. That's it. So it is not really reversed, but my program took about an hour to get dial-codes for all the hashcodes in the enum.

SortedList<uint, string> hashCodes = new SortedList<uint, string>();
int l = typeof(HashCodeTable).GetEnumNames().Length;
string[] menunames = typeof(HashCodeTable).GetEnumNames();
for (int i = 0; i < l; i++)
{
try
{
hashCodes.Add(Convert.ToUInt32(Enum.Parse(typeof(HashCodeTable), menunames[i])), menunames[i].Substring(2).Replace('_', ' '));
}
catch { }
}

char[] chars = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '#', '*' };

for (int length = 1; length <= 20; length++)
{
ushort[] digits = new ushort[length];
for (int i = 0; i < length; i++) digits[i] = 0;
while (true)
{
// calc hash
uint hashCode = 0;
for (int i = 0; i < length; i++)
{
hashCode = ((hashCode << 5) + hashCode) + chars[digits[i]];
}

if (hashCodes.ContainsKey(hashCode))
{
int m = hashCodes.IndexOfKey(hashCode);
string str = "";
for (int j = 0; j < length; j++)
str = str + chars[digits[j]];
textBox1.Text = textBox1.Text + hashCodes.Values[m] + " = " + str + " (0x" + hashCode.ToString("X") + ")" + Environment.NewLine;
hashCodes.RemoveAt(m);
}

// increase
digits[length - 1]++;
for (int k = length - 1; k >= 0; k--)
{
if (digits[k] >= 12)
{
if (k == 0)
break;
else
{
digits[k] -= 12;
digits[k - 1]++;
}
}
}
if ((digits[0] >= 12) || (hashCodes.Count == 0)) break;
}
if (hashCodes.Count == 0) break;
}
[Windows Phone 7 Development and Hacking] lyriquidperfection:
Excellent stuff! Thank you for this very interesting code snippit! :)
[Windows Phone 7 Development and Hacking] attilah:
WP7 diag codes

This is because the compiler optimized out the switch statement and compiled the constants into the IL code for the hash codes.

Within the main switch statement where keypad entries are evaluated there are ~112 codes and I've reversed all of them. Writing hash algorithms is not straightforward and it's quite a simple one, since my app captured 2-3-4 variants of keycodes for the same hash value.

Regarding the most interesting entries at the top of the enum the ADMIN_ entries...those hash values are not handled by the application, maybe Samsung has another diag app or a different app which is using the same method.

The other thing I can think of is there are APIs in the diag app which one is sending the hash of a keycode to the given driver...I tried that but the ADMIN stuff did not worked that way either :-((

If anyone is interested I can post the resolved codes, but not sure if I can post it in the forum or not ;-)
[Windows Phone 7 Development and Hacking] attilah:
Regsitry entry to enable SLDR mode

I found this definition in B44C7A84-5068-4b43-A1E5-F870A80F6FF8.rgu:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UsbFn]

...

"OsMode"=dword:0 ; 0 for Main OS, 1 for SLDR

....

Is the download mode == SLDR mode?

Since maybe we can set this entry "somehow", and upon next reboot we will get into download mode so we can flash the device?

So the question is, what is SLDR mode? Secure Loader mode? I don't know this, a more pro in this area should help out ;-)

UPDATE

I was able to read the value (0) and write it back (0). Did not tried to write 1 there :-)
[Windows Phone 7 Development and Hacking] Heathcliff74:
Hey guys. I know this thread is about programmatically enter downloadmode, but I wanted to try the 301k resistor trick and I can confirm it works on Samsung Omnia 7.

I used this guide. If you're gonna do that too, then you should pay attention to these things:

- The guide refers to pin 4 and 5 being closest to the headphone socket. But on the omnia 7, the headphone and micro-usb sockets are the other way around if you compare it to the Galaxy S. The guide is for the Galaxy S, so you should really pay attention to which pins you solder the resistor(s). This is the best picture on how you should solder the resistor(s).

- Many micro-usb cables have no wire for pin 4. Some connectors don't even have a pin 4. You should first verify that your connector has all 5 pins. If you only have 4 wires, then you have to dismantle the connector and solder directly on the back of the connector.

I switched off my Omnia 7. I plugged in my jig and it went to downloadmode immediately.

It's late now, so I will see tomorrow what I will be going to flash on it. There quite a few roms and I'm not sure which one I should use. I have to figure that out first.

If anyone has questions about how to make a jig, just ask. I know how to make one now.
[Windows Phone 7 Development and Hacking] FromOuterSpace:
You should post pictures, how to make such a cable. Thanks
[Windows Phone 7 Development and Hacking] Heathcliff74:
The picture I linked to in my previous post look pretty clear to me. It shows what pins you have to use. The guide I linked to contain all the other necessary details. If you have any specific questions about something that is still not clear, you can ask me.
[Windows Phone 7 Development and Hacking] Vintage144:
Just monkeying around myself today with my focus , pressed the volume button, on/off button and camera button at the same time (after the att splash screen , right where it says windows phone) and it will take you to download mode, there will be a yellow triangle with exclamation mark in it , it will say download mode , do not turn off ,it takes about ten minutes
[Windows Phone 7 Development and Hacking] lyriquidperfection:
Hi, we are already aware of the button combo, but this has been disabled on some devices and the only other way to enter download mode at present is with the 300k Resistor Jig. :)
[Windows Phone 7 Development and Hacking] mughalgxt:
Programmable mod for bootloader is still too distant owing to limited third party app support in WP7, in case a software mod is made, executing it is yet another issue, for the phone needs to be dev unlocked and so on (another tedious maneuver) . A galaxy s three combo enabler does exist and perhaps may be ported to omnia 7 but will it be executable with WP7 current restrictions?:confused:
[Vibrant Q&A, Help & Troubleshooting] kewlkid123:
So i sitting at my desk wish my Vibrant plugged into a wall charger on my lap, forgetting about the phone being on my lap i turn and the phone fall off onto carpet (1 and a half foot drop). Now when i try to use the charger (it is a blackberry one) It is a slightly looser fit and it says USB debugging enabled. I tried it on another Micro USB charger and it fits perfectly but it also says that it is in USB debugging mode. My phone was about 99% charged if that means anything. Is my Micro USB messed up? Please help!
[Vibrant Q&A, Help & Troubleshooting] xriderx66:
mine did that once or twice on regular charger, maybe just a bug? idk about yours though...
[Vibrant Q&A, Help & Troubleshooting] wytwolf:
there's probably nothing wrong with your phone

It's probably in the settings.

Settings / applications / development and you'll find the USB debugging box checked.
[Vibrant Q&A, Help & Troubleshooting] xtone:
reboot and see if the problem persists.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bobbyjonesrocks:
Hi,

I usually just read this forum for fun, but now I want to get serious with modding my phone and tweaking it to my specifications.

I'm currently using a Blackberry with Tmobile's prepaid service. However, I'm tired of my small 2.5" screen. Hence the reason I'm looking at the HD2. I want to start using Android because of its flexibility with customization.

Here's my question: Can I buy a HTC HD2 off of eBay, flash it to Android, and then stick in my Tmobile prepaid SIM?

If I can do that, will I have a problem with the activation of the device? I wanted to buy a stock Android phone but I've read they require a SIM with a working data plan or borrow a SIM from somebody using an Android phone. (I don't have access to either).

Final question: Will MMS work on this device if I don't have a data plan?

Thanks!
[HD2 Android Q&A, Help & Troubleshooting and Genera] zarathustrax:
You can use a prepaid tmobile with any android phone as long as its unlocked or locked to tmobile. If you already have an active sim, just stick it in and it'll work fine. You only need a data plan if you get a phone with a service plan from tmobile store... if you bought phone on your own, you dont need a data plan. I use my prepaid tmobile in my hd2, and just pay the $1.50 for the web daypass when I need data for the day. Not sure about mms without data... never use mms.
[HD2 Android Q&A, Help & Troubleshooting and Genera] buzz killington:
Yes. I have been doing this since I bought my phone. Just popped in my old prepaid sim and you're done. You don't have to activate the phone as long as your sim is active (phones with blocked imei excluded of course).

Can't answer the question on mms since I've never sent one. But I assume it's the same 25c they charge as per my prepaid agreement.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bobbyjonesrocks:
Thanks for your help. The only thing holding me back is I would greatly appreciate it if someone can confirm that MMS does not need a data plan. Once someone does, I'm getting it off eBay and then flashing Android! :)

Can anyone confirm it?

Thanks!
[HD2 Android Q&A, Help & Troubleshooting and Genera] dung8604:
As of right now, I'm pretty sure mms requires a data plan.
[HD2 Android Q&A, Help & Troubleshooting and Genera] smartphonedummy:
you have to call tmobile to confirm. i know tmobile themselves do not require a data plan for mms to work. my son has a samsung lg that sends and recieves mms with tmobile and no data plan, however my daughter has a mytouch 3g and is unable to send and recieve mms. i contacted tmobile and they claim it is the specs of the phone that is the problem. give them a call they are very helpful, hell that is how i found out cotulla got nand finalized, while on the phone trying to fix daughters phone, the customer service rep was telling me about cotullas nand progress and even referenced xda. it was beautiful. good luck
[HD2 Android Q&A, Help & Troubleshooting and Genera] bobbyjonesrocks:
Thanks for the help! I'll probably call Tmobile and do a little more research.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bobbyjonesrocks:
I did a quick Google search and realized that my Blackberry shouldn't be able to send and receive MMS's as well. I'm not sure why I can.

Do you think I should take a chance, buy one off eBay and see if it works?
[HD2 Android Q&A, Help & Troubleshooting and Genera] azzzz:
sending mms on android REQUIRES data plan...i was able to receive mms but can't send without data plan. You Can always switch to window mobile to use mms. Android on hd2 comes rooted so no need for activation. You Can skip it or activate via wifi.
[HD2 Android Q&A, Help & Troubleshooting and Genera] zarathustrax:
I think my brochure I had about prepaid t-mobile said mms was same price as sms if I remember right. With prepaid t-mobile we have access to t-zones without having to buy web daypass.
[HD2 Android Q&A, Help & Troubleshooting and Genera] buzz killington:
I know for sure that sending/receiving mms is listed on the prepaid package as 25c so it does not require a data plan (for prepaid). It probably goes through t-zones like the previous poster said.

Quote from the t-mobile website
[HD2 Android Q&A, Help & Troubleshooting and Genera] zarathustrax:
I'll try out sending a mms tonight with my prepaid t-mobile and see if it works without data.

UPDATE: I just tested sending a picture with mms with my hd2 using prepaid t-mobile without being attached to WiFi or buying a web daypass, and it was successful. The 3g symbol popped up, so it did use data through tzones, but it didn't charge anymore than the 25 cents it costs to send mms.

I just started using prepaid tmobile about a month ago because I couldn't afford paying $80/month for the cheapest smartphone plan, and so far I'm very happy. I can pay $1.50 for the days I need data, which isn't often, as I'm usually around WiFi... and since I put $100 on my account to begin with, I only pay 10cents/min and my account will be good a year as long as I have credit. I only spent about $15 this first month of service! It works great for anyone on a budget like me.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bobbyjonesrocks:
Thank you SO much for your help! This convinced me to finally get it; my new HTC HD2 should arrive on Monday. :) I can't wait!
[General Questions and Answers] basstimman:
when iam on a call i dont get no beep i checked my settings and nutn seems to be wrong i have a sprint EVO on Calkulin rom I have even flashed the radio with the latest version. What can I do?
[Fascinate General] kylesag21:
So i recently. Flashed super dark for djo5. But it did not give me the also lockscreen. I tried to download it from blackbole in rom manager and installed it but still nothing. I have wiped the data and caches on both these installs. Any ideas?
[Fascinate General] bendbowden:
Use root explorer and go to data > local. Delete the file that says enable_glass_lock. If you ever want to restore puzzle/glass lock, go back to data > local and create a FILE (not folder) named enable_glass_lock. This is the easiest way to do this :)
[Fascinate General] kylesag21:
Thank you very much!
[Windows Mobile Apps and Games] luisblack666:
Could someone get me the windows mobile 6.5 rom in English for the mio p550?

Because the version 6.5 that exit was made by Crashoverhead in French.

Thanks
[General Questions and Answers] cash65:
Hey guys,

I just used a flashtool to upgrade to android 2.1 today since the official upgrade isn't available yet. Everything is working well, except i'm not able to use 3g. Is there anyone out there who might be able to help me remedy this problem, or at least tell me what I probably did wrong? I'd really appreciate it.
[General Questions and Answers] KelvinMead:
The official upgrade is out there. Plug your phone into your computer and update from the se software
[General Questions and Answers] cash65:
I have the X10a. and whenever I plug it in to use the PC companion for upgrade it said my phone was up to date even with android 1.6. Was I missing something?
[General Questions and Answers] cash65:
Alright i figured it out. I just needed to add the att apn infornation to the phone. Aftet that it worked like a charm
[General Questions and Answers] cellphonedestroyer:
Helllp!

I have been trying to root my x10a. I managed to get to the point where superuser is on the phone but it does nothing. I tried to update the superuser as the message went something about 'bin v su' and update but the update failed. I tried to use superone click and got it to state that root files are in the phone now, but I tried to use titanium backup and it says must be rooted. I spent the last few days forum hopping to find a solution, downloaded SDK setup and all platforms and tried to manually put in code from the cmd.exe and it gives me something about adb is not recognized as a command. I googled the error and tried some of the recommended fixes at sxeveral sites, but I have had no luck with instituting superuser to full function. I am sure I am doing something wrong but I know I'm close. HEY YOU GUYS! (electric company on PBS)
[General Questions and Answers] augie7107:
The official upgrade is not out there in all markets. SE is setting a record for the time frame required to diseminate an upgrade globally. Comical.
[General Questions and Answers] cruzin_cruzing:
You have to input the APN Settings for your carrier manually.
[General Questions and Answers] cellphonedestroyer:
I do not understand and I intend upon putting 2.1 in it after its rooted, but it tells me that I need to flash into recovery for SU, but I can't back up the phone without proper root...or can I? Please more info. I generally do not ask for help, but I am in up to my nostrils with this and I want to succeed. I have tried superone click, I downloaded androot, but i CAN'T EVEN GET THAT TO RUN. Several others and manual. So do I flash from here? with no back up? and if so, how to flash to recovery, please. thanks.
[General Questions and Answers] cruzin_cruzing:
If you are on 1.6, then SuperOneClick will not work. You need to be up to 2.1 for SuperOneClick to work. I do not know Androot though.
[General Questions and Answers] cellphonedestroyer:
Thanks I will search how to input the APN and check in from here.
[General Questions and Answers] daking454:
OK, I am trying to root my X10 and this is the first time that I have tried to do something like this. I am on step 2 of a guide which is to enable USB debugging and run 2_root_system, but every time I try to do it, it says "Error: Device not found" please help as I did the flash downgrade to start the process and my phone is really basic right now.
[General Questions and Answers] BBITT:
Thats very similar to the issue I'm having. Its related to the USB driver. However, I can't seem to find the USB driver to talk to the phone so that the root can be sideloaded to the phone.
[General Questions and Answers] addictd24hrs:
im from india, i hav an unlocked at&t grey market piece. It shows on my PC companion dat d latest software is installed on d fone. how do i g8 it from 1.6 to 2.1 o betta?
[Droid X General] Funnyface19:
when restoring apps from titanium backup where does it install them, ive looked in /system/app and cant find some of them and i thot maybe the sdcard but i dont have any installed there. does anyone know or am i not looking hard enuf. Thanks and Happy New Years!