Gnuroot Debian

2 views
Skip to first unread message
Message has been deleted

Eduviges Gearlds

unread,
Jul 11, 2024, 6:18:35 AM7/11/24
to geluvihend

Is it possible to attain real superuser privilege on GNURoot Debian instead of fakerootfs? Is there any way as in when I type in su; there is an actual su prompt asking me to allow it? This is the outcome when I type in su:

gnuroot debian


تنزيل ملف مضغوط ===== https://tinurli.com/2yZzJI



I too am getting this error in GNURoot. Search google and saw your question posted in many stack forums. I wanted to change from armel to armhf and followed the instructions on the Debian website but came to the error you stated. What I had to do was chown u+s /usr/bin/mandb. The error still popped up but everything worked like a charm.

Edit:After further testing and usage of gnuroot, it turns out that the method i stated above on bypassing the permission denied error does not solve all problems. After looking at /etc/fstab in the proot environment, there are no mount points. If you run the command mount from the gnuroot terminal you will notice that it will show mount points of the host system. Also you will notice that running chmod 4777 / or chmod u+s / the permission denied error will appear. If yoy run ls -l /acct it will list the /acct of the host system not of the proot.

I havent tested this but since the proot environment needs the suid flags you will need to unpack the booting image of you android device edit the fstab and change the mount options removing nosuid option, repack and flash the boot image to solve your problem. Remounting in the terminal as root (not proot) does not solve the problem because even after remounting, the fstab file remains the same.

If you have root, chroot. In a nutshell, a chroot will spawn processes straight in the Linux userland whereas a proot will do it from the Android environment and be limited by Android resource limitations.A chroot can also run more closely to a desktop environment; full blown window managers, browsers and what not. Can even run Java and Android Studio.

Edit2:After even futher testing, i discovered that i needed to run apt-get install fakeroot then fakeroot /bin/bashAfter running these commands, the error disappeared. Chmoding turned out to not solve entirely the error.Also if you get installation errors try doing fakeroot /bin/sh or fakeroot /bin/dashProof that fakeroot worksam now in debian 10(buster) after patient upgrades.

Gnu root debian is like Termux but for old android versions.Regarding the su matter of calling su binary from inside proot, you need to install the tsu binary. Since gnuroot does not have pkg in termux, the same binary can be install via python2. So first install Python pip then run pip install tsu then run the tsu binary and maybe you will be lucky and gain real root permissions. It wont work on stock wheezy (have tested it) debian but try upgrading to jessie or stretch and maybe you will be lucky.

Alternatively, you could use Another Term an updated maintained Gnu terminal in proot environment with updated proot binary which in my opinion can also be an alternaive to Termux. It supports as low as android version 4.0 and no root is needed. Here and here are links to the project to get more infor.

Recently i was using GNURoot Debian to run debian on my android kitkat device. But I had to uninstall it due to some reasons. Now i am installing it again and it is not installing. It says :Application not installedI tried several times but in vain.

I remember the same problem happened in Debian noroot while re-installing it. I came to know that it happened due to a bug in Android 4.x. Is this the same kind of bug or an another reason behind this error ???

I am trying with another chroot app now:
play.google.com GNURoot Debian Corbin Champion GNURoot Debian provides a method for you to install and use Debian and its associated applications/packages alongside Android. This does NOT require root.A regular uninstall fully cleans up after this application.This is expandable and you will be able to install your own applciations/packages into it.Inside GNURoot Debian, you can create a root file system, launch into it, or delete it.The moto is: "This ain't done, until everything* will run"*everything == all linux, user space applications, ...

Ran into a small issue with php5-curl, but this did the trick:
github.com/corbinlc/GNURootDebian Issue: curl error due to libffi permission erroropened by drhuffman12on 2015-11-04I installed curl via "apt-get install -y curl". When I try to use curl, it fails with the following error:...Processing triggers...

I have a Beelink GT1 (Amlogic S912) and I am trying to get my head round turning it into a server and running and doing pretty much the same as you but cutting the resource usage of Android.
Its actually got far more oomf than a PI 3 but it looks like it may be a bit of a head scratcher.

Edit: Ok it seems like the apache2 and msqld services are automatically stopped after a while of inactivity and have to be re-started manually. I am still trying to figure a convenient way to do so, but at least it will not drain the battery unnecessarily by default.

Edit:Very convenient is that Android always uses the same 192.168.43.1 IP when running it hotspot mode. So I can connect all my various devices to my shared 4G connection and use Nextcloud sync the same time via 192.168.43.1:2080/nextcloud

This guide will show you how to get php7 running on Debian Jessie, which should speed up things a bit:
-php-7-on-debian-linux-8-jessie-wheezy-using-apt-get/
(I hope a future version of GNUroot Debian will come with a newer version of Debian).

Really interesting for me as the all-in-one Nextcloud-Nas-Kodi center is a such a good complement.
If your on android you have all the Android goodies as well.
I have been waiting for some of the newer 4gb Ram boxes and SBCs with a bit more Oooomf to come available, which they have.

Some general nice use cases for the handset is installing:
-droid.org/repository/browse/?fdfilter=opentasks&fdid=org.dmfs.tasks
-droid.org/repository/browse/?fdfilter=davdroid&fdid=at.bitfire.davdroid
For syncing contacts, calendars and tasks (with the respecitve nextcloud apps installed).

You can also sync with the Nexcloud Android client of course ( -droid.org/repository/browse/?fdfilter=nextcloud&fdid=com.nextcloud.client ) but note that it duplicates files if you make them available in offline mode.

I will be doing it both ways or at least that is what I am planning as the current crop of new boxes and SBCs with 2 - 4gb and some of the bigger Arm processors are capable of either a sort of all in one home entertainment center / living thing and to be honest stuck for wordage.

But having all your files available by WiFi / Ethernet collabora available on the web, Nas and a media streamer and what is essentially a console for 50 -100 for many might be an option.
Nextcloud seems a good fit for this.

The idea behind this post is to show how to run Nextcloud on systems that for various reasons can only run Android (and might not even be rootable) or at least devices that you might want to keep using Android on for dual use purpose (i.e. Smartphones).

I am revisiting this with the idea of having an old Android phone as a home server now.
Seems like there is a new & better Android Chroot app:
GitHub CypherpunkArmory/UserLAndMain UserLAnd Repository. Contribute to CypherpunkArmory/UserLAnd development by creating an account on GitHub.

GNURoot Debian is a free app for Android published in the System Maintenance list of apps, part of System Utilities.

The company that develops GNURoot Debian is Corbin Champion. The latest version released by its developer is 1.0. This app was rated by 3 users of our site and has an average rating of 4.0.

To install GNURoot Debian on your Android device, just click the green Continue To App button above to start the installation process. The app is listed on our website since 2018-08-03 and was downloaded 240 times. We have already checked if the download link is safe, however for your own protection we recommend that you scan the downloaded app with your antivirus. Your antivirus may detect the GNURoot Debian as malware as malware if the download link to com.gnuroot.debian is broken.

How to install GNURoot Debian on your Android device:

  • Click on the Continue To App button on our website. This will redirect you to Google Play.
  • Once the GNURoot Debian is shown in the Google Play listing of your Android device, you can start its download and installation. Tap on the Install button located below the search bar and to the right of the app icon.
  • A pop-up window with the permissions required by GNURoot Debian will be shown. Click on Accept to continue the process.
  • GNURoot Debian will be downloaded onto your device, displaying a progress. Once the download completes, the installation will start and you'll get a notification after the installation is finished.

GNURoot Debian has not been maintained in over a year and is broken in many ways.
So, I am sending new users to a new app called UserLAnd which has a paid active dev team, but is still open and does most of what GNURoot Debian did, but better.
You are now sent to UserLAnd in the following cases:
1) you are using android 8.0+, because GNURoot Debian is completely broken for those users.
2) you are creating a new rootfs (unless coming from GNURoot Octave or GNURoot Runescape Installer)

1) add PRoot extension to attempt to fix the size returned by lstat on Pixel devices running android N 7.1 (actually previous beta release),2) no longer install packages as part of patching. it is not necessary at this time and is hurting some users.,3) fix PRoot issue where fstat could sometimes incorrectly fail and a blank path would be printed to the user.

Once you install this app on your tablet, it creates a self-contained chroot install of debian using a tool called Proot. Once that is done, all you need to do is open up the app terminal and just start using it:

If all goes well, you should be able to see an lxde desktop like the one shown in the above screen. Coupled with the keyboard case and a bunch of great linux apps (such as vim, emacs, geany, inkscape, eclipse, etc.), you should be able to convert your mobile tablet into a great development machine on wheels.

03c5feb9e7
Reply all
Reply to author
Forward
0 new messages