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
1answer
10 views

My daemon process missing [closed]

I had created a simple daemon that did nothing in C while practicing our portions topics. Our portions doesn't specify where or how to remove our daemon completely nor how to find it and I am stuck. I ...
0
votes
1answer
21 views

Android: Deleting Hardware files leads sometimes to brick the phone

I started recently to look up for a way to permanently disable my wifi, bluetooth, NFS, Network and GPS. Unfortunately I didnt find a proper method to do that. There was the option to physically break ...
0
votes
0answers
9 views

Why Toast shown in Android 4.1, while not in 8.0?

In my APP, I had a Toast calling in class BroadcastReceiver: package com.example.test_broadcastreceiver; import android.content.BroadcastReceiver; import android.content.Context; import android....
0
votes
0answers
16 views

Understanding output of iptables -L, ip rule show (policy based routing), and ip route with multiple tables

I'm looking for is a good explanation of how to interpret the output of iptables -L and ip rule show in conjunction with the ip route show table <table_name> commands. I am struggling to ...
0
votes
0answers
4 views

Cant click anything on Android Studio unless I open it by root

Good day, I have CentOs Linux, and I have install Android Studio on it. I open the Android Studio 4.0 by terminal, I cd to /opt/android-studio/bin, and run ./studio.sh The Android Studio software will ...
-1
votes
1answer
34 views

Extract single field from string in android emulator environment [closed]

I am running android emulator with the adb shell I try to extract the field _id=number from a query output. The "raw" result looks like: Row: 9991 last_time_contacted=0, phonetic_name=NULL, ...
0
votes
0answers
8 views

gvfs works in Krusader, with an Android phone, but “can't write into …” when trying to copy a file into it

I use Krusader to access my Android phone and copy files to it. The path is this /run/user/1000/gvfs/mtp:host=<my_phone123>/ Firstly, it won't display the content of that path, even though it's ...
0
votes
0answers
7 views

Android friendly desktop manager for vncserver

I want to use an android tablet as a second screen to ubuntu PC. What I did up to now: #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey export XKL_XMODMAP_DISABLE=1 xmonad & evince some.pdf ...
4
votes
2answers
875 views

Android vs Linux scripts [closed]

I am trying to find differences between Linux scripts and Android scripts. But I cannot find any specific differences in syntax. For example things that the Android scripts can do but Linux scripts ...
1
vote
1answer
24 views

File visible on Android device while copying via MTP, then disappears as soon as transfer completes…why?

Linux Mint 19.3 laptop copying a 400 MB file via MTP (in Caja) to an Android 7.0 tablet. While it's copying, the file is visible in the stock Files app on the tablet, and I can keep hitting the ...
1
vote
1answer
22 views

Understanding the usb call stack

I am trying to understand how devices are communicating over USB in linux, specifically for mobile android devices, so I can connect a DIY project to my phone via USB. After doing some search, I only ...
0
votes
0answers
20 views

Blank android studio window in xmonad window manager

I've recently installed android studio on arch linux running xmonad window manager and when i open android studio it crashed like this. Same question on redit.
0
votes
0answers
532 views

How to install anbox in Fedora 32?

The Problem I'm trying to install this android emulator using snap. This is what I have done, so far: installed anbox, following instructions in Snapcraft; installed kernel-devel; tried to install ...
0
votes
0answers
6 views

linux hibernation mode in embed system

Linux hibernation mode looks like perfect to improve device boot up time. but till now, I do not find hibernation mode used by mobile phone (android) or other embed device. Is there still any ...
0
votes
0answers
51 views

EasyTether Internet Disconnect on OpenWRT Router

I've been working on developing a router build using EasyTether. The problem I'm being faced with, is it will randomly disconnect me from the internet, generally for around 2 minutes, during which I ...
0
votes
0answers
12 views

creating/booting/ MultiOS sys Kubuntu 20.04, Android x86, & hoping to add win10

Alright so I am majorly frustrated. I am, well I had thought I was entering the space of moderate user but after this whole scenario...I am demoting myself back to brand new no nothing. So this my ...
0
votes
0answers
12 views

Unable to detect when a USB is plugged/unplugged with inotify [duplicate]

I'm trying to detect when a USB device (Android Device) is plugged into my computer. I know when I plug a device in, this file is changed /sys/kernel/debug/usb/devices and if I do a grep for the UDID ...
0
votes
0answers
43 views

How to forward traffic from eth0 to ppp0 on Android

I am using Android 10 on a custom device. The Android image has been generated by AOSP. I need to forward the traffico from the eth0 to the ppp0 (LTE module) interface. I've managed to enable the ppp0 ...
0
votes
1answer
28 views

Page caches eat RAM and vmpressure

The bottom line is a situation when Linux kernel eat about all available RAM that we have (and I do understand that it's completely OK, and that memory still available and can be reclaimed: https://...
0
votes
0answers
672 views

Can you meaningfully install PureOS on an Android phone?

Background: There have been a multitude of articles on the subject of installing Linux to your android device. However, most of these expect the end result to be little more than a pocket computer... ...
0
votes
0answers
71 views

connecting android phone to debian (via pcmanfm) gives error: “The name :1.2287 was not provided by any .service files”

I'm trying to connect my android phone to my system. from phone I "allow" the connection, but both before allowing and after it, I face the following error: The name :1.2287 was not provided ...
0
votes
1answer
114 views

Everything freezes when opening second project in Android Studio 4.1 on Linux Mint 20 (based on Ubuntu 20.04)

This doesn't happen when I open the first project. But it happens after a few minutes, when I close the first project and open another project, or when I open the second project in a new window. ...
0
votes
0answers
65 views

Issue Setting Up Flutter on Debian

I am thoroughly stumped, I really don't know what to do. I have manually set the android-studio-dir using flutter config, I have tried to set targets for ANDROID_HOME and ANDROID_SDK in the ~.bashrc ...
0
votes
1answer
34 views

Reserved disk space

Is it possible to know who is using the reserved disk space i.e which process is using it ? I am trying to understand which process are trying to eat up the reserved disk space.I am new to this area ...
3
votes
1answer
52 views

Why is installing a custom OS on an android phone that difficult?

From what I understand there should not be much of a problem installing the (arm supporting) Linux distribution of your choice on an Android device, once the bootloader is unlocked. My thought is ...
0
votes
0answers
22 views

Install Android SDK problem

everyone. I am trying to set up android-studio on my Linux mint 19.3 trica. I almost done installing. But stuck at SDK installing; clearly my system doesn't contain valid SDK. But the installation ...
0
votes
0answers
411 views

How I Replace Android With Linux (or anything less)

I have a Remix Mini with 2 GB RAM, 16GB internal storage (14.3GB actual size) and it's based on arm64 (aarch64) architecture. I'm going to replace this with Linux because I'm trying to convert this ...
0
votes
1answer
55 views

Got 'Error getting file: -7: I/O problem' on one file (I guess) while transferring photos via usb cable from Android to Debian 10

I was getting a libmtp copy error until I switched usb transfer mode on Android 10 from file to photo. Then everything seemed to start copying fine, but during the process I got that error and just ...
0
votes
0answers
15 views

Why is TCPDUMP unable to write in my android device?

I rooted the phone and use tcpdump from termux (the bin was already in android) tcpdump -help prints the normal options for tcpdump: basically the whole alphabet including the -w option. When I do: ...
4
votes
3answers
195 views

Arch linux on phone, with touch-oriented DE

There's (finally) starting to be a move towards "phones as portable desktops." I'm surprised it's taken this long. The basic idea is that phones are powerful enough to run full software and ...
0
votes
1answer
48 views

can i install linux debian on rooted android device

most of you know you should unlock bootloader to root android device, and unlocking the bootloader give you the ability to install other ROM "as far as i know". so is it possible to go crazy ...
0
votes
0answers
77 views

Iptables redirect to my captive portal, then allow users to use internet

I'm trying to make captive portal that will appear every time when someone tries to connect to my hotspot, then let them use internet. I have rooted android phone with local server where I host my ...
0
votes
0answers
28 views

Redirect Android Microphone sound via ssh

I have been using the following command (answer by user confetti to a question on redirect sound (microphone) via ssh, how to telephone via ssh?) to ssh to another laptop on the other end of the house ...
1
vote
1answer
44 views

Can someone please help me understand this command?

dmsetup create crypt1 --table "0 `blockdev --getsize /dev/sdb2` crypt aes-cbc-essiv:sha256 <Put the 16-byte hex key here> 0 /dev/sdb2 0" I got it from step 6 of the first answer here. ...
0
votes
0answers
24 views

How to understand free memory info with zram enabled system

I have a android device which enabled zram, when run free command, I got below output: $ free -h ...
0
votes
1answer
30 views

Why is it possible to backup the rom images from mediatek devices using third party (open source) tools such as SP flash tool unlike Google Pixel?

When running Linux i am able to use SP flash tool to do a readback from my mediatek device and do a full backup of the rom images while the device is in preloader mode, without the use of any ...
0
votes
0answers
18 views

Android USB tethering with Laptop can't do iperf

I am trying to do UL and DL data test with iperf from my Laptop via android phone to the network. I can do UL but cannot do DL. What configuration I am missing?
0
votes
1answer
36 views

Why is a loaded module not being driver of the device?

I tried to compile an Android 8 kernel to contain a driver for TP-Link TL-WN722N USB Wi-Fi card for a smartphone, the kernel is flashed successfully, but when I plug the Wi-Fi card via OTG to the ...
0
votes
1answer
383 views

How can I mount this disk image?

I'm trying to mount the Android nand image provided by Project Sandcastle (a project that can run Android 10 on an iPhone 7). I'm trying to mount this disk image so that I can edit the boot.img file ...
0
votes
1answer
198 views

Cannot open android-studio

I installed android-studio few days back along with openjdk. And it did work fine until yesterday. But now I cannot open it. The desktop icon is dead and when I run ./studio.sh it shows JDK Required: ...
0
votes
0answers
13 views

Kmemleak Tool Crashing the device

I am using imx6qdl hardware,the device is running with AOSP6. The android kernel which i am using is 4.1.15. I enabled the Kmemleak tool by enabling the configuration and i have set the buffer log ...
0
votes
1answer
705 views

How DM-Verity works?

I don't understand ow DM-Verity works. Reading from here or here I have several doubts about it: Considering a whole block partition protected by dm-verity: it should verify the data to the hash ...
2
votes
0answers
16 views

See bluetooth transfer progress from phone to computer in terminal or other generic way

In Linux Mint 19.2 Xfce I want to transfer a rather big file (1.5 GB) from Android to the computer: it's big considering the fact that I have to do it by bluetooth. I have connected the two devices ...
1
vote
0answers
94 views

Running Android Emulator sets audio volume to 100%

I working with Android Studio now, and when I test my app on real device connected to PC, everything is OK. But if I run Android Emulator (Pixel 2, level 29 API), sound volume of my PC is being set to ...
1
vote
1answer
374 views

Accessing Android camera with Linux Mint without using additional software

I would like to access the camera on my (own) Android phone with an USB-cable and Linux Mint. Is there a way I can stream the camera to my Linux without using additional software like Droidcam? If yes,...
3
votes
2answers
475 views

How to use an Android device as additional display on Linux

Can anyone please tell how to use an Android device as a second monitor to extend the display? I found an app called "spacedesk", but it is only available for windows. Can anyone suggest a ...
1
vote
0answers
224 views

Booting Arch Linux arm on an Android device

I Really think about booting a linux image (WITHOUT GUI Just terminal) in an android device so there are a lot of linux arm images starting by debian , arch , raspberry pi , etc ... Is that possible ...
0
votes
0answers
236 views

How to change default compiler from clang to gnu gcc

I want to set default compiler from clang to gcc in termux (android application). gcc isn't available in official repo so I used pointless community repo. But now I can't configure the termux to use ...
0
votes
0answers
93 views

UBI mounting problem: ubiattach gives an error

I have a system.img file from an Android firmware, but I can't seem to mount it. Everything is fine until ubiattach. My mtd0 works just fine: pardus@pardus:~$ cat /proc/mtd dev: size erasesize ...
0
votes
0answers
17 views

How to use one drive as cloud storage instead of Firebase for android app

I have a scenario where i am creating music player I created two user admin panel and guest user Admin panel -> user will be given access to upload video files to one drive and should get saved ...

1
2 3 4 5
11