Android image for 6 Realtek WLAN-Sticks and switch the default Audio output

107 16032
liab  
@hoangdinh86
I format a 8 GB CnMemory Spaceloop with Partition-Editor in ntfs.
After inserting the stick, android mount it perfect as ntfs (fuseblk):

/dev/block/vold/8:17 /mnt/usbhost2 fuseblk rw,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
root@android:/mnt/usbhost2 #

ls shows my testfile:
root@android:/mnt/usbhost2 # ls
Textdatei
root@android:/mnt/usbhost2 #

Please try another stick.

Yes. Usb stick with Fat format is showed in File explorer Android but Ntfs format is not,i tried 3 times with three different sticks. Thank

liab  
Edited by liab at Wed Mar 18, 2015 18:15

@hoangdinh86

I tested a NTFS Stick with File Manager, ES File Explorer, FileManager and SambaDroid, here all no problem. You found the stick under /mnt/usbhostx and usbhostx. With FileManager you found it in Usb.

Show me the log from the mount command.



Edited by hoangdinh86 at Thu Mar 19, 2015 07:32
root@android:/ # mount
rootfs / rootfs ro,relatime 0 0
devtmpfs /cub/block devtmpfs rw,relatime,size=404936k,nr_inodes=101234,mode=755 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0@
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/system /system ext4 ro,relatime,nobarrier,data=ordered 0 0
/dev/block/private /mnt/private vfat rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=continue 0 0
/dev/block/data /data ext4 rw,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc,data=ordered 0 0
/dev/block/cache /cache ext4 rw,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc,data=ordered 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=continue 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=continue 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
root@android:/ #

I tried again but not success
dmesg log
20150319_203521.jpg

liab  
@hoangdinh86
Your stick is not mounted. If you insert the stick, the console shows this?

root@android:/ # init: untracked pid 3557 exited
sd 1:0:0:0: [sdb] No Caching mode page present
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] No Caching mode page present
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] No Caching mode page present
sd 1:0:0:0: [sdb] Assuming drive cache: write through

My dmesg shows this:

<6>usb 4-1: new high-speed USB device number 2 using sw-ehci
<6>scsi1 : usb-storage 4-1:1.0
<5>scsi 1:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 2
<6>init: waitpid returned pid 3557, status = 00000000
<3>init: untracked pid 3557 exited
<5>sd 1:0:0:0: [sdb] 15730688 512-byte logical blocks: (8.05 GB/7.50 GiB)
<5>sd 1:0:0:0: [sdb] Write Protect is off
<7>sd 1:0:0:0: [sdb] Mode Sense: 03 00 00 00
<3>sd 1:0:0:0: [sdb] No Caching mode page present
<3>sd 1:0:0:0: [sdb] Assuming drive cache: write through
<3>sd 1:0:0:0: [sdb] No Caching mode page present
<3>sd 1:0:0:0: [sdb] Assuming drive cache: write through
<6> sdb: sdb1
<3>sd 1:0:0:0: [sdb] No Caching mode page present
<3>sd 1:0:0:0: [sdb] Assuming drive cache: write through
<5>sd 1:0:0:0: [sdb] Attached SCSI removable disk
<7>cpu up:1
<7>CPU1: Booted secondary processor
<5>CPU1: shutdown

In your dmesg is a "failed". Try a short usb extension cable, the bpi usb connectors sometimes make problems.

@liab
Finally,It works but dont know why maybe I change usb port or power adapter. Thank you so much.

liab  
hoangdinh86 replied at Thu Mar 19, 2015 17:18
@liab
Finally,It works but dont know why maybe I change usb port or power adapter. Thank you so much ...

Fine, I'm happy.

@liab: thanks for your image 170315, it's great.. No need to do a kernel compile myself, droidmote server is running ok now..

liab replied at Tue Mar 17, 2015 19:42
Sorry, only these six chips:

root@android:/ # wlan

Hello liab,

the drivers for the RTL8188CUS are available on realtek website with wpa files, it would be a great boost to the forum if you could compile a version of android to this wireless chipset as i have noticed everyone is asking for. Thank you for you great work

liab  
Anasrocks replied at Mon Mar 30, 2015 12:08
Hello liab,

the drivers for the RTL8188CUS are available on realtek website with wpa files, it wo ...

You tried it with the driver 8192cu? I saw on the Realtek HP, the 8188cus and 8192cu is the same driver. May be some things in android must adjust.

You have to log in before you can reply Login | Sign Up

Points Rules