yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] massigann:
What we have here is my first rom that i made for myself,but i want to share.

I just started to learn programing and the android platform is a tool for me to learn :)

so what i did here was just made for me but i think there is room for one more dish from the kitchen, so here we have it

This is built on v20g official (new baseband!!!!!!)

Rom fetures: Almost everything what the kitchen has to offer(deoxed,busybox,a2sd.....)

- Power menu (recovery and reeboot added)

- Latest Franco_kernel 2.6.35.14

- wifi fix

- Enabled jit an heapsize to 48mb and some build.prop hacks ;-)

- And some other things i can not remember:-)

- Theme made by me and UOT Kitchen(a very big tanks to those guys)

- lg buttons from Lg 2x by: bioan. http://xdaforums.com/showthread.php?t=1040012

Apps -Adao file manager

-Battery Calibration (you can uninstall after calibration)

-Browser

-Calendar

-Camera (themed camera that i found somewhere.I don't know who themed it but big thanks to him/her)

-Clock

-Miui Compass

-Fm radio

-3D Gallery

-Gmail

-Go Contacts (removed lg stock contacts)

-Go SMS (removed lg stock sms app)

-Google search

-Market

-Miui Music

-MultiPicture Live Wallpaper

-News and weather

-QQlauncher

-Voice Search

-Youtube

-Wireless Tether for root users (i am having problems built in tether:confused:)

Bugs: - The only bug i know of is the built in wifi tether

edit: Sorry there is one more bug. In Go sms when you try to push the + button it loads and loads.

So when adding just type the first letter or number and the xt9 will do the rest :) (this will be my next problem to understand and solve!)

- For transparent statusbar use MultiPicture Live Wallpaper or a launcher that suports it

Big thanks! to the xda comunity

to Franco for his perfect kernel

to ciox for good tips and howto

to untermensch for his power menu howto. http://xdaforums.com/showthread.php?t=811532

to everyone i forgot:)

p.s I changed some icons in some apps(go contacts and go sms and others just for fun).

They will go back to default if/when you uppdate via market.

So basicly this is just another official GB kitchen cooking with some tweeks and hacks. just with another flavor ;)

Download link with GO: http://www.multiupload.com/4N5IM4FX5A

Original contacts and sms apk for those who want (install with root explorer or something and change permission and restart)http://www.multiupload.com/NL2VFCCUSD

Due to popular demand here you go but no go :) (removed Go Contacts and sms and added Stock apk´s) http://www.multiupload.com/APVVIMU4AC
[Optimus One, P500 Android Development] logo_32:
Nice work bro :)

Theming is brilliant :)

You can try and compile a flashable ZIP to enable other stock lg GINGERBREAD users to patch this theme ;)

Thumbs Up..!!
[Optimus One, P500 Android Development] DaXmax:
Wait wait bro! If u remove stock contacts, u cant call out? Right? I did something that day with my nexus, i froze my phone.apk, it works! But i cant get into the dialer! So does it work for u? O.o
[Optimus One, P500 Android Development] Human_dude_007:
Same happened with me dax, removing stock dailer will prevent you from getting into dialer via any other 3rd party app,and it keeps force closing ...
[Optimus One, P500 Android Development] DaXmax:
So, strong recommended! Do replace back the stock dialer... ;)
[Optimus One, P500 Android Development] massigann:
no problems here! no fc no freze:D

tested and tested over and over,just try it:cool:

every time i tried a new version of this rom(wich has only had the go contacts all the time) i did a full wipe (formatt system ect.) to be shure that i don´t have something still under there that makes it run. So IT WORKS!
[Optimus One, P500 Android Development] thachtunganh:
Wow...i will see your rom later to see how can you remove stock dialer but still can get gsm signal and out/in call
[Optimus One, P500 Android Development] massigann:
The stock contacts do not have the phone.apk built in

the stock dialer is a part of the original stock contacts.

So when you dial from GO contacts you go straight to phone.apk(wich i dit not remove) and whola! a phone is calling a friend:cool:
[Optimus One, P500 Android Development] Human_dude_007:
Does app2sd work properly? Is it app2ext or app2sd?? Do u need an ext partition/? Or like cm7 it directly goes to SD??
[Optimus One, P500 Android Development] massigann:
it has:) app2ext. but it works like normal if you don´t have ext

edit : it should say a2sd not ext sorry :(
[Optimus One, P500 Android Development] thachtunganh:
Oh , i see... i already did that :D , also thank you for give your tip to users :)
[Optimus One, P500 Android Development] massigann:
Added new version in first post with original contacts and sms app for those who like it better that way :D
[Optimus One, P500 Android Development] Human_dude_007:
Keep up the good work mare :-(It would be nice if u could cook a rom based on old baseband wit awesome tweaks n stuffs!!!
[Optimus One, P500 Android Development] tarti321:
Thanks maan!
[Optimus One, P500 Android Development] Human_dude_007:
heyy dude!just installed ..works just about fine!!usb tehtering doesnt work instead using wifi tethering provied by u!!i have a 512 mb ext partition already existing but still any app i install seems to go to the phone memory,say setcpu and im not able to move it to sd card!!could u please help me setting up app2 sd or app2ext whatever it may be??

thnx in advance!!:D

edit1:using custom kernels such as fserve's goldenleaf,gbs causes immensive lagging in dropping down notification bar,and setting force close also the entire system kindof bcomes laggy!!please look into the issue..
[Optimus One, P500 Android Development] massigann:
only use franco official GB kernel:cool:
[Galaxy S II General] farazive:
I'm closing this thread. Whatever I did seemed to work only temporary..
[Galaxy S II General] NoOneCanHelpMe:
If u stop software update, samsung dive stops working :) i found this out long tome ago, but it might be different now on 2.3.5 :)
[Galaxy S II General] eclipse398:
or you can use the siyah kernel which supposedly fixed the aos problem.

based on my current usage, it shows:

1d 9h 14m on battery

2h 11m display time on

android os 3%.

theres still 39% battery left.

for me thats good enough.
[Galaxy S II General] AndreiLux:
And another placebo fix to add to the plethora of supposed fixes for the bug. :)
[Galaxy S II General] robbiev80:
Install CM7 to fix the bug. :cool:
[Galaxy S II General] AndreiLux:
Sorry, but nope :)
[Galaxy S II General] meranto:
- Put phone in freezer until draining process is frozen?

- Sing "Twinkle, Twinkle, little star" before going to bed with phone, so it will slide into deep sleep very smoothly without waking up?

- *[MOD] OMG, my battery lasts for 3,5 months already. TRY THIS FIX*

Turn phone off and leave off to save battery?
[Samsung Infuse 4G] antioch216:
hey guys, I'm actually not sure exactly where to ask this, I hope you guys can help

I got a Infuse from a friend, but the SIM card is having a problem. The silver tray is actually popped up and I got it to stay down, in what I think is the locked position or whatever. Also...one of the contact prongs is MIA. How can I fix this? :(
[Samsung Infuse 4G] RUNNERX:
Find someone sell a broken infuse that you can use for parts.

I can't find anyplace that sells that part.
[Samsung Infuse 4G] Optimus-Prime:
I dont think there is a "locked" position. Your going to have to send it to samsung for repair. Your talking about $70ish to fix.

Sent from Optimus-Prime's Samsung Infuse 4G
[Samsung Infuse 4G] Truckerglenn:
There isn't, the sim just slides underneath.
[Samsung Infuse 4G] antioch216:
yeah, I figure it got screwed :/

oh well, mailed it into Samsung yesterday, I think the quote was $75
[Off-topic] bjb_nyj101:
After 14+ long months, I am finally leaving the Evo and Android for good. I gave it two shots (G1 and Evo), and both times it was underwhelming. I actually preferred the experience I had with the G1 than I did with the Evo.

I'll be picking up my iPhone tomorrow morning once I get out of class.

inb4 rude comments
[Off-topic] piscesjoey:
Enjoy your new experience.

EVO on Tapatalk
[Off-topic] amyslee:
The day after tomorrow...

I'll be back... soon
[Off-topic] Papa Smurf151:
Good bye. Enjoy ur locked down piece of crap. A smaller screen. No flash support. And be dumbed down to the fullest. Stay in school cause ur gonna need every bit of knowledge u can soak up inorder to counteract ur stupidity
[Off-topic] fernando sor:
Lol
[Off-topic] metalfan78:
No one cares if you leave or stay. To each his own.

We're comin from a pure power source.
[Off-topic] fernando sor:
Yeah I love the announcement, like its androids fault. The newest iphone release is outdated. Imagine it in 3 or 4 months. The iphone is for people who can't mod and like being told what's cool
[Off-topic] mattykinsx:
If that isn't the biggest troll comment ever made on these boards I dont know what is.
[Off-topic] cesarcerros31:
How would you like the G1 better than the evo?

sent from my HTC evolution running a freshly baked gingerbread with the 4gs in it
[Off-topic] thlinx:
The posters on here seem sad to see you leave.... cya
[Off-topic] {ParanoiA}:
Sucks to be you...
[Off-topic] jamiejayhawk:
Lol I just can't get enough of Android. Just returned to the evo from a gs2. Probably picking up a 4s to compliment my evo. Plus Cra******* trade market will be CRAZY. Maybe I get my tablet and some cash. One thing is for sure, I'm waiting on LTE and the dual core phones for that.
[Off-topic] atapia984:
This is the OP right about now.
[Off-topic] teh roxxorz:
I got a good laugh out of that.
[Off-topic] mmegalodon:
Oh my ...

LOL
[Off-topic] tony0691:
You guys are insane someone can't say they're leaving for an iphone because they're automatically flamed and obviously stupid. I like android but I prefer ios. Yet I'm still here. Android just seems to be all over the place and all unorganized right now. It seems like I get a new phone and the week after that a new much better phone is released and our is outdated. There's also the issue where some apps don't work on some phones because of the hardware or some other bull excuse like they did with netflix. We get dumbed down apps all the time. Like they don't even care about us android users. I still love android I just wish it was better.
[Off-topic] shawayne21:
Android ****s on iPhone .. but to each his own.

He had to have a bootleg Evo bought in China town.
[Off-topic] lithid-cm:
Your comparing software to hardware. Android ****s on ios? Is that what you mean?

If I had to weigh in I would say that neither is better, tho ios even tho stole the notification system, implemented it better then android. That's neither here nor there. I say they each offer a different user experience, yes you can get great battery life, after an android phone gets rooted and modified. Tho I have yet to be able to watch looped video on my evo for 7 hours straight...

I think the main difference is the app store, android users are cheap as ****. They will use warez, they will not donate(I'm speaking generally). So better support and better apps make their way to ios first. Yes we have the same apps on android but android fragmented system is ****ed up. I love android, but reguardless how you look at it. They are different. Really don't think people should get all pissy about it. Crazy how some people act towards another human just because they like a different phone. I think our priorities are messed up.
[Samsung Epic 4G Touch] angst911:
OK, before I go try and reinvent the wheel, has got a tun.ko module for the E4GT built yet?

--Mods feel free to delete this post. It would be good public knowledge for people to know that the tun module is built into our factory kernel though..
[Samsung Epic 4G Touch] pyrostic:
This needs to go in the Q&A forum. Not in development. Hope you brought some flame pants.
[Samsung Epic 4G Touch] dodgeboy:
Wrong section, and it's built into the kernel.
[Samsung Epic 4G Touch] angst911:
flame on then. and a mod is free to move it to Q&A. I was going to go try and build it myself.
[Samsung Epic 4G Touch] KingOfThaJungle:
Is there somewhere that confirms it being built into the kernel for sure? I can't get Cisco Any Connect to work, which require that mod being loaded into the kernel, TIA!
[Samsung Epic 4G Touch] angst911:
I would have to agree that it's build into the kernel with what I have seen so far with trying to get openvpn to work.
[Samsung Epic 4G Touch] dodgeboy:
Cisco Anyconnect works fine for me. Stock rom (rooted), stock kernel. It did not work for me (gave some error about not being able to apply configuration changes) when I was using the CWM kernel briefly.

Dave
[Samsung Epic 4G Touch] Robbzilla:
OK, if it's in the kernel, does that mean it's automatically enabled, and I don't have to do anything to get it running? I'm coming from an Epic 4G where I had to run the tun.ko module, so bear with me on this please.
[Samsung Epic 4G Touch] dodgeboy:
Correct. If it's in the kernel, you don't need to load a module.
[Samsung Epic 4G Touch] Robbzilla:
OK, so dumb question #2: which kernels have it built in, or does it come in the stock kernel? I'm using Lost kernel at the moment, and get a robot is acting like I forgot to load the tun.ko module...

FYI: my work uses an old VPN system; ipsec psk that doesn't use certificates, and uses the old Cisco VPN client, which doesn't work with anyconnect. I've had successes with my epic 4G with get a robot and a good kernel, so that's where I'm coming from, but am still getting my feet wet on the new phone.
[Samsung Epic 4G Touch] dodgeboy:
So far (for me, at least), it has only worked with the stock "pulled" kernel. It works with the pulled kernel that contains CWM, as well. All of my experience is related to the anyconnect client. I haven't tried to connect to any older IPSEC only systems, or used get a robot.

Dave
[Samsung Epic 4G Touch] JohnCorleone:
My turn for a nOOb question ...what is TUN.KO? Thanks friends
[Samsung Epic 4G Touch] Robbzilla:
It's a tunneling module that allows you to connect via VPN if it's not built into the kernel that you're using. In short, you turn it on and it gives the VPN apps the tools they need to work right. Android has been pretty lax about including this over the years, although it's supposed to be integrated into ICS, allegedly.
[Samsung Epic 4G Touch] Robbzilla:
I've had no luck with get a robot. It's still crashing. Anyconnect just won't see our VPN. I've gone to the pulled stock kernel as well, and no dice. Bleh. Hopefully someone will release an external tun.ko for this.
[Samsung Epic 4G Touch] angst911:
I've only gotten openvpn to work in routed mode and not bridged. I'm not sure if it's an openvpn issue, a phone issue, or the fact that I'm using OpenVPN-AS (vmware appliance) and the openvpn on the phone doesn't support DHCP maybe?
[Samsung Epic 4G Touch] Robbzilla:
If I'm not mistaken, OpenVPN won't connect to a Cisco 3000 concentrator... :(
[Samsung Epic 4G Touch] Robbzilla:
I've done a lot of reading recently, and have come to the tenative conclusion that while the tun module is included in the kernel, it's not activated in the kernel.

So I've done some digging, and am trying the following:

First check if the TUN module is enabled on the hardware node:

lsmod | grep tun (No answer)

If not, load the module using modprobe:

modprobe tun

SIGH... no luck...
[Samsung Epic 4G Touch] Robbzilla:
OK, I've done a little more work on this, but still no luck.

When I try modprobe tun, I get:

chdir(2.6.35.8_LostKernelExp+): No such file or directory

I can see the tun file in the /dev directory, but can't find an rc.conf. Is that possibly the reason that this isn't going? I'm fairly mediocre with Linux, so it's a little frustrating to say the least.
[Samsung Epic 4G Touch] chris41g:
There is no module, its compiled into the kernel..
[Samsung Epic 4G Touch] Robbzilla:
Then what am I doing wrong? It's not working with "Get a Robot", which is just about the only IPSEC PSK VPN that I've found that will connect with an old Cisco 3000 concentrator? GAR is acting like there's no TUN enabled.
[Samsung Epic 4G Touch] chris41g:
honestly i dont know, but have you tried various kernels? i dont have the phone, and i dont use tun.ko
[Samsung Epic 4G Touch] Robbzilla:
I've tried Pulled Stock, with root, Zedomax, and Lost. None function.

Grrrr. Very frustrated. When I work with a TUN.KO Module on my old Epic, it works with no problems. This? It acts just like the Epic before I got a working module.
[Samsung Epic 4G Touch] woodspoon:
I'm in the same boat as Robbzilla. Get-a-Robot / VPNC seems to be my only hope for remote desktop at work. Based on my past experience, it does look like it's just not playing nice with the baked-in tun. I bet we'd be in business with a custom compiled tun.ko module. (I'm on the stock ROM from crawrj's post if anyone is game!)
[Samsung Epic 4G Touch] woodspoon:
Since nobody else was dumb enough to try, I took myself up on my offer to compile a stand-alone tun.ko module to see if this fixes the VPNC problem. I may finally have a module that is in the proper form for my kernel, but my 'insmod tun.ko' still errors out with the following from dmesg (the devs probably know where this is going):

tun: exports duplicate symbol tun_get_socket (owned by kernel)

Unless I'm missing something (highly possible), I believe that just proves what everyone has been saying all along, that the kernel does indeed have the same module already included. If nothing else, this was a good learning experience on how to compile a module for my phone.
[Samsung Epic 4G Touch] dodgeboy:
That's how I would interpret the error. Is it possible that your app just wants to see the tun.ko file in the filesystem (because it doesn't expect it to be built into the kernel)? I can't remember where the default location for the file is, but I would mess around with that and see if you can get it to work. Unfortunately, I can't help you test because Anyconnect works with the built-in module, and that's what I use.

Dave
[Samsung Epic 4G Touch] woodspoon:
I think you've hit the nail on the head. The dumpstate log file (below) shows that VPNC thinks that there's no tun. Like you said, it probably assumes that if one exists, that it must be a module.

So I'm guessing that this could probably be solved with a custom ROM that has tun compiled as a separate module. I wonder if any of the existing ROM devs would be willing to produce one of that flavor? (I had to 'make all' to create a proper tun.ko, but I'm not feeling confident enough to try to flash it to my phone. Mainly because I don't know what the hell I'm doing.)
[Samsung Epic 4G Touch] chris41g:
Make modules

Instead of make all, then put the ko file on the phone and load it.
[Samsung Epic 4G Touch] woodspoon:
I did try make modules several times before later moving to make all. When I tried to load the tun.ko that resulted from make modules, it errored. I got this from dmesg:

tun.ko : no symbol version for module_layout

After finding another xda posting that suggested that sometimes make modules results in unusable modules, I moved on to make all. After doing that, I finally got a separate module that appears to be in the right format for my kernel. But as I said above, that also failed on insert because it now seems to be colliding with the same code that is compiled into my running kernel:

tun: exports duplicate symbol tun_get_socket (owned by kernel)

I'm assuming that error is from this line in the tun.c

"EXPORT_SYMBOL_GPL(tun_get_socket);"

I'm researching the VPNC end now looking for why it can't make use of the tun in the kernel, but any suggestions are appreciated!
[Samsung Epic 4G Touch] chris41g:
Pastebin th results of

Ls -l /dev/
[Samsung Epic 4G Touch] woodspoon:
Here you go:

$ ls -l /dev/
opendir failed, Permission denied
$ su
# ls -l /dev/
(output is long, so it is attached below)
# ls -l /dev/tun
crw-rw---- vpn vpn 10, 200 2011-11-14 22:31 tun

There's our guy tun. The timestamp seems to be from my latest reboot.

For what it's worth, here's a code snippet from VPNC source. This is "VpncProcessHandler.connect" which is throwing the error in the dumpstate log file:

try
{
this.connectionInProgress = info;
String gateway = info.getIpSecGateway();
String ipsecId = info.getIpSecId();
String secret = info.getIpSecSecret();
String password = info.getPassword();
String xauth = info.getXauth();
[B]process = Runtime.getRuntime().exec("su -c sh");
if( !new File("/dev/net/tun").exists() )
{
Util.debug( "tun does not exist" );
vpnc.setConnected( false, info );
this.connectionInProgress = null;
}[/B]

PrintWriter logWriter = new PrintWriter( vpnc.openFileOutput( "lastConnection.log", Context.MODE_PRIVATE ) );
OutputStream os = process.getOutputStream();
InputStream is = process.getInputStream();
if( is.available() > 0 )
{
Util.debug( Util.readString( is, logWriter, true ) );
}
String vpncCommand = "/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach";
String vpncFlags = vpnc.getExtraFlags();
if( vpncFlags.length() > 0 )
{
vpncCommand += (" " + vpncFlags);
}
Util.writeLine( os, logWriter, vpncCommand );

Util.debug( Util.readString( is, logWriter, true ) );
Util.debug( "IP " + gateway );
Util.writeLine( os, logWriter, gateway );
Util.debug( Util.readString( is, logWriter, true ) );
Util.debug( "group id: " + ipsecId );
Util.writeLine( os, logWriter, ipsecId );
Util.debug( Util.readString( is, logWriter, true ) );
Util.debug( "group pwd " + secret );
Util.writeLine( os, logWriter, secret );
Util.debug( Util.readString( is, logWriter, true ) );
Util.debug( "user " + xauth );
Util.writeLine( os, logWriter, xauth );
Util.debug( Util.readString( is, logWriter, true ) );
logWriter.flush();
logWriter.close();
if( password == null || password.length() == 0 ||
[B]connectionInProgress[/B].isNumericToken() )
...

When it determines that "tun does not exist", is sets connectionInProgress to null. It looks to me like the later reference to "connectionInProgress.isNumericToken()" is what is causing the fatal error and the force close.

But the symbolic link is being established by vpnc. Here's my ls -l on that before and after trying to connect:

# ls -l /dev/net/tun
/dev/net/tun: No such file or directory

(try to connect with vpnc - force close)

# ls -l /dev/net/tun
lrwxrwxrwx root root 2011-11-14 23:21 tun -> /dev/tun

Thoughts? I feel like there's got to be a work-around to this. Thanks for taking a look.
[Samsung Epic 4G Touch] chris41g:
try making the link yourself, before running it
[Samsung Epic 4G Touch] woodspoon:
SUCCESS!

Chris thanks for sticking with this. I just bought you a beer (or more depending on what kind of beer you drink). I had tried to create the symbolic link myself before, but your suggestion prompted me to try something else.

Weird, but the problem ended up being with the permissions of the /dev/net directory that the app creates for the symbolic link. So make it work, I had to make the net directory and then update the permissions to rwx for all:

$ su
# cd /dev
# mkdir net
# chmod 777 net

After that, it works. I've cold rebooted a couple of times to show that it is repeatable. Anyway to do this permanently? In the meantime, I've set up a gscript script to do this before starting VPNC.
[Samsung Epic 4G Touch] chris41g:
I suggest an init.d script until I add it into the kernel
[Samsung Epic 4G Touch] Robbzilla:
Awesome! Works for me too! Now I just need to get DNS working right! :D
[Samsung Epic 4G Touch] chris41g:
try adding 8.8.8.8 to the resolv.conf
[Samsung Epic 4G Touch] Robbzilla:
Already there. It's the internal DNS for my company that I need to get working... :p When I have more time, I'll add THAT to the resolv.conf.
[Samsung Epic 4G Touch] vMAC:
Sorry to bring up this old thread. Can anyone confirm which kernel this is currently working on?

P.S. I was only able to find this via google, xda search shows no matches for OpenVPN in the E4GT forum.