Stack Exchange Network

Stack Exchange network consists of 175 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

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
18 views

Is it possible to make init stop restarting one of it's “services”?

My init is making the eris persistent, I don't know if the /system/bin/eris is important to keep android's good functionality but at this moment this "service" (the quotation marks are because i ...
0
votes
1answer
30 views

How dumb is it to try to remount /proc as w?

I'm trying to run a little python code that check some files in my phone's /proc/pid the thing is the program won't run properly because /proc is read only. Because I know proc has a special ...
1
vote
0answers
25 views

Is it possible to see which process is calling the zygote socket?

I want to see a verbose from the zygote socket (located in /dev/socket/zygote ) I know i can list all of the services from adb but I wanna see who is calling zygote to fork an specific process. Do you ...
0
votes
0answers
38 views

Running metasploit on android error

I am trying to run metasploit on Android using Termux. I've already installed it but when i try to run msfconsole command i get this error: ruby: No such file or directory -- /data/data/com.termux/...
0
votes
0answers
67 views

How can I access/retrieve data from an SD card formatted as internal storage from my PC?

My phone's screen broke and I would like to retrieve the data on the external SD (which was used as internal storage). Using KDE's partition manager tool I can see on my Linux Mint 19.1 that this is ...
0
votes
0answers
28 views

fastboost doesn't see device on linux even with su and sudo

so i Had a trouble booting into download mode on my Samsung Galaxy J4 to boot twrprecovery.img and not flashing it after enabling "developers options" and "USB debugging" and "Unlock OEM" now ...
1
vote
0answers
31 views

3g Modem connection using ppp2 widget on android x86

I am trying to connect to internet using huawei 3g dongle e1731 on android-x86-7.1-r2 using ppp2 widget (tried ppp and ppp3 but not worked).I was able to browse the internet using chrome but ...
1
vote
1answer
172 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
12 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
73 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
68 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
50 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
61 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
458 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
108 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
118 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
134 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
77 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
145 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"...
2
votes
1answer
70 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
527 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
34 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
721 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
129 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
424 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 ...
2
votes
1answer
418 views

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

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
vote
0answers
32 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
1answer
75 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
296 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
673 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 ...
1
vote
0answers
76 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: ...
1
vote
0answers
200 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
224 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
84 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
9 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 ...
1
vote
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
76 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
186 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
28 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
2k 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
30 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
1answer
179 views

How to remount sdcardfs to allow setting file permisions / ownerships?

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
194 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
866 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
869 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
78 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://...
2
votes
0answers
246 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
47 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 ...