USB Host? - G1 Android Development

I've read the following articles
http://adq.livejournal.com/95689.html
http://www.tombom.co.uk/blog/?p=124#googtrans/auto/it
They show how to implement usb host on Hero and Droid. It's possible to do the same thing on G1 and Magic 32B? What about usb host driver?
Thank you.

Yes, at least on the magic Andrew's patch works with minor changes. Watch the android-kernel list for a cleaned up patch in the next day or so.

A kernel source is available and appears that it is working on the G1.

USB keyboard for magic?this sounds soo fu iPhone. XD

Have things evolved since that day ?
http://adq.livejournal.com/96583.html

Seems like no, they haven't

We should get this rolling then, itd be sweet to have host mode

think so too. anybody is able to do it? (except firerat anderweb and cyanogen as it seems they are doing enogh other stuff)

Bump for that USB host

I'm not sure if you people realize this, but there is more to getting USB devices working than simply enabling "host mode". In fact, you need drivers for the specific hardware, and you need something to detect plugging and activate the drivers. Also FYI: You need to build an interface between android and those hardware drivers, otherwise you're stilll not getting anywhere.

Bump
I wish I knew about development enough to contribute. This seems like it would be top priority.

bump
does anyone know if this is stock on any of the froyo roms?

Related

[32A][6.35] Sanpei's Sense 0.4, with latest updates and fixes from my Hero Port

FOR 32A, RADIO 6.35 and SPL 1.76
CAUTION: for daily use, I feel this port are stable enough for many people. but it may not suitable for others. and it is a bit slow at sometime. I won't optimize it at current, since the speed is acceptable, and I must keep it "clean" to avoid any hidden bugs before we can get all things working properly.
plz don't touch your phone until everything have been loaded completely. I also can't suffer the speed during something are loading after boots. after everything have been loaded and use the phone for a while, I feel the speed is fine personally.
wipe and flash in recovery, and you should delete the generated files (by android) in your sd card.
Eris v0.4 & Legend V0.4[UPDATED at June, 16th] :
latest update [Jun 26]::
OC: http://forum.xda-developers.com/attachment.php?attachmentid=349885&d=1277499752
non-OC: http://forum.xda-developers.com/attachment.php?attachmentid=350638&d=1277631885 , under testing, plz report bugs.
though they were developed with HERO port, but I think it could be used in all my ports.
eris port is stable enough (but it is still a leaked and undone version, so maybe it has some hidden bugs.). and it is faster than legend one. but it looks rather old, and features are less. it doesn't have apps like friend stream; the browser doesn't have some functions; etc. it is for CDMA phone, so simcard operations are missed. i.e. you couldn't disable simcard contacts.
for MMS, you can use MmsZap which has been included in the ROM, set the fields (you could copy them from your APN) then press "back", MmsZap will save your settings into system automatically. after this, don't forget uninstalling it, this software isn't made very well.
works:
should be all now
HTC Sync will work with with http://www.easy-share.com/1909610034/HTCSync2.0.25.exe , thank beetleman and hanserson1 who uploaded it, thank capychimp who figured out this.
if you have troubles with your gps: shutdown with gps enabled (whether if it works or not). the gps will initialize properly when next time the phone boots. or maybe you could use the libgps.so from 0.34pre (it have other problems with some device).
download:
legend: http://www.multiupload.com/EM9MJRQKKP , thanks capychimp (as always )
eris: http://www.multiupload.com/3Z6506MF9F
caution: you must read texts below before you download it.
you could download it, if, and only if, you have become a tester of these works: kernel binaries and lib binaries which are made by me. as a tester, you do not have any rights (i.e. ownership) with these files.
certainly, you could use it as before or as using any other ROM .
if you click any download link in my posts, it means that you volunteer for testing these works, to speed up the progress of development and final release.
in this situation, you will become a tester of this ROM automatically.
if you don't want to be a tester, but you want to be a user: at current, you are not allowed to download any files from my posts. you shouldn't download them, because they are just for internal tests. please wait for a public release.
Click to expand...
Click to collapse
addition:
for JIT, download this: http://forum.xda-developers.com/attachment.php?attachmentid=345213&stc=1&d=1276842897
you have to set your Home Wallpaper and Lockscreen Wallpaper to something on sdcard before the first boot with JIT enabled, (and you can set them back after that: I have tried other HTC wallpapers except default). the workaround is found by klothius, thx .
if you encountered any trouble, and want it disabled, flash this: http://forum.xda-developers.com/attachment.php?attachmentid=345214&stc=1&d=1276842897
capychimp's ROMs:
they include many useful things, (and all my ROMs are pure ports), you can find them here:
http://forum.xda-developers.com/showthread.php?t=671847
other words for rom dev:
please upgrade to .32 kernel, i have stopped my works on the .29 kernel.
the kernel someone called "eli" or "ELI" is the sanpei's one too, so if you find bugs or have some thoughts on it, plz let me know.
and you are welcome to make your own mod based on my works.
Nice work. I don't have a rooted Magic but I'm excited to see this.
Does the bluetooth problem have to do with changing the line. I've seen Cyanogen talk about this fix for some Eclair ROMs:
-n -s 115200 /dev/ttyHS0 texas 4000000 flow
to
-n -s 115200 /dev/ttyHS0 texasalt 4000000 flow
in init.sapphire.rc ?
old info:
please make sure that you have installed driver properly. adb won't work if you install Google driver as a single device driver, and if you install HTC driver as a single device driver, DiskDrive will freeze your phone (but adb works directly). a little more details: http://forum.xda-developers.com/showpost.php?p=6180261&postcount=986
our phone is "USB Composite Device", and windows has this driver included. you can try install it. after that, your PC will find new devices: one for adb (both Google and HTC's drivers will work), another for USB mass storage, and others don't have drivers (I will remove them if these two devices cause troubles) .
battery tips: you should make sure that services/apps like gps/maps could get data from internet properly. they may prevent the phone going to sleep when they think that the jobs are not done yet. and in some cases, they would forget to tell our phone "you can sleep now", so the phone would never sleep properly. if you encounter these problems, the only workaround is a reboot (as far as I know).
latest changes:
--> a new ERIS port based on latest dump*
--> fix: battery drains by BT
--> fix: no sound or freezes after using camera in footprint
--> some patches from google
--> modified: DSP driver, it looks more similar to HTC's driver now (testing)
--> a far more better superuser 2.03
info about previous versions
changes 0.36pre
market fix
rosie hacks for speed
changes 0.35pre
battery life fix
changes 0.34rc
--> speed improved with blue sun fix (if it isn't my imagination )
--> camera fix for some apps
--> libgps.so from another leak
--> modules update for OpenVPN
changes:
--> .32 kernel *
--> a new libcamera.so **
--> VGA(640x480) recording
--> rndis support (USB tethering) ***
--> default DiskDrive ****
--> others
* let us check if the sleep death which caused by sdcard operations can be fixed by the new kernel
** it was made for avoiding grayscale preview and memory leaks. it may contains bugs at current, please report if you encountered one.
*** default internet sharing won't work, I have tried it with wired tether 1.2 under linux, but I don't know how to use it under windows (my windows: Windows 7 64bit)
**** it works like a charm under linux. for windows, you may have some trouble with drivers, please read the texts under "working" section.
the eris ROM contains files from the RiverRunner(or others?)'s dump, maps from brut, superuser built from ChiansDD's sources.
Q & A:
Q: what about your others work, like bug fixes of your aosp build, your kernel, the opensource progress of your kernel?
A: i have few time these days, no big steps on ROM development.
for the aosp ROM, i build some version and test them myself, but none of them are better than my last one, since I don't have time to tweak them. but if I found a big improve in the future, I will release a new one.
for the sources of kernel, i lost some key files of my modification of kernel .29, and I was working on kernel 2.6.32 when I had some little time these days. i think that i won't work on the .29 kernel again if I don't encounter big problems on .32.
so there is no sources I can post at current. and for .29 kernel, there isn't any changes after it was released. I use the same binary file in all my ROM too as you.
Q: why .32 (next release)?
A: I hope that .32 could fix most kernel and driver bugs in previous releases. if not, .32 will still be better than .29. btw, this ROM uses .29 (as same as previous) since .32 jobs are not done yet.
Q: will you update this SenseUI ROM ?
A: I think my friend ahmgsk will make a better one for you.
so when any other ROM that are good enough appear in next 2~3 days, I will stop to update. this one just shows what we could have.
my plan is, I will work on some programming and kernel jobs, and ahmgsk will make good ROMs.
-------------------------------
xaueious said:
Nice work. I don't have a rooted Magic but I'm excited to see this.
Does the bluetooth problem have to do with changing the line. I've seen Cyanogen talk about this fix for some Eclair ROMs:
-n -s 115200 /dev/ttyHS0 texas 4000000 flow
to
-n -s 115200 /dev/ttyHS0 texasalt 4000000 flow
in init.sapphire.rc ?
Click to expand...
Click to collapse
not this one.
it's some other problems with HTC things. I don't know this problem exactly, hope others can figure out how to fix it.
but thank you also.
thank you so much, i will however wait for a confirm if the root feature works before flashing this ROM.
best 2.1 sense i've ever tried. you're the man sanpei! thanks a lot for the job!
stgeorge88 said:
best 2.1 sense i've ever tried. you're the man sanpei! thanks a lot for the job!
Click to expand...
Click to collapse
can you report what works and not for you?
It's an official HTC Sense port so it should be very smooth. But there are things that are not going to work right away since it is from the Eris. So reports are appreciated.
Em ne chance that these very drivers will work with other stable eclair roms ?
Facebook+Contacts don't sync right away, I haven't figured out a way to sync it. Might have to do it manually?
I couldn't use Titanium back up, it said I didn't have root access. Installing busybox didn't work either.
No Live Wallpapers?
Pretty much it for me. I haven't tried the camera/camcorder
WiFi works though, which is great.
Thanks a lot for having a look inside whats coming :-D things not working besides those already mentioned: GPS + all Kinds of LED's besides sync works without Problems.
capychimp said:
can you report what works and not for you?
Click to expand...
Click to collapse
BT not working. can't even turn it on
LED light either? not sure on this one.
also as reported by sanpei, the preview after taking a picture appears weird but no biggie for me since the picture is correctly recorded
overall super, super, super smooth. got one freeze when flickering around settings and a sms comes in but other than that haven't got any issue in the past ... 5 hrs.
edit1: LED not lighting up even when charging.
edit2: forgot to mention that there's no Mount USB option when plugged.
Thanks for the quick work getting a 32A port of the Eris 2.1 dump.
Some noted bugs:
1.) 3G connection does NOT work for me. It shows the 3G icon but will act as if no connection is available. WiFi works, however.
2.) LED sensors not working (as said earlier)
3.) Screen issue when taking pictures with HTC Camera (also noted)
4.) When first starting up phone on first boot, when I reach HTC Setup Wizard I get a force close on android.process.media. Doesn't seem to affect anything though.
EDIT: for Issue 4, my 3G connection issue was fixed when I flashed HeroDroid's WiFi/LED Sensor fix from his Hero port (no, LED lights still don't work).
well doneļ¼ i hope to see the screenshot pics
it is based off the eris dump. u can find screenshots in the eris forum, there's a lot of them and a video too
WOW you guys are fast. i smoked a spliff and came back..i see its here already
thanks im gonna try it right now..be back with some feedback
For a quick port, this is really quite good Sanpei. Now it's got me 100x more excited for what wonders ahmgsk will be able to cook up real soon..
MagicXB said:
For a quick port, this is really quite good Sanpei. Now it's got me 100x more excited for what wonders ahmgsk will be able to cook up real soon..
Click to expand...
Click to collapse
just finished flashing it.. "quietly brilliant"
mann i cant wait for it to start
EDIT: android.process.media got a forceclose..
I'll trying it all and post as most bug i had found
Everything works great! However, I too had a problem with 3G and WiFi after installation. But I was in a rush, so I never tried to fix it.. Turns out, it fixed itself sometime over the course of 30min.. Not sure what's up, though.
grimey01 said:
just finished flashing it.. "quietly brilliant"
mann i cant wait for it to start
EDIT: android.process.media got a forceclose..
Click to expand...
Click to collapse
nothing else went wrong so far(except what was mentioned)..this is amazing, i cant wait for the official 2.1 sense for magic
im having too much fun here loll
google earth doesnt load though..
i was really lookin forward to trying this app
UPDATE: im unable to connect to my PC.. ive tried htc sync and diskdrive both dont show up even after waiting 5 minutes..

[DEV]PSFreedom Android [Bravo|N1|G1|Sapphire|EVO|HD2|Wildfire

EDIT 2 (6/09/2010):
Success at last!!!
Now confirmed working on numerous devices
Check http://psfreedom.com/wiki/index.php?title=Device_compatibility_list for compatibility.
Check http://www.github.com/psfreedom for source
DESIRE INSTALLATION INSTRUCTIONS
http://psfreedom.com/wiki/index.php?title=OpenDesire4.0.4
N1 INSTALLATION INSTRUCTIONS
http://psfreedom.com/wiki/index.php?title=Nexus_One
HTC DREAM/G1/Magic INSTALLATION INSTRUCTIONS
http://psfreedom.com/wiki/index.php?title=G1
HTC SAPPHIRE INSTALLATION INSTRUCTIONS
http://psfreedom.com/wiki/index.php?title=Magic32A
HTC EVO INSTALLATION INSTRUCTIONS
http://github.com/kakaroto/PSFreedom (NO BINARY AVAILABLE YET BUT THIS DOES WORK)
HTC WILDFIRE INSTALLATION INSTRUCTIONS
http://www.ps3underground.net/esclusiva-port-del-psfreedom-su-htc-wildfire/
HTC HD2 (ANDROID PORT) INSTALLATION INSTRUCTIONS
http://bit.ly/bPZf0C
Other MSM72K devices among numerous others are still being worked on. If you can in any way help please join #psfreedom on IRC.FREENODE.NET (By help I mean if you are a kernel developer or think you can offer some form of useful assistance, asking for status updates may get you kicked off the channel).
HSUSB Devices (Check the compatibility list) have not yet begun development. We are searching for a HSUSB developer to assist in the project, please join #psfreedom on irc.freenode.net if you are.
FAQ
Q: What is all this about hacking the PS3?
A: A few weeks ago, someone released a USB tool that allows you to switch any PS3 into "dev" or "debug" mode. The long and short of this means that the PS3 has finally been hacked and homebrew is a real possibility. After a lot of clever reverse engineering, the hack was documented and distributed under the name "PS3Groove". Some clever people ported that code so that other USB devices could be used for this purpose. It just so happens that your smartphone is also a USB device and this was a project to port THAT code so that your Android smartphone could be used to hack your PS3.
Q: Cool! Where do I start?
A: Slow down there, cowboy. This is pretty technical stuff, if you've come here from another forum, or are unfamilliar with terms like "recovery", "flashing", "rooting" and such, take a deep breath and look around the forums for more information, as any mistakes could brick your phone.
First, you'll need to know if your device is compatible. There is a list of android devices maintained here: http://psfreedom.com/wiki/index.php?...atibility_list
This will tell you if your device is supported, as well as point you to where to go if it is.
Q: Ok, so I have a supported device, now what?
A: Just owning the device isn't enough. You'll need to root it to enable you to install custom ROMs. Once you're confident about installing custom ROMs, you're ready to rock and roll! Now, this IS the Desire dev forum, so from here on I'll assume you have a HTC desire, rooted and ready to go. If you have a different device, refer to the link above, or look on your device's own forum.
Q: What ROMs are compatible with this?
A: If you thought that you might need a specific ROM - you'd be right! The whole hack revolves around the kernel that's loaded into the ROM. Essentially, this means that not all ROMs will be able to do this. Right now, if you're looking for an easy solution, install OpenDesire. CyanogenMOD may well work, too, as well as ROMs based off either of those, but no guarantees or promises are made.
Q: What about Sense ROMs?
A: Unfortunately, this isn't feasible. HTC Have yet to release the source code for Sense 2.2, which means we can't port this into it. So if you have a ROM that you like running sense, you'll have to make a choice - Sense, or PS3 hacking? There's no middle ground with this. Alternatively, you can just nandroid between the two ROMs, however you'll soon see how tedious this can get =P
Q: Ok I've got Open Desire installed, now what?
A: Opendesire by itself is just a damn good ROM, not a lean, mean, PS3-hacking machine, so you'll need to add something else. The details are kept here, but essentially there are two update zip files. One will "enable" the PS3 hack and one will "disable" it. You flash those files directly over the ROM itself, using your favourite recovery.
Q: BDMV or Homebrew?
A: In order to keep PSgroove away from Sony's legal team, they released it without the ability to play backup PS3 games, only PS3 homebrew (to which there is currently very little, but stay tuned!), they did this by disabling BDMV. So there are TWO "enable" files. One is "Homebrew", which is a direct port of the PSGroove code and will not play backup games and the other is "BDMV", which will play both PS3 homebrew AND backups.
Q: Did you say BACKUPS?!
A: Yer darn tootin' I did! Legal backups, of course. One of the few pieces of homebrew available is the Backup Manager. This is a simple application that will let you backup a GAME THAT YOU OWN onto an internal or external USB hard drive, then play it without the disk. You'll still need a disk in the drive, but any PS3 game will work.
Q: Where do I get Backup Manager?
A: Backup manager is built with the PS3 SDK, which means it's technically illegal software, so you wont find it on this site, but it really isn't hard to find with a bit of googling. Whatever you do, don't ask for it here!
Q: Hey guess what, I found a copy of backup manager, how do I use it?
A: Ok, so before you start, do yourself a checklist:
You'll need -
Rooted phone,
running a ROM with the PS3groove code loaded onto it (e.g. open desire with klutsh's enable zip flashed on top of it),
USB cable plugged into your PS3 going to the phone.
Phone switched on and on the home screen.
A PS3 running Firmware 3.41 (support for earlier Firmwares will come later, but don't ask when).
Make sure there's no disk in the drive.
Step 1: POWER OFF your PS3 COMPLETELY. This means flipping the switch off at the back of it (if it's a PHAT PS3) or UNPLUGGING it if it's a SLIM PS3.
Step 2: Switch it back on and IMMEDIATELY press the "disk eject button". When I say immediately, I mean it - you've got 0.2s to press it!
you'll notice your PS3 takes longer to boot, a few extra seconds. Once it has booted, you'll notice under GAME, you'll have a couple of extra options.
Step 3: Plug in your USB drive with manager.pkg on it, then select "* Install Package File". Select manager.pkg and it'll install, giving you a new Icon.
Step 4: Backup manager is now installed. Run it and put a disk in the drive. You'll see it appear in the list and it'll give you an option to back it up. It'll first ask if you want the external drive, then it'll ask if you want to install it to the Internal drive. More on that later.
Now, go make yourself a cup of tea. In fact, make several, Blu-ray disks are frickin' huge and take time to backup.
...................
Ok, so the game is backed up. Go ahead and put it back in it's box, where it'll be safe from harm. Now, get yourself ANOTHER PS3 game, any game at all and put it in the PS3. In backup manager, you'll see both your disk game and the backed up game. Select the backup game and press "X".
You'll now be kicked back to the XMB. But look at the disk icon. It should be showing you the game you backed up, NOT the game in your drive. You'll need a legit PS3 game in your drive for this to work, you'll also need to make sure you're running BDMV enable, or it wont work (it'll still show you the game in the drive).
Q: Sounds great! But what's the catch?
A: Actually, there are several. For one, the external hard drive must be FAT32, or it wont be detected by the PS3.
Because of this, any games that have files greater than 4Gb wont work (for example, God of War III), you'll need to install it onto the INTERNAL drive.
Even then, some games may not work at all. Luckily, there are a few lists showing which games work, which don't and which only work on the internal drive.
Oh and some games require you to delete all of their savegame data before they'll load. Sorry.
Furthermore, things like DLC, patches, etc. tend to not work, but this is very early days at the moment, so sit tight!
Q: What's this I hear about "stealth" backups?
A: Quite simply, everyone is expecting Sony to want to protect their precious PS3, which will likely come in the form of a banwave for anyone doing this. Make no mistake, do not assume for a second that you wont get banned for doing this. Still, some people believe that they might be safer if they use a "stealth" Backup Manager. This is simply a version of Backup Manager that tries to make it look like you're playing a different game, like MW2. So far, despite rumours to the contrary, Sony hasn't banned anyone yet, so nobody knows just how detectable it all is.
I'm hoping something comes of this, but I wouldn't get TOO excited, the developer of this is only 15 and while I'm sure he's quite talented, he's still quite young so it could take him a while, assuming it's possible at all.
Still, I like the guy, he makes no promises, doesn't pretend to be anything he isn't and makes it quite clear what he is and isn't capable of. He's essentially said "I'll give it a shot!" and that's good enough for me.
Sorry for the double post, but there's an update on this:
http://netzke.blogspot.com/
This guy is working on an Android port and, from what he's posted, he's not far off.
I sent the kid a donation, looks liek he already has the PSGroove part of the app working.
@ neoKushan, what does age have to do with anything? i know a few kids who are 15-18 who are smarter then half the people i have met on XDA, Including my self.
there is a version compiled for the n900. i have it and it works,would be good if someone could compile for desire? it is open source
abc27 said:
eavpsp is already working on this and we should offer him all the help that XDA has to offer.
Click to expand...
Click to collapse
He's been exposed as a fake, unfortunately. There's a story on the front page of ps3hax about it.
I'd donate to Netzke if I had some good hard evidence that he's genuine but so far I haven't seen anything.
Relikk said:
He's been exposed as a fake, unfortunately. There's a story on the front page of ps3hax about it.
I'd donate to Netzke if I had some good hard evidence that he's genuine but so far I haven't seen anything.
Click to expand...
Click to collapse
I'm aware. At the time I posted many people believed he had something genuine in store.
To be honest, porting over the N900 version mightn't be all that difficult.
Juggalo_X said:
I sent the kid a donation, looks liek he already has the PSGroove part of the app working.
@ neoKushan, what does age have to do with anything? i know a few kids who are 15-18 who are smarter then half the people i have met on XDA, Including my self.
Click to expand...
Click to collapse
I'm merely trying to point out that at 15, even if he's extremely talented, he's still quite inexperienced. From reading his twitter, he doesn't pretend otherwise. I completely support the guy and wish him well and by no means want to make it sound like he's a n00b or anything, I'm simply saying that he's young is all.
what does bring a jailbroken android to us?
cCeT said:
what does bring a jailbroken android to us?
Click to expand...
Click to collapse
It's not the android phone that's being jailbroken, it's the Playstation 3 being jailbroken through the use of an Android phone.
cCeT said:
what does bring a jailbroken android to us?
Click to expand...
Click to collapse
I believe this is actually a software clone of the PSjailbreak exploit which has been re-engineered to be run off of our Android devices. I.E., Put your Android phone in "PSjailbreak Mode" and then connect to PS3, it would then perform the same functionality that having the actual USB device/dongle would provide.
A marvell idea and one that I would love to try out once the tool reaches a stable version. I'm sure over the next week or so we'll see who can actually port it and who is just 'fronting'.
I'll be subscribing to this thread for sure!
**EDIT** Seems neo beat me to the answer!
I've uploaded the binary files used on the N900 so we can get to work on the Android port.
It comprises of a kernel module and two shell scripts.
If what the other guy who's doing the android port says is true, you don't need a special kernel or anything to do this, just root access. Who knows how true that is, though.
Would be nice to see some collaboration from some devs here who know what they're doing lol
if this happens then its gonna be awesome!!
Finally region free BR!!
Netzke is obviously a scammer looking for a quick buck... he mentions in every post that 15$ will get beta access.
Yes, it looks like scam at mee too.
Anyway, looking forward to get the N900 version ported to Android (someone on PSX Scene said we just need to compile the source for the kernel of our phone)
It does appear to be all that's needed. It's a portable kernel module according to the dev. He's releasing the source later today so we wait in earnest.
Make that source release tomorrow, depending on time zone.
Was pushed on line just before he went to bed.
As for netkaz, he's scamming, first claim was donations for a server.
I offered up a full server for free for the life of the project, no response, now he's going to start on a iPhone port after he can afford a iPhone.
eavpsp, well his own private chat room was leaked, he was getting other dev's to do all the work then planned to put his name to it.
The dev that is showing most promise at the minute is qberty1337
But as already said, once the n900 kernel module source is out it should not take too long.
The PSP porting effort is a farce to be honest. We just need that N900 source code and we can get going.
Klutsh said:
Make that source release tomorrow, depending on time zone.
Was pushed on line just before he went to bed.
As for netkaz, he's scamming, first claim was donations for a server.
I offered up a full server for free for the life of the project, no response, now he's going to start on a iPhone port after he can afford a iPhone.
eavpsp, well his own private chat room was leaked, he was getting other dev's to do all the work then planned to put his name to it.
The dev that is showing most promise at the minute is qberty1337
But as already said, once the n900 kernel module source is out it should not take too long.
Click to expand...
Click to collapse
thats good to hear
I hope someone is able to create a BR region free app for PS3 now!!

[Q] G Tablet Ginger 2.3.4 com.android.future.usb PLEASE

Hi everyone, For the last two weeks I have been trying to develop my own custom Gingerbread + custom view sonic kernel.
Today I finally have them packaged into a update.zip file but it wont install due to status 6. Sadly I really have no clue if thats the last part I need to over come before I can install, or perhaps there is more than just that issue since the only tutorial I could find were dated / incorrect / incomplete / or written by someone who ate pain chips as a child.
So Really all I want is Gingerbread with com.android.future.usb.Accessory / Manager
AND (this is important also)
I also need the Viewsonic kernel to support the Prolific driver 2303 (this is in the menuconfig so it should be easy to add).
In addition, if anyone could please point me to resources when I can accurately learn how to build the OS / Kernel / update.zip file that would be wonderful. My head hurts so badly from reading all these broken english posts where the scrip examples are riddled with typos.
Oh also two weeks ago was the first time I ever saw Ubuntu (thats what im currently working on as well).
Thank you and sorry for the aggravated post but I seriously need help, my job is in the balance. Thanks Again
Anyone know of a rom that has these features already in them? Or perhaps a good couple of tutorials that will allow me to create my own? I dont want anything fancy just plain vanilla.
DKS1282 said:
Hi everyone, For the last two weeks I have been trying to develop my own custom Gingerbread + custom view sonic kernel.
Today I finally have them packaged into a update.zip file but it wont install due to status 6. Sadly I really have no clue if thats the last part I need to over come before I can install, or perhaps there is more than just that issue since the only tutorial I could find were dated / incorrect / incomplete / or written by someone who ate pain chips as a child.
So Really all I want is Gingerbread with com.android.future.usb.Accessory / Manager
AND (this is important also)
I also need the Viewsonic kernel to support the Prolific driver 2303 (this is in the menuconfig so it should be easy to add).
In addition, if anyone could please point me to resources when I can accurately learn how to build the OS / Kernel / update.zip file that would be wonderful. My head hurts so badly from reading all these broken english posts where the scrip examples are riddled with typos.
Oh also two weeks ago was the first time I ever saw Ubuntu (thats what im currently working on as well).
Thank you and sorry for the aggravated post but I seriously need help, my job is in the balance. Thanks Again
Click to expand...
Click to collapse
this is the thread i used to get me started compiling a module for pershoots kernel
http://forum.xda-developers.com/showthread.php?t=916198
obviously run your own menuconfig somewhere in there (i think its in one of the steps) and turn on whatever you want. Also save the modules that you create as the default pershoot ones wont insert into your custom module at that point
[edit] there is a thread in the gtablet devel section for pershoots latest (i think 2.6.32.42) that may have this already: http://forum.xda-developers.com/showthread.php?t=903505 [/edit]
Thanks for the links. I was able to pull the config file from Ginger 2.3.4 and it seems to have the required driver for the prolific usb to serial converter, although when I write a usb detection program and attempt to load it onto the tablet, well I get a missing shared library com.android.future.usb.
So now thats kind of odd because its 2.3.4 and Google specifically says it supports the library I need. So I guess what Im asking is there any Ginger or even honeycomb OS for the Gtablet that supports this?
Once again Thanks for a point in the correct direction.
Is there anyone I can communicate with directly in creating this? Ill be more than willing to donate my work so that it could be built upon. I just can not believe that this has not been added in yet.
Ive pushed android.hardware.usb.accessory.xml to /etc/permissions
and ive pushed the com.android.future.usb.accessory.jar to /system.framework
This seems to do absolutely nothing. Does anyone have a version with the USB accessory working for the G tablet? Or could anyone Communicate with me directly perhaps by IM? Thank you very much again.
So after some tweeking I can now get my program that requires com.android.future.usb.accessory although thats all it does. It wont detect the USB or use any USB features. Im sure im programing it wrong, although It detects USB drives and keyboards and such it will not detect my USB to serial Prolific cable.
Im trying to compile the kernel and install it but really, nothing works... Im typing commands I dont know what they mean, and i get responses like "Permission denied" so I use sudo on the command and get "not a valid command". So I didnt have permission at first, then once I did it wasnt a valid command? No wonder why ****ty old windows stomped ubuntu into the ground... I feel windows phone will destroy google if its this hard to develop a single app that I have on the IPHONE / WINDOWS PHONE / WINDOWS 7 but cant get it on android... WTF
Im just wondering how you successfully compile Gingerbread 2.3.4 and Leave out part of the MAJOR update. Why not just use 2.3.3?
Anyway Ive personally fixed that, although when i pull the kernel it shows the prolific driver is installed but there is no detection when I plug the cable in.. Nothing nadda. just like the replies to this post. Im guessing people dont have any problems at all with all the really bad tutorials out there and the lack of support even on this, a developer site, I cant even ask questions to the developers because I dont even have 10 posts yet. Also it just seems like the only thing people on this site is Over Clocking. It done matter if its a peice of ****, as long as its over clocked, Or some of the roms I installed and they are SO bad, but man they are over clocked... Or the roms that say they are 2.3.4 and happen to be 2.3.3. Or the ones that just wont install. How has android made it this far, its actually pretty bad, but then again im sure Im the only human with these problems, because I really cant find anything on the Internet after a good long while. I tough myself enough law to win a law suit against a company with high priced lawyers in less time than this is taking... And im no good at law at all.

[Q] What will it take to make the new sixaxis driver work on the SK4G?

So sir_earl has done us all a great service by making it possible to use the Playstation 3 controller with Android phones. He posted about it in http://forum.xda-developers.com/showthread.php?t=1179929
But unfortunately for us, it's not compatible with the Sidekick 4G or several other recent Samsung phones. It sounds like our stock ROM doesn't give it the access it needs to the bluetooth hardware. What would it take to fix this? Is it something we can add with a custom kernel?
(BTW, I am the farthest thing from a software developer on the face of the earth, so sorry if I turn out to be Captain Oblivious.)
This is not an issue with access, but rather that certain protocols aren't built into our driver.
Think of it like this; you're trying to use an Xbox controller with a Playstation. They're both controllers, but they don't know how to talk to each other.
This would require either rewriting the bluetooth driver ( not feasible) or seeing if the driver is similar in our phones to that of one of the working phones.
EDIT: took a look in the kernel config, and found some bluetooth protocols that weren't enabled, that according to http://www.pabr.org/sixlinux/sixlinux.en.html are the same as the ones that the controller uses? not sure.
EDIT2: Tried enabling all the bluetooth options in the kernel config, couldn't get the compat checker to tell me anything good, still just says missing protocol, even though HID (what it should be) is enabled. I PM'd sir_earl to see what protocol is required and which phones it works on, perhaps I can see if their driver will build with our kernel, or if I can somehow mash together our sources to make it work.
That's a great start. I'd be really happy if we could make this work.
Our phone has all the power it needs to run things like N64 and PS1 emulators, and combined with the TV out cable, we've effectively got a dozen game consoles in our pockets. We just need a good way of controlling them.
Update: got a PM back from sir_earl, it's true that Samsung left out the BT protocol we need to use this, it's called "L2CAP via raw sockets" (from sir_earl). He suggested that using the AOSP/CM BT stack would be a good place to try, so I may give that a shot sometime later, as my list of projects is somewhat long right now.
Thanks for getting to the bottom of this. Here's hoping you get a chance to try it.
Did you have a chance to fiddle with this any more? I'd sure like to be able to use a proper gamepad with all the awesome emulators that run on these phones.
Tried looking at it, but the bluetooth stack that has proper support didn't work by just being added to our Kernel. I'm also kinda working on porting our kernel to be compatible with CM6/7, which would be easier to add the bluetooth stack to.

MTK MT5886 - Root? - Nougat (7.0)

Hi All -
I'm trying to find resources/threads/&docs on anything relating to the MT58XX platform and I'm coming up short. Everything seems to be phone only and/or MT6xxx related. Even our good Russian friends and Polski's don't seem to have many reads other than "NO" for the MT5886.
Being that the device is running Nougat, I'm curious on peoples thoughts as to whether there would be any (semi) safe give-it-a-try methods on getting root & a shell on this device. The device itself is running the mfr's own UI (w/ Apdroid and no standard Android menus/options/settings). I can install APK's as-is, so I know I can at least install unknown sources, heck, for all I know the TV might already have root enabled.
I haven't had much time to play with it yet, but I do know that when trying to connect USB to a PC that's a nogo right now. The PC just see's it as a device that wants power, and the TV treats it as our bog-standard USB input. Anyway, I'll try to sideload a shell and do some more proper digging in the coming days, but wanted to ask and see if anyone had input regardless.
Cheers

Categories

Resources