HTC Shift Debug Tools and SD access - Shift Development

Dear All,
Just installed the 1.29 which enables voice calling (but no mic).
I noticed that there's a full suite of debug tools on this rom, and especially interesting are :
QXdmSDlog.exe - seems to be able to write to SD ! (I coudn;t get it to work yet)
Debugtools 3.2 (one can set the radio flags in here, and also enable USB bridging it seems
GPSRouter.exe seems to be able to route GPS info to the Vista part (unconfirmed)
I wonder if there's anyone who has done some testing with these three debugtools, and what success they have.
I set the radio flags to 4xx as described, but the SD tool won't log to SD yet.
There's a difference in DebugTools, one has to access them from the SnapVue settings icon, not from the start menu...

Please dump the tools and attach on this thread
Hi,
Appreciate if you can copy the tools or the folder (HTC Debug folder) and zip and attach it here on this thread

lucid said:
Dear All,
Just installed the 1.29 which enables voice calling (but no mic).
I noticed that there's a full suite of debug tools on this rom, and especially interesting are :
QXdmSDlog.exe - seems to be able to write to SD ! (I coudn;t get it to work yet)
Debugtools 3.2 (one can set the radio flags in here, and also enable USB bridging it seems
GPSRouter.exe seems to be able to route GPS info to the Vista part (unconfirmed)
I wonder if there's anyone who has done some testing with these three debugtools, and what success they have.
I set the radio flags to 4xx as described, but the SD tool won't log to SD yet.
There's a difference in DebugTools, one has to access them from the SnapVue settings icon, not from the start menu...
Click to expand...
Click to collapse
I have tested with BTRouter and BTTest and found by disabling the port you could write to COM8 and once you disable it USB port would go away.
If you could provide me the tools you are talking about and the ROM, I can take a look into that.
Note: I can say one thing, since the SD is not activated, probably SD tool wont log to SD. I may be wrong too, that tool might be activating it too.
Thanks
Ram

Related

G1 Debug Mode

Hi Guys,
I just rooted my T-Mobile Unlocked G1.
After doing this I updates it with Jesusfrek 1.5 ADP.
I want to start learning to create Android application so I was trying to connect the G1 in USB Debug mode.
When the option is selected and connected to usb it does not recognise any new hardware.
On mounting I can view files in the memory card.
Without mounting also I can see Disk Drive>HTC Andoid Phone USB Device
I want to use the device to test my application.
Please help.
Please note: I have bought an unlocked G1 and not the Dev Phone.
Thanks,
Chinmay
Hey Got the problem Solved :
Problem - G1 Not detecting in Debug Mode / ADB Mode
Reason - Windows Automatic Driver Update for USB Disk.
Solution:
Edit the registry
Disclaimer: be careful what you do in regedit.
If you're not sure,don't use it
- Open the Registry Editor (Start > search/run > regedit)
- You *may* need to be administrator to do that
- Search for "vid_0bb4&pid_0c02" in keys or values. It makes take a
while. If you find in a value, delete the whole key folder.
- Some keys might be "locked": right-click them and add "everyone:
full control" to the permissions. Then delete the key folder.
- Repeat the search till no more instances are found.
- Close regedit.
Now the devices will ask for driver and locate the android-sdk\usb_driver\x86
There the phone is now in ADB Mode.
Solution
Click to expand...
Click to collapse
so are you saying if u put it in USB mode it disconnects and not be able to detect it as new device? if its not disconnecting, then its working fine... and go ahead and use adb mode
1st, do you have the SDK and drivers installed on your computer. 2nd, do you know what ADB is?
Start asking your questions in the right sub-forum (Q&A) (Theme) or even in (General), or i will be forced to ban you for 3 days or till you learn.
Thanks
Thread Trashed!!
Gilliland12 said:
1st, do you have the SDK and drivers installed on your computer. 2nd, do you know what ADB is?
Click to expand...
Click to collapse
Hi,
Yes I have the SDK Installed and the Environment variables set.
I dont have the Dev phone but I have the dev phone firmware updated on my T-Mobile G1.
Does it require a different cable.
I need to get the phone in debug mode so I can start testing my applications on the phone. Testing the app on the phone is netime better then the emulator.
You missed the 2nd part of question 1 and you didn't answer question 2.
Does 'adb devices' show anything?
G1 Debug
evilkorn said:
You missed the 2nd part of question 1 and you didn't answer question 2.
Does 'adb devices' show anything?
Click to expand...
Click to collapse
ADB shows no devices connected.
When I read the instruction on getting the G1 on Debug mode. It said that when you connect a new hardware would be detected then install the new hardware with the usb drivers in the SDK Tools. - this never happenes when I connect my phone. It does not detect as a new hardware
I can see removable disk in My Computer - if I try to access it says please insert disk. Files are not accessible without mounting the SD Card.
Instead of the Removable Disk being detected the phone should be detected in debug mode right ?
Have you turned on USB debugging in Settings>Applications>Development?
chinmayfun said:
ADB shows no devices connected.
When I read the instruction on getting the G1 on Debug mode. It said that when you connect a new hardware would be detected then install the new hardware with the usb drivers in the SDK Tools. - this never happenes when I connect my phone. It does not detect as a new hardware
I can see removable disk in My Computer - if I try to access it says please insert disk. Files are not accessible without mounting the SD Card.
Instead of the Removable Disk being detected the phone should be detected in debug mode right ?
Click to expand...
Click to collapse
you need to go to this thread it is how I got adb to work on my computer. just make sure instead of the old sdk it has listed make sure you have 1.5r3
Solution
Hey Got the problem Solved :
Problem - G1 Not detecting in Debug Mode / ADB Mode
Reason - Windows Automatic Driver Update for USB Disk.
Solution:
Edit the registry
Disclaimer: be careful what you do in regedit.
If you're not sure,don't use it
- Open the Registry Editor (Start > search/run > regedit)
- You *may* need to be administrator to do that
- Search for "vid_0bb4&pid_0c02" in keys or values. It makes take a
while. If you find in a value, delete the whole key folder.
- Some keys might be "locked": right-click them and add "everyone:
full control" to the permissions. Then delete the key folder.
- Repeat the search till no more instances are found.
- Close regedit.
Now the devices will ask for driver and locate the android-sdk\usb_driver\x86
There the phone is now in ADB Mode.
Do Vote
Let me know if this post has helped you !!

[Q] TeamHackSung-ICS-b15: USB debug mode recognition issue!?

I will say straight away, I ONLY have this issue with THS:ICS_4.0.3 rom, and its when I have USB debugging turned on. I require said mode so I can use "My Phone Explorer" etc, but this is assuming MPE actually works with Android 4, but I don't know because I have not been able to try as a result of the aforementioned USB debug issue.
Also I would have posted this in THS:ISC thread but I don't have a high enough post count yet. Any help with this would be appreciated as I quite like the look and feel of ICS compared to GB, but need to be able to use MPE.
ta.
If you mean that windows doesnt load a driver, its because its no longer a samsung hardware ID, so the driver bundled with Kies doesnt work. if you install the android sdk, and install the adb driver module from within the SDK manager, it will put a driver with correct hardware id for the new hardware id (vid_18d1 pid_4e22) into the sdk directory. eg E:\android-sdk-windows\extras\google\usb_driver.
or, i just zipped the drivers and should be available here https://rapidshare.com/files/2394442690/usb_driver.zip
Ah, I should have figured that out - another "wood for the trees" moment, doh!
Buts that's good coz it means I can go back to said rom and see if myphoneexplorer works with ics.
thanks for that mista.
[edit]
after all that calendar sync still dosent work with ICS, I get an OBEX D0: internal server error code - despite the fact a google account and calender are setup on the phone, So will be going back to 2.3.x for now.
b1k3rdude said:
Ah, I should have figured that out - another
after all that calendar sync still dosent work with ICS, I get an OBEX D0: internal server error code - despite the fact a google account and calender are setup on the phone, So will be going back to 2.3.x for now.
Click to expand...
Click to collapse
Anyone got any ideas on this error..?
Hi, just update your client on your phone and it'll work!
fjsoft.at/mpeclient.apk

[Q] [HELP] No PVK, no fun? HD7 as WP7 Load Demo only and nothing else...

Hello guys,
After more than a week of non-stop reading and trying to fix my problem I decided to register here on XDA Forum and ask you guys for help.
I'm wonder if there is a solution for problem I have with HD7 and of course to confirm if I'm right...
Maybe it's very simple to fix, but I don't know how and because it's my first broken phone for +10 years I spent so much time trying to fix it.
Okey so let's stary short story about my phone... I bought HTC HD7 phone in ~Jan/Feb 2012. From that time I flashed it many times with custom roms and used RSPL/HSPL - no Goldcard and service Jtag.
Anyway there was something wrong with that phone - not really know what, but with no reason and randomly its software hangs and after reboot loose all data - this happen to me few times before. (I bought it brand new).
And now 8 days ago this "Memory Loss" trick happens again. But this time, there was no way to initialize system again - I mean OS startup and displayed some first initialization steps, but... wait a second: "Low storage memory" message appears. So I see memory card was not recognized and in about it shows 13MB of Total space and 0MB free. So I started researching and reading and of course from beginning I expected that microSD card is damaged.
This tooks me 8 days and my rooms now looks like, so please guys help me
------------------------------------------------------
IMAGE LINK: goo.gl/Avf1o
... and problem still not fixed
------------------------------------------------------
1) I spent few days on downloading recommended software by users with similar problem to mine - Format SD card issue after WP7 (used on a PC, laptop...)
- ..and also I reflashed my old HTC G1 to get more disk tools bundled into FW and tried from basic DD wipe these protected cards...
Status: No success. (I didn't knew before how SD Protection really works...)
2) I found out on Microsoft website note about WP7 and SD cards. (everyone should read):
MS WP7 SD Memory: goo.gl/LMQ2l
:highfive: High five for Microsoft - I believe people now complain how Microsoft sucks is because of use protected area of SD cards in new phone OS and I guess they complain exactly the same when Microsoft is not secure enough... :silly:
Okey so I found great short list of devices that support Protected Area of SD cards and are able to format it/erease them. There was highly recommended (and I agree too) to use Nokia phone on Symbian - FAST AND 100% WORKING. Unfortunately a friend with N95 could bring me that phone at next one day and it was morning, so I was looking and trying other devices...
Status: (broken?) microSD not recognized by Nokia 6600.
Next day status: (broken?) microSD after 3 errors successfully and quick formatted. Double checked, wiped and looks like it works fine. Thanks to Symbian and Nokia N95
NOTE FOR EVERYONE who has a problem with protected SD after WP7/8 and it's not visible anywhere (PC, WP7/8):
GO AND GET NOKIA WITH SYMBIAN AND DON'T WASTE TIME!
3) I installed back to the phone 8GB SanDisk microSD card freshly formatted in N95 and then on PC to FAT32 Primary partition with cluster size 4 and 8KB, but the card was still not recognized. Not even touched... I used for test other 2GB and 4GB one but I was thinking that maybe these are smaller and maybe too old so not compatible. However the 4GB one was 2nd class card.
4) I listen to someone's who wrote on a forum: "go and buy new one it must be working". So I bought one - SanDisk, model exactly the same mentioned by a user who successfully fix microSD WP7 issue.
Status: brand new microSD not recognized.
5) And now is a time for ONE of TWO BEST jokes on XDA I found. It's: RUU_Schubert_XBMOD_V1.01
I spent more than 2 days trying to flashing this ROM with different Radios and trying to update HD7 with the StorageLock.cab
But how to send anything to device with not enough space and with the ROM that brings huge space around 3MB?! ...and the words of another genius guy who say that this method works 100%. And to be sure do this from Goldcard (not explained what).
6) So I made a Y-cable like connector - used two USB ports from some old USB-hub and power source from the same dismounted little bit USB Hub. Connector looks like a USB in a condom:
------------------------------------------------------
IMAGE LINK: goo.gl/9C98o
------------------------------------------------------
7) CID I read using my old BlueAngel/QTEK 9090/MDA III Pocket PC device running Windows Mobile 6.5 - custom from XDA of course ;]
8) When Goldcard was ready and S58 cleared I used it to flash XBMOD ROM as mentioned. No way to update it with that Cab. It was hanging at next reboot after applied .cab.
9) So I decided to mod this ROM little bit and cut it from Office and other things and include app in it. I'm not sure I've done it okey, but when I run Storage Lock, the app starts, notified me that SD card is unlocked. And asked to lock it? When I choosed Yes the Fail message appears.
So still not working...
If someone would to use lite XBMOD with bundled StorageLock inside the ROM as System part:
DOWNLOAD XBMOD w/ StorageLock included-----------
LINK: goo.gl/mpkP0
----------------------------------------------------------------------------
10) And even I listen to this stupid and unbelievable idea that back cover with WiFi antenna needs to be properly installed - otherwise SD card will not be detected - I made fake one for tests and I added additional 3 Ohms resistor to make more real if there is installed some measure software...
Still nothing.
11) I flashed many ROMS through DIAG mode and classic method (Vol-Down + Power) - and I didn't get back my SD card recognized.
Here is a list of FW I tried:
Code:
Deepshining Tango v7.75 15 Langs\
Deepshining v7.8 Nokia Love\
Dynamics7_HD7_1_21_Western\
HTC_HD7_T9292_Europe_ROM_1.16.401.01_OS_7.0.7004.0_FW_2250.09.11601.401_RA_5.51.09.06a_22.30.50.09U_BL_1.16.2250.0(110866)\
HTC_HD7_T9292_Europe_ROM_1.23.401.02_OS_7.0.7004.0_RA_5.51.09.06a_22.3050.09\
HTC_HD7_T9292_Europe_ROM_1.60.401.01_OS_7.0.7004.0_FW_2250.09.16001.401_RA_5.52.09.16_22.33a.50.10U_BL_1.60.2250.0(114364)\
HTC_HD7_T9292_Europe_ROM_1.69.401.01_OS_7.0.7389.0_FW_2250.09.16901.401_RA_5.54.09.21_22.33b.50.10U_BL_1.69.2250.0(117833)\
HTC_HD7_T9292_Europe_ROM_4.05.401.02_OS_7.10.7720.68_FW_2250.21.40502.401_RA_5.69.09.29a_22.50.50.21U_BL_4.5.2250.0(129185)\
HTC_HD7_T9292_Europe_ROM_5.10.401.04_OS_7.10.7720.68_FW_2250.21.51004.401_RA_5.71.09.02a_22.51.50.21U_BL_5.10.2250.0(132968)\
RUU_Schubert_HTC_Europe_1.16.401.01_Radio_5.51.09.06a_22.30.50.09_Signed_SCHUBERT_RELEASE\
RUU_Schubert_HTC_Europe_1.60.401.01_Radio_5.52.09.16_22.33a.50.10_Signed_SCHUBERT_RELEASE\
RUU_Schubert_HTC_Europe_1.69.401.01_Radio_5.54.09.21_22.33b.50.10_Signed_SCHUBERT_RELEASE\
RUU_Schubert_HTC_Europe_1.69.401.02_Radio_5.54.09.21_22.33b.50.10_NoDo_custom_by_ansar\
RUU_Schubert_HTC_Europe_5.12.401.06_Radio_5.71.09.02a_22.51.50.21U_NT_Tango_8779_18L_by_ansar\
RUU_Schubert_Radio_5.66.09.21a_22.48.50.21_custom_by_ansar\
RUU_Schubert_XBMOD_V1.01\
Schubert_Europe_1.69.401.01_Radio_5.54.09.21_22.33b.50.10U\
12) The only one interesting and different was that ROM:
HTC_HD7_T9292_Europe_ROM_1.16.401.01_OS_7.0.7004.0_FW_2250.09.11601.401_RA_5.51.09.06a_22.30.50.09U_BL_1.16.2250.0(110866)
== RUU_Schubert_HTC_Europe_1.16.401.01_Radio_5.51.09.06a_22.30.50.09_Signed_SCHUBERT_RELEASE
In the initialize point after Windows Phone boots it appears message that files are corrupted and phone must be rebooted. But I tried it 20 times and still the same.
------------------------------------------------------
IMAGE LINK: CRC AFTER THIS ROM FLASH: goo.gl/Wrz5V
------------------------------------------------------
IMAGE LINK: HSPL NORMAL STATE: goo.gl/4D3x3
------------------------------------------------------
13) But what was interesting for me from the beginning and I saw that when I made Goldcard and enter into Host Diag mode...
PVK No: Read failed.
------------------------------------------------------
IMAGE LINK: goo.gl/MMpwY
------------------------------------------------------
And now I would like to ask some questions... And please bring all ideas you have... Thank you!
Q1] How device PVK can be loosed?
Q2] How to restore or generate correct one device PVK key and finally how to apply it?
Q3] Missing device PVK key cause SD card initalization (I think yes.)?
Q4] Is it possible to prepare ROM wich will include in the system all these StorageLock, StorageFullTool, and other HTC test tools? Let's say a very lite ROM with basics and tools to manage the unit that will work without inserted SD card? Is it possible to cook ROM like that? Any ROM Maestro can do this?
Thank you!!!!!!
Have a nice day!
It sounds like the same problem that some users have had when the try an use/run the Storage Full Tool... Did you by change use this tool on your device?
xdrc45 said:
It sounds like the same problem that some users have had when the try an use/run the Storage Full Tool... Did you by change use this tool on your device?
Click to expand...
Click to collapse
Hello. No, I never installed this one. ;(
I'm wonder if there is some phone initialize Rom (?)...
And what about Windows Phone activation. Is this the way to get valid PVK? Does anyone know if there is a way to restore even not valid PVK files? I would like to use this phone even without Marketplace and other...

[Q - Solved] File transfer problem between Razr i & WinXP

Hi,
So, I went and bought the Razr I phone, despite the language question was hard to me.
But anyway, now I have other hard issue: How to transfer files between the phone and a WinXp computer, when there is no "Mass storage" option in USB computer connection on the phone.
The "Media device (MTP)" mode seems not to work with XP, but "Camera (PTP)" works. But I can see only DCIM and Pictures folders from the computer.
I'm not sure, where they are even located: on the phones internal memory or on the memory card (there is 8gb micro-sd).
An interesting feature was, that when the phone was connected to Win7 pc in camera-mode, I could see the both memory spaces and all the folders.
Why can't I see the folders on XP? The phone is with the stock ROM (81.5.39001.XT890.Retail.en.GB / Android 4.0.4).
And why there is not "Mass storage"-option despite my old Defy with CM9 and the same Android 4.0.4 version had the option.
Edit. Solution - see post #8
For a long time I didn't use XP but I assume You need to install whole driver pack to see MTP on XP. I suggest to look for mod to enable Mass Storage Mode on Razr I. I saw this mod somewhere here but completely don't remember haw it was named.
I could find only one driver package from Motorola: Motorola Device Manager 2.4.5
But that didn't help. After connecting the phone with USB-cable, my pc recognizes the phone, but then requires a MTP driver.
Weird that no driver-CD did not come with the phone original package.
Chamelleon said:
... I suggest to look for mod to enable Mass Storage Mode on Razr I. I saw this mod somewhere here but completely don't remember haw it was named.
Click to expand...
Click to collapse
i use the "USB Mass Storage Enabler (for Samsung and Sony devices)" from Mohammad Abu-Garbeyyeh.
Dont remember if you need to be rooted but its the only tool i have found thats working for Ri...
5m00v3 said:
i use the "USB Mass Storage Enabler (for Samsung and Sony devices)" from Mohammad Abu-Garbeyyeh.
Dont remember if you need to be rooted but its the only tool i have found thats working for Ri...
Click to expand...
Click to collapse
It is this one http://forum.xda-developers.com/showthread.php?t=2297888. Works really good.
But if you are on 4.0.4 You can find on this forum mod of the framework with USB mass storage enabled.
But you have to be rooted.
Yes, the phone is on stock 4.0.4 version as I have owned it just few days.
The phone suggested an update (91.2.29001.en.GB), but I didn't update. I was happy with CM9 4.0.4 version in my Defy, and same version seems to run smoothly on Razr I too. And by the update, I would possibly loose the FM radio function.
Hopefully the mod on this forum is easily described, I'm a low-level rookie with customizing Android. However is was delightful to install CM9 to my Defy with good instructions on this forum.
PatrikRa said:
Yes, the phone is on stock 4.0.4 version as I have owned it just few days.
The phone suggested an update (91.2.29001.en.GB), but I didn't update. I was happy with CM9 4.0.4 version in my Defy, and same version seems to run smoothly on Razr I too. And by the update, I would possibly loose the FM radio function.
Hopefully the mod on this forum is easily described, I'm a low-level rookie with customizing Android. However is was delightful to install CM9 to my Defy with good instructions on this forum.
Click to expand...
Click to collapse
You can try this one method http://forum.xda-developers.com/showthread.php?t=2005541
or this one http://forum.xda-developers.com/showthread.php?t=2040933
Make a back up at first.
I've just found, that there are some MTP drivers for WinXP:
Media Transfer Protocol Porting Kit and then Windows Media Player 11 (which includes the driver)
Lets see if one of them work first. Otherwise I have to say goodbye to the phones warranty.
Edit. Case solved. I installed Media Player 11 and then selected Motorola USB Composite Device driver in WinXP device manager for the phone.
Now it works, despite not so simply as USB mass storage option did. I'll spare the warranty so far if something comes ahead.
Thanks for help.
Don't worry about warranty. In this days You can root without bootloader unlock and use http://forum.xda-developers.com/showthread.php?t=2297888. Yesterday I tried to download 7GB of movies from my RAZRi card by MTP and when I saw transfer speed around 1MB/s exactly the same as on WiFi I searched some and this is easiest working way for USB Mass Storage.

[Q] Unable to select USB mode and do file transfer

I was wondering if it is possible to transfer files from my Z1 to a linux desktop without installing any softwares?
Currently I think I am unable to do so because the option of USB Connection Mode is greyed out, rendering me unable to do anything about it unless I install the software (as depicted here)
And thus, are there any 3rd party apps that I can install or tweak some settings in my phone so that I can transfer files?
Salik89 said:
I was wondering if it is possible to transfer files from my Z1 to a linux desktop without installing any softwares?
Currently I think I am unable to do so because the option of USB Connection Mode is greyed out, rendering me unable to do anything about it unless I install the software (as depicted here)
And thus, are there any 3rd party apps that I can install or tweak some settings in my phone so that I can transfer files?
Click to expand...
Click to collapse
Most devices nowadays (if not all of them) use MTP to transfer files from and to the device. MTP is not well supported under Linux as far as I'm aware, there are a couple of guides out there to get it working, you shouldn't have too many issues finding those by using Google.
Personally I prefer to use ADB to transfer files between my device and my desktop, you'll have to have some experience working with the terminal, it's not hard though.

Categories

Resources