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 read the discussions about amoled screens not using battery on pixels which are meant to be black because it simply doesn't light anything up in the case. I was wondering if its possible for someone to make a Google talk app that is black with white text. Since that's my most used app I'd be interested in seeing if it makes any battery savings.
Sent from my Nexus One using XDA App
I could have sworn that it had a black background in the Eclair days... or at least on CM5.x Eclair. I could be mistaken, though.
Its been done, along with gvoice.
http://forum.xda-developers.com/showthread.php?t=821214
Waiting for Gmail.
Consider that you will not be able to update without uninstalling the modded version.
Wow that's brilliant..never even thought about that before
Sent from my Nexus One using XDA App
The app was problematic - not showing Mobile and Android contact status. I've updated it and attached the APK in the linked thread.
Attaching it here too.
adb push TalkMod_Mod.apk /system/app/Talk.apk
Jack_R1 said:
The app was problematic - not showing Mobile and Android contact status. I've updated it and attached the APK in the linked thread.
Attaching it here too.
adb push TalkMod_Mod.apk /system/app/Talk.apk
Click to expand...
Click to collapse
You mean you can't see if other people are on mobile or on android? Thanks for the update!
ksc6000 said:
You mean you can't see if other people are on mobile or on android? Thanks for the update!
Click to expand...
Click to collapse
I mean - before my update you couldn't see any of those. Not mobile and not Android. The watermarks just didn't show up near the contacts. Now you can see both.
Jack_R1 said:
I mean - before my update you couldn't see any of those. Not mobile and not Android. The watermarks just didn't show up near the contacts. Now you can see both.
Click to expand...
Click to collapse
Thanks, I really appreciate it. I'll push it when I get home.
Maybe you can help answer a problem I'm having, I have 2 nexus ones, one for Tmo and one for ATT. The ATT is just a backup in case I move to ATT someday, and it's like my wifi tablet lol.
Anyways, when I originally figured out how to push the talk apk to my TMo nexus one, it worked perfectly. However, when I pushed it to the ATT one, it looked like it worked fine, it showed that the 1032 kb were pushed (I'm just guessing the amount)...and I rebooted the phone...the google talk is still white :S....I did it again, and again it looked like it worked fine, but the google talk is still white! Any idea how to check to see what I'm doing wrong? The command I'm entering is fine..
The talk.apk is in my sdk tools folder..and the command I'm using is
adb push talk.apk /system/app/talk.apk
The command you're entering is wrong. Linux is case sensitive, so is Android. Copy the command I gave above EXACTLY. And you might be pushing the wrong file, since you don't have it named right.
Thanks,
I had just figured it out last night. I needed to capitalize the T in talk....however, now when I do
adb shell
cd /system/app
ls
I see in the files that there is a Talk.apk, and also a talk.apk. How do I remove the "talk.apk"?
adb pull talk.apk /c:/talk.apk ?
Pull doesn't remove, only copies to PC.
adb shell
cd /system/app
rm talk.apk
Once you execute "adb shell", you get to Linux shell. SH, specifically. Work with files and folders like you would in Linux.
Jack_R1 said:
The app was problematic - not showing Mobile and Android contact status. I've updated it and attached the APK in the linked thread.
Attaching it here too.
adb push TalkMod_Mod.apk /system/app/Talk.apk
Click to expand...
Click to collapse
Works fine. Thanks.
Any way to install this via terminal emulator?
I am running Enom's 2.14.1, and I have apps2ext enabled...
I tried to use the command "mount -o rw, remount -t yaffs2 /dev/block/mtdblock3 /system"
to remount via terminal emulator, but it says mounting remount on /dev/block/mtdblock3/system failed: Not a directory.
So I'm trying to figure out how to install these without the computer. I don't have root explorer but I'm not sure how it would work considering I have apps2ext enabled.
Any suggestions?
ksc6000 said:
Any way to install this via terminal emulator?
I am running Enom's 2.14.1, and I have apps2ext enabled...
I tried to use the command "mount -o rw, remount -t yaffs2 /dev/block/mtdblock3 /system"
to remount via terminal emulator, but it says mounting remount on /dev/block/mtdblock3/system failed: Not a directory.
So I'm trying to figure out how to install these without the computer. I don't have root explorer but I'm not sure how it would work considering I have apps2ext enabled.
Any suggestions?
Click to expand...
Click to collapse
Theres a space before "/system".
should work
1)mount as above
2)command: cp /sdcard/Talk_Mod.apk /system/app/Talk.apk
Thanks,
that gives me a new error though:
Code:
can't create '/system/app/Talk.apk': File exists
Got it!!
This command worked in terminal emulator to remount
Code:
mount -o rw,remount /system
Then I was able to do the cp /sdcard/Talk_Mod.apk /system/app/Talk.apk
Have tryd but it force close! :-(
bgx said:
Have tryd but it force close! :-(
Click to expand...
Click to collapse
Make sure you're running compatible version. This is for Froyo, you're running CM7 - not the same Gtalk.
Jack_R1 said:
The app was problematic - not showing Mobile and Android contact status. I've updated it and attached the APK in the linked thread.
Attaching it here too.
adb push TalkMod_Mod.apk /system/app/Talk.apk
Click to expand...
Click to collapse
this is for Froyo, correct? Do you happen to have a Gingerbread version?
No, I didn't make one. Try to look for various dark CM7 themes, you'll probably find it there.
I have busybox 1.6 on my captivate i see on www.busybox.net 1.17.3 is out. I have downloaded it from the site and its a tar file with a folder with a whole bunch of folders and files. How do you install this?
Are you familiar with the phrase, "if it isn't broken, don't fix it?"
I advise you to heed its warning.
But if you must proceed, a quick google search for "how to install busybox manually" brings up this very good result: http://www.droidforums.net/forum/droid-2-hacks/82573-busybox-manual-install-how-guide.html
Edit: By the way, love the avatar. Great album.
Yes i understand if its not broke don't try to fix it but i'm a OCD updater! Would there be any advantages of updating it? P.S. I saw Megadeth and Slayer a month ago they rocked!
Only advantages I can see are having a couple more bug fixes and maybe 4-5 new commands built in.
Download Busybox-1.17.2 HERE
Extract busybox to your SD Card
Make sure you are in PC Mode and Debugging is enabled in Applications options
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/busybox /system/xbin/
cd system/xbin
busybox --install /system/xbin/
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
You can also use Root Explorer or whatever file browser you may use to copy busybox to your system/xbin folder. Some people use system/bin but I prefer xbin...just a habbit.
Click to expand...
Click to collapse
Ya, I read that and got really scared.
What is PC mode and where do you type these commands? (Vista user)
Ok, figured out how to type in the commands and stuff, but I get stuck on the "cp /sdcard/busybox /system/xbin/" part, I get "cp: not found" I tried lookin up other methods and I keep getting stuck at the same part - trying to move the folder to the xbin folder. adb push gives me the same error - adb: not found.
any help would be appreciated.
Cruton502 said:
Ok, figured out how to type in the commands and stuff, but I get stuck on the "cp /sdcard/busybox /system/xbin/" part, I get "cp: not found" I tried lookin up other methods and I keep getting stuck at the same part - trying to move the folder to the xbin folder. adb push gives me the same error - adb: not found.
any help would be appreciated.
Click to expand...
Click to collapse
Are you rooted? If your answer is yes, just download Busybox from the market and let the app do the installing for you.
miztaken1312 said:
Are you rooted? If your answer is yes, just download Busybox from the market and let the app do the installing for you.
Click to expand...
Click to collapse
Brilliant! Sooo much easier, but I'm not NAND unlocked, I'm z4rooted so it wouldn't install. Tomorrow I'll see if I can root through NAND.
I'll break you yet AT&T!
Cruton502 said:
Brilliant! Sooo much easier, but I'm not NAND unlocked, I'm z4rooted so it wouldn't install. Tomorrow I'll see if I can root through NAND.
I'll break you yet AT&T!
Click to expand...
Click to collapse
I think you're seriously confused. The Captivate isn't a NAND locked phone. Generally when you root, busybox is installed. (I think. At least it always was for me.) You could also try installing Titanium Backup and have that install busybox for you.
I feel like a noob right now but it wont install on my xoom. what the f? it says im rooted, as i know i am. i cannot get it to install. says im either not nand unlocked yada yada defaut message. help! i really want to get ubuntu on this beast lol.
edit: n/m i got it. delete this post lol
idkwhothatis123 said:
edit: n/m i got it. delete this post lol
Click to expand...
Click to collapse
Ok, how?! I remounted /system as r/w but still got same error....busybox installer also running as su...have no idea how to get this to install...
quordandis said:
Ok, how?! I remounted /system as r/w but still got same error....busybox installer also running as su...have no idea how to get this to install...
Click to expand...
Click to collapse
Unzip this file on your computer. instructions are inside. you can read them with notepad or notepad++ (what i use) Works just fine. the app will not work, its annoying.
Instructions in file lose their line breaks when viewed in notepad. here it is with line breaks for those who don't speak linux well enough to figure it out otherwise:
adb remount
adb push busybox /system/xbin
adb shell
#once you're in an adb shell do this
cd /system/xbin/
chmod 755 busybox
./busybox --install -s /system/xbin/
However, after doing so Titanium still thinks it can't get root, even though it is listed in superuser, as allowed so I'm not sure this is going to get me there. I must have some other issue at hand.
i got the ota without relocking, maybe the ota relocked or unrooted? (scratches head.)
What I found is when I tried to install busybox from market I get the same error about it not installing. But i pulled up my terminal and su, tried a cp and I got the busybox 1.18.3 usage list.
So even though it errors out it looks like it still installs busybox, at least it did in my case.
The app still shows busybox not install
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