Openvpn - HTC Vivid, Raider, Velocity

I am setting up openvpn.
I have run into several problems.
- I'm not sure where to find the connection log, or routing table log.
- I'm not sure if it is using TAP or TUN.*
- not sure if I need tun.ko.
- my .conf file tells me that it looks for ca.crt and .login in /etc/openvpn. I'm not sure how to copy those files to /etc .
- not sure how to format the .login file.
I know that is a real laundry list. I have been searching for a couple hours. Is anyone familiar with setting openvpn up?

krustmother said:
I am setting up openvpn.
I have run into several problems.
- I'm not sure where to find the connection log, or routing table log.
- I'm not sure if it is using TAP or TUN.*
- not sure if I need tun.ko.
- my .conf file tells me that it looks for ca.crt and .login in /etc/openvpn. I'm not sure how to copy those files to /etc .
- not sure how to format the .login file.
I know that is a real laundry list. I have been searching for a couple hours. Is anyone familiar with setting openvpn up?
Click to expand...
Click to collapse
You need a kernel that has tun.
Sent from my HTC PH39100 using xda premium

I think you are telling me that there is no pushing tun.ko to system because only the kernel can write to it?

krustmother said:
I think you are telling me that there is no pushing tun.ko to system because only the kernel can write to it?
Click to expand...
Click to collapse
Tun.ko is compile when a kernel is compile and is kernel specific. My kernel has this.
Sent from my HTC PH39100 using xda premium

Thank you for clearing that up!

Openvpn running on Vivid
Setting up openvpn on htc vivid. How I did it, anyway...
Get root.
Install esfileelorer and terminal.
Install openVPN installer and openVPN settings.
It took a bit to figure out permissions, for me anyway, I copied the .ca certificate authority file, along with the .ovpn files that have my various VPN *server info in them to /etc/openvpn . *To auto-login, make a text file, call it password.txt or whatever. Open your .ovpn files, goto the --user-pass-auth line, add the name of your password file. Now it should work as long as you have permissions right.
My provider gives you a .ca and some .ovpn files. With a password.txt file, it should be enough.
This site gives some visual info. Not exactly the same as the open on I used. http://vpnblog.info/android-openvpn-strongvpn.html
The binary has to be loaded to /system/xbin. That broke ls or some other command. I was forced to re-link it. Other than that, I'm not sure if it's running TUN. It was stated above that tun.ko has to be proper. Looking into it.

Related

Modifying APN-config.xml

well I just flashed modaco's r21 froyo rom and lost data connectivity. discovered this was due to the lack of APNs for networks other than t-mo (such as ATT and cingular). I tried modifying the xml and then tried to copy and paste it with andexplorer with no sucess. I figured I would have to push it there with adb but ADB won't find device. any ideas?
the file in question is in /system/etc/apn-config.xml and I found a "complete" version at:
http://docs.google.com/Doc?docid=0AZNbAmKkmakoZGZxZHNwMnpfMjJkaHg3ejN3eg&hl=en
Should be in Q&A.
Also you should search a little more.
Are you under Linux?
If yes, run adb as root to see your device.
If yes/no, check you have USB Debugging activated.
http://code.google.com/p/cyanogenmod/wiki/APNlist
Oops. I just figured this section was most appropriate for modifying system files. I'm on windows. Ran advanced through command line as admin and no luck. Latest version of the ask/adb too
Sent from my Nexus One using XDA App
How can I install this apns-conf.xml in my N1?
ttereve said:
the file in question is in /system/etc/apn-config.xml and I found a "complete" version at:
Click to expand...
Click to collapse
@fsoliveira: remount and adb push
Next time, to save you some headache, you can use APN backup and restore app.

OPEN VPN

Has anyone managed to get Open VPN working on a Galaxy S? I have a SPICA on which it is working but I cant find a TUN.KO that works on the Galaxy S. Thanks
Also trying to find a proper TUN.KO for the Galaxy S.
No luck so far.
Read here: http://android.modaco.com/content-page/291919/openvpn-on-android/page/20/
None of the methods described for other phones worked for Samsung Galaxy S. I tried with several tun.ko and all where giving me "format errors" as the kernel was not matching.
Last resort, I compile it myself from Samsung I9000 kernel sources.
Tested it and worked. I know have OpenVPN in Galaxy S (I9000)!
I attach the tun.ko file. I hope other guys out there with I9000 can use it.
Excellent. Will give it a go. Which ROM are you running?
I'm currently running I9000BGF1, I will be soon upgrading to new Firmware.
Kernel Version: 2.6.29 [email protected] #2
Hi Chafw,
Can you talk me through where you put the tun.ko, and where you put your OpenVPN files in the directories? I'm getting no where fast on this!
Thanks
SA
Hi mittu1,
I believe you are already root and busybox/openvpn installed.
I used the same link that tids2k wrote above to setup the whole thing up.
I used openvpn-settings application for starting up openvpn configurations.
In openvpn-settings you can define where the tun.ko driver is located.
Anyway, the simplest thing to do firdst to test whether the tun.ko works for you is to
load it by hand using a root shell:
insmod <path to tun.ko>
I have it installed in /system/lib/modules/tun.ko.
Hope this helps.
The tun.ko is ok, it loads nicely. Many many many thanks !!!
In the "OpenVpn Settings" app, my connection ask me for a password, I see "auth", then nothing, I fall back in front of the "select to turn on OpenVPN tunnel" button.
I have tried with stock libcrypto.so and libssl.so, and then with those from openvpn-binary.zip at hxxp://sourceforge.net/projects/tunneldroid/files/
The OpenVPN app still don't want to establish the connection... In no ways... And no log message in dmesg at all (neither for tun)
So it's enough for this night, but if someone have an idea, you are (really) welcome !!!
Does the module have to match the kernel version exactly? Running european JM2,
kernel is 2.6.29 [email protected]3#2
PS. 1st Post
Do you copy tun.ko in the /lib/modules folder ? or in a new freshly created folder /system/lib/modules (as said on modaco guide) ?
On my system (XXJF3 / XXJF3 / XAJF3), I have no /system/lib/modules folder, and every time a mount in rw my /, then write tun.ko to /lib/modules, then remount in readonly, and then reboot the phone, the tun.ko file disappear...
Do I miss something ? Does the / mount point isn't a real partition ???
thnks in advance
@ Anduru:
No, don't think that is necessary but I'm also quite new to Android.
@raphman:
I created a new folder /system/lib/modules. I didn't have the directory either.
Anyway the OpenVpn-settings applications allow to define the location of the tun.ko. Haven't tried but I believe you could put it anywhere in the system.
Also, make sure the ifconfig and route commands are available and properly linked.
@chafw
thanks for your reply
meanwhile i just tried my luck and it worked.
Guys,
I'm glad it's working but I haven't managed it yet!!
I'm using the I9000XWJM2 rom, rooted! I've downloaded the tun.ko file, the open VPN Setting file off the market, and Open VPN installer. I've got the certs and config files.
Can some one please guide me through installation to get it up and running OR did people use the following link instructions
http://android.modaco.com/content/software/291919/openvpn-on-android/
Would really appreciate someone's help here.
Chaf, many thanks, but in fact, my installation was ok, it was a password problem... Arrrrgggggg !!!!!!!
So now I connect fine to my OpenVpn server, but I cannot reach any server withour using the "Fix DNS" problem.... Strange, because using the connection on my pc automacillay get the DNS given by the vpn....
Many thanks !!!
@raphman:
The DNS is a known issue in Android as OpenVPN uses update-resolv
hook scripts to update the resolv.conf configuration with the passed DNS parameters.
However, this does not work yet with in Android and Openvpn-settings.
You can either use fix-dns or add your hosts in the /etc/hosts file if they are
a limited number.
@mittu1:
Yes, that's the guide.
liblzo
I have got to the stage where my openvpn connection is started but no traffic is being passed through the tunnel. Checking around it seems that I am missing the liblzo.so file that handles compression. Can any of you guys post a working liblzo.so or confirm that your configuration does/doesn't use this file? Thanks.
mittu1 said:
I have got to the stage where my openvpn connection is started but no traffic is being passed through the tunnel. Checking around it seems that I am missing the liblzo.so file that handles compression. Can any of you guys post a working liblzo.so or confirm that your configuration does/doesn't use this file? Thanks.
Click to expand...
Click to collapse
take it here and 1st step is SAVE your old files somewhere !!!
hxxp://sourceforge.net/projects/tunneldroid/files/openvpn-binary.zip/download
then cp in /system/lib and chmod 755. That's ok on my i9000.
hi,
It didn't work! Still same problem. Any other suggestions?
chafw said:
None of the methods described for other phones worked for Samsung Galaxy S. I tried with several tun.ko and all where giving me "format errors" as the kernel was not matching.
Last resort, I compile it myself from Samsung I9000 kernel sources.
Tested it and worked. I know have OpenVPN in Galaxy S (I9000)!
I attach the tun.ko file. I hope other guys out there with I9000 can use it.
Click to expand...
Click to collapse
I tried the tun.ko and it works! Unfortunately my (Endian) firewall can only use a tap device, and apparently both ends have to match. I get the connection, but the the device and IP are never setup. Any chance you can either compile the tap device like you did the tun, or give me the steps so I can do it myself ?

Tun.Ko for Captivate

Has anyone been able to successfully re-compile a tun.ko for the captivate kernel?
Office still has old IPSEC group ID based vpn
Thanks.
[mods please move to development]
Trying my hand at building that module from the vanilla Eclair + Samsung code drop. Will let you know how it goes...
I used this tun.ko, installed openvpn with the openvpn installer from the market, and installed the VPN_Connections_v099.apk from code.google.com/p/get-a-robot-vpnc to manage the connections. I am able to connect to my cisco vpn concentrator with my captivate. Hope this helps...
where on the phone do we copy the tun.ko file?
I put mine in /system/lib/modules/ and openvpn in /system/bin/. I also installed openvpn settings from the market and enabled the "load tun kernel module" option and changed the "load module using" to insmod. For some reason it would not connect without this, I guess because the tun module is not being loaded correctly. Also you can manually load the module by typing “insmod /system/lib/modules/tun.ko” and check to see if it’s loaded by typing “lsmod” and you should see “tun 11088 0 - Live 0xbf195000”
This worked for me.
loaded it manually, not sure if it'll load automatically now or not, haven't tried it.
Can't get this working...
Do you have to start OpenVPN and manually load the tun before launching VPN Connections? Of course after all of these settings...
Still not working...
Okay, I can manually insert and load the tun.ko and installed the VPN Connections app to this version. Every time I try to connect, it INSTANTLY says 'failed to connect'. Any ideas? I have all the right things in all the right places...OpenVPN installed and configured (although I can't see how I need this with the tun.ko manually started and running). HELP! I really need VPN to work on this device or it is going back...
Great information in this thread. I have Busybox installed, Open VPN binaries installed and Open VPN settings installed as well as the Vpn_connection_99.apk file. One issue though!
HOW DO I MANUALLY DROP THE TUN.KO FILE INTO THE SYSTEM/LIB/MODULES FOLDER?
I tried to using Droidexplorer with no luck, so I copied it to the sd card and tried to copy paste it using Astro File Explorer with no luck either. How the hell do I get it into that folder? I'm rooted and running the JH7 captivate stock ROM.
I feel like once I get it in there, I can manually start the file and get this puppy up and going! I tried to put it into another folder and just point Open VPN settings to it there but it just won't work like that. It needs to be in the Modules folder!
Thanks in advance!
Ugh I've tried about everything and no luck with copying the tun.ko file into the system/lib/modules directory.
I've gained root access using adb shell and su commands and I don't receive any errors in the adb shell when I perform cp tun.ko system/lib/modules but it does not copy the file. I tried to chmod 777 the lib folder but was denied. I'm learning I may not have NAND unlocked for full root. I tried to manually start the module from my sd card but it won't work that way either.
Any suggestions?
EDIT: OK BIG IMPROVEMENT. I WAS ABLE TO WRITE THE TUN.KO FILE TO A DIFFERENT LOCATION IN XBIN AND POINT THE OPENVPN AT THIS. AFTER AN LSMOD CHECK I CONFIRMED IT'S RUNNING. CAN ANYONE HELP ME BUILD A VALID OPENVPN .OVPN FILE FOR CONNECTING TO MY VPN? IT'S A STANDARD CISCO ASA IPSEC VPN THAT HAS A GROUP NAME, GROUP KEY AND VPN ADDRESS.
Thanks!
Here is the link that got me able to install the module elsewhere for all you folks facing NAND issues and not able to install tun.ko in the system/lib/modules folder!
http://forum.xda-developers.com/showthread.php?t=793018&highlight=openvpn+config
Thread moved to Q&A.
OK. I've got true ipsec vpn working perfect on the captivate with the latest jh7 build. Cisco asa 5500 is the device being vpnd through.
Sent from my SAMSUNG-SGH-I897 using XDA App
Is anyone doing anything new and/or differently than what's been described in this thread to successfully connect to a Cisco VPN Concentrator? I know October is only two months back, but a lot can change in two months around here.
Also, there was a question on page 1 asking about whether the tun module had to be manually loaded each time or not. That was never answered. Can anyone shed some light on that, please?
Bunkaido said:
Is anyone doing anything new and/or differently than what's been described in this thread to successfully connect to a Cisco VPN Concentrator? I know October is only two months back, but a lot can change in two months around here.
Also, there was a question on page 1 asking about whether the tun module had to be manually loaded each time or not. That was never answered. Can anyone shed some light on that, please?
Click to expand...
Click to collapse
Give me til tomorrow morning. I have EXACTLY what you are looking for. Consider donating if it helps... . It does need to be loaded each time but in the video I point at 2 apps that will make loading it literally a 3-5 second process and not involve you having to use a pc to load it.
http://forum.xda-developers.com/showthread.php?t=871159
Reason for OpenVpn Settings
fixitsteve said:
Okay, I can manually insert and load the tun.ko and installed the VPN Connections app to this version. Every time I try to connect, it INSTANTLY says 'failed to connect'. Any ideas? I have all the right things in all the right places...OpenVPN installed and configured (although I can't see how I need this with the tun.ko manually started and running). HELP! I really need VPN to work on this device or it is going back...
Click to expand...
Click to collapse
The reason I use OpenVpn settings is because when you restart the phone you have to reload the tun.ko and OpenVpn settings is an easy way to do that, it also fixes the dns after you disconnect from the vpn by going to setting and fix dns. The process I use to start the vpn is (starting from a cold boot of the phone)
1. I ALWAYS leave the check box in OpenVPN settings UNCHECKED (OpenVPN off) unless I'm starting the tun.ko after a boot. After the phone boots I open OpenVPN settings and check the box next to OpenVPN and wait a few seconds, then uncheck it. This loads the tun.ko and only needs to be done after a reboot.
2. go to VPN connections and click and hold the vpn connection you made to your VPN concentrator and click connect. (you should be connected at this point)
3. after you disconnect the dns on the phone may not change back automatically from the VPN dns servers, so go to OpenVPN setting and click setting and Fix DNS. You should be able to get out to the Inet again.
Cognition 3.04
Has anyone gotten this to work on the Cognition 3.04 ROM? I keep getting:
fatal:cannot allocate TUN/TAP dev dynamically
K, I don't know what I'm missing here. There's not word one about config files or their format in this thread but, as far as I can tell, this is a fairly worthless collection of bits without one.
I've reviewed the thread 3 times and searched the forums, where can I find formats for these mysterious conf files?
Some custom roms have tun.ko built in. I use Paragon RC6, based on speedmod kernel. To activate tun.ko I rebooted into recovery mode, chose speedmod tweaks and activated tun.ko, rebooted and installed OpenVPN Installer and OpenVPN Settings from the market. Then had to adb some symbolic links (google is your friend). After d/l'ing conf files from my commercial OVPN supplier and some editing the setup works very well.
Sent from somewhere with my Cappy/ParagonROM/OpenVPN
visionlogic said:
Some custom roms have tun.ko built in. I use Paragon RC6, based on speedmod kernel. To activate tun.ko I rebooted into recovery mode, chose speedmod tweaks and activated tun.ko, rebooted and installed OpenVPN Installer and OpenVPN Settings from the market. Then had to adb some symbolic links (google is your friend). After d/l'ing conf files from my commercial OVPN supplier and some editing the setup works very well.
Sent from somewhere with my Cappy/ParagonROM/OpenVPN
Click to expand...
Click to collapse
If my ROM doesn't have tun.ko built in, is it possible to use from a different ROM?

$10 BOUNTY!!! Fix my OpenVPN

I'm offering up a bounty of $10, payable immediately by Paypal, to anyone who can help me figure out how to make OpenVPN (using Hidemyass Pro) correctly run on my HTC Incredible with Virtuous 3.2 Rom installed.
I used the following directions from this site to set up OpenVPN:
Easy way - OpenVPN on rooted/S_OFF Incredible with BusyBox installed:
This is by far the easiest way to set up OpenVPN. Make sure you copy your config file and any relevant keys to a folder on your sdcard.
If you do not have tun.ko on your system, then you can download it for 2.2 (tun.zip) or 2.1 (inside openvpn.zip) attached to this post.
Next, download the following two apps from the Android Market:
OpenVPN Installer
OpenVPN Settings
Next, run OpenVPN installer, click install, give it an install path (I prefer /system/xbin), and give it the path to BusyBox.
Finally, run OpenVPN Settings. Go to Menu -> Advanced, make sure "Load tun kernel module" is checked.
Click on "TUN module settings"
Change "Load module using" to insmod
Change "Path to tun module" to... the path to your tun.ko file. Click back.
Update "Path to configurations" and "Path to openvpn binary".
That should be it!
Okay, so let me be clear in explaining exactly what I've done:
1) I used OpenVPN installer, clicked install, and pointed the install path to /system/xbin and then to Busy box - Binaries installed perfectly without a problem
2) I put all the Hide My Ass Config files into a folder on my SD card called Openvpn (/sdcard/openvpn)
3) I opened the advanced menu and checked "Load tun kernal module"
4) Changed the "Load Module Using" to insmod
5) Changed the Path to tun to (/sdcard/openvpn/tun.ko) - this is the folder where I put all my config files, including tun.ko
6) Changed "Path to configurations" to (/sdcard/openvpn) - which, just like the tun.ko file, is where the config files are located, along with the keys
7) Kept "Path to Binaries" as default setting (/system/xbin/openvpn)
So, after all this has been accomplished, it lists my VPN's servers and I click on one of them. It asks me for my login credentials, and when I put them in, I get the following error:
Fatal;"Cannot load certificate file./keys/hmauser.crt: error:02001002:systemlibrary:fopen:No such file or directory: error: 20074002:BIO.routines:File_CTRL.system lib: error:140AD002:SSL routines: SSL_CTX_use_certicate_file:system lib
Don't know what this means and don't know where to begin to fix the problem. But as I said, first person who gets me online using openvpn will get $10 by Paypal immediately. Who's in?!
If this helps, here's where I got the Hide My Ass Config files:
http://hidemyass.com/vpn-config/
Virtuous 3.2?
digitalicecream said:
Virtuous 3.2?
Click to expand...
Click to collapse
Yes, Virtious 3.2
lol
10ch
EDIT: Think I found your problem. Open the .ovpn file and look for
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
change ./keys/ to where you are storing the files.
FredMan said:
EDIT: Think I found your problem. Open the .ovpn file and look for
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
change ./keys/ to where you are storing the files.
Click to expand...
Click to collapse
It looks like the .ovpn files are all the same, more or less. I don't know where to find what you're mentioning above.
Here are all the files HMA provides. Which of these should i change?:
http://hidemyass.com/vpn-config/
Pick one that is closest to you.
Open it up and look for
Code:
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
Change ./keys/ to ./sdcard/openvpn/
FredMan said:
Pick one that is closest to you.
Open it up and look for
Code:
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
Change ./keys/ to ./sdcard/openvpn/
Click to expand...
Click to collapse
I changed it, but now I get the same error message but with the above thread:
Fatal;"Cannot load certificate file./sdcard/Openvpn/hmauser.crt: error:02001002:systemlibrary:fopen:No such file or directory: error: 20074002:BIO.routines:File_CTRL.system lib: error:140AD002:SSL routines: SSL_CTX_use_certicate_file:system lib
What does the "." before "/sdcard" mean? Am I manipulating the data incorrectly or is there something else I should try?
it's case sensitive Make sure the folders match. Try it with and without the "."
FredMan said:
it's case sensitive Make sure the folders match. Try it with and without the "."
Click to expand...
Click to collapse
You are so close to getting that $10!!
I changed the sequence to /sdcard/Openvpn and for the first time, it actually tried to authenticate and login. But now I got a new error.
It goes through the following:
Auth
Get Config
A quick Ip number that I can't read
then, the following error:
"FATAL: Linux ifconfig failed: could not execute external program"
Any idea how to fix this? I feel like we're very close!!
i dont want the bounty. Just helping out.
open terminal emulator and do
ls /system/xbin
Click to expand...
Click to collapse
look to see if 'ifconfig' is there
FredMan said:
i dont want the bounty. Just helping out.
open terminal emulator and do
look to see if 'ifconfig' is there
Click to expand...
Click to collapse
Thanks for helping out...
Since I have s-off, I'm guessing I'd have to boot into recovery to do anything in terminal emulator (earlier I was told I'd need to do this to use ADB Shell). Is this correct?
I have Astro file viewer on my phone, can I accomplish the same thing by just looking in the folder with that?
You can use astro, just make sure it's there.
FredMan said:
You can use astro, just make sure it's there.
Click to expand...
Click to collapse
Just checked. Yes, it's there. I noticed in the original post on how to set up OpenVPN, posts # 5-8 deal with this exact issue.
http://forum.xda-developers.com/showthread.php?t=702634
I'm not sure what, if anything, I should do with the file the OP posted in post #8, since this was months ago, and the version of OpenVPN I downloaded came out of the market this week. Also, from his original post, it looks like the OpenVPN he attached is for 2.1 not 2.2.
Any ideas?
Stockmoose16 said:
Just checked. Yes, it's there. I noticed in the original post on how to set up OpenVPN, posts # 5-8 deal with this exact issue.
http://forum.xda-developers.com/showthread.php?t=702634
I'm not sure what, if anything, I should do with the file the OP posted in post #8, since this was months ago, and the version of OpenVPN I downloaded came out of the market this week. Also, from his original post, it looks like the OpenVPN he attached is for 2.1 not 2.2.
Any ideas?
Click to expand...
Click to collapse
I GOT IT!!!!!
I had followed the original directions, which said to put ifconfig in system/xbin/bb, but I just reinstalled the binaries in system/xbin and it connected.
Don't know why the original directions were off, but I am so happy. Thank you so much.
Congrats! Have Fun.
FredMan said:
Congrats! Have Fun.
Click to expand...
Click to collapse
Since you were so helpful, can I trouble you for one more question that you may or may not know the answer to?
I have Tasker on my Android and I need it to kill the OpenVPN session when I'm using a certain wifi. This was easy to do with the VPN 1 plugin for PPTP, but I don't know how to make it kill an OpenVPN session (tried to set it up, but it seems to keep trying to reconnect and less I manually toggle off "OpenVPN" in "OpenVPNSettings."
Wanna take a crack?
I will look into it. Love Tasker.

[Q]Difference between ROM & Kernel?

Would appreciate it if someone can explain to me the difference between a kernel and a Rom.
And also, what does it mean by "pushing to /system/app"?
Thanks in advance.
http://lmgtfy.com/?q=kernel+rom
Can someone guide me on how to push an app to system/app please?
I know it has something to do with ADB but I do not know the exact steps. Thanks.
At first you need root access. Then you need an app like 'Root Explorer' and with this app you can push files into /system - folder.
Sent from my GT-I9000 using XDA Premium App
Imagine a rom as a car. The kernel would be the engine.
Sent from my DynaTAC 8000X
sendokan said:
http://lmgtfy.com/?q=kernel+rom
Click to expand...
Click to collapse
How about a better answer?
A kernel is a piece of software (kind of like a program/executable) that interfaces directly with your hardware and provides a standardized interface for higher level software to use that hardware.
ROM means Read Only Memory. In this case, ROM is not the proper term but it is in common usage despite the fact that you can write it/overwrite it. Regardless of the details, for your purposes, a ROM is the higher level software that provides interfaces between the kernel and you. E.G. the libraries, windows manager, etc.
I am unsure in this context, but I think the ROM contains the CSC stuff too. The CSC contains stuff specific to a particular locale or vendor such as programs like Layar or codes for APNs.
I followed the above Let Me Google That For You link and this thread was the first one that popped up. I quickly browsed a few other threads but getting any real meaning was going to be quite tedious.
Good luck and have fun.
strikethree said:
How about a better answer?
A kernel is a piece of software (kind of like a program/executable) that interfaces directly with your hardware and provides a standardized interface for higher level software to use that hardware.
ROM means Read Only Memory. In this case, ROM is not the proper term but it is in common usage despite the fact that you can write it/overwrite it. Regardless of the details, for your purposes, a ROM is the higher level software that provides interfaces between the kernel and you. E.G. the libraries, windows manager, etc.
I am unsure in this context, but I think the ROM contains the CSC stuff too. The CSC contains stuff specific to a particular locale or vendor such as programs like Layar or codes for APNs.
I followed the above Let Me Google That For You link and this thread was the first one that popped up. I quickly browsed a few other threads but getting any real meaning was going to be quite tedious.
Good luck and have fun.
Click to expand...
Click to collapse
first one is a thread from a year ago with exactly the same title
The kernel manages system resources and functions like a bridge between applications and hardware. One could compare it in many ways, but this is generally what it does.
Thanks all for the explanation. Will search around to understand the differences.
Lunchbox115 said:
At first you need root access. Then you need an app like 'Root Explorer' and with this app you can push files into /system - folder.
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
May I know how exactly do I push the apk to /system/app? I have Root Explorer installed already.
Do I move the apk to /system/app then install it from there? Or am I supposed to install the normal way, then shift the apk from /data/app (where apps are usually installed to right?) to /system/app?
Which *.apk do you want to install?
Normally you just have to click on the *.apk (with any file manager) and you can install it.
At first, you need root.
After that, you have a few ways to do this:
Way 1: Use any File Explorer, which can get SU permission and access the system folder.
Then copy & paste
Way 2: You could connect your device to your computer with a USB cable (Debug-Mode on!).
Then you couls google a ADB tool.
Or you open the command line and type this into your cmd:
cd [drive]:\[folder where adb is located]\
adb root
After that you could find out where you are with the "ls" command.
Sent from my GT-I9000 using XDA Premium App
Lunchbox115 said:
Which *.apk do you want to install?
Normally you just have to click on the *.apk (with any file manager) and you can install it.
Click to expand...
Click to collapse
I am actually trying to do this --> http://forum.xda-developers.com/showthread.php?t=1123830
Installing
You can install the EDT Tweaks app or you can push it to /system/app
You must push SystemUI.apk to /system/app
I don't want to make a flashable quite yet because I want more experienced users to test this out, etc
Click to expand...
Click to collapse
So am I supposed to push first then install or the other way round?
I tried installing the normal way, then shifted the apk from /data/app to /system/app but received an error when I tried to open the app.
Anybody please?

Categories

Resources