tun.ko for vpn? - Droid Eris Android Development

Is there a tun.ko file available for the Eris? And if so, is it something that just need to compile against a specific kernel (ie, CFSv4 vs BFSv4) or just the kernel version (ie 2.6.29)?
Basically, I'm trying to get VPN Connections connections to work so I can connect to Penn State's wifi (which uses "pure" ipsec authentication). Any time I try to connect, the app force closes, which seems to be a result of the missing tun.ko file.
(If there isn't one currently available, would one of you super awesome devs compile one? I'd be super appreciative.)

FunkyFender said:
Is there a tun.ko file available for the Eris? And if so, is it something that just need to compile against a specific kernel (ie, CFSv4 vs BFSv4) or just the kernel version (ie 2.6.29)?
Basically, I'm trying to get VPN Connections connections to work so I can connect to Penn State's wifi (which uses "pure" ipsec authentication). Any time I try to connect, the app force closes, which seems to be a result of the missing tun.ko file.
(If there isn't one currently available, would one of you super awesome devs compile one? I'd be super appreciative.)
Click to expand...
Click to collapse
I believe it needs to be compiled against the specific kernel source but i'm not sure.....I went ahead and compiled one for you but I had some changes to my source since CFSv4 so I compiled a new kernel with the tun.ko file. I'm assuming it needs to be in the system/lib/modules/ folder so that where I put it in the update script. This script will flash the CFSv5 kernel and put the tun.ko file in system/lib/modules. If you just want the tun.ko file you can pull it out of the update script.....I really don't know alot about vpn's so haven't done any testing on it but you can try it and let me know how it goes...I have been running this kernel for a little while and it is stable.
Edit post: I guess a link would be helpful....CFS Kernel with tun.ko

Haha, awesome! Flashing now. I'll update with my results.
Edit: Works fantastic! Thanks so much Conap!

Conap said:
I believe it needs to be compiled against the specific kernel source but i'm not sure.....I went ahead and compiled one for you but I had some changes to my source since CFSv4 so I compiled a new kernel with the tun.ko file. I'm assuming it needs to be in the system/lib/modules/ folder so that where I put it in the update script. This script will flash the CFSv5 kernel and put the tun.ko file in system/lib/modules. If you just want the tun.ko file you can pull it out of the update script.....I really don't know alot about vpn's so haven't done any testing on it but you can try it and let me know how it goes...I have been running this kernel for a little while and it is stable.
Edit post: I guess a link would be helpful....CFS Kernel with tun.ko
Click to expand...
Click to collapse
Conap, you and Deca are Super Devs! Like in capes and tights lol ok, maybe not the tights!
I'm sneakin' that CFSv5 on my phone... shhh, don't look!

workshed said:
Conap, you and Deca are Super Devs! Like in capes and tights lol ok, maybe not the tights!
I'm sneakin' that CFSv5 on my phone... shhh, don't look!
Click to expand...
Click to collapse
lol yeah i figured i'd post it over on the cfs thread too lol....

Conap said:
lol yeah i figured i'd post it over on the cfs thread too lol....
Click to expand...
Click to collapse
I seen that lol, thanks for answering that question too, even though I was comfortable in assuming it was the same... but that gets me in trouble sometimes, had to ask.

cifs.ko and tun.ko for Eris
Hi
I was looking for a tun.ko for my Eris as well, and was excited to see this thread... unfortunately it appears the link above is now broken.
Conap, I'm running Condemned CM7 on my Eris and I was looking for a tun.ko and cifs.ko. I looked at your kernel thread here
http://forum.xda-developers.com/showthread.php?t=774211
and downloaded DecufuctCFSV9, where I found a tun.ko in /system/lib/modules. However when I tried installing this on my phone via insmod, I got a "failed (exec format error)" so I presume it is not compatible.
Does anyone know where or how I can get the correct cifs and tun kernel modules? Thanks!

Wow, Resurrection lol. All the way from September 2010!
http://forum.xda-developers.com/showpost.php?p=19787703&postcount=6887
tun.ko, but no cifs.ko unless I built it into the kernel and don't remember

i begged for that back in june, it was mongoosehelix who compiled it. it only took me 5 months to check my private messages.

sirblacknite said:
i begged for that back in june, it was mongoosehelix who compiled it. it only took me 5 months to check my private messages.
Click to expand...
Click to collapse
? I was talking about this thread.
Mongoose didn't compile the one I linked you to, this is the .29 kernel I compiled with a tun.ko module and will be in my next eris rom.
... you don't have to use it.

yeah, your kernel is what im running now. i was saying that i sent out a quesiton in june asking the same thing, and he had actually compiled a tun.ko that worked in june, but it wasnt until the message i sent to you that i actually checked the messages to see if it worked.
at any rate, i find it easier to use your kernel than have to pump in a driver for tunneling. keep up the great work!

sirblacknite said:
yeah, your kernel is what im running now. i was saying that i sent out a quesiton in june asking the same thing, and he had actually compiled a tun.ko that worked in june, but it wasnt until the message i sent to you that i actually checked the messages to see if it worked.
at any rate, i find it easier to use your kernel than have to pump in a driver for tunneling. keep up the great work!
Click to expand...
Click to collapse
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)

I tried
workshed said:
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
Click to expand...
Click to collapse
Thread resurrection FTW! Well hey I'm still rockin the eris and it's good to see there still so much support. Thanks so much for being responsive.
First I tried insmod-ing the tun.ko from the original link you send, then I tried the tun.ko in this recent zip; both failed on insmod. Then I tried flashing this zip with cifs and tun in it; boot took a long time, when it came up I still got the same error trying to connect to the vpn. Any tips to help analyzing what's failing?
If it ends up working on your ROM I may switch.
Thanks again.
---------- Post added at 06:12 PM ---------- Previous post was at 05:55 PM ----------
workshed said:
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
Click to expand...
Click to collapse
workshed,
I just made some progress on these kernel modules... I tried cifs via CifsManager and it works! I also tried insmod-ing tun.ko *after* flashing this zip and it worked without error; however I still got an error when trying to connect to the VPN. If there's any other ideas you have let me know; perhaps it could be a problem with my VPN settings but they seem ok....
Thanks so much

EasyVictor said:
Thread resurrection FTW! Well hey I'm still rockin the eris and it's good to see there still so much support. Thanks so much for being responsive.
First I tried insmod-ing the tun.ko from the original link you send, then I tried the tun.ko in this recent zip; both failed on insmod. Then I tried flashing this zip with cifs and tun in it; boot took a long time, when it came up I still got the same error trying to connect to the vpn. Any tips to help analyzing what's failing?
If it ends up working on your ROM I may switch.
Thanks again.
---------- Post added at 06:12 PM ---------- Previous post was at 05:55 PM ----------
workshed,
I just made some progress on these kernel modules... I tried cifs via CifsManager and it works! I also tried insmod-ing tun.ko *after* flashing this zip and it worked without error; however I still got an error when trying to connect to the VPN. If there's any other ideas you have let me know; perhaps it could be a problem with my VPN settings but they seem ok....
Thanks so much
Click to expand...
Click to collapse
Hmm, this user comfirmed the tun.ko working, so it may be your settings. http://forum.xda-developers.com/showpost.php?p=19810279&postcount=6890
Yeah basically you should be able to flash that zip and have everything working, maybe needing a reboot after the flash is all. That is, I'm still not sure if the cifs.ko is working correctly or not.

Working!
workshed said:
Hmm, this user comfirmed the tun.ko working, so it may be your settings. http://forum.xda-developers.com/showpost.php?p=19810279&postcount=6890
Yeah basically you should be able to flash that zip and have everything working, maybe needing a reboot after the flash is all. That is, I'm still not sure if the cifs.ko is working correctly or not.
Click to expand...
Click to collapse
I spoke too soon... so I still haven't got vpn working via the CM7 built-in interface, I think it has something to do with the certificates. However then I tried the app "OpenVPN Settings" and set that up with my certs and .ovpn file. Hit a few bumps but I have it working now! The CIFS is also working. I'm actually using both together right now... I'm VPN'd to my home network and have mounted one of my local shares via CIFS over the VPN. Pure magic; thanks so much for your help. Will donate!

EasyVictor said:
I spoke too soon... so I still haven't got vpn working via the CM7 built-in interface, I think it has something to do with the certificates. However then I tried the app "OpenVPN Settings" and set that up with my certs and .ovpn file. Hit a few bumps but I have it working now! The CIFS is also working. I'm actually using both together right now... I'm VPN'd to my home network and have mounted one of my local shares via CIFS over the VPN. Pure magic; thanks so much for your help. Will donate!
Click to expand...
Click to collapse
Glad you got it working, congrats!
Thank you for testing and sharing your findings, always helpful. Let me know if you run into any weird problems with it, and thank YOU for the contribution!

Related

[APP] Milestone - Overclock (requires root)

Hi all,
I realize this is a post about a Motorola phone but please bear with me.
As you might know, the Milestone firmware is firmly locked, unlike its cousin Droid. Among many things, this forbids overclocking because we can't change the kernel and unlock new frequencies.
However I developed a solution that allows overclocking by changing key structures directly in the kernel memory in runtime. All you need is a rooted phone; no flashing involved. For this to work, the module must know two memory addresses that are specific to each kernel. Fortunately, Motorola appears to have reused its kernel on most 2.1 firmwares, and I've yet to come across a firmware where it doesn't work by default. Confirmed working are Central Europe, Telus and Brazilian firmwares. Testers are welcome to give it a try.
Now for the relevant part for XDA: in theory this can be applied to any kernel on any other phone. You may say it's unneeded because you can already overclock; but you must flash a specific kernel to get a particular speed. It would be much better to be able to set any maximum frequency/voltage on the fly without flashing or rebooting. For instance, you could overclock to 1.0 GHz before a browsing or gaming session and then return to a lower frequency like 600 MHz, though still overcloked, for battery savings and safety. It's up to you.
Milestone users can try it out now:
http://code.google.com/p/milestone-overclock/
For the rest of you, what do you think?
sounds fantastic, I'd love to check it out but for the life of me I can't find the page.
If you want to pm it to me, I'll post it.
Nice. Telus Milestone User here. Would love to learn how to do this for mine.
Here is the project link:
http://code.google.com/p/milestone-overclock/
found it. looks like a fantastic idea.
How can we help get the addresses?
awesome .....wht there is no milestone/droid section here is beyond me ....wtf
Because it was decreed months ago by someone and no one seems to like changing their mind once they make a decision in this day and age.....
but it's need to root, could you fix it?
stevecai said:
but it's need to root, could you fix it?
Click to expand...
Click to collapse
what's the problem with rooting the milestone? There's plenty of solutions for that. Just no custom kernel/ramdisk, which this works around by using a kernel module.
hi,
i use the 2.1-reu version on my milestone,
but in order to prevent the 2.1 introduced alarm bug,
i have updated the kernel (only) to the 2.1-telus
(via a sbf).
is possible to use this mod to overlock my phone?
how?
if not, how help you to obtain the addresses?
thank's and continue your great work!
robert
gemini002 said:
awesome .....wht there is no milestone/droid section here is beyond me ....wtf
Click to expand...
Click to collapse
XDA is a HTC developer forum, not an Android forum. Google some moto modding sites, i know modmymoto.com is pretty good, found out how to root the Cliq (garbage) there.
staticshadow said:
XDA is a HTC developer forum, not an Android forum. Google some moto modding sites, i know modmymoto.com is pretty good, found out how to root the Cliq (garbage) there.
Click to expand...
Click to collapse
I have read this explanation several times.
I do not mind, but then because there are subforums dedicated to sonyericsson, hp, etc in xda.
modmymoto is good but the best developers site is, withous any doubt, xda-developers!
Re: milestone-overclock
Xda-developers is for htc and android is for porn.
Welcome to xda btw and great job. Now prepared to be flamed for uttering the M word.
-------------------------------------
sent via xda app from my milestone
ady said:
android is for porn.
Click to expand...
Click to collapse
are you Steve Jobs ?
miragu said:
Hi all,
Now for the relevant part for XDA: in theory this can be applied to any kernel on any other phone.
Click to expand...
Click to collapse
Will the method to find the right address that will be posted at /wiki/Disassembly work with every phone and kernel,too?
Has the app something like a setting where you can just change the address to the one you found with the method above?
Would really love an overclocked 2.1 on the HTC HERO. There is no oc-2.1-kernel for the Hero, yet.
Thanks for the great work, til now!
this is a good via to mod any application.
please, publish the source code of your applicacion ASAP.
thx
Source code for the kernel module released
Hi all,
Thank you for your support. I've just uploaded the source code for the kernel module and also the standalone module itself (it's included in the apk but still). Will write the Disassembly section soon, stay tuned.
miragu said:
Hi all,
Thank you for your support. I've just uploaded the source code for the kernel module and also the standalone module itself (it's included in the apk but still). Will write the Disassembly section soon, stay tuned.
Click to expand...
Click to collapse
hi,
i'm interested on include this in my system applications directory,
in order to prevent your deletion on hardreset, and in order to make it available FOREVER
the instructions are that:
cp OverClock.apk /system/app
cp OverClock.ko /system/lib
????
thx
The overclock.ko is created automatically when you press the "Load module" button in /data/data/pt.com.darksun.milestoneoverclock/files/overclock.ko. You don't need to copy it. I'm providing it separately so that people can load/bundle it without ever running the apk.
bartito said:
hi,
i'm interested on include this in my system applications directory,
in order to prevent your deletion on hardreset, and in order to make it available FOREVER
the instructions are that:
cp OverClock.apk /system/app
cp OverClock.ko /system/lib
????
thx
Click to expand...
Click to collapse
ok,
if i'm interested on have overclocking on my milestone after boot the system, and don't interested on manually execute the apk on each reboot, i need only to copy the OverClock.ko to /data/data/pt.com.darksun.milestoneoverclock/files/overclock.ko on boot time ?
but in your wiki page says to execute "insmod overclock.ko max_rate=800000 max_vsel=62"
please, provide me instructions to set overclock in boot time
The module created by the apk is preserved across reboots. However, if you want to run the module completely standalone I recommend you put it in /data/local/overclock.ko and run insmod /data/local/overclock.ko max_rate=800000 max_vsel=62

[Q] tun.ko for Gingerbread 2.3.4 (XXJVO)

Hello,
I had a tun.ko working with FROYO, but this tun.ko module doesn't work with Gingerbread 2.3.4 anymore.
Where can I find a new tun.ko module for Gingerbread 2.3.4 (XXJVP) ?
Thanks in advice
Use Darky's rom (10.1). Works great with OpenVPN.
Check load tun kernel module using insmod
Location is /lib/modules/tun.ko
Binary is installed to /system/xbin/openvpn
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
xdadev_user said:
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
Click to expand...
Click to collapse
Don't have time right now, but I'll try to compile it for JVP tomorrow.
Sent from my GT-I9100 using Tapatalk
don't know if it works, but this is the one extracted from latest darky's rom kernel.
I'm still on 2.2.1, but you may try it and post some feedback..
xdadev_user said:
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
Click to expand...
Click to collapse
I had a quick look, and as far as I can tell tun.ko should not be required as it should be built into the kernel in Gingerbread (that is, if you are not using a custom kernel). At least it is enabled in the kernel config that comes with the sources, can't confirm if it's actually enabled in the shipped kernel, but it should be.
@captive
thanks for this tun.ko, but it doens't work.
Code:
insmode tun.ko
invalid module format. Maybe this module is for 2.3.3.
@jps1974
lsmod shows me no tun device
Or can someone explain me how I can build my tun.ko ?
xdadev_user said:
@captive
thanks for this tun.ko, but it doens't work.
Code:
insmode tun.ko
invalid module format. Maybe this module is for 2.3.3.
@jps1974
lsmod shows me no tun device
Or can someone explain me how I can build my tun.ko ?
Click to expand...
Click to collapse
That's because it's not a kernel module but built into the kernel instead. So whatever you're trying to do should, from what I understand, work without having to load any module. Anyway, here's a tun.ko that you can try.
my question was stupid
thanks @jps1974,
but with your tun.ko I got the same error message
invalid module format
Click to expand...
Click to collapse
Any idea, what I'm doing wrong ? With Froyo I had no problem.
A module must only be compiled for correct kernel version 2.6.35.7, or?
My Basisbandversion: I9000XXJVP
Kernel-Version: 2.6.35.7-I9000XXJVO-CL182937
Buildnumber: GINGERBREAD.XXJVP
sorry for my dump question, but i´ve never heard about tun.ko
can someone tell me what the **** that is ?
xdadev_user said:
thanks @jps1974,
but with your tun.ko I got the same error message
Any idea, what I'm doing wrong ? With Froyo I had no problem.
A module must only be compiled for correct kernel version 2.6.35.7, or?
My Basisbandversion: I9000XXJVP
Kernel-Version: 2.6.35.7-I9000XXJVO-CL182937
Buildnumber: GINGERBREAD.XXJVP
Click to expand...
Click to collapse
Oh, so you have a JVP firmware with a JVO kernel - you neglected to mention that
Try the attached file.
The module must be compiled using the exact same source code that was used to build the kernel, and also in this case the version string (2.6.35.7-I9000XXJVO-CL182937 ...) must match exactly the kernel. I believe this is because the kernel is compiled without module versioning support, someone please correct me if I'm wrong.
Did you really need the tun.ko? I think thats compiled in the kernel and you don´t need that any more. I have vpncwidget for my vpn connection to my fritzbox.
Hi,
thanks @jps1974,
but with your tun.ko I got the same error message :-(
But I thínk Woddi123 and you jps1974 (mentioned before) are right.
I still have a /dev/tun device. So maybe I really don't need a tun.ko anymore.
Edit: Yes vpnc works. Sorry for this confusions.

Kernel Modules for 7310

Edit: these are useful for stock 3.1 and should not be used with my kernel. See my kernel post for current capabilities etc.
Please use this thread to post kernel modules for the Samsung Galaxy 8.9
The kernel modules I post are compiled from the model 7310 WiFi-only kernel source released by Samsung for kernel 2.6.36.3 and Android 3.1. I do not know if they will work on any other model besides the 7310, but you are free to try.
You must have root access and mount "system" as read/write.
Create a folder called "modules" inside of /system/lib and copy the kernel module (.ko) into "modules"
cifs.ko - to mount shares from Windows, Linux and Mac
-View attachment 7310_cifs.ko.zip
-Unzip cifs.ko and verify with SHA1 65c5cc08ee5a4878fc99060885ecaefd6961a9f
-CifsManager from the Android Market works well. Goto "Settings..." and check both "Load cifs module" and "Load va insmod". The default path will be as shown (/system/lib/modules/cifs.ko)
View attachment other_7310_modules.zip
nls_utf8.ko 3b066984e0dca109df4fe234ea7b91f396448e58
option.ko f46babd6a030bc536869915961971bd110efb3b8
tun.ko 826b5b40749bfbd8978eee4e65838380bd614364
usb_wwan.ko cd76f800e39ce0883feb6a093242757e0a15d829
View attachment ntfs.ko.zip
ntfs.ko ee47d0f110aca30db79accbbc0058292491372a4
Please give "thanks" if this was helpful. If you are looking for a common module, please make a request and I will see what I can do. I have a regular job and a family, so I can't promise how long it will take or that it will work since I may not have the hardware to test it.
Thanks motley. A tip for other noobs like me: don't download through Tapatalk.
Sent from my GT-P7310 using Tapatalk
this is great, thanks for working on the tab 8.9. i think many of us 8.9 owners are a little sad we have so little development going on.
thanks , it works both on stock rom and overcome's rom, well done !!
Hi _motley,
do you know how to mount modules for east asian character folder ?
it seems involved with nls_utf8 module , i'm using cifs mgr...
batch load both cifs.ko and nls_utf8.ko from CIFS mgr , not work,
but western character works normally.
Alternatively , I use script to insmod , then works fine,
anyway , it works , thank you a lot.
Hi
Thanks a lot !
Any chance to get the NTFS Module as well ?
Thanks for testing, glad to hear cifs is working.
kevinchg, not sure on your mounting issue when also loading nls_utf8.ko, I don't currently have a way to test it, but I would make sure that you have your path's and options setup correctly in cifsmanager. Don't quote me, but I think you need to separate the two module paths by a semi-colon and I believe you also need to specify the option "iocharset=utf8" (or something like this) within your share configuration.
fishton, the NTFS module has been added. Let me know if it works for you. Can't believe I left this one out...would like to use it myself.
Thanks ! Will test it tonight and let you know if it works
I'm curious why you guys need the modules. As far as I can tell, they were built into the kernel on my 8.9 tab. I had no problem mounting cifs/ntfs shares and didn't need anything to do so.
phonic said:
I'm curious why you guys need the modules. As far as I can tell, they were built into the kernel on my 8.9 tab. I had no problem mounting cifs/ntfs shares and didn't need anything to do so.
Click to expand...
Click to collapse
Which model do you have? Perhaps you are mounting network drives with ES File Explorer or something like that that has SMB built-in? Neither the config from /proc/config.gz or the defconfig from the kernel source I downloaded from Samsung have any of these options built into the kernel. I definitely can't mount using cifsmanager without loading the cifs.ko module.
For NTFS, we are talking about mounting NTFS hard drives via USB. Haven't tried that yet...perhaps the other gentleman will report back if he tries.
Hi
I tried your NTFS Module yesterday and have been able to load the module. But unfortunately, I haven t been able to find the proper command for mounting my disk.
Could you advice me ?
Thanks !
fishton said:
Hi
I tried your NTFS Module yesterday and have been able to load the module. But unfortunately, I haven t been able to find the proper command for mounting my disk.
Could you advice me ?
Thanks !
Click to expand...
Click to collapse
Give this app a try and see if it works. I'll try to play around with this myself when I find some time.
https://market.android.com/details?id=au.dach.drivemount
Also, see this:
http://forum.xda-developers.com/showthread.php?t=1131924
Already tried both, no luck with it
Hi
Many thanks for your v2 kernel all smooth for me with OVC 2.1
I'm looking at for a working cifs.ko. The one given here never worked for me (exec format error) with previous kernel and the v2.
Any chance to get one to test from your v2 kernel build?
Thanks again.
Sent from my GT-P7310 using xda premium
questionmark said:
Hi
Many thanks for your v2 kernel all smooth for me with OVC 2.1
I'm looking at for a working cifs.ko. The one given here never worked for me (exec format error) with previous kernel and the v2.
Any chance to get one to test from your v2 kernel build?
Thanks again.
Sent from my GT-P7310 using xda premium
Click to expand...
Click to collapse
With the latest versions of my kernel, you don't need any modules...it's built right into the kernel. Only the stock kernel and the first alpha release of my kernel needed modules.
_motley said:
With the latest versions of my kernel, you don't need any modules...it's built right into the kernel. Only the stock kernel and the first alpha release of my kernel needed modules.
Click to expand...
Click to collapse
ho...!
Indeed used cifsmanager and got my share name wrong...
Thanks
Sent from my GT-P7310 using xda premium

initrd.gz problems

I am at a loss here. I am running CLK 1.5 PA 1.1a with tytung r3, however, the device gets icon flash similar to icecreamtosti, where the icons do not respond without a reboot.
I wanted to flash Dorimanx v6.9 or v7.2 HWA, and understand I need to place the ROMs initrd.gz file in the initrd-custom folder. I have tried this on Snow Leopard & XP to no avail using a variety of different compression programs including 7-zip. I unzip the kernel and the ROM, put the PA 1.1a initrd.gz in the correct folder and rezip it. Each time though, even after re-downloading the kernel and ROM, I get an error within CWM, which reads that the installation has been aborted. Why is this? Do I need to re-compile the kernel in Android Kitchen? (I do not know how to do this by the way) or what else am I doing incorrectly? I have trawled the XDA HD2 forum, but had no luck. Suggestions?
aldersonalex said:
I am at a loss here. I am running CLK 1.5 PA 1.1a with tytung r3, however, the device gets icon flash similar to icecreamtosti, where the icons do not respond without a reboot.
I wanted to flash Dorimanx v6.9 or v7.2 HWA, and understand I need to place the ROMs initrd.gz file in the initrd-custom folder. I have tried this on Snow Leopard & XP to no avail using a variety of different compression programs including 7-zip. I unzip the kernel and the ROM, put the PA 1.1a initrd.gz in the correct folder and rezip it. Each time though, even after re-downloading the kernel and ROM, I get an error within CWM, which reads that the installation has been aborted. Why is this? Do I need to re-compile the kernel in Android Kitchen? (I do not know how to do this by the way) or what else am I doing incorrectly? I have trawled the XDA HD2 forum, but had no luck. Suggestions?
Click to expand...
Click to collapse
You don't unzip the contents. By doing so you break the signing. What you wanna do is open your ROM zip using 7 zip then browse to the initrd.gz file copy to your desktop, close everything. Now open the kernel zip file browse to the initrd-custom folder open it. Now double click and drag the initrd.gz file from your desktop to the 7-zip window which has the kernel zip opened to the initrd-custom folder.
Sent from my GT-I9100 using Tapatalk
elesbb said:
You don't unzip the contents. By doing so you break the signing. What you wanna do is open your ROM zip using 7 zip then browse to the initrd.gz file copy to your desktop, close everything. Now open the kernel zip file browse to the initrd-custom folder open it. Now double click and drag the initrd.gz file from your desktop to the 7-zip window which has the kernel zip opened to the initrd-custom folder.
Click to expand...
Click to collapse
I did exactly as you said, but still the same end result :/
aldersonalex said:
I did exactly as you said, but still the same end result :/
Click to expand...
Click to collapse
Have you tried installing the kernel without adding the initrd.gz? I remember getting that error when the download was inturupted or something. So if you still get that error without editing the zip, then it most likely is the zip file and you need to redownload. Because if you did exactly as i said then it should be working. Im a long time user of his kernel's on almost every ROM out there and never once ran into any troubles. But we will surely figure this out
Can you post a link to the ROM you are using, and i'll download it and edit the kernel then repost it in this thread for you.
---------- Post added at 03:33 PM ---------- Previous post was at 02:43 PM ----------
Here it is i found the thread. its kernel 7.2 from DM.
Here
elesbb said:
Have you tried installing the kernel without adding the initrd.gz? I remember getting that error when the download was inturupted or something. So if you still get that error without editing the zip, then it most likely is the zip file and you need to redownload. Because if you did exactly as i said then it should be working. Im a long time user of his kernel's on almost every ROM out there and never once ran into any troubles. But we will surely figure this out
Can you post a link to the ROM you are using, and i'll download it and edit the kernel then repost it in this thread for you.
---------- Post added at 03:33 PM ---------- Previous post was at 02:43 PM ----------
Here it is i found the thread. its kernel 7.2 from DM.
Click to expand...
Click to collapse
Thank you so much, is this the HWA Kernel though?
aldersonalex said:
Thank you so much, is this the HWA Kernel though?
Click to expand...
Click to collapse
Yes 7.2 hwa from dorimanx
Sent from my GT-I9100 using Tapatalk
elesbb said:
Yes 7.2 hwa from dorimanx
Click to expand...
Click to collapse
Thank you so much, I wanted to experiment whether v6.9 is better than v7.2. Would it be possible to repack that kernel too?
aldersonalex said:
Thank you so much, I wanted to experiment whether v6.9 is better than v7.2. Would it be possible to repack that kernel too?
Click to expand...
Click to collapse
Haha yes I could, I personally preferred 7.2 over 6.9 but my favorite is 6.5D xP
Did you flash the zip yet?
Sent from my GT-I9100 using Tapatalk
elesbb said:
Haha yes I could, I personally preferred 7.2 over 6.9 but my favorite is 6.5D xP
Did you flash the zip yet?
Click to expand...
Click to collapse
I flashed it with success, but it doesn't feel as snappy as tytung r3, it takes a few seconds to unlock and load programs, even clocked at 1612mhz and experimenting with ZRAM on and off. Thank you though, I will probably stick with tytung's for the moment though, did you use 7-zip to transfer the initrd.gz file?
aldersonalex said:
I flashed it with success, but it doesn't feel as snappy as tytung r3, it takes a few seconds to unlock and load programs, even clocked at 1612mhz and experimenting with ZRAM on and off. Thank you though, I will probably stick with tytung's for the moment though, did you use 7-zip to transfer the initrd.gz file?
Click to expand...
Click to collapse
Hmm i wonder if its cause i took the initrd.gz from an older version of Paranoidandroid. I have version .6 on my computer thats why i used it. I'll redownload the latest and try with that. I might even flash it myself and test it out. Maybe the lib files need to be transfered as well. Dorimanx has by far been the best kernel for myself, but i dont really care for ICS yet but when i was testing the waters i used DM kernel and i loved it. Snappy responsive and pretty awesome. It just lacks a boat load of features i rely on in CM7. CM9 claimed they will re add the features once they iron kinks out so once they release a better build i will most likely convert
elesbb said:
...but i dont really care for ICS yet but when i was testing the waters i used DM kernel and i loved it. Snappy responsive and pretty awesome. It just lacks a boat load of features i rely on in CM7. CM9 claimed they will re add the features once they iron kinks out so once they release a better build i will most likely convert
Click to expand...
Click to collapse
Very curious by this statement, and admittedly, my own android experience is limited... I've used ACA SD android for a number of months, and have switched over to ICS. Currently with ICT & DM's 6.9 kernel, but love the UI in hybrid mode of PA... and so, am really curious what you meant when you alluded to 'missing features' that were in CM7, but not CM9. What was lost? What am I missing? (sincere question) Thanks, -Rob
RobE. said:
Very curious by this statement, and admittedly, my own android experience is limited... I've used ACA SD android for a number of months, and have switched over to ICS. Currently with ICT & DM's 6.9 kernel, but love the UI in hybrid mode of PA... and so, am really curious what you meant when you alluded to 'missing features' that were in CM7, but not CM9. What was lost? What am I missing? (sincere question) Thanks, -Rob
Click to expand...
Click to collapse
Well, there are two that i pretty much LOVE and cannot live without xD
Those are,
1. Disable full screen (status bar remains visible no matter the app, has a "hide" button if you wish to use full screen in a game or app, then you can unhide by pressing home key(my choice))
2. Really big one, lockscreen gestures. I love being able to draw a 'C' on my lockscreen and open the phone whitout having a custom app slot being taken up. Plus, gestures allow for an app to run while still displaying the lockscreen.
THose are the only two big ones i will miss, there are a few more small ones but i dont remember without flashing CM9 and checking And its been awhile since ive tested the waters, so i might download the latest AOKP and CM9 to see where they are at. But they both are good and pretty cool. CM7 is just perfect for me. No issues what so ever.
elesbb said:
Hmm i wonder if its cause i took the initrd.gz from an older version of Paranoidandroid. I have version .6 on my computer thats why i used it. I'll redownload the latest and try with that. I might even flash it myself and test it out. Maybe the lib files need to be transferred as well.
Click to expand...
Click to collapse
It would be brilliant if you could test out the kernel with the initrd.gz from 1.1a PA, that might explain why it felt slow when I tested the original.

[Q] Anyone got CIFS working on JB 4.1.2?

I've been beating my head against the ground for two full days trying to get a working solution for CIFS under 4.1.2.
Anyone ACTUALLY gotten it to work? 4.1.1 JB CIFS.KO (and related) files do not appear to work. The latest franco kernel Milestone 6 doesn't seem to work.
I NEED CIFS - so I cannot upgrade to 4.1.2 until I'm sure I can get CIFS working again.
Anyone's thoughts would be appreciated.
I also do not have this working... Anyone have a fix?
the .ko files survived the update... but still not working...
EDIT: I would subscribe to this
http://forum.xda-developers.com/showthread.php?t=1781411
I already did just waiting...
SmoothROM 3.2 (4.1.2) supports proper CIFS .. I'm free!
http://forum.xda-developers.com/showthread.php?t=1899024
My current workaround: es file manager's lan support.
Since it is working in a 4.1.2 custom rom, I wonder if the CIFS.KO file was updated or ... if something was built into the ROM to support it.
I'd happily dump the CIFS.KO file if anyone here wants to see if THAT is all it would take.
Please dump the CIFS.KO file here, I'll giv it a try!
Sorry I'm kind of new to all this lingo, but do you mean the File Manager? I seem to be having that problem right now.
kevion4 said:
Sorry I'm kind of new to all this lingo, but do you mean the File Manager? I seem to be having that problem right now.
Click to expand...
Click to collapse
It is just a file browser with lots of features.
Google Play > search > "es file manager"
CIFS works fine with stock 4.1.2 and the faux123 kernel (v012b6es). It has CIFS builtin, no cifs.ko needed.
For those looking to get cifs working on a stock kernel, XDA member chrkad was able to compile the modules to work on stock rooted JB 4.1.2 JZO54K kernel 3.1.10-g009b6d1. See forum link below;
http://forum.xda-developers.com/showpost.php?p=33036537&postcount=115
OK, how 'bout 4.2, now!
jmdearras said:
OK, how 'bout 4.2, now!
Click to expand...
Click to collapse
Negative on stock, rooted 4.2; still using ES LAN support (which still works surprisingly well)

Categories

Resources