Rooted and permissioned correctly but getting a permissions denied on su - Huawei Ideos X5 U8800

Here's the problem from a logcat after trying to run titanium backup:
E/su ( 6867): Getting exe path failed with 13: Permission denied
I AM rooted. I remounted /system as read/write. Permissions are perfect:
from /system/bin:
# pwd
/system/bin
#ls -l su
-rwxr-xr-x root shell 22240 2008-02-29 20:33 su
#
Just to prove that I have root permissions:
# chmod 666 su
# ls -l su
-rw-rw-rw- root shell 22240 2008-02-29 20:33 su
#
Just for the heck of it I tried a 777 - same problem.
This is duhRIVing me nuts!

Related

adb push su - Why doesnt this work on the Eris?

This doesnt work on the Eris but I was just wondering if anyone knows why. I am not a linux expect so the answer is probably obvious.
I was wondering if we could just adb push the "su" command to the phone, execute and get root. Then I found this link to a tutorial on how to root the Magic by using adb to push a modified su command to the phone: http://android-dls.com/wiki/index.php?title=Magic_Root_Access
Code:
C:\>adb push su /data/local
952 KB/s (76232 bytes in 0.078s)
C:\>adb shell
$ cd /data/local
cd /data/local
$ ls -l
ls -l
-rw-rw-rw- shell shell 76232 2009-07-31 19:08 su
drwxrwxrwx shell shell 2010-03-01 04:19 dmdata
drwxrwx--x shell shell 2010-03-26 10:29 tmp
drwxrwxrwx shell shell 2010-03-26 10:29 rights
-rw-rw-rw- shell shell 399435 2010-03-26 13:51 bootanimation.zip
$ chmod 777 su
chmod 777 su
$ ls -l
ls -l
-rwxrwxrwx shell shell 76232 2009-07-31 19:08 su
drwxrwxrwx shell shell 2010-03-01 04:19 dmdata
drwxrwx--x shell shell 2010-03-26 10:29 tmp
drwxrwxrwx shell shell 2010-03-26 10:29 rights
-rw-rw-rw- shell shell 399435 2010-03-26 13:51 bootanimation.zip
$ ./su
./su
su: access granted, courtesy of www.magicandroidapps.com
su: permission denied
You can push it, but you will be unable to set the right permissions.
I am able to "chmod 777 su" successfully. Or are you talking about some other permissions?
DarthMowzy said:
I am able to "chmod 777 su" successfully. Or are you talking about some other permissions?
Click to expand...
Click to collapse
He's talking about super user permissions (chmod 4777)
-rwxrwxrwx shell shell 76232 2009-07-31 19:08 su
Click to expand...
Click to collapse
Owner - shell.
"chmod 4777" will not work =(
mb you can change owner...
that would mean I could hack any computer or server i wanted if i just had a copy of su lol

nv_data.bin Permission [TUTORIAL] needed

After so many tutorials on Forum for nv_data.bin permission denied, none of them worked for me. Is there any 100% working tutorial.
regards
karabey said:
After so many tutorials on Forum for nv_data.bin permission denied, none of them worked for me. Is there any 100% working tutorial.
regards
Click to expand...
Click to collapse
There's an app called mount system on the market. Install it & ask it mount always as r/w access at boot.
PS : You need to have root access.
Thanks but not worked.. Cant still read the nv_data.bin
Ok have saved now the bml3.bak but there is no Code saved if i try to extract by sgux2.exe
HEX
53534E56A6A7FA1A0709542A1E85E257F98A6F14E2E19CA932EBEC93945930F6D0D9713DF61AB70CA4D57F7F9BCEDD924B888C6AAE9074B9D49D8FEEC8C021A97D4882BEFF922E8B004646464646464646000000000000000000000000000000000000000000000000323332303523
323332303523 = 23205
Any help?
My friend who use the Phone could read the Codes and made an Froyo Update. But after the Update Code were not able to enter. It gave the Error that is wrong.
ProductCode: GT-i9000HKDONE
You can get permission by adb shell or terminal emulator by typing:
su
busybox chown 1001:1001 /efs/nv_data.bin
(reboot)
I tried your method, but I still get permission denied. Here is what I did and the list of the file under /efs:
C:\SDK\tools>adb shell
$ su
su
# busybox chown 1001:1001 /efs/nv_data.bin
busybox chown 1001:1001 /efs/nv_data.bin
# reboot
reboot
C:\SDK\tools>adb shell
$ su
su
# ls -l /efs
ls -l /efs
-rwx------ radio radio 2097152 2010-10-30 04:57 nv_data.bin
drwxrwxrwx radio radio 2010-07-17 09:31 imei
-rwx------ radio radio 32 2010-10-30 04:57 nv_data.bin.md5
#
iScream^ said:
You can get permission by adb shell or terminal emulator by typing:
su
busybox chown 1001:1001 /efs/nv_data.bin
(reboot)
Click to expand...
Click to collapse
lan_baba said:
I tried your method, but I still get permission denied. Here is what I did and the list of the file under /efs:
C:\SDK\tools>adb shell
$ su
su
# busybox chown 1001:1001 /efs/nv_data.bin
busybox chown 1001:1001 /efs/nv_data.bin
# reboot
reboot
C:\SDK\tools>adb shell
$ su
su
# ls -l /efs
ls -l /efs
-rwx------ radio radio 2097152 2010-10-30 04:57 nv_data.bin
drwxrwxrwx radio radio 2010-07-17 09:31 imei
-rwx------ radio radio 32 2010-10-30 04:57 nv_data.bin.md5
#
Click to expand...
Click to collapse
not workinggg.......
Why do you want to read the file?
Have you lost your imei? If so, was the phone sold to you?
Don't bother with the codes. Use the hex edit method to change the lock status to 0:
http://forum.xda-developers.com/showthread.php?t=761045
p.s. you should delete the file you posted... that's some bad security there.

ROM Cooking Permissions Help needed

I am having issues with file permission on su when either I cook a clockwork mod or DFT NAND Rom.
I have verified that su has the following permissions inside the .zip or .img file:
Code:
-rwxr-xr-x
Once flashed to phone when I check the permissions they have been changed to:
Code:
-rwsr-sr-x
SuperUser will crash until I issue the following commands via adb:
Code:
adb shell chmod 4755 /system/bin/su
adb shell chmod 4755 /system/xbin/su
adb reboot
After reboot the permissions are correct wtih:
Code:
-rwxr-xr-x
Anyone have any thoughts or know why this is happening? I am using Ubuntu v10 with the root account.
Thanks
-CMYLXGO

How change permissions dir APP by ADB shell?

Hi i have problem with Kindle Fire,
i changed permissions folder system/app with app Root explorer and then I restart Kindle Fire and now dont want start. I think this is problem permissons for this directory.
Pleas can you send me setting permissions folder APP and how i can change it by ADB SHELL?
I have tried:
adb shell
su
chmod 644 app
Unable to chmod app: Read-only file system
THX very much .-(
Sory my english is very bad.
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 755 /system/app
or look here:
http://forum.xda-developers.com/showthread.php?t=1356257
guys please use the search function !
I have tried it but:
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
$ chmod 755 /system/app
chmod 755 /system/app
Unable to chmod /system/app: Read-only file system
THX I'm a little desperate
pitrsonek said:
I have tried it but:
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
$ chmod 755 /system/app
chmod 755 /system/app
Unable to chmod /system/app: Read-only file system
THX I'm a little desperate
Click to expand...
Click to collapse
you need root before you can do any of those (i.e. su)
But i think i have root because I install Google market and other app. Or how i can check if i have root?
THX!
c:\Program Files (x86)\Android\android-sdk\platform-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
4D1A002600000001 device
c:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell
$ ls
ls
config
dropbox
cache
sdcard
acct
mnt
vendor
d
etc
ueventd.rc
ueventd.omap4430.rc
ueventd.goldfish.rc
system
sys
sbin
proc
init.rc
init.omap4430.rc
init.goldfish.rc
init
default.prop
data
root
dev
$
at the $ prompt type
su
should turn to # instead of $
Then you are Root.
krelvinaz said:
at the $ prompt type
su
should turn to # instead of $
Then you are Root.
Click to expand...
Click to collapse
Yes, what he said...you're confusing having root on the command line for "I installed su and superuser to their correct locations"
adb shell
$ su
su
[1] + Stopped (signal) su
$ su
su
[2] + Stopped (signal) su
[1] Segmentation fault su
$
I have try install root by this manual: http://rootkindlefire.com/kindle-fire-root/how-to-root-kindle-fire/
I see device when i write: adb devices
I have executed runme.bat
but SU dont go
pitrsonek said:
adb shell
$ su
su
[1] + Stopped (signal) su
$ su
su
[2] + Stopped (signal) su
[1] Segmentation fault su
$
I have try install root by this manual: http://rootkindlefire.com/kindle-fire-root/how-to-root-kindle-fire/
I see device when i write: adb devices
I have executed runme.bat
but SU dont go
Click to expand...
Click to collapse
Something is wrong with your device then.
as a first step look if you have superuser.apk in \system\app\
Ho i dont have Superuser.apk in /system/app/
b63 said:
as a first step look if you have superuser.apk in \system\app\
Click to expand...
Click to collapse
Doesn't really matter if su is not working. Superuser.apk is just a wrapper for su and he's trying to do things on the command line so su is what he's calling to, not SuperUser.apk.
He either didnt root correctly to begin with or he did something after that messed things up. Temp rooting with zergRush and redoing things is most likely what he needs to do.
Is ther somebody who can help me online on gtalk? I will pay you by PayPal. If anybody has freetime send me PM. THX
Ther is content dir app:
c:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell
$ ls /system/app
ls /system/app
-------------------------------------------------------------------------
ATVAndroidClient.apk
AccountAndSyncSettings.apk
AmazonVenezia.apk
ApplicationsProvider.apk
AudibleAndroidApplication-venezia.apk
CSApp-unsigned.apk
CalendarProvider.apk
CertInstaller.apk
Cloud9-unsigned.apk
Cloud9SystemBrowserProvider-unsigned.apk
Contacts.apk
ContactsProvider.apk
DefaultContainerService.apk
DownloadProvider.apk
DownloadProviderUi.apk
DrmProvider.apk
Email.apk
Facebook.apk
Gallery3D.apk
HTMLViewer.apk
IMDb-2.3.apk
KindleForOtter.apk
LatinIME.apk
Launcher.apk
LiveWallpapers.apk
LiveWallpapersPicker.apk
MagicSmokeWallpapers.apk
MarketIntentProxy.apk
MediaProvider.apk
MyAccount-unsigned.apk
OOBE-unsigned.apk
OTASilentInstall.apk
OtterAppManager.apk
OtterTutorial.apk
PackageInstaller.apk
PicoTts.apk
Provision.apk
Pulse-amazon.apk
QuickSearchBox.apk
QuickSettings.apk
Quickoffice_AMAZON_4.1.408_VC.apk
Settings.apk
SettingsProvider.apk
SystemUI.apk
TtsService.apk
UserDictionaryProvider.apk
VisualizationWallpapers.apk
VpnServices.apk
Windowshop.apk
air_runtime.apk
amazonmp3-unsigned.apk
com.amazon.dcp.apk
oem_install_flash_player_signed.apk
Superuser.apk
Vending.apk
$
agree - but it's an indication that his device is not rooted
i would suggest to install superoneclick to the computer and root again
all you need is here : http://forum.xda-developers.com/showpost.php?p=19789892&postcount=35
pitrsonek said:
Is ther somebody who can help me online on gtalk? I will pay you by PayPal. If anybody has freetime send me PM. THX
$
Click to expand...
Click to collapse
Maybe on Thursday I can. Busy until then.
I just run SuperOneClick and there is log http://jsfiddle.net/tVnDv/ from this program.
Kindle Fire is Back
Jupiiie Kindle Fire is back.
So first i try SuperOneClikck install root, but this code doesnt go:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 755 /system/app
Then i tried unroot and this code go?
How my Kindle Fire start ,-) Its crazy but true.
Thank you very much guys...
glad to help ...
pitrsonek said:
Jupiiie Kindle Fire is back.
So first i try SuperOneClikck install root, but this code doesnt go:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 755 /system/app
Then i tried unroot and this code go?
How my Kindle Fire start ,-) Its crazy but true.
Thank you very much guys...
Click to expand...
Click to collapse
I'm having the same issue, but when I go to change the mount permissions I get permission denied. Anyone care to give me some insight on how to fix it?
you have the $ prompt !!!
type su - the prompt has to change to #
then do the commands ...

Cannot delete files from /sdcard

hi everyone,
I cannot delete two files from a folder on my sdcard which I put there via adb.
Code:
#### ADB ####
C:\>adb shell ls -l /sdcard/!flash
-rw-rw---- root sdcard_r 253358134 2015-01-25 23:33 cm-12-20150124-NIGHTLY-mako.zip
-rw-rw---- root sdcard_r 230777289 2015-01-25 23:33 pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip
C:\>adb shell rm -rf /sdcard/!flash/*
rm: /sdcard/!flash/cm-12-20150124-NIGHTLY-mako.zip: Permission denied
rm: /sdcard/!flash/pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip: Permission denied
C:\>adb shell chown 0.0 /sdcard/!flash/*
chown: /sdcard/!flash/cm-12-20150124-NIGHTLY-mako.zip: Operation not permitted
chown: /sdcard/!flash/pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip: Operation not permitted
#### TERMINAL EMULATOR ####
[email protected]:/sdcard/!flash # chmod 755 *
[email protected]:/sdcard/!flash # ls -l
-rw-rw---- root sdcard_r 253358134 2015-01-25 23:33 cm-12-20150124-NIGHTLY-mako.zip
-rw-rw---- root sdcard_r 230777289 2015-01-25 23:33 pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip
[email protected]:/sdcard/!flash # rm -rf ./*
rm: ./cm-12-20150124-NIGHTLY-mako.zip: Permission denied
rm: ./pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip: Permission denied
i cannot change permissions or owner, whatever i try either with adb or terminal emulator.
they take up ~500mb, so it would be really nice if they were gone.
does anyone have an idea other than data wipe? would be greatly appreciated!
zakoo2 said:
hi everyone,
I cannot delete two files from a folder on my sdcard which I put there via adb.
Code:
#### ADB ####
C:\>adb shell ls -l /sdcard/!flash
-rw-rw---- root sdcard_r 253358134 2015-01-25 23:33 cm-12-20150124-NIGHTLY-mako.zip
-rw-rw---- root sdcard_r 230777289 2015-01-25 23:33 pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip
C:\>adb shell rm -rf /sdcard/!flash/*
rm: /sdcard/!flash/cm-12-20150124-NIGHTLY-mako.zip: Permission denied
rm: /sdcard/!flash/pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip: Permission denied
C:\>adb shell chown 0.0 /sdcard/!flash/*
chown: /sdcard/!flash/cm-12-20150124-NIGHTLY-mako.zip: Operation not permitted
chown: /sdcard/!flash/pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip: Operation not permitted
#### TERMINAL EMULATOR ####
[email protected]:/sdcard/!flash # chmod 755 *
[email protected]:/sdcard/!flash # ls -l
-rw-rw---- root sdcard_r 253358134 2015-01-25 23:33 cm-12-20150124-NIGHTLY-mako.zip
-rw-rw---- root sdcard_r 230777289 2015-01-25 23:33 pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip
[email protected]:/sdcard/!flash # rm -rf ./*
rm: ./cm-12-20150124-NIGHTLY-mako.zip: Permission denied
rm: ./pa_gapps-modular-mini-5.0.1-BETA12-20150116-signed.zip: Permission denied
i cannot change permissions or owner, whatever i try either with adb or terminal emulator.
they take up ~500mb, so it would be really nice if they were gone.
does anyone have an idea other than data wipe? would be greatly appreciated!
Click to expand...
Click to collapse
TWRP has a file explorer. Try using it to delete the files.

Categories

Resources