[Q] Galaxy s5 Kali Linux fail -- Help -- - Android Apps and Games

Hey sorry for my bad englisch ......
I rooted my galaxy s5 and installed busy box ... now i downloaded Linux Deploy and try to install kali linux ... failed ......
Here code:
[15:25:37] Updating configuration file ... done
[15:25:38] >>> begin: install
[15:25:38] Checking mount points ... /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy: line 1575: grep: Permission denied
[15:25:38] /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy: line 1575: cat: Permission denied
[15:25:38] done
[15:25:38] Checking installation path ... done
[15:25:38] /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy: line 1575: dirname: Permission denied
[15:25:38] /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy: line 1575: stat: Permission denied
[15:25:38] /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy: line 1575: stat: Permission denied
[15:25:38] Making new disk image (512 MB) ... /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy: let: line 1575: arithmetic syntax error
[15:25:38] /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy: let: line 1575: arithmetic syntax error
[15:25:38] /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy: line 1575: dd: Permission denied
[15:25:38] fail
[15:25:38] <<< end: install
[15:25:38] /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy: line 1575: dd: Permission denied
Can someone help me?

You can't with selinux on enforce, flash a permissive selinux kernel and try again

Related

DT apps2sd working right for me?

I posted this question in the unlocking forum, but it doesn't look like too many people check in there. Hope it isn't a problem to repeat it here. I really need an answer.
----------------------------------------
I have, I think successfully, installed apps2sd on my N1 (CM7 build 22). Titanium Backup shows the ext2 partition with 90MB used. And all my applications that used to be on the FAT32 partition have been moved to the phone, which I understand means that they are really on the ext2 partition of the sdcard.
But using terminal emulator to enter a2sd commands gives a bunch of errors (see below). Can someone tell me what the problem is?
$a2sd cachesd
cp: can't create '/data/dta2sd.lg1': Permission denied
rm: can't remove '/data/dta2sd.log': Permission denied [ ] Apps2SD is launching...
/system/bin/a2sd: line 24: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 25: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 26: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 35: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 37: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 38: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 39: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 40: can't create /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 41: can't create /data/dta2sd.log: Permission denied
grep: /init.rc: Permission denied
tee: /data/dta2sd.log: Permission denied __ _____
tee: /data/dta2sd.log: Permission denied
| \ |
tee: /data/dta2sd.log: Permission denied
| | |
tee: /data/dta2sd.log: Permission denied
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 3a (2011-01-25)
tee: /data/dta2sd.log: Permission denied
I'm in a similar situation. Any advice?
Got an answer in another forum. Using the on-phone terminal emulator requires superuser permission to be granted. The solution is to enter the command "su" before a2sd commands.
Another approach is to use adb from your computer, which bypasses the need for superuser permission.

x10 mini pro rooted.sh, permission error

Hallo,
i tryed to get root permission on my x10 mini pro using the rooted.sh script.
distro ubuntu 10.04
this is the output...
I also tryed to run the script with sudo user... but it's the same...
any help?
/ROOTer-Linux-v3$ sh ROOTer.sh
ROOTer for Linux by react2409.
Requirements and credits are listed in the README.txt file.
Please make sure requirements are met before continuing.
Remember by using this you understand the risks involved with doing so.
Is your phone already rooted? (y/n)n
Do you wish to continue with the ROOTing? (y/n)y
Is USB Debugging enabled on your phone? (y/n)y
Great lets start the process.
Starting ADB server.
ROOTer.sh: 49: ./adb/adb: Permission denied
Wait for phone to be ready.
ROOTer.sh: 53: ./adb/adb: Permission denied
Push the exploit to the phone.
ROOTer.sh: 57: ./adb/adb: Permission denied
ROOTer.sh: 58: ./adb/adb: Permission denied
Run the exploit. There may be a delay whilst this is happening.
ROOTer.sh: 62: ./adb/adb: Permission denied
ROOTer.sh: 63: ./adb/adb: Permission denied
Mount system as R/W.
ROOTer.sh: 67: ./adb/adb: Permission denied
Push su to phone.
ROOTer.sh: 71: ./adb/adb: Permission denied
Push Superuser.apk to phone.
ROOTer.sh: 73: ./adb/adb: Permission denied
Push busybox to phone.
ROOTer.sh: 75: ./adb/adb: Permission denied
Setting permissions for su.
ROOTer.sh: 79: ./adb/adb: Permission denied
Setting permissions for busybox.
ROOTer.sh: 81: ./adb/adb: Permission denied
Reboot phone.
ROOTer.sh: 85: ./adb/adb: Permission denied
Stopping ADB Server.
ROOTer.sh: 89: ./adb/adb: Permission denied
Your phone should now be ROOTed.

[Q] Error when try downgrade htc legend

Hello,
I try to downgrade my htc legend with this tutor : http://forum.xda-developers.com/showthread.php?t=725430
But i get the next line :
cr--rw---- 1 1001 2002 90, 0 Jan 13 21:11 /dev/mtd/mtd0
how can i fix this?
Hello,
I just whiped my phone but still :
Microsoft Windows [versie 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. Alle rechten voorbehouden.
C:\Users\Administrator\Desktop\android-sdk-windows\platform-tools>crackin.bat
"Copying tools"
adb server is out of date. killing...
* daemon started successfully *
1619 KB/s (698452 bytes in 0.421s)
1190 KB/s (76044 bytes in 0.062s)
1641 KB/s (655360 bytes in 0.390s)
"Freeing primary PERM linker"
rm failed for /data/DxDrm/fuse/*, No such file or directory
rm failed for /data/DxDrm/fuse, No such file or directory
rmdir failed for /data/DxDrm/fuse/, No such file or directory
cannot create /data/DxDrm/fuse: directory nonexistent
Unable to chmod /data/DxDrm/fuse: No such file or directory
"Freeing secondary PERM linker"
rmdir failed for /data/DxDrm/fuse/, No such file or directory
rmdir failed for /data/DxDrm, No such file or directory
link failed Permission denied
"Rebooting to normal mode to unlock CHMOD links"
rmdir failed for /data/dontpanic, Permission denied
rm failed for /data/DxDrm, No such file or directory
link failed File exists
link failed Permission denied
"Rebooting to normal mode to downgrade ROM"
/dev/mtd/mtd0: Permission denied
cr--rw---- 1 1001 2002 90, 0 Jan 14 00:51 /dev/mtd/mtd0
error writing misc: Permission denied
"Freeing links"
rm failed for /data/DxDrm, No such file or directory
rm failed for /data/dontpanic, Permission denied
What to do ?
mij boot loader is 1.01
You missed a step or something that's why it says no file or directory,make sure files where pushed into the Data folder
adb shell
cd data
ls
and you should see the dxdrm
Hello,
If i do that i get this :
C:\androidSDK\tools>adb shell
$ cd data
cd data
$ ls
ls
opendir failed, Permission denied
edit :
I finaly managed to roll back to 2.1 what to do now ?
Code:
C:\androidSDK\tools>crackin.bat
"Copying tools"
1256 KB/s (698452 bytes in 0.543s)
589 KB/s (76044 bytes in 0.126s)
1155 KB/s (655360 bytes in 0.554s)
"Freeing primary PERM linker"
rm failed for /data/DxDrm/fuse/*, No such file or directory
rm failed for /data/DxDrm/fuse, Is a directory
"Freeing secondary PERM linker"
rmdir failed for /data/DxDrm/fuse/, Not a directory
rmdir failed for /data/DxDrm, Directory not empty
link failed File exists
"Rebooting to normal mode to unlock CHMOD links"
rmdir failed for /data/dontpanic, Permission denied
rm failed for /data/DxDrm, Permission denied
link failed File exists
link failed File exists
"Rebooting to normal mode to downgrade ROM"
crwxrwxrwx 1 1001 2002 90, 0 Jan 14 19:25 /dev/mtd/mtd0
"Freeing links"
rm failed for /data/DxDrm, Permission denied
rm failed for /data/dontpanic, Permission denied
I Did this whit RUU Legend
but can i root now?
RUU say's i have : image version : 1.31.405.5
edit : r4-lagend-root keeps on : writing "zip"
question to ericosman
ericosman how did you managed to fix the cr--rw---- 1 1001 2002 90, 0 Jan 13 21:11 /dev/mtd/mtd0 part and get it right? iv been working on it for so long i have no idea how to fix it and cant downgrade

[Q] HTC incredible s arror

I have this arror. Why? 2 weeks ago I could go into recoveery, but no there are also error: "Can not find folder "cache"".
When I want to install blackrose, there was this error:
-------------------------------
| Incredible S BlackRose 130203 |
| Made by Lecahel(XDA-dla5244) |
| Dok-Do belongs to KOREA |
-------------------------------
Do at your own risk
Your INS(USB Debugging ON) should be connected to PC
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
* Waiting for device... *
* Installing BlackRose *
1744 KB/s (1116332 bytes in 0.625s)
1820 KB/s (1048576 bytes in 0.562s)
2 KB/s (2402 bytes in 1.000s)
[: permission denied
[: permission denied
[: permission denied
dd: can't open '/dev/block/mmcblk0p18': Permission denied
md5sum: can't open '/data/local/tmp/blackrose/hboot_backup.img': No such file or
directory
md5sum: can't open '/dev/block/mmcblk0p18': Permission denied
[: permission denied
[: permission denied
[: permission denied
dd: can't open '/dev/block/mmcblk0p18': Permission denied
md5sum: can't open '/dev/block/mmcblk0p18': Permission denied
[: permission denied
mkdir: can't create directory '/cache/recovery': Permission denied
/data/local/tmp/blackrose/install.sh: cannot create /cache/recovery/command: per
mission denied
0 KB/s (1 bytes in 0.015s)
Help me please!

Help building Dirty Unicorns [solved]

I'm trying to build Dirty Unicorns custom rom for the gtaxlwifi. When I do a brunch gtaxlwifi I get the following error.
mkdir: cannot create directory '/out': Permission denied
Click to expand...
Click to collapse
Am I mistaken in thinking it should be creating the directory "out" and not "/out". The permissions for the build directory are set to 755 so there shouldn't be an issue. Not sure how to fix this.
Here is a full dump:
Code:
brunch gtaxlwifi
including vendor/du/vendorsetup.sh
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
mkdir: cannot create directory '/out': Permission denied
File "build/tools/roomservice.py", line 39
print "Device %s not found. Attempting to retrieve device repository from DU Github (http://github.com/DirtyUnicorns)." % device
^
SyntaxError: invalid syntax
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
mkdir: cannot create directory '/out': Permission denied
mkdir: cannot create directory '/out': Permission denied
============================================
DU_VERSION=du_gtaxlwifi-v11.7.2-20180625-0153-UNOFFICIAL
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a53
BUILD_ID=NZH54D
OUT_DIR=/out
============================================
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
mkdir: cannot create directory '/out': Permission denied
============================================
DU_VERSION=du_gtaxlwifi-v11.7.2-20180625-0153-UNOFFICIAL
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a53
BUILD_ID=NZH54D
OUT_DIR=/out
============================================
mkdir: cannot create directory '/out': Permission denied
Using '/usr/bin/ninja' binary on 'linux-x86'
mkdir: cannot create directory '/out': Permission denied
mkdir: cannot create directory '/out': Permission denied
mkdir: cannot create directory '/out'make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/affinity.o] Error 1
: Permission denied
make: *** Waiting for unfinished jobs....
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/command.o] Error 1
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/dep.o] Error 1
mkdir: cannot create directory '/out': Permission denied
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/eval.o] Error 1
mkdir: cannot create directory '/out': Permission denied
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/exec.o] Error 1
mkdir: cannot create directory '/out': Permission denied
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/expr.o] Error 1
#### make failed to build some targets ####
Thanks for any help given.
srgrusso said:
I'm trying to build Dirty Unicorns custom rom for the gtaxlwifi. When I do a brunch gtaxlwifi I get the following error.
Am I mistaken in thinking it should be creating the directory "out" and not "/out". The permissions for the build directory are set to 755 so there shouldn't be an issue. Not sure how to fix this.
Here is a full dump:
Code:
brunch gtaxlwifi
including vendor/du/vendorsetup.sh
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
mkdir: cannot create directory '/out': Permission denied
File "build/tools/roomservice.py", line 39
print "Device %s not found. Attempting to retrieve device repository from DU Github (http://github.com/DirtyUnicorns)." % device
^
SyntaxError: invalid syntax
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
mkdir: cannot create directory '/out': Permission denied
mkdir: cannot create directory '/out': Permission denied
============================================
DU_VERSION=du_gtaxlwifi-v11.7.2-20180625-0153-UNOFFICIAL
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a53
BUILD_ID=NZH54D
OUT_DIR=/out
============================================
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
mkdir: cannot create directory '/out': Permission denied
============================================
DU_VERSION=du_gtaxlwifi-v11.7.2-20180625-0153-UNOFFICIAL
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a53
BUILD_ID=NZH54D
OUT_DIR=/out
============================================
mkdir: cannot create directory '/out': Permission denied
Using '/usr/bin/ninja' binary on 'linux-x86'
mkdir: cannot create directory '/out': Permission denied
mkdir: cannot create directory '/out': Permission denied
mkdir: cannot create directory '/out'make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/affinity.o] Error 1
: Permission denied
make: *** Waiting for unfinished jobs....
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/command.o] Error 1
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/dep.o] Error 1
mkdir: cannot create directory '/out': Permission denied
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/eval.o] Error 1
mkdir: cannot create directory '/out': Permission denied
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/exec.o] Error 1
mkdir: cannot create directory '/out': Permission denied
make: *** [build/kati/Makefile.ckati:89: /out/host/linux-x86/obj/EXECUTABLES/ckati_intermediates/expr.o] Error 1
#### make failed to build some targets ####
Thanks for any help given.
Click to expand...
Click to collapse
It's not the correct forum for this question but anyway you can use sudo before commands or run build commands into a root terminal
messi2050 said:
It's not the correct forum for this question but anyway you can use sudo before commands or run build commands into a root terminal
Click to expand...
Click to collapse
Thanks for your response, but can you please point me to the correct forum. Also looking at it a little more it doesn't seem to be a permission problem. It looks like it's not sourcing the out directory correctly.
It should be
Code:
OUT_DIR=/mnt/UserData/Projects/Android-Source/DU-n7x/out
Not
Code:
OUT_DIR=/out
Thanks
srgrusso said:
Thanks for your response, but can you please point me to the correct forum. Also looking at it a little more it doesn't seem to be a permission problem. It looks like it's not sourcing the out directory correctly.
It should be
Code:
OUT_DIR=/mnt/UserData/Projects/Android-Source/DU-n7x/out
Not
Code:
OUT_DIR=/out
Thanks
Click to expand...
Click to collapse
Here is the correct forum
https://forum.xda-developers.com/android/help?nocache=1&z=1119390680732286
No it's a permission problem, yw
I feel stupid. I was using python 3 not python 2 which caused build/tools/roomservice.py to error out and not find the source directory.

Categories

Resources