[Modules][Xperia P]CIFS Module for SXP - Sony Xperia S, Acro S, Ion

here are cfis module for xperia p (to access windows shares)

What for?

Can i use with xperia s?
Sent from my LT26i using xda premium

sebastien207 said:
What for?
Click to expand...
Click to collapse
it says in the OP to access windows shares
it's probably fair to say if you don't know, you probably don't need

neghelliregna said:
Can i use with xperia s?
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
doomlord allready made one for S ;-)
Gesendet von meinem LT22i

Thanks for your contribution .

inteks said:
here are cfis module for xperia p (to access windows shares)
Click to expand...
Click to collapse
When trying to mount, I get an error insmod: init_module '/system/lib/module/cifs.ko' failed (Exec format error)
I suppose it is not working on stock kernel?
EDIT: sorry, I realized the date of thread now, these probably won't work on ICS

Sorry, where shall I copy cifs.ko and slow-work.ko?
I don't have /system/lib/module but only /system/lib/modules/3.0.8+
Edit: I have copied cifs.ko and slow-work.ko to /system/lib/modules
permissions
owner root: RWX
group root: R-X
Global: R-X
Share path: DELL
Mount Point: /mnt/cifs/DELL
Username/Password: filled
Load cifs module: CHECKED
Load via insnmod: UNCHECKED (CHECKED doesnot work either, what's insnmod??)
mount: No such device (((
Code:
[email protected]:/ # insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/cifs.ko
insmod: init_module '/system/lib/modules/cifs.ko' failed (Exec format error)
255|[email protected]:/ #

someone should move this Xperia P subforums

Related

[GUIDE]HOW to make init.d work......not use custom kernel(sorry if my word is wrong)

Hey guys, i'am newbie in XDA I just want directory init.d work and not use custom kernel....its just simple code..
you just put the code:
# init.d support
busybox run-parts /system/etc/init.d/
In >install-recovery.sh< in directory /system/etc, click instal-recovery.sh and click execute, and you will be get
Init.d work..
________________
YOU CAN TEST INIT.D with 99test(create a new file in /system/etc/init.d
And gift name 99test or other...
And this the code:
( #!/system/bin/sh
touch /data/local/tmp/init.d_log_test.txt
echo "done" >> /data/local/tmp/init.d_log_test.txt
),
If have file :
init.d_log_test.txt in
/data/local/temp/
Init.d its work
__________
NOTE: you must have BUSYBOX, you can execute instal-recovery.sh again if 99test not work
Ok, good luck
Sorry if my english so bad
Sent from my GT-S5360 using XDA
shoutokuyaki said:
Hey guys, i'am newbie in XDA I just want directory init.d work and not use custom kernel....its just simple code..
you just put the code:
# init.d support
busybox run-parts /system/etc/init.d/
In >install-recovery.sh< in directory /system/etc, click instal-recovery.sh and click execute, and you will be get
Init.d work..
________________
YOU CAN TEST INIT.D with 99test(create a new file in /system/etc/init.d
And gift name 99test or other...
And this the code:
( #!/system/bin/sh
touch /data/local/tmp/init.d_log_test.txt
echo "done" >> /data/local/tmp/init.d_log_test.txt
),
If have file :
init.d_log_test.txt in
/data/local/temp/
Init.d its work
__________
NOTE: you must have BUSYBOX, you can execute instal-recovery.sh again if 99test not work
Ok, good luck
Sorry if my english so bad
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
I ran this
# init.d support
busybox run-parts /system/etc/init.d/
and I guess it ran cuz I got a wall of text. But the 99test didn't execute. But there was a init.d_log_test.txt in /data/local/tml/
So does that mean its working or that it was ALREADY working?
sorry brother but i have already made a thread about this in dev section...
it won't work.
hell_lock said:
sorry brother but i have already made a thread about this in dev section...
Click to expand...
Click to collapse
Sorry if I repost
Sent from my GT-S5360 using XDA
raolemo said:
I ran this
# init.d support
busybox run-parts /system/etc/init.d/
and I guess it ran cuz I got a wall of text. But the 99test didn't execute. But there was a init.d_log_test.txt in /data/local/tml/
So does that mean its working or that it was ALREADY working?
Click to expand...
Click to collapse
Yeah sure..
Sent from my GT-S5360 using XDA
delete /data/local/temp/init.d_log_test.txt then reboot the phone. please check if we could find the same file after reboot.
kurotsugi said:
it won't work.
Click to expand...
Click to collapse
why it will not work? please give me a clue where the fault
Sent from my GT-S5360 using XDA
kurotsugi said:
delete /data/local/temp/init.d_log_test.txt then reboot the phone. please check if we could find the same file after reboot.
Click to expand...
Click to collapse
follow above test. please confirm the result
kurotsugi said:
follow above test. please confirm the result
Click to expand...
Click to collapse
Ok I will try...
Sent from my GT-S5360 using XDA

[Q] OpenVPN Problems

Hi, I can´t find tun for openVPN
I´m at stock kernel (3.0.15-671647) and ALF2...
I have only found next tun.ko compatible kernels:
Android: 4.0.4
Kernel: 3.0.8-Semaphore_ICS_1.2.2s (3.9)
Android: 4.0.4
Kernel: 2.6.35.7-perf-CL945787 (cm_cooper-eng 4.0.4 IMM76I eng.maclaw.20120512.163413 test-keys)
Android: 4.0.4
Kernel: 3.1.10-subZero-1.2 (IMM76D)
Is nobody here who can help me?
Now I have a custom Kernel who involves tun.
But when I start openVPN i become a failure:
linux ifconfig failed could not execute external program
What´s the problem.
Can anybody help me?
Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.
intellirat said:
Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.
Click to expand...
Click to collapse
Ok. Nice to here I'm not alone with this problem
Anybody here, were runs the OpenVPN setting without troubles?
Gesendet von meinem GT-I9300 mit Tapatalk 2
Notronic said:
linux ifconfig failed could not execute external program
Click to expand...
Click to collapse
Same thing here, with the stock kernel
look for "openVPN für Android" in the playstore. openvpn works like a charm even without root.
intellirat said:
Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.
Click to expand...
Click to collapse
Thanks, that fixed it. I'm on stock rom, just rooted. But I'm using tap not tun.
intellirat said:
Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.
Click to expand...
Click to collapse
Have you activated tun option? In openVPN settings?
Edit: Ok, now it's running fine.
Gesendet von meinem GT-I9300 mit Tapatalk 2
Another question. Need you accept applications running as root in Droid wall? Only openVPN should get a IP table accept. No other root application. Is this possible?
Gesendet von meinem GT-I9300 mit Tapatalk 2
intellirat said:
Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.
Click to expand...
Click to collapse
Use "open VPN installer" from googleplay to correct this. set it tp /system/xbin and not ../bin or .../bb

[Q] Frandom

I did a little search but couldn't actually find a thing. Is there any kernel for 4.1.2 with Frandom module instead of Urandom?
Sent from my Galaxy Nexus
Anyone? I read around that frandom should give real improvement compared to urandom, but didn't actually notice much people talking about it!
Sent from my Galaxy Nexus
have a look at this MOD CrossBreeder,
Frandom support (Optional)
Click to expand...
Click to collapse
i'm on Amperific's Kernel [A.S.K.P-Build14] with CrossBreeder, and i must say its a killer combination, i havnt tried the Frandom though..
Peace,
LastForOne
lastforone said:
have a look at this MOD CrossBreeder,
i'm on Amperific's Kernel [A.S.K.P-Build14] with CrossBreeder, and i must say its a killer combination, i havnt tried the Frandom though..
Peace,
LastForOne
Click to expand...
Click to collapse
I had a look at it, but still isn't what I'm looking for.
It says frandom module still needs to be compiled from the kernel source, and I'm not good at it. I googled a little bit to have an idea about what compiling a module means but it seems too difficult for my experience (never compiled a thing ).
So maybe someone could briefly link me a to a tutorial or (and this would be way better) explain me how to do it...
That would really be appreciated..
Acording to this guy seems like an easy thing.. If one is used to compiling modules.. >>
https://github.com/Ryuinferno/frandom-android
Sent from my Galaxy Nexus
I'll have a look at it and get back to you...
EDIT: I'l just quote this.
You will need to ask your ROM developer to develop the kernel module for you and then place it in /system/lib/modules.
&
Advanced users can even try and load the frandom module built for other kernels if they don't have one readily available for their own kernel version using the Punchmod utility.
Click to expand...
Click to collapse
so as it says you can try the Punchmod but before you do that i'd recommend you to give a try to Amperific's Kernel [A.S.K.P-Build14] with CrossBreeder combo, you may not even need the frandom after that.
Thank you for your suggestion, but I'm looking for the frandom module alone.. In addition, I'm on 4.1.2 so I'm using old kernels!
I think I'll just try asking for someone to compile it for me, provided with the kernel sources.. Or in extremis I'll try compiling it myself..
Sent from my Galaxy Nexus
Jar3112 said:
Thank you for your suggestion, but I'm looking for the frandom module alone.. In addition, I'm on 4.1.2 so I'm using old kernels!
I think I'll just try asking for someone to compile it for me, provided with the kernel sources.. Or in extremis I'll try compiling it myself..
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
GoodLuck with that ^^
After many tries, I managed to compile frandom for my kernel, though executing insmod gave an error:
[email protected]:/ $ su
[email protected]:/ # cd /sdcard
[email protected]:/sdcard # insmod frandom.ko
insmod: init_module 'frandom.ko' failed (Exec format error)
How can I troubleshoot this error? Maybe I should run the insmod command on the pc, using adb shell?
Sent from my Galaxy Nexus
Jar3112 said:
After many tries, I managed to compile frandom for my kernel, though executing insmod gave an error:
[email protected]:/ $ su
[email protected]:/ # cd /sdcard
[email protected]:/sdcard # insmod frandom.ko
insmod: init_module 'frandom.ko' failed (Exec format error)
How can I troubleshoot this error? Maybe I should run the insmod command on the pc, using adb shell?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
I found something else.
After facing the error I executed dmesg and this was the output:
<3>[23304.409484] frandom: version magic '3..0..31-04244-g560d2c8-dirty SMP preempt mod_unload ARMv7 ' should be '3.0.31-04244-g560d2c8-dirty SMP preempt mod_unload ARMv7 '
I tried changing the extraversion in the kernel source makefile, but still couldn't find the right, what am i missing?
I swear after this I'm writing a noob-proof tutorial for compiling kernel modules.
That would surely help, considering the amount of difficulties I am facing trying this for the first time..
Sent from my Galaxy Nexus

[Easy Tool] For developers and rom cokers

Hi, here is tool for making flashable zip in few commands! No need root! In few commands your rom is ready for sharing or flashing with CMW ! You can dump any rom! NOTE: all your rom changes which is in your phone will be included in rom.zip (for example busybox, su...etc)! Tool will be usefull for dumping next Sony stock rom, but allso all rom is supported! Enjoy!
For no rooted devices:
adb push romgen /data/local/tmp/
adb shell
cd /data/local/tmp
chmod 755 romgen
Code:
./romgen C6903 honami /dev/block/platform/msm_sdcc.1/by-name/system /dev/block/platform/msm_sdcc.1/byname/userdata /dev/block/platform/msm_sdcc.1/by-name/cache [COLOR="Red"]/dev/null[/COLOR] /storage/removable/sdcard1/rom.zip
/dev/null must be used as a boot partition since no rooted devices have no access to these device!
For rooted devices:
adb push romgen /data/local/tmp/
adb shell
su
cd /data/local/tmp
chmod 755 romgen
Code:
./romgen C6903 honami /dev/block/platform/msm_sdcc.1/by-name/system /dev/block/platform/msm_sdcc.1/byname/userdata /dev/block/platform/msm_sdcc.1/by-name/cache [COLOR="Red"]/dev/block/platform/msm_sdcc.1/by-name/boot[/COLOR] /storage/removable/sdcard1/rom.zip
Download tool:
http://forum.xda-developers.com/showthread.php?t=2533585
munjeni said:
Hi, here is tool for making flashable zip
Click to expand...
Click to collapse
is it stable already?
I mean the Meta-INF generated completely?
thanks gonna try this if the tool complete
nelikp said:
is it stable already?
I mean the Meta-INF generated completely?
thanks gonna try this if the tool complete
Click to expand...
Click to collapse
Yesterday I noticed bug There is bug when folder is empty or when symlink is inside folder but there no other files! So when tool generate zip these folder is missing in zip but updater-script have line "set perm to folder" which not exist, so installation aborting because a missing folder Will try to solve them soon! Do not flash generated zip since you will get boot loop (you can only if you add missing folders to zip)! I will make new version soon, hope clean!
New version is out! Hope all bugs solved! Bug is solved by creating empty file .placeholder to all existing folders so zip for sure now have all mised folders, than placeholders is auto removed at finish of the installation
I am hope eerything is right now, but I will test and let you know if generated zip is installable with sucess!
New working version finaly, sorry! Now I tested tool and found another 2 bugs, first one was "zip fail to store file which contain special characters like *()...etc", and seccond one was wrong format of the permssions in updater-scrip. Now all things is solved, I have tested tool, tried to install generated zip, installed zip, and bum. Everything is ok now, enjoy!
Hi mate...nice to see you here
If I'm correct, you have some great work and kernels in your biography
Sent from my C6903 using Tapatalk
funky0308 said:
Hi mate...nice to see you here
If I'm correct, you have some great work and kernels in your biography
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
No space left in my signature :laugh: One oftopic question, anyone have info when Sony will anounce 4.4.2 ?
munjeni said:
No space left in my signature :laugh: One oftopic question, anyone have info when Sony will anounce 4.4.2 ?
Click to expand...
Click to collapse
Yeah...I'm using Tapatalk so can't see...but, as I said, I know who you are and we will be very happy if you join Z1 development :thumbup:
It should be out (most likely) in a first few days on april (let just hope it won't be first April and we.won't be April's fools )
Some of Z2 apk files are already out and if that guy who already post few things managed to post Z2 system dump - we could have something even earlier
Sent from my C6903 using Tapatalk
I am allready in development on Z1 Compact but curently I have problem in semc_colorizable (going to start working in MIUI), so first of all I need to solve all things related to the recompiling framework-res and full removal of the semc_generic_uxp... by now have no luck Did you have luck on framework-res on Z1 using apktool ? I have managed to recompile/compile them by now, but boot loop on colorizable things since my modificaions on framework / framework-res is not complete .
munjeni said:
I am allready in development on Z1 Compact but curently I have problem in semc_colorizable (going to start working in MIUI), so first of all I need to solve all things related to the recompiling framework-res and full removal of the semc_generic_uxp... by now have no luck Did you have luck on framework-res on Z1 using apktool ? I have managed to recompile/compile them by now, but boot loop on colorizable things since my modificaions on framework / framework-res is not complete .
Click to expand...
Click to collapse
@munjeni bro, you can try out the Advanced APKtool by @BDFreak bro for the framework-res issues. It's compatible with z1 Compact.
http://forum.xda-developers.com/showthread.php?t=2639400
@munjeni, nice tool, but I need help. I get this error in CWM log every time I try to install my zip; "l:Can't partition non mmcblk device: /devices/msm_sdcc.2/mmc_host
What do I need to do to the updater script? I tried replacing the mount system bit with;
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
but I had no luck.
Probably you pased bad command to the romgen since you say /devices/msm_sdcc.2/mmc_host !!! Double check first post before you going to generate zip! Or probably you using an bad cwm which have bad fstab! If no of these 2 simptoms is true than for sure you have modified updater-script by your own way which probably is not ok! Hope this help.
munjeni said:
Probably you pased bad command to the romgen since you say /devices/msm_sdcc.2/mmc_host !!! Double check first post before you going to generate zip! Or probably you using an bad cwm which have bad fstab! If no of these 2 simptoms is true than for sure you have modified updater-script by your own way which probably is not ok! Hope this help.
Click to expand...
Click to collapse
Okay so it's the bad fstab, thanks man
Can anyone make rom for my karbon a39 HD

OmniRom OpenVPN quick fix (kernel issue: cannot acquire tun interface socket)

Hi,
I've found a quick and dirty fix for kernel issue related with tun.ko module in OmniRom/KitKang roms with kernel 2.6.38.8-evervolv-02127-...
Just create file /data/local/userinit.sh containing folowing lines (or add, if you've already have a file):
#!/system/bin/sh
rm -rf /dev/tun
insmod /system/lib/modules/tun.ko
Click to expand...
Click to collapse
Next reboot, or run it with:
sh /data/local/userinit.sh
Click to expand...
Click to collapse
I'm using openvpn binary from OpenVPN Installer app and it works like a charm!
If this fix is already known, please remove this thread (I can't write to thread related to OmniRom). Probably there is a better fix for this issue.
Greetings

Categories

Resources