Skip to content

Problems parsing the package. #1

Open

Description

@Marietto2008

Hello.

I would like to install your apk on Phoenix OS Darkmatter (based on Android 7.1.1) , but I get an error message and I cant install the apk file :

Screenshot_2025-01-06_19-14-24

I hope that you can fix the error. I really really need that it works. thanks.

Activity

  1. BHznJNs commented on Jan 7, 2025

    @BHznJNs
    Collaborator

    Um, this Android package is designed for Android 8.0 and above. Maybe I'll try to make it work on android 7 in the future

  2. Marietto2008 commented on Jan 7, 2025

    @Marietto2008
    Author

    Please I need this package fixed now. I can pay some money. I'm working on the project from 1 year. Now I found the right tool and I want to finish the work.

  3. BHznJNs commented on Jan 7, 2025

    @BHznJNs
    Collaborator

    I would love to help you, but recently i have no enough time to work on it.

  4. Marietto2008 commented on Jan 7, 2025

    @Marietto2008
    Author

    Ok now you can't. But in a time frame of some months ? can you ?

  5. BHznJNs commented on Jan 8, 2025

    @BHznJNs
    Collaborator

    Maybe about 20 days later, I'll start to work on it. But dont have high expectations since i am not very sure if I can make it work on android 7.

  6. Marietto2008 commented on Jan 8, 2025

    @Marietto2008
    Author

    Which kind of problems there could be ? Please lets talk privately.

  7. BHznJNs commented on Jan 9, 2025

    @BHznJNs
    Collaborator

    One thing you may misunderstood, this project is intended to provide a package for manually install, but this package is not necessary for the InputShare project. You can run it without this android package.

    Just the edge toggling feature do not work.

  8. Marietto2008 commented on Jan 9, 2025

    @Marietto2008
    Author

    The closest tool that I found until now that may solve my problem is called "DeskDock Server". It is composed by two parts : a java server that can be installed on Linux and the client,an app for Android,that should be installed on Android. It works like this : I move the mouse at the end of the border of the screen in Linux and the pointer of the mouse will enter into the Android Desktop and in this way I can move the mouse there and click where I want. This is what I need. I need this because I need to virtualize Phoenix OS / Darkmatter with bhyve under FreeBSD,but unfortunately I can't move the mouse pointer inside Android. The reason is that bhyve does not support some USB protocols yet. Instead,the mouse pointer works if I virtualize Darkmatter in Linux using qemu and kvm. The real problem is that DeskDock Server crashes when the connection is established. I'm very unlucky because that's the right tool for me,but it crashes. And the developer does not reply to my emails. I would like to understand how Input Share can work if you say that there is no need to install the apk client on Android. How can Input share let move the mouse in Android ? How can the server communicate with the client ? To be honest,I see that your server works only on Windows. To be true,I need to run it in Linux,because I don't use Windows. But If it can solve my problem I will try to emulate it with wine in Linux.

  9. BHznJNs commented on Jan 9, 2025

    @BHznJNs
    Collaborator

    Alright, the InputShare works with the Android ADB. So that it just communicates with the Android device via ADB connection.

    Since the wireless ADB debugging is only available for android 10 and above, maybe you can try the wired way which i am not sure is available for your virtual machine.

    I move the mouse at the end of the border of the screen in Linux and the pointer of the mouse will enter into the Android Desktop

    This is what i called the "Edge Toggling" feature. This feature requires you to install the android packge (it will be automatically installed by the PC client so you dont need to manually install it). So you can temporary use the InputShare without the Edge Toggling and it may work.

  10. Marietto2008 commented on Jan 9, 2025

    @Marietto2008
    Author

    Since the wireless ADB debugging is only available for android 10 and above, maybe you can try the wired way which i am not sure is available for your virtual machine.

    In Phoenix OS / Darkmatter I can use the ADB wi-fi connection,even on FreeBSD.

    What about the Linux version of InputSHare ? I don't have any intention to use Windows. So I hope that it will work with wine in Linux. Is hard for you to make a version that works on Linux ?

  11. BHznJNs commented on Jan 9, 2025

    @BHznJNs
    Collaborator

    Although this is in my plan, I has no experience about making a Linux application, it may be not a easy thing for me to make InputShare work on Linux.

  12. Marietto2008 commented on Jan 9, 2025

    @Marietto2008
    Author

    I'm not a programmer,but looking inside your source code I see that you have used python. Python is very friendly with Linux. More than Windows. I suspect that you can make the Linux version very easily.

  13. Marietto2008 commented on Jan 10, 2025

    @Marietto2008
    Author

    Hello.

    Please,can you give a look at the problem that I've found when I tried to run the InputShare executable on Windows after having enabled ADB wi-fi on Android ? I've started a bug ticket here :

    InputShare/InputShare#23

    It is not able to connect. I don't understand why. Windows is connected using these parameters :

    bhyve-win -S -c sockets=2,cores=1,threads=1 -m 4G -w -H -A \
    -s 0,hostbridge \
    -s 1,ahci-hd,/dev/nda0,bootindex=1 \
    -s 10,virtio-net,tap10 \
    -s 11,virtio-9p,sharename=/ \
    -s 12,hda,play=/dev/dsp,rec=/dev/dsp \
    -s 29,fbuf,tcp=0.0.0.0:5910,w=1600,h=950 \
    -s 30,xhci,tablet \
    -s 31,lpc \
    -l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
    vm0:10 < /dev/null & sleep 2 && vncviewer 0:10
    

    Windows is connected to Internet using a brigded / tun-tap device,while,Android is using using these parameters :

    /usr/sbin/./bhyve-win -S -c sockets=2,cores=1,threads=1 -m 4G -w -H -A \
    -s 0,hostbridge \
    -s 1,ahci-hd,/mnt/zroot-133/bhyve/img/Android/DarkMatter-bhyve.img,bootindex=1 \
    -s 2,ahci-hd,/mnt/zroot2/zroot2/bhyve/img/Android/DarkMatter-qemu.img \
    -s 8:0,passthru,2/0/0 \
    -s 8:1,passthru,2/0/1 \
    -s 8:2,passthru,2/0/2 \
    -s 8:3,passthru,2/0/3 \
    -s 9:0,passthru,5/0/0 \
    -s 11,hda,play=/dev/dsp,rec=/dev/dsp \
    -s 13,virtio-net,tap17 \
    -s 29,fbuf,tcp=0.0.0.0:5917,w=1600,h=950,wait \
    -s 30,xhci,tablet \
    -s 31,lpc \
    -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE.fd,/usr/local/share/uefi-firmware/DarkMatter_VARS.fd \
    vm0:17 < /dev/null & sleep 5 && vncviewer 0:17 && echo vncviewer 0:17 &
    

    In Android I have passed these devices :

    05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
    
    02:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1)
    02:00.1 Audio device: NVIDIA Corporation TU102 High Definition Audio Controller (rev a1)
    02:00.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Host Controller (rev a1)
    02:00.3 Serial bus controller: NVIDIA Corporation TU102 USB Type-C UCSI Controller (rev a1)
    
  14. BHznJNs commented on Mar 21, 2025

    @BHznJNs
    Collaborator

    The latest version of Android client should work on Android 7.0 and above, please have a try.

  15. Marietto2008 commented on Mar 23, 2025

    @Marietto2008
    Author

    Thanks. InputShare client for Android requires InputShare Server for Windows ? I don't run Windows. So I suppose that I need InputShare server for Linux,but it hasn't been realized,yet.

  16. BHznJNs commented on Mar 23, 2025

    @BHznJNs
    Collaborator

    You can just install the Android client independently, just for a compatibility test. Since I have no Android 7 device.

    https://github.com/BHznJNs/InputShare-android/releases/tag/1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions