I have used the method posted in this forum (not using chevron) and my phone doesn't get developer unlocked. If this is because I'm running version 8107
Camry Racing said:
I have used the method posted in this forum (not using chevron) and my phone doesn't get developer unlocked. If this is because I'm running version 8107
Click to expand...
Click to collapse
It shouldn't be. I also have a 8107, and it's interop unlocked. MFG method worked flawlessly. What's the error message you get when you try to deploy XAPs? What are you using for app deployment? Have you installed the latest Windows Phone SDK (as far as I know, it's necessary to be installed - someone correct me if I'm wrong)?
cant conect phone not booted or not developer unlock
and using application deployment
but its not getting unlock I tried verifying and it isnt getting unlock
Ok, just for clarification, the site has a couple of different ways to unlock your phone and you haven't specified which one you are using.
That being said, I have the lastest update and ever time I've flashed my phone, this works.
And no, you don't need anything other thant MFG installed on your phone to developer unlock it.
I have to unlock it becasue that is the only way I can get wifi sharing to appear.
From: http://forum.xda-developers.com/showthread.php?t=974874
How to Un-Lock your Phone without Chevron 7
You can unlock the phone by using the MFG registry editor.
1.Open the MFG app and use the password to open it. If you don't know it's (appmfg#*#)
2.Go to Engineer Menu -> Other Settings -> Edit Registry
3.Set your ROOT PATH to "HKEY_LOCAL_MACHINE"
4.Set your input path to "\Comm\Security\LVMod"
5.Set your input key to "DeveloperUnlockState" and set to DWORD
6.Hit Query. Output result should return a "0" or a random long number. If it does continue.
7.Set your input data box to "1" and hit SET. Output result should be 1
How To Keep Your Phone Unlocked
You can keep your phone unlocked and prevent Zune from re-locking it.1.Open the MFG app and use the password to open it. If you don't know it's (appmfg#*#)
2.Go to Engineer Menu -> Other Settings -> Edit Registry
3.Set your ROOT PATH to "HKEY_LOCAL_MACHINE"
4.Set your input path to "\Software\Microsoft\DeviceReg"
5.Set your input key to "PortalUrlProd" and set to DWORD
6.Hit Query. Output result should return data. If it does continue.
7.Keep your input data box empty and hit SET. Output result should be 0
8.Keep this screen open and continue to Part 2
***
when you do the above, do the outputs match what's writen?
You can unlock the phone by using the MFG registry editor.
1.Open the MFG app and use the password to open it. If you don't know it's (appmfg#*#)
2.Go to Engineer Menu -> Other Settings -> Edit Registry
3.Set your ROOT PATH to "HKEY_LOCAL_MACHINE"
4.Set your input path to "\Comm\Security\LVMod"
5.Set your input key to "DeveloperUnlockState" and set to DWORD
6.Hit Query. Output result should return a "0" or a random long number. If it does continue. (randon long number for me )
7.Set your input data box to "1" and hit SET. Output result should be 1 (1 for me )
How To Keep Your Phone Unlocked
You can keep your phone unlocked and prevent Zune from re-locking it.1.Open the MFG app and use the password to open it. If you don't know it's (appmfg#*#)
2.Go to Engineer Menu -> Other Settings -> Edit Registry
3.Set your ROOT PATH to "HKEY_LOCAL_MACHINE"
4.Set your input path to "\Software\Microsoft\DeviceReg"
5.Set your input key to "PortalUrlProd" and set to DWORD
6.Hit Query. Output result should return data. If it does continue. (here it ouputs 0 for me )
7.Keep your input data box empty and hit SET. Output result should be 0 (of course it returns 0 again)
8.Keep this screen open and continue to Part 2
then what is wrong?
Camry Racing said:
How To Keep Your Phone Unlocked
You can keep your phone unlocked and prevent Zune from re-locking it.1.Open the MFG app and use the password to open it. If you don't know it's (appmfg#*#)
2.Go to Engineer Menu -> Other Settings -> Edit Registry
3.Set your ROOT PATH to "HKEY_LOCAL_MACHINE"
4.Set your input path to "\Software\Microsoft\DeviceReg"
5.Set your input key to "PortalUrlProd" and set to DWORD
6.Hit Query. Output result should return data. If it does continue. (here it ouputs 0 for me ) This might be you issue, check your spelling and the root path, it should return a value other than 0, I think even if you unlock it, but I could be wrong.
7.Keep your input data box empty and hit SET. Output result should be 0 (of course it returns 0 again)
8.Keep this screen open and continue to Part 2
then what is wrong?
Click to expand...
Click to collapse
Also, how are you or what is telling you it isn't unlocked?
cant side load apps because is says that isn't developer unlocked
Etaduck said:
6.Hit Query. Output result should return data. If it does continue. (here it ouputs 0 for me ) This might be you issue, check your spelling and the root path, it should return a value other than 0, I think even if you unlock it, but I could be wrong.
Click to expand...
Click to collapse
This is wrong. First query should return a number different from zero. If you switch to STRING, it should display the actual link to MS. So, I guess that you misspelled the registry key/path.
Don't forget to clear the PortalUrlInt key - without it it won't work.
I have done this several times checking everything is alright and I always get the same result
Related
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!
i flashed cm7 because i want to openvpn to make work beside from battery makes last...
now, can someone help me how to configure it?
thanks in advance guys...
Hi,
I've managed today to configure the openvpn client, and it's very simple.
First of all you have to pack client.crt, ca.crt and client.key into a single PKCS12 file. The command from linux to do this is :
openssl pkcs12 -export -in [PathToClientCert] -inkey [PathToClientKey] -certfile [PathToCACert] -name [FriendlyName] -out certs.p12
(Be sure to replace Path..... with appropriate path to your files)
If you don't have linux you should download openssl.exe , just google for it.
That file "certs.p12" you have to move to sdcard root and from the phone you should go to : Settings -> Location and Security and tap "Install from SD Card"
After importing the certificate you can go and create a new vpn connection
That's all
Also you should check carefully advanced options from openvpn gui by tapping "Menu -> Advanced settings"
faraonu said:
Hi,
I've managed today to configure the openvpn client, and it's very simple.
First of all you have to pack client.crt, ca.crt and client.key into a single PKCS12 file. The command from linux to do this is :
openssl pkcs12 -export -in [PathToClientCert] -inkey [PathToClientKey] -certfile [PathToCACert] -name [FriendlyName] -out certs.p12
(Be sure to replace Path..... with appropriate path to your files)
If you don't have linux you should download openssl.exe , just google for it.
That file "certs.p12" you have to move to sdcard root and from the phone you should go to : Settings -> Location and Security and tap "Install from SD Card"
After importing the certificate you can go and create a new vpn connection
That's all
Also you should check carefully advanced options from openvpn gui by tapping "Menu -> Advanced settings"
Click to expand...
Click to collapse
I'm trying to do this and when I try to import the .p12 file in Settings->Security, it says my password is wrong... I even used the same password for the export (the next thing it asks after you run that command) and the Android credential storage, so I couldn't confuse the two. What gives?
Hello,
I have successfully paired my stowaway Bluetooth keyboard with the GT. However I am not able to change the keymapping of the keyboard to use the German layout of the keyboard. Any ideas out there how to change the mapping?
Interesting: Under /system/use/keys... there is a Motorola bluetooth Keymap ...
First off, thanks for trying this out, haven't got around to trying my iGo stowaway keyboard, so nice to know it should work. In regards to keyboard mapping this thread may be helpful:
http://forum.xda-developers.com/showthread.php?t=799079
Thank you for the link. Theres a lot of mapping to try out I had allready been playing around with the charmap files but the description in the link is much more detailed.
if you can't get it to work properly with the work people have already done, it's pretty simple to manually edit the keymap.
1. plug in the tab and start adb shell
2. run the getevent command
3. press a key and look at the middle number that shows up. should look something like
/dev/input/event1: 0001 0073 00000001
/dev/input/event1: 0001 0073 00000000
Click to expand...
Click to collapse
I forget what the first number but the second number is the key(in this case, volume up) and the third is the state(1 down, 0 up).
4. convert the key number from hex to decimal.
5. cd /system/usr/keylayout
6. cp qwerty.kl qwerty.bak
7. exit adb shell
8. adb pull /system/usr/keylayout/qwerty.kl
9. open up qwerty.kl and look for the key that you found in decimal(not the original number).
10. edit the file and push it back to /system/usr/keylayout
if this does not work, try editing Generic.kl
Thank you for the information.
Funny thing is, that the qwerty.kcm on the GT 10.1V is not a .bin-file. It is simply editable with a Text editor:
key A {
label: 'A'
number: '2'
base: 'a'
shift, capslock: 'A'
alt: '#'
shift+alt, capslock+alt: none
}
key B {
label: 'B'
number: '2'
base: 'b'
shift, capslock: 'B'
alt: '<'
shift+alt, capslock+alt: none
... and so on.
So the first step would be to find the key number (with "keytest" or getevent), followed by changing the mapping of the keys.
I wonder if I could just add:
FN_left: 'behaviour'
FN_right: 'behaviour'
additionally.
I'm not sure exactly what you're planning on doing, but I can tell you right now that adding things to qwerty.kcm will not work. It's strange that it's not a bin file but anyway, there are many different files that use the same values as qwerty.kcm that need to be edited accordingly. Obviously in honeycomb it is a little bit different, but I know that in froyo, you needed to edit KeyEvent.java, KeycodeLabels.h, nav_keys.py, attrs.xml and Monkey.java before the values in qwerty.kcm could take effect.
That being said, you can edit the values that are already there.
I work for the android dev team at Broadcom and I found all of this out while trying to add support for the escape key on hardware keyboards. I wanted to be able to use vi on an android tablet. I did have the escape key working, but google does not allow for vendor specific key mappings so I would have had to "contribute a patch to the open source project to define those new codes" in order to "maintain a consistent set of key code definitions across all Android devices." I didn't really feel that this was worth it since most apps that require an escape key(connect bot for example) have another way of doing it.
I am trying to use a StraightTalk SIM in a MyTouch4G. I have been doing research and trying everything under the sun to get this SIM to work. PLEASE HELP
I contacted T-Mobile to get an unlock code (which I have) but when I put the straighttalk SIM in the MyTouch did not ask me to enter in a pin (maybe because I have it rooted???). So now I have been trying this method
Now you can follow the following 11 Simple Steps:
Make sure you have visionary installed on your device and download this file:
mediafire.com/?gzaozcurazidh98
md5sum: 31560b0fc69958c2fbe444ce7a000a39
1. Now unzip the file into your SDK tools directory.
2. Plug your device into your computer.
3. Now open explorer and hold down shift at same time you right mouse click on your SDK tools directory. Select open command window here. If you are in linux (ubuntu) right mouse click on your SDK tools folder, choose actions, and choose open command window(or whatever it’s called). Otherwise, open a command prompt and cd your way to your SDK tools directory.
4. Type “adb push gfree /data/local” and hit enter.
Optionally, you could dl the file to your phone use androzip or something like it to unzip the file and then use root explorer to move all the files to /data/local. This would skip the first 4 steps.
5. Now unplug your device from the computer.
6. Run visionary to gain temp root.
7. Open terminal emulator on your device, type “su”, and hit enter to gain root privileges.
8. Type “cd /data/local” and hit enter.
9. Now type “chmod 777 gfree” and hit enter to make the program executable.
10. Type “./gfree” and hit enter.
11. Wait for the program to finish and then reboot into HBoot to see if S=Off. Also, check your bootloader version. If it says s=off and has bootloader version 0.86.0000 it worked. Congratulations!
So I got the S=OFF and 0.86.000 and I still could not use the ST SIM.
When I run ./gfree here is what I get on my screen.
Section header entry size: 40
Number of section headers: 44
Total section header table size: 1760
Section header file offset: 0x000138b4 (80052)
Section index for section name string table: 41
String table offset: 0x000136fb (79611)
Searching for .modinfo section...
- Section[16]: .modinfo
-- offset: 0x00000a14 (2580)
-- size: 0x000000cc (204)
Kernel release: 2.6.35.14-cyanogenmod-g9e5cdf1
New .modinfo section size: 216
Attempting to power cycle eMMC... Failed.
Module failed to load: No such file or directory
Can someone please help me figure this out? I would GREATLY appreciate it!
Thank you,
Matt
I remember when I was first trying to root my mytouch 4g....man was that a pain lol....any ways, this should help you out man
androidandme.com/2011/12/news/htc-super-tool-unlocks-bootloader-roots-most-devices/
Don't forget to hit the thanks button
•Beastly Glacier Running 4.0.3•
This tool didn't seem to work for me.
Is there a way I can check to see if my phone is unlocked? I inserted my ST SIM into my mytouch but it does not work, it doesn't even recognize the SIM.
Is there a way I can get my phone to ask me for an unlock code (I have one)?
Read up-to-date rooting guide, found in abundance everywhere. If you can't find - Wiki in my signature. It should have explained a couple of things to you.
You're rooted and running Cyanogenmod Gingerbread, judging by your kernel. gfree only works in Froyo. You'll need to put stock 2.2.1 on first.
And judging by your bootloader info, you're rooted with gfree already, because there's no other way you would have 0.86 bootloader and S-OFF. So unless someone specifically avoided unlocking your phone (highly unlikely), you're already unlocked - and that's why the phone doesn't ask you for unlock code.
Hi Jack_R1 - Thank you for your reply and the info. I have been rooted for some time and that part was pretty easy. I also think I have unlocked my phone I just don't understand why when I put in a SIM from a different carrier nothing happens?
Are there settings to turn on/off on the OS when using another SIM? I was expecting more to happen when I insert the ST SIM.
Thanks
When the phone is SIM-unlocked, nothing special will happen when you insert a different SIM. The only thing that should happen, is that it'll ask you to re-sign in to Google account at the first time when it has data connection - as a built-in Android measure of personal data protection. For the rest it'll just work as usual - try to find the nearby towers and subscribe to them, if found, establishing cellular link. If nothing is found - you won't see the reception bars, just "x" on them. If something is found - you'll see the carrier name on the notification bar when you pull it down.
Okay everyone I have come up with yet another method. This one is demonstrated for android PIE but you can modify it a little and make it work for any version of android I guess.
This guide is written for an audience that has ROOT ACCESS and allows you to configure any type of APN criteria. The need for this guide is VERY VERY VERY real because you have never in your life been more frustrated than not being able to use your device properly all because of Verizons discrimination against its MVNO users by locking down APN's on devices that use Verizons network.
I've written other guides on other forum sections of XDA to get APN's into a phone with this problem but you are never able to completely edit everything how you want it. This is due to the app called "carrier settings" stored in the device that has all the carrier info programed inside the APK that automatically turn off editing APN options when verizon is detected
The simple breakdown of this process is
1. Locate telephony.db
2. copy telephony.db to a backup folder that you create somewhere on your device for safe keeping.
3. Copy telephony.db to your computer
5. open telephony.db using "DB Browser for SQLite" on your PC (I know there are Playstore apps that can edit these databases as well but its a pretty big task to find one that does it right.)
6. Make changes
7. Copy back to phone
8. overwrite the old telephony.db with your new one
9. Reboot phone
Part 1 Steps
1. Use a file explorer on device and navigate to /data/user_de/0/com.android.providers.telephony/databases/
This is the new location of telephony.db
2. Copy "telephony.db" to a backup location for safekeeping and send a copy to your computer.
Part 2 Steps
Open SQLite browser on PC and open the telephony.db file
1. Click on "Browse Data"
2. From there click the drop down next to"table"
Now you will see all your APN's your phone is setup to use. You could just go ahead and change the values of the current apn you are using which is most likely "VZWINTERNET"
3.Double click the field value you want to change
4. type the values you want into the field
5. When done click on "apply"
repeat the editing steps until you get all the values like you want them
6. now click "Write Changes"
7. Now copy the database back to your phone and then place it back into the /data/user_de/0/com.android.providers.telephony/databases/ directory to overwrite the old one
If i helped then give me a like
Picture attached of buttons to click in sqlite pc browser program
This bricked my android install sadly. I wonder what I did wrong.
deskjet390 said:
How I accomplish this on my Pixel XL (and other phones that have locked apn settings)
This is what I have to do because my carriers apns are not in the Pixel XL's database and wrongly detect them as Verizon.
1. First off you need to have root.
2. After root, you need to hook phone into PC and access adb shell with root permissions.
3. After that.... issue this command
Code:
content query --uri content://telephony/carriers/preferapn
This will tell you which APN your phone is using at this current time. I have found it easiest to edit the APN your phone is using already. You then look where it says "_id=SOME NUMBER"
4. Once you know what number your phones APN settings is using then its time to issue the commands to edit that apn Number field
Replace SOME NUMBER with whatever apn number you are editing. Below is the syntax to edit the most usual apn fields. A good thing to do would be to obtain your APN settings and I may be able to help you find out what fields you need to edit
Code:
content update --uri content://telephony/carriers --where "_id=SOME NUMBER" --bind type:s:"default,dun,mms"
content update --uri content://telephony/carriers --where "_id=SOME NUMBER" --bind user:s:"[email protected]"
content update --uri content://telephony/carriers --where "_id=SOME NUMBER" --bind mmsc:s:"http://mms.whateverwirelss.com"
content update --uri content://telephony/carriers --where "_id=SOME NUMBER" --bind mmsport:s:"whateverport"
This is what works for me 100 percent to get the right APNS in a verizon MVNO or Verizon LRA carrier partners apns programmed into whatever device i want to.
Click to expand...
Click to collapse
Follow this instead. Less risky, as you aren't directly editing files ^^
I have a pixel 3a XL on Lineage OS 19.1 and first method worked great. Updated on computer and then transferred back to telephone.db back to phone. Rebooted and mms came right in. I would have preferred just to be able to add the other apns to the apn screen vs mashing the mms info into the one apn that is currently being seen. Not sure if that is possible.