Questions tagged [android]

An operating system running on top of the Linux kernel, targeting mobile devices such as smartphones and tablets.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

Can I run ADB/FASTBOOT command from Android to Android

I was curious to ask that can I run ADB or FASTBOOT commands form Android device to another Android device (the host device is rooted). And if so then how... any ideas or help will be appreciated 😊.
1
vote
1answer
31 views

How to enlarge an ext3/ext4 filesystem through debugfs?

I’m in a situation where I want to enlarge the default size of an ext4 filesystem used by the firmware. The problem is resize2fs is doing extra things like clearing some filesystems features and ...
0
votes
0answers
16 views

How to know which is the real drive behind the mapped block device? [closed]

I configured my device to boot from the sd card through modifying the oem firmware. However, some partitions are still being mounted from internal storage. In the case of /data partition, I’ve /dev/...
0
votes
0answers
29 views

Slow port scan?

Probably no big deal although I have questions. Background: My home wireless was being overrun with all the devices. Have 6 people on the net and each have multiple devices. Then the kids would have ...
0
votes
0answers
14 views

How to dual-boot Android x86 and Windows 10 using Windows' metro boot loader?

I have successfully installed Bliss OS on my hard disk partition and have the Grub bootloader. I can boot windows from grub but I want to use the metro bootloader as it supports touchscreen. I have a ...
0
votes
0answers
27 views

Genymotion fails to start an Android device

I am having problem to start an android device with genymotion and virtualbox on CentOS 8 (Remote dedicated server). Both network settings, and kernel modules are enabled. The virtual machine starts ...
2
votes
0answers
32 views

How to edit a binary SeLinux policy file?

It appears root access is irrelevant on my device as everything is managed by SeLinux (the root user basically can’t execute anything). The problem is I can’t just create my new polices. I need to ...
0
votes
1answer
29 views

Can't use/format SD card formatted as internal storage

I have a SanDisk Ultra 16 GB SD Card and formatted it as internal storage in my Nokia 2.1 (Android 9 - Not rooted). I can't use or format the sd card on my phone. When I choose to format it as ...
0
votes
1answer
31 views

How Can I Add A Dual-Boot Installation of PrimeOS to my GRUB?

Recently, I installed PrimeOS (Standard version) onto my computer in its own ext4 partition. During the installation it asked if I would like to install GRUB2, obviously unaware that my computer ...
1
vote
0answers
12 views

running android apps on linux based chromebook 303c

how do I go about downloading, installing, and running android apps on samsung chromebook model # XE303C12? need step by step guide via terminal. I've tried using crouton but apparently that only ...
0
votes
0answers
9 views

Disk usage on mounted MTP file system

I mounted my Android phone via jmtpfs (I'm on Centos 7) as a FUSE file system at an arbitrary mountpoint (/phone). Is it possible to see the disk usage of all the content, the same way I would ...
2
votes
1answer
42 views

Remove extra blank lines from CMD adb shell, when redirected to file

I am outputting results from an android shell command to a file, with MS-windows cmd via ADB.exe. It outputs the correct results, but I am getting an extra line between each result. It looks ...
0
votes
0answers
35 views

Syntax error near unexpected token `<' when installing AOSP

I am trying to clone the AOSP code. Following the steps given in Documentation of AOSP. I am executing the following command on the terminal repo init /bin/repo:syntax error near unexpected token `&...
0
votes
1answer
56 views

What does “dd:0<1” mean?

I am running a shell script on a Android phone, filling the space up by create some files. Part of it as follows: while ((i < count)); do dd if=/dev/zero bs=$file_size count=1 of=file.$i.bin ...
0
votes
0answers
8 views

Installing KDE neon image on samsung phone

I'm interested in Plasma phones and also I'm aware of the difficulties of installing custom OS on the phones with android pre-installed(Gaining root access , unlocking the bootloader etc).I want to ...
0
votes
1answer
25 views

What are the device limitations for installing Linux-based Android alternatives? [closed]

I have a new Samsung Galaxy A40 and would like to use a Linux-based alternative to Android. Reasons: Privacy/security, hackability, moving away from Google. 1.) Can I install an alternative OS even ...
0
votes
0answers
22 views

How to write SEPolicy policy for MLS/MCS related types?

Can any one explain how to write sepolcies for MLS/MCS Multilevel security related allow rules. For MLS/MCS related denials, if we add policies in respective .te files also it is throwing denials ...
0
votes
1answer
38 views

Mounting android bootloader.img file in linux

I did a backup of android bootloader mtdblock using dd but having trouble to mount it https://transfer.sh/yAxnI/bootloader.img. $ file bootloader.img bootloader.img: DOS/MBR boot sector; partition 1 :...
0
votes
0answers
26 views

How can I connect my android phone to my ubuntu laptop without internet?

I have an external Wi-Fi modem. In an ubuntu laptop I have an internal Wi-Fi card and internal network card. I want my android phone and laptop to be in the same network without using internet. Is ...
0
votes
0answers
32 views

copy files from android core prime to mint 18.1

I have a samsung core prime and mint 18.1 and I'm trying to copy pictures from my phone and SD card to my computer, when I plugged it in the folders with pictures are there but i can't open them or ...
1
vote
0answers
70 views

Partition table not recognized by any of the partition management tools

I have an Android 8.0.0 device (https://www.tvbox-manufacturer.com/product_category/fire-tv-stick/) with eMMC as a storage medium. The eMMC is removable (BGA socket on the Board). The device boots ...
0
votes
1answer
181 views

How to install dsniff package on termux?

I was trying to install dsniff package to use dnsspoof. I tried this command: apt-get install dsniff but I got this error: E: Unable to locate package dsniff What am I missing?
0
votes
0answers
60 views

Android memory manipulating

As root user when i try to modify my own application memory with ptrace and /proc/$pid/maps and /$pid/mem everything is going well, But when i try to attach ptrace to process of another application ...
0
votes
1answer
540 views

Running multiple emulators with the same AVD is an experimental feature

I was able to get a remote viewer set up on my mac to remote view a Fedora server desktop. I run ~/android-studio/bin/studio.sh to launch Android Studio. I open AVD manager and try to boot up an ...
0
votes
0answers
88 views

su -c no such file or directory on Android 9 aarch64

I have a rooted android phone use Lineage OS 16 (based on android 9). Architecture is 64 bit. There is a file called andraxzsh which has the code su -c /data/data/com.mytestapp/APPS/bin/bash ...
0
votes
0answers
25 views

How to install a c compiler on Multibox Linux for TV

I have a multibox (maxytec multibox) for TV channels, and I need to install a C compiler there. I tried installing gcc with opkg but no success, also when I try to update with opkg I get errors. I ...
0
votes
2answers
58 views

Command to automate the differentiation SailfishOS+Alien Dalvik from an android device

EDIT0 : I have 3 smartphones : One Jolla1 smartphone with SailfishOS v3 + Alien Dalvik and 2 android smartphones. I want to be able to differentiate them in shell language : On my Jolla1 Linux : $ ...
1
vote
1answer
222 views

How can I know the hostname of an Android phone for use in SSH connection? [closed]

When setting up public key authentication on SimpleSSHD server on my Android phone, by http://www.galexander.org/software/simplesshd/ Quick start Install SimpleSSHD. On any computer which ...
0
votes
1answer
220 views

How can I use public key authentication to access a ssh server on android?

My android 4.4.2 (it is old but can't be upgraded) phone runs a SSH server by SimpleSSHD app. It generates different random password at every login, so is very inconvenient for me as a client user. ...
1
vote
1answer
221 views

Understanding /dev folder in linux (android)

I am trying to understand how linux filesystems work, but the only linux system I have is my android phone (rooted) so I am asking on the basis of what I see oin the android phone using adb shell. ...
0
votes
0answers
22 views

How to enable snapshot boot in Linux/Android?

I want to reduced boot time of linux/android, I read many article, its only possible with snapshot/quickboot in linux/android. Please let me know how to enable snapshot boot in linux/android ?
0
votes
0answers
46 views

AArch64 Page Table Configuration

Not sure if this question has been asked... Is there a way to check the page table configuration of an Android device? I sort of understand how translation table walk works after reading the ARMv8 ...
0
votes
0answers
125 views

Initramfs not able to mount /system

I Built 3.18 kernel for my android device. its stuck at init where the init is supposed to find the /system from Android DT and mount it , unfortunately it fails to find the location the error from ...
1
vote
1answer
413 views

Start Failed: Failed to initialize graphics environment | Debian 10

I recently installed Debian 10. When I try to install Android Studio, I get this error : No protocol specified Start Failed: Failed to initialize graphics environment java.awt.AWTError: Can't ...
1
vote
0answers
16 views

I want a shared folder between Arch (host) and Android

I have a music folder of nearly 10 GB, of completely offline music. I want to keep it on my phone, so i can take it on the go. The simplest answer is a file transfer between my phone and PC, however ...
0
votes
0answers
468 views

Triple Boot Ubuntu, Windows 10, Android x86 Need to add Android to Grub2

I am triple booting my PC. With Windows10, Ubuntu 19.04, and PrimeOS v0.4.5 standard. I read another related question on here and the answer was to add the following in /etc/grub.d 40_custom: ...
0
votes
0answers
24 views

How to raise android kernel poll frequency for power supply values in sysfs?

I'm new to the linux kernel and I'm trying to understand how the process of updating battery state values on sysfs (/sys/class/power_supply/battery) happens. Currently I believe the sampling period ...
0
votes
0answers
21 views

Finding which process is modifying the network

I want to find which of the running processes are modifying the network configuration in Android/Linux. I do an "ip route" configuration but it is gone after some time. I check the network ...
0
votes
2answers
27 views

Is there a program to pair my phone with my computer for SMS messaging?

Sometimes I have to manage a conversations over SMS through my phone. This is especially frustrating when I'm trying to get work done on my computer. I don't mind holding a conversation but there is ...
1
vote
0answers
432 views

Format Data using mkfs.f2fs Android

How to format android data using mkfs.f2fs I rebooted to twrp and ran the following command in cmd adb shell mkfs.f2fs /dev/block/mmcblk0p87 and i got the following output F2FS-tools: mkfs....
0
votes
0answers
31 views

New system.img created after unpacking and packing won't boot

So I am trying to replace some small text files and add some apks into the system files of android. I am working on an emulator for api levle 25 x86 and no gplay. The system.img file is of around 2.5 ...
0
votes
1answer
406 views

error: ext4_allocate_best_fit_partial: failed to allocate 3967 blocks, out of space?

I am trying to build system.img from a folder which contains system files(extracted from system.img) the system.img is for Api level 25 on emulator( Android SDK) I am trying to run this command ...
0
votes
0answers
78 views

Mount drives in prime os

I have dual booted prime OS with UBUNTU. Its running smoothly. Only problem is that I cant access my /root partition. Is there any method to mount Linux partitions in Prime OS?
2
votes
0answers
170 views

Restoring Android “userdata” partition from an eMMC - Unknown filesystem

I have successfully dumped an Android (7 or 8) filesystem from an eMMC chip into file sony_xa1.img using dd. I'm able to mount the system partition but not userdata. Using $ sudo losetup -Prf ...
1
vote
1answer
677 views

linux-deploy-root-access-problem-with-kali-linux

I have installed kali linux through linux deploy on my android phone. When i try to ssh into the kali linux it’s ask for password if i give the password which was entered before installing kali linux ...
4
votes
1answer
42 views

From where does “ps” on Android get user names?

I have an Android tablet that I got a terminal program from Google Play Store. When I issue the "ps" command, it shows various names for the users running the processes. There is no /etc/passwd file ...
1
vote
1answer
631 views

Full path of running processes in Android?

I have a rooted install of Android on my phone and a terminal emulator. I can run su and then commands like ps and top, however they only show me things like com.android.deskclock for running apps, ...
0
votes
0answers
78 views

How to automatically enable usb tethering whenever I connect my android device to the PC?

I am running arch linux on my pc and want to enable usb tethering automatically when I connect my android phone to the pc. I am new to the linux world. The command to enable usb tethering when the ...
0
votes
0answers
30 views

connect bluetooth handsfree to smartphone (android) and laptop (Ubuntu) at the same time

when I connect my Bluetooth hands-free to the Android smartphone, I must disconnect it from my ubuntu laptop and vice versa. That is, it does not work on both devices simultaneously Is there any way ...
3
votes
2answers
287 views

Is it possible to install a full-blown desktop Linux distro on an Android smartphone?

This may be a stupid question, but is there any way to overwrite Android with a full-blown desktop Linux distro on an Android smartphone? I looked at a few tutorials, though they only seem to emulate ...

1
2 3 4 5
10