hello have install Nethunter on my Oneplus5 phone, but when i am trying to update or upgrade gives me an error :
usr/bin/dpkg returned error code(1)
Now i have tried everything like basically every method mentioned in google search : dpkg --configure -a , apt-get --fix-broken
even change the sources list but still get those errors why, can someone help me?
karencho777 said:
hello have install Nethunter on my Oneplus5 phone, but when i am trying to update or upgrade gives me an error :
usr/bin/dpkg returned error code(1)
Now i have tried everything like basically every method mentioned in google search : dpkg --configure -a , apt-get --fix-broken
even change the sources list but still get those errors why, can someone help me?
Click to expand...
Click to collapse
Please get this moved to Q&A.
For the Q, I suggest you raise on the Nethunter thread.
Related
I've seen on the internet taht some people run debian on android, now i was trying it but it doesn't work.
does annybody knews how it work on the lg gt 540
I've tried it a whole day but i made only a little progress.
I've tried linux installer to but i dont full understan that application
Maybe this works
http://www.talkandroid.com/android-forums/android-development/1091-install-debian-android.html
Joost
same problems here. when i want to chroot (chroot 4755 *) then it says:Operation not premitted! :S
can't understand...what he wants....iv'e gived him superuser right and so ...:S
and even. when i type sh ./installer.sh .....it does nothing...
but somebodey who have done this , please write to me....wanna get this workin too..
cheers. hani93
EDIT. nevermind...gooled bit. and founded this link and it worked.: http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
And how do you like it? Ubuntu instead of android on your phone?
Could somebody tell us the pros and cons?
thanks in advance
hani93 said:
same problems here. when i want to chroot (chroot 4755 *) then it says:Operation not premitted! :S
can't understand...what he wants....iv'e gived him superuser right and so ...:S
and even. when i type sh ./installer.sh .....it does nothing...
but somebodey who have done this , please write to me....wanna get this workin too..
cheers. hani93
EDIT. nevermind...gooled bit. and founded this link and it worked.: http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Click to expand...
Click to collapse
it doesn't work for me..
jaapstreepjan said:
And how do you like it? Ubuntu instead of android on your phone?
Could somebody tell us the pros and cons?
thanks in advance
Click to expand...
Click to collapse
android is still on my phone....ubuntu is after android.(you can start ubuntu from terminal)
i've wanted this..because, then i can use linux commands aso.
cheers
sam48 said:
it doesn't work for me..
Click to expand...
Click to collapse
what's the error that he showing to you `?
you can try this method too..http://forum.xda-developers.com/showthread.php?t=723493
i've used loop7 and it works...
how much time takes to install tightvncserver???
Any other links for ubuntu.zip on a faster fileshare service than the one's in the www.androlinux.com guide?
It says 2 hours to download :O
I'll rehost it myself when it eventually finishes but if anyone has another link before then then please post it.
sam48 said:
it doesn't work for me..
Click to expand...
Click to collapse
works for me, now I connect via TightVNC from Windows 7 and see greay screen with "X" as mouse pointer.. Also I'm connected via SSH with PuTTY.. I don't know much about Linux but I typed startx and it does something, I hope it will show desktop
Edit:
It says "Fatal server error: no screens found".. What should I do??
Edit2:
got it typed "gnome-session &" (I love you google ) and it seems to load gnome (at this time only Background Image).. Crossing fingers
Edit3:
Now grey bars at top and bottom, maybe it hangs, but hopefully it just starts slowly..
Edit4:
should it take so long??
Edit5:
yep it takes that long, desktop is build very slowly but this is still some crazy ass **** btw. enough edits for now
My desktop was created in few seconds. But I was working with some old and modified Ubuntu version.
I was working with this instructions: http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/ on 2.2 android version.
I hope this would help you (sorry because my bad English).
__http__://4pda.ru/forum/index.php?showtopic=192009 -- instructions on russian
I ve` tried linux installer recently and it worked. I installed debian, in my oppinion this is the easiest way, you just choose which distribution, size of the loop.img and where to install and that is it.
Danzano made also a tut:
http://forum.xda-developers.com/showthread.php?t=1171093
hey guys i downloaded the linux installer from the google market and i make it past steos 1 and 4 but 2 and 3 give me error messages and when i go into terminal to boot up linux i also get a error message im guessing because steps 2 and 3 are not installed properly does anyone have any advice? or a step by step guide? thanks!!!
can install in archos 101 ?
can install in archos 101 ?
uh i think so why? are u gonna try it out if so let me know how it goes im still trying to figure it out and how to get it to work im really interested to see how linux will run on my archos 43
http://forum.xda-developers.com/showthread.php?p=16961006
3.3 is out. Please update, and contact me by email if any trouble. [email protected]
Galoula made a huge update; I did all translations and debug. New tutorial, new quick installation guide.
Or ask a specific question
Guick guide is now shiped inside the app, and available on website. http://android.galoula.com/en/LinuxInstall/
Hey all,
I've got a Galaxy Tab 4 (SM-T330NU) that I've been attempting to run a Kali distribution on using Complete Linux Installer. I've rooted the device but can't seem to get the SE for Android to change to "Permissive" mode and allow me to run the bootscript.sh without kicking back a message saying "Operation not Permitted" when creating the loop device (mknod /dev/block/loop255: Operation not Permitted). I'm running Andriod 4.4.2 with kernel version 3.4.0-1337409. Any help would be great. I've searched all over and can't find anything that gets me to any point of success with this.
Thanks
-Geoff
gch230 said:
Hey all,
I've got a Galaxy Tab 4 (SM-T330NU) that I've been attempting to run a Kali distribution on using Complete Linux Installer. I've rooted the device but can't seem to get the SE for Android to change to "Permissive" mode and allow me to run the bootscript.sh without kicking back a message saying "Operation not Permitted" when creating the loop device (mknod /dev/block/loop255: Operation not Permitted). I'm running Andriod 4.4.2 with kernel version 3.4.0-1337409. Any help would be great. I've searched all over and can't find anything that gets me to any point of success with this.
Thanks
-Geoff
Click to expand...
Click to collapse
add setenforce 0 in the init.rc in the ramdisk at the bottom of this group
Code:
on property:init.svc.bootanim=stopped
restorecon /data/media
restorecon /data/media/obb
start auditd
start freshsebool
Should set to permissive. Theres an app or 2 also. Ive never used them tho
Full tutorial
A full tuto on how to install Kali Linux Nethunter On SM-T330NU will be nice
Hi
Does anyone know why my phone freeze every time when I write in terminal
Code:
setenforce 0
?
About 10 sends after freeze, it reboot. I am trying to solve/debug app that says "SE Linux Enforcement needs to be set 'Permissive".
I try to follow this idea:
https://forum.xda-developers.com/s7-edge/help/to-set-selinux-to-permissive-galaxy-s7-t3361964
but first I wanted to try it out by just typing it to terminal.
I tried to follow that tutorial anyway, but nothing happened. When I write getenforce, it still says enforcing.
sysctl said:
Hi
Does anyone know why my phone freeze every time when I write in terminal
?
About 10 sends after freeze, it reboot. I am trying to solve/debug app that says "SE Linux Enforcement needs to be set 'Permissive".
I try to follow this idea:
https://forum.xda-developers.com/s7-edge/help/to-set-selinux-to-permissive-galaxy-s7-t3361964
but first I wanted to try it out by just typing it to terminal.
I tried to follow that tutorial anyway, but nothing happened. When I write getenforce, it still says enforcing.
Click to expand...
Click to collapse
are you rooted?
I dint think it works on stock kernels... only the dev one.
Code:
su setenforce 0
works for mw
Yes, you were correct. it doesnt work on stock kernel. I installed TGP kernel and there it was already permissive. It also made my linux depoloy work which at first crashed my phone.
Hi all,
I'm currently in front of a problem, and after a lot of tries and readings I decided to ask people.
As I'm a beginner, let me know if I'm not posting on the right place or if I'm saying stupidities.
My final goal is to install Home Assistant Operating System on my old Oneplus 5 phone.
This is the kind of stuff you usually do on a Raspberry, but I wanted to find a new usage of my phone.
Long story short, I've installed via Userland app Ubuntu 20.04 in order to create a VM on KVM as it seemed to be a good option to achieve my goal.
(I've also tried Termux but didn't seem to be as complete as Userland)
I ran a command to know if my CPU would support virtualization (kvm-ok) and I had this error :
Code:
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm
modprobe: FATAL: Module msr not found in directory /lib/modules/4.4.302-perf+
From what I understood, this issue comes from the fact that most phones do not have kvm enabled by constructors.
I wondered if the solution would be to modify the kernel ?
I found this but I'm not sure : https://github.com/android-linux-stable/op5
If someone has ever encountered this kind of problematic let me know.
If you have any other alternative, don't hesitate to share.
Some details about the device :
LineageOS 19-20221205-NIGHTLY-cheeseburger
custom BL TWRP
Magisk installed
For those who know Home Assistant, I succeeded to follow this tutorial, but it doesn't install a full version of it I wanted to try to install the OS.
Home Assistant Core on Android Tablet
You need install rust and cargo first: pip install rust pip install cargo run: rustc -vV | sed -n 's|host: ||p' it returns target system, something like: armv7-linux-androideabi copy it and set to cargo running: export CARGO_BUILD_TARGET=armv7-linux-androideabi then run: pip install...
community.home-assistant.io
Thanks !
cooldino said:
Hi all,
I'm currently in front of a problem, and after a lot of tries and readings I decided to ask people.
As I'm a beginner, let me know if I'm not posting on the right place or if I'm saying stupidities.
My final goal is to install Home Assistant Operating System on my old Oneplus 5 phone.
This is the kind of stuff you usually do on a Raspberry, but I wanted to find a new usage of my phone.
Long story short, I've installed via Userland app Ubuntu 20.04 in order to create a VM on KVM as it seemed to be a good option to achieve my goal.
(I've also tried Termux but didn't seem to be as complete as Userland)
I ran a command to know if my CPU would support virtualization (kvm-ok) and I had this error :
Code:
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm
modprobe: FATAL: Module msr not found in directory /lib/modules/4.4.302-perf+
From what I understood, this issue comes from the fact that most phones do not have kvm enabled by constructors.
I wondered if the solution would be to modify the kernel ?
I found this but I'm not sure : https://github.com/android-linux-stable/op5
If someone has ever encountered this kind of problematic let me know.
If you have any other alternative, don't hesitate to share.
Some details about the device :
LineageOS 19-20221205-NIGHTLY-cheeseburger
custom BL TWRP
Magisk installed
For those who know Home Assistant, I succeeded to follow this tutorial, but it doesn't install a full version of it I wanted to try to install the OS.
Home Assistant Core on Android Tablet
You need install rust and cargo first: pip install rust pip install cargo run: rustc -vV | sed -n 's|host: ||p' it returns target system, something like: armv7-linux-androideabi copy it and set to cargo running: export CARGO_BUILD_TARGET=armv7-linux-androideabi then run: pip install...
community.home-assistant.io
Thanks !
Click to expand...
Click to collapse
To install Home Assistant Operating System (HASSIO) on your Oneplus 5 phone, you will need to follow these steps:
First, make sure that your phone is rooted. Rooting your phone will allow you to install custom operating systems on it. There are various tutorials and tools available online that can help you root your Oneplus 5 phone.
Once your phone is rooted, you will need to install a custom recovery such as TWRP (TeamWin Recovery Project). This will allow you to boot into a custom recovery environment and install HASSIO on your phone.
Download the HASSIO image file for your phone from the Home Assistant website or from a third-party source.
Hamzagujjar said:
To install Home Assistant Operating System (HASSIO) on your Oneplus 5 phone, you will need to follow these steps:
First, make sure that your phone is rooted. Rooting your phone will allow you to install custom operating systems on it. There are various tutorials and tools available online that can help you root your Oneplus 5 phone.
Once your phone is rooted, you will need to install a custom recovery such as TWRP (TeamWin Recovery Project). This will allow you to boot into a custom recovery environment and install HASSIO on your phone.
Download the HASSIO image file for your phone from the Home Assistant website or from a third-party source.
Click to expand...
Click to collapse
My phone is rooted and I've already installed TWRP.
I think there is no HASSIO image file for phones in general.
Could you detail this part ?
Thanks