yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] captive:
Both solutions you tried are related to files from initramfs, so those files are recreated on every boot. You should unpack & repack the kernel you're using to permanently add the file and the scripts.

Or, you may want to try harcore's kernel (K12c) which now includes a tun.ko module you can enable from recovery, in order to have it already loaded when device boots.
[Galaxy S I9000 Android Development] bdl1969:
Create a folder called modules in /system/lib and copy the tun.ko module in there. It will automatically get loaded at every boot and won't get deleted by the system. I've used this methd with various ROMs from v2.1 up to v2.2.1 and it always works.
[Galaxy S I9000 Android Development] mrmrmrmr:
where can we find the tun.ko modules for each Galaxy S firmware ?
[Galaxy S I9000 Android Development] bdl1969:
I've been using the one posted at the top of this thread with all different ROMs and it's working fine. The only issue I have is that when I disconnect my VPN tunnel I have to switch the wireless on and off so the phone refreshes it ip config otherwise it can't find anything.
[Galaxy S I9000 Android Development] sky01x:
@ mrmrmrmr

I am also using the apk from the first post in this thread.

@bdl1969

Thank you for the suggestion. I did place the tun.ko in an new made sub folder called modules in /system/lib/ (the hole path /system/lib/modules/tun.ko) but tun.ko wont be loaded automatically. I made now a script In the SGS Tools script section to load the modules after start.

I guess the answer/explanation is the post from captive where he explained the reason of my unsuccessful attempts is the initramfs, which get unpacked every boot.

Thank you all.
[Galaxy S I9000 Android Development] zeroepoch:
Thank you! I searched forever for this.
[Galaxy S I9000 Android Development] thasan:
Help with VPNC and WiFi

Hi all,

I am using AOSP ish JK2 1.1 (http://xdaforums.com/showthread.php?t=832532). The tun.ko works beautifully for me with VPNC. All I had to do is put it in /system/lib/modules and I did not have to run insmod each boot.

VPNC works beautifully on 3G now.

Does anyone know how to make VPNC work with WiFi as well? From the GUI, I just get a message, could not connect.
[Galaxy S I9000 Android Development] gyurman:
Voodoo tun.ko

In voodoo have in:

insmod /lib/modules/tun.ko

you need this for setup OpenVPN Settings/Tun module

And need busybox settings like on first.
[Galaxy S I9000 Android Development] Kralisec:
Still looking for tun.ko (GB 2.3.3 JVH)

Hello @gyurman :D

Can you share with us the kernel version you use ?

I use galaxy and openvpn with 2.1 and 2.2, but now tun.ko won't load with GB 2.3.3 :(

Perhaps voodoo release compile tun.ko inside his build: I woul'd be very happy to test if it works for me :D

Good day,

Laurent.
[Galaxy S I9000 Android Development] MCOGW:
VPN-Connection to Cisco VPN Server

Finally got it working to connect to a CiscoVPN on 2.3.3 (JVH & JVO)

Right now I'm using supercurios JVO upd1 Kernel from here (THX supercurio!)

Here's how to do it:

First of all install VPNC Widget (v1.1.3) from Market. There's no need for OpenVPN at all.

Download "tun.ko" file from OP (thx for that!) here and create a new directory

"modules" in "/system/lib/" . Then CHMOD the new dir to 0755, Owner: root, Group: root

After this copy the "tun.ko" file to the new dir and CHMOD it to 0775, Owner: sytem, Group: sdcard_rw

Now you can test it:

insmod /system/lib/modules/tun.ko

This shouldn't give you an error

Now open the VPNC Widget App (NOT the widget, the app!) and press the

"Check prerequisites" Button. This should give you something like

"..checked successfully", "... should work on this phone".

Now you can go to "Set Preferences" and enter your VPN Data.

After this, add the VPNC as a Widget to your homescreen.

Now you can start and stop the VPN Connection by simply clicking the widget.

If you're using DroidWall you have to allow outgoing connections for

"(root) - Applications running as root" to get it working
[Galaxy S I9000 Android Development] intronauta:
how it's possible????

I can't load module in anyway, get the "exec format" error as usual.... (JVH+Voodoo6update1)

Desperate, I'm trying with hexadecimal editor to match the kernel version but nothing to doing....

tun.ko 1, me 0

He wins with "fatality"
[Galaxy S I9000 Android Development] MCOGW:
I'm using Kernel Version 2.6.35.7, for this the mentioned "tun.ko" works.

Maybe you should try this Kernel.

btw, my busybox (1.19) is installed to /system/xbin
[Galaxy S I9000 Android Development] B[L]A[D]E:
When I try:

insmod /system/lib/modules/tun.ko

I get a

insmod: can't insert '/system/lib/modules/tun.ko': invalid module format

I'm on JVH and the size of the module is 197193 (taken from the first post). What is wrong?

TIA
[Galaxy S I9000 Android Development] Kralisec:
Gingerbread 2.3.4: tun support already inside JVP

After trying to compile tun.ko for gingerbread: I discover that tun is already build inside JVP release,

no tun.ko module to insmod, just start openvpn application: it works fine :D

I don't test for previous release: perhaps someone can report ?

Good day,

Laurent.
[Android Software Development] mindus:
Hi

I am using KSoap2 for consume web service in my application. I need to send date as parameter in the request. As i come to know date format was not supported by KSoap2. So i converted to string and send the request and also i am getting exception.

: WARN/System.err(279): SoapFault - faultcode: 'soap:Client' faultstring: 'System.Web.Services.Protocols.SoapException: Server was unable to read request. ---> System.InvalidOperationException: There is an error in XML document (1, 426). ---> System.FormatException: The string '2010-09-28 12:13:09' is not a valid AllXsd value.

Can anybody know how to send date as a parameter and send the request and please give the sample code for it.

Thanks

mindus
[Desire Q&A, Help & Troubleshooting] the undefy:
Hello, my dear fellow desireans! ^^

I thus justly updated my German ROM desire to 2.2 and me Russian keyboard is now gone Ahoy! Before i was able to switch between Russian and English where now English or voice command symbol resides.

Any suggestions on how to get my old keyboard back? i don't use voice to send sms at all...

Image 1

Its the one with the mike on it (my one also says eng or en) beside the hide keyboard button, bottom left(screen not from my phone).

And this is what it used to look like:

Image 2

I don't think it was custom as i can not enable it. my locale does not have Russian how ever my phone is in Russian. I also installed anylocale that still gives me the keyboard in English.

Any ideas?
[Windows Mobile] ernomo:
Disable Devicelock on the menu

Hello I would like to activate the screen lock on my HD2 after 20 seconds, and I want to disable this menu item, because I do'nt want that the user can disable this in the menu.

Have someone a idee, how I can make this?
[Windows Mobile] Farmer Ted:
Put "Hide"=1 as a dword in the control panel registry key for the device lock.

How come you don't want users to be able to disable it? That kind of sucks for the user, doesn't it?
[EVO 4G Q&A, Help & Troubleshooting] pitmanr2003:
I have tried several apps to download nzb files and none are any good. I use grabit on pc with astra web as my news server. Are there any good apps that work like pc versions
[EVO 4G Q&A, Help & Troubleshooting] mchlwvr614:
I use SAB Control. I think there is a paid version which allows to dl from browser. I use sabnzbd.

I just found nzbmobile too. Supposedly integrates with nzbmatrix and sabnzbd. I use both of them.
[Galaxy S I9000 Android Development] vvaleta28:
Thank you, we will have to prove it. Esc
[Galaxy S I9000 Android Development] exadeci:
What do you mean by quickboot ? Like the desire HD or just faster than stock ?
[Galaxy S I9000 Android Development] dagrim1:
When tw launcher is removed, is it even possible to connect through Kies? The TW launcher has to be running in order for Kies to able to detect the phone right? Or have things changed....
[Galaxy S I9000 Android Development] crisos:
Quickboot is a apk. It can restart easly your phone in recovery or reboot or go in bootloader mode (not for us). It s not the fast boost you think like desire hd.
[Galaxy S I9000 Android Development] limestar:
Hi,

Just installed the light ROM.

Confusing as the root has an update.zip in it as well which I didn't apply.

I love everything but the top bar. It's looks funny with the transparency at the sides and you can't see all of the clock unless you have a dark wallpaper.
[Galaxy S I9000 Android Development] dj_suca:
can anyone put some screens of this lite rom....
[Galaxy S I9000 Android Development] P900:
Screens please.;)
[Galaxy S I9000 Android Development] limestar:
Found a bug.

Phone on the launcher does not link to phone.

Says application is not installed. I can't find anyway of changing it.

Screens soon sorry at work.
[Galaxy S I9000 Android Development] limestar:
Screen
[Galaxy S I9000 Android Development] iaio72:
thanks! changed launcher2 with adwlauncher! at the light-rom in the first post!
[Galaxy S I9000 Android Development] superbonus:
Hi,

Any way to get Swype installed after applying this ROM?
[Galaxy S I9000 Android Development] iaio72:
you mean swype the keyboard? or swap?
[Galaxy S I9000 Android Development] superbonus:
Swype the keyboard input method.
[Galaxy S I9000 Android Development] iaio72:
the swype keyboard after flash it my rom works fine!, input method too!
[Galaxy S I9000 Android Development] limestar:
Ok got new rom with ADW and eveeyrhing is great. Only annoying thing is the transparency on the notification bar.
[Galaxy S I9000 Android Development] vinclar:
OCLF is aplyed or only installed?

Thks
[Galaxy S I9000 Android Development] limestar:
OCLF just installed.

Found a new bug. Holding the home button and trying to access task manager crashes the phone.
[Galaxy S I9000 Android Development] iaio72:
fact that depends on the tastes of each of us ..:p
[Galaxy S I9000 Android Development] iaio72:
this is a bug,that I have to better understand how to solve, because it does not use any task manager ...:confused:

thanks
[Galaxy S I9000 Android Development] DocRambone:
You have to add "jobmanger.apk" to your rom. This needed to remove this bug.
[Galaxy S I9000 Android Development] iaio72:
immediately put it in rom!

:D thank's so much! :p

you are a myth! :D
[Galaxy S I9000 Android Development] iaio72:
ok put in the system/app jobmanager.apk version modified ;)
[Galaxy S I9000 Android Development] iaio72:
ADD version 3, removed some bugs of the previous version!

enjoy!
[Galaxy S I9000 Android Development] Adytza:
Hi,

Please tel me how you make menu to scroll lake in your first screenshot.

Thanks.
[Galaxy S I9000 Android Development] iaio72:
its launcher2 from nexus1, but not work the application phone to the left of home..
[Galaxy S I9000 Android Development] Razer(x):
Really appreciate it, especially 'cause it's made by an italian fellow.

Italians do it better!
[Galaxy S I9000 Android Development] 1902:
noobe question...

how to apply the light version ? do i need to rename it to update.zip and flash it from sd ?
[Galaxy S I9000 Android Development] iaio72:
read the instructions at the first post! ;)
[Galaxy S I9000 Android Development] 1902:
ok, it worked, first time i got error message while trying to flash the update.zip, it's a bit confusing, i renamed the light version file to update.zip and used the method you mention without using the root update.zip file from the package.
[Galaxy S I9000 Android Development] pcboyy:
For those newbies like me, here are full instructions:

1. Download the package kernel from here http://www.multiupload.com/ULQEGKORBE

and extract it

2. Download selected Rom you like from the 1st post

3. Rename the Rom file to 'update.zip' and place it in your Root internal SD

4. Open Odin, click 'PDA' and select "I9000_Kernel.tar" .

Untick

'autoreboot'

5. Go to 'Download Mode' on your phone and plug in to your USB pc

6. Make sure Odin detects your device at 'ID:Com' area. Click 'Start'

7. When finish disconnect from USB pc, pull the battery and reboot in RECOVERY-MODE (volUP+home+power)

8. Wipe data

9. Select 'apply update.zip'

10. Pull out battery and start 'Download Mode' again on your device

11. Start Odin, make sure 'autoboot' is

ticked

. Click 'PDA' , select 'I9000XXXJPK_Kernel'

12. connect device to USB pc and click 'Start'

13. After finish flashing, reboot device

14. You are DONE. First boot will take longer time. Congratulations :D
[Galaxy S I9000 Android Development] pcboyy:
I'm using Light Rom 3 and Task Manager keeps crashing
[Galaxy S I9000 Android Development] iaio72:
Updated light-rom-3

- changed jobmanager.apk
[Galaxy S I9000 Android Development] br3tty:
How's this for speed or everyday use (being Froyo and all)?
[Galaxy S I9000 Android Development] Zemlyanka:
Why remove Swype????? How to get back? Light rom 1 and 2... havent tried 3
[Galaxy S I9000 Android Development] iaio72:
linpack 14 mflops

quadrant 990! :p
[Galaxy S I9000 Android Development] iaio72:
sorry? im not understand you!
[Galaxy S I9000 Android Development] br3tty:
cheers buddy :)
[Galaxy S I9000 Android Development] tryout1:
@iaio72

Without lagfix right?
[Galaxy S I9000 Android Development] HTCDevil:
Nice rom my friend :D

Thanks ;)
[Galaxy S I9000 Android Development] iaio72:
yes without lagfix!;)
[Galaxy S I9000 Android Development] iaio72:
thanks for your support big friend! :p
[Galaxy S I9000 Android Development] BogdanSNB:
Thanks man ... everything goes well!
[Galaxy S I9000 Android Development] tryout1:
damn had to update to full XXJPK before right? Everything is going smooth and well no issues but @ info BasebandVersion is I9000XXJPH. But even besides of that DAMN is that Rom fast

edit: fixed it :) fully reflashed everything, thx again for making that speedy ROM using LightRomv3 :D
[Galaxy S I9000 Android Development] camporese:
hint plz

i try making this rom but with no success...

i put the renamed file into /sd in the root of the phone, make all steps but phone is as equal as before... any hint?

tnx!

ok... update.zip must be put in the simple root. all done. tnx!
[Galaxy S I9000 Android Development] Adytza:
I like this rom from 1 use - lightrom.

Thanks for your work man.

I apply oclf like that: install ext2, restore boot anim, then oclf v2.1+ 1836 in quadrant. I install and use launcherpro instead of adwlauncher.
[Galaxy S I9000 Android Development] tryout1:
Great rom got 2087 quadrant points now i just need to OC my CPU to 1,2 or 1,3 Ghz with Undervolting and it would be perfect
[Galaxy S I9000 Android Development] iaio72:
thank's guys!
[Galaxy S I9000 Android Development] br3tty:
So after a few days of holding off, I finally dived in and flashed this rom.

Very surprised at how fast it is without any lagfix - loving it. Thanks to the dev.

Got a few issues though that hopefully someone can help out with.

1. When I try to update either Facebook or Twitter from the market, I get an error saying that the "installation was unsuccessful".

2. My Facebook doesn't sync to my contacts. I've logged in, and tried setting it up from the Accounts and sync settings menu, but it only logs into Facebook - and doesn't put a sync account on there. Twitter works fine with this.
[Galaxy S I9000 Android Development] iaio72:
after to flash update.zip you do a wipe data?

or the fb apk you have installed from market, you can prove to put in with rootexplorer in system/app...you can?
[Galaxy S I9000 Android Development] br3tty:
Yep, did the wipe data - it was using light rom 3, with facebook and twitter included. I tried removing the apks using root explorer, and rebooted, then tried to reinstall but it still gave the error message.

Might try a full reinstall and see if that fixes it?

Thanks again for the awesome ROM - it's speedy :D
[Galaxy S I9000 Android Development] DOAlaboratories:
Hey man, thanks for this ROM. i'm running an American ATT Captivate and we just got froyo, so i used the JPK firmware with our kernel and flashed your ROM. it's freakin' awesome. maybe a version of this with completely removed touchwiz minus the bugs from v1?

thanks again, and donation coming your way.
[Galaxy S I9000 Android Development] reiteravi:
nice work

is it fully deodexed ?

my 2p:

launcher pro

circle battery

explorer version -beta expires soon

maybe replace with estrongs or astro

theme - some simple alternative

all for the tw-less version obviously
[Galaxy S I9000 Android Development] BlackAle:
Nice and light rom, though a bit gutted that Swype has been removed, you should mention that on the first page, I'll have to go back to the standard rom as I can't live without Swype.

Not a fan of the altered notification bar either personally.
[Galaxy S I9000 Android Development] daraj:
im trying to load it on my cappy and with no luck. JF6 first, rooted second, then using rom manager to install this light rom. the installation was aborted mid way and the device rebooted normally with stock jf6 still installed. What am i missing?
[Legend General] qzem:
Is it possible to port Froyo From HTC Wildfire to HTC Legend, since they have similar hardware structure?? Yesterday leaked RUU Froyo rom from Wildfire, and today is rooted and everything, so I'm postin here the link to rooted version, and I hope that this maybe help devs to port froyo rom with htc sens to legend, since many users are waiting to such rom :).

http://xdaforums.com/showthread.php?t=761927
[Legend General] LilNes:
Froyo is allready ported on Legend ...

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

http://xdaforums.com/showthread.php?t=749919
[Legend General] BlaY0:
Possible? Yes.

Worth-while? I don't think so.

With old Legend's kernel it could work but with Wildfire's new one I doubt. Processor is different, touch-screen too (resolution).

Grafx porting is trivial but would be painfully long-lasting...

Will take a quick look at it...
[Legend General] LilNes:
I dn't see the interest to port the HTC Wildfire Rom to legend ?! ...
[Legend General] qzem:
Ohw thanks for blessing me with that... I've been using Azure for mor than a month so it is not new to me. But some people really prefer Sense, I'm not one of them, I've just pointed out that there maybe is a possibility of porting it to legend, since HTC update service is very useless to legend.

@Blayo

Ohw I see now that resolution really is different, I wasn't paying attention on that :).
[Legend General] LilNes:
hummm Sorry I misunderstood =)
[Legend General] warriorofice:
I think that´s a great idea.

I am using now Azure 1.0.1 and work´s really fast but i prefer sense.
[Legend General] whitetigerdk:
I have ported it.. 1. Problem: need to fix touchpad to get it working.. booting is fine.. 2. Need to see if resolution can be fixed..
[Legend General] qzem:
Great I'm sure some dev could help you with this problems. Maybe you can get some helpfull stuff out of Azure rom, sinced it is based on froyo, or ask Ali Ba for some advice:). Good luck fixing it!
[Legend General] krasenk:
So far so good! :) Is it confirmed if the ROM has JIT and all other Froyo goodness enabled?
[Legend General] warriorofice:
Great new.

Can´t wait to test it.

Thanks whitetigerdk!!!
[Legend General] qzem:
About resoultion, I guess changing LCD density in build.prop wouldn't help? Default value for legend is 160.
[Legend General] whitetigerdk:
Only what the thread for Wildfire says.. about the port it can't be tested since the touchpad doesn't work..
[Legend General] MichaelAlexanderBull:
I'm pretty sure the touchscreen will never work, as you have to apply patches to the source code before it is compiled for it to work on the legend :/
[Legend General] BlaY0:
Grab a Legend's 2.6.29 kernel from your 2.03.405.3 ROM. You have nothing to loose.

Android powah!
[Legend General] Neon87:
Patch the kernel or some android stuff?
[Legend General] Liquid211:
Someone with the knowledge should add the kyosa touchscreen patches to get this working. Would be great.

If a rom leaked to the wildfire I hope they will leak one for the legend too. Would be a treat.
[Legend General] qzem:
The wildfire has already came out with froyo in china,then the RUU leaked. There is no official froyo rom from htc, so it is hard to believe it will leaked.
[Legend General] BlaY0:
If they are not preparing one, there's nothing to be leaked.
[Legend General] mercuryzzz:
Some time ago I read a news about htc legend in china, and it also should come out with froyo, am I wrong?
[Legend General] qzem:
There were some speculations yes, but at the and all they got is Legend with Android 2.1 update 1 and rom version 2.10.xxx.
[Legend General] whitetigerdk:
Wildfire Port to test.. :

Wildfire Ported

NB..

Still no touchpad working and resolution is wrong.. Feel free to test and modify :)
[Legend General] BlaY0:
Did you try to use Legend's kernel and modules from your 2.03.405.3 ROM?
[Legend General] manudas:
Better, try to use the 2.10 ROM stuff.

A link to a 2.10 ROM: http://www.htcmania.com/showthread.php?t=139646
[Legend General] whitetigerdk:
not yet.. Haven't had the time yet.. :)
[Legend General] BlaY0:
Doesn't really matter... kernel is from the same source as one that's in 2.03.
[Legend General] whitetigerdk:
Anyone up for the challenge.... Trying to mod kyosa's touchpad fix to this rom... Never mind the resolution.. Just let us try it out... I do not unfortunately have the skills for this.. :(
[Legend General] Kwen:
Some driver modules, like the WIFI one, I know have been updated (and broken in some (older?) devices that still has rom 1.x.

Is it possible that they use different WIFI chipsets but then isn't it all built-in the Qualcomm MSM7227?
[Legend General] MichaelAlexanderBull:
the changes have to be made before compiling, so it is not possible to apply kyosa's patches :/
[Legend General] BlaY0:
Then just grab the newest tiwlan.ko and use it with any 2.6.29 kernel. And no, WiFi is not part of MSM7227 SOC.
[Legend General] qzem:
So according to this post, we can forget about using this rom on Legend.
[Legend General] BlaY0:
Not that bad... if you have time and don't need your phone for let say making calls, receiving calls and of course texting, you can try it yourself. Flash your Legend with whitetigerdk's image and put over dumfaq's oc kernel. You have nothing to loose. I would've done it but I need my phone to make calls ;)
[Legend General] whitetigerdk:
But then of course you can always restore your nandroid backup ;-)
[Legend General] krasenk:
It seems these guys here are having some progress in porting Wildfire's 2.2 ROM:

http://www.xda-developers.com/android/wildfire-froyo-with-sense-ported-to-htc-hero/

http://xdaforums.com/showthread.php?t=795444
[Legend General] BlaY0:
Yes. And which kernel does it use? Of course it is 2.6.29...
[Legend General] rajasyaitan:
So BlaY0 sir, this will probably fail right? Unless a kernel that support Legend's wifi appears out of nowhere. Even if it is ported fully, it will still use the Eclair kernel which makes it not really Froyo. Correct me if I'm wrong.
[Legend General] BlaY0:
No, it's not that bad. Kernel is really not so important. Azure and CM are using 2.6.29 too. What makes FroYo is its framework and not the kernel. But you were right... it's WiFi driver that's holding us on 2.6.29.
[Legend General] ali ba:
It's the most important component in Android.
[Legend General] BlaY0:
Yeah right its the most important part of the system (I was just waiting for one to grab this bait), of course it is. But my point was that it is not really important if we have kernel version 2.6.29 or 2.6.32. Besides all major and important features that are in .32 were also backported to .29.6 (CM) so we really are not missing much...
[Legend General] rajasyaitan:
Lol, I thought so too. How can kernel not be important? Even so, it is still not considered 100% Froyo without the .32 kernel.
[Legend General] smartsreenath:
if hero 2.6.29 having kernel ...why not to port hero's[wildfire ported rom] to legend?

it will be simple ya.......:confused::confused::confused:

FOLLOW ME http://smartsreenath.blogspot.com/