About CIFS Manager, coutts kernel and CM7 - Desire General

Anyone has been able to mount any Window$ share with CIFS Manager?? When I try to do it I give "No such file or directory" error, module is rightly loaded (I checked this with "lsmod")
Also I tried to do with terminal emulator with "mount -t cifs //xxx.xxx.xxx.xxx /mnt/cifs/xxx...." and same in "/sdcard/X" folder, and the same error in all of the cases
Also I'm using the latest couttstech kernel from here and nightly build from Cyanogen (It also was occured same error with older RCs and nightlies)

Related

Kernel 2.6.32-2.6.25 and initrd update with lot of changes

There are many changes on initrd that affect both 2.6.25 and 2.6.32, so:
When you update you need to apply this.
If someone post something like wifi doesn't work and he/she didn't apply the update i'll find a way to burn his phone remotely!
I fixed the problem of wifi for polaris (now we use the same module, thanks dzo)
The new initrd:
switch to correct version of modules between 2.6.25 and 2.6.32
change the name of the device
probably fix data corruption
2.6.32 kernel has a new parameter for fake sync so you can make all test you want (please post results in this thread)
2.6.25 is unchanged so when you flash you change only the initrd.
Haret users please download initrd from here.
if you have problem with data connection please let me know!
I suggest you to download latest version directly from atools.
To apply update you can use the boot menu or atools (BSE->select data and system partitions-> select intall update-> put install-seq.sh in sdcard/andboot/)
Download page here
changelog:
updated androidupdate.tgz with su fix
For releaser:
Entract the update on your distro
remove the /system/etc/ppp directory
put the ppp file (extract the zip) on /system/etc/
Click to expand...
Click to collapse
Release your new distro.
Thank You l1q1d
Appreciate everything you do!
I am a Vogue user on sdcard sys-date.img (not ext2), I have updated the 'must' and used the haret lzma, and zImage-11-23-10 .32 kernel but still get this:
sh:2 unknown operand
Automode for system
/init: line 319: /bin/losetup: not found
/init: line 319: /bin/e2fsck: not found
[ 24.743286] EXT2-fs: unable to read superblock
mount: mounting /dev/block/loop1 on /system failed: Invalid argument
Failed
Failed to mount /system
try now, when i update busybox some apps are moved in /sbin/
Thank you for the info
l1q1d said:
try now, when i update busybox some apps are moved in /sbin/
Thank you for the info
Click to expand...
Click to collapse
Sorry got the same result with the new 'NEED' updated.
Do you have di problem with atools or when you boot?
Somthing is wrong with download link i get this ::
XML Parsing Error: not well-formed
Location: http://androidhtc.git.sourceforge.net/git/gitweb.cgi?p=androidhtc/kernel-release.git;a=tree
Line Number 23, Column 117:function padLeftStr(input,width,str){var prefix='';width-=input.toString().length;while(width>0){prefix+=str;width--;}
--------------------------------------------------------------------------------------------------
try with another browser...
Yep link is working just fine. Tried it in IE8 and firefox with no issues. Sounds to me like your browser is having a hell of a time trying to parse xml.
Well it seems to work ok for me, wifi still works, and I will experiment with the vsync setting later.
One problem, the superuser app doesn't work anymore, typing su in a terminal gives:
su: unknown user root
and now roguetools won't work either obviously.
Any ideas what could have caused this? Clearing superuser data didn't help.
I would try to remove the superuser apk and reinstall it from the market, but I can't remove it because I don't have root access now!
So does each kernel now have it's own module folder?
Yes every kernel has his own dir
for su problem:
Code:
mount -o remount,rw /system
echo "root::0:0:root:/:/bin/sh" > /etc/passwd
mount -o remount,ro /system
l1q1d said:
Yes every kernel has his own dir
for su problem:
Code:
mount -o remount,rw /system
echo "root::0:0:root:/:/bin/sh" > /etc/passwd
mount -o remount,ro /system
Click to expand...
Click to collapse
Unable to mount error (not root)
can we just make a passwd file and put
root::0:0:root:/:/bin/sh
will that work?
BTW, very nice update
clemsyn said:
Unable to mount error (not root)
can we just make a passwd file and put
root::0:0:root:/:/bin/sh
will that work?
Click to expand...
Click to collapse
That worked I am able to su now, it doesn't open my su app but I can logcat and rogue tools work (after letting it sleep)
clemsyn, how did you do it?
I put "root::0:0:root:/:/bin/sh" in system/etc/passwd in an androidupdate.tar, but it hasn't worked, I still get the same error
l1q1d said:
if you have problem with data connection please let me know!
Click to expand...
Click to collapse
I applied the patch to 3 different rom freshly installed, Clemsyn's latest international, Scoot's CyanogenMod RLS4c and latest fat free froyo.
Wifi is working correctly but I cannot get 3g-gprs data to work.
APN seems correctly configured.
Am I the only one?
No overclock, panel 3, tilt, atools 1.02 and 0.11 (tried both)
Thank you for update,
is there any chance, that this update can fix thiis problem?
http://forum.xda-developers.com/showthread.php?t=844695
I flashed like hell on weekend and wasnt able to load any page with any 2.6.25 build (I tested many FroYos and even one Eclair). Sad is, that other than WiFi, system was fast and stable :-/
With 2.6.32 I was able to randomly load google.com page but very slow (less than 1kb/s) and cant connect with google acc still. On the top of that system wasnt so stable as with 2.6.25.
Its really weird, that I am only one, who have problem with loading pages
Can it also be caused by my radio: 1.65.38.14 (Touch Cruise Polaris POLA100 panel=1)? Its great for WM 6.5.3, but maybe not so great for WiFi on Andorid? Or is there anyone with working WiFI and that radio?
Otherwise, can someone post a link to tested and best radio for Android (I prefer Fat Free FroYo build, if someone tested it)
mmec2 said:
clemsyn, how did you do it?
I put "root::0:0:root:/:/bin/sh" in system/etc/passwd in an androidupdate.tar, but it hasn't worked, I still get the same error
Click to expand...
Click to collapse
dont put quotations "".
Grandelama said:
I applied the patch to 3 different rom freshly installed, Clemsyn's latest international, Scoot's CyanogenMod RLS4c and latest fat free froyo.
Wifi is working correctly but I cannot get 3g-gprs data to work.
APN seems correctly configured.
Am I the only one?
No overclock, panel 3, tilt, atools 1.02 and 0.11 (tried both)
Click to expand...
Click to collapse
You are not alone I am also having issues with mobile data. I'll look into it later on. I believe it's just a PATH issue in the sysinit.rc but I could be wrong.
for data connection try this:
Code:
mount -o remount,rw /system
rm -r /system/etc/ppp
ln -s /smodem /system/etc/ppp
mount -o remount,ro /system
@spellshaper: next time use search button in polaris section!!!! Flash 1.59.46.12 radio.
l1q1d said:
Do you have di problem with atools or when you boot?
Click to expand...
Click to collapse
The problem lies when I boot, it's before the animation starts or after the 'D-PAD press' to get into the options menu for installation, etc.

[Q] NTFS USB-SD mounting problem on doomkernel ICS v5

Greetings from Rome everyone, this is my first post
I've been using doomkerner v5 for ICS for quite a while and thought it had all kinds of supports though when I started experimenting with NTFS USBs and SDs I relized that the ntfs support stated by doomlord doesn't work automatically.
I'm using:
LT18i 4.1.B.0.587 firmware
doomkernel ics v5
ICS stock 4.1.B.0.431unsigned with root
Latest busybox installed
ScriptManager installed
I have installed USB-OTG Helper which added to the /data/data/X a ntfs-3g script/exe designed for all xperia 2011 devices
My ntfs sd doesn't work on boot so I followed the guide the comands given by the otg-usb helper author
Code:
ntfs-3g -o umask=0 /dev/block/mmcblk0p1 /sdcard/empty_dir
but i get: ntfs-3g: not found
even with 'busybox' prefix, why? should i put the file in a specific folder?
when i try to mount manually, even with busybox i get: permission denied
Online i found that there are 2 solutions on of which gives me error when i type
Code:
$ su
or
# chmod 755 ntfs-3g
the second one works and the file 'opens', though I still cannot access my ntfs sd.
I tried making a script combining the 2 commands above but i still get: ntfs-3g: not found
Does the ntfs support on doomkernel work for all of you?
Could someone with the knowledge please help me write a script or exe that loads ntfs support for SDs and USBs on boot?
Any will be greately appreciated.
BTW I'm really happy to have joined you guys, looking to learn a lot from you.
Ciao
Can anyone help me solve this please?

Setcolor for trinity colors on BMS kernel

Currently running 12/31 CM11 and BMS kernel. I am trying to turn on trinity colors, but get a permission denied error when using setcolor in the terminal. I tried using chmod but again get an error stating the files are read-only. Anyone run into similar issues?
Managed to solve it, grant su permission to terminal then setcolor works.

[Q] mounting a windows shared folder to android fs

i looked at these forums and solutions for doing this and none of them worked for me so i'm posting this in case someone knows how to solve this:
I am using nexus 7 2013 with cyanogenmod 10.2.1. i tried both "cifsmanager" and "mount manager" applications to mount my shares (with the right credentials). i also used the following command:
busybox mount -t cifs -o username=[user],password=[password] //192.168.1.91/T /mnt/sdcard/users
all these produce the same error - "mount: invalid argument" when trying to connect to the shared folder.
Have you seen if smbfs rather than cifs works? ( I know smbfs is "old"). There is some relevant info here http://www.netzgewitter.com/2013/10/troubleshoot-cifs-on-android/ on the problems with cifs and Sony Xperia
peterk-1 said:
Have you seen if smbfs rather than cifs works? ( I know smbfs is "old"). There is some relevant info here http://www.netzgewitter.com/2013/10/troubleshoot-cifs-on-android/ on the problems with cifs and Sony Xperia
Click to expand...
Click to collapse
Thanks man!!!!! the "-o unc=" thing soved the issue!
liran corleone said:
Thanks man!!!!! the "-o unc=" thing soved the issue!
Click to expand...
Click to collapse
I guess i was happy too soon - the mount now does work, but i cannot access it with other users. this is how i did the mount:
mount -o unc=\\\\192.168.1.91\\d$,username=developer,password=pass -t cifs none /mnt/cifs/arcade/d
this is the "mount" command output afterwards:
none /mnt/cifs/arcade/d cifs rw,relatime,sec=ntlm,unc=\\192.168.1.91\d$,username=developer,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.91,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1 0 0
Any idea why/how to solve this?
I've had good luck using the cifs module in the ElementalX kernel along with cifsmanager. You don't need to configure anything other than your shares, and maybe set mount point prefix to /mnt/cifs
If you want to mount shares remotely through ssh port forwarding you can specify the port number that you are forwarding to using port= in options. I'm getting ready for work, so I don't have time right now to get the output showing the mount command that it generates, but I can when I get home.
spiked_mistborn said:
I've had good luck using the cifs module in the ElementalX kernel along with cifsmanager. You don't need to configure anything other than your shares, and maybe set mount point prefix to /mnt/cifs
If you want to mount shares remotely through ssh port forwarding you can specify the port number that you are forwarding to using port= in options. I'm getting ready for work, so I don't have time right now to get the output showing the mount command that it generates, but I can when I get home.
Click to expand...
Click to collapse
i cannot use this kernel since i am using cyanogenmod 10.2.1 (i need the wireless ad-hoc connection mode support) so i will need another solution for this...
Well, I checked in /system/lib/modules to see if cifs.ko was there, but it's not. I was thinking maybe extracting the cifs modules from the ElementalX kernel might be possible, but it must be part of the kernel source and not a separate file. Seems like more people would find cifs support useful, so maybe somebody with development skills will make a kernel module file that's compatible with the N7 2013.
Here's what shows up when I run mount:
//192.168.0.100/Music /mnt/cifs/Music cifs rw,relatime,sec=ntlm,unc=\\192.168.0.100\Music,username=username,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.100,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=16384,wsize=131007,actimeo=1 0 0
Nevermind.
mdamaged said:
Nevermind.
Click to expand...
Click to collapse
cifs seems to be supported well by cyanogenmod - the mount process is working fine, but the mounted folders are only visible with root priviledges - not to device's applications like poweramp, pdf reader etc.
liran corleone said:
cifs seems to be supported well by cyanogenmod - the mount process is working fine, but the mounted folders are only visible with root priviledges - not to device's applications like poweramp, pdf reader etc.
Click to expand...
Click to collapse
It's private namespaces that's the issue.

CIFS or NFS support?

I would like to connect my OUYA to either NFS or CIFS shares. It doesnt seem to handle this nativiely. I have tried busybox and it is no avail for nfs shares (preferred) and cifs manager i keep getting an invalid device.
Any howtos on how to do this? This would make my rom life a heck of a lot better
phin586 said:
I would like to connect my OUYA to either NFS or CIFS shares. It doesnt seem to handle this nativiely. I have tried busybox and it is no avail for nfs shares (preferred) and cifs manager i keep getting an invalid device.
Any howtos on how to do this? This would make my rom life a heck of a lot better
Click to expand...
Click to collapse
Hi friend. My english is not too good but i'll try to explain what i did.
At default ouya's kernel i was not able to use nfs version 3 or 4, only nfs version 2. the cifs didn't work
i compiled the ouya's kernel and enable the cifs and nfs on it because i use ouya as a media center running XBMC.
so i build a bzimage kernel and flash it to ouya using flashboot. i needed to unzip the newest ouya firmware and pick the ramdisk file to flash too.
if you only flash the bzimage you ouya will not work. so i flash the bzimage and the ramdisk files with the same command.
after flash i reboot my ouya and it works like a charm!
i was able to mount my nfs shares using nfs v3. not using xmbc but using the adb with shell...

Categories

Resources