Related
I know Paul over at MoDaCo announced he has root but I think that should not prevent us from trying to figure it out ourselves.
I have been fiddling around with the device and its filesystem and, as some might have tried, most commands are very restricted and you can't even list the /system folder.
Recently I found a directory which has write permissions and installed busybox there through adb, here are the instructions:
Download a precompiled busybox binary from http://benno.id.au/blog/2007/11/14/android-busybox
Push it using adb: adb push busybox /data/local/rights
Start a shell: adb shell
Change directory to the folder: cd /data/local/rights
Give it execution permissions: chmod 755 busybox
Play around with it: ./busybox ls /system
Figure out how we can use the new capabilities to root the phone
Any thoughts?
I was trying something also.. although I dont really know what I am doing mostly, I was trying to use some kernel exploits to get root access without luck. Good learning experiece though..
It would be nice if he gave a hint..
First, I'm not rooted. I don't need root to push files using ADB though. I'm trying to push a file to "system/app" using ADB but I keep getting "permission denied". I've read countless threads and still cant get it.
I can get everything started,
F:\Android SDK\tools\
F: adb devices
Than it list my devices. Than I type in
F:adb shell and I get a "$" sign.
Anything I type after that I get permission denied.
I tried adb push [insert file here] /system/app I get
"ADB: Permission Denied."
I tried adb remount, I get 'ADB: Permission Denied"
Here is my log:
F:\>adb devices
List of devices attached
HT05CHL02486 device
F:\>adb shell
$ adb push f:\smoothcalendar.apk /system/app
adb push f:\smoothcalendar.apk /system/app
adb: permission denied
$ adb push f:\smoothcalendar.apk \system\app
adb push f:\smoothcalendar.apk \system\app
adb: permission denied
$ adb push f:\smooothcalendar.apk
adb push f:\smooothcalendar.apk
adb: permission denied
$
Click to expand...
Click to collapse
F:\>adb devices
List of devices attached
HT05CHL02486 device
F:\>adb shell
$ adb remount
adb remount
adb: permission denied
$ adb mount
adb mount
adb: permission denied
$ adb devices
adb: permission denied
$
Click to expand...
Click to collapse
Any help
You need full root (root and NAND unlock) to remount /system as rw instead of ro, and therefore write to it.
--Swyped from my EVO using XDA App.
Nice profile pic, though.
I've read that I don't need to be rooted (full rooted) to push a file to my phone, so I gather I do? Is there a root for 2.2 Evo?
Raadius said:
I've read that I don't need to be rooted (full rooted) to push a file to my phone, so I gather I do? Is there a root for 2.2 Evo?
Click to expand...
Click to collapse
Why don't you try reading what I said? You need full root to make /system writable. You can push to /data all you wasn't without root, but not /system. And try using the search, there IS NO WAY TO ROOT THE 2.2 OTA. This is karma for you not searching, reading, and being so compulsive that you just HAD to accept the OTA that everyone warned CANNOT be rooted and WILL break your root.
--Swyped from my EVO using XDA App.
"Cannot be rooted YET." Toast got all up on me for not making that clear in my thread.
http://forum.xda-developers.com/showthread.php?t=747495
And didn't you get the exact same answer in your other thread about accessing /system? I was wondering how you got such a high post count without knowing some general knowledge like this. The old multiple thread trick.
drmacinyasha said:
Why don't you try reading what I said? You need full root to make /system writable. You can push to /data all you wasn't without root, but not /system. And try using the search, there IS NO WAY TO ROOT THE 2.2 OTA. This is karma for you not searching, reading, and being so compulsive that you just HAD to accept the OTA that everyone warned CANNOT be rooted and WILL break your root.
--Swyped from my EVO using XDA App.
Click to expand...
Click to collapse
Wow. Someone's having a bad day. Is it really that hard for people to just give a simple answer without flaming the hell out of everyone? He did say that he "READ" that he didn't need root to push files, which you clarified in a pretty hostile manner. If you're gonna get pissed off everytime you read a post you don't like, why bother even being on this forum. I get tired of seeing questions that have been answered a million times but I'm not gonna go frickin postal on someone. Be mature and ignore it. Oh, and its IMPULSIVE, not COMPULSIVE!
[EDIT] Guess I'm kinda doin the same thing.
Sent from my FROYO'D EVO using xda app
drmacinyasha said:
Why don't you try reading what I said? You need full root to make /system writable. You can push to /data all you wasn't without root, but not /system. And try using the search, there IS NO WAY TO ROOT THE 2.2 OTA. This is karma for you not searching, reading, and being so compulsive that you just HAD to accept the OTA that everyone warned CANNOT be rooted and WILL break your root.
--Swyped from my EVO using XDA App.
Click to expand...
Click to collapse
No, I didn't read what you said, on purpose. I posted my reply on purpose to piss you off. I know there isn't root access for 2.2 but I asked on purpose just so you can secrete your panties. Happy? Now go fall off a cliff.
drmacinyasha said:
You need full root (root and NAND unlock) to remount /system as rw instead of ro, and therefore write to it.
--Swyped from my EVO using XDA App.
Click to expand...
Click to collapse
i've rooted my x8 but i still get "permision denied" while pushing file to system via adb,and i dont get confirmation screen to allow accessing system in superuser permision,any idea?
alharun said:
i've rooted my x8 but i still get "permision denied" while pushing file to system via adb,and i dont get confirmation screen to allow accessing system in superuser permision,any idea?
Click to expand...
Click to collapse
Maybe try posting in the forum for your device and not resurrect a dead thread for the wrong device?
Welcome to XDA.
[Q] Help me root my OTA upgraded G2 Visionary R14 Don't Work "Visionary R7 needed"
HELP...HELP....HELP.....PLEASE HELP
I have the T-mobile G2 and I did an over the air upgrade in December of 2010, ever since then the only version of VISIONARY that work on my phone was "Visionary R7" I have search all over the web trying to find the "Visionary R7" so far I have yet to find it...that is why I am posting on this forum......By the way I have tried the latest version of Visionary "R14" but it doesn't work, I have also tried Visionary "R3" "R11" "R12" and "13" and they all don't work on my OTA upgraded T-mobile G2....
So if anyone know where I can download "Visionary R7" please let me know...
Or
If someone know of a way to either Temporary or permanently root the G2 without Visionary please let me know as well
Thanks so much for your kind help......
Is temp root working?
Sent from my HTC Vision using XDA App
use this method, it's easier and safer:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
My whole goal is to get the phone temporary rooted using visionary and then finding a way to permanently root the phone....so to answer your question temp root is not working using Visionary R14....It did work when I was using Visionary R7... but since the visionary app (which was the R7 version) came off the Android Market, the process has be super difficult...thanks
My whole goal is to get the phone temporary rooted using visionary and then finding a way to permanently root the phone....so to answer your question temp root is not working using Visionary R14....It did work when I was using Visionary R7... but since the visionary app (which was the R7 version) came off the Android Market, the process has be super difficult...thanks
Nonentity018 said:
Is temp root working?
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Cobra281 said:
use this method, it's easier and safer:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
Click to expand...
Click to collapse
+1
Like he said, use that, don't waste your time with visionary
sammd301 said:
HELP...HELP....HELP.....PLEASE HELP
I have the T-mobile G2 and I did an over the air upgrade in December of 2010, ever since then the only version of VISIONARY that work on my phone was "Visionary R7" I have search all over the web trying to find the "Visionary R7" so far I have yet to find it...that is why I am posting on this forum......By the way I have tried the latest version of Visionary "R14" but it doesn't work, I have also tried Visionary "R3" "R11" "R12" and "13" and they all don't work on my OTA upgraded T-mobile G2....
So if anyone know where I can download "Visionary R7" please let me know...
Or
If someone know of a way to either Temporary or permanently root the G2 without Visionary please let me know as well
Thanks so much for your kind help......
Click to expand...
Click to collapse
I'd stay away from visionary if I were you! Its messing up just as many phones as it is rooting them!
part of the problem is that a visionary method is stickied in one of these subforums... that needs to be taken down desperately and replaced with gfree/rage.
Cobra281 said:
use this method, it's easier and safer:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
Click to expand...
Click to collapse
I am in the process of using this method....I'll let you all know how it turns out. by the thanks for pointing me to it...
Cobra281 said:
use this method, it's easier and safer:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
Click to expand...
Click to collapse
Yes I am in the process of using ADB / RAGE method....I run in problem and I could use someone help please...
TEMP ROOT
ON YOUR PC: Unzip the gfree_temp-root.zip files to a folder. From a cmd window or terminal, navigate to that folder and execute these commands:
$ adb push su /sdcard/su
$ adb push Superuser.apk /sdcard/Superuser.apk
$ adb push rage /data/local/tmp/rage
$ adb push busybox /data/local/tmp/busybox
$ adb push root /data/local/tmp/root
$ adb shell chmod 0755 /data/local/tmp/*
===========
All the commands are working except
$ adb push rage /data/local/tmp/rage
the reply I get after input the command is
Cannot open 'rage': No such file or directory
I have search the web for help...but I could find help on that issue
SO please if anyone knows what I am doing wrong could you please help....
thanks
unzip the gfree_temp-root.zip again and make sure it extracted rage.
rage IS in there, I just downloaded the zip and opened it and looked.
yeah, look for a file called "rage". if it's there, you didn't get the proper directory. you have to get to the "gfree_temp-root" directory on your computer, and THEN adb push it
Cobra281 said:
yeah, look for a file called "rage". if it's there, you didn't get the proper directory. you have to get to the "gfree_temp-root" directory on your computer, and THEN adb push it
Click to expand...
Click to collapse
Yes the "Rage" file is there, all the other command work fine...except the one dealing with the "Rage" file
ratchetrizzo said:
unzip the gfree_temp-root.zip again and make sure it extracted rage.
rage IS in there, I just downloaded the zip and opened it and looked.
Click to expand...
Click to collapse
Thanks so much for your input....when I gfree_temp-root.zip file I can see that the "RAGE" file is present but after 20 to 30 minutes the "RAGE" file disappear from the folder but all the other files remains....Is an alternative gfree_temp-root download link that anyone might know of....thanks again
Disable your virus scanner while you do this, I bet its giving a false positive to the rage file and deleting it
Sent from my HTC Vision using XDA App
ratchetrizzo said:
Disable your virus scanner while you do this, I bet its giving a false positive to the rage file and deleting it
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Thanks so much "Ratchetrizzo" for the tip on disable my anti-virus program, I was able to get the "Rage" command line to work....But now I have run into another ROAD BLOCK and truly hoping someone could help me out as well
I am now getting this error on the Terminal Emulator on my G2 after inputting the following command line from rooting instruction...
'You now have read-write access to your /system, hboot, and recovery partitions. But you still need to "lock in" root, and give you 'su' access in the future. So just do:'
"# /data/local/tmp/root" without the # sign
I got this error message
"## mkdir failed for /system/xbin, File exists
## cp: can't stat '/system/xbin/busybox': Not a directory
## Unable to chmod /system/xbin/busybox: not found
## cp: not found
## cp: not found
## Unable to chmod /system/bin/su: No such file or directory"
Once again I am seeking help on this...So if anyone can help...please let me know. Thanks again for all of the support that I have received so far ...
sammd301 said:
Thanks so much "Ratchetrizzo" for the tip on disable my anti-virus program, I was able to get the "Rage" command line to work....But now I have run into another ROAD BLOCK and truly hoping someone could help me out as well
I am now getting this error on the Terminal Emulator on my G2 after inputting the following command line from rooting instruction...
'You now have read-write access to your /system, hboot, and recovery partitions. But you still need to "lock in" root, and give you 'su' access in the future. So just do:'
"# /data/local/tmp/root" without the # sign
I got this error message
"## mkdir failed for /system/xbin, File exists
## cp: can't stat '/system/xbin/busybox': Not a directory
## Unable to chmod /system/xbin/busybox: not found
## cp: not found
## cp: not found
## Unable to chmod /system/bin/su: No such file or directory"
Once again I am seeking help on this...So if anyone can help...please let me know. Thanks again for all of the support that I have received so far ...
Click to expand...
Click to collapse
Well, start all over but once you get a root (a #) for the first time, rm -rf /system/xbin then reboot the phone, then start all over again and see if that works. for some reason you have a /system/xbin FILE, not a directory.
ratchetrizzo said:
Well, start all over but once you get a root (a #) for the first time, rm -rf /system/xbin then reboot the phone, then start all over again and see if that works. for some reason you have a /system/xbin FILE, not a directory.
Click to expand...
Click to collapse
When I input "rm -rf /system/xbin" command I got back
"rm failed for -rf, Read-only file system
sammd301 said:
When I input "rm -rf /system/xbin" command I got back
"rm failed for -rf, Read-only file system
Click to expand...
Click to collapse
well that's a problem, if /system is read only you can't lock in root
do this before you rm that stuff (remember to be at a root # prompt)
mount -o remount,rw /system
then rm the stuff, then start the root process over.
ratchetrizzo said:
well that's a problem, if /system is read only you can't lock in root
do this before you rm that stuff (remember to be at a root # prompt)
mount -o remount,rw /system
then rm the stuff, then start the root process over.
Click to expand...
Click to collapse
Yes, I did what you suggested, but now I am getting
"rm failed for -rt, no such file or directory" after inputting ""rm -rf /system/xbin" command...by the way thanks so much for helping me out on this...
I have a Desire HD with Gingerbread running. I wanted to root my phone, but it seems it is impossible without downgrading.
I have read the tutorials on this site, but every time I type a ''push'' command, I get a very big list of words, like ''Android Debug'' etc. When I have completed all the steps the resul is a $...
I have also tried the GingerBreak method, but when I do so my phone acts very strange, it won't read my SD card until I reboot and when I start Superuser it says that Superuser has to be closed.
Also I have the downgrade folder, but I think the one I have is for Froyo devices, because the Psneuter file is in there, and no GingerBreak.
So, does anyone have a clear tutorial woth download links for the files I need???
I have searched Google, xda, and lots of more sites, but I really can't find any help.....
Thanks for reading,
Desley
Ok,
Firstly you will need to downgrade following this
http://forum.xda-developers.com/showthread.php?t=905003
If you are running a branded phone then you need a Goldcard
Found here
http://www.addictivetips.com/mobile/how-to-make-gold-card-for-htc-desire-hd/
Then follow this guide to get root and Radio s-off
http://forum.xda-developers.com/showthread.php?t=857537
Then if you want to have eng s-off (to flash radios)
http://forum.xda-developers.com/showthread.php?t=855403
I had the same problems you are encountering , as long as you follow the steps through it should go well , of course if you get stuck let me know and I can guide you through it as well.
I have this problem to but i have the right downgrade map with gingerbreak in it. Yesterday i tried 100 of times and at last i got # but i coulden't write anything more in cmd but the # there. NOw today i tried agian with theese steps http://forum.xda-developers.com/showpost.php?p=13367691&postcount=1134
But now i get the Su: Permission denied and nothing pops up in my phone saying do you allow this. What should i do i'm running 2.26.405.8
I have tried the Gingerbreak app to with all the steps but the circel that's spinning keps doing that for like 15min and nothing happens. And yes i have done the factory reset many times and tried agian. Please somebody help
Ok , have you followed all steps I provided above?..
Some things to note are that between each step reboot , it helped me to wipe my sd card.
Have you got the htc sync drivers installed? (make sure htc sync is closed!)
Are you provider locked/is there network bloatware on the phone in which case you would need a goldcard?
If poss can you provide a screenshot of what you have for me and I can help you more
Sent from outer space on my DHD running beatmod gingersense v1.3
Nope my phone is not branded, fully unlocked. I have htc sync i have everything i need from the tutorial. When i have done this
adb push misc_version /data/local/tmp
adb push GingerBreak /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell chmod 777 /data/local/tmp/GingerBreak
And then write adb shell i get a $ then i write su and i get permission denied
Then i start all over agian and try
adb push misc_version /data/local/tmp
adb push GingerBreak /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell chmod 777 /data/local/tmp/GingerBreak
adb shell /data/local/tmp/GingerBreak
Then i get things to work and i come to the# but then i can't write antthing more, it's just locked. And everything have passed but one of the lines is like message something failed. And in Su binary voutdated i tap to check for updates in superuser and it says there is a new version of the su binary press Ok to update i press Ok. Then it says An eroor occurred and su was not updated. A zip file, (su-2.3.1-bin-signed. zip) has been placed in your sdcard please reboot into recovery mode ans flash it to update your su binary.
AmirAli44 said:
Then i start all over agian and try
adb push misc_version /data/local/tmp
adb push GingerBreak /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell chmod 777 /data/local/tmp/GingerBreak
adb shell /data/local/tmp/GingerBreak
Click to expand...
Click to collapse
Try after
adb push misc_version /data/local/tmp
adb push GingerBreak /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell chmod 777 /data/local/tmp/GingerBreak
Adb shell
./data/local/temp/GingerBreak
don't type the data local bit after adb command , just in case I think you entered the command wrong?
Sent from outer space on my DHD running beatmod gingersense v1.3
steeveeo said:
Try after
adb push misc_version /data/local/tmp
adb push GingerBreak /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell chmod 777 /data/local/tmp/GingerBreak
Adb shell
./data/local/temp/GingerBreak
don't type the data local bit after adb command , just in case I think you entered the command wrong?
Sent from outer space on my DHD running beatmod gingersense v1.3
Click to expand...
Click to collapse
When i do that i get $
When i write
adb push misc_version /data/local/tmp
adb push GingerBreak /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell chmod 777 /data/local/tmp/GingerBreak
adb shell /data/local/tmp/GingerBreak
the # comes but i cant write anything and i got all the [*] vold: but just one of them one says [-] sendmsg<> failed?
HELP!
Please anybody i want the new sence 3.0 help me root
I sent u a couple of pm's with some more suggestions
I donny know if u tried them?
Sent from outer space on my DHD running beatmod gingersense v1.3
AmirAli44 said:
Please anybody i want the new sence 3.0 help me root
Click to expand...
Click to collapse
me tooooo
AmirAli44 said:
What should i do i'm running 2.26.405.8
I have tried the Gingerbreak app....
Click to expand...
Click to collapse
What is your Android version?
Is it Froyo or Gingerbread?
Send from my CoreDroid'ed Desire HD
I downgraded yesterday and it didn't work at first but had to do factory reset and it worked after that (If you get some msgfailed text at the end like I did).
I'm stuck :'(
Hi, I'm Maaria, and very very new to all of this!
So I have a desire HD which is locked to all networks except orange. I really want to root my phone so I can customise it and such, and I want to unlock it. I know I need to downgrade and stuff but I don't know how to do this. I mean do I have to get a gold card because it's locked to orange or do I just do it? And I don't even know how to get to the cmd folders or anything :/ I have no idea what to do, I've been looking all over the forum, and internet, this was the best thread I found but its still a bit confusing, for me. :/ I'm really sorry for being a complete idiot when it comes to this stuff but can anyone please help me? I really want to learn how to do it, I'm just totally confused with what to do
Maaria said:
I know I need to downgrade and stuff but I don't know how to do this. I mean do I have to get a gold card because it's locked to orange or do I just do it? And I don't even know how to get to the cmd folders or anything :/ I have no idea what to do, I've been looking all over the forum, and internet, this was the best thread I found but its still a bit confusing, for me. :/ I'm really sorry for being a complete idiot when it comes to this stuff
Click to expand...
Click to collapse
Ok ,
Firstly everyones new to this at some point , gotta start somewhere.
You are correct you will need a goldcard to downgrade which is in one of my links above
Cmd= command prompt , you can type cmd in your search bar in windows and it will bring it up for you , our find it in your accessories.
Something important to note, if you've upgraded to 2.3.7 downgrade is not possible at the moment , but keep an eye out as I'm sure it'll happen.
Any questions can pm me and I will help as I struggled for some time and picked up a lot of info from the site .
Good luck
Sent from outer space on my DHD running beatmod gingersense v1.3
welcome here ,any help ???
evanbigfan said:
welcome here ,any help ???
Click to expand...
Click to collapse
Hi, are you struggling to root as well?..
Will need some info.
Branded/unbranded device
froyo/gingerbread system
If you're running 2.3.7 there's no fix at the moment..
Just the basics , if I have a more specific problem then post it and can have a look.
Sent from outer space on my DHD running beatmod gingersense v1.3
What means branded?
Also got stuck, but never maked a goldcard.
Thnx
Harganeth said:
What means branded?
Also got stuck, but never maked a goldcard.
Thnx
Click to expand...
Click to collapse
Provider/network locked...
And ok , where did u get stuck? If you let me know some more details I can help you more.
Sent from outer space on my DHD running beatmod gingersense v1.3
How do i know if my phone is Provider/Network locked?
And steve, i will try out your steps so for now only this question and will see later if it works : thnx anyways
Hi Guys,
I have rooted my Wildfire with AlphaRevX long time back and i tried many different ROMs.
Currently i have installed JokerDroid4.2 ROM.
When i start adb shell its going to normal user($) but not root(#) and when i type su in the shell its going to root(#).
So, when i want to push files to /system/app using adb push its throwing exception of permission denied.
I have seen many threads regarding this problem but couldnot find proper answer to my problem.
Workaround im using is pusing my files to /data/local and after getting root access using adb shell and su im moving it to /system/app
(OfCourse throughout the process /system is mounted as re-write)
Please solve my problem..
EDIT : I allowed the superuser to give permission to adb shell when i typed su command but when i use adb push its not asking me for permission from superuser.
Thanks,
Sandeep
You need to set permision /rw ,to system folder via root explore,then do adb push
bittu4u4ever said:
Hi Guys,
I have rooted my Wildfire with AlphaRevX long time back and i tried many different ROMs.
Currently i have installed JokerDroid4.2 ROM.
When i start adb shell its going to normal user($) but not root(#) and when i type su in the shell its going to root(#).
So, when i want to push files to /system/app using adb push its throwing exception of permission denied.
I have seen many threads regarding this problem but couldnot find proper answer to my problem.
Workaround im using is pusing my files to /data/local and after getting root access using adb shell and su im moving it to /system/app
(OfCourse throughout the process /system is mounted as re-write)
Please solve my problem..
EDIT : I allowed the superuser to give permission to adb shell when i typed su command but when i use adb push its not asking me for permission from superuser.
Thanks,
Sandeep
Click to expand...
Click to collapse
Sent from my Wildfire using XDA App
luxandroid said:
You need to set permision /rw ,to system folder via root explore,then do adb push
Sent from my Wildfire using XDA App
Click to expand...
Click to collapse
(OfCourse throughout the process /system is mounted as re-write)
Click to expand...
Click to collapse
As mentioned in my question i hav permission of rw(read-write) already throught the process..
I am using hell fire,pushed or pulled files but not as root user,just went to my tools folder where adb is and did adb push,try like that...
Sent from my Wildfire using XDA App
Have you already tried "adb remount"?
cobje said:
Have you already tried "adb remount"?
Click to expand...
Click to collapse
This should indeed solve all your problems. Just type that command, wait for the "remount succeeded" notification and than try to write in your system folders.
The reason is that your /system is not mounted as read/write (r/w) when you boot your phone, but as read-only (r/o). So afther the remount command /systemfiles will stay r/w, but when you reboot your phone, it will return r/o again.
Erwin