Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

K-R42 Hybrid Firmware (HFW) 1.1.0 by lewy20041

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by michael2t View Post
    Hello lewy20041,

    Can You help me I want to have the system mount 3 shares on start up and have them stay active ...

    These are just cifs nas shares ...

    my devices are: \\mikes-pc\music (windows xp box)
    \\nas\media
    \\nas\backups

    They all need to be read/write

    Can You help me please ...

    What do I need to do and can I use the custom.ko files to do it ??

    thanks in advance

    Michael T.
    custom*.ko files are kernel modules, you don't need in your case. It seems cifs is compiled in kernel.

    try following steps:

    1) make connection with ssh to your k-r42 (need to install droidssh app)
    ssh <k-r42-ip> (password is admin by default)
    2) mkdir -p /mnt/sdcard/music /mnt/sdcard/nas/media /mnt/sdcard/nas/backups
    3) mount -t cifs -o username=<your name>,password=<your password> \\mikes-pc\music /mnt/sdcard/music
    4) mount -t cifs -o username=<your name>,password=<your password> \\nas\media /mnt/sdcard/nas/media
    5) mount -t cifs -o username=<your name>,password=<your password> \\nas\backups /mnt/sdcard/nas/backups

    i hope it will work for you.
    http://www.freak-tab.de/wasser/btn_donate.gif

    You can make a donation if you find my work useful

    Comment


      Re: K-R42 Hybrid Firmware (HFW) 1.1.0 by lewy20041

      Originally posted by Gigatron View Post
      firstly, i want to thank you for your tuning efforts at the k-r42 device.
      the device has a heatsink with PCB V2.1 (greater pcb ver. have also i assume)

      Thanks, I was afraid that the box come without dissipation, and then oc could be dangerous. When I got pc access we will make this device fly.

      leolas
      REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
      My devices:
      Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
      MK902 & MK902II(Sponsored by RKM)
      Beelink M8B & Beelink R89 (Sponsored by Beelink)
      Tronsmart VEGA S89H (Sponsored by
      Gearbest.com)
      MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
      Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
      Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

      Comment


        Originally posted by leolas View Post
        So if someone miss some kernel funtionality, only tell me and I will try to enable it like a module or inside the kernel if it can't be compiled like a module.
        usb BT-Dongle support would be nice.
        i have a LogiLink dongle(Conwise CW6626 chip)
        for example the outputs from my ubuntu laptop:

        lsusb:
        Code:
        Bus 002 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
        dmesg:
        Code:
        [  158.856244] usb 2-1: new full speed USB device using uhci_hcd and address 2
        [  159.003297] usb 2-1: device descriptor read/all, error -71
        [  159.116213] usb 2-1: new full speed USB device using uhci_hcd and address 3
        [  159.272151] usb 2-1: configuration #1 chosen from 1 choice
        [  159.505596] Bluetooth: Core ver 2.15
        [  159.505791] NET: Registered protocol family 31
        [  159.505798] Bluetooth: HCI device and connection manager initialized
        [  159.505806] Bluetooth: HCI socket layer initialized
        [  159.560950] Bluetooth: Generic Bluetooth USB driver ver 0.6
        [  159.576654] usbcore: registered new interface driver btusb
        [  159.738715] Bluetooth: L2CAP ver 2.14
        [  159.738724] Bluetooth: L2CAP socket layer initialized
        [  159.791698] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
        [  159.791716] Bluetooth: BNEP filters: protocol multicast
        [  159.858821] Bridge firewalling registered
        [  159.892313] Bluetooth: SCO (Voice Link) ver 0.6
        [  159.892325] Bluetooth: SCO socket layer initialized
        [  160.085722] Bluetooth: RFCOMM TTY layer initialized
        [  160.085750] Bluetooth: RFCOMM socket layer initialized
        [  160.085764] Bluetooth: RFCOMM ver 1.11

        Comment


          Re: K-R42 Hybrid Firmware (HFW) 1.1.0 by lewy20041

          Originally posted by Gigatron View Post
          usb BT-Dongle support would be nice.
          i have a LogiLink dongle(Conwise CW6626 chip)
          for example the outputs from my ubuntu laptop:

          lsusb:
          Code:
          Bus 002 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
          dmesg:
          Code:
          [  158.856244] usb 2-1: new full speed USB device using uhci_hcd and address 2
          [  159.003297] usb 2-1: device descriptor read/all, error -71
          [  159.116213] usb 2-1: new full speed USB device using uhci_hcd and address 3
          [  159.272151] usb 2-1: configuration #1 chosen from 1 choice
          [  159.505596] Bluetooth: Core ver 2.15
          [  159.505791] NET: Registered protocol family 31
          [  159.505798] Bluetooth: HCI device and connection manager initialized
          [  159.505806] Bluetooth: HCI socket layer initialized
          [  159.560950] Bluetooth: Generic Bluetooth USB driver ver 0.6
          [  159.576654] usbcore: registered new interface driver btusb
          [  159.738715] Bluetooth: L2CAP ver 2.14
          [  159.738724] Bluetooth: L2CAP socket layer initialized
          [  159.791698] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
          [  159.791716] Bluetooth: BNEP filters: protocol multicast
          [  159.858821] Bridge firewalling registered
          [  159.892313] Bluetooth: SCO (Voice Link) ver 0.6
          [  159.892325] Bluetooth: SCO socket layer initialized
          [  160.085722] Bluetooth: RFCOMM TTY layer initialized
          [  160.085750] Bluetooth: RFCOMM socket layer initialized
          [  160.085764] Bluetooth: RFCOMM ver 1.11
          In Bt there is involved more factors than modules, lewy is working on it, but there is a lot of stuff involved to make Bt work. And remember that we only have the kernel source. Not the full sdk.

          leolas
          REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
          My devices:
          Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
          MK902 & MK902II(Sponsored by RKM)
          Beelink M8B & Beelink R89 (Sponsored by Beelink)
          Tronsmart VEGA S89H (Sponsored by
          Gearbest.com)
          MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
          Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
          Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

          Comment


            Originally posted by AlexSm View Post
            [ATTACH=CONFIG]2813[/ATTACH]
            maybe geekbuying can sell us for small money this little pcb from the T-R42
            some tv-sticks use this extra pcb also, so buying a bricked stick from **** is also an option.
            soldering 6 contacts should be no problem.

            Comment


              Originally posted by wasser View Post
              custom*.ko files are kernel modules, you don't need in your case. It seems cifs is compiled in kernel.

              try following steps:

              1) make connection with ssh to your k-r42 (need to install droidssh app)
              ssh <k-r42-ip> (password is admin by default)
              2) mkdir -p /mnt/sdcard/music /mnt/sdcard/nas/media /mnt/sdcard/nas/backups
              3) mount -t cifs -o username=<your name>,password=<your password> \\mikes-pc\music /mnt/sdcard/music
              4) mount -t cifs -o username=<your name>,password=<your password> \\nas\media /mnt/sdcard/nas/media
              5) mount -t cifs -o username=<your name>,password=<your password> \\nas\backups /mnt/sdcard/nas/backups

              i hope it will work for you.
              there is esiest way.
              but you need to use 1 module
              its not in the package
              its only need if you have autorization on your nas etc
              and its caled md4.ko
              i will ask leo to compile it wen he find some free time.

              you can mount your share at startup
              by putting this line into /etc/install-recovery.sh
              Code:
              mkdir /mnt/Volume_1
              mkdir /mnt/Volume_2
              busybox sleep 80
              busybox mount -t cifs //192.168.1.102/volume_1 /mnt/Volume_1 -o user=yourusername,pass=password
              busybox mount -t cifs //192.168.1.102/volume_2 /mnt/Volume_2 -o user=yourusername,pass=password
              remember about permision after changes it should be "rwx --- ---"
              Everything is possible if we work together!
              ApkFreak

              Comment


                Auto Mount on Start up

                Thank you to lewy20041 and wasser,

                Can I use the Shares Names instead of the IP address as the IP address Change as Items get restarted ?

                Please Confirm Lewy20041 that the file '/etc/install-recovery.sh' Should Have its permission's set
                "rwx --- ---" after editing.

                Also I need to Have Read/write permissions on the Shares from The Android TV box. The shares are Read/write now ...I was reading and it said I needed to use the -w option when mounting to insure
                read/write ? this is correct ?

                thanks again both of you ...

                Is it better to use busybox or just straight Mount ?

                Lewy20041 can You Please PM me when the update I need is ready, thanks ...

                Michael T.
                3.0.x Lollipop firmware RK3288 By Wasser/ My Standard Remote IR
                CVSB-K200-Wireless Mini QWERTY Keyboard / Motion Mouse for Android RF
                Rii Mini i25 Qwerty Keyboard/Motion Mouse For Android RF
                Media Flow Suite ... 24 TB ReadyNas Pro wired 1 GB Ethernet

                Comment


                  ADB Connect to PC

                  Hello lewy20041,

                  Can You make it so that When I check the Check box connect to pc(adb) it stays checked after
                  a reboot ... It uncheck on reboot ... I need it to be on even after a reboot , until I turn it off ...

                  thanks

                  Michael T.
                  3.0.x Lollipop firmware RK3288 By Wasser/ My Standard Remote IR
                  CVSB-K200-Wireless Mini QWERTY Keyboard / Motion Mouse for Android RF
                  Rii Mini i25 Qwerty Keyboard/Motion Mouse For Android RF
                  Media Flow Suite ... 24 TB ReadyNas Pro wired 1 GB Ethernet

                  Comment


                    ADB NOT working all the time

                    Hello Lewy20041,

                    I have to Play with the Connect to PC on and off and USB debugging on and OFF
                    and restart player to get the adb working ... Does not always work ...

                    Sometimes it fine and other times it just will not started ...

                    Anything I can DO to Make sure it started in the /etc/install-recovery.sh
                    file ... Can I start it in there and if so what is the command ...?

                    thanks

                    Michael T.
                    3.0.x Lollipop firmware RK3288 By Wasser/ My Standard Remote IR
                    CVSB-K200-Wireless Mini QWERTY Keyboard / Motion Mouse for Android RF
                    Rii Mini i25 Qwerty Keyboard/Motion Mouse For Android RF
                    Media Flow Suite ... 24 TB ReadyNas Pro wired 1 GB Ethernet

                    Comment


                      a few issues...

                      Hello guys,

                      I am in awe and great appreciation for the work you are doing on our device... thanks!

                      I know you are busy with that, but there are a few big issues that have come up which I wanted to report in case they can also be addressed somehow in a new rom.

                      1/ cannot shut device down, shut down results in the screen going off, but it comes on immediately if you "power on".

                      2/ I bought a very good (and expensive Music Streamer II+) USB DAC audio device, and it causes the CS918 to freeze then shut off without powering down. I tried using a powered USB hub to give the device power from that (as per the manufacturer's suggestion) but it still crashes

                      3/ spotify has intermittent gaps in playback, both wifi and ethernet, despite my rock solid BT Infinity Fibre Brodadband and the fact that removing wifi/ethernet from the device, spotify runs for about 3 minutes with no web connection, which means the little gaps cannot be due to gaps in the web connection. This also does not happen on my phone or tablet or PC playing spotify.

                      Thanks for the inspiring work,
                      Mark
                      _________________________________________
                      1/ Tronsmart Draco AW80 Lollipop 5.0 Beta Firmware
                      2/ Tronsmart s89 Box, Finless 1.9
                      3/ CS918 box TN-BX09_v2.1 using v1.0.4 Wasser KitKat rom
                      Out: USB audio, HDMI
                      In: Logitech K400 keyboards

                      Comment


                        Auto Mount

                        Hello Lewy2004,

                        The System Will NOT let me create a folder in the /mnt directory ...

                        I even tested it in terminal su mode ...

                        I want to be able to Access the shares from a Normal App with out root access

                        Any Ideas

                        Michael T.
                        3.0.x Lollipop firmware RK3288 By Wasser/ My Standard Remote IR
                        CVSB-K200-Wireless Mini QWERTY Keyboard / Motion Mouse for Android RF
                        Rii Mini i25 Qwerty Keyboard/Motion Mouse For Android RF
                        Media Flow Suite ... 24 TB ReadyNas Pro wired 1 GB Ethernet

                        Comment


                          type in terminal:
                          su
                          mkdir /mnt/nfs

                          if you cant do it go to play store and download cifs manager.
                          there is no simpler way:"
                          Everything is possible if we work together!
                          ApkFreak

                          Comment


                            Auto Mount

                            Hello lewy20041,

                            I can Get the Mkidr function to work fine and the script to work
                            with the /data folder but NOT the /mnt folder

                            Why ?

                            Michael T.
                            3.0.x Lollipop firmware RK3288 By Wasser/ My Standard Remote IR
                            CVSB-K200-Wireless Mini QWERTY Keyboard / Motion Mouse for Android RF
                            Rii Mini i25 Qwerty Keyboard/Motion Mouse For Android RF
                            Media Flow Suite ... 24 TB ReadyNas Pro wired 1 GB Ethernet

                            Comment


                              Re: K-R42 Hybrid Firmware (HFW) 1.1.0 by lewy20041

                              Originally posted by michael2t View Post
                              Hello lewy20041,

                              I can Get the Mkidr function to work fine and the script to work
                              with the /data folder but NOT the /mnt folder

                              Why ?

                              Michael T.
                              / (root of the device) is mounted usually on ro (read only) /data/ is rw (read write) mode. /mnt/nfs must be created by boot.img in his initramfs or in init.rc, I am not completely sure of this, maybe lewy knows better the answer.

                              leolas
                              REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
                              My devices:
                              Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
                              MK902 & MK902II(Sponsored by RKM)
                              Beelink M8B & Beelink R89 (Sponsored by Beelink)
                              Tronsmart VEGA S89H (Sponsored by
                              Gearbest.com)
                              MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
                              Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
                              Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

                              Comment


                                auto mount

                                Hello leolas,

                                My app does not seem to be able to see the /data folders ??

                                I can see them fine from the terminal Mode ... and the shares are mounted fine ...

                                My app does not have root access ...

                                Any ideas ?

                                Thanks In advance

                                Michael T.
                                3.0.x Lollipop firmware RK3288 By Wasser/ My Standard Remote IR
                                CVSB-K200-Wireless Mini QWERTY Keyboard / Motion Mouse for Android RF
                                Rii Mini i25 Qwerty Keyboard/Motion Mouse For Android RF
                                Media Flow Suite ... 24 TB ReadyNas Pro wired 1 GB Ethernet

                                Comment

                                Working...
                                X