Install LineageOS in a virtual machine ? - LineageOS Questions & Answers

Hi,
Since I'm new to this forum, allow me to introduce myself. I'm a 52-year old Austrian living in South France. I'm the manager of Microlinux, a small IT firm with a focus on Linux and free software.
While I'm a seasoned sysadmin, Linux trainer and book author, I'm quite new to the world of mobile phones. Got my first smartphone less than a year ago, an LG K8 with Android on it. I'd like to put LineageOS on it, but quite honestly, I don't even know where to begin. I'm not a lamer for RTFM and lots of experimenting. First things first.
1. Is there some sort of VirtualBox for mobile operating systems ? Where I can fiddle with LineageOS without having to fear of bricking my phone (which I need for work)?
2. I reckon my phone is not on the list of supported devices for LineageOS. In that case, is it possible (in theory) to build LineageOS from source for my specific device?
Any pointers for good documentation on these subjects? My level is beginner-who-is-not-afraid-to-get-his-hands-dirty.
Cheers from the sunny South of France,
Niki

Don't go the hard way! Get some used phone under 50 Euros with good lineageOS support. Like Samsung S3 - S5

Related

A few questions... (Android! Omnia!)

* Mod EDIT *
Thread closed until moderation team has had an opportunity to properly review as a result of soliciting donations.
Hey everyone,
As you may all know, there’s a fairly large demand to put Android on the Omnia. After researching it myself, I decided since no one else is doing it I’ll take the incentive and give it my best shot. Don’t get too excited, since I may not get very far. But before I begin, there’re three questions I have to ask:
*NOTE: I own a Verizon i910 Omnia*
1. How do I extract the bootloader, kernel, and rom from the device? I’ve tried all sorts of rom kitchens and utilities and the things I get are either useless or work but only with i900 roms I downloaded and therefore not very helpful.
2. I need to disassemble WM’s device drivers (for the screen, touchscreen, buttons to start), and port them to a custom Linux kernel (that’s what Android will be placed on top of). What software do you recommend (for disassembling WM drivers for ARM in PE format)? A day’s worth of google searching turned up little to nothing.
3. This will involve flashing my one and only Omnia with bootloaders, kernels, and roms that, in all likelihood, will brick my device as I test it. I read in certain places something about a “jtag” cable. Can I use this to flash data directly to the chips without any kind of software running on the phone? If so, what kind of information can you provide? I don’t really care about my warranty, considering what I’m going to do to it To rephrase the question, what options (besides returning the phone) do I have to recover it if it gets bricked?
If anyone wants to offer their support I’d really appreciate it. I need people experienced with the inner workings of a WM device and also people experienced in Linux, specifically device drivers.
it would be great if you could install the Android OS. but i think we need to wait for the official drivers for Android, even if they would be released by Samsung. i start thinking it is impossible.
I honestly doubt Samsung will go the extra mile for a single product (even one as awesome as the Omnia) and port an entirely different operating system to just one of their products. This is one we're gonna have to do ourself. It is possible to do, I'm just stuck right now because I don't know how to dump the i910's rom, which contains all the device drivers I need to make a full-featured port of Android possible. This is what I need help with. It's really not that impossible, it just takes a bit of work.
Mods, could you move this thread to "development and hacking"? It would probably be seen by the people I want it to be seen by there. Thanks.
hey..dude.. checkup this from this group of ppl @
forum.xda-developers.com/showthread.php?t=431329
may be u can join ..
Hey Guys, I've got an Omnia as well and really really want Android on it. Although I am unable to script. I thought of a way to contribute a bit as well. I set up a website to raise money for the first person or organisation that pulls it off to run Android on the Omnia.
Have a look here:
I chipped in a €100 myself as well to make a start. I hope you guys can contribute some money as well so that it motivates the developers even more.
For the developers out there: "We know you can do it!"
* Mod EDIT *
Link Removed
How can an project be real. If Basics are unknown?
Qualcomm, QCT Tools, Firmware structure etc...
For study:
http://www.4shared.com/file/108584795/bb49ee52/I900_090226.html
Big thanx to barisyalcin.
For Android on Omnia. Good Luck.
The way is the Destination.
Best Regards
Why even bother installing a shell?
the android on the omnia only installs a shell compound, it does not actually convert the omnia into a full fledged Android phone.
I would just scrap it and pick up an actual android phone.

Android Forensics

I am a 2nd year Forensic Computing student (UK resident/university) and I've been looking into a final year project which involves some form of forensic analysis of a computing system. Ever since I bought my HTC One and I rooted it, I've become quite interest in android as a whole. As of late, my HTC became carrier blocked (I bought it on contract from an eBay seller and they blocked it and won't respond back) so in essence I have a glorified media player but still a powerful device.
I want to make my final year project (Which accounts for roughly 40% of the degree) a forensic analysis of a rooted android phone.
I'm posting here (In the midst of developers) because I wish to attain advice and knowledge and some form of help (I'm not asking for anyone to do it for me, neither am I attempting to cheat) so I can produce a great project and a impressive dissertation.
Thank You

looking for professional administrator for my smartphone

Hello forum,
I am concerned about privacy* so I would like to have a phone which respects this. In the past I flashed Cyanogenmod on my own to have some more control than with factory ROM.
Now I need a new phone and CM is about to become something new and things are getting complexer every day, so I think it is time to hand over the administration of my phone to professional hands.
What I need and what I would pay for:
recommendation of a smartphone HW and OS which offers the level of privacy* which I expect
buying of device and initial installation of OS
solving problem when they occur (preferable via email or phone)
maintaining the device if an update is needed
...
(I can provide a detailed specification)
Now my question:
Is xda-developers forum the right place to get in contact with someone, who is offering this sort of service?
As I live in Germany, it would be an advantage to have this contact within EU to minimize custom and delivery delays.
If this is the wrong place to ask, would you please point me to the right direction?
Thanks in advance
Ralaxy
* actual achievable level of "privacy" to be discussed
Ralaxy said:
Hello forum,
I am concerned about privacy* so I would like to have a phone which respects this. In the past I flashed Cyanogenmod on my own to have some more control than with factory ROM.
Now I need a new phone and CM is about to become something new and things are getting complexer every day, so I think it is time to hand over the administration of my phone to professional hands.
What I need and what I would pay for:
recommendation of a smartphone HW and OS which offers the level of privacy* which I expect
buying of device and initial installation of OS
solving problem when they occur (preferable via email or phone)
maintaining the device if an update is needed
...
(I can provide a detailed specification)
Now my question:
Is xda-developers forum the right place to get in contact with someone, who is offering this sort of service?
As I live in Germany, it would be an advantage to have this contact within EU to minimize custom and delivery delays.
If this is the wrong place to ask, would you please point me to the right direction?
Thanks in advance
Ralaxy
* actual achievable level of "privacy" to be discussed
Click to expand...
Click to collapse
https://forum.xda-developers.com/showthread.php?t=1620179
Thread closed.

Noob looking for advice.

I never used Linux never knew anyone who has. What can you run on Linux game wise? Can you play any Windows games on Linux? What is the newest version of Linux? How do you buy computer parts to make a Linux computer? All I ever seen is Windows logo on parts. Whats the advantages compared to Windows? How does one get it one a computer does if come on a disk or flash someplace?
Thank you
Rbohannon89 said:
I never used Linux never knew anyone who has. What can you run on Linux game wise? Can you play any Windows games on Linux? What is the newest version of Linux? How do you buy computer parts to make a Linux computer? All I ever seen is Windows logo on parts. Whats the advantages compared to Windows? How does one get it one a computer does if come on a disk or flash someplace? Thank you
Click to expand...
Click to collapse
I haven't used Linux directly in quite a long time but, the following threads may be helpful in understanding it a bit better. Don't be afraid to ask for some member guidance within one of them too.
https://forum.xda-developers.com/showthread.php?t=1459153
https://forum.xda-developers.com/showthread.php?t=2723240
https://forum.xda-developers.com/showthread.php?t=3300596
https://forum.xda-developers.com/showthread.php?t=3530696
https://forum.xda-developers.com/showthread.php?t=2885245
https://forum.xda-developers.com/showthread.php?t=1076138
There's others out there but, this will give you a good start...
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
I looked at them but that didn't answer any my question.
There is Steam on Linux. And lot of games are available on Linux. You can't play all windows games on Linux .
http://store.steampowered.com/linux
Windows is like an LTS OS if compared to Linux.
So Ubuntu 16.04 is a safe.
Some OS are updated on daily basis like Arch , Debian.
Some every 6 months like Linux Mint & Ubuntu ,
Linux runs on everything. So basically , as long as you have a computing device.
As far as custom Linux PC is concerned, checkout System76.
https://system76.com/
There are nice builds and they come with good support.
karandpr said:
There is Steam on Linux. And lot of games are available on Linux. You can't play all windows games on Linux .
http://store.steampowered.com/linux
Windows is like an LTS OS if compared to Linux.
So Ubuntu 16.04 is a safe.
Some OS are updated on daily basis like Arch , Debian.
Some every 6 months like Linux Mint & Ubuntu ,
Linux runs on everything. So basically , as long as you have a computing device.
As far as custom Linux PC is concerned, checkout System76.
https://system76.com/
There are nice builds and they come with good support.
Click to expand...
Click to collapse
What is the advantages and disadvantages in having linux? Also what do most people use it for everyday personal use?
Rbohannon89 said:
What is the advantages and disadvantages in having linux? Also what do most people use it for everyday personal use?
Click to expand...
Click to collapse
Linux just works. Windows has lot of software. Mac is really optimized.
People use Linux to devlop software mostly. Cos it's has great support for development and most servers run on linux.
Windows is still for people who want variety of software and games.
karandpr said:
Linux just works. Windows has lot of software. Mac is really optimized.
People use Linux to devlop software mostly. Cos it's has great support for development and most servers run on linux.
Windows is still for people who want variety of software and games.
Click to expand...
Click to collapse
So can I can play Windows games somehow? I'm only asking cause I'm thinking of buying a older laptop to experiment with and always curious about Linux. Wanted to play with Linux and learn it. Thanks for the response.
Rbohannon89 said:
So can I can play Windows games somehow? I'm only asking cause I'm thinking of buying a older laptop to experiment with and always curious about Linux. Wanted to play with Linux and learn it. Thanks for the response.
Click to expand...
Click to collapse
There are lot of steam games for linux . Older games can be played using Wine or Crossover...
Don't expect to play newer games due to graphics card limitations. (DirectX and Video graphics drivers cause issues.)
Rbohannon89 said:
So can I can play Windows games somehow? I'm only asking cause I'm thinking of buying a older laptop to experiment with and always curious about Linux. Wanted to play with Linux and learn it. Thanks for the response.
Click to expand...
Click to collapse
An older laptop would be a good way to start. Since it's an older laptop I don't imagine there will be an expectation to play new games on it, Windows or otherwise. Still, remains a great way to dip in and and look at Linux's potential.
Also, the make and model of the laptop can determine how well it is suited for Linux (you have mentioned the Windows stickers earlier - especially recently manufacturers have been making it difficult to allow the switch to Linux), can do a web search with 'linux' in the search, or a distribution. e.g. ...
Code:
linux support lenovo t420
debian support lenovo t420
Lenovo, HP, and Dell are big names that appear to play nice (and System76 makes PC's for Linux). Others, can be like rolling the dice.
And when I hint at a difficult time, it's usually the wi-fi, sometimes the trackpad, maybe sound, rarely something very important like video.
Not saying this to discourage, only to suggest research when it comes to any equipment, old or new. Hopefully the toughest thing would be deciding which distribution to choose - I'm enough of an old fogey to stick to versioned, long-term releases like Debian and avoid the bleeding edge "rolling releases" provide.
Hope this helps.
Oh (looking back to the first post), advantages (which are in the eye of the beholder since they can potentially hold a disadvantage):
Free (as in freedom). I like to be able to vote with my dollar, even though Linux users are rarely obligated to pay for software. This is a philosophical reason, and one can go deep down that rabbit hole, what I like is, nothing is hidden from the public eye since the software is often accompanied by source code, on request. Which makes it difficult for say, a search assistant to send unknown data back to the mother ship.
Variety of experience. If you don't like an application, a windows manager, heck even the init process, you can replace it with something else or even write your own.
Support for older hardware. Often the method to revive a five to ten (sometimes quite older - I occasionally run an up-to-date Linux-powered laptop from 2002 with very satisfactory results) year old device for a new life.
Thank you so much for the replies. What kind of hardware and era should I look for to make a smart decision to what kind of laptop to get? From someone who has never ever used linux or even seen it only used windows how hard is the learning curb? Can I load it on the the pc and just go for it or will I be massively confused?
Rbohannon89 said:
Thank you so much for the replies. What kind of hardware and era should I look for to make a smart decision to what kind of laptop to get? From someone who has never ever used linux or even seen it only used windows how hard is the learning curb? Can I load it on the the pc and just go for it or will I be massively confused?
Click to expand...
Click to collapse
I would go for a once-mid-to-high-end laptop of about six years old (newer run but still holding the Windows 7 stickers), from a vendor I noted before. It does not guarantee complete compatibility so you would still want to cross reference the model number.
I am not a fan of "chiclet" keyboards (I have enough difficulty typing on laptop keyboards) and have fond memories of the IBM ThinkPads (I used to own the popular 600X) that I maintain one of the final bastions before Lenovo took design tips from Apple (by the way, I hear MacBooks can have reasonable compatibility as well, though there would be an extra premium there).
For a laptop longevity perspective (the second thing to look for), a "flagship" laptop from a vendor (especially from Apple or Lenovo) means better access to (and thus generally less expensive) spare parts. To identify this on the Lenovo side, it would mean part of the "T" or "X" lineup (both are business grade; the X models just have a smaller footprint). For what it's worth, business-grade HP laptops are the "ProBook" series.
From what I understand, the learning curve is not that difficult. There have been people who knew nothing about computers that learned Linux quite easily. The challenge for a Windows user trying Linux becomes "un-learning" specific workflow to make way for new ways of doing things. Apologies I can only be general - me trying to share my experience with the learning curve is difficult since that transition was about two decades ago and Microsoft drastically changed the typical user's workflow three times between the early 1990's of my first computer and the year 2000 (MS-DOS -> Windows 3.1 -> Windows 95 -> NT5) that makes the transition from Windows 7 to 8 to 10 look like a food fight. The first year I was quite reliant on a guru (I was in the expectation to accelerate my knowledge for an upcoming project) until I was directed to not use that as a crutch. A bit sad to say, that moment I was told to "RTFM" for a simple problem was when I really started to learn.
But I would definitely not dive into the deep end (as they say) by wiping your main computer for Linux. For starters, even with decent backups (which you should be doing anyway), your data can be inaccessible (installing Linux on a fully set up PC means losing all your personal files there, and if your backup tool to other media is done by a Windows program, Linux may not support restoring that data).
It is also a quick way to become frustrated when hitting even a small roadblock. I would not use "confused" as asked above for this phenomenon. When you combine the impact of the problem with the time in which you would need it resolved by, it can create a sort of desperation on a forum when the answer could have been glaring back without realizing it. Depending on how well documented the issue's solution is (and when a problem that prevents the achievement of a deadline occours on short notice, blind spots tend to happen to even the best of us), would-be readers get frustrated as well and may criticize the lack of research. An exaggerated XDA example of this is when someone flashes a ROM on their daily driver, without any backups first, without wiping anything, and then frantic that their only phone has app force closures every five seconds - and the plane for their two week trip leaves in six hours. In short, a dedicated device to play on means you set the pace on how you want to learn.
A dedicated laptop would be the better way to go. For a no-cost (no additional hardware to buy) demo of Linux, can try a live CD (will also determine how your hardware can interact with Linux) or maintain a persistent instance through an install in Oracle VirtualBox or VMWare (which Linux will work even if your hardware does not play with Linux). Much further away from recommended territory we have the "cold turkey" method (gripes noted in previous two paragraphs), and finally - for a reason - dual-boot (which has to opportunity to hose one or both operating systems at any given moment - including your data - for as something as simple as a Windows Update).
This turned out to be longer than expected, but I hope this helps.
So it's been about 20 I don't know it's been about since 1997 that I played the Linux or Kali nethunter I was wondering if these are possible put on my smg900v or piece of crap that's the original smart phone from Samsung I don't remember the name but it still on Android Jelly Bean I believe was interested if I could take my two older phones and wipe the OS completely and make them nothing but Linux because I used to have a lot of fun with that we used to stay up and drink beers and play on it you know and then it went away in 2008 and I haven't had a cell phone in years because my work gave me one any advice would be appreciated but my youngest son would probably really be interested in it are you having dyslexia try to get him in anything also I found back in the day where they used to convert that phone to be 2G but I can't find anything but the source code and I don't know how to completely enter source code into an Android phone I had a computer I can do it on the computer but not a phone
averydiablo said:
So it's been about 20 I don't know it's been about since 1997 that I played the Linux or Kali nethunter I was wondering if these are possible put on my smg900v or piece of crap that's the original smart phone from Samsung I don't remember the name but it still on Android Jelly Bean I believe was interested if I could take my two older phones and wipe the OS completely and make them nothing but Linux because I used to have a lot of fun with that we used to stay up and drink beers and play on it you know and then it went away in 2008 and I haven't had a cell phone in years because my work gave me one any advice would be appreciated but my youngest son would probably really be interested in it are you having dyslexia try to get him in anything also I found back in the day where they used to convert that phone to be 2G but I can't find anything but the source code and I don't know how to completely enter source code into an Android phone I had a computer I can do it on the computer but not a phone
Click to expand...
Click to collapse
The closest thing you can do is run linux with chroot.
Here is a good post to get you started.
https://www.xda-developers.com/guid...a-gnulinux-environment-on-any-android-device/

How open is the Planet Gemini PDA?

Hardware/software wise, open schematics, binary blob free?
Pretty much not open at all.
I believe it lacks mainline support, needs blobs (and they only exist for Android, so you need to use libhybris for other operating systems to work), and I'm not aware of schematics or freely licensed designs or anything of that sort.
You can unlock the bootloader, you can flash another OS to it. It's maybe on-par with a OnePlus phone in that sense, but quite a bit worse off in terms of popularity and community support.
The MediaTek SoC I think is the root of a lot of the issues. I think MediaTek devices tend to be hard to support. MediaTek themselves are probably rather anti-freedom.
The device and Planet Computers have been a pretty big disappointment in general. My Gemini collects dust at this point and is running a rather old Android version. The need of the specialized MediaTek flashing tool is quite a bother as well. Since I've got an Android and Debian dualboot on the thing, I can no longer get OTA updates for Android, and I haven't got the tool set up and working on any computers anymore.
If you don't already have a Gemini, I would suggest instead looking into the PinePhone. They're working on a keyboard addon, and it's already a lot more free than the Gemini. I run postmarketOS on a PinePhone and it's most of what I wanted out of the Gemini already, despite the rough edges.
If you do have a Gemini already, I think our best bet is someone very dedicated choosing to reverse-engineer the thing. Considering the hardware issues with the keyboard, it would take a lot to make this thing usable. If someone were willing to put in the work to make a replacement keyboard, they'd probably be better off hacking on a different device altogether. The Gemini is just e-waste at this point.
If you were interested in trying to get mainline support for it and such, it may be worth working with some of the postmarketOS guys. There's a page for the Gemini on their wiki, but support so far isn't great. Only one person is marked as owning it / working on it, and there haven't been any updates in a while. It also is replying on libhybris, which would ideally be avoided in favor of getting proper support working.

Categories

Resources