The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

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

How do i program on my s9 rooted android phone? [on hold]

I want to make my phone into a 'on the fly' PC if possible.
1
vote
1answer
34 views

How To Enable Debug Mode From ADB Shell or ADB Via Terminal In Linux

so far I have put my android device in ftm mode i have tried from adb sideload now i am trying with busybox ash I'm able to run ls but anything else says permission denied or error:closed. / $ ls ...
0
votes
0answers
17 views

Phone not recognized by computers at all. No adb, usb, lsusb, fastboot

For over a year my phone had no issue connecting to my computer via usb cable. I could transfer files back and forth via adb no problem. It stopped being recognized about a month or two ago, So I've ...
0
votes
0answers
19 views

Wifite not showing network (or not working)

I am using Kali nethunter that is installed from magisk but I am facing problem with wifite, firstly I got the hashcat and other packages problem (got fixed), but after all the work I got this screen ...
3
votes
0answers
61 views

learning then mastering and using Android for a Linux “guru” using the command line? [closed]

I am a 60-year old Linux guru: coding Bismon (documented here) and using and coding on Unix since 1987 (SunOS3.2) and Linux since 1993 (but I never used Windows, and very probably never will). Of ...
0
votes
0answers
22 views

Does Termux call fork/exec system calls in Android?

There are tutorials (e.g., this and this) that use Termux to compile and run cpp codes in Android. Does Termux run fork/exec system calls and start running the program's main function? More generally, ...
1
vote
1answer
34 views

How can large amounts of files be transferred to Linux via MTP?

I'm trying to copy all of my pictures from my Samsung Galaxy S9+ to my laptop (running Linux Mint). I can transfer a few files at a time no problem, but I have amassed 1000's of files in my pictures ...
1
vote
1answer
395 views

How to unpack/repack system.img of android ROM?

I have OnePlus 6T device which has A/B partition system and has a ROM of user type i.e [ro.build.type]: [user]. This device is rooted with Magisk. I have a requirement(Want to place customized ...
0
votes
0answers
20 views

What is that TV Icon?

What is that tv icon with an X on the upper right?
2
votes
1answer
826 views

How to disable dm-verity on Android with “user” build type ROM?

I have One Plus 6T Android device which has a ROM of build type user. This device is rooted with Magisk and I want to disable dm-verity on this device. I have tried to run adb disable-verity but I got ...
0
votes
1answer
33 views

Why isn't my Galaxy S8 popping up my Captive Portal login page?

I'm dealing with a Raspberry Pi 3 that is using hostapd to create its own wireless network. When an Android client first connects to the network, it tries to grab the page http://connectivitycheck....
0
votes
2answers
269 views

Question on installation of android-x86-8.1-r2.x86_64.rpm on Ubuntu 18.04

I installed the android-x86-8.1-r2.x86_64.rpm package on Ubuntu 18.04 using the following commands as suggested by Release Note 8.1-r2 but it didn't add boot entries to the grub2 menu. sudo apt ...
1
vote
0answers
21 views

'Recycling' off-the-shelf Android devices as server ('Toaster-Net')

Since Android devices tend to be relatively low-power un*x devices, this seems like an obvious usage, I was already able to run the basic setup of what I had in mind, but I think it's a right time for ...
2
votes
1answer
110 views

How to make SELinux injected rules persistent without unpacking-packing boot.img?

I am working on an application that needs root access and I have a device which is rooted but not with Magisk. This device has only adb shell root available. So, I need an alternative to call the ...
1
vote
1answer
208 views

How to run an Android init service with superuser SELinux context?

I want to run an Android init service. I have a device which has rooted shell (purchased from manufacture as rooted). This device doesn't have Magisk or other su manager but adb shell is rooted and it ...
0
votes
0answers
85 views

How to root Samsung Galaxy A8 (2018) from Linux?

I have a Samsung Galaxy A8 (2018) phone (model SM-A530F), running android 9. I also have a Linux PC. I want to root my phone, but any guide I have found mentions that I have to use some special tool ...
0
votes
1answer
43 views

How to make F-Droid hide data about incompatible packages?

In 2019 with F-Droid v1.22 running on an ancient DROID Pro about 95% of the much newer software is incompatible and grayed out. When browsing by category, these grayed out apps consume most of the ...
0
votes
0answers
36 views

Mount image of encrypted internal storage data partition from android P

When trying to upgrade to a newer rom, my system got a little messed up and I had to format my /data partition. I had made TitaniumBackup and twrp backups but they were on the encrypted data partition....
1
vote
1answer
38 views

How to access VNC server running in an android phone in another computer?

I have installed Ubuntu in my Android phone and I can access its GUI in my phone by connecting a VNC viewer to localhost:1. The VNC server is running inside Android. Is it possible to access this in ...
3
votes
0answers
101 views

Can I install GNU/Linux in text mode on android?

I want to use my old smartphone (Moto 3G) like Rassbery Pi to make some low level things with just terminal. I want to install GNU/Linux in text mode, get access to it with SSH, get connection to ...
0
votes
0answers
158 views

Android NetHunter can't find several files

I'm trying to get KaliNethunter to work on my OnePlus5. I'm facing a problem though, and I really don't know what to say of it. There are several errors and they're all No such file or directory. ...
0
votes
0answers
345 views

How to unlock bootloader on Sony Xperia XA2 Plus?

I'm following the tutorial on https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/how-to-unlock-bootloader/ . Following are commands and their outputs. sudo ./fastboot ...
0
votes
0answers
45 views

Linux kernel, Hypervisor, and Android boot loader

Is it possible to run a hypervisor between the Linux kernel on Android and the boot loader?
0
votes
1answer
67 views

Can android user become a super user in android?

Is it possible to change the rights of normal user in android to super user? My requirement is to run the super user code(I want to read a file data from system directory) in a device that has ...
0
votes
0answers
125 views

Flashing stock LG firmware in GNU/Linux?

I'm looking for a way to flash stock LG firmware for the LG M700DSK (Q6) in GNU/Linux. I have tried running LG UP though Wine though it doesn't seem to open the installer for LG 8998 USB DLL. The LG ...
2
votes
1answer
537 views

How to run an executable on boot and keep it running?

I have an executable build from a ndk-build program. I want to run it on a rooted Android device. How much is the possibility that Android will kill my executable? Using adb shell, I am able to ...
0
votes
0answers
59 views

Notepad/text-editor encrypt on Android, decrypt on linux — and vice-versa

I'm looking for an encrypted notepad or text editor for Android which encrypts files in a way that allows them to be decrypted under Linux. I also want this to work in the opposite direction: ...
1
vote
1answer
130 views

bricked mi a2 lite

Today I had a bad idea and decided to try to install Gcam on my A2 lite. So I installed ADB and Fastboot on my PC (linux), then flashed TWRP with the aim of later installing Magisk. However, ...
0
votes
1answer
105 views

Can't chown or chmod files on android phone

Hi there i got some files on my android phone and want to make them executable. Permissions are root:sdcard_rw. I cant remove tha sdcard_rw with chown, and cant make the files executable with chmod.
1
vote
1answer
387 views

How to set SELinux enforcing, config file not found?

I have Samsung Galaxy J7 Core (SM-J701F), I'm running Magisk on my device and I ran the SafteyNet test and it failed. While trying to solve this I tried to change selinux state to enforced by editing /...
0
votes
0answers
33 views

how do I connect an android phone to a Linux wifi? [duplicate]

I am using my Debian Linux computer (called 'theresia') as a wifi access point. I can use the network from iOS, Meego and Maemo, and from my other Debian machine obviously, but none of my Android ...
0
votes
0answers
21 views

How come desktop Linux has /dev/mmcblk0 and Android /dev/block/mmcblk0?

Why is mmcblk0 at /dev/block/mmcblk0 in Android and /dev/mmcblk0 on desktop Linux distributions? Other block devices (listed using lsblkcommand) are also under /dev/. Why is it under /dev/block/ on ...
0
votes
1answer
33 views

Block Instagram for Android to access the Internet, using a software like SQUID on my Laptop/Desktop

Is there any way I could block Android Apps for example Instagram from accessing the Internet, using the SQUID software or something similar on my Personal Computer?
1
vote
1answer
153 views

Forgot password on Samsung Galaxy S7 Edge, trying to access for Google Authenticator

I never wrote my password down for my old S7 Edge and managed to forget it. Overthinking the security and privacy, I also never signed up for Samsung's service and Google's Find My Phone only ...
3
votes
1answer
259 views

How to run SSH/SFTP server for multiple user logins with password authentication on Android?

I want to run an SSH server on my Android phone so that my clients (varying between 10 to 20) can easily and securely share data with me when I'm on the go, without using any third party hosting ...
0
votes
0answers
22 views

Nexus 7 wont turn on or get to bootloader

My nexus 7 2012 was running fine one day with ubuntu 13.04 on it until I installed the cheese webcam booth and when it finished installing the tablet froze then shut off. I tried to turn it back on ...
0
votes
0answers
30 views

How does init knows when to relaunch a process?

I know the Zygote listens to a socket in /dev/socket/zygote in order to know when to fork a new process. I want to know how init usually does it. I have a persistent process (not service) X whose ...
0
votes
1answer
112 views

How to create a copy of a file immediately when it's created? [duplicate]

I have an Android app that will create a file in /data/ and immediately delete it. I want to know how can I catch this file or create a copy or even disable user permissions to delete a file? I have ...
2
votes
1answer
37 views

How to create a copy of a file immediately when it's created?

I have an Android app that will create a file and immediately delete it. I want to know how can I catch this file or create a copy or even disable user permissions to delete a file. I have root access ...
1
vote
0answers
120 views

SD card had bad sectors after chkdsk. Is that Logical or physical ?and path from here

This is about data corruption on android . The primary issue relates to bad blocks / clusters and it happens to be android platform. So this is a super user and NOT android enthusiast question. ...
0
votes
0answers
24 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
44 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
71 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
178 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
237 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 ...
2
votes
1answer
53 views

Are multiple-users protected from each other differently than apps?

I confess that I come from the happy world of unix computers, and am used to the concept of user accounts and hence group gids and userids uids. For the occasional usage of an untrusted app (i.e. ...
0
votes
0answers
55 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
130 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
1k 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
21 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 ...