Re: [qubes-users] Re: Android-x86 on Qubes

2017-04-11 Thread Eva Star

On 04/11/2017 12:17 PM, Desobediente wrote:

I've tried every possibility to install or boot from live iso both cyanogen mod 
x86 and android-x86 and I've never had any luck.

The HVM just sits there forever with "ANDROID" spinning. It goes on for days.


Android 4.4 x86 work and install without any problems on HVM.
Where do you have problem?


Only 3 problems related to Android that I do not know how to solve:
1) How to emulate Fake Wifi connection (Android must think that he is 
connected to wifi network.


2) One installer messenger does not work. Say that "not connected". I 
think it request income/outcome open UDP port. Is it possible to somehow 
open them on VPN connection before android?


3) How to easy copy files from HVM without Qubes Copy I 
tried to attach Usb stick to Android, but it does not see it (or does 
not mount it automatically and I do not know how to mount )



--
Regards

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/639d27c7-74d4-28ad-e2f1-386236acfa70%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Android-x86 on Qubes

2017-04-11 Thread Eva Star

On 04/11/2017 12:17 PM, Desobediente wrote:

I've tried every possibility to install or boot from live iso both cyanogen mod 
x86 and android-x86 and I've never had any luck.

The HVM just sits there forever with "ANDROID" spinning. It goes on for days.


Android 4.4 x86 work and install without any problems on HVM.
Where do you have problem?


Only 3 problems related to Android that I do not know how to solve:
1) How to emulate Fake Wifi connection (Android must think that he is 
connected to wifi network.


2) One installer messenger does not work. Say that "not connected". I 
think it request income/outcome open UDP port. Is it possible to somehow 
open them on VPN connection before android?


3) How to easy copy files from HVM without Qubes Copy I 
tried to attach Usb stick to Android, but it does not see it (or does 
not mount it automatically and I do not know how to mount usb stick)




--
Regards

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c309d056-9ed8-14c6-9c6a-d42fc49a5953%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Android-x86 on Qubes

2016-11-19 Thread entr0py
Torsten Grote:
> On 11/11/2016 06:01 PM, entr0py wrote:
>> Thanks! With that, some progress... Deleting `> bus='xen'/>` from the config file results in usbtablet being
>> replaced with ps/2 mouse device.
> 
> I finally got around to try that and it works indeed!
> 
>> Now, the pointer tracks mouse movements automatically instead of
>> requiring manual dragging. However, the mouse acceleration doesn't
>> match and the two pointers become de-synced.
> 
> Yes that has other usability issues than the drag pointer. I wonder if
> it is possible to change the mouse speed somehow. Maybe just temporarily
> in dom0?
> 
>> The mouse problem is not a Xen/Qubes issue. Android-x86-4.4-r5 
>> (KitKat) works perfectly on Qubes. Input handling has changed somehow
>> in Lollipop/Marshamallow. I would be perfectly content to use KitKat
>> but (of course), that version doesn't emulate OpenGL (under Qubes)
>> which breaks many Android apps
> 
> For me the problem with Android 4.4 is that it doesn't support ADB over
> IP, so there seems to be no way to connect with the debug bridge to it.
> 
>> @Torsten: Did you see my last comment on the issue tracker? Other 
>> than that, make sure partition is bootable and use a compatible vga 
>> mode.
> 
> Yes, I saw that, but I still can't boot the installed version. If I boot
> into the system right after installation it works, but if I shut it down
> and try to boot later, it just maxes out the load on one CPU and hangs
> at "Booting from Hard Disk..."
> 
> The partition is bootable and I installed GRUB and tried EFI GRUB 2 as
> well. It doesn't even seem to reach GRUB, so maybe an incompatible vga
> mode is not the problem. Do you use GPT? Which filesystem?
> 
> When trying around I could even once get GRUB2 to start only to then
> fail with an error 17.
> 
> I have the same issue with Android 4 and 6. Do you remove the "CD" from
> the VM config after the installation or do you always boot from the ISO?
> 
> Kind Regards,
> Torsten
> 

GPT: no
GRUB: yes
EFI GRUB2: no
Filesystem: whatever is the latest, EXT3/4
System: read/write (most likely irrelevant)

I always `Reboot` after install. When the GRUB loader appears, I kill the VM 
and clone if necessary at that point. I vaguely recall having had problems by 
Launching right after install.

It appears the video mode incompatibilities have been resolved since I last 
played with this. You should be able to proceed straight to the desktop. 
RemixOS is much more usable on the desktop and also has an option to disable 
screen timeout in Marshmallow. Damn mouse though...

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/3c88ddd2-cd09-ea1c-d9a5-0a6f1d7e3d4e%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Android-x86 on Qubes

2016-11-19 Thread Torsten Grote
On 11/11/2016 06:01 PM, entr0py wrote:
> Thanks! With that, some progress... Deleting ` bus='xen'/>` from the config file results in usbtablet being
> replaced with ps/2 mouse device.

I finally got around to try that and it works indeed!

> Now, the pointer tracks mouse movements automatically instead of
> requiring manual dragging. However, the mouse acceleration doesn't
> match and the two pointers become de-synced.

Yes that has other usability issues than the drag pointer. I wonder if
it is possible to change the mouse speed somehow. Maybe just temporarily
in dom0?

> The mouse problem is not a Xen/Qubes issue. Android-x86-4.4-r5 
> (KitKat) works perfectly on Qubes. Input handling has changed somehow
> in Lollipop/Marshamallow. I would be perfectly content to use KitKat
> but (of course), that version doesn't emulate OpenGL (under Qubes)
> which breaks many Android apps

For me the problem with Android 4.4 is that it doesn't support ADB over
IP, so there seems to be no way to connect with the debug bridge to it.

> @Torsten: Did you see my last comment on the issue tracker? Other 
> than that, make sure partition is bootable and use a compatible vga 
> mode.

Yes, I saw that, but I still can't boot the installed version. If I boot
into the system right after installation it works, but if I shut it down
and try to boot later, it just maxes out the load on one CPU and hangs
at "Booting from Hard Disk..."

The partition is bootable and I installed GRUB and tried EFI GRUB 2 as
well. It doesn't even seem to reach GRUB, so maybe an incompatible vga
mode is not the problem. Do you use GPT? Which filesystem?

When trying around I could even once get GRUB2 to start only to then
fail with an error 17.

I have the same issue with Android 4 and 6. Do you remove the "CD" from
the VM config after the installation or do you always boot from the ISO?

Kind Regards,
Torsten

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/4f5d7f0d-1d04-aa76-f20b-01fa661b19c1%40grobox.de.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Android-x86 on Qubes

2016-11-11 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Fri, Nov 11, 2016 at 07:20:55PM -0200, Torsten Grote wrote:
> On 11/11/2016 06:01 PM, entr0py wrote:
> > Thanks! With that, some progress... Deleting ` > bus='xen'/>` from the config file results in usbtablet being replaced
> > with ps/2 mouse device.
> 
> Awesome, thanks Marek!
> 
> Is there any way to make this permanent so we don't need to start the VM
> with qvm-start each time?

There is a hacky way to change "conf_file" entry in qubes.xml. It may
have unknown side effects...

> > Now, the pointer tracks mouse movements
> > automatically instead of requiring manual dragging. However, the
> > mouse acceleration doesn't match and the two pointers become
> > de-synced.
> 
> It was de-synced before already I think, but it would of course be nice
> if that could be adjusted as well.

AFAIR this was the main reason to use tablet device instead of mouse
there. 

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJYJlrbAAoJENuP0xzK19csFpwH/in3kCJGW7SEYyUH/fxgeTnM
MwlgcTO66UxBO4rd+idSIyMLa6KiYsQLi7Z9yO90kEyNKCzD90pnTuTDMLXsH2A5
Ve2LliuXZED7I7AewOvtMC7EEXIVhFTJNK7YYeiO1ji4eTMxOcJ3s6yOMfMtI+q/
z1zBlgiwaMmqU7xX3veZMuAqPeCZep8v6aa9j/3Z/VZjQNPuJbW5Hqu0PIhBX3M5
Io3VPj+tp4+nK1jYUunRpZPlrn3T/XYqaaLg7H7WjcZIUQ8WDNTnW+idSQa46ovJ
cWjhL5wHueG5oVVEvOmm3TcvrbT1szXjO1It/js/LhJ+LnfWAa1KBRGkcumLSPI=
=pCqM
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2016235717.GK7073%40mail-itl.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Android-x86 on Qubes

2016-11-11 Thread entr0py
Marek Marczykowski-Górecki:
> On Tue, Nov 08, 2016 at 11:09:37PM -0200, Torsten Grote wrote:
>> On 11/07/2016 08:54 PM, 3n7r0...@gmail.com wrote:
>>> AFAICT, it's an issue with how QEMU is implemented in Xen. The input
>>> device in question is passed via `-usbdevice tablet` instead of being
>>> left to the default PS/2 emulation. There doesn't seem to be any easy
>>> way to disable that parameter from within Xen?
> 
>> I would also be very interested in that! Marek, do you know?
> 
> It is possible to modify config in /var/lib/qubes/appvms/, but for that
> you need to copy it first, then pass its new location to qvm-start
> --custom-config=... 
> 

Thanks! With that, some progress... Deleting `` 
from the config file results in usbtablet being replaced with ps/2 mouse 
device. Now, the pointer tracks mouse movements automatically instead of 
requiring manual dragging. However, the mouse acceleration doesn't match and 
the two pointers become de-synced.

The mouse problem is not a Xen/Qubes issue. Android-x86-4.4-r5 (KitKat) works 
perfectly on Qubes. Input handling has changed somehow in 
Lollipop/Marshamallow. I would be perfectly content to use KitKat but (of 
course), that version doesn't emulate OpenGL (under Qubes) which breaks many 
Android apps - even non-3D things like Gallery, Maps, Chrome...

@Torsten: Did you see my last comment on the issue tracker? Other than that, 
make sure partition is bootable and use a compatible vga mode.
 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/99c29989-f671-2444-3bd2-87666dbafb94%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Android-x86 on Qubes

2016-11-11 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Tue, Nov 08, 2016 at 11:09:37PM -0200, Torsten Grote wrote:
> On 11/07/2016 08:54 PM, 3n7r0...@gmail.com wrote:
> > AFAICT, it's an issue with how QEMU is implemented in Xen. The input
> > device in question is passed via `-usbdevice tablet` instead of being
> > left to the default PS/2 emulation. There doesn't seem to be any easy
> > way to disable that parameter from within Xen?
> 
> I would also be very interested in that! Marek, do you know?

It is possible to modify config in /var/lib/qubes/appvms/, but for that
you need to copy it first, then pass its new location to qvm-start
- --custom-config=... 

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJYJeKnAAoJENuP0xzK19csvpUH/iXmt08lhwbJZMdGGW649TGc
cJXRE0m+yMqXBWsSL/vgW3vsMijmQiqqEa3IHBUPgAWIlz6KY0dgEG3RXf3XBRuz
t1hrFUwcMYOp/qiDPC630O6Ipcp25c4KI0xYCopkQZo+4j5J3QFXZ8aAAyxBcM2S
x3juYgY8JVMsTeRAm8shRm5m6jgD+yiLW33DrG7TyGesdoSHriuxwZs30pRg7L8S
ewPFK03McKXS4JEQzlj0kYUzDAQ65H++K3VA4ULn3zdsRmTqea+sd2Q37e+s2Enc
yCMwF7sNZb4LycdgP/Qhw7O3c4UD5yzY7OCyYOSOIcbRgLeeF8opSC6VDJcC1Jw=
=x4/C
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2016152425.GF7073%40mail-itl.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Android-x86 on Qubes

2016-11-08 Thread Torsten Grote
On 11/07/2016 08:54 PM, 3n7r0...@gmail.com wrote:
> AFAICT, it's an issue with how QEMU is implemented in Xen. The input
> device in question is passed via `-usbdevice tablet` instead of being
> left to the default PS/2 emulation. There doesn't seem to be any easy
> way to disable that parameter from within Xen?

I would also be very interested in that! Marek, do you know?

Kind Regards,
Torsten

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/52ca9454-e84b-e8f5-d8fb-4b7721248d77%40grobox.de.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Android-x86 on Qubes

2016-11-07 Thread Chris Laprise

On 11/07/2016 04:02 PM, 3n7r0...@gmail.com wrote:

On Monday, November 7, 2016 at 8:57:16 PM UTC, 3n7r...@gmail.com wrote:

Using stock android-x86_64-6.0-r1.iso from android-x86.org (cm not tested)

Issues:
1. no boot
2. mouse support
3. wake from sleep
4. private storage
5. secure clipboard

1. If HVM hangs priors to splash screen, try adding `vga=ask` to boot kernel 
parameters. (1024x768x16 works for me)

2. Mouse cursor needs to be dragged around inside vm.
Not aware of any workaround.
Previously reported: 
https://groups.google.com/d/msg/qubes-users/2GAfjsltkmk/QY9fVetKKAAJ

3. Can't figure out how to wake hvm from sleep.
Untested workaround: Disable sleep completely by adding:
"setprop sleep.state disabled" to /data/local.prop
or "sleep.state=disabled" to /system/build.prop
(https://groups.google.com/d/msg/android-x86/8iSh5pVqv4U/Fz8Nh11UDwAJ)

4. Is moving /home/ as simple as copying and editing fstab or are there 
qubes-specific steps that need to be taken? If yes, would appreciate it if 
someone could point me to qubes package that handles this.


Cool.

You are doing this as a standalone HVM? Configuring /home can be as 
simple as that, esp. if you have the additional drive configured for 
that VM.


Chris

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/dd3cf29f-125d-e2af-3b09-d68a2788048f%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.