yashsingh1/xdaforums huggingface dataset:
[Android Software Development] atl4ntys:
Hello everyone,

I'm a computing student and Ive got the task to develop a basic version of the WiFi router found here: http://code.google.com/p/android-wifi-tether/

Ive learned to program in Java during my 3 years of college and I consider that Ive got the basics covered but Im really bad at programming..:( I am willing to learn a lot more to complete this project and in the process Im also planning to learn some serious programming skills considering the complexity of the application development.:rolleyes:

Can someone please bring some light on this and help me with it? I actually dont even know where to start coding for this. All I managed to do in the last 24h is to find the below websites but I dont know how to put everything together and start coding. Ah, and I want to mention that once I finish it I will share it with the open source community, not looking for any profit. Its just a college project for me. Thanks in advance for any help that anyone can give me! :)

Android Developers

http://developer.android.com/

Wireless Tether for Root Users (Opensource)

http://xdaforums.com/showthread.php?t=486767

Tethering my laptop with android

http://xdaforums.com/showthread.php?t=577590

Tetherbot

http://graha.ms/androidproxy/

Tethering VIA USB - Install and troubleshooting

http://xdaforums.com/showthread.php?t=443025&highlight=tether

tether Wifi

http://www.androidactivity.com/tetherWifi.html

iptables

http://www.netfilter.org/projects/iptables/index.html

Dnsmasq

http://www.thekelleys.org.uk/dnsmasq/doc.html

and of course wikipedia

http://en.wikipedia.org/wiki/Tethering

Well this is a functionality scenario for it. Id appreciate if one of the experienced programmers would give an opinion on it. Thanks!

#1 User starts the program by tapping the app icon.

#2 Code to check for Internet connection over GSM network (check gsm state. if off, go to 3. if on go to 7)

#3 Code to send instructions to the GSM modem to establish an internet conection.

#4 If the connection cant be established due to various technical errors like no signal, wrong APN settings etc then 5

#5 Code to show info message on the screen to inform user

#6 Once the device has a valid internet connection(check) then 7

#7 Code to show settings to user and allow customization of SSID (network name). [and security key(optional for now, we'll do it later if we have time)]

#8 The user presses the start button.

#9 Code to activate the wifi card in adhoc mode and broadcast the adhoc chosen SSID

#10 Code to accept connection from a valid device and communicate with it over wifi

#11 Code to share the established internet connection over GSM network with the device connected over wifi
[Android Software Development] harry_m:
Hi!

I'm one of the authors of "Wireless Tether for Root Users".

What means "a basic version of the WiFi router"?

You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?

Harry
[Android Software Development] atl4ntys:
Hi Harry, I appreciate the reply, thanks a lot!

"a basic version of the WiFi router" means a functional application that will run on an android phone (hopefully not rooted), will accept an ad-hoc connection with another wifi device over wifi and share its built in Inet conneciton with the device that connects to it. If I manage to get this running within 3 weeks I will complete the project in time.

I didnt know about the android wifi-interface-drivers..I was planning to try and develop this (hopefully successful app) into a proper wifi router (the full version) as my last year project, but now that plan is down the drain :)

Could you please help me start this? Where did u start when u actually started coding for this project? Any advice you can give me will be very welcome!

Cheers m8, have a good weekend!
[Android Software Development] draffodx:
Hi Harry,

By ad-hoc mode do you mean that the phone has to be rooted?

My understanding is that there is no way to have GPRS/3G running at the same time as a WiFi connection on the normal Android OS on a non rooted phone?

@atl4ntys,

Nice to see another Irish developer on Android :D

What your trying to do in 3 weeks seems like a big task and the normal Android SDK wont be much help for the reason I have stated above unless you root the phone.
[Android Software Development] atl4ntys:
cheers draffodx, I appreciate the interest! :)

Abt your question, to my knowledge wifi can run at the same time with 3g on a stock non rooted phone but it will not run in adhoc/ap mode. Unless some found a workaround that.. I'd prefer to develop a very basic app that will run on any android but if it proves to be an impossible task (also given the dev time available) then I will be happy with a function one on a rooted android. Dont need security and fancy graphics I just need it to work, so Im sure between me and my project partner we'll get it done (hopefully with a bit of help from the android devs) :D
[Android Software Development] draffodx:
Have you got any resources for how to run 3G and Wifi at the same time?

Its something I need to be able to do and from a few days research it seems that the OS only switchs between Wifi and 3G and never runs both at the same time.

From the SDK API's I cant find anything allowing me to turn both 3G and Wifi on.

Can you also define what you mean by adhoc/ap mode?

Thanks :D
[Android Software Development] atl4ntys:
No, not yet.

I havent looked into it properly yet. Maybe Harry will answer or if not, try here: http://xdaforums.com/showthread.php?t=474470

Adhoc is computer to computer connection, without an access point. Info here: http://compnetworking.about.com/cs/wirelessfaqs/f/adhocwireless.htm

ap is an access point

The difference is(wiki):

Wireless Access Point vs. Ad-Hoc Network

Some people confuse Wireless Access Points with Wireless Ad-Hoc networks. An Ad-Hoc network uses a connection between two or more devices without using a wireless access point: the devices communicate directly when in range. An Ad-Hoc network is used in situations such as a quick data exchange or a multiplayer LAN game because setup is easy and does not require an access point. Due to its peer-to-peer layout, Ad-Hoc connections are similar to Bluetooth ones and are generally not recommended for a permanent installation.

Internet access via Ad-Hoc networks, using features like Windows' Internet Connection Sharing, may work well with a small number of devices that are close to each other, but Ad-Hoc networks don't scale well. Internet traffic will converge to the nodes with direct internet connection, potentially congesting these nodes. For internet-enabled nodes, Access Points have a clear advantage, being designed to handle this load.
[Android Software Development] draffodx:
Thanks for that atl4ntys!

If you get wifi & 3G working at the same time let me know it would be very interesting.

Good luck with the project
[Android Software Development] atl4ntys:
hey draffodx, wifi and 3g do work in the same time but the wifi works in client mode not adhoc. the catch is to find out how to get it to work in adhoc mode while an inet connection is established over gsm

*1st post edited. Added possible functionality scenario :confused: opinions anyone? Thanks!
[Android Software Development] draffodx:
Hey atl4ntys,

How are you getting on with this?
[Android Software Development] atl4ntys:
hey draffdox,

I managed to get it working in the end but I had to base my code on harry's 9.3 http://code.google.com/p/android-wifi-tether/source/browse/#svn/branches/0.9.3

If u want to see my final report, wait a few days as I will upload it online somewhere.

cheers, have a good weekend!
[Android Software Development] draffodx:
Thanks for that atl4ntys, excellent read, its a pity it still cant be done on a non rooted phone
[Android Software Development] Rptynan:
Hey guys,

It's nice to meet some Irish People on this forum,

good luck with the project.

Sorry I can't add anything but I am an Android Developement newbie.(aswell as a java newbie)

I can't wait to see the app. :)
[Android Software Development] mikob2d:
Hi Harry, i'm using your software, all work fine except i have to use "proxoid" to re-write the user-agent. When not using it, no web surfing for my computer is impossible.

The problem is Poxoid is written in java, and slow down the internet connection from the phone. I'm downloading at about 100kB without proxoid, and only 20-30KB with.

I'm asking you if you know another program that does same thing (user agent rewriting) , easy to install for rooted android phones, or why not include that fonctionnailty to Wifi Tether?

Thanks for Wifi Tether, nice program !
[Android Software Development] crystal_clear:
is this - (the above posts)

a form of uma or gan???
[Android Software Development] atl4ntys:
Hey mikob2d, I think its best if u send him a private msg or if u contact him here http://code.google.com/p/android-wifi-tether/

Don't think he's monitoring this thread anymore
[Android Software Development] atl4ntys:
hey 2u2 and welcome here but I finished this project and will not release an open source or a commercial app. The project was way harder than I expected and I had to base my app on Harry's harry's 9.3 version of the app.

I sent u2 a pm with a link to the final technical specs. Hope you'll find the info useful :)
[P3600 General] thebulletfromhell:
I just tried to flash my p3600i with a rom but it got a corrupted image and my device wont get past the boot screen with the htc icon. I cant get into bootloader since my power button is broken. I did some testing and the switch isn't at fault either.

EDIT:Fix it, here is how I did it for other people. My power button problem was because it got water in it so the main board swell up. I used a solderer and melt the swell part and then the power button work.

1: Boot into BL (camera + power + reset hole)

2: Download the GPS enabled ROM from HTC Support, NOT from a rapidshare/megaupload/4shared etc.. mirror.

3. Flash the ROM, but use the hardspl flasher.(For some reason, it doesn't go error 270 if I use this flasher).

4. Hard Reset again.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] shinji257:
I have the original stock rom for my phone. Specifically I have the RUU_signed.nbh file that is in the exe package. Is there anyways to flash only the os and the radio from it and skip over the splash and bootloader?

P.S. - I'm flashing it back for troubleshooting so right now since the GPS doesn't appear to want to work. I don't want to revert SPL, splash or bootloader if I can help it. Luckily the SPL appears to be in a different file named SPL_signed.nbh.

EDIT: Nevermind. I went ahead and just flashed the RUU_signed.nbh file asis. I also was able to determine that by GPS issue was not a hardware one (good thing) so I am all set. That was the troubleshooting that needed to be done. Now then all I need is the stock Touch Pro 2 splash that I saw a couple of other roms include but I only need the splash part of it.
[HD2 Windows Mobile 6.5 ROM Development] santo63:
Please help, Anybody know to re flash ROM from Taiwanese Chinese version to English version?

Will this process damage the phone? I heard the hardware is different for Taiwanese version (from the customer service in Taiwan)

I called HTC customer service they wont help me!!, I bought wrong I thought is easy to change language. I wish I knew

Thanks for your help
[HD2 Windows Mobile 6.5 ROM Development] Tokolosh:
uhm, by reading the Tutorials in this forum ;)

http://xdaforums.com/showthread.php?t=609477
[HD2 Windows Mobile 6.5 ROM Development] volkansa:
Don't worry. Also I bought my HD2 from Taiwan. Official Rom was Taiwanese. Now, I use Customized rom which is English :)

Firstly you need to install HSPL, and then you can install any of customized rom. It's very easy. You can use an English rom in few minutes. I use XannyTech Pandora 1.6 and I'm very happy with this rom. You should use too.
[HD2 Windows Mobile 6.5 ROM Development] BladeKnight:
before you install hspl to your hd2, you must back-up your Official Stock rom, so that you will have no worries uninstalling your hspl by flashing to sd card....
[HD2 Windows Mobile 6.5 ROM Development] santo63:
Hi volkansa, Thanks for help to answer my question.

Dio you mind to give me the link and instruction to do this HSPL and how to back up the original ROM just incase I got in trouble. Im very rookie on this

Thanks
[HD2 Windows Mobile 6.5 ROM Development] volkansa:
Actually, I don't know any backup tool for full rom. But you don'y need to backup current rom. If you install HSPL, you can use any customized rom when you are any trouble. For example My first rom was crashed, and I downloaded another customized rom and I had easily install another customized rom with CustomRUU.exe file.

- For HSPL instruction, you should check first page of HTC Leo: HD2 > HD2 ROM Development section. You will see "[HSPL] How to Flash Everything ;)" on that section. Then click it the link.

- and find the link of HSPL.zip then download and install it from your computer while your phone connected to your pc with ActiveSync or Windows Mobile Device Center which are depends your Windows Operation System. If you use XP you should use ActiveSync; if you use Vista or Windows 7 you should use Windows Mobile Device Center.

- After installation your phone will restarted and then it will be ready for new customized roms.

- Now you need to get backup of your personal datas such as Messages, Contact List, Call Logs, Speed Dial records etc. I use PimBackup utility for them you can try it, if you want. It's very easy. And also you should use Storage Device for backup. It's very important. If you use main storage, you will lost your backups after flashing new rom.

- Then pick you favorite roms and download it. Then use instruction of that customized rom. That's it. You have a new rom :)
[HD2 Windows Mobile 6.5 ROM Development] BladeKnight:
go to SETTINGS>ABOUT PHONE>SOFTWARE INFORMATION

THEN LOOK AT YOUR ROM INFORMATION, THAT IS YOUR STOCK ROM...

YOU WILL NEED YOUR STOCK ROM IN UNINSTALLING HSPL WHEN YOU HAVE TO RETURN YOUR UNIT FOR REPAIR...HSPL WIL VOID YOUR WARRANTY....SO BETTER BACK UP YOUR STOCK ROM FOR UNINSTALLING HSPL BY FLASHING YOUR STOCK ROM BY SD CARD...here's video tutorial: Tnx to Star for the video tutorial....

http://www.youtube.com/user/htcxda?feature=chclk#p/u/5/Wc89Gh0QpIY

video tutorial for installing HSPL

http://www.youtube.com/user/htcxda?feature=chclk#p/u/4/4amlg-ogrpM

tnx to Mskip for the thread:

http://xdaforums.com/showthread.php?t=609477

i hope this helps...
[HD2 Windows Mobile 6.5 ROM Development] santo63:
Thanks for your help! I will watch the video first since I am really new on this.

Thanks

Sam
[HD2 Windows Mobile 6.5 ROM Development] santo63:
Hi Thanks for tyour help I guess, I have to do it even I m afrid braking it. I guess, you right, I dont even read chinese character! LOL.

By the way can you send me the link to your XannyTech Pandora 1.6. Is this ROM?

Ones I install HSPL I just need to install this Pandora??

Sorry asking too many question and help

Thanks

Sam
[HD2 Windows Mobile 6.5 ROM Development] BladeKnight:
just like me, really afraid bricking my hd2...i bought this a month ago...but i've been experience alot of issues getting to know my phone much better..

warning: don't flash the new official roms 2.xxx coz it will change your spl to 2.0..and there is no hspl for that version...

did you download your stock rom?

yep after installing hspl...you can install any cooked roms...but follow the instructions...some cooked rom runs on higher radio....
[HD2 Windows Mobile 6.5 ROM Development] BladeKnight:
here's the thread for rom development....

http://xdaforums.com/forumdisplay.php?f=534
[HD2 Windows Mobile 6.5 ROM Development] santo63:
I have not down load anything yet, I dont read chinese, I guess I have to ask Do I need to down load stock ROM first? Please heklp me How do I do it? I dont read Chinese language.

Then On the thread specifically to check the SPL 1.42.000 in my device. I just check it I have 1.42.000 XE? So I just need to do HSPL from the thread above right?

How do you get out Boot Loader? LOL

Thanks
[HD2 Windows Mobile 6.5 ROM Development] BladeKnight:
You have to download your Official Stock Rom...so that you will have no problem uninstalling HSPL...you can uninstall HSPL by flashing thru sd card....

is it spl 1.42.000 xe? if then...you can install HSPL to your phone....

to get out the bootloader mode..you have to get the battery out and put it back again....
[HD2 Windows Mobile 6.5 ROM Development] santo63:
Hi Guys Thanks It works, But the phone is poor conection, and sound, has noise.

Please Is there update Radio?

Thanks
[HD2 Windows Mobile 6.5 ROM Development] BladeKnight:
there's alot of radio available....you can see it on hd2 rom development....
[HD2 Windows Mobile 6.5 ROM Development] BladeKnight:
thread for radio

http://xdaforums.com/showthread.php?t=611787

becarefull in flashing some radio's it might not be compatible to your cooked roms.....know your cooked that you've install in your hd2...
[HD2 Windows Mobile 6.5 ROM Development] wilgtr:
flash us version hd2 leo

I have a question. I just got the Tmobile HD2 it can not read chinese. I want to see how can I re flash my rom make it in chinese version. Right now I have 2.10.531.1 (82076) WWE on my Rom.

can one can help.

by the way my phone hasn't unlock yet.

Thanks
[HD2 Windows Mobile 6.5 ROM Development] pochanglin:
Don't worry, you can flash the hell out of the phone... got the standard TW mobile one and has been flashing every 1 to 2 weeks no probs with the phone at all
[HD2 Windows Mobile 6.5 ROM Development] tutuskina:
bravooooo

bravobravobravobravobravobravobravobravobravo
[HD2 Windows Mobile 6.5 ROM Development] D_ALEX28:
HELP

cAN YOU HELP TO BUY IT WHERE YOU BUT YHE ONE YOURS....I WANT OF THIS SMARTPHONES, BUT WHERE I AM, THERE ARE MANY STEEEALERS :(...PLEASE HELP ME...DIEGO_AE007@HOTMAIL.COM
[HD2 Windows Mobile 6.5 ROM Development] BumAround:
Even if you're a noob, you still can read the tutorials & do searches, correct?

Just spend time to read the tutorials and FAQ, and search accordingly. It's easier than you would've thought. :)
[Touch HD General] wael_mohesn:
Hi,

I have installed Win 6.5 Xnor 1.1.

Now i am facing a big problem. VGA card is not installed correctly.

1- When rebooting the PDA all the colors are displied in 256 Colors.

2- If i leaved the phone for 10 mintues, then the HTC sense load correctly and all themes running well, but

3- the PDA become non responsive, and non synchronouizable.

4- AirPlan mode always ON, and the phone is OFF

5- If i done some thing or open any thing all the PDA is hangging and after some mintues work again.

Did I installed the ROM without checking if the protection removing operation Successed or not ?

Or what is the resone of this error ???

Hint: I tried another ROM Upgrades, Even i tried the Factory ROM version. I am Still face the same problem.

Please Help Me !!
[Touch Pro2, Tilt 2 Windows Mobile General] effwaieee:
So, I recently used Active Sync to put my photos and videos on my computer. Well, the videos have no sound when on the computer. And have no sound when I e-mail them to myself. Can someone please explain this to me?
[Omnia II ROM Development] Aafi-rocks:
Hi all,

I need help extracting apps from Omnia i8000 original Rom (Dump ROM)..

I am about to flash with WinMo 6.5.3, but I need some of Samsung apps and games from my original ROM

Below are my finding till now.. please let me know if there is something else I need to do to extract apps from Rom.

Steps:

1.	Dump ROM using Sorg Utility (dskdump.exe)

2.	Rename the rom_dump.bin to PDA.nb or I can use O2util.exe to convert it to .nb

Then can I follow the below tutorials to expand my PDA.nb files in Kitchen and then find different app folders and then convert them to .Cab..??

http://xdaforums.com/showthread.php?t=413782
[Omnia II ROM Development] ninja4hire:
To save you some time, here is a i8000 Cab Repository
[Omnia II ROM Development] Aafi-rocks:
Thanks for that link.. it has good collection..

But i also want to learn how to extract Cab's from Rom..

So I am looking for any1 who can guide me to right direction..
[Hero, G2 Touch Q&A, Help & Troubleshooting] mancuk29:
just got my new toy well impressed question however which i cant solve

i want to assign my own ringtones to my contacts ive put them on my memory card under a folder called ringtones which i created however when i go into either setting my ringtone or trying to assign an individual ringtone they arent listed

please can you tell me how to solve this thanks chris
[Hero, G2 Touch Q&A, Help & Troubleshooting] jokies:
I'll handle this one.

Actually Hero need some time to collect infomation about what you have added to your sdcard, that's why we can not be able to find pictures, music and ringtone we've just added to our sdcard. How long it will take depends on how much you've added to your sdcard.

So, try it again a minute or two, they'll be there very soon.
[myTouch 3G, Magic General] SpiceGary:
Hi,

I've bought a HTC Magic from Rogers. From the internet, it seems that some ppl were saying Rogers did not lock any smartphone, but most said it does.

I've tested with my wife's Fido Pay-As-You-Go SIM card, it seems to work. So either my phone is unlocked or Rogers and that Fido prepaid card are sharing the same lock-code.

Anyhow, without any other tools, how can I tell/test if my phone is simlocked or not?

Thanks,

Gary
[myTouch 3G, Magic General] wysegy66:
The Rogers phones are locked. Fido, PetroCan Mobility and Speak Out are all virtual network operators that run on the Rogers network so their SIM's will work in a locked Rogers phone.

You need a non-Rogers SIM (like from a new Bell or Telus phone) or a US or European SIM. As soon as you pop it in it will tell you your locked and will ask you for the unlock code.
[myTouch 3G, Magic General] dk75:
Phone won't run home screen but instead will ask for "unlock code".

And unless you give it you can't use the phone for anything (you can't even check any menu, settings or anything).
[Touch Pro2, Tilt 2 Windows Mobile General] mikeinashed:
In Manila 2.5 ROMs I get problems using the Audio Manager tab. After betwen 20-90 seconds of playing a song it stops and the only way to get it playing again is to restart the song. This is stopping me from using any 2.5 ROMs and is driving me nuts. I have tried multiple memory cards but no luck.

If someone can provide a working solution I will send $20 to the magician who can make it happen.

Thanks!

NOW SOLVED: some of the MP3 files were causing the problem. Deleted and put them back on one by to one to identify the problem files.
[Android Apps and Games] gdap:
http://beta.swype.com/

register and follow the instructions....
[Android Apps and Games] Cuda1337:
*edit* Nevermind, its working now.

I like that haptic feedback is enabled. With this feature, I think this keyboard has just become the #1 undisputed in my eyes.
[Android Apps and Games] mhhd:
won't install on a VGA screen. damnit.
[Android Apps and Games] net.cat:
Is it possible to include other languages from previous versions?
[Android Apps and Games] codito:
What Android phone are you using with a VGA screen?
[Android Apps and Games] Genesis206:
can someone pull the keyboard from the installer¿ When i switch ROM's, it says I'm using different device and won't enable swyping-just tapping. (when i use a 2.1 rom instead of a 1.6).
[Android Apps and Games] mhhd:
Diamond 1--They've got Android working pretty well on it.
[Android Apps and Games] cracksmurf:
I'm running into this issue as well. I am using a G1 (HTC Dream) running Cyanogen 4.2.15.1
[Android Apps and Games] jadesdan:
I want to try, but it seems that the beta version has been capped.
[Android Apps and Games] boyoboy:
head over to this post

http://xdaforums.com/showthread.php?t=635849
[HD2 General] ej2095:
Hi all

Just wondering what are the best touch screen emulators?

After things like

Megadrive, Snes etc

Amiga if possiable? (Fantastic machine for its time)