Related
Hi, I am on Darchdroid 2.7 and while I was trying to push Camera.apk to my phone I kept getting the "read only file system" message. I did not know at the time that the first thing I should've done was "adb shell" followed by "su" to make sure adb got onto the superuser whitelist.
Well, i proceeded to read around the net (here)and I used this command I saw around to get root:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su
Click to expand...
Click to collapse
And it worked, I was able to push the Camera.apk.
Now i have a problem though, when I use an app that requires root, it no longer brings up the superuser whitelist app even if I've chosen to forget them from the whitelist.
Titanium backup gives the following message:
Warning -
BusyBox works but the "su" command does not elevate to root: "whoami" reports "app_47" instead of root/uid 0. I think your "Superuser Whitelist" system app does not work. Please check with your ROM provider.
Click to expand...
Click to collapse
I searched around the net and I actually found a post regarding this from the dev behind Titanium Backup saying that if this message shows up, it means that the app is not properly communicating with the superuser whitelist....
Now, I believe that the commands I put in adb previously did away with the superuser whitelist and just gave root to whatever app asks for it, I don't know if I am correct.
Can anyone verify this? If so, is there a way to undo what I did? ..or will reflashing Darchdroid be my best option?
I really dont want to flash, I just got this rom settled in :\
Thanks in advance!
I have rooted my Nook color as per the instructions given in this thread http://forum.xda-developers.com/showthread.php?t=942424 . After rooting youtube app didn't work for me.It was closing as soon as i open. So i uninstalled youtube app and tried to reinstall as below. But when i execute the adb shell command i am getting "device not found error".
Please help me to get youtube app installed.
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
adb uninstall com.google.android.youtube
adb push YouTube.apk /system/app
adb reboot
For youtube opening and closing I installed titanium backup and go to backup/restore tab on top, scrolled down to youtube, click on it and clear cache works for me perfectly. Then if it does it again redo that process and youre golden
generalpelmen said:
For youtube opening and closing I installed titanium backup and go to backup/restore tab on top, scrolled down to youtube, click on it and clear cache works for me perfectly. Then if it does it again redo that process and youre golden
Click to expand...
Click to collapse
I have uninstalled Youtube that was with autonooter 3.0.
Now when I try to install YouTube.apk I am not able to see Nook Color device using ADB.
Could you not just save the apk on your MicroSD card then install it using astro file manager? This seems like it would be an easy fix.
lathavim said:
I have rooted my Nook color as per the instructions given in this thread http://forum.xda-developers.com/showthread.php?t=942424 . After rooting youtube app didn't work for me.It was closing as soon as i open. So i uninstalled youtube app and tried to reinstall as below. But when i execute the adb shell command i am getting "device not found error".
Please help me to get youtube app installed.
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
adb uninstall com.google.android.youtube
adb push YouTube.apk /system/app
adb reboot
Click to expand...
Click to collapse
In order to use ADB in 1.1 rom you will need to enable it each time via nooktools
go to nooktools > all settings > Development and click on the option then plug in your nook and ADB should work, the 1.1 rom will then turn this off once you unplug your nook and you will have to toggle it again next time you want to use it.
Easiest solution is to use Root Explorer and install via sd
an easy way to get apks to your nook without adb or connecting via cable is to download Awesome Drop, it lets you drag and drop files on your pc to a website and automatically loads it to your NC then all you do is click on the file and it installs
jn2 said:
Could you not just save the apk on your MicroSD card then install it using astro file manager? This seems like it would be an easy fix.
Click to expand...
Click to collapse
Hi, I tried to install via astro file manager. But it says "Installation of download apks not supported"
lathavim said:
Hi, I tried to install via astro file manager. But it says "Installation of download apks not supported"
Click to expand...
Click to collapse
I unchecked and rechecked the "allow non-market apps" box in nook color tools and tried to install via astro. It works now. Thanks for your help.
Psneuter exploit is working on IS, but because /system is locked on s-on phones, we can't copy su and superuser.apk into /system, apps required root access can't work.
The following procedure uses psenuter exploit to gain adb shell root, and then copy su (without privilege control ) and busybox into /sbin (which is on rootfs and in the global PATH list) to gain root access for apps.
The procedure:
1. Unzip the attached .zip into a directory (like c:\adb)
2. Open a command prompt and cd to the directory where you extracted the .zip (like cd \adb)
3. run pushroot.bat (simply type pushroot)
4. adb shell /data/local/tmp/getroot
5. adb shell
6. you are now in # prompt. Type /data/local/tmp/pushroot
You have to redo steps 4,5,6 once you reboot your phone.
The procedure will have all apps gaining root access.
!!USE ON YOUR OWN RISK!!
Known working programs: Root explorer, Titanium backup, gscript lite, trasproxy 2.04, ...
Some apps check existence of su in /system/xbin , and reject to proceed if the su binary is not exist (like transproxy 3.08). For this kind of apps, this procedure won't help.
Nice but old news mate...
Sent from my HTC Incredible S using XDA Premium App
Good job...thanks
Thanks for writing this up, might quell the thirst for S-OFF a little longer
/system/ is writeable btw, if you remount it, but after reboot everything u done will be changed to the way it were before.
so a temp root in xbin is possible also, only it will be gone afterwards (atleast i never tried this, but should work also...)
Yes. /system could be remount in rw with root. However, the files you wrote will be gone after you remount ro, and then you won't be able to copy the same filename into the same location again before next reboot ( I don't know why, actually!!). This is why I put su in sbin instead of /system/xbin.
thanks to your files 非常感谢你的工作。
Does anyone know whether steps 4, 5 and 6 can be run from the device itself?
Can I put these commands into some sort of script and run it everytime I need temp root or would I need to do this from a computer every time?
faf said:
Does anyone know whether steps 4, 5 and 6 can be run from the device itself?
Can I put these commands into some sort of script and run it everytime I need temp root or would I need to do this from a computer every time?
Click to expand...
Click to collapse
I believe you can do it from a terminal emulator but haven't got the chance to try it myself though.
Sent from my HTC Incredible S using Tapatalk
pushroot error
c:/adb>adb shell ln /data/local/tem/busybox /data/local/tmp/cp
Link failed File exists
and
c:/adb>adb shell /data/local/tmp/getroot
mmap<> failed. operation not permitted
Why??THX....
itandy said:
I believe you can do it from a terminal emulator but haven't got the chance to try it myself though.
Sent from my HTC Incredible S using Tapatalk
Click to expand...
Click to collapse
Definitely, this is the way to go.
Unfortunately, the root exploit I know could run on device itself, including
rageagainstthecage (ratc) and local root exploit (hotplug) both failed on IS.
The solution will be nearly perfect if we can get temp root on IS without a computer link.
Any input will be welcome.
sky1212 said:
pushroot error
c:/adb>adb shell ln /data/local/tem/busybox /data/local/tmp/cp
Link failed File exists
and
c:/adb>adb shell /data/local/tmp/getroot
mmap<> failed. operation not permitted
Why??THX....
Click to expand...
Click to collapse
Please then type adb shell.
If you see # but not $, do
cd /data/local/tmp
rm ./cp
ln busybox cp
./pushroot
Then you finished the install.
If you see $, please do all over again.
You can also add ShootMe (screen capture app) and SetCPU to the list of working apps. SetCPU will only allow you underclock for now due to the kernel, but it is a nice touch if you are worried about battery life. Adfree doesn't appear to work
l0st.prophet said:
You can also add ShootMe (screen capture app) and SetCPU to the list of working apps. SetCPU will only allow you underclock for now due to the kernel, but it is a nice touch if you are worried about battery life. Adfree doesn't appear to work
Click to expand...
Click to collapse
Adfree is working for me. Are you getting some type of error message?
MetaMorph, screenshot and MyBackup Root are also working.
I had to mount system, then push su to /system/xbin. Then install BusyBox Installer from Market.
No erro, still got the ads. I've tried rebooting & rerooting, still no luck
l0st.prophet said:
No erro, still got the ads. I've tried rebooting & rerooting, still no luck
Click to expand...
Click to collapse
What site/app are you going to so I can see if I get the ads.
the anti-ads actually tries to modify the current host file... which is not allowed in your state as far as i know
what you can do is replace it by pushin it to the right spot
but after reboot gone,but sure u know
Adfee is working for me, you can also add Droidwall.
@eddycyf, did you test adfree with apps? Since it aint working for prophet...
Sent from my HTC Incredible S using XDA Premium App
Mhm AdFree isnt working for me. The App states that everything is okay, and that my hosts file is up to date, but I see ads everywhere.
But I am kinda happy now, because i can use Titanium Backup
Rooted my hero 2.1 and when I try to $ su , I get "must be suid to work properly". I've not ran into this before, What needs to be done to fix this ? thanks.
dude what are you talking about when u root u have super user aka su
Bierce22 said:
dude what are you talking about when u root u have super user aka su
Click to expand...
Click to collapse
Yea, you'd think that would'nt you.. When I run Regs "root me" , It tells me I'm already rooted, but when I try the command, $ su , I get the above message..or permission denied..
Houndog101 said:
Yea, you'd think that would'nt you.. When I run Regs "root me" , It tells me I'm already rooted, but when I try the command, $ su , I get the above message..or permission denied..
Click to expand...
Click to collapse
Also, I see # from adb shell command, but the phone thinks its not rooted. What up with that. If I try to install busybox it says " No root access" , rom manager the same thing...all I want to do is install a recovery so I can get off the stock rom..
Have you tried something as simple as updating su in the play store and trying? If not, try flashing an HERCIMG recovery through hboot.
Sent from my PC36100 using xda premium
anthony_s said:
Have you tried something as simple as updating su in the play store and trying? If not, try flashing an HERCIMG recovery through hboot.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Yes and Yes, Niether worked,, thanks tho.
Have you tried updating the su binary from within the su app itself?
Sent from my PC36100 using xda premium
Yes, that worked, thanks.
Houndog101 said:
Rooted my hero 2.1 and when I try to $ su , I get "must be suid to work properly". I've not ran into this before, What needs to be done to fix this ? thanks.
Click to expand...
Click to collapse
Old old thread but if someone encounters this again, it is due to busybox SU not having the correct permissions and can be corrected easily.
I got the info from here: ttp://forum.nas-forum.org/index.php?page=Thread&threadID=526
Quoted from that page:
Code:
su: must be suid to work properly
I finally discovered that /bin/busybox which provides su (and in fact almost all commands) has not its set UID , i.e. the unix rights are
Code:
rwxr-xr-x instead of rwsr-xr-x
i could finally change the rights with
Code:
chmod 4755 /bin/busybox
and su works fine again
Click to expand...
Click to collapse
Just thought I would share since I saw this on my synology NAS and it pretty much directly applies to this issue from an age ago.
yes, you need to su in order to make it work as administrator.
Hello there, I just rooted my Z3C 5803 phone with the exploit founded yesterday (.93 FW) and first thing I did was to install Titanium Backup because there were a lot of programs I wanted to remove for good from this device and also wanted to integrate newer versions into the Rom. Whenever I try to integrate, for example, a newer YouTube, Google Chrome, Google Play Store version into the Rom, TB seems to keep trying and trying forever.
Checking into the TB FAQ i found this:
"14. I tried to integrate system app updates or to convert user apps to system apps but it didn’t work. Why?
These features require a NAND unlocked ("S-OFF") device, in order to write to the ROM.
Depending on the software, some S-ON devices may "remember" modifications made to /system for a while, or until the next reboot. That is not enough for our purpose.
Please search the Internet for information on how to make your particular device S-OFF."
.......but, of course, for me that is Chinese. Doesn´t mean that if I´m root, I can anything I want to the Rom? If not, what do I need to make the phone S-OFF?
Hope someone could help this noob!
Thanks in advance.
Alx
http://forum.xda-developers.com/z3-compact/general/questions-belong-t2868300
Sorry, didnt know that. Will create it in that section.
Use link2sd, be careful
harrymason37 said:
Use link2sd, be careful
Click to expand...
Click to collapse
Would link2sd let me remove and integrate apps from/to the ROM of my cellphone?
S-OFF and S-ON are terms used for HTC phones if i'm not mistaken
Sent from my D5833 using XDA Free mobile app
alxtorrentazos said:
Would link2sd let me remove and integrate apps from/to the ROM of my cellphone?
Click to expand...
Click to collapse
yes, you can remove system app or convert user app into system app just make make sure you grant its superuser request
harrymason37 said:
yes, you can remove system app or convert user app into system app just make make sure you grant its superuser request
Click to expand...
Click to collapse
Thanks Harry . Never used that app before, will have to read a guide about how to do that. I always used TB for that in my old Samsung Xcover 2 phone with Jelly Bean.
alxtorrentazos said:
Hello there, I just rooted my Z3C 5803 phone with the exploit founded yesterday (.93 FW) and first thing I did was to install Titanium Backup because there were a lot of programs I wanted to remove for good from this device and also wanted to integrate newer versions into the Rom. Whenever I try to integrate, for example, a newer YouTube, Google Chrome, Google Play Store version into the Rom, TB seems to keep trying and trying forever.
Checking into the TB FAQ i found this:
"14. I tried to integrate system app updates or to convert user apps to system apps but it didn’t work. Why?
These features require a NAND unlocked ("S-OFF") device, in order to write to the ROM.
Depending on the software, some S-ON devices may "remember" modifications made to /system for a while, or until the next reboot. That is not enough for our purpose.
Please search the Internet for information on how to make your particular device S-OFF."
.......but, of course, for me that is Chinese. Doesn´t mean that if I´m root, I can anything I want to the Rom? If not, what do I need to make the phone S-OFF?
Hope someone could help this noob!
Thanks in advance.
Alx
Click to expand...
Click to collapse
hey , go to the the giefroot folder you downloaded to root your phone , then go to ''files'' folder , and then open a ''cmd window'' there (by pressing ctrl + right click) and then write copy paste these codes one after another
adb push systemrw.sh /data/local/tmp
adb push modulecrcpatch /data/local/tmp
adb push wp_mod.ko /data/local/tmp
adb shell
chmod 777 /data/local/tmp/systemrw.sh
chmod 777 /data/local/tmp/modulecrcpatch
chmod 777 /data/local/tmp/wp_mod.ko
su
cd /data/local/tmp
./systemrw.sh
i hope it works , i had same issue and i fixed it
sorry, but I´m getting those "not found" msgs and is still the same....TB gets stuck while trying to integrate the files into the ROM
[email protected]:/data/local/tmp # ./systemrw.sh
./systemrw.sh
modulecrcpatch (by zxz0O0)
module_layout: patched to 0xDB2AB789
__aeabi_unwind_cpp_pr1: match
kallsyms_lookup_name: not found
printk: not found
mem_text_write_kernel_word: not found
__aeabi_unwind_cpp_pr0: match
successfully patched
Installing of mount.sh finished
rm failed for /data/local/tmp/memfile, No such file or directory
255|[email protected]:/data/local/tmp #
alxtorrentazos said:
sorry, but I´m getting those "not found" msgs and is still the same....TB gets stuck while trying to integrate the files into the ROM
[email protected]:/data/local/tmp # ./systemrw.sh
./systemrw.sh
modulecrcpatch (by zxz0O0)
module_layout: patched to 0xDB2AB789
__aeabi_unwind_cpp_pr1: match
kallsyms_lookup_name: not found
printk: not found
mem_text_write_kernel_word: not found
__aeabi_unwind_cpp_pr0: match
successfully patched
Installing of mount.sh finished
rm failed for /data/local/tmp/memfile, No such file or directory
255|[email protected]:/data/local/tmp #
Click to expand...
Click to collapse
I had a similar problem until i installed dualrecovery. Now the rw permission persists after reboot.
xpsg said:
I had a similar problem until i installed dualrecovery. Now the rw permission persists after reboot.
Click to expand...
Click to collapse
But I DO have RW permissions over the system folder..............according to ES File Explorer I have "rwxr-xr-x" and those stay after I reboot my device. I can use ES File Explorer to copy files wherever I want. Root is working just fine, is just TB that cannot integrate stuff onto the ROM (neither remove, I only can freeze apps, but I want to remove them for good).
my TiBu seems to work, theres no errors. But it doesnt actually seem to work. I cant uninstall any system apps. It does the process says complete but the apps remain.
Any Solution?
Thanks
I used this tool to access rw to system http://forum.xda-developers.com/showthread.php?p=57043230
[4.4.4] Sony RIC KILLER
After that you will have write permission to system
Sent from my D5803 using XDA Free mobile app
mardrest said:
I used this tool to access rw to system http://forum.xda-developers.com/showthread.php?p=57043230
[4.4.4] Sony RIC KILLER
After that you will have write permission to system
Sent from my D5803 using XDA Free mobile app
Click to expand...
Click to collapse
I will try that once I'm at home. Weird thing is I tried to copy a file inside the system folder and it worked just fine, so, I do have permissions over the folder..........dont know
This tool dissable the sony ric protection that dissable access to /system
Sent from my D5803 using XDA Free mobile app
pw1nce said:
hey , go to the the giefroot folder you downloaded to root your phone , then go to ''files'' folder , and then open a ''cmd window'' there (by pressing ctrl + right click) and then write copy paste these codes one after another
adb push systemrw.sh /data/local/tmp
adb push modulecrcpatch /data/local/tmp
adb push wp_mod.ko /data/local/tmp
adb shell
chmod 777 /data/local/tmp/systemrw.sh
chmod 777 /data/local/tmp/modulecrcpatch
chmod 777 /data/local/tmp/wp_mod.ko
su
cd /data/local/tmp
./systemrw.sh
i hope it works , i had same issue and i fixed it
Click to expand...
Click to collapse
This fixed my xposed framework issues! Thank you!
Yeah, that fixed the permissions to install Xposed, but that doesnt work to let Titanium Backup modify the files in the rom. MKLCF2, could you please try to integrate, let's say YOUTUBE or GOOGLE PLAY into the rom ?
I'm still at work and cannot test anything
Try
Code:
su
mount -o remount,rw /system
after that you should be able to mess around with Titanium Backup
Thanks for that tip but 2 things still happens.......I'm still unable to integrate YOUTUBE or GOOGLE PLAY newer versions into the rom AND, everytime I reboot the device is like I lose that option and I have to do the entries again on the terminal..........for example, Xposed keeps asking me "are you root?" when I try to install/update it.
Is there any other solution to this?
TIA