Related
This is a very much work in progress. And is on hold until a breakthrough happens or DerArtem responds to my PM with some info.
First off, credits:
ejhart - All of the development is basically from him. He compiled the sierra.ko for Android which was the big step. Took me through all the steps and has been the main force behind this.
Pershoot - Thank you so much for your kernel and your hard work. Your inclusion of pppd and usbserial helped so much.
Sierra Wireless - Your USB dongle started this? No, but seriously, the Linux support of their modems helped get the device accessible from terminal and may get it to work fully eventually.
DerArtem - Your Folio work on this same thing helped. http://forum.xda-developers.com/showthread.php?t=914350 (UMTS/3G Support on Toshiba Folio)
(Random thanks)
Cyanogen - For CM and all he's done for ROMs in general.
Speed Software - Root Explorer is the most useful app.
Jack Palevich - Terminal Emulator makes this work.
PinkVenture - GScript Lite makes my boot easier.
Current Status
Dongle can be accessed from Android.
pppd functions do not throw errors.
lsmod reveals Sierra device as live.
dmesg shows it loading from ttyUSB0, ttyUSB1, ttyUSB2, and ttyUSB3.
All work is using CM7.
How to get your tablet here
1. Download and install Pershoot's kernel from here.
2. Download the attached files: sierra.ko.zip and ppp.zip
3. Extract sierra.ko and the ppp folder and then copy them to sdcard or internal storage.
4. Download Root Explorer (paid app), Terminal Emulator (free), and GScript Lite (free).
5. Use Root Explorer to copy sierra.ko to /system/lib/modules/ (needs to be mounted R/W). Then copy all the files within ppp (ip-up.local, ip-down.local, and peers folder) to /etc/ppp/
6. Open Terminal Emulator, execute "su" (allow it to use Super User), execute "insmod /system/lib/modules/sierra.ko" (no quotes on any command)
7. If no error is thrown you are where you should be. In Teminal Emulator, execute "lsmod" (no quotes). It should display something like "sierra 11378 0 - Live 0xbf000000"
8. This step is optional: Open GScript Lite, press Menu, Add Script, in the Name field put whatever you want, in the Script field type the same command as above, "insmod /system/lib/modules/sierra.ko" (no quotes)
9. In Terminal Emulator, (as su) execute "pppd call cdma". If no errors, it should be at the same point I am. Congratulations!
Current Issues
1. Modem doesn't act as data connection.
2. No software support for modem.
3. Needs device specific ril library to work (may be possible to build, has been done for Huawei modems).
4. No idea if this works for non-Sierra modems, obviously has to be adapted for other manufacturers. If you build the .ko for other devices, feel free to post it and I will add it to this post, it will help other people.
5. Probably tons of other issues that are lower level stuff.
Feel free to ask questions or give suggestions, we are in need of all the help with the Android part of this as we can get! You can also join us on #tegratab, I am Winnah9000 and ejhart is on there as well.
Updates:
Tried to use the parts from the Folio Update.zip, but they didn't fix anything.
You guys never cease to amaze me. Excellent work and great news for us to wake up to. As far as working, do I need to purchase an air card from Verizon(my phone carrier) or can I get one of the pay-as-you-go 3G air cards from Walmart to work with this? Also, I see you're using CM7, but what other roms does this work on? I'm using the GAdam alpha5 rom, do I need to switch back to TNT OEM rom to test this out? Thanks again for your feedback and your work.
kxs783kms said:
You guys never cease to amaze me. Excellent work and great news for us to wake up to. As far as working, do I need to purchase an air card from Verizon(my phone carrier) or can I get one of the pay-as-you-go 3G air cards from Walmart to work with this? Also, I see you're using CM7, but what other roms does this work on? I'm using the GAdam alpha5 rom, do I need to switch back to TNT OEM rom to test this out? Thanks again for your feedback and your work.
Click to expand...
Click to collapse
Glad someone else was excited about this
I wouldn't purchase the air card as of yet since we aren't fully sure this will ever work. However, you do present an interesting idea. If we could use the pay-as-you-go cards and find a way around the data throttling like they did on the G2 this would be an extremely cheap way for a 3G Tegra 2 tablet.
To your ROM question. I'm using CM7 because the other ROMs (TnT Lite, VEGAn-Tab, etc.) lack the necessary telephony and communication apks that we would need for calling the data. Also, not sure which ROMs the pershoot kernel doesn't work on (I think it works on TnT Lite, CM7, and VEGAn when compiled correctly). You are welcome to test it on those when we get further along
TheJesus said:
Glad someone else was excited about this
I wouldn't purchase the air card as of yet since we aren't fully sure this will ever work. However, you do present an interesting idea. If we could use the pay-as-you-go cards and find a way around the data throttling like they did on the G2 this would be an extremely cheap way for a 3G Tegra 2 tablet.
To your ROM question. I'm using CM7 because the other ROMs (TnT Lite, VEGAn-Tab, etc.) lack the necessary telephony and communication apks that we would need for calling the data. Also, not sure which ROMs the pershoot kernel doesn't work on (I think it works on TnT Lite, CM7, and VEGAn when compiled correctly). You are welcome to test it on those when we get further along
Click to expand...
Click to collapse
Hi
This is great news, i definately would like to help/test this.
Keep up the good work
Ian
Ianmrr said:
Hi
This is great news, i definately would like to help/test this.
Keep up the good work
Ian
Click to expand...
Click to collapse
If you have a Sierra Wireless modem you are welcome to try your own ideas. If its something else, then wait until ejhart explains to me how to compile a .ko against Android for whichever dongle it is.
Thanks for your support!
Is this a particularmodel and chipset? I'm not familiar with Sierra Wireless. Can you post the source code for the driver?
muqali said:
Is this a particularmodel and chipset? I'm not familiar with Sierra Wireless. Can you post the source code for the driver?
Click to expand...
Click to collapse
Yeah, its the AirCard 250U sold by Sprint. Its 3G/4G, but the driver Sierra developed only does 3G cause they're lazy asses.
Here's the driver source and pppd dialing scripts: http://sierrawireless.custhelp.com/...-on-a-linux-operating-system-(-ac-850/860,-ac
Also, all development on this has stopped until further notice. We are hoping DerArtem releases the ril source and that the ril library will help it to work. Thanks for all your support!
Hi
as the Advent Vega has similar hardware (same oem part number i think?) then this might be of some help. Look at post 12 onwards. I have succesfully got this working with a Huawei E169 usb dongle.
http://android.modaco.com/content/advent-vega-vega-modaco-com/329229/mobile-broadband-dongles/
You have this working on the Viewsonic G tablet? Because I have tried to load the rom through Clockwork and the screen goes black. I need to know the secret.
OK, I discovered the ROM is loaded through ADB after extracting the files. Get a permission issue towards the end of the installation. Did you have that same issue? If so how did you overcome it?
Deleted double posting
kostyamat said:
Look here android.modaco.com/content/advent-vega-vega-modaco-com/329229/mobile-broadband-dongles/#
Owners Advent Vega can already use a 3G-dongls. Why we can't do it? We have a firmware which is based on the firmware for Advent Vega. Why till now isn't present?
Good luck!
Click to expand...
Click to collapse
roebeet said:
I can't speak for all the devs / modders, but for me it's very simple. I don't have a 3G modem to even test with. My suggestion, in all seriousness, is to contact Viewsonic and ask them to add support into their firmware. And maybe ask for USB mouse support as well if you call them, I've already put in a ticket for that myself. The more people who call, the more likely that they might add it.
I have a aircard that the day job supplies, but the darn thing won't even work in MacOS or Linux, let along Android. I'm actually considering a MiFi device as it seems to be a fairly easy way to get around these issues.
Click to expand...
Click to collapse
Perhaps you could talk to Roebeet
http://forum.xda-developers.com/showthread.php?t=884103&page=134
huwwatkins said:
Hi
as the Advent Vega has similar hardware (same oem part number i think?) then this might be of some help. Look at post 12 onwards. I have succesfully got this working with a Huawei E169 usb dongle.
http://android.modaco.com/content/advent-vega-vega-modaco-com/329229/mobile-broadband-dongles/
Click to expand...
Click to collapse
I've reviewed this with ejhart but we didn't see much that they did which we didn't. The main issue is that most of the people who have it working are using Huawei brand 3G dongles which aren't used by carriers here, so they have different software pieces to make it work.
rapcon said:
You have this working on the Viewsonic G tablet? Because I have tried to load the rom through Clockwork and the screen goes black. I need to know the secret.
OK, I discovered the ROM is loaded through ADB after extracting the files. Get a permission issue towards the end of the installation. Did you have that same issue? If so how did you overcome it?
Click to expand...
Click to collapse
I'm not sure what you're asking... If its about CM7, don't use bittrix's build. Use GoJimi's build (Beta 2 I think).
coffecup said:
Perhaps you could talk to Roebeet
http://forum.xda-developers.com/showthread.php?t=884103&page=134
Click to expand...
Click to collapse
Roebeet has been in the IRC while we worked on it but he didn't have anything to contribute. The main issue is that none of them have a 3G dongle to work on it with, which also means its not a big deal for them to get it working (don't get me wrong, they still would like it to work, but they have more important things to work on).
Here are the sources for ril:
https://github.com/DerArtem/huaweigeneric-ril
Regards, Artem
DerArtem said:
Here are the sources for ril:
https://github.com/DerArtem/huaweigeneric-ril
Regards, Artem
Click to expand...
Click to collapse
Thank you for this
However, we still have an issue. The RIL is pretty much coded for GSM only, there are some CDMA bits, but they look incomplete. I personally don't know enough programming to get it to work and ejhart already has other projects, so if someone wants to take it on, go for it!
That being said, this should probably work for GSM companies like T-Mobile, AT&T, etc. Feel free to try it if you know what you're doing
O please work.
I have been trying to get a 3G usb working since i got this thing. Im not computer programing savy enough to figure any of this out. I mean i know what your talking about, i understand it all, just cant program, so I hope you guys can work this out, would be in debt to you guys forever.
I will be calling viewsonic everyday as a differnet person say I want 3G mondem support and hopefully they will just build it in for us all.
Thanks again for all your work guys.
KushyMansbridge said:
I have been trying to get a 3G usb working since i got this thing. Im not computer programing savy enough to figure any of this out. I mean i know what your talking about, i understand it all, just cant program, so I hope you guys can work this out, would be in debt to you guys forever.
I will be calling viewsonic everyday as a differnet person say I want 3G mondem support and hopefully they will just build it in for us all.
Thanks again for all your work guys.
Click to expand...
Click to collapse
It almost seems to me that is why they gave it a standard USB port, as well as a mini port. It could be for stick drives, but then why was there a spot for a micro SD? Perhaps, the TNT people at VS were in such a rush to get the product to market, that they simply skipped this feature?
Frrrrrrunkis said:
It almost seems to me that is why they gave it a standard USB port, as well as a mini port. It could be for stick drives, but then why was there a spot for a micro SD? Perhaps, the TNT people at VS were in such a rush to get the product to market, that they simply skipped this feature?
Click to expand...
Click to collapse
Because Micro SD cards are limited to 32GB, while USB thumb drives are at 256GB or you can use an external hard drive with power for 2 or 3 TB. They didn't put in the 3G support because they could've just sold the zPad (or w/e its called) with a 3G module slot. They sold this because its cheap and they didn't have to write extra drivers for 3G modem support.
EDIT: Also, the reference board for Tegra 2 has the USB port, so they probably threw it in for kicks.
this a workable solution:
http://forum.xda-developers.com/showthread.php?t=991342
Just saw this on Newegg for sale...I was wondering if anyone has ever used this model and whether or not it's decent quality? At $15 shipped I'm kinda wanting to buy it, lol...
http://www.newegg.com/Product/Produ...-Index-_-CellPhoneAccessories-_-75994452-L06C
flipovich said:
Just saw this on Newegg for sale...I was wondering if anyone has ever used this model and whether or not it's decent quality? At $15 shipped I'm kinda wanting to buy it, lol...
http://www.newegg.com/Product/Produ...-Index-_-CellPhoneAccessories-_-75994452-L06C
Click to expand...
Click to collapse
Never seen it, but for $15, I don't expect much. If you are hoping for support on the G Tab, you should pick up a Huawei modem.
Hey guys
First let me say that I did try to look around the forums, but did not find anything relevant .. the search tool really isn't that great.
My parents, in all their wisdom, decided to go ahead and buy two "generic" android tablets whilst I was away at uni without asking for my advice.
Now had I known, I would have told them to stay the hell away from them, unfortunately I am now left with two annoying adults wanting me to make their tablets faster and better.
I am a pretty good programmer and am doing computer science at Uni, so I though i might try to root/flash a custom ROM onto those tablets myself (i know nobody else will ever do it). However I have never touched anything 'android dev' related (apart from obviously rooting and flashing my own HTC Desire) so I really have no idea about where to start.
This is where you lovely people come in: I would be oh so grateful if someone could put me in the right direction as to whatI should be looking into in order to root, and eventually flash a rom onto a new device that no other dev has ever touched before. I'm guessing that if people are doing it for mainstream devices, its entirely possible to do on the tablets I have, I just need to know where to start looking.
Thanks a bunch in advance guys, please don't be to harsh on me <3
I do not know if this will help you or not, but I also am trying to flash a ROM for a "generic" android device. Given that mine is a phone and not a tablet, I do not know if this would work for you or not therefore I'd recommend doing prior research; however, I was able to root my device using the z4root app.
As far as I know, the next step would be installing a recovery (such as clockwork recovery in ROM Manager) in case something goes wrong. I'm not certain about how one would go about porting that software, but their are instructions posted on the developer's website. I don't know enough about the process so I can't really give anymore input; however, if you find any other information, be sure to let me know as well
definitely will thanks!
I've got one problem with one of the tablets already .. it never came with a usb cable, and does not have a micro usb, min usb or anything that I may know as a port, it only has some kind of proprietary port that strangely looks like an iPod/iPhone/iPad port but I can't be sure as I do not own an ipodcable to try it out .. is it in any way possible that a generic tablet could have an apple connector on it?
speedking34 said:
is it in any way possible that a generic tablet could have an apple connector on it?
Click to expand...
Click to collapse
I can just tell you from my experience using a Ciphone Pro (IP4 knock-off running android). It came with a cable that looks very similar to an iphone cable (my girlfriend and I cannot tell the difference between them). I can plug my phone into either my cable or her Iphone 3GS cable to charge; however, when she once plugged her phone into my cable, her Iphone said the charge was not compatible. Because the android phone didn't display any prompts when connected to the iphone adapter, I assume that these generic devices are compatible with it. I hope this helps, but you could also check all of the iphone cables you have lying around because maybe one of them actually came with the device
speedking34 said:
How would I go about flashing a ROM on a "generic" tablet?
Click to expand...
Click to collapse
One thing that I've noticed is that there are quite a few "generics" out there that are actually rebadged versions of each other. If your tablets are one, then if you can find the line of tablets that they belong to, then you might be able to find a development community behind that line of tablets. If that's the case, then there might already be recoveries/roms available for you to flash onto these tablets. I'm not sure of a great resource but androidforums.net might help.
Jaxidian said:
One thing that I've noticed is that there are quite a few "generics" out there that are actually rebadged versions of each other. If your tablets are one, then if you can find the line of tablets that they belong to, then you might be able to find a development community behind that line of tablets. If that's the case, then there might already be recoveries/roms available for you to flash onto these tablets. I'm not sure of a great resource but androidforums.net might help.
Click to expand...
Click to collapse
I would like to marry you Sir. Thanks to your advice I looked around, using the generic pads specifications, and ended up finding out that they were just "rebranded" flytouch epad. From there, I was able to find compatible ROMs for both tablets on http://www.slatedroid.com/ and http://techknow.freeforums.org.
I know have root, google apps and a nice speed increase on both of'em
Thank you very much for the help
speedking34 said:
I looked around, using the generic pads specifications, and ended up finding out that they were just "rebranded" flytouch epad.
Click to expand...
Click to collapse
Might I ask how you came to this conclusion? I'm trying to see if I can install custom ROMs on my phone and I believe that it is more than likely that there is a compatible version floating around somewhere. I'm not exactly sure what I should be searching for, so if you have any pointers it would be greatly appreciated
Koadics said:
Might I ask how you came to this conclusion? I'm trying to see if I can install custom ROMs on my phone and I believe that it is more than likely that there is a compatible version floating around somewhere. I'm not exactly sure what I should be searching for, so if you have any pointers it would be greatly appreciated
Click to expand...
Click to collapse
All I did was look at the specs of my device (ram, processor, screen size and internal memory being the big ones) and just tried to look for any other device with the same specs. It took a lot of googleing though, so be ready to search through useless search results for a while.
speedking34 said:
I would like to marry you Sir. Thanks to your advice I looked around, using the generic pads specifications, and ended up finding out that they were just "rebranded" flytouch epad. From there, I was able to find compatible ROMs for both tablets on http://www.slatedroid.com/ and http://techknow.freeforums.org.
I know have root, google apps and a nice speed increase on both of'em
Thank you very much for the help
Click to expand...
Click to collapse
Awesome! I'm glad you were able to find what you were looking for. I must, however, decline the offer as I am already married and polygamy is illegal here.
I'm currently working to add support for the DM9620 USB network adapter to the Android 4 kernel, specifically for the Samsung GT-I9100 (Galaxy S2) running CyanogenMod 9.
The driver can be found here: code.google.com/p/dm962x/source/browse/dm9620.c
I have added and compiled the driver into the kernel, along with enabling USB host mode. However, plugging the adapter into the phone does not cause a new device to appear (both `lsusb` and `ip link` show nothing new, and dmesg has no relevant messages).
I'm guessing that I didn't actually enable USB host mode correctly. Or maybe it's something else. But I don't really know enough to debug this on my own. Any insight provided would be very helpful.
Hey, go into the General section of Samsung Galaxy Nexus, there is a thread for "aircrack-ng", the original post show a couple of links + on page 2 there is another post from the same guy explaining on how to compile for Android.
Hope it could help.
Sent from my Galaxy Nexus using xda premium
This turned out to be a pretty stupid hardware issue, unrelated to the kernel or the driver. I was lead to believe that the adapter was a 5 pin USB OTG cable, when it was actually a standard 4 pin. A quick hardware hack later and the device is recognized just fine.
Mind making a tutorial of this? Im interested in testing it out myself. Also, can you tell me how to add support for the Galaxy S III? Id be happy to, myself, but I dont know how right now. Thanks
CJJohnson said:
Mind making a tutorial of this? Im interested in testing it out myself. Also, can you tell me how to add support for the Galaxy S III? Id be happy to, myself, but I dont know how right now. Thanks
Click to expand...
Click to collapse
I second the request for a tutorial of how to do this. Thanks!
(Moved from One X general)
I cannot find any new posts on this, so please excuse me if I missed it somewhere. I (like most One X owners) got extremely upset at the delayed launch of 4.1.1 for our devices. I don't know exactly who to blame for that one. We HTC One X owners, At&t specifically, waited for 6 months for an update to be available. I got so tired of waiting, I took action, rooted my phone and put a stock 4.1.1 JB on it, and I'm loving it. And guess what? The usb OTG WORKS!!! Now comes a new challenge. Usb OTG plus charging. I know this is possible, I have read the forums. I know the One X is capable of doing this. I just need to be pointed in the right direction. For the love of Android, please help me!
P.S. I am willing to install/modify software, NOT willing to modify hardware.
Full powered OTG is now supported on the latest base. Not sure which one you're on, but try a 3.18 rom.
3.18 rom? plz elaborate...
jj77669 said:
3.18 rom? plz elaborate...
Click to expand...
Click to collapse
The new AT&T base.
No he wants to charge at the same time as otg
Had to dig back far to find this post
http://forum.xda-developers.com/showthread.php?p=31733062
Sent from my VENOMized HoxL
Yes sir...What he said ^(area51avenger)
I want to use both otg and a charger at the same time. Charging my phone while using a flash drive.
Usb otg works fine, I just want to charge my phone while using it. I have a "y" cable from ebay (http://www.ebay.com/itm/360595771170?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649) and it won't charge but the otg works fine.
Oh, and I am using 3.17 atm
odex-JB-Sense4+.zip rom by tachi91
I got it from here: http://forum.xda-developers.com/showthread.php?p=35647985
Elemental has supported powered OTG for a while, but I don't think there's a way to charge the phone at the same time.
Please by all means correct me if I am wrong in assuming this:
I know for a fact that what I want to do works on newer samsung phones. I don't think that this is a proprietary hardware issue as everything I've seen done on a GS3 I can do on my own phone. Usb otg didn't work until updating my phone, but it worked for those samsung phones straight out of the box. I'm just hoping there's just some hidden "switch" or update that I have to do to get this to work. Like I stated, I have seen this cable adapter work, I just want it to work for me.
Did you read the thread I linked you?
Sent from my VENOMized HoxL
If there's a way to do it with the Evita, I don't think I've seen it here. It's been discussed and my recollection is that it won't work.
You might ask in the ElementalX kernel thread.
Coincidentally avenger, that was one of the threads I read before resorting to this. I don't want to do anything fancy like using a mouse/keyboard with my phone, my ideal situation is this: Being able to charge my phone while I sit on the couch, switching from one flash drive to another, to watch movies wirelessly on my HTC Media Link HD connected to my 56 inch flat screen lcd tv. I just want to have a charger and a flash drive connected at the same time. Is that too much to ask? (rhetorical at this point)...lol
Flar would know.
For what it's worth, I can charge my phone while playing stuff through my mhl adapter.
Sent from my HTC One XL
Yeah but I wanted to do this sitting away from the tv. The crappy thing is, my friend just came over and I gave him one of the adapters I had. He plugs a charger and flashdrive up and then his phone (SG3). The drive pops up and the phone starts charging...sigh...lucky s.o.b. Is there a way to update my kernel from 3.17 to 3.18 with out starting my rom over? Maybe a new kernel is my fix. Btw I have an mhl adapter also.
Did we ever find a solution? I have an m8 and the same needs, well, similar. Just need to charge with OTG connected.
juntjoo said:
Did we ever find a solution? I have an m8 and the same needs, well, similar. Just need to charge with OTG connected.
Click to expand...
Click to collapse
Nopes, no progress
Bummer
I have an Infuse 4G which is made of left over parts I bought from ebay. It have issues though, so it's kind of a sorry excuse for a gift, but still functional.
-The sim slot broke one of its gold pin. Otherwise the IMEI is clean.
-The microUSB port is damaged,but still functional. I can use the specific Samsung branded USB cable it come with, which will charge and connect to PC. It needed a cable that have the microUSB connector protrude more than normal to work, which is the specific Galaxy S cables.
-The glass is cracked in the bottom left corner and a little bit into the display area, but the digitizer and capacitive buttons work fully. I put wet applied screen protector over it so it's not an issue for normal usage.
Otherwise it's fully functional. I guess if you have the right soldering tools and fancy replacing the usb connector and simslot then it'll be worth it, but I don't know how its possible to do by hand since the contact points are so tiny.
I only want to give to someone with recognize developer tag or at least have made roms that currently exist in the Development section.
Sent it to a friend who'll use it for coding and debug apps.
I'd love to try and go back to dev'ng for this device. I'm not truly a Dev, but, I've made one ROM for this device (you can look up JoyOS and one version is mine). I'd like to try and Dev again but I can't risk not having my one phone. If any other Dev responds to this, give it to them, but, I'd like to be considered as a sort of last resort. (If that makes any sort of sense.)
Sent from my One Xl using xda premium
magnetboard said:
I'd love to try and go back to dev'ng for this device. I'm not truly a Dev, but, I've made one ROM for this device (you can look up JoyOS and one version is mine). I'd like to try and Dev again but I can't risk not having my one phone. If any other Dev responds to this, give it to them, but, I'd like to be considered as a sort of last resort. (If that makes any sort of sense.)
Sent from my One Xl using xda premium
Click to expand...
Click to collapse
I appreciate your response, but I think unless a real dev is really serious into making rom for this device, I'm probably going to send it to my friend across the country who getting into programming for Android and needing to debug on different Android versions.
Fair enough and thank you for considering me and I wish your friend luck.
Sent from my One Xl using xda premium