yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] AdamOutler:
Motofail Root -Android 2.3.6 & ICS - CASUAL [One-Click][Windows][Linux][Mac][Beta]

Warning

The Motofail Exploit is proven to work on 2.3.6.

The RootICSRAZR exploit is designed for the GSM X910 ICS leak.

This works on Genesis GT7250 Chinese tablet according to user reports.

This is a beta test of CASUAL. CASUAL is an easy way to deploy ADB scripts on Linux, Windows and Mac in a single package.

Downloads and Instructions

You will need:

CASUAL Motofail Package: http://www.mediafire.com/?avv218z0gv941bs

The latest version of Java: http://www.java.com/en/download/installed.jsp?detect=jre&try=1

Note to Windows users: install drivers http://xdaforums.com/showthread.php?t=1539192

Operating CASUAL Motofail/RootICSRAZR

Run with right-click-open or from a prompt: java -jar path\to\Motofail-CASUAL-PublicBeta1.jar

Put your device into Development/Debug mode

Select "Root with RootICSRAZR" for ICS or select "root with Motofail" for Gingerbread.

Click the "do it!" button

This will install the su binary, busybox and the SuperUser.apk

Also Included

This package also includes an option that allows you to type any single word (no spaces) from your computer onto your Android device. If you are already rooted, please test this.

Images:

Windows:

Ubuntu:

Reporting Issues

Please leave DETAILED feedback. I would like the CASUAL log to solve problems. Click About>Show Log>Copy to Clipboard and paste it into here. But don't forget to use CODE tags.. EG. [CODE] My Pasted Log [/CODE]

At this point in the development cycle of this application, anything you consider an issue will be considered an issue and a will be resolved if you provide some sort of valuable feedback.

Any responses like this are not valuable.

Here is the type of valuable responses I am looking for.

Please provide valuable feedback.
[Motorola Droid RAZR] AdamOutler:
About

CASUAL stands for Cross-platform ADB Scripting, Unified Android Loader. It's a packaging system intended for use by developers to make deployment of scripts and what-not easier. It's been in development for two months and this is its first public release.

Look at the project page here: android-casual - Cross-platform ADB Scripting Unified Android Loader - Google Project Hosting

Check out the progress here: Changes - android-casual - Cross-platform ADB Scripting Unified Android Loader - Google Project Hosting

Get the code here: Source Checkout - android-casual - Cross-platform ADB Scripting Unified Android Loader - Google Project Hosting

Known issues

Mac affected: Certain devices (nook tablet) are not recognised by CASUAL

Linux affected: No known issues

Windows affected: No known issues

All Platforms Affected:No known issues

WontFix: CASUAL will run slowly on Java 1.6. It is designed on Java7. Java7 is currently in development and not ready for distribution by Oracle yet. CASUAL is ahead of it's time ;)

Features to be added: CASUAL could use internal flow control. Scripting command $ON is a planned feature. eg.. $ON "File not found", HALT, "please report this error"

Changelog:

Beta 1: initial release http://www.mediafire.com/?81yjgbdvibccjfu

Beta 2: Added RootICSRAZR Exploit script (support new ICS exploit) http://www.mediafire.com/?l4bm9bcg8mszuen

Beta 3: Fixed Windows 2x launch requried. Fixed double description of script upon script change. Added Superuser.apk to RootICSRAZR http://www.mediafire.com/?8mmj8fd528pj0jd

Beta 4: Fixed "must select script" bug. Added additional logging to CASUAL log for debugging. http://www.mediafire.com/?avv218z0gv941bs
[Motorola Droid RAZR] aryonoco:
Just wanted to say... thanks a million, and thanks for supporting Linux.

I was running the latest Aussie OTA firmware (65.1.40.XT910.Optus.en.AU), and just rooted with your method, and it worked like a charm.
[Motorola Droid RAZR] AdamOutler:
Great! That's wonderful.

I appreciate input even on positive experiences without bug reports. This lets me know that it worked.
[Motorola Droid RAZR] yalkowni:
I'm not meaning to annoy you. (I love your work) but what is the difference cause there is already another two threads like this.. and do you know if it supports the ics leak?
[Motorola Droid RAZR] teegunn:
Thanks to the OP! Doomlord and Motofail both failed to work after the latest VZ update. Motofail worked several other times in the past on the same phone, but strangely not afte this last update. Your "Casual" DID work however! Thanks!
[Motorola Droid RAZR] AdamOutler:
The difference:

1. This single file works on Linux, Windows and Mac.

2. The instructions for running on Linux, Windows and Mac are the exact same.

3. This provides a GUI.

4. This troubleshoots problems on it's own and corrects them.

5. This is a beta test of CASUAL, not the exploit. CASUAL is a framework I am developing. This beta test will work the kinks out of CASUAL if proper feedback is given. The exploit is proven and that's why I'm using it for my beta.

I can add the ICS leak root into it sometime this week.
[Motorola Droid RAZR] AdamOutler:
I forgot to mention that CASUAL stands for Cross-platform ADB Scripting, Unified Android Loader. It's a packaging system intended for use by developers to make deployment of scripts and what-not easier. It's been in development for two months and this is its first public release.

Look at the project page here: http://android-casual.googlecode.com

Check out the progress here: http://code.google.com/p/android-casual/source/list

Get the code here: http://code.google.com/p/android-casual/source/checkout

I've disabled the CASUAL Issues page until RC Phase.
[Motorola Droid RAZR] AdamOutler:
I just updated to Beta2. This includes ICS support with RootICSRAZR
[Motorola Droid RAZR] yalkowni:
Nice mind if i add a link telling people who lost root in my thread?
[Motorola Droid RAZR] AdamOutler:
Please, by all means.
[Motorola Droid RAZR] yalkowni:
Ok done
[Motorola Droid RAZR] yalkowni:
Hey people are saying that this is not working with the ics leak?? For example one user said that rom toolbox was not able to acquire root privileges
[Motorola Droid RAZR] AdamOutler:
I need a log. About>show log > copy to clipboard. Paste in code tags.
[Motorola Droid RAZR] AdamOutler:
yalkowni, I was adhering to the RootICSRAZR policy of downloading Superuser.apk (The thing that "allows" Superuser to work) from the market.

So, this beta3 version should now install Superuser.apk.

http://www.mediafire.com/file/8mmj8fd528pj0jd/CASUAL-PublicBeta3.jar

Fixes from previous version:

Windows OS first launch problem was fixed

When changing scripts description is no longer displayed twice.
[Motorola Droid RAZR] yalkowni:
I told people to download superuser app from the market?. So i dont know:confused:
[Motorola Droid RAZR] Shadowwar99:
root

I tried your new beta version and i had no luck. This is what i got.

Welcome to CASUAL Beta

Beta tests are conducted to gain real-world information

Please leave constructive feedback.

--- STARTING ----

--- WAITING FOR DEVICE

--- pushing mempodroidcannot stat 'C:\Users\HEBERT\AppData\Local\Temp\HEBERTTEMPCASUAL576F6134\Root With RootICSRAZR\mempodroid': No such file or directory

--- pushing sucannot stat 'C:\Users\HEBERT\AppData\Local\Temp\HEBERTTEMPCASUAL576F6134\Root With RootICSRAZR\su': No such file or directory

--- pushing scriptcannot stat 'C:\Users\HEBERT\AppData\Local\Temp\HEBERTTEMPCASUAL576F6134\Root With RootICSRAZR\root.sh': No such file or directory

--- correcting permissions

"--- executing mempodroid and script

"--- Installing Superuser.apcan't find 'C:\Users\HEBERT\AppData\Local\Temp\HEBERTTEMPCASUAL576F6134\Root With RootICSRAZR\Superuser.apk' to install

"All Done!"
[Motorola Droid RAZR] Ohleo:
Yeah sorry but I am a little confused. I run the root for ICS and it just installs superuser? And then........?
[Motorola Droid RAZR] AdamOutler:
Ah! Its not auto-updating. You must select a script. just click the box at the bottom and then select Root With RootICSRAZR option. I'll fix that in the next revision along with the Mac problem.

It executes a mempodroid exploit, installs the su binary, then installs superuser.apk. Your device then has root access and you should be able to run root applications.
[Motorola Droid RAZR] Ohleo:
Well, it did it in about 5 seconds but I do not have root.I just have the superuser app installed

And I am on a MAC
[Motorola Droid RAZR] AdamOutler:
Motofail works on Android 2.3.6.

RootICSRAZR is supposed to work on the kernel that comes with Blur_Version.6.12.173.XT912.Verizon.en.US.zip ICS leak.

What version of android and kernel are you running?
[Motorola Droid RAZR] Ohleo:
4.0.3 leak

3.0.8-g6f89f34
[Motorola Droid RAZR] InfecteDG:
wrong section, delete plz
[Motorola Droid RAZR] trevoryour:
I just installed the 4.0.3 ICS leak on my XT912 and I somehow missed a step and lost root even though I did a voodoo backup.

I tried this tool in hopes of re-rooting but it fails. Here is the log. I have tried to remove the superuser app but without root...Any ideas?

--- STARTING ----

--- WAITING FOR DEVICE

--- pushing mempodroid2274 KB/s (37273 bytes in 0.016s)

--- pushing su2426 KB/s (22364 bytes in 0.009s)

--- pushing script61 KB/s (250 bytes in 0.004s)

--- correcting permissions

"--- executing mempodroid and script

"--- Installing Superuser.ap	pkg: /data/local/tmp/Superuser.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

3361 KB/s (843503 bytes in 0.245s)

"All Done!"
[Motorola Droid RAZR] Shadowwar99:
Having the same problem here. Still no root.
[Motorola Droid RAZR] AdamOutler:
Fixed the "Must select script" bug and added additional logging in Beta 4.

From the RootICSRAZR scripts I saw before, I was not able to obtain enough information to troubleshoot the problem. Please provide me a log of the RootICSRAZR script with CASUAL Beta 4 so I can troubleshoot further.
[Motorola Droid RAZR] AdamOutler:
Mactruc, it would appear to be failing on the mempodroid execution... its not CASUAL but the script.. Ill see if I can find a fix. Can you try the RootICSRAZR found in this forum?
[Motorola Droid RAZR] AdamOutler:
It looks like the RootICSRAZR exploit is very specific in its ICS version requirements. I'll see if the guy who made RootICSRAZR has any pointers.
[Motorola Droid RAZR] mactruc:
Did a quick search and didn't find anything other than this thread when searching "RootICSRAZR"
[Motorola Droid RAZR] AdamOutler:
Right here: http://xdaforums.com/showthread.php?t=1467598

I used this script and ported into CASUAL format, leaving all original credits to be displayed.
[Motorola Droid RAZR] bL33d:
FYI that is for the gsm razr not teh verizon leak.
[Motorola Droid RAZR] InfecteDG:
Is there any way that tjhis method works on a milestone2 with official 2.3.6? We have this firm from Personal arg and can't get root we've waiting a lot and we cant find someone to help us...

Sent from my A953
[Motorola Droid RAZR] AdamOutler:
Try it. If it doesn't work then it simply will fail. There is no risk.
[Motorola Droid RAZR] squiggie:
I have verified this does NOT work with the X912 ICS leak. This is for X910 ICS only. Op, please update the thread.
[Motorola Droid RAZR] AdamOutler:
Done. Let me know if there is anything else I can do. Got a new root exploit, let me know. Ill add it in.

I think this is pretty much working 100% as I've heard only problems with the exploit itself. I havnt seen any evidence that CASUAL is failing or causing undesired operation. I'm going to shift my focus towards the Mac platform on devices like Nook Tablet and others that are not not supported on Mac so I can work the final quarks out.

If you need root access and CASUAL doesn't support your device, find a root method and post it here after you verify it works, if you want me to include it. Otherwise turn to your favorite kernel developer.
[Motorola Droid RAZR] cmckee.cna:
So, i'm sure this isn't the right place for this question, but is the root for razrics the one by doomlord? And if so, is the only difference between the motofail and doomlord's method, the fact that doomlord's method is for ice cream sandwich?
[Motorola Droid RAZR] globula_neagra:
This tool works also on Archos Arnova 7C G2

Activated the debugging and all the thing went well.

MSM 7627

Kernel 2.6.35.7 perf+

Android 2.3.3
[Motorola Droid RAZR] AdamOutler:
It does not work on Milestone

They do basically the same thing, but in different ways. Motofail works on the Android layer, the RootICSRAZR exploits the kernel.

Great! That's wierd.. but great!
[Motorola Droid RAZR] SlayerX:
Confirmed this works on a Rogers phone, that was updated to 2.3.6.

Easy, 10 seconds start to finish, incl the d/ls..

thanks ~~
[Motorola Droid RAZR] Intel_x:
Rooting problems

--- STARTING ----

--- WAITING FOR DEVICE

--- pushing mempodroid2274 KB/s (37273 bytes in 0.016s)

--- pushing su2426 KB/s (22364 bytes in 0.009s)

--- pushing script61 KB/s (250 bytes in 0.004s)

--- correcting permissions

"--- executing mempodroid and script

"--- Installing Superuser.ap	pkg: /data/local/tmp/Superuser.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

3361 KB/s (843503 bytes in 0.245s)

"All Done!"

having the same problem anything yet on this
[Motorola Droid RAZR] superbrowndude:
Tank a yewwwww

Worked great on Rogers 651.167.3331.en.Ca Razr XT910
[Motorola Droid RAZR] AdamOutler:
Over 2000 downloads. Very few complaints. It just works on a stock non-ics device.

This is a very small thread for such a high download count.
[Motorola Droid RAZR] HSD-Pilot:
It works great, so no Reasons 4 Questions ;)
[Motorola Droid RAZR] joky123:
Not Working for Bulid 4.5.1-134_DFP-231

Unfortunately it doesn't woked for my Moto Defy + GB 2.3.6

is there anything that can i make to root it??

Thanks,
[Motorola Droid RAZR] HSD-Pilot:
Get an RazR or look in an other part of XDA for an solution (Maybe in Defy section ;) )

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] joky123:
haha lolzzz I thinks it better to get Razr ;P
[Motorola Droid RAZR] Shantarias:
Do you think that you will add support for the Milestone 2? This is REALLY needed.
[Motorola Droid RAZR] Glasairmell:
Worked perfectly on my Razr! Thank you sir.
[Motorola Droid RAZR] MattyOnXperiaX10:
@AdamOutler I hope you make a rom for the Droid Razr because development is dead.
[Motorola Droid RAZR] dtrail1:
Development isn't dead, mate. It's just "sleeping" until the new source will be released by moto, otherwise all the hard work had to be done again and again with every release from leaks by Moto...Be patient, there are some big things coming! :)
[Motorola Droid RAZR] monkey1911:
Thanks! This is pretty much the easiest root I've ever had, all my other devices required me to do all sorts of stuff in ADB.

I would like to know why your java app can detect the phone on ADB but the ADB from my SDK install just gives me a line of question marks.
[Motorola Droid RAZR] richardsintexas:
Worked well for me, using imac. Very simple too!
[Motorola Droid RAZR] BandaPear:
I've been going through all of the various root options available in the various threads, and I seem to be hitting the same issue again and again.

I am on a mac, and my Maxx doesn't seem to be picked up by ADB. This is, I suspect, an issue with ADB, though I'm not sure how to fix it. The 'link status' in CASUAL is showing 'Disconnected' so i believe it is again not being picked up by adb. I am using the stock cable, I'm on .181, and I have usb debugging and remote sources enabled, as well as the phone set to charge only mode.

Any thoughts? I would use windows to try to root but I only have the mac available right now.
[Motorola Droid RAZR] pedrotorresfilho:
Unistall all moto software from pc

Install motocast 1.29

Connect razr back and let drivers reinstall

This should work
[Motorola Droid RAZR] BandaPear:
I tried this, but no luck. I'm on a mac, so there are no drivers to install...?

I have my computer plugged in, by the way, as I thought maybe the computer/phone needed more power to identify, but this didn't seem to fix it.
[Motorola Droid RAZR] asiandrg0n:
Whats the easiest way to unroot after rooting with CASUAL?
[Motorola Droid RAZR] AdamOutler:
There are several tools on the market.
[Motorola Droid RAZR] asiandrg0n:
Any that you would recommend?
[Motorola Droid RAZR] biland:
super

thousand thanks :)

rooting was never that easy
[Motorola Droid RAZR] aryonoco:
Does this method work on all ICS roms or just some of them?

For example, if I was to follow the instructions at http://xdaforums.com/showthread.php?t=1688241 to get that ICS rom on my phone, can I use it with CASUAL? I use Linux and can't use the method described at that thread itself to root.
[Motorola Droid RAZR] HSD-Pilot:
We tried it... It won't work.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] k2mach:
help

Can i use this to root my SONY ERICSSON LIVE WITH WALKMAN, my phone's bootloader is unlocked.

will it brick the phone??
[Motorola Droid RAZR] dtrail1:
Why are you looking for a root method for your SE device in the Motorola Razr forums???

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] limestar:
This root method doesn't work on the latest UK ICS official release. It installed Superuser but it's not actually rooted. I can't use any rooted apps.
[Motorola Droid RAZR] spawns:
+1!!!
[Motorola Droid RAZR] MJHawaii:
Tmobile Prisim

The Huawei Prisim is 2.3.6 I am wondering if this might work there is currently no root for that phone...thoughts??
[Motorola Droid RAZR] tpike:
So my corporate rep gave me the maxx to use until the sgs3 comes in. will market apps get me unrooted and stock that I could give this back and not get anyone in trouble? Also, any specific apps? I'm used to sprint Samsung devices and we had unroot and restock tools. Thanks for the work Adam, big fan of yours.
[Motorola Droid RAZR] dtrail1:
You can unroot your phone easily. the best way is to flash the firmware via RSD, then there won't be any signs from root..

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] tpike:
looks easy enough. Thanks
[Motorola Droid RAZR] hgpot:
Doesn't even open

I download the jar file and I click it. It opens for half of a second and then closes, I can't even see what it says. It looks like a command prompt window though, nothing like what your screenshot promises. The Java website tells me that I have Java 7 update 3; I'm running Windows 7 Ultimate x64.

Edit: I ran it on my laptop and it worked. It ran and said that it rooted my device, but my phone is still not rooted. My phone is the Motorola Atrix on Android 2.3.6.

Edit2: I factory data wiped the phone and it worked, I successfully got Root. So then I use ROM Manager to flash Clockwork recovery, and now when I try to select Android Recovery on bootup, it gives me "Failed to boot 2" instead of booting into the recovery.
[Motorola Droid RAZR] brons2:
This worked great for rooting my stock GB 2.3.6 CDMA. Well, once I got it to work anyway. It took 2 tries to start it up every time and then, once I was finished working with it, I had to kill it using Task Manager, I could not shut it off any other way. I have the latest Java update.
[Motorola Droid RAZR] AdamOutler:
I may re-release with a newer version of CASUAL. The lateat version is R131 and i have pending changes for R132 ready. A few problems were corrected a few new features were added. I dont know though. This exploit has a limited lifespan because 4.0.4 should be aroind the corner.
[Motorola Droid RAZR] hacker812c:
root ics

adam

i´m looking root for ics 4.0.4

this new release 131 is compatible with new rom 4.0.4?

download link?

very thanks

Hacker
[Motorola Droid RAZR] dtrail1:
New ICS root exploit will be released with the official release of ICS. Otherwise Moto could patch it. But there is another method working if you have an backup of your own cid partition (p18) PM me, perhaps I can help you.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] xodeus:
You have a working method if we, before updating to a new ics leak, made a backup of the cid partition?

Motorola RAZR with Tapatalk
[Motorola Droid RAZR] dtrail1:
Yes, exactly. If you have root you can Backup your cid partition. Or you have installed the chinese leak once, so you should have an backup.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] turbo_lew:
Worked, Nice and simply, does what it say.

2.3.6 stock now rooted.

thanks
[Motorola Droid RAZR] zeyaan:
Eagear to Root!!!

will this method work for any other device running android. 2.3.6

'm interested to root karbonn A9 which is a rebranded model of Chinese company K-Touch model W680
[Motorola Droid RAZR] dtrail1:
This method was built for the razr, I guess. But it could work on some other devices perhaps. The only way would be to test it, but nobody from here is responsible if something goes wrong..

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] Team420:
Worked perfectly on my razr! Super easy, took maybe 15 seconds. Thanks!
[Motorola Droid RAZR] Team420:
So.... how do we unroot? I wanna get the ics ota, but from what I've read I need to unroot. Already removed bootstrap and cwn, just need to unroot. Doomlordds unroot did not work. Will factory reset unroot me?

*edit* ok, just read back a couple pages... Looks like ota rootkeeper or voodoo will unroot me, and restore after the upgrade... I hope lol
[Motorola Droid RAZR] brons2:
U don't need to unroot, but u do need all the stock apps. If you removed some of the Verizon bloatware, use Matt's Droid Razr Utility 1.6 to flash back to stock 181. Worked for me!
[Motorola Droid RAZR] Brian Oshman:
Worked great!!! Thanks.
[Motorola Droid RAZR] aryonoco:
Hi,

This method doesn't seem to work with the .33 EU ICS ROM. Here is the relevant output:

--- STARTING ----

--- WAITING FOR DEVICE

--- pushing mempodroidfailed to copy '/tmp/rootTEMPCASUALD7C9BB59/Root With RootICSRAZR/mempodroid' to '/data/local/mempodroid': Permission denied

--- pushing sufailed to copy '/tmp/rootTEMPCASUALD7C9BB59/Root With RootICSRAZR/su' to '/data/local/su': Permission denied

--- pushing scriptfailed to copy '/tmp/rootTEMPCASUALD7C9BB59/Root With RootICSRAZR/root.sh' to '/data/local/root.sh': Permission denied

--- correcting permissionsUnable to chmod /data/local/mempodroid: No such file or directory

"--- executing mempodroid and script/system/bin/sh: /data/local/mempodroid: not found

"--- Installing Superuser.ap	pkg: /data/local/tmp/Superuser.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

6243 KB/s (843503 bytes in 0.131s)

"All Done!""

Any ideas?