First time: Full root=OK, Reboot, NMA=Fail
Second time: Full root=OK, NMA=OK, Reboot .....but result is still that I cannot install
"out of market" apk's.
What message do you get when you try to install an "out of market" apk?
First time: Full root=OK, Reboot, NMA=Fail
Second time: Full root=OK, NMA=OK, Reboot .....but result is still that I cannot install
"out of market" apk's.
for theoretical mac /linux support.
install mono-project
replace the adb.exe including with the adb for your operating system (you'll have to rename it from regulard 'adb' to 'adb.exe')
It should all work (theoretically)
While scripts are all nice and easy to use for mac and linux, it'll fork/break development. I plan on taking it a lot further with the GUI (like reading the phone state and allowing you to check/uncheck applications you want on your phone).
I want all features on all OS's. I've written applications for win32/mac/linux via mono-project compatibility before and it's a lot easier to keep everyone on the same page.
For the time being:
http://www.go-mono.com/mono-downloads/download.html
Simply renaming adb to adb.exe will not do anything because exe and a unix executable file are totally different things.
I downloaded 1.5 program and ran it.. but it failed this is what screen looked like.. Please help me.. I am using mytouch 3g black with Version 1.6 on it.. Please help me with some solution and guide lines
Killing ADB Server...
OK
Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
OK
Waiting for device...
OK
Pushing rageagainstthecage...
95 KB/s (5392 bytes in 0.055s)
OK
chmod rageagainstthecage...
OK
Running rageagainstthecage...
ROOTED
Getting mount path...
/dev/block/mtdblock3
OK
Remounting system with read-write access...
OK
Pushing su...
278 KB/s (26264 bytes in 0.092s)
OK
Pushing superuser.apk...
251 KB/s (196521 bytes in 0.763s)
OK
chmod su...
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
OK
Device was not rooted!
FAILED
It'll work if you use mono to run SuperOneClick.exe.
If you're not sure how mono works. C# appliations are just-in-time compilation (JIT) which means it can be recompiled as long as you have a valid framework for your operation system. It's very similar to Java. Microsoft has made the win32 framework (.NET Framework) and a group of developers have made an open source one that wroks with Mac and Linux.
I'm using the System.Diagnostics.Process.Start() command to call an external executable. In version v1.5, I'm looking for a hardcoded string "adb.exe". If you try to run the program in Mac with Mono it'll work fine but it'll look for the adb.exe file. By simply replacing adb.exe with the mac file, (and renaming it to match the string in my application), it'll work.
For example, if I used the command "echo test". It works fine in windows natively and also works in mac and linux (because they natively support the 'echo' command)
You can see more about it here:
http://www.go-mono.com/docs/index.aspx?link=N:System.Diagnostics
Regardless, I recompiled a v1.5.1 for mac and linux support with the code snippet showing how minor and quick the changes were.
cd /SuperOneClick/files/
./adb kill-server
cp root.zip /Volumes/No\ Name/update.zip
./adb reboot recovery
./adb kill-server
I guess I don't understand what mono is. Is it basically a cross platform framework for .NET applications? Wouldn't that require the program still being written in a .app format for mac though? Unless it contains some sort of emulator for .exe files, but I already tried running the program inside a wine emulator with a .NET install and it failed. I don't think it has proper access to the USB ports much like Parallels does not work for ODIN or ADB. I could be wrong.
I am still wondering how you actually get the commands to execute through ADB (not the programming of your actual application). For instance if you want it to just copy the update.zip root to the phone then boot into recovery you type:
Code:cd /SuperOneClick/files/ ./adb kill-server cp root.zip /Volumes/No\ Name/update.zip ./adb reboot recovery ./adb kill-server
how does this work with rageagainstthecage instead of a update.zip root?
If I am not mistaken is it
1. push the rageagainstthecage file to /data/local/tmp
2. chmod the file
3. run the file through the phones terminal
Is there a Mac version now? I will try it eventually, but I have Cognition and I am afraid I will screw something up by over-rooting
v1.5.1 has been recoded to support mono for mac and linux and includes the adb versions needed. Just make sure you install mono (link in first post).
There's no way to "over-root". When you click the root button, the phone checks if you're rooted and tells you "Device is already rooted!"
I have the G3 My Touch 1.2 the Super User Icon is on my phone but doesnt give my any perrmissions. When I tried the latest SuperOneClick and tried the "Unroot". It said SuperUser wasn't on my phone, even though I can planly see it. I tried to reinstall in with the newest update and got this.
Killing ADB Server...
OK
Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
OK
Waiting for device...
OK
Pushing rageagainstthecage...
168 KB/s (5392 bytes in 0.031s)
OK
chmod rageagainstthecage...
OK
Running rageagainstthecage...
OK
Killing ADB Server...
OK
Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
OK
Waiting for device...
OK
Running rageagainstthecage...
ROOTED
Getting mount path...
/dev/block/mtdblock3
OK
Remounting system with read-write access...
OK
Pushing su...
822 KB/s (26264 bytes in 0.031s)
OK
Pushing superuser.apk...
1025 KB/s (196521 bytes in 0.187s)
OK
chmod su...
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
mount: Device or resource busy
OK
Remounting system with read-only access...
OK
Device was not rooted!
Can you help?
OK I know how to get to the recover mode but how do I install it in that mode? I tried running the SuperOneClick while I was in recovery and got nowhere.
rageagainstthecage is a root exploit via a fork bomb.
It IS a potentially malicious payload, BUT it is being used with owner's consent to root the phone.
The DreamDroid malware use exactly same payload - they are trojans, but this is a helpful tool.
It IS a dangerous tool in the wrong hands, but this is a root exploit, so you should exercise common sense and a little understanding of what it does and how it works.
Couldn't have been easier. However when I launched TiB after seeing the successful ROOT message box from the unroot app, I am not rooted.
Update to my post: ran again and Busy Box states that I am rooted.
Thanks...
When i run this .. The GUI just hangs with a blank screen .. no errors.. if i go to task manager there are two adb.exe processes and if i force close one the GUI closes.
Any ideas?