Open source android distribution

Содержание
  1. Загрузка и сборка AOSP
  2. Загружаем AOSP
  3. Сборка
  4. Готовим IDE для отладки
  5. Запускаем отладку
  6. 6 Open Source Android Alternative Operating Systems For Mobiles
  7. Best Open Source Android Alternatives To Try
  8. 1. Plasma Mobile
  9. 2. KaiOS
  10. 3. LineageOS
  11. 4. postmarketOS
  12. 5. Ubuntu Touch
  13. 6. Tizen OS
  14. Android Open Source Project
  15. Interfaces and architecture
  16. Android security is essential
  17. Design compatible devices
  18. About the Android Open Source Project
  19. Security and Update Bulletins
  20. 40 Best Free And Open Source Android Apps in 2021
  21. Free and Open Source Operating System
  22. Free and Open Source Search Application
  23. Free and Open Source Calendar Application
  24. Free and Open Source Calculator Application
  25. Free and Open Source Weather Application
  26. Free and Open Source Camera Application
  27. Free and Open Source Home Launcher Applications
  28. Free and Open Source Habit Tracker Application
  29. Free and Open Source Web Browsers
  30. Free and Open Source E-Mail Services & Application
  31. Free and Open Source SMS Application
  32. Free and Open Source Video Streaming Application
  33. Free and Open Source Video Player Application
  34. Free and Open Source Note Taking Application
  35. Free and Open Source Maps Application
  36. Free and Open Source Instant Messenger Applications
  37. Free and Open Source VPN Applications
  38. Free and Open Source Home Media Streaming/Entertainment Hub Application
  39. Free and Open Source Social Networking Application
  40. Free and Open Source Blogging Application
  41. Free and Open Source Clipboard Manager Application
  42. Free and Open Source Text Editor Application
  43. Free and Open Source Music Player Applications
  44. Free and Open Source Gallery Application
  45. Free and Open Source Pedometer Application
  46. Free and Open Source Samsung Gear Fit Application
  47. Free and Open Source Android Apps Market Application
  48. Free and Open Source Reddit Client Applications
  49. Free and Open Source File Manager Application
  50. Free and Open Source Document Viewer/Office Suite Application
  51. Free and Open Source Flash Tool Application
  52. Free and Open Source Reference Site/Encyclopaedia Application
  53. Free and Open Source Task Management Application
  54. Free and Open Source Podcast Manager+Player Application
  55. Free and Open Source Flashlight Application
  56. Free and Open Source Bitcoin and Ether Wallet Application
  57. Free and Open Source GitHub Client Application
  58. Conclusion

Загрузка и сборка AOSP

Решил поделиться своей инструкцией как собрать AOSP (Android Open Source Project). Эта инструкция будет полезна тем кто хочет посмотреть что-же внутри Android и возможно заняться системной разработкой. В любом случаи эти знания полезны для понимания самого Android, как раз для этого и решил собрать AOSP.

Проект собираю на elementary 5.1 OS Ubuntu 18.04 LTS (bionic), пытался на MacOS собрать, но так и не удалось. Для исходников и сборки нужно 200 Гб на жестком диске (лучше SSD, на обычном производительность сильно проседает). Так же много времени, я потратил чтобы скачать и собрать около 20 часов, частично виновата «слабая» конфигурация моего компьютера. У меня установлено всего 8 Гб оперативной памяти, но увеличил размер swap-а до 16 Гб.

Загружаем AOSP

Установить требуемые пакеты для загрузки и сборки :

Создаем папку и качаем repo утилиту для загрузки исходного кода

Исходники AOSP состоят из отдельных проектов с собственными git-репозиториями, repo позволяет упросить всю загрузку всех проектов и разложить по нужным папкам.

  • -u — урл git-репозитория с манифестом
  • -b — ветка (самая последняя на текущий момент)
  • —depth — скачивать только одну ветку (если не использовать, то для каждого репозитория скачается весь индекс, что увеличит время загрузки и место на диске)

Выбрал самую последнюю версию Android 10. Не использую develop или master, так как там устаревший манифест и проект скорее не соберется.

Теперь можно запустить загрузку исходников AOSP

  • -c — скачивать только текущую ветку манифеста (как указал выше — android-10.0.0_r45)
  • -j — количество потоков, обычно указывается столько доступно процессоров
  • —no-tags — не скачивать тэги с репозитариев
  • —no-clone-bundle — не пытаться качать clone.bundle (упакованная репа, которая уменьшить время на загрузку, но не у всех сервер формирует этот bundle),

—no-clone-bundle можно попробовать убрать, что в теории ускорит скачивание, но у меня заваливается с 404 ошибкой

Скачивание может занять минуты и часы, теперь с repo закончили, если нужно почитать больше то ищите в официальной документации: https://source.android.com/setup/develop/repo

Сборка

Настраиваем среду разработчика:

x86_64 — указывается под какой девайс собирать, в данном случае Generic x86_64 подходит для эмуляторов, если будете запускать на Nexus девайсах, то ищите детали в документации https://source.android.com/setup/build/building#choose-a-target

eng — тип сборки (сокращение от engineering), с максимальными логами и дополнительными утилитами для отладки. Другие тип сборки думаю не особо интересны

Для сборки java файлов увеличиваем Heap size, если этого не сделать, то сборка всего завалится с StackOverflow ошибкой:

Так же можно добавить в .bashrc чтобы постоянно не повторять команду

Все, теперь готовы к сборке:

Можно не использовать CCACHE, что уменьшит количество занимаемого места на диске, но увеличит время повторной сборки. На моем «слабом» компьютере сборка заняла где-то 16 часов.

После окончания сборки, запускаем эмулятор:

-show-kernel — выводить уведомления в консоль

Если нажать Enter, то попадем в консоль эмулятора

Если эмулятор не запустился, нужно будет проверить что включена виртуализация

Готовим IDE для отладки

Для начала необходимо сгенериовать проект для IDE, проект генерируется для IDEA. Собираем модули для генератора:

Чтобы весь AOSP затолкать в проект, то просто запускаем генератор

Но сгенерированный IDEA проект будет очень «тяжелым». Одно открытие и индексация занимает достаточно много времени. Лучше генерировать IDEA проект для каждого отдельного проекта, например для Android фреймворка

Весь список доступных проектов можно посмотреть в

Открываем сгенерированный base.iml (находится в папке frameworks/base) в IDEA. Дальше нужно настроить Java, только нужно подключать java без библиотек, так как у AOSP-а свои реализации.

Запускаем отладку

Для начала необходимо запустить monitor

возможно потребуется дополнительно поставить jre
sudo apt install openjdk-8-jre-headless

Выбираем процесс, который будем отлаживать. В monitor-е выбираем процесс и справа от порта процесса появится /8700, это как раз порт отладчика, к нему можно подключаться через IDEA.
Все системные штуки находятся в system_process. Его мы и будем отлаживать.

monitor один самых полезных инструментов при отладке и исследования работы AOSP

В проекте добавляем новую Remote конфигурацию, только указываем 8700 порт. Именно к этому порту и будем подключаться

Запускаем Debug (Run → Debug)

Чтобы удостоверится, что все подключилось поставьте брейкпоинт в frameworks/base/services/core/java/com/android/server/wm/ActivityTaskManagerService.java файле на метод:

и запустить любое приложение на эмуляторе (например, Settings).

Источник

6 Open Source Android Alternative Operating Systems For Mobiles

I n the wake of the ongoing US-Huawei-Google tussle, many Android enthusiasts are wondering about the different alternative phone operating systems that are out there. We have Apple’s iOS at our disposal, but the cost of owning an iPhone makes it an impossible choice for many.

This prompted me to create a list of other Android alternatives that are being developed or being used in mobile devices. The options that have been included in this list are open source, so any developer can grab the code and fork it to create something new for free. Huawei is itself creating its own operating system but I haven’t included it on this as the details are scarce.

Читайте также:  Хитман про для андроид

Best Open Source Android Alternatives To Try

1. Plasma Mobile

Plasma Mobile is the most competent Android alternative that you can look up to right now. This open source operating system uses the power of Kubuntu and uses the multiplatform toolkit Qt. Plasma Mobile OS is currently under development, and it can be used on devices like Nexus 5X. The developers have also created custom images for x86-based tablets as well. Another option to use Plasma Mobile’s interface is to go for postmarketOS that offers Plasma as an interface. Another way to use Plasma is to see if your device supports Halium and follow the porting guide.

The KDE Foundation is also working with partners like Purism to ship Plasma Mobile on a commercial device for the first time. The developers are also working on their plans to create a Linux-based phone operating system that’ll be able to replace Android and iOS.

2. KaiOS

Just like the Tizen OS from Samsung, which is mentioned further down this article, KaiOS runs on millions of devices (100 million to be precise). If you haven’t heard of this phone operating system, it’s not your fault. KaiOS aims to make non-touch phones smart by adding capabilities like 4G, Wi-Fi, GPS, and HTML5-based applications. In India’s developing smartphone market, this opne source Android alternative has gained great success with the help of JioPhone and has beaten iOS to become the country’s 2nd most popular OS.

Like many other options on this list, KaiOS is also basically a Linux operating system as it’s based on the discontinued Firefox OS. Given its explosive growth in recent times, the future of this open source OS seems bright.

3. LineageOS

Some of you might say that LineageOS is itself based on Android code, so what’s the point of including it in the OS? Well, primarily because it’s currently under active development and LineageOS images are available for a lot of devices. LineageOS is itself a fork of another custom ROM CyanogenMod, that was discontinued in December 2016.

This open source OS is now available for more than 180 smartphones from brands like Xiaomi, Motorola, Samsung, Pixel, etc. It also offers lots of personalization options that let you customize your device as per your preference. So, if you’re tired of Google’s endless tracking, you can use LineageOS to reduce that tracking to some level.

4. postmarketOS

Just like Plasma Mobile, postmarketOS is another Linux phone project that’s getting tons of attention from open source enthusiasts. I’ve personally covered the journey of postmarketOS from the start, and it aims to deliver a ten-year lifecycle to the mobile devices. The OS is based on Alpine Linux that takes just 6MB storage space, and is capable of running Wayland X-based environments like MATE, Xfce, and GNOME.

There’s an extensive list of devices that can boot postmarketOS, but the developers haven’t been able to get the calls working on the devices. However, given the continuous developments and growing documentation, I’m pretty optimistic about the project.

5. Ubuntu Touch

Canonical’s Ubuntu Linux is the most popular open source operating system around. The company started working on the mobile version of the OS and named it Ubuntu Touch, but the project was ultimately abandoned in April 2017 due to lack of market interest. Later, UBports adopted it and started developing it as a community project.

UBports keeps releasing OTA updates for Ubuntu Touch from time to time. While there isn’t a long list of devices that were released for this open source Android alternative, it’s interesting to see the non-profit UBports Foundation working hard to keep Ubuntu Touch alive.

6. Tizen OS

Tizen OS is a Linux-based open source Android alternative that’s supported by the Linux Foundation. Primarily developed and used by Samsung, the operating system is chiefly shipped with the company’s smart TVs, smartwatches. and home devices. The company tried to push Tizen in developing markets like India with its Z series smartphones but ended up getting a poor reception.

Later, the Linux-based OS was also found to be crippled with tons of security issues, which further restricted developers from forking for Linux smartphones.

As I mentioned in the beginning, these Android alternatives are open source but most of them are still in the development phase. You can visit their websites, take a look at the list of supported devices, and follow the instructions to run the Linux-based operating systems on your phone. If you find any of these interesting and try them out, do let us know about your experiences in the comments section.

Источник

Android
Open Source Project

Android unites the world. Use the open source Android operating system to power your device.

Interfaces and architecture

Android security is essential

Design compatible devices

About the Android Open Source Project

Android is an open source operating system for mobile devices and a corresponding open source project led by Google. This site and the Android Open Source Project (AOSP) repository offer the information and source code needed to create custom variants of the Android OS, port devices and accessories to the Android platform, and ensure devices meet the compatibility requirements that keep the Android ecosystem a healthy and stable environment for millions of users.

As an open source project, Android’s goal is to avoid any central point of failure in which one industry player can restrict or control the innovations of any other player. To that end, Android is a full, production-quality operating system for consumer products, complete with customizable source code that can be ported to nearly any device and public documentation that is available to everyone (in English at source.android.com and in Simplified Chinese at source.android.google.cn).

Just as you can contribute code to AOSP, you can also contribute to AOSP documentation—and we want your input! Android’s flexibility and ever-changing codebase means this site needs your feedback to keep content fresh, accurate, and relevant to Android implementors. We encourage you to check the changelog for details on recent AOSP updates and to report bugs or offer suggestions using the Site Feedback at the bottom of every page (or by visiting g.co/androidsourceissue).

Security and Update Bulletins

Every month, we publish the Android Security Bulletin along with the Android Automotive Bulletin and Pixel Update Bulletin.

Go to any of the following Android and Pixel Bulletins to see links to the fixes and new build numbers associated with the latest security release.

Источник

40 Best Free And Open Source Android Apps in 2021

Updated: January 30, 2021 By Antony Agnel 3 Comments

Hey there, you might be wondering what are the best free and open-source Android apps alternatives to most of the applications and services available on your Android-powered device. As you know already, Android development is under the control of Google – the king of online behavioral tracking which also specializes in targeted advertising.

Читайте также:  Отслеживание смартфона андроид через google

According to Wikipedia, Android OS is actually open-source but in ‘most’ devices it comes with proprietary components embedded with it. What does that mean? Is it really open source?

The answer is a big ‘NO’!

Well, I was also wondering the same and was looking for free & open-source alternatives to the conventional Android operating system, the apps, and services, etc.

Table of Contents

Free and Open Source Operating System

To obtain primary freedom from all things Google, we can make use of custom ROMs like LineageOS, AOKP, Resurrection Remix OS, etc. These operating systems are licensed under free and open-source licenses and are based on Android, that is – they are developed as free and open-source software but are based on the official Android versions released by Google.

Now, here are some free open source apps for Android –

Free and Open Source Search Application

First of all, the default Google Search app can be replaced with DuckDuckGo. DuckDuckGo claims itself as the search engine that doesn’t track you, unlike Google which uses filter bubbles for personalized search results. Moreover, some of DDG’s source code is free software hosted at GitHub under the Apache 2.0 License, but the core is proprietary.

Free and Open Source Calendar Application

Utilities like Google Calendar can be replaced with Etar.

Etar is a material design calendar based on the AOSP (Android Open Source Project) calendar.

Free and Open Source Calculator Application

The best open source calculator app available out there is the Calculator N+ Math Solver app.

Free and Open Source Weather Application

Good Weather for Android provides detailed weather in more than 200.000 cities and any geo-locations.

Free and Open Source Camera Application

Open Camera is a fully-featured and completely free camera app for Android phones and tablets.

Free and Open Source Home Launcher Applications

Google Now launcher or any other proprietary stock launcher can be replaced with Rootless Pixel Launcher (highly recommended), Lawnchair Launcher, Turbo Launcher or Open Launcher.

These launchers are freely available for anyone to use. They also allow you to personalize dozens of different elements on any android device so that you can have a home screen designed in your own unique style.

Free and Open Source Habit Tracker Application

Loop habit tracker application helps you to create and maintain good habits, allowing you to achieve your long-term goals. Detailed graphs and statistics show you how your habits have improved over time. This app is completely ad-free and open source.

Free and Open Source Web Browsers

We can replace Google Chrome with either Firefox Focus or Brave Web Browser.

Firefox is a free and open-source browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation.

Free and Open Source E-Mail Services & Application

Also, we can switch from Gmail to ProtonMail so that we can get rid of Gmail completely.

According to their official website, ProtonMail is the world’s largest secure email service, developed by CERN and MIT scientists. Also, they released the source code for the web interface under an open-source license. It’s quite easy to shift from Gmail to ProtonMail and forward all the new messages from the Gmail ID to the new ProtonMail ID. Check out this for step by step instructions on how to migrate completely to ProtonMail.
Moreover, they guarantee privacy, end-to-end encryption, anonymous email and what more – it’s 100% free!

Free and Open Source SMS Application

QKSMS brings a refreshingly beautiful and responsive material design touch to the stale state of text messaging. In a world with clunky SMS and MMS apps cluttered with bloat and ads, QKSMS is something to get excited about.

Free and Open Source Video Streaming Application

Next, we can replace YouTube with NewPipe.

NewPipe is a free and open-source YouTube client that doesn’t use any libraries that are dependent on Google’s framework or any YouTube API. It also lets you download YouTube videos with total privacy. The best part is that it lets you stream music in the background and do practically anything you can do with the official YT client.

Free and Open Source Video Player Application

The VLC media player is a free and open-source cross-platform multimedia player that plays most multimedia files as well as discs, devices, and network streaming protocols.

Free and Open Source Note Taking Application

Google Keep can be replaced with Orgzly | Notes & To-Do Lists

Currently, Orgzly is not an open-source project. Since the majority of its users are Org-mode users or users of other free software, it is the most commonly asked question. But in case it becomes free, the codes can be expected in GitHub repositories.

Free and Open Source Maps Application

Chuck out Google Maps and replace it with OsmAnd Maps (OpenStreetMap Automated Navigation Directions)

It is a free and open-source, global mobile map viewing and navigation app for offline and online maps for Android and iOS. It uses the OpenStreetMap (OSM) map database for its primary displays. The development of this project is being done on GitHub and the Android version is available under the GPLv3 license.

Free and Open Source Instant Messenger Applications

Remember, WhatsApp was bought out by Facebook for a whopping $22 Billion during 2014. Why spend so much for just an instant messaging app with no Ads? Give it a thought and if you could come up with a proper answer, please do mention it in the comments section of this post!

Signal Private Messenger is a free and open-source application for phones, that employs end end-to-end encryption and allows users to send end-to-end encrypted groups, text, pictures, and video messages and have encrypted phone conversations between Signal users on iPhone and Android. It is licensed under GPLv3.

Free and Open Source VPN Applications

OpenVPN for Android is an open-source client based on the open-source OpenVPN project. It uses the VPNService API of Android 4.0+ and does not require root access on your smartphone.

Free and Open Source Home Media Streaming/Entertainment Hub Application

Kodi® media center is an award-winning free and open source cross-platform software media player and entertainment hub for digital media for HTPCs (Home theater PCs). It uses a 10-foot user interface designed to be a media player for the living-room, using a remote control as the primary input device. Its graphical user interface (GUI) allows the user to easily browse and view videos, photos, podcasts, and music from a hard disk, optical disc, local network, and the internet using only a few buttons.

Free and Open Source Social Networking Application

We can try to migrate from Facebook to diaspora* – a privacy-aware, distributed, open-source social network.

Читайте также:  Лучшие видеопроцессоры для андроид

It is a non-profit, user-owned social network that is based on the free Diaspora software. It consists of a group of independently owned nodes (called pods) that interoperate to form the network. It is not owned by any one person or entity, keeping it from being subject to corporate take-overs or advertising.

Free and Open Source Blogging Application

WordPress for Android puts the power of publishing in your hands, making it easy to create and consume content. Write, edit, and publish posts to your site, check stats, and get inspired with great posts in the Reader. WordPress for Android supports WordPress.com and self-hosted WordPress.org sites running WordPress 3.5 or higher and is a free and open-source blogging tool.

Free and Open Source Clipboard Manager Application

Clip Stack can remember all your clipboard history and recover text after reboot. It’s a clipboard manager, a user-friendly notebook and maybe a tiny GTD manager. You can easily copy, share, star, delete and merge every text.

Free and Open Source Text Editor Application

Ted is an open-source, ad-free, lightweight text editor, meant as a notepad application and not meant to edit big files. You can create a new text file, open existing files and of course save them. You can also display line numbers and open recent files. You can also search for text inside the opened file.

Free and Open Source Music Player Applications

Google Play Music can be replaced by Vanilla Music.

The vanilla Music player is a GPLv3 licensed MP3/OGG/FLAC/PCM player for Android with the following features – multiple playlist support, grouping by artist/album or genre, plain filesystem browsing, ReplayGain support, headset/Bluetooth controls, accelerometer/shake control, cover art support and ScrobbleDroid support for Last.fm integration.

Another very good alternative is the Shuttle Music Player.

The Simple Gallery is a simple tool that can be used for viewing photos and videos. Items can be sorted by date, size, name both ascending or descending and photos can be zoomed in. Media files are shown in multiple columns depending on the size of the display, you can change the column count by pinch gestures. They can be renamed, shared, deleted, copied, moved. Images can also be cropped, rotated, flipped or set as wallpaper directly from the app.

Free and Open Source Pedometer Application

This lightweight Pedometer app uses the hardware step-sensor for minimal battery consumption. This app is designed to be running all the time without having any impact on your battery life. It uses the hardware step detection sensor of devices like the Nexus 5, which is already running even when not using any pedometer app. Therefore the app does not consume any additional battery juice. Unlike other pedometer apps, this app does not track your movement or your location so it doesn’t need to turn on your GPS sensor.

Free and Open Source Samsung Gear Fit Application

Open Fit is an open-source alternative to the Gear Fit Manager and allows non-Samsung phones to use and control the Samsung Gear Fit. It currently provides most of the features provided by the Gear Fit Manager application and some new features.

Free and Open Source Android Apps Market Application

Google Play Store itself can be replaced with F-Droid, a free and open-source Android app repository.

F-Droid is a robot with a passion for Free and Open Source (FOSS) software on the Android platform. F-Droid has an Android client to perform installations and updates, and news, reviews and other features covering all things Android and software-freedom related.

Free and Open Source Reddit Client Applications

RedReader and Reddinator are two unofficial yet open-source Android clients for Reddit: the front page of the internet.

Free and Open Source File Manager Application

Dir is a simple, beautiful, free and open-source file manager for your Android smartphone.

Free and Open Source Document Viewer/Office Suite Application

Google Docs and Microsoft Office Suite can be ditched and can be replaced by LibreOffice Viewer.
LibreOffice is the world’s most popular Open Source office app. It uses the same engine as LibreOffice for Windows, Mac, and Linux. This, combined with a new front-end based on Firefox for Android, reads documents similarly to LibreOffice Desktop.

Free and Open Source Flash Tool Application

The Rootr app (requires root) helps you to flash and backup your device recovery and kernel without rebooting it very fast and easily without a PC or any outside influence.

Free and Open Source Reference Site/Encyclopaedia Application

The official Wikipedia Android app is designed to help you find, discover, and explore knowledge on Wikipedia.

Free and Open Source Task Management Application

OpenTasks is an open-source task app in material design. This app supports basic task management and provides a user-friendly user interface. To complete a task in the list view, just hold it for a moment and fling it from the left to the right. To edit a task fling it from the right to the left.

Free and Open Source Podcast Manager+Player Application

AntennaPod is a podcast manager and player that gives you instant access to millions of free and paid podcasts, from independent podcasters to large publishing houses such as the BBC, NPR, and CNN. Add, import and export their feeds hassle-free using the iTunes podcast database, OPML files or simple RSS URLs. Save effort, battery power and mobile data usage with powerful automation controls for downloading episodes (specify times, intervals and WiFi networks) and deleting episodes (based your favorites and delay settings).

Free and Open Source Flashlight Application

Minimal Open Source Flashlight is a minimalistic flashlight application. It consists of only one switch to turn the camera LED on and off – not more, no widget, no timer, no colored display, and no unnecessary artwork. Its size is just 39KB!

Free and Open Source Bitcoin and Ether Wallet Application

Blockchain Wallet helps you keep your bitcoin and ether safe, simple, and fun. It helps you to securely store your funds and instantly transact with anyone in the world. Join more than 17 million Blockchain wallet users – access your existing wallet on your Android device or create a new one. It’s free and takes just a few seconds.

Free and Open Source GitHub Client Application

FastHub for GitHub is yet another open-source unofficial GitHub client app but unlike any other app, FastHub is built from the ground up.

Conclusion

That’s all for now. Currently, I’m hunting for more FOSS applications; I will update the list as and when I come across new alternatives.

Hope this list helps someone in search of free and open-source alternatives to the traditional proprietary apps and services available in Google’s Play Store.

Источник

Оцените статью