Problem with Chevron exe connection! - HD2 Windows Phone 7 Q&A, Help & Troubleshooting an

Namely, when unlocking (with all the procedures ...) I get a message from Chevron that has a problem with the USB connection and Zune.
At the beginning (20.01.) I have twice without problems WP7 unlocked, but now no way!
I read a lot of posts, and I must say that I am confused, where is the problem?
THX.

http://forum.xda-developers.com/showthread.php?t=918710
http://forum.xda-developers.com/showpost.php?p=10463609&postcount=1

duhhh said:
http://forum.xda-developers.com/showthread.php?t=918710
http://forum.xda-developers.com/showpost.php?p=10463609&postcount=1
Click to expand...
Click to collapse
resolved tried twice, everything is OK.
problem with the hosts
namely, on the other IP addresses I tried, and resulted from the problem .....
all having the same problem, go into Windows \ System32 \ drivers \ etc \ hosts
open hosts with notepad and enter the / exchange
192.168.1.107 (of course your IP) developerservices.unlock.me
192.168.1.107 (of course your IP) developerservices.windowsphone.com
save, end that's it.

its still not connecting.
387ena said:
resolved tried twice, everything is OK.
problem with the hosts
namely, on the other IP addresses I tried, and resulted from the problem .....
all having the same problem, go into Windows \ System32 \ drivers \ etc \ hosts
open hosts with notepad and enter the / exchange
192.168.1.107 (of course your IP) developerservices.unlock.me
192.168.1.107 (of course your IP) developerservices.windowsphone.com
save, end that's it.
Click to expand...
Click to collapse

Related

How to patch drivers (on WM5) ?

Hi,
I'm trying to patch the keyboard driver on my HTC Universal to still work if the clam is closed.
I patched one byte in the dll to change the return value of a specific function, and re-signed it using some kind of signing package with the sign.bat.
However, upon copying it to my device, after a soft-reset it seems like the keyboard driver just wouldn't load.
None of the keys worked, and in the start menu all shortcuts with shortkeys were prefixed with a & character.
Is there anything special I need to do to get this driver to load ?
Thanks,
TB
We have seen the same thing. As I understand it, under WM5 drivers have to be signed to be loaded, by changing the byte you've probably invalidated the signing on the DLL thus stopping it loading.
undergrid said:
We have seen the same thing. As I understand it, under WM5 drivers have to be signed to be loaded, by changing the byte you've probably invalidated the signing on the DLL thus stopping it loading.
Click to expand...
Click to collapse
As I said, I (tried to) re-sign it using some kind of sign.bat
Source of sign.bat is:
Code:
@echo off
if "%1" == "" goto oops
if not exist %1 goto oops2
signcode -spc TestCert_Privileged.cer -v TestCert_Privileged.pvk %1
goto exit
:oops
echo Usage: sign [filename]
goto exit
:oops2
echo %1 not found.
echo.
:exit
You have to make sure that the certificate is known to the device.
Even test certificates that come with MS Visual studio need to be registered on the device before you can use them.
Search this forum on how to add certificates to devices (there are several threads on this)
Got tired of trying to import a patched keybddr.dll,
So instead I wrote an app to patch the driver when already loaded, mwuhahaha!

[FIXED] WPA-EAP working?

Anyone tried WPA-EAP access points?
I cannot connect with my Archos 70 IT 8GB
I put the following on my /data/misc/wifi/wpa_supplicant.conf
network={
ssid="myCorp"
key_mgmt=WPA-EAP
eap=PEAP
identity="xxxx"
password="yyyyy"
ca_cert="keystore://CACERT_my"
phase2="auth=MSCHAPV2"
priority=1
disable_pm=1
}
i've enabled secure store and imported ca.cert file
all Windows laptops are able to connect with this cert only
i doubt that this is not supported by current Archos firmware, but if someone could try...
bobybc said:
Anyone tried WPA-EAP access points?
I cannot connect with my Archos 70 IT 8GB
I put the following on my /data/misc/wifi/wpa_supplicant.conf
i've enabled secure store and imported ca.cert file
all Windows laptops are able to connect with this cert only
i doubt that this is not supported by current Archos firmware, but if someone could try...
Click to expand...
Click to collapse
I use peap at home and leap at work. No certs though. Get yourself WIFI Advanced Configuration Editor from the market. It has all those options. That's how I got leap to work.
I've used this editor too
but it seems that there is a bug with certificates :
code.google.com/p/android/issues/detail?id=8804
Click to expand...
Click to collapse
if someone can build wpa_supplicant with proposed patch ...
Anyone obtain the following files from Eclair 2.1 ?
/system/bin/wpa_supplicant
/system/bin/wlan_loader
/system/bin/wlan_cu
i can`t
i can`t! anydon try?
10x 2 Steve , we have fixed version, but unfortunately it doesn't work on my Archos
http://code.google.com/p/android/issues/detail?id=8804
Let someone else try and confirm pls :
download
just unzip and copy to /system/bin
Anyone tried?
Sent from my A70S using Tapatalk
finally i managed to get it working
with wpa_supplicant module from CyanogenMod for Motorola Droid - see it attached
just unzip and copy to /system/bin and delete /data/misc/wifi/tiwlan.ini
of cource you need root access
you need to delete tiwlan.ini on every restart, because it's been always recovered
wpa_supplicant.conf file looks like :
ctrl_interface=tiwlan0
update_config=1
network={
ssid="MYCorporate"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="XXXX"
password="YYYY"
priority=1
}
Click to expand...
Click to collapse

[GUIDE] How to delete Windows.old folder

Had serious troubles deleting Windows.old folder. The Windows 10 on-board tools didn't remove it. Also afterwards running DOS-commands
Code:
attrib -r -s c:\windows.old /S /D
rd c:\windows.old /S /Q
which I ran as Administrator didn't work: Always hundreds of messages "Access denied" got.
Finally found the solution to get successfully deleted Windows.old folder. All one needs are two tools, available for free in the Internet ( A .REG-file and an .EXE-file ).
HOW-TO:
1. Unpack the included Unlocker1.9.0-portable .ZIP-archive to any HDD/USB-stick location of your choice
2. Install the .REG-file Add_Take_Ownership_to_context_menu, i.e. click on it
3. Navigate to folder Windows.old, right-click on it and run "Take ownership"
4. Open Unlocker
5. Drag Windows.old folder on it
6. Select Delete as action to perform
After some time (hours?) you should get message "Success. Object deleted".
FYI:
I packaged the 2 tools into a .ZIP-file. If you are interested in, then you can download it from here
Thought I should share it.
Thanks been wondering how to get rid of it. It's been taking up to much space
Sent from my N9518 using Tapatalk
without install anything you can delete folder and no hours-waiting
just use cleanmgr.exe
alt+r and type cleanmgr
choice the drive where older windows are located (usually c:\)
then click on system file cleaning (maybe you can read something like this 'cause my system language is italian)
in "file to delete" list just check "older windows versions"
hit ok and that's it
tyler200298 said:
without install anything you can delete folder and no hours-waiting
just use cleanmgr.exe
alt+r and type cleanmgr
choice the drive where older windows are located (usually c:\)
then click on system file cleaning (maybe you can read something like this 'cause my system language is italian)
in "file to delete" list just check "older windows versions"
hit ok and that's it
Click to expand...
Click to collapse
I guess that's easier
Sent from my N9518 using Tapatalk
heet1 said:
I guess that's easier
Sent from my N9518 using Tapatalk
Click to expand...
Click to collapse
I totally agree with tyler, It is easier using the disk clean-up utility. I just have a little correction. Use the Windows key + R key to open the disk clean up utility not alt + r. If you have any problem, quote me
Gadtech said:
I totally agree with tyler, It is easier using the disk clean-up utility. I just have a little correction. Use the Windows key + R key to open the disk clean up utility not alt + r. If you have any problem, quote me
Click to expand...
Click to collapse
ops, thanks for correction
jwoegerbauer said:
Had serious troubles deleting Windows.old folder. The Windows 10 on-board tools didn't remove it. Also afterwards running DOS-commands
Code:
attrib -r -s c:\windows.old /S /D
rd c:\windows.old /S /Q
which I ran as Administrator didn't work: Always hundreds of messages "Access denied" got.
Finally found the solution to get successfully deleted Windows.old folder. All one needs are two tools, available for free in the Internet ( A .REG-file and an .EXE-file ).
HOW-TO:
1. Unpack the included Unlocker1.9.0-portable .ZIP-archive to any HDD/USB-stick location of your choice
2. Install the .REG-file Add_Take_Ownership_to_context_menu, i.e. click on it
3. Navigate to folder Windows.old, right-click on it and run "Take ownership"
4. Open Unlocker
5. Drag Windows.old folder on it
6. Select Delete as action to perform
After some time (hours?) you should get message "Success. Object deleted".
FYI:
I packaged the 2 tools into a .ZIP-file. If you are interested in, then you can download it from here
Thought I should share it.
Click to expand...
Click to collapse
Or just use the disk cleanup tool that's built in with Windows. Click clean system files and check ☑ delete previous installation of Windows (windows.old folder)
Yaakov Brea said:
Or just use the disk cleanup tool that's built in with Windows. Click clean system files and check ☑ delete previous installation of Windows (windows.old folder)
Click to expand...
Click to collapse
I was just about to comment this. I wouldn't recommend deleting Windows.old until AFTER running Disk Cleanup, clicking on Clean System Files and deleting previous installation of Windows.
tyler200298 said:
ops, thanks for correction
Click to expand...
Click to collapse
Yeah, that also works too
I successfully got rid of it.... (May be harder then both methods though). In win10, there is a reset feature in settings. Just do this reset and tell the system to save nothing. Now I know that means starting over but you get the cleanest install of win10 possible )something like 10gb) without extra programs taking up space. Also I figure if your reading this, you should be affluent at installing drivers and such. If you don't have the drivers for your computer, they are usually available from the website of the manufacturer. I keep driver and program download backups...
Sent from my SM-G935V using XDA-Developers mobile app

[ROOT] How to change MAC address of the OnePlus 5T

TL;DR: (story in second post)
As always, everything you do is at your own risk. I'm not responsible for your phone running away or any nuclear wars.
1. Edit the content of /persist/wlan_mac.bin using a file manager with root access (e.g. Solid Explorer) and change the first two lines to your desired MAC. It's a good idea to keep the first 3 bytes (the OUI), or bad things may happen.
2. Using a terminal emulator (e.g. Termux), execute the following commands:
Code:
su
chattr +i /persist/wlan_mac.bin
And done! You may have to switch airplane mode on and off.
I just got my new OnePlus 5T, and of course, one of the first things I want to do is to change my MAC address. I immediately spotted the file:
Code:
/persist/wlan_mac.bin
But even if I hadn't, tools like my overseer can find it automatically for us.
So the file is in a standard directory for Qualcomm chips. Using Solid Explorer (with root access), I modified the file's content to change the first two lines to my desired MAC address. I then switched airplane mode on and off and..... it didn't work? I quickly checked the file content again - it had reverted back. Ouch.
To combat this, I ran my overseer tool, but to no avail. There was no obvious file containing our MAC, only symlinks to this one. I then figured that maybe the system caches the value somewhere, and restores it when I toggle airplane mode (spoiler: it doesn't).
Well, the next attempt is mainstream: write-protect the file (set it to immutable). Using a terminal emulator (e.g. Termux), I executed:
Code:
su
chattr +i /persist/wlan_mac.bin
Airplane mode on and off... and it works! I restarted the phone and verified our success. Now, one last question burdened me. Was the system caching the MAC address? I removed the immutable attribute after the restart (so the new MAC would have been cached) and after I switched airplane mode -- original MAC was restored! So the system is doing something else to stop us.
Anyways, the current method works flawlessly and I shall refrain from digging any further just now.
Good luck!
i did whatever you mentioned here. after i set it to immutable, wifi wasn't working, mac address was 02:00:00:00:00:00 . i couldn't even edit the file because i set it to immutable. so i had to remove the immutation by using -i command. i still wanna know how to change my mac address. please help me out
aneesh12 said:
i did whatever you mentioned here. after i set it to immutable, wifi wasn't working, mac address was 02:00:00:00:00:00 . i couldn't even edit the file because i set it to immutable. so i had to remove the immutation by using -i command. i still wanna know how to change my mac address. please help me out
Click to expand...
Click to collapse
Hey,
You have to edit the file before you set the immutable flag, otherwise you'll get access denied just like you observed. Unless you messed up the content of the file I see no reason you are getting an invalid MAC. Make sure you preserve the first 3 bytes (the OUI) when setting a new MAC.
ViRb3 said:
Hey,
You have to edit the file before you set the immutable flag, otherwise you'll get access denied just like you observed. Unless you messed up the content of the file I see no reason you are getting an invalid MAC. Make sure you preserve the first 3 bytes (the OUI) when setting a new MAC.
Click to expand...
Click to collapse
is there no way to change the whole Mac address(including the OUI)?
aneesh12 said:
is there no way to change the whole Mac address(including the OUI)?
Click to expand...
Click to collapse
Sure you can, as long as you use a valid OUI. While using a made-up OUI won't affect you in the short-term, some (public) hotspots could block you.
okay, by your method, i could change the mac address but not completely, only the last 4 digits. i searched for woan_mac.bin . this is what i found. these files might be causing for you to reverting back to the original mac address after removing the immutation.
I tried to change mac address of my OP5T completely to my laptop's(lenovo thinkpad) mac address
system is reading that address in reverse fashion.
eg. i put Aa:Ba:Ccd:Ee:Ff at the first line of wlan_mac.bin then system is showing Ff:Eed:Cc:Bb:Aa as mac after airplan mod on/off

[NST/G] [HOW-TO] Managing cacerts.bks

Part 1 (thanks to a new character limit...)
By now many of you know that the small file on the NST/G which contains web certificates (/system/etc/security/cacerts.bks) is slowly becoming out-of-date. The first important certificate to expire was for Amazon and that crippled the Kindle app until member @tshoulihane worked out a way to update the expired certificate. In 2020, one of the certificates needed to negotiate syncing of books with FBReader expired and I finally took the plunge and figured out how to update the certificate for that. Although @tshoulihane had provided directions in the original post, I was too dense to follow them correctly. Now, as promised, I am providing what I hope is an overly-explicit set of instructions (my specialty) so that anyone can do this, even when I am dead (!).
This guide is for Windows (10, in my case). If you're not using Windows you may be much happier but you'll have to figure this out for yourself. If you are using Windows, you know that we will have to wait for some of that happiness in the next life ;-)
Assembling the tools
jdk-6u45 (download-32 bit, download-64 bit). Oracle now requires a sign-up, etc., to get at these old files, so I have archived them.
bcprov-jdk15on-146.jar (download). This old file is required to make all the magic happen.
Setting up the tools
Install jdk-6u45, using defaults--unless you have some specific reason for changing things. Don't worry if you have other JDK versions installed. They can coexist. Once the JDK is installed, use Windows File Explorer to locate the installation, something like Program Files/Java/jdk1.6.0_45 (that could be Program Files (x86) if you installed the 32-bit version). Find the sub-folder "lib". If there isn't one, create it. Inside that folder create another folder, "ext" (if it doesn't already exist). Place in that folder the jar file you downloaded. So, just to be clear, you should end up with:
(64-bit) Program Files/Java/jdk1.6.0_45/lib/ext/bcprov-jdk15on-146.jar
(32-bit) Program Files (x86)/Java/jdk1.6.0_45/lib/ext/bcprov-jdk15on-146.jar
Looking at cacerts.bks (optional)
If you want to see what the "innards" of your cacerts.bks file looks like copy out /system/etc/security/cacerts.bks from your device to your PC (use some readily accessible directory like "Documents" or "Downloads"--someplace you have rights).
Open a Windows command prompt window. Execute the following:
Code:
cd C:\Program Files\Java\jdk1.6.0_45\bin
[for 32-bit: cd C:\Program Files (x86)\Java\jdk1.6.0_45\bin]
Windows 10 allows you to paste text into the command prompt window. I suggest you copy the following command to a text editor, adjust it to your situation, and paste into the command prompt window. Then hit Enter. The text is perilous to type and you can get very frustrated by small errors.
Code:
keytool.exe -keystore C:\Users\nmyshkin\Documents\cacerts.bks -storetype BKS -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath "C:\Program Files\Java\jdk1.6.0_45\lib\ext\bcprov-jdk15on-146.jar" -storepass changeit -v -list > C:\Users\nmyshkin\Documents\calist.txt
Note that a path which contains spaces requires the use of quotation marks or you will get an error. You would need to replace "nmyshkin\Documents" with whatever path is correct for you.
The resulting text file (calist.txt) contains a list of all of the certificates and information about them, including their expiration dates.
Housekeeping
Some time ago I came across a Honeycomb ROM (last stop before ICS and cacerts which update on the fly) and extracted its cacerts.bks file, reasoning that it would be more up-to-date than our version. This proved to be true (the Amazon certificate, for example, has not yet expired), and there were also many more certificates--not a bad thing. There were also a lot of dead certificates. So for a sort of baseline, I have attached a zipped copy of that file with all the dead stuff removed. It also has a functioning Amazon certificate and the update for FBReader book sync. You're welcome.
The good stuff follows in the next post...
Part 2
How do you remove dead certificates?
Note: ALWAYS keep a backup copy of your cacerts.bks file. If you mess up, you need to be able to go back. Also, before returning an updated cacerts.bks file to your device, you should have made a complete device backup. A faulty cacerts.bks file will cause a bootloop. The only recovery is a forced shutdown (not easy in itself) and a restoration of the nandroid backup with NookManager or similar.
Let's pretend that you have a dead certificate and a check of the calist.txt file created as described above reveals that its "alias" is 27. Certificates sometimes have ridiculously complicated names so in the cacerts.bks file they are often given numerical aliases. Here's how to get rid of one (presumably before you replace it):
Open a command prompt window and execute the following:
Code:
cd C:\Program Files\Java\jdk1.6.0_45\bin
[for 32-bit: cd C:\Program Files (x86)\Java\jdk1.6.0_45\bin]
Copy the text below and adjust the paths for your situation, then copy and paste the result into the command prompt window. Press Enter.
Code:
keytool.exe -keystore C:\Users\nmyshkin\Documents\cacerts.bks -storetype BKS -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath "C:\Program Files\Java\jdk1.6.0_45\lib\ext\bcprov-jdk15on-146.jar" -storepass changeit -v -delete -alias 27
You would need to replace "nmyshkin\Documents", the alias number, and potentially "Program Files" (if you are using 32 bit) to customize the command.
Importing/updating a certificate
Well, this is the "real deal". Someday that Amazon certificate is going to expire again and render the Kindle app useless (assuming Amazon doesn't abandon it first). Or something else may crop up that you'd like to fix (like the FBReader issue I mentioned earlier). To some extent, this may also address website access issues, but most--if not all--of those are more broadly SSL related and that is another kettle of fish altogether.
Importing a certificate is no more difficult than any of the other operations already described (once you have the command written out!). The difficulty is in obtaining the certificate to import! Here is where these instructions get a little squishy because they are initially based on information obtained from your PC's browser (and even its version). I happen to use an up-to-date version of Firefox so that's how I am approaching this. If you use a different browser, you will have to figure out this part on your own, but Googling will doubtless help.
Let's say the Amazon certificate has expired (again...). My first best guess is that the same certificate(s) used on Amazon.com are used for the Kindle app. So I head on over to Amazon.com with Firefox. When I arrive I note that there is a little "lock" symbol just before the "https:...." in the url line. Mousing over this symbol I see "Verfied by: DigiCert Inc." So it's some kind of DigiCert certificate. Clicking on the lock symbol I see site information for Amazon including "Connection Secure" which can be expanded to show "Verified by DigiCert Inc." and at the bottom of that little window is "More information". Clicking there gives me a lot more stuff, but what I want is just the "Security" tab where I can see "View Certificate". Aha! Clicking on that reveals that there are at least two certificates, DigiCert Global CA G2 and DigiCert Global Root G2. I may need only one, but it's safer to have both. Still, I need actual copies of the certificates. In an older version of Firefox you could click on the lock and get to a place where you could export copies of the certificates. No more. That was too easy. Now it's like this:
1. Navigate to the site (Amazon.com) and discover which certificates are used, as described above
2. Open the browser menu to access "Options"
3. Click on "Privacy and Security" in the left-hand menu
4. Scroll down to "Certificates"
5. This takes you to a window in which you want the last option, "Authorities"
5. Scroll to find the certificate(s) discovered by the steps described above.
6. Click on the certificate and then on "Export". Accept the default file type (X.509 Certificate (PEM) (*.crt;*.pem)) and the ".crt" extension. Save.
7. Change the file extension on the saved certificate to ".cer".
OK! Do this for whatever certificate(s) you need. Now it's time to get them into the cacerts.bks file. Make sure the saved certificates are in some directory on your PC for which you have rights (like "Documents" or "Downloads").
Open a command prompt window and execute the following:
Code:
cd C:\Program Files\Java\jdk1.6.0_45\bin
[for 32-bit: cd C:\Program Files (x86)\Java\jdk1.6.0_45\bin]
Copy the text below and adjust the paths for your situation, then copy and paste the result into the command prompt window. Press Enter.
Code:
keytool.exe -storetype BKS -keystore "C:\Users\nmyshkin\Documents\cacerts.bks" -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath "C:\Program Files\Java\jdk1.6.0_45\lib\ext\bcprov-jdk15on-146.jar" -storepass changeit -importcert -alias Amazon -file "C:\Users\nmyshkin\Documents\DigiCertGlobalRootG2.cer"
You would need to replace "nmyshkin\Documents", potentially "Program Files", the alias string or number as well as the certificate file name to customize. The "alias" is a number in our cacerts.bks file, but you can use a string instead. Otherwise, you need to choose a number that is not already used or use the same number(s) for the expired certificate(s) that you previously removed.
You will see a series of things scroll through the window, stopping at a confirmation dialog. You need to enter "yes" to accept the certificate.
Repeat if there are additional certificates to import/update.
The Proof in the Pudding
IF you have done these steps correctly, you should be good to go. You need to move the revised cacerts.bks file back to your NST/G (/system/etc/security/cacerts.bks). Be sure the file permissions are set to rw-r--r--, then reboot. If you get stuck in a bootloop you goofed. Try to interrupt the boot sequence with the power button. Eventually you will succeed and can restore a backup using something like NookManager. Try again
Hi, thank you for all your help as always nmyshkin, my how do i connect it to the nook?
I do all the steps, but I am lost on how to replace the system directory in the nook with the cacert.bks file so that the kindle app could log-in throught the NTGS.
vicus21 said:
Hi, thank you for all your help as always nmyshkin, my how do i connect it to the nook?
I do all the steps, but I am lost on how to replace the system directory in the nook with the cacert.bks file so that the kindle app could log-in throught the NTGS.
Click to expand...
Click to collapse
If you rooted with the updated NookManager, the cacerts.bks file is already updated. No need to do anything else.
As for the Kindle app, there are a few things you should know. When you try to log in you will get an error message. But if you check your email you will see that Amazon has sent you a one-time-password (OTP). Try that.
Here's where it gets a little complicated. If you have two-factor-verification turned on at Amazon, the OTP may fail. At least one XDA member has reported that if he added the OTP to his regular password, he was able to log in.
My most recent experience went something like this:
1. Try to log in. Get OTP via email.
2. Try OTP. It fails.
3. Check Amazon account...hmm..I don't have two-factor-verification (TFV) turned on. What gives?
4. Turn on TFV.
5. Turn off TFV.
6. Try to log in. Get OTP via email.
7. Try OTP. It works!
I don't have TFV turned on (I don't own a smart phone). But Amazon didn't seem to recognize that until I turned it on and then turned if off.
It would be nice if the other member is correct and you just append the OTP to your regular password to log in. Let us know!

Categories

Resources