![]() |
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. |
Re: using rhodium as an android development phone
1 Attachment(s)
put this file in this folder \conf\ it's been edited to make usb to work for adb devices=D>
|
Re: using rhodium as an android development phone
this worked perfectly! thanks a lot!
|
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?
|
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 } |
Re: using rhodium as an android development phone
Thanks.
But I understand that the SDK still cannot see the Phone's storage , right ? |
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. |
Re: using rhodium as an android development phone
I also tried using ADB remount, but again failed.....
|
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. |
Re: using rhodium as an android development phone
Quote:
|
Re: using rhodium as an android development phone
By the way, Makkonen, is it possible to use Rhodium ubuntu to unsquash and resquash the file system. If possible then how ? :mrgreen:
Thanks again for the previous answer, you just prevent me further wasting my time keep trial and error in modifying the system files ](*,) |
Re: using rhodium as an android development phone
I do not think you'd want to try using rhodium ubuntu to do those modifications. (Rhobuntu seems... really hard to use at this point. Touchscreen's weird, keyboard's weird, screen's compressed all to hell.)
There is a way to replace your system.sqsh with a system.ext2 (i.e. a standard, rewritable linux filesystem). Then you'll be able to modify it. On the downside, instead of taking up 50mb on your sdcard, it'll take up 250; it also might be more likely to get corrupted if your phone crashes, so make a backup. Here's the thread from xda-developers with an app that'll help you do it. I haven't used this myself, but a couple folks from the Touch Pro Android thread have been successful. Good luck. I know a number of people have been looking for Asian font support -- I've just been ignoring them, because I had no idea. :-) |
Re: using rhodium as an android development phone
Thank you very much, Makkonen. It looks like seeing some light in the dark tunnel.I have successfully converted the sqsh file system to ext2. But when I try to reboot the rhodium android with new file system, it failed. The system notices that the file system has been modified and seem unable to file several files during the boot. Maybe I have to hard reset the android ?
|
Re: using rhodium as an android development phone
Hmm. Not sure. Did you have enough free space on the sd card? Sometimes these processes fail when they run out of space, but don't notify you.
I'd try making the system.ext2 again. Missing files would tend to point to something going wrong in its creation. I don't have any better ideas. |
| All times are GMT -4. The time now is 08:36 AM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com