Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [linux]

Use this tag when your issue involves a Linux laptop/PC, or addresses Linux specific topics of your Android device. (Note that running Linux distros on Android is off-topic.) In the latter case, consider if other tags like e.g. 'command-line' or 'shell' might be better fitting. See the full tag wiki for additional details and hints.

0
votes
0answers
30 views

Reset Partition Table for Nexus 7 2013 (Flo)

To cut a long story short I wanted to make the system partition larger on my tablet PC as it's far too small to do anything practical on. I used ADB push to put Parted into the root directory and ...
0
votes
0answers
10 views

Subsonic Android app doesn't show any files in Media Library

I had setup a Subsonic server on Ubuntu and running smooth. I can access the music files & video through http on web browser. I tried to do the same with Subsonic android app, after connected with ...
0
votes
0answers
20 views

How to disable auto mount of USB OTG drive when connected?

I'm looking for a way to disable auto mounting a USB OTG connected HDD to an Android 5.1 phone. So, basically, i dont want it to be mounted to /storage/usbotg. I cant find anything about this. ...
2
votes
1answer
54 views

Fastboot commands extremely slow

I'm trying to unlock my HTC U11 and I've tried to run fastboot both from the packages of my Ubuntu derivative (fastboot version 1:7.0.0+r33-2) and from the platform tools (fastboot version 28.0.1-...
3
votes
0answers
42 views

Which process is preventing me using Wifi?

I have a TV box provided by ISP (also TV channels provider), which has Android 4.4.4 Linux kernel 3.10.23. (I have root already) It uses PPPoE to get a network so can receive TV stream, but this ...
1
vote
1answer
24 views

Disabling power button restart

How can I disable android from rebooting when the power button is pressed for few seconds? Is this done in software? Context: my power button is broken. I tried to remap it by changing the relevant ...
0
votes
2answers
150 views

How to Play Sound from Termux when using Linux?

I have a problem with audio streaming that I can not listen audio from Pulseaudio when using VNC with a Linux Desktop Environment. However it works if I export the audio to XSDL. But the problem is ...
2
votes
1answer
53 views

How to use lsof, netstat and ps commands with complete options on Android?

I tried T-ui and although it has the lsof command, it cannot do lsof -i for example, so I need to go through every single process in Android. My phone is rooted and I wanna know the PID of the process ...
0
votes
0answers
43 views

Controlling Android phone with Seven Square under Ubuntu 18.10 does not work

I would like to remotely control my Android device (a Motorola Moto G5 running LineageOS 15.1) with my Ubuntu 18.10 laptop. So, I watched this tutorial and got this result instead of this. Not only ...
2
votes
1answer
55 views

Why can't I see Android storage as a partition on PC?

I'm trying to recover accidentally deleted video from HUAWEI P10. I use Ubuntu so I tried to recover it using photorec. The problem is that I can't see mobile internal storage or SD card storage in ...
1
vote
0answers
25 views

Best way to access the full Android internal storage directory tree from an Ubuntu pc

Background I am trying to free up memory from my phone that is becoming more and more unusable, as it reports only ~600MB free memory out of 16,0GB; but deleting cache files, moving images/videos to ...
1
vote
1answer
76 views

Python on android (not the usual solutions)

I'm trying to get Python 3 to run natively on android. By "native" I mean native Linux, just Androids variation of it. I'd like to be able to simply open a terminal and type "python /path/to/script.py"...
0
votes
0answers
21 views

Communicate with an andriod app from a linux box?

How to communicate with google translate installed on my Android VM (Android 8.1 Virtualization software: VirtualBox) from my Linux box? Is there any tool to simulate user interactions on android? ...
-1
votes
0answers
103 views

ADB: Emulator avd exited with code null, signal SIGABRT

We have Appimum tests running on a virtual device. But the problem is that the emulator's device won't start. I'm pretty sure it's something with Android or Qt or Ubuntu itself. In Appimu's output ...
2
votes
1answer
69 views

Nexcom VTC 6200 installing Android 4.2 or higher

I've got a Nexcom VTC 6200-NI-DK box wich is a bit obsolete but nevertheless I'd like to install Android on it. As far as I understand its spec is far from being top notch: CPU - Intel Atom D510 Dual ...
2
votes
1answer
305 views

Linux on Dex - Can you install additional programs? R? Vim?

Linux on Dex is on an Arm processor, not Intel processor. Does this mean I can't install most normal programs? If you have Linux on Dex could you try and install these two programs, run them, and ...
1
vote
0answers
22 views

Linux automount corrupts ext4 partitions of Android install?

I've been experimenting with dual-boot between Linux and Android on an x86 device which came with Android + Windows preinstalled (Chuwi Hi10 Pro). I soon found out that simply booting Ubuntu (either ...
0
votes
1answer
310 views

Cannot flash twrp-3.2.3-0-cedric.img (Motorola Moto G5) (“Image not signed or corrupt”)

I have followed all the steps of this guy but flashing twrp-3.2.3-0-cedric.img failed. When I open my Ubuntu console and type fastboot flash recovery /home/username/folder/twrp-3.2.3-0-cedric.img, it ...
5
votes
0answers
95 views

Offline safe sync directory on sd card on non-rooted Android with Ubuntu PC

Is there a way how to offline safely synchronize directories between sd card on Android which is not rooted and PC with Ubuntu? Safely = using secured connection between the devices (for example ...
0
votes
1answer
160 views

Android-x86, can't install any app

So, I've been wanting to play PUBG for a while now, but my PC is pretty awful, then Mobile came out, and TGB didn't work properly, and I've been trying out several different Android OS, but all of ...
1
vote
1answer
206 views

Why my DCIM folder is empty seen in the computer but not empty in the phone

I am using HuaWeiNova device, and I tried to access it with aft-mpt-cli. $ aft-mtp-cli $ ls DCIM/ I got folders listed here: |-photos |-Camera .... When I tried to list or download my photos in ...
-1
votes
0answers
10 views

Why I cannot list contents of subfolders via aft-mtp-cli [duplicate]

My os is archlinux, and my cell phone is HuaWeiNova. I tried this: sudo pacman -S libmtp yaourt -S android-file-transfer Then I run the cli: $ aft-mtp-cli $ ls Then the folders on my cell ...
1
vote
0answers
29 views

Moved files within Internal Storage and file can't be accessed from android

I have Moto G S5 (Android 8.1). I connected it to my laptop (Ubuntu 18.04). I moved some files (about 4 Gb) from a folder in internal storage to root folder of the internal storage. Transfer ...
0
votes
0answers
23 views

Connecting to an access point that uses proxy in a Leeco Le2

I'm connecting to a new network which goes by cable, so in Ubuntu I used command: sudo create_ap wlan0 eth0 wifi_name wifi_password to set an accesspoint that can be used by my android phone. The ...
0
votes
1answer
64 views

IP Address changes when using SSHDroid

I want to transfer files wirelessly between my android phone and Linux computer (XUbuntu 18.04). It works when I use SSHDroid as an SSH server on my phone and connect to it with sshfs to mount the ...
0
votes
1answer
174 views

ADB: Phone is not recognised but Ubuntu 18.04 recognises it

My LG G3 phone (phone is rooted; OS is Android Fulmics) is recognised by my laptop when I plug it in. The laptop is running Ubuntu 18.04 and I can easily copy data from and to my phone. I have ...
0
votes
2answers
326 views

Why chmod gives “Operation not permitted” error?

I try to execute chmod on a file with Termux, but it sends back an error which I'm unable to solve. My phone is not rooted. If you can help me I would be most grateful to you for this! Here is the ...
0
votes
0answers
47 views

ADB permission failure since upgrading to LineageOS

I just upgraded my Samsung Galaxy S5 from Android 6 to LineageOS 15.1, and now ADB does not want to access my phone any more. All I get is: % adb shell error: insufficient permissions for device: ...
0
votes
0answers
132 views

KDE Connect Cannot Use SD Card?

I'm using KDE connect from my Kubuntu 18.04 desktop to try and connect to my tablet (Tab A 10.1 running Android version 7). The internal SD card registers (I can see it) in Dolphin (File Explorer), ...
0
votes
2answers
138 views

How to do GREP text searching without root?

There is busybox and there are terminal emulators that include grep, but they require root to run. It would be better if they could also run without root but with limited access. I only need to grep (...
0
votes
1answer
50 views

Unroot Galaxy Note 5 SM-N902i (XSA Australia) with Heimdall - “System UI has stopped”

I am running a linux machine and trying to unroot my Galaxy Note 5. I've downloaded the lastest firmware from sammobile: N920IDVU4CRG1_N920IXSA4CRG1_XSA.zip which extracts to: boot.img cache.img cm....
0
votes
0answers
8 views

Different android with multi-user for huawei mediapad t3? [duplicate]

Today I received confirmation from Huawei that multi-user user has never been included on my huawei mediapad t3. However, that is one feature that I would really like to have. Can I install a ...
0
votes
1answer
1k views

Can't create new folders on SD card?

I'm using Lenovo A7000 with Lollipop and I can't create new folders on SD Card. Attempt to create folder on SD card always end with error, however, android phone is not going to tell me what error it ...
0
votes
1answer
71 views

How do I add Android user (linux level) to a group?

groupadd and useradd aren't available, so how I can add a user (app's assigned user) to a group? Also, the file /etc/group does not exist and I couldn't find where Android saves this information. (...
0
votes
0answers
19 views

Booting Linux on Android Tablet

I have a tablet with a kernel source and i want to boot debian or Arch Linux on it. I researched a lot and find nothing about it or some incompleted articles. I heard i can alter the initramfs but i ...
0
votes
0answers
160 views

How can I share my wifi Internet connection from Android phone to a Linux Raspberry Pi?

How can I share my wifi Internet connection from an Android phone to a Linux Raspberry Pi? I am trying to share my Wifi connection from the phone to a Raspberry Pi 3B. USB tethering is connected. I ...
0
votes
0answers
19 views

MTP from Android to Ubuntu requires retriggering MTP on phone to work - how to fix

I have a rooted Android One phone running Oreo 8.1 (Mi A1), but my previous rooted Oneplus 3 ha a similar problem. My desktops all run Ubuntu 16.04. When I plug the phone in via the USB-C cable it ...
2
votes
1answer
1k views

Is there a way to run adb as host on android without root?

I have an android phone and an android tablet. Both not rooted. I want to use adb as host on the tablet and as client on the phone, using an USB-OTG adapter. I downloaded connectbot as terminal ...
0
votes
0answers
28 views

In android, how can I run a binary c file indefinitely?

I wrote a C binary that I run and it has a while loop that never terminates. But I still have to restart the binary. Is there a command I can use to keep it alive? I know and have tried: (tried each ...
0
votes
0answers
140 views

Remount sdcardfs to allow setting file permisions / ownerschips

I have a rooted OnePlus One running LineageOS 15.1 (Oreo 8.1). I am trying to adjust some file permissions/ownerships on the emulated sdcard partition. The partition seems to be mounted as an ...
0
votes
0answers
142 views

Android does not boot properly and services can't start due to read only permissions

I have a sabresd based reference board and I have ported android O from official source. I am facing a problem that none of the service works. All are getting killed. In my case adb is not present as ...
0
votes
2answers
579 views

adb shell error: device not found (Ubuntu)

I am complete novice on adb. When it comes to Android I could be classified as "dumb user" - trying however to get one level up, hence playing with adb: $ ./adb shell error: device not found $ ./adb ...
0
votes
0answers
32 views

Get root Access on LYF f8

I am using LYF ls4505 (F8), I have tried many ways to get root access like using adb command (in linux mint 19) and using some apps like kingroot but I can't do that. Is there any way to get root ...
1
vote
1answer
579 views

Can I install packages to external SD card on Termux in Android?

I am using Termux in my Android device and it is awesome. I've installed it from Google Play. Now the packages that I install using the command pkg install ..., install those to the internal storage. ...
0
votes
0answers
69 views

Linux/Android Segmentation Fault mpv

Recently I've been experiencing problems when trying to listen to online radios through the android terminal. Here's the code: $ mpv "http://strm112.1.fm/chilloutlounge_mobile_mp3" Playing: http://...
0
votes
0answers
58 views

I need more internal for twrp

I have an LG Aristo 2 (LGE Model LM-X210(G)), running Android version 7.1.2 (ARMv7). It is rooted with Magisk and TWRP Recovery 3.2.1-0. I'm trying to install Kali Linux Nethunter on it and I need ...
1
vote
0answers
205 views

Linux kernel 4.4 Android devices

I am trying to find out what all devices are running linux kernel 4.4+ and having a hard time finding all. Till now I could only find Sony Xperia devices running kernel 4.4. The reason I was trying ...
0
votes
0answers
46 views

Android Studio 3 in Ubuntu 17.04 not see Nexus 7 in connected devices to run the App with

I'm using Android Studio 3.1.1 in Ubuntu 17.04 and a Nexus 7. Android Studio not see the device in the list of the "connected devices" in the window to run the App: The device is already activated ...
1
vote
0answers
45 views

Termux android usage for linux based work on the go

Any tutorial to lear termux commands??? for termux-ubuntu package, to perform allmost all the linux based work on android.
0
votes
1answer
107 views

How can I disable the GPS functionality from my android phone at the kernel level?

How can I disable the GPS functionality from my android phone at the kernel level? I know this requires (though not sure) disabling either device drivers for GPS or kernel module BUT how to do it ...