PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-03-2010, 09:45 PM
millmanorama's Avatar
Lurker
Offline
Pocket PC: touch pro2
Carrier: sprint
 
Join Date: Apr 2010
Posts: 3
Reputation: 0
millmanorama is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
using rhodium as an android development phone

I can get android running on my sprint rhodium, and that is a great.

Does anyone know how/if i can get it to talk to the android sdk adb so i can develop my own apps and test them on my phone. If i am in active sync mode and connected when i boot into android , it reports that usb debugging mode is active, and the phone shows up as android adb in my device manager, but not when i run "adb devices" from the command line.

Any help would be awesome.
Reply With Quote
  #2 (permalink)  
Old 04-04-2010, 09:36 AM
jafterdark's Avatar
Lurker
Offline
Pocket PC: htc
Carrier: Us Cellular
 
Join Date: Feb 2010
Posts: 24
Reputation: 5
jafterdark is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: using rhodium as an android development phone

put this file in this folder \conf\ it's been edited to make usb to work for adb devices=D>
Attached Files
File Type: rar eclair.user.rar (998 Bytes, 98 views) Click for barcode!
Reply With Quote
  #3 (permalink)  
Old 04-05-2010, 11:46 AM
millmanorama's Avatar
Lurker
Offline
Pocket PC: touch pro2
Carrier: sprint
Threadstarter
 
Join Date: Apr 2010
Posts: 3
Reputation: 0
millmanorama is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: using rhodium as an android development phone

this worked perfectly! thanks a lot!
Reply With Quote
  #4 (permalink)  
Old 04-06-2010, 07:05 PM
millmanorama's Avatar
Lurker
Offline
Pocket PC: touch pro2
Carrier: sprint
Threadstarter
 
Join Date: Apr 2010
Posts: 3
Reputation: 0
millmanorama is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: using rhodium as an android development phone

I don't what jafterdark did to that file, (or how any of this porting stuff really works in detail), but just out of curiosity, anyone know why this isn't enababled/included by default?
Reply With Quote
  #5 (permalink)  
Old 04-06-2010, 08:31 PM
jafterdark's Avatar
Lurker
Offline
Pocket PC: htc
Carrier: Us Cellular
 
Join Date: Feb 2010
Posts: 24
Reputation: 5
jafterdark is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: using rhodium as an android development phone

has to look like this

# custom shell commands, these commands run last
custom_shells{
#echo "Hello!!!" # example
#echo "You can create your own commands here" # example
echo 2 > /sys/devices/platform/msm_hsusb/usb_function_switch
}
Reply With Quote
  #6 (permalink)  
Old 04-07-2010, 07:03 AM
suree_n's Avatar
Lurker
Offline
Pocket PC: rhodium
Carrier: true
 
Join Date: Apr 2010
Posts: 7
Reputation: 0
suree_n is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: using rhodium as an android development phone

Thanks.

But I understand that the SDK still cannot see the Phone's storage , right ?
Reply With Quote
  #7 (permalink)  
Old 04-07-2010, 01:56 PM
suree_n's Avatar
Lurker
Offline
Pocket PC: rhodium
Carrier: true
 
Join Date: Apr 2010
Posts: 7
Reputation: 0
suree_n is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: using rhodium as an android development phone

Another question, jafterdar after I can adb devices, I try to replace the system fonts but the files are read only. I, then try to identify the system device i.e /dev/block/loop1 and try to remount as rw. but the flag still ro. anything wrong ?

do i have to set up anything on tp2. i only turn on usb debugging mode.
Reply With Quote
  #8 (permalink)  
Old 04-07-2010, 11:09 PM
suree_n's Avatar
Lurker
Offline
Pocket PC: rhodium
Carrier: true
 
Join Date: Apr 2010
Posts: 7
Reputation: 0
suree_n is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: using rhodium as an android development phone

I also tried using ADB remount, but again failed.....
Reply With Quote
  #9 (permalink)  
Old 04-08-2010, 04:05 AM
makkonen's Avatar
TouchPro Android Guy
Offline
Pocket PC: Vogu100, Raph500, Diam500, Raph800, Evo
Carrier: Sprint
 
Join Date: May 2007
Posts: 585
Reputation: 3280
makkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: using rhodium as an android development phone

Hey, look, it's some questions I know the answers to.

1) Why isn't usb_function_switch set to 2 by default?
That's a hack to make it work in Windows. It makes it appear as a single device isntead of composite (so no simultaneous mass storage and adb). When it's set this way, it WON'T work under Linux (or OS X, I believe). Since the main devs tend to be running Linux, the default state is composite interface on, linux friendly. (And closer to how it should actually work. In the future, it'd be nice to have the composite interface working in Windows.)
2) Why can't /system be remounted in rw (read/write) mode?
Squashfs (the filesystem type for system.sqsh... ok, that should be obvious) is a highly compressed, low-overhead read-only file system. That makes it very good for system files, which need to be loaded often, and not take up too much space, but rarely need to be changed. Unfortunately, it means that... they can't be changed.

In order to modify the system files, you have to use a linux machine to unsquash the filesystem, make your changes, and then resquash it.
Reply With Quote
  #10 (permalink)  
Old 04-08-2010, 06:16 AM
suree_n's Avatar
Lurker
Offline
Pocket PC: rhodium
Carrier: true
 
Join Date: Apr 2010
Posts: 7
Reputation: 0
suree_n is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: using rhodium as an android development phone

Quote:
Originally Posted by makkonen View Post
Hey, look, it's some questions I know the answers to.

1) Why isn't usb_function_switch set to 2 by default?
That's a hack to make it work in Windows. It makes it appear as a single device isntead of composite (so no simultaneous mass storage and adb). When it's set this way, it WON'T work under Linux (or OS X, I believe). Since the main devs tend to be running Linux, the default state is composite interface on, linux friendly. (And closer to how it should actually work. In the future, it'd be nice to have the composite interface working in Windows.)
2) Why can't /system be remounted in rw (read/write) mode?
Squashfs (the filesystem type for system.sqsh... ok, that should be obvious) is a highly compressed, low-overhead read-only file system. That makes it very good for system files, which need to be loaded often, and not take up too much space, but rarely need to be changed. Unfortunately, it means that... they can't be changed.

In order to modify the system files, you have to use a linux machine to unsquash the filesystem, make your changes, and then resquash it.
Wow, you just enlightened me. For the unix newbie like me, it is just like impossible to modify it. Hope the developer guy will release the ROM kitchen soon so that I can cook it with my Thai fonts.

Last edited by suree_n; 04-08-2010 at 06:22 AM.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 03:48 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com