[Linux] Install postmarketOS Linux on the Poco F1 - Xiaomi Poco F1 Guides, News, & Discussion

postmarketOS (or pmOS for short) is a full Linux distribution for mobile devices and has a rather stable and actively developed port for the Poco (albeit missing key features). You can even choose your desktop environment with choices ranging from mobile friendly like Librem 5's Phosh to full desktop environments like XFCE4.
postmarketOS website: https://postmarketos.org/
postmarketOS wiki: https://wiki.postmarketos.org/wiki/Main_Page
postmarketOS Poco F1 wiki page: https://wiki.postmarketos.org/wiki/Xiaomi_Poco_F1_(xiaomi-beryllium)

Is it possible to install apps like JDownloader?

amn1987 said:
Is it possible to install apps like JDownloader?
Click to expand...
Click to collapse
If they have linux arm builds yes

Nice video. Thanks for creating a video on our work!

CedArctic said:
If they have linux arm builds yes
Click to expand...
Click to collapse
JDownloader runs in Raspberry Pi and a bunch of other SBCs and NAS devices which are mostly ARM and run Linux. So I guess it's doable?

LibreOffice can now be installed on a PinePhone running PostmarketOS. The Pocophone F1 is faster than the first PinePhone. To have LibreOffice on a PostmarketOS Poco F1 would be highly desirable.
An Instruction how to install LibreOffice on a PinePhone with PostmarketOS can be found on my personal website. The instruction can eventually be used to install LibreOffice on a PostmarketOS Poco F1:
https://petergamma.org/how-to-resol...ice-running-on-a-pinephone-with-postmarketos/

it is very complex the postmark to install ...
there is another possibility postmark to install
install with fastboot or twrp possible?

kafitüfo said:
it is very complex the postmark to install ...
there is another possibility postmark to install
install with fastboot or twrp possible?
Click to expand...
Click to collapse
It's not that complicated actually, try to follow this after installing pmbootstrap:
postmarketOS - Mate
-pmbootstrap init
-pmbootstrap install
-pmbootstrap flasher flash_rootfs --partition userdata
-Fist thing that I recommend after installation is to move the top bar to the bottom due to the notch covering it, than you can persoalise as you want.
Display
set display scaling to 200%, apply and logout
On our pocof1 I don't recommend yet to change screen rotation unless you know what you are doing, turning the screen to landscape via the displays settings will make your touch screen not follow the screen rotation and you will have hard time to put it back.
Store app
-Install "Discover" store (sudo apk add discover)
-sudo apk update, to make Discovery work you should open a KDE installation link from web browser or "Discover" will close itself when opened (e.g. search for kde clock on google and open the first link "Clock - KDE Applications") hit the "Install on linux blue icon" hit open link and Discover will open, this time you will have lots of apps available.
obs: launch apps from Discovery does not work however you can uninstall apps from it.
Firefox
to make Firefox touch screen friendly follow the postmarketOS wiki
https://wiki.postmarketos.org/wiki/Xfce4#Firefox
phone apps
-sudo apk add calls
-sudo apk add chatty
-sudo apk add gnome-contacts
-sudo apk add modemmanager
-sudo rc-service modemmanager start
-sudo rc-update add modemmanager default
this is just a compilation of information gathered from the wiki and my experience on it.
i don't own nothing here.

Hi
Can I run whatsapp.apk without compatibility issues?

cesarbrofc said:
Hi
Can I run whatsapp.apk without compatibility issues?
Click to expand...
Click to collapse
Since postmarketos is Linux, not Android, you'll either need to use the web whatsapp version or run it through Waydroid

Related

[Android iA[ JB 4.2.2 Dualboot/Bare metal

Run JB 4.2.2 NATIVE (EFI bios only)
Diualboot with win8/linux/osx. - This is NOT a x86 emu - its bare metal
https://01.org/android-ia/documentation
Required materials:
•1GB or larger USB thumb drive
•A supported target device
•A laptop or PC running Linux, Windows, or Mac OS with working internet connection
Step 1: Back up your existing OS and all data on your device. The Android-IA installer will erase everything and repartition your hard drive automatically.
Step 2: Download the latest installer image for your device from the Downloads page.
Step 3: Prepare the USB thumb drive
Linux users:
•Unzip the downloaded file: `unzip your_installer_file.zip'
•Insert the USB thumb drive into your machine
•Open your terminal application and find the device name of the thumb drive. Run `dmesg' and look near the end for a name like "/dev/sdX" where X is a letter.
•Unmount any partitions that were automatically mounted: `sudo umount /dev/sdX*' (Where X is the letter from above)
•Write the live.img file from the extracted zip to the USB flash: `sudo dd if=live.img of=/dev/sdX bs=1M conv=fsync' (Where X is the letter from above)
Windows users:
•Extract the installer image from the downloaded zip file
•Download "Image Writer" application from https://launchpad.net/win32-image-writer/ and extract it to a folder of your chioce.
•Insert your USB drive into your computer.
•Find the drive letter of your USB drive by opening 'My Computer' on the desktop.
•Run Win32DiskImager.exe from Image Writer's directory.
•In Image Writer's window, select the installer.img you extracted from the downloaded zip
•In Image Writer's window, select your thumb drive's letter that you found in 'My Computer'
•Click "Write" and wait until the process is over.
Mac users:
•Extract the installer image from the downloaded zip file
•Open the Terminal (under Utilities)
•Execute `diskutil list' to get the current list of devices
•Insert your USB drive into your computer.
•Execute `diskutil list' again and determine the device node assigned to your flash media (e.g. /dev/diskN)
•Execute `diskutil unmountDisk /dev/diskN'
•Execute `sudo dd if=live.img of=/dev/diskN bs=1m'
•Execute `diskutil eject /dev/diskN' and remove your flash media when the command completes.
Step 4: Prepare device for installation:
•Set the device to boot from the USB thumb drive (device-specific instructions can be found on the devices page.
•Make sure "UEFI Boot Support" is enabled in the BIOS.
Step 5: Install the system.
• Plug in the USB thumb drive with the Android-IA installer image created in step 1
• Power on the device
• From the boot menu, choose "Install Android to hard disk"
• Wait until the installer finishes
• Unplug the USB thumb drive
• Power off the device by holding down on the power button for 10 sec., then power on the device and choose "Boot Android system" (or let the countdown timer expire)
You're done! Enjoy your Android-IA device.
Click to expand...
Click to collapse
Move post if in wrong section plz...
Sent from nexus 4 AOSP
Hello.
I installed the latest Android-IA (android-4.2.2_r1-ia1) on my Acer Iconia W700, and it works perfectly. The only downside (however, huge one) is the lack of libhoudini - without it half of android apps refuse to load on x86 processor. Which, by the way, scores ~70000 in Antutu (!)...
I searched everywhere, but there's just too little information on both libhoudini as well as Android-IA . Please, can anyone help in porting this library to Android-IA? I know it is not open source, but so are gapps, and Android-x86 already uses libhoudini. So there shouldn't be any real difficulties...
WBR, Draco.
Drakosha said:
Hello.
I installed the latest Android-IA (android-4.2.2_r1-ia1) on my Acer Iconia W700, and it works perfectly. The only downside (however, huge one) is the lack of libhoudini - without it half of android apps refuse to load on x86 processor. Which, by the way, scores ~70000 in Antutu (!)...
I searched everywhere, but there's just too little information on both libhoudini as well as Android-IA . Please, can anyone help in porting this library to Android-IA? I know it is not open source, but so are gapps, and Android-x86 already uses libhoudini. So there shouldn't be any real difficulties...
WBR, Draco.
Click to expand...
Click to collapse
Antutu score 70000!? really? You are using the i5 model?
Drakosha said:
Hello.
I installed the latest Android-IA (android-4.2.2_r1-ia1) on my Acer Iconia W700, and it works perfectly. The only downside (however, huge one) is the lack of libhoudini - without it half of android apps refuse to load on x86 processor. Which, by the way, scores ~70000 in Antutu (!)...
I searched everywhere, but there's just too little information on both libhoudini as well as Android-IA . Please, can anyone help in porting this library to Android-IA? I know it is not open source, but so are gapps, and Android-x86 already uses libhoudini. So there shouldn't be any real difficulties...
WBR, Draco.
Click to expand...
Click to collapse
I remember finding a manual install of libhoudini somewhere but it didnt work. That was with the february version of A-IA, though.
Sent from my 700T using XDA Premium HD app
Drakosha said:
Hello.
I installed the latest Android-IA (android-4.2.2_r1-ia1) on my Acer Iconia W700, and it works perfectly. The only downside (however, huge one) is the lack of libhoudini - without it half of android apps refuse to load on x86 processor. Which, by the way, scores ~70000 in Antutu (!)...
I searched everywhere, but there's just too little information on both libhoudini as well as Android-IA . Please, can anyone help in porting this library to Android-IA? I know it is not open source, but so are gapps, and Android-x86 already uses libhoudini. So there shouldn't be any real difficulties...
WBR, Draco.
Click to expand...
Click to collapse
Did you ever find a solution to this?
DJDrew said:
Did you ever find a solution to this?
Click to expand...
Click to collapse
Hi there
I'd also be glad to hear more about that...From what I could gather so far, there is no fully working ARM translator / libhoudini solutions for android IA. Hence the only solution would be to switch to android x86...
Change dpi and get bluetooth working with android and windows 8.1 at the same time
Do these changes if you are confident in your skills. I'm student and quite busy so if you ask something it can take some time for me to answer. Damages you might do to your system are your own responsibility. I have tested these instructions with Acer W700 on android-4.2.2_r1-ia3 and can confirm that they worked for me.
First changing dpi from original 213 to 160:
1. Get file manager on android like ES file Explorer
2. R/W rights to whole system on android
3. From root go to /system/etc/machine-props/
4. Open acer-w700.prop with ES Explorer and edit line "ro.sf.lcd_density = 213" and change 213 to 160
5. Reboot android and system should now be 160 dpi
Now about that bluetooth. I find it annoying that you have to pair your bluetooth mouse and keyboard again every time when you switch between android and windows 8.1. So I did research and found a way to fix this problem and here's how to do it. I can confirm that this works with Acer bluetooth/cover keyboard and MS Sculpt touch mouse.
1. Pair your bluetooth devices first with android and the with Windows
2. On Windows download PsExec
3.Then from downloaded file copy PsExec.exe in Windows to directory C:\Windows\System32 or to directory where your System32 folder is.
4. Write in the search cmd and run it as administrator
5. Then use command: psexec -s -i regedit.exe
6. Now go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT\Parameters\Keys
7. From \Keys you can find your paired bluetooth devices. First there is the devices bluetooh mac address and 32 numbers long linkkey. Now write those linkeys and mac addresses up or copy them.
8. Now everything is set on Windows side. Next boot to android.
9. On android you need again for example ES file Explorer and R/W rights
10. With file Explorer fro root go to /data/misc/bluedroid/
11. Open file called BT_config.xml
12. From text find your devices using mac address
13. When you find you devices mac addres scroll down and you should see line with linkkey and 32 number code.
14. Now take that 32 number code you got from Windows
15 You have to change it little so the linkey works and here how it's done:
for example your Windows linkkey is "12345678qwertyuiasdfghjkpoiuytre" now set it as 8 number clusters like this
"12345678 qwertyui asdfghjk poiuytre"
Now you have to reverse those 8 number clusters
Take the set on far right "poiuytre" and mark it like this "po iu yt re"
Now reverse those pairs like this "re yt iu po"
Now "reytiupo" this is the first line in the new linkkey
Do the same for other three cluster. After it's done this example linkkey looks like this "reytiupojkghdfasuityerqw78563412"
16. When you have your modified Windows linkkey ready you can just replace the old one from the file BT_config.xml
17. Now just reboot android and your keyboard and mouse should work.
I've found that sometimes when switching from Windows to android bluetooth doesn't connect. Just reboot android and your bluetooth devices should connect.
I would have posted this on deveopers site where people visit more often but you need 10 posts and this is my first one so if you can you should link my post there so more people can enjoy these instructions.
Thank you for reading this and don't forget to like it :good:
Anyone know where to find the source code for this?

Danuntu, a custom Ubuntu distro for android sticks!

Hello!
I have created a custom Ubuntu distro called Danuntu. It can be installed on any device (not only sticks but also tablets) that have a recovery kernel and a Ubuntu kernel ported for their CPU. Here are danuntu's main features in a nicely formatted text column:
Easy to install.
Danuntu is extremely easy to install. All you need is a windows or linux system (you can even use a SE208BW or a raspberry pi!), your android stick,an internet connection and ten minutes.
Easy to use.
Danuntu is made to be easy to configure and use.Wireless configuration is simplified by wpa gui, and then you can have fun browsing the internet and playing games!
Lots of flavours.
Lxde, xfce, gnome, unity and kde desktop versions are aviable. Also a base version without desktops is provided. I am working on the enlightenment e19 flavour.
Pure Ubuntu experience.
Only a few additional programs are installed and everything is up to date.
Can be installed everywhere.
Danuntu can be installed not only on rk3066 sticks but also on any other arm(hf) stick, phone or tablet. I am providing danuntu versions without a kernel so that you can install your own.​
To install danuntu simply follow the instructions on my danuntu website: danuntu.magix.net
Daniil Gentili

[Android-x86] All in One - Tips, Tricks, Apps & Etc | Bug & Issues | Q&A

Hi XDA ,Hi Friends And Welcome Guest
Before everything Remember that Please hit Thanks when someone helps you out!
Download Android x86:
There are several versions, but I suggest you Download this version :
Android-x86 4.4-r1 live & installation iso
on Aug 8, 2014, by Chih-Wei Huang
Install Android x86:
There are several methods, but I suggest you follow me
Make the system R/W for root access
[HOW-TO] Install Android x86 on any PCs / Laptops / VM
Manage Ext Partition from Windows:
You need to install ext2fsd
Ext2Fsd is an ext2 file system driver for Windows (2k, XP, Vista and Win7). It’s a free software. Anyone can modify or distribute it under GPL2.
Downloads:
View and download Ext2Fsd packages
Express Installation with Ext2Fsd installer:
Double click on Ext2Fsd-version.exe to execute Ext2Fsd installer and follow the setup wizard to install and configure Ext2Fsd.
To uninstall Ext2Fsd, just click “Uninstall Ext2Fsd” in start menu, or use Add/Remove programs in control panel to uninstall. Need restart your computer to get it finished.
Done
if you wanna add something to sd card just follow this path:
X:\android-4.4-r1\data\media\0
Please hit Thanks when someone helps you out!
Edit Grub Bootloader
Follows this path on windows
X:\grub
And find menu.lst
Then open with Notepad or Notepad++ and edit lines.
The example of menu.lst ( don't use for yourself )
HTML:
default=0
timeout=6
splashimage=/grub/android-x86.xpm.gz
root (hd0,4)
title Android-x86 KitKat
kernel /android-4.4-r1/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 video=-16 SRC=/android-4.4-r1
initrd /android-4.4-r1/initrd.img
title Windows
rootnoverify (hd0,0)
chainloader +1
Install App on Android x86:
Tap the clock on the taskbar, tap the pop out that appears, and then tap Settings.
Scroll down the list and tap Security, then on the right, scroll down and tap Unknown sources.
Tap OK on the prompt that appears.
1. Install Apps From Google Play Store
2. Installing app Using The Conventional Method
Step 1: Use Windows and Copy .apk file to this path
X:\android-4.4-r1\data\media\0
Step 2: Run File manager from Android and install file from this path:
\data\media\0
3. Installing app using Dropbox
Tweaks:
Android Xposed: tweak your phone's UI
[ROOT] Kernel Tweaker | Original Thread
Clean Master Phone Boost
Check Post #2 & #3. ​
Bug & Issues
Recovery:
CWM - TWRP ???
Flash Gordon????
Not work
If you have any idea pleas help us. :laugh:
Apps - Tools - Utility
Mount internal hard drive:
Automatically mount and dismount USB sticks on various devices like the Galaxy Nexus, Nexus 7 and Nexus 10. The Nexus 4 is not supported - this is an issue with the device, not with StickMount !
[APP][01.07.2014] StickMount v3.10 [ROOT]
Change Language on HW Keyboard:
A non visible soft keyboard (Input Method) intended to be used with hardware Bluetooth and USB keyboards. It automaticly detects Bluetooth keyboards (and in some cases also USB keyboards) and brings up the Input Method dialog. It also supports a lot of different keylayouts for non-US external keyboards.
[Android 1.6+] External Keyboard Helper Pro
Turn Ethernet To Wifi:
If you want an app that needs wifi And you want it to run on ethernet Go here
[MOD][Xposed] Fake Wifi Connection [1.6]
Fake GPS or Mock Locations:
Go Here and check it : [APP][OSS] Fake GPS Path
Rotate everything In landscape Mode:
Rotation manager is a tool that lets you choose which application you want to rotate or which one you don't want to rotate. It is a really simple app designed for the least possible power and RAM consumption.
Download From Here

			
				
Duel Boot for Windows:
Easy BCD:
EasyBCD Community Edition allows you to create a multiboot environment in order to run multiple operating systems on the same computer.
The application also features BCD (Boot Configuration Data) Backup/Repair utilities that provide users with the possibility to reset the BCD configuration or recreate and repair boot files.
Download Link
http://www.softpedia.com/get/System/OS-Enhancements/EasyBCD.shtml
Installing Windows After Android-x86
There are two different approaches:
Recovering GRUB after re-installing Windows
Please refer to the Reinstalling GRUB2 guide.
Master Boot Record backup and re-replacement
This method does not work for computers with UEFI boot. In consequence, it won't work for pre-installed Windows8 and some pre-installed Windows7.
Back-up the existing MBR, install Windows, replace your backup overwriting the Windows boot code:
Create an NTFS partition for Windows (using fdisk, GParted or whatever tool you are familiar with)
Backup the MBR e.g. dd if=/dev/sda of=/mbr.bin bs=446 count=1
Install Windows
Boot into a LiveCD
Mount your root partition in the LiveCD
Restore the MBR e.g. dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1
Restart and Ubuntu will boot
Setup GRUB to boot Windows
reserved
The Android-x86 4.4-r2 released (the second stable release of kitkat-x86).
http://www.android-x86.org/releases/releasenote-4-4-r2
Stable - Fast

[TOOL][OPEN SOURCE][JAVA] Lockscreen Gesture Pattern Cracking Tool

REQUIREMENTS
Oracle Java 8 +
HOW IT WORKS
So I saw this on some shady Russian website and decided to make it more open. I researched more of it on Google and found out it was quite popular.
Your lockscreen gesture pattern is saved as an unsalted hash under the data/system folder in a file "gesture.key".
This is actually an unsalted SHA-1 hash of a sequence of bytes representing your oh so secure pattern! We shall brute force it with ourincluded custom dictionary. So the pattern can easily be surpassed, the only problem is getting to the gesture.key! Use SE or one of metasploits android privilege escalation modules.
For the nerds: http://www.cclgroupltd.com/a-rainbow-table-for-android-pattern-locks/
TL;DR We take the gesture pattern's hash and brute-force it.
USAGE
In your terminal call:
Code:
java GestureCrack gesture.key AndroidGestureSHA1.txt
Reference your paths accordingly
Source
https://gitlab.com/ken-okech-94/android_lockscreen_gesture_pattern_crack/
Download
https://www.mediafire.com/?10845bg1v6djkfg
Have fun and use the tool for white hat causes :angel:
Changelog/Issues/Bugs
Reserved
kenokech2 said:
Reserved
Click to expand...
Click to collapse
It would be nice if you give the instructions how to use it
Explicit Instructions
miju12 said:
It would be nice if you give the instructions how to use it
Click to expand...
Click to collapse
1. Clone the repo or download the compiled binary(Find the links above)
2. Install Oracle Java 8
Java 8 is important cause I used some of the new features while coding the bruteforcer
3. Add Java 8 to your path if on Windows
4. Run it like a normal Java class with the first argument being the location of the key and the second being the loaction of the custom SHA1 dictionary.
Thank you.

[TOOL][Linux/Windows] Mirror Android Screen To PC [NO ROOT]

Seven Square​Android screencast wroted in QT. There is one written in java? Forget it from now on.
A tool used to view a mirror screen of your Android device on the PC, used for demostration, debuging, and so on. even you can click on the mirror screen as you touch on the device panel.​
Click to expand...
Click to collapse
Features
Major:
 Click and swipe on the screen (so you can unlock screen by swipe)
 Virtual menu/home/back key on the UI
 QWERTY key support (just type via your keyboard)
 Auto connect to your device when plug in
 Click on window to wakeup the device (emulate power key press event)
 Support both Android ICS and Jelly Bean. Froyo not full tested
 Written in Qt 4.x, easily port to different desktop environment
Minor:
 Rotate view windows on demand (Press F12)
 Virtual cursor (pointer anchor) on the UI
 Auto resize to fit the screen resolution of the device
 Zoom window as your wish and keep the ratio
 Support customized 'screencap' for speeding up (RGBA32, RGB888, RGB565)
 Auto enable compressed data transfer if 'minigzip' found on the host
 1~2FPS on MSM8625 device (1.2G dual core, 512M memory, 800x480)
Non-feature:
 Does not support multi devices plugged in at the same time.
 Does not support screen recording as video
 Does not support screenshot as picture
Click to expand...
Click to collapse
Requirements
Linux, any distribution with Qt package.
Qt 4.x+ installed in your system
Screencap command on the target device
*To check type:
Code:
adb shell ls /system/bin/screencap
*If the output indicates: 'No such file or direcotry', you can use the tool except install one by yourself.
USB cable connected to your android device
Click to expand...
Click to collapse
Install
Download & extract to your home folder
Code:
cd $HOME/Seven-Square-master/sevensquare/
Install dependencies
Code:
apt-get install qt4-qmake libqt4-dev libqtcore4 libqtgui4
Code:
make
Run from source
Code:
./build/seven-square
Install system wide
Code:
make install
Click to expand...
Click to collapse
DONT HESISTATE TO PRESS THE THANKS BUTTON
Click to expand...
Click to collapse
XDA:DevDB Information
Seven Square, Tool/Utility for all devices (see above for details)
Contributors
Ac.3
Source Code: https://github.com/AcePH/Seven-Square
Version Information
Status: Stable
Created 2017-08-30
Last Updated 2017-08-30
Github: https://github.com/AcePH/Seven-Square
Waiting for a windows version ...
Nonta72 said:
Waiting for a windows version ...
Click to expand...
Click to collapse
I'm working on it
Sent from the beige bra section at Target.
Ac.3 said:
I'm working on it
Sent from the beige bra section at Target.
Click to expand...
Click to collapse
I saw Windows under that brackets, that's what got my attention in the first place hahahh
I hope you can integrate the ability to control the screen from the computer. Vysor Chrome extension is great for that, but these guys have ruined it now with their premium feature thingy ...
And Windows' Connect Application in windows 10 doesn't have ability to control the phone.
Nonta72 said:
I saw Windows under that brackets, that's what got my attention in the first place hahahh
I hope you can integrate the ability to control the screen from the computer. Vysor Chrome extension is great for that, but these guys have ruined it now with their premium feature thingy ...
And Windows' Connect Application in windows 10 doesn't have ability to control the phone.
Click to expand...
Click to collapse
It already has the option to control the screen from linux but not on windows since I forked it from an abandoned project... I managed to port and I'm using it on Win 8.1 64bit but it's lagging right now with a lot of bugs..
I'll post the testing Win version and source later on and see if anyone could help
Ac.3 said:
It already has the option to control the screen from linux but not on windows since I forked it from an abandoned project... I managed to port and I'm using it on Win 8.1 64bit but it's lagging right now with a lot of bugs..
I'll post the testing Win version and source later on and see if anyone could help
Click to expand...
Click to collapse
Sure thing!

Categories

Resources