The time now is Thu 26 Apr 2018, 09:45
All times are UTC - 4 |
Author |
Message |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Tue 24 May 2016, 08:30 Post subject:
To clone Android applis to Puppy would it be idiot ? Subject description: No, Hungarian Puppy team does it ! |
|
To clone Android applis to Puppy would it be idiot ?
As developers now develop for iphones, use an Iphone appli on a computer has nothing chocking !
Debate is opened !
_________________ Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Last edited by Pelo on Wed 15 Jun 2016, 06:34; edited 1 time in total
|
Back to top
|
|
 |
Moat

Joined: 16 Jul 2013 Posts: 813 Location: Mid-mitten, USA
|
Posted: Tue 24 May 2016, 11:18 Post subject:
|
|
I've recently been given a few Android smartphones to (finally) play with, and also have had RemixOS (Android-based) working on my desktop PC. My impressions are that Android apps are rudimentary in their features and functionality, compared to applications that I'm used to on my PC's - often to the point of being very frustrating to use or even flat un-useable. IMHO. I find the existing realm of PC application choices (both Linux and Windows) to be far more capable/complete - vastly superior in functionality to any Android offerings I've had a chance to play with. No comparison. I see no reason at all to bother porting Android apps to desktop PC's. We've already got it much, much better!
A lot of gimmicky "fluff", really.
And those ads, those incessant ads... ugg...
Not a fan of Android, here. A time-wasting exercise in futility.
But of course, it all makes sense considering the comparatively limited screen size, processing power and RAM/disc storage of a phone.
Bob
Last edited by Moat on Tue 24 May 2016, 11:32; edited 1 time in total
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12097 Location: Gatineau (Qc), Canada
|
Posted: Tue 24 May 2016, 11:28 Post subject:
|
|
Hi Moat and pelo.
Moat said:
> But of course, it all makes sense considering the comparatively limited
screen size, processing power and RAM/disc storage of a phone.
Do you mean that adapting some of our Linux apps to the Android specs
would make sense?
BFN.
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
Moat

Joined: 16 Jul 2013 Posts: 813 Location: Mid-mitten, USA
|
Posted: Tue 24 May 2016, 12:02 Post subject:
|
|
Hi Musher!
musher0 wrote: | Do you mean that adapting some of our Linux apps to the Android specs
would make sense? |
It seems Pelo meant the opposite (i.e. - porting Android apps to Linux), but yes - I suppose in some ways it might make sense to attempt porting Linux > Android. The superior capability of such Linux apps would appear welcome on an Android platform - on the surface, anyway (pun?). But the screen size and processor limitations of typical Android hardware could likely make the user experience frustrating and clunky regardless, I'd have to imagine. All of that functionality would require GUI screen space to comfortably access and use (menus, buttons, pop-up/context menus, etc.) - all things we take for granted using our decently-sized PC's screens with mice, but a PITA on a small screen.
Just seems likely to me. But what do I know?!
I guess what I'm trying to say is, they are primarily phones - something they are very good at - that just so happen to be (minimally) capable of doing some PC-ish tasks... in a pinch. But why bother expending such great effort in pursuit of making them do things they are not primarily intended to do? We could modify our cars to plow a field... but why, where a long history of existing technology/machinery - tractors - are common and vastly superior for the task(s)? I really don't get it - aside from the "wow... cool!" factor of such features, that surely drives profit-making $$. Entertaining, fluff, and all of that.
And you dern kids, get off of my lawn!
Bob
|
Back to top
|
|
 |
Sailor Enceladus
Joined: 22 Feb 2016 Posts: 1476
|
Posted: Tue 24 May 2016, 12:34 Post subject:
|
|
I agree with Bob. Even the new flip-phones are annoying with their larger color screens. I like real buttons only.
I don't know of any Android apps that are needed in Puppy. Maybe Pelo can elaborate on this. Maybe emulators are enough...
|
Back to top
|
|
 |
starhawk
Joined: 22 Nov 2010 Posts: 5056 Location: Everybody knows this is nowhere...
|
Posted: Tue 24 May 2016, 17:03 Post subject:
|
|
Whether or not it's stupid, it's pretty close to impossible, because of the way Android works.
NOTE: There are two ways that Android works, now. Up until Android 4.4 (KitKat), Android worked with the following explanation. Android 5.0 introduces a slightly different system which I'll explain in a bit.
Basically, Android is a set of nested virtual machines. At the application layer, you have an "APK" file, which is similar in nature to a JAR file -- it is a lump of interpreted Java (technically, Android's own dialect of Java!) program code. "Interpreted" means that each portion of the code would normally be translated into "machine language" (aka assembly code -- binary!) for the system in question, in real time, more-or-less as the code is executed.
However, that's not where the rabbit hole ends with Android. Android runs each APK in its own Java virtual machine, all of which are running in a secondary virtual machine -- of a sort called "Dalvik". (The term "Dalvik" seems to refer more to the virtual machine itself, as well as its operational paradigm, rather than to any specific language per se.) Dalvik is a low-level virtual machine, which (if I'm reading Wikipedia right) generates optimized machine code from the Java APK file.
So, Android prior to KitKat/4.4, runs basically like this -- Java code is converted to Dalvik objects is converted to machine code.
AFTER Kitkat/4.4, i.e. starting with Android 5.0 -- Dalvik is officially gone, replaced by ART, the Android RunTime. ART apparently translates Java "bytecode" (as it is formally known) into assembly code at installation time -- in other words, you are no longer running any APK files on your Android 5.0+ device. You are instead running duplicate code compiled from the APK at install time, on your device. In short, it appears that ART turns the Android dialect of Java from interpreted code into compiled code.
Nevertheless, because "Android Java" is necessarily different from any other dialect of Java, it would require some very special modifications to any Java interpreter in order to run. Not to mention that it would still probably hemorrhage errors rather than work, because certain Very Important Things work very differently in Android from how they function in Linux or even Windows -- the graphics rendering system, for instance (by which I mean like Xorg, not just like JWM or MATE -- we're talking real low-level stuff here).
Also, keep in mind that there are major very fundamental hardware differences between an Android phone or tablet and a PC. Not just the architecture (ARM vs x86) -- an ARM System-on-Chip (the approximate equivalent of a CPU) communicates more like a microcontroller, such as a PIC or an Arduino (which is basically an Atmel AVR chip). We're talking serial buses like I2C and SPI (Inter-Integrated Circuit and Serial Peripheral Interface, respectively) or even simple GPIOs (General Purpose Input/Output lines -- individual wires that can turn on or off or sense incoming ons and offs). An ARM SoC has no concept of PCI or even PCI Express -- let alone ISA or, sometimes, even internalized USB such as on your netbook's SD card slot. It's almost literally alien technology by way of comparison.
So -- forget it. It's really not worth the effort. By the time you're done, you'll either have an entirely different program (by way of adapting it to its new OS) or you'll have an entirely new OS (by way of adapting it to the program).
...you know, I hear ChromeOS can now run APKs... and there IS such a thing as ChromiumOS -- although you have to compile it yourself, if you want a recent version, which from what I hear takes powers on the order of Godliness -- my local tech shop guy is a real programming wizard, and he's never gotten Webkit to compile successfully, ever. But -- it's out there...
_________________

|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Mon 06 Jun 2016, 03:05 Post subject:
So it's not possible. Thanks or your answers, dear linuxians |
|
So it's not possible. Thanks or your answers, dear linuxians.
Moat well understood the question.
Puppy developers are retired. Ubuntu ones are transfered to iphones; Debian is again our provider..
Qt and Java applications are now vintage.. Android cannot be run on our home computers and laptops, ok
Where is the fun ?
_________________ Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
|
Back to top
|
|
 |
oui
Joined: 20 May 2005 Posts: 3085 Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone
|
Posted: Wed 08 Jun 2016, 15:25 Post subject:
Re: So it's not possible. Thanks or your answers, dear linuxians |
|
Pelo wrote: | Android cannot be run on our home computers and laptops, ok
Where is the fun ?  |
why not?
http://www.android-x86.org/
|
Back to top
|
|
 |
s-kami

Joined: 30 Apr 2009 Posts: 138 Location: Hungary
|
Posted: Tue 14 Jun 2016, 00:15 Post subject:
|
|
On my ASUS laptop - ASUS A9Rp 1,6 Ghz 1 GB ram:
boot code under puppy linux:
Code: | label RemixOS residentmode
root (hd0,1)
kernel /android5/kernel root=/dev/ram0 androidboot.hardware=remix_x86 androidboot.selinux=permissive quiet SRC=/android5 DATA=/android5 CREATE_DATA_IMG=1
initrd /android5/initrd.img
label RemixOS guestmode
root (hd0,1)
kernel /android5/kernel root=/dev/ram0 androidboot.hardware=remix_x86 androidboot.selinux=permissive quiet SRC=/android5 DATA=/android5 DATA_IN_MEM=1
initrd /android5/initrd.img |
Original article :
http://skamilinux.hu/android-x86-es-remixos-egyutt/
_________________ Hungarian Puppy Linux HQ
http://skamilinux.hu

|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 2903 Location: holland
|
Posted: Tue 14 Jun 2016, 16:31 Post subject:
|
|
Thanks s-kami !
I tried it and I'm impressed, it boots fast and is running fast.
The boot codes you provided, are maybe for syslinux or extlinux ?, here's for (grub)4dos ("label" changed to "title") (in case /android5 on second partition):
Code: |
title RemixOS residentmode changes saved
root (hd0,1)
kernel /android5/kernel root=/dev/ram0 androidboot.hardware=remix_x86 androidboot.selinux=permissive quiet SRC=/android5 DATA=/android5 CREATE_DATA_IMG=1
initrd /android5/initrd.img
title RemixOS guestmode no changes saved
root (hd0,1)
kernel /android5/kernel root=/dev/ram0 androidboot.hardware=remix_x86 androidboot.selinux=permissive quiet SRC=/android5 DATA=/android5 DATA_IN_MEM=1
initrd /android5/initrd.img |
To make a full install, default supported is only from Windows (.exe installer) but can be done from linux also with a bit of a workaround, see here:
http://forum.xda-developers.com/remix/remix-os/how-to-install-remix-os-alongside-t3352890
(replace on boot line e.g: CREATE_DATA_IMG=1 with INSTALL=1 DEBUG= and it will run the installer, best to have a ext4 partition created for it before already)
Code: | title RemixOS Install mode
root (hd0,1)
kernel /android5/kernel root=/dev/ram0 androidboot.hardware=remix_x86 androidboot.selinux=permissive quiet SRC=/android5 DATA=/android5 INSTALL=1 DEBUG=
initrd /android5/initrd.img |
If you have working grub4dos already , you might want to skip the grub install during the process.
I added to my grub4dos menu.list (full Android install on sda3):
Code: | title Android RemixOS
root (hd0,2)
kernel /android-2016-04-20/kernel quiet root=/dev/ram0 androidboot.hardware=remix_x86 androidboot.selinux=permissive SRC=/android-2016-04-20
initrd /android-2016-04-20/initrd.img |
Fred
|
Back to top
|
|
 |
s-kami

Joined: 30 Apr 2009 Posts: 138 Location: Hungary
|
Posted: Wed 15 Jun 2016, 00:18 Post subject:
|
|
I made some mistake !!!!
Sorry...
Yes, i made it for GRUB4DOS under puppy.
I have deleted the previous android5 x86 edition and copied remixOS ISO files to the same dir.
Thank you for full install! Its very useful, this is i need because 2 gb virtual sdcard is not enough for real.
_________________ Hungarian Puppy Linux HQ
http://skamilinux.hu

|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 2903 Location: holland
|
Posted: Wed 15 Jun 2016, 14:55 Post subject:
|
|
s-kami wrote: | I made some mistake !!!!
.....
Sorry... |
No problem s-kami !
As I wrote the following, I'd like to correct ;
Quote: | To make a full install, default supported is only from Windows (.exe installer) |
I tried the installer from Windows 10 and found that it's NOT a full install, it's some construction to have a "frugal" install "residentmode" (CREATE_DATA_IMG=1) from inside the Windows partition (C:\)
It works, although it's a little strange because when choosing RemixOs from booting Windows 10 "Menu", it reboots and just then it boots to RemixOs.
Fred
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Sat 27 Aug 2016, 05:28 Post subject:
Well, well, the idea is released ! Happy to taste it soon. |
|
Well, well, the idea is released ! Happy to taste it soon.
Android x86 és RemixOS együtt ! Jump to Android Puppy ! Boot the blue.
_________________ Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|