Android4.2 after resolving Mount CIFS file system does not display

Source: Internet
Author: User

Introduced

The file displayed in the ES manager of the mobile phone is the shared folder on my Computer Win7. As long as the phone and computer in the same LAN can achieve the effect of the diagram.
Not only can read the computer's files, all the write operation will also be saved back to the computer's files. Of course, with the CIFS module, the Samba file system is also supported
Interested please own Baidu Win7 share and CIFS module ~

Requirements
  仅cm11和cm11s!且手机已root
How to use
    1. Download Ak_kernel_modify.zip (8.26 MB, download number: 8)
      This kernel was compiled using the latest Akkernel code up to last night (20150201). It is possible that the maintainer is debugging what features: But I didn't find anything unusual now. Use [One plus Universal Toolkit] to brush the boot kernel and swipe in

    2. Mount
      Two methods:
      A recommended
      Example
      Under the ADB shell or other terminal:

<code class= "Language-shell hljs lasso has-numbering" style= "display:block; padding:0px; Color:inherit; Box-sizing:border-box; font-family: ' Source Code Pro ', monospace;font-size:undefined; White-space:pre; border-top-left-radius:0px; border-top-right-radius:0px; border-bottom-right-radius:0px; border-bottom-left-radius:0px; Word-wrap:normal; background:transparent; " >su insmod/system/lib/modules/cifs<span class= "hljs-built_in" style= "Color:rgb (102, 0, 102); Box-sizing:border-box; " >.</span>ko/system/xbin/mount <span class= "Hljs-attribute" style= "Box-sizing:border-box;" >-t</span> cifs <span class= "Hljs-attribute" style= "Box-sizing:border-box;" >-o</span> username<span class= "Hljs-subst" style= "Color:rgb (0, 0, 0); Box-sizing:border-box; " >=</span>administrator,password<span class= "Hljs-subst" style= "Color:rgb (0, 0, 0); Box-sizing:border-box; " >=</span><span class= "hljs-string" style= "Color:rgb (0, 136,0); Box-sizing:border-box; " > "#password" </span> <span class= "Hljs-attribute" style= "Box-sizing:border-box;" >-o</span> iocharset<span class= "Hljs-subst" style= "Color:rgb (0, 0, 0); Box-sizing:border-box; " >=</span>utf8 <span class= "hljs-comment" style= "Color:rgb (136, 0, 0); Box-sizing:border-box; " >//10.0.136.102/win_share/mnt/cifs/</span></code><ul class= "pre-numbering" style= "box-sizing: Border-box; Position:absolute; width:50px; top:0px; left:0px; margin:0px; padding:6px 0px 40px; border-right-width:1px; Border-right-style:solid; Border-right-color:rgb (221, 221, 221); List-style:none; Text-align:right; "><li style=" Box-sizing:border-box; padding:0px 5px; " >1</li><li style= "Box-sizing:border-box; padding:0px 5px; " >2</li><li style= "Box-sizing:border-box; padding:0px 5px; " >3</li></ul>
A few notes
    • Be sure to use/system/xbin/mount not available please install BusyBox
    • Mount point/mnt/cifs/I created it. can be somewhere else but be careful not to be a directory below/mnt/storage/! or. Use Cifsmanager.
Principle

The CIFS module should not be unfamiliar to play with many mobile phones. But after android4.2 on some phones, it hurts a lot. The specific behavior is that you've mounted the share on the ADB shell, but you can't find it on the file Manager!?
At this time the righteous xda The Great God came out. Link
It seems that after 4.2 Android introduced a muti-user wit, but xda the great God that this wit can be used only in the/mnt/storage/directory, and then added a piece of code to the kernel.

I also follow the instructions of the great God to get his patch to the AK kernel I'm using, and change the init.rc.

Questions

Speaking of a plus kernel, I compiled this kernel, with Cyanogenmod_bacon_defconfig this configuration. It can be used after burning, but sometimes it crashes. The level is not enough to debug the kernel.
(: З"∠) Seek the master to teach

Update

Kernel patch submission was successful. This feature can be seen in the next version of the AK kernel.

Android4.2 after resolving Mount CIFS file system does not display

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.