LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 02-18-2016, 01:26 PM   #16
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542

Android is not written java. It uses a standard Linux kernel. It does use java for some things, but that's being deprecated in newer versions.
 
Old 02-18-2016, 02:08 PM   #17
zpimp
Member
 
Registered: Oct 2014
Posts: 73

Rep: Reputation: Disabled
core stuff is written in c, the ui and apps are all written in java, where do you get this info?

android is so written in java that if you want to use native c, you have to use jni

i was saying in general, just because android is the way it is doesent mean is the best way

you say cyanogenmod is easy to flash and linux is not
but i still find it easier to boot my pc with linux from usb and wipe all partitions without worry of breaking it

a smartphone is the same as a pc, has cpu, ram, storage it needs a bootloader, os, software

why should we use a bloated, slow, closed environment, when we saw the light (running linux)

Last edited by zpimp; 02-18-2016 at 02:25 PM.
 
Old 02-18-2016, 08:46 PM   #18
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
So write your own. That may be what you have to do. There are reasons nobody has bothered to make a Linux distro for phones other than Android. Phone hardware and PC hardware have major differences. Each phone model requires a different ROM. Phone manufacturers don't sell generic hardware, like PC manufacturers do.
 
Old 02-19-2016, 01:54 AM   #19
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by sgosnell View Post
Phone hardware and PC hardware have major differences. Each phone model requires a different ROM. Phone manufacturers don't sell generic hardware, like PC manufacturers do.
this.
can't. be. pointed. out. often. enough.

with that said, i think hardware (not software! not linux!) development is coming to a point where components are getting small & powerful enough to make some sort of pc architecture for phones possible.

PS: java is also written in C (at least partly).
 
Old 02-19-2016, 11:05 PM   #20
Otherworlds
Member
 
Registered: Feb 2016
Posts: 49

Rep: Reputation: Disabled
I'm pretty sure Android uses a modified Linux kernel with libs from net BSD for portability
 
Old 02-20-2016, 02:14 AM   #21
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by Otherworlds View Post
I'm pretty sure Android uses a modified Linux kernel with libs from net BSD for portability
Nope. The Android libraries are custom written, and cut down from what Linux uses to reduce the size, and to fit into the (also cut down) dalvic runtime (which is also not a Java virtual machine).

The kernel itself is (as I understand it) now the same - but with OEM custom drivers to access the phone device interfaces.
 
Old 02-20-2016, 05:00 AM   #22
zpimp
Member
 
Registered: Oct 2014
Posts: 73

Rep: Reputation: Disabled
libraries are cut down,optimized for speed, but google choosed java, wich probably negates all this performance advantage
and dalvik wich is worse performance than jvm
i dont think phone size hardware cant run linux (look at rpi, and others) small x86 tablets can run desktop windows and linux
its all about the hardware manufacturers, if they allow it, and google made it so we couldnt
as you say device interfaces, and drivers wich depend on the manufacturer
 
Old 02-20-2016, 05:13 AM   #23
Otherworlds
Member
 
Registered: Feb 2016
Posts: 49

Rep: Reputation: Disabled
I stand corrected...
 
Old 02-20-2016, 06:48 AM   #24
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by zpimp View Post
libraries are cut down,optimized for speed, but google choosed java, wich probably negates all this performance advantage
and dalvik wich is worse performance than jvm
Last I read it was faster... as it is a register based VM and the jvm is pure stack.
Quote:
i dont think phone size hardware cant run linux (look at rpi, and others) small x86 tablets can run desktop windows and linux
its all about the hardware manufacturers, if they allow it, and google made it so we couldnt
as you say device interfaces, and drivers wich depend on the manufacturer
Small machines can run a linux desktop. The raspberry PI is one demonstration. And it uses the same processors as used in phones. Check the Pi 0, $5 base price, yet has the capacity to run a desktop, though slowly. The PI and PI 2 can do it
very easily (specially the PI 2, it has 1GB memory).

There is also an Ubuntu addon for Android that allows both to run simultaneously.

The limitation isn't the software, CPU, or memory even (though if under 512MB it could be), but permanent storage for all the code a desktop requires.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what happens when a script running in background calls for standard input? anuN Linux - Newbie 3 07-02-2014 04:42 PM
[SOLVED] Cronjob not running, however script it calls works ok JockVSJock Programming 5 09-16-2013 11:36 PM
Running Android ICS 4.0.1 not on smartphone is it possible? yaron.kadem Linux - Mobile 2 12-28-2011 02:27 AM
Grabbing text from a text box in a window running in wine. thefalling881 Programming 6 07-21-2008 08:38 PM
Making SyncCE work with Windows Mobile 5 Smartphone - CONFIG_USB_NET_CDCETHER wild_oscar Linux - Hardware 7 09-20-2007 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration