So I flashed SuperD yesterday, and all is cool. Its not my first time using roms, and everything went smooth.
But then today I wanted to change the keyboard layout back to the German layout. So I went to Terminal Emulator and began to edit the layout using this method (tested, working from these forums)
su
mount -o rw,remount /system
cp /sdcard/trout-keypad-v3.kcm.bin /system/usr/keychars
Anyway, once I finished, it said that this operation isnt possible. Then I realized that I forgot to put the file on sd card. So I added the file, but then the strange part came....
I then again went into terminal emulator and typed "su" to start the process again but now im getting the "permission denied error! 5 min ago I didnt have this error and could mount just fine! The phone is running fine, but it seems like I ve lost root.
Do I need to reflash the rom or the spl to reverse this? I really just need access to Terminal again. Anyone know how to fix this? I tried rebooting just to see if it was some type of bug, but even after reboot Im still getting permission denied.
Could really use some help on this!
Use adb shell. Try clearing the saved options in the SU application. Try a different terminal program. Lastly, try to just reflash the rom.
evilkorn said:
Use adb shell. Try clearing the saved options in the SU application. Try a different terminal program. Lastly, try to just reflash the rom.
Click to expand...
Click to collapse
I installed a new Terminal, and it seems to work fine. Might seem like a dumb question, but Im really not sure if I have root or not?!
If it worked what's the question?
evilkorn said:
If it worked what's the question?
Click to expand...
Click to collapse
Your right. Was a dumb question. It just confused me, as one terminal is giving me access, and another wont. Guess its just a bug.
Anyway, I reflashed the rom, and all is perfect. Thanks for the help though guys.
Related
Hello everyone, I apologize in advance if I've posted this in the wrong section. Ok so here is my problem, I recently got Cyanogen 4.04 (Latest stable release) on my phone. I was gonna try out the overclock app from the App market but it doesn't let me open it because i'm not ROOT. I thought users are always ROOT in modded ROM, are they not? If not then what should I do to ROOT? I used the one click method for root at the begining (to install cyanogen) and Haykuro SPL Update. Thanks.
p.s I am a complete noob so please go slow.
If you have used the 1-Click-Root method, did you follow the steps to type in telnetd using a terminal app? If not then I would go back and re-trace your steps.
NeoBlade said:
If you have used the 1-Click-Root method, did you follow the steps to type in telnetd using a terminal app? If not then I would go back and re-trace your steps.
Click to expand...
Click to collapse
Yes I did the telnetd thing. After rebooting clicking on an emptyspace then RETURN, wait, RETURN then telnetd which took me to the contact list. Then Home. Then I went to the terminal app and did the 4 step thing. But I did all that before flashing the Cyanogen for the first time. Now that I have Cynogen installed, if I try to Connect in telnet it gives me an error and if I try to do the 4 step thing in Terminal emulator it says "permission denied. (are you root?)". Please tell me what should I do?
pooranimator said:
Yes I did the telnetd thing. After rebooting clicking on an emptyspace then RETURN, wait, RETURN then telnetd which took me to the contact list. Then Home. Then I went to the terminal app and did the 4 step thing. But I did all that before flashing the Cyanogen for the first time. Now that I have Cynogen installed, if I try to Connect in telnet it gives me an error and if I try to do the 4 step thing in Terminal emulator it says "permission denied. (are you root?)". Please tell me what should I do?
Click to expand...
Click to collapse
type su into the terminal emulator and see what is says. if you were able to flash a custom rom then your phone is rooted, you could've gotten a bad download.
Download Better Terminal from the Maket and as david mentioned, type in "su" then press enter to see if you have root access.
if nothing pops up upon entering su does that mean a new wipe and install is nessecary??
Reason i ask is i can't get the terminal emulator to work either that came with the build....is it the same thing as better terminal????. I used a one click install and everything is running fine on my 4.0.4 build but i tried earlier as well to install the "overclock" app from market and it wouldn't work. I decided to purchase SetCPU instead for a buck and it works no problem. By the way i have a my touch 3g..
mikespy said:
if nothing pops up upon entering su does that mean a new wipe and install is nessecary??
Reason i ask is i can't get the terminal emulator to work either that came with the build....is it the same thing as better terminal????. I used a one click install and everything is running fine on my 4.0.4 build but i tried earlier as well to install the "overclock" app from market and it wouldn't work. I decided to purchase SetCPU instead for a buck and it works no problem. By the way i have a my touch 3g..
Click to expand...
Click to collapse
dont think the terminal emulator works w/o a physical keyboard
better terminal will get the job done, but not the same app. You can just use that instead of terminal
but if terminal does work w/o a physical keyboard, when you type su, what does it do?
if it asks to allow or deny, click allow. if you hit always deny, go to the superuser app and erase all settings.
if it doesnt ask anything, when you type su, it should drop one line and have this symbol #
B-man007 said:
dont think the terminal emulator works w/o a physical keyboard
better terminal will get the job done, but not the same app. You can just use that instead of terminal
but if terminal does work w/o a physical keyboard, when you type su, what does it do?
if it asks to allow or deny, click allow. if you hit always deny, go to the superuser app and erase all settings.
if it doesnt ask anything, when you type su, it should drop one line and have this symbol #
Click to expand...
Click to collapse
Thanks for the help....
I actually did download better terminal and when i typed in su and hit enter. It went to the screen your talking about and since i had just installed SetCPU it asked if i wished to allow i clicked yes. So i asume i have rooted correctly and guess the "overclocking" program on the market might just not download on my phone correctly with the cyan 4.0.4.
Thanks
Thanks to all of you for your replies. I think I know what the problem was. The OverclockWidget is a Widget...duh silly me. I was trying to open it as a regular app and was failing. Added it as a widget on the first screen and now everything works. I have one quick unrelated question, while downloading the latest experimental release of Cyanogen I read at the bottom of the post in read that the users should not use any Apps2SD while using Cyaogen's latest release because the ROM does it by itself or something like that. What does that mean?
@mikespy- tap and hold for a sec on your screen and add the OverclockWidget widget on your screen then tap to open. That's how you open the OC util.
Ever since I switched from JF 1.51 to rooted TMO 1.6, my SU app has been broken. It just hangs while staying black and eventually force closes. As you can imagine, this is a big hassle because I can't give any apps permission.
Does anyone have a solution? Thanks.
hettbeans said:
Ever since I switched from JF 1.51 to rooted TMO 1.6, my SU app has been broken. It just hangs while staying black and eventually force closes. As you can imagine, this is a big hassle because I can't give any apps permission.
Does anyone have a solution? Thanks.
Click to expand...
Click to collapse
Are you sure you didn't load the wrong rom and you lost root?
supremeteam256 said:
Are you sure you didn't load the wrong rom and you lost root?
Click to expand...
Click to collapse
Uhh, yeah. I have root, all the apps id already given permission to still work. Its new ones that do not.
Have you tried to push su back or run enable superuser to see if that will help?
supremeteam256 said:
Have you tried to push su back or run enable superuser to see if that will help?
Click to expand...
Click to collapse
I don't know what either of those means. If you could provide some instructions (terminal commands, etc) that would be great.
Thanks in advance.
Try this first.
Code:
turn on your phone by holding the home+end(power) key
press alt+x to enter the recovery console and then press enter when it asks you
next type:
mount data
rm /data/data/com.koushikdutta.superuser/databases/superuser.sqlite
if you have the problem where it says this file does not exist, type:
rm /data/data/koushikdutta.superuser/databases/superuser.sqlite
Alright, I will try that in a little while when I am at a computer. Thanks
hettbeans said:
Alright, I will try that in a little while when I am at a computer. Thanks
Click to expand...
Click to collapse
Also in the mean time you can try the superuser whitelist in the market to see if that will work.
Hey, formatting my SD card seems to have fixed it, but thanks for the help.
no problem
GRRRRR SuperOneClick breaks it also
I hate posting a question, but I've exhausted searching for an answer.
I have a G1 that i am trying to root in order to flash, I made the mistake of using ANDROOT because it said it worked for G1. Well it said it rooted my phone, but I think it botched something internally because I can't actually get root access.
I then attempted to use the SUPERONECLICK and it ran through the whole proccess and failed when it did a test command at the end to send a SU request.
I then tried some other things to flash clockworkmod recovery with no success.
Now when I attempt to access root in terminal I get...
"371 could not load needed library 'libbinder.so' for 'su' (lLibrary 'libbinder.so' not found)CANNOT LINK EXECUTABLE"
I'm not an idiot, I've rooted and flashed both the NEXUS ONE and CAPTIVATE many times problem free, but this has now got me stumpped and I've searched to no avail. Any help is appreciated.
I'm having the same problem.
Path I took was a bit different, just got here from WM some Linux exp not much.
I tried universal androot
It said it worked. But it didn't.
Then SuperOneClick
Failed at SU test.
So i tried the Shell Root that said it worked.
Only proof I have that it works is that android screen cast works.
Then I was installing Titanium and it said I didn't have root or my busy box was not installed. So I pushed I'm having trouble ... I downloads it.. to where i dont know
I tried pushing it from command prompt with
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
at this point I get that error
when I exit and come back into shell I get the same error just by typing SU.
Any help would be appreciated it. I have a Zio
What's a zio?
To both...start over with the DREAIMG.nbh and just start from scratch. These one clicks may work but they're boring. I actually unrooted one of my dreams and used visionary and it worked too funny (but boring)
htc vision
I'm rooted and am trying to mount the system to remove bloatware apps... However everytime Titanium Backup removes it and I reboot it's still there...
Anyone have any ideas?
System is protected: you can't modify it while the phone is booted. You'll have to make a zip or whatever to delete it in recovery.
You have to be kidding me...
I've spent all day long trying to root this bastard phone and that didn't work then I managed it and now I can't disable, remove any apps ?
So much for HTC being dev friendly
fkofilee said:
You have to be kidding me...
I've spent all day long trying to root this bastard phone and that didn't work then I managed it and now I can't disable, remove any apps ?
So much for HTC being dev friendly
Click to expand...
Click to collapse
It seriously took you all day to root? What went wrong?
Did you try just freezing the app instead?
Brand new trick from HTC?Didn't have it in hox+
Sent from my Nexus 4 using Tapatalk 2
afilopou said:
Brand new trick from HTC?Didn't have it in hox+
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
So you can no longer go into ES explorer, mount root/system go to system > apps and delete whatever you want ?
Sent from my HTC Incredible S using Tapatalk 2
The recovery flashed but wouldnt boot , managed to get round it when i discovered POB with his superboot Thank god for the desire C
Then i realised that i couldnt flash anything because I manged to install 6.0.2.8 as a boot img, and 6.0.3.0 as a proper recovery.
Then i didnt have any files on the device to flash boohoo so i managed to get ADB sideload working through the AIO One Toolkit... And managed to flash AHRD finally getting a working device,
As you see Im a seasoned vet at these things but the HTC One has been the first device that has stumped me....
----------------------
The apps issue is not unkwown for HTC however they havent done this for a while.... Back with the G2 they did exactly the same thing and yes ive frozen them but there should be away to remove system apps for us through root.... But i cant remember how, Throwing it into ADB Shell and requesting SU along with a Remount works fine but still would like to remove the apps.
Im also looking for someone with a locked phone... (Sim Locked) i have a theory and it worked on the Desire C Anyone wanna help?
fkofilee said:
I'm rooted and am trying to mount the system to remove bloatware apps... However everytime Titanium Backup removes it and I reboot it's still there...
Anyone have any ideas?
Click to expand...
Click to collapse
Delete the apps with titanium and power off the phone. Don't do a restart.
Already tried that ^_^
You need to flash a custom kernel with a modified ramdisk to disable system protection Without doing that you're like deleting an app on windows with deepfreeze on it
Is that the only solution?
There are so many bloated useless and intrusive (cr)apps on this phone it's unbelievable.
Other solution is boot in recovery and delete it there. Either thru adb while in recovery mode, flashable zip or through file manager(if you're using TWRP). Other than that nope
Hmmm I'm thinking adb through recovery here but how do I got about doing this?
fkofilee said:
Hmmm I'm thinking adb through recovery here but how do I got about doing this?
Click to expand...
Click to collapse
the joys of a s-on devices
read up on adb commands...
or use the zip I attached and edit line 18 in this format with the apps you want to get rid of, use a file explorer to get the proper names.
make a backup first in case you mess up something
Code:
delete("/system/app/xxxxx.apk", "/system/app/xxxx.odex", "/data/app/xxxxx.apk");
The best way to remove apps in recovery is through adb:
Code:
adb shell
sysrw
rm /system/app/abc.apk
the simple way is ROM CLEANER, but isn't available yet for the One.
cheers
fkofilee said:
Hmmm I'm thinking adb through recovery here but how do I got about doing this?
Click to expand...
Click to collapse
type the following commands.
Code:
adb shell
su
cd /system/app/
ls
rm <insert the name of the apk you want to delete here which can be found in the list shown by the ls command>
Riyal said:
type the following commands.
Code:
adb shell
su
cd /system/app/
ls
rm <insert the name of the apk you want to delete here which can be found in the list shown by the ls command>
Click to expand...
Click to collapse
I dont have a One, and dont plan on having one (ever, thanks to this thread! I think I'll stick to Sony, they have instructions to unlocking bootloader on their official website)
BUT, if the system is locked, it should be locked trough ADB too, so I guess what I'd try is install busybox, custom recovery, go into recovery, connected it to the PC (or a mac, but since we're on no-apple forum, I'll assume PC), mounting system there and doing your thing.
You can install busybox and custom recovery right?
Edit: never mind, I should really learn to read. Sometimes I think I'm dyslexic a little, just for words, not letters.
I did not see the 'recovery' part mentioned.
Anywho, mounting system is what you forgot, so at least I said something helpful
ogdobber said:
the joys of a s-on devices
read up on adb commands...
or use the zip I attached and edit line 18 in this format with the apps you want to get rid of, use a file explorer to get the proper names.
make a backup first in case you mess up something
Code:
delete("/system/app/xxxxx.apk", "/system/app/xxxx.odex", "/data/app/xxxxx.apk");
Click to expand...
Click to collapse
MacHackz said:
The best way to remove apps in recovery is through adb:
Code:
adb shell
sysrw
rm /system/app/abc.apk
Click to expand...
Click to collapse
limx said:
the simple way is ROM CLEANER, but isn't available yet for the One.
cheers
Click to expand...
Click to collapse
Riyal said:
type the following commands.
Code:
adb shell
su
cd /system/app/
ls
rm <insert the name of the apk you want to delete here which can be found in the list shown by the ls command>
Click to expand...
Click to collapse
issak42 said:
I dont have a One, and dont plan on having one (ever, thanks to this thread! I think I'll stick to Sony, they have instructions to unlocking bootloader on their official website)
BUT, if the system is locked, it should be locked trough ADB too, so I guess what I'd try is install busybox, custom recovery, go into recovery, connected it to the PC (or a mac, but since we're on no-apple forum, I'll assume PC), mounting system there and doing your thing.
You can install busybox and custom recovery right?
Edit: never mind, I should really learn to read. Sometimes I think I'm dyslexic a little, just for words, not letters.
I did not see the 'recovery' part mentioned.
Anywho, mounting system is what you forgot, so at least I said something helpful
Click to expand...
Click to collapse
All Wonderful Ideas folks, however i had a go at this last night, it was a fricking nightmare even mounting ADB through recovery
Hi all,
I have SuperSU Pro 2.46 installed on a lifetab P8912.
Everything worked and I got checked with rootchecker that everything works fine.
Xmodgames also starts with the message that it has root permissions granted.
The ClashofClans mod has a problem: "Mod start fails. Please confirm XModgames is authorized with root permission".
What can I do ? Does anybody else encounter the same problem or fixed that already ?
THANKS a lot for your help,
Alecz
alecz2012 said:
The ClashofClans mod has a problem: "Mod start fails. Please confirm XModgames is authorized with root permission".
Click to expand...
Click to collapse
This should be brought to the attention of the developer of "ClashofClans" -- it might be looking for 'su' at a hard-coded path. You could test for this (and perhaps even fix the problem for you) by copying or linking '/system/xbin/su' to other common paths -- such as '/system/bin/su'.
At a terminal enter:
which su
It should reply '/system/xbin/su'.
Frank
hmm, thanks , but perhaps I didn't find the right shell to work with:
I do not have write access to that folder /system/bin
Shall I chmod 777 to that folder, at least temporary ?
Sorry for not having worked since a long time on linux..
alecz2012 said:
I do not have write access to that folder /system/bin
Click to expand...
Click to collapse
That partition is normally mounted for reading only, not for writing. Remount it as writable, copy the file, then remount as read-only again:
mount -o remount,rw /system
cp /system/xbin/su /system/bin
mount -o remount,ro /system
The SuperSU installation script will delete that copy when you flash the update again so it isn't permanent, and there is only a small chance that this is the problem.
Frank
Hi Frank,
your mount description worked fine, but still I get the error when starting the mod from xmodgames.....
Perhaps you got another tip or trick .....
THX
Alex
Frank Westlake said:
That partition is normally mounted for reading only, not for writing. Remount it as writable, copy the file, then remount as read-only again:
mount -o remount,rw /system
cp /system/xbin/su /system/bin
mount -o remount,ro /system
The SuperSU installation script will delete that copy when you flash the update again so it isn't permanent, and there is only a small chance that this is the problem.
Frank
Click to expand...
Click to collapse
alecz2012 said:
Perhaps you got another tip or trick .
Click to expand...
Click to collapse
In a terminal, run
logcat -c
Then run the application which is failing to get root; then immediately after it fails run
logcat -d > /sdcard/dump.txt
Then examine '/sdcard/dump.txt' to see if it contains an error message which might help.
Frank
Hi Frank,
done, but in the txt file it is a bunch of - at least for me - magic !
I can find lotz of krsdk stuff, looks like a former try of kingroot is still existant and might prevent something there, or perhaps that's because xmodgames is checking for kingroot ...
Really do not know .....
Anyway,
I think I am getting closer , but still the last mile to take
Frank Westlake said:
In a terminal, run
logcat -c
Then run the application which is failing to get root; then immediately after it fails run
logcat -d > /sdcard/dump.txt
Then examine '/sdcard/dump.txt' to see if it contains an error message which might help.
Frank
Click to expand...
Click to collapse
alecz2012 said:
...looks like a former try of kingroot is still existant and might prevent something there, or perhaps that's because xmodgames is checking for kingroot ...
Click to expand...
Click to collapse
That's a very reasonable guess. I assume that you rooted with Kingo Root then replaced that with SuperSU. Maybe Kingo Root is still active on your device. Maybe SuperSU did not install and the root checker found Kingo's 'su'. Take a good look at both installations and try to figure out what is there. Does the SuperSU Android application run? See if 'su' will tell you whose it is by running
su --version
Frank
Kingroot didn't work when I tried it, therefore I went through the SuperSU installation.
su --version gives me
"2.45:SUPERSU"
Best regards,
Alex
Frank Westlake said:
That's a very reasonable guess. I assume that you rooted with Kingo Root then replaced that with SuperSU. Maybe Kingo Root is still active on your device. Maybe SuperSU did not install and the root checker found Kingo's 'su'. Take a good look at both installations and try to figure out what is there. Does the SuperSU Android application run? See if 'su' will tell you whose it is by running
su --version
Frank
Click to expand...
Click to collapse
I can't see what's happening from here but the cause could very well be the incomplete KingRoot attempt. It might be that your solution is to revert to stock to remove that Kingo stuff then root again using the procedure that succeeded.
Frank
i have same problem as OP, i have moto e stock 5.0.2 rooted with supersu can anyone help me
demoakka said:
i have same problem as OP, i have moto e stock 5.0.2 rooted with supersu can anyone help me
Click to expand...
Click to collapse
Same problem with me also i really need the mod working, few other apps like freedom is working but gltools arent working
The ClashofClans mod has a problem: "Mod start fails. Please confirm XModgames is authorized with root permission".
same problem with me also..
xmodgames needs to be updated, not SuperSU.
Some problem for me with Xmod for Boom Beach. Before i updated to Android 5.0.1 it was working.
Edit: Had an old Xmod version which i installed from titanium backup. New Xmod Version fixed the problem for me.
i have this problems but i have runned root please help me
~
i have Samsung Tab 10.5 (SN-T805) .. and it has the same issue
me and one of my expert friends analyzed the application to see what is the problem, we found out that XMODGAMES doesn't check the root properly
So, if there was an expert person that can reverse engineer the application and fix this issue, that would be great
PS: we don't have time to do it, because of our final college exams, we might do it in the summer.
~
alecz2012 said:
Hi all,
I have SuperSU Pro 2.46 installed on a lifetab P8912.
Everything worked and I got checked with rootchecker that everything works fine.
Xmodgames also starts with the message that it has root permissions granted.
The ClashofClans mod has a problem: "Mod start fails. Please confirm XModgames is authorized with root permission".
What can I do ? Does anybody else encounter the same problem or fixed that already ?
THANKS a lot for your help,
Alecz
Click to expand...
Click to collapse
make ur device language tu english
My xmodgames can't work either?have you found a way to fix it?
Here is the solution How to run Xmod games in android lollipop