Thread: M130 Rooted!
View Single Post
Old December 8th, 2012, 02:35 PM   #1 (permalink)
tommytopdrive
Junior Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 51
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 65 Times in 9 Posts
Default M130 Rooted!

After a week of gnashing of teeth and scratching of heads, I have a rooted M130 Casio Gzone Commando. I found a file (/system/etc/init.qcom.sdio.sh) that was rwxrwxrwx.
First, I made a backup of the file to my sd card.
Second, I turned wireless off
I then edited it with root explorer and added at the bottom just above "exit 0" the following lines:

chmod 0777 /system
chmod 0777 /system/bin

I edited it with root explorer by first adding the commands above then saved the file. I noticed it made a backup so I edited it again by adding a "1" after the "#!/system/bin/sh" on the first line and saved it again. Finally, I remove the "1" and saved again. This process may not be necessary, but sometimes I have seen where a backup might try to load.

After this I rebooted and found that the /system and /system/bin folders were now read/write without superuser.
I used adb to push su (I used the su file from zergRush, however you can use the one from the link below) to the /system/bin folder. Alternately you can do this from your phone by using a file explorer to copy/paste from your sd to the /system/bin folder
I checked with root explorer that su was, in fact, in the /system/bin folder. However, its permissions and ownership were incorrect.

I went back to the /system/etc/init.qcom.sdio.sh file and below the lines I added earlier I added the following:

chown root.root /system/bin/su
chmod 06755 /system/bin/su

I saved the file three times like above and then rebooted.
I went into root explorer and verified the ownership and permissions of su. They were correct.

After that I installed superuser and busybox installer from the play store.
The M130 was officially rooted.

As a precaution, I removed the lines I added in the /system/etc/init.qcom.sdio.sh file and returned the permissions and owners for /system and /system/bin back to their original settings.

Finally, I updated the recovery to GNMs all in one recovery for the commando from
All In One Recovery Thread

*I highly recommend you install the GNM recovery as soon as your rooted and do a nandroid backup BEFORE you start freezing and removing bloatware. In this, you can always return to an operational commando if you fudge something up....experience is the best teacher.

Files:

Casio Commando drivers
C771 Drivers

adb if needed
M130 Rooted!
tommytopdrive is offline  
Last edited by tommytopdrive; December 28th, 2012 at 03:09 AM.
Reply With Quote
The Following 56 Users Say Thank You to tommytopdrive For This Useful Post:
0Ri0N0iD (January 3rd, 2013), amwimberley (March 2nd, 2013), BigDogRMF (December 24th, 2012), brandennj (August 23rd, 2013), brevitas2005 (December 15th, 2012), caseih291 (February 19th, 2013), Chris2342 (January 3rd, 2013), colinnc (December 16th, 2012), com42 (July 21st, 2013), dcaro (January 7th, 2014), Deadly448 (January 27th, 2013), delphic (January 25th, 2013), dmgctrl (February 15th, 2013), dodgef25 (December 13th, 2012), el bandido (June 18th, 2013), elderlypunk (December 13th, 2012), elysian722 (December 18th, 2012), Emgo (December 10th, 2012), fan_droid42 (January 8th, 2013), FIDtodaycom (January 3rd, 2013), firewall23 (January 12th, 2013), fmarkpitman (May 27th, 2013), Furrner (December 15th, 2012), Galladonsfire (February 24th, 2013), generutledge (December 30th, 2012), hacker1969 (December 18th, 2012), ihatebloatware (January 6th, 2013), jethrox (December 25th, 2012), JKH62 (December 20th, 2012), kailua01 (April 17th, 2013), kedmond (December 25th, 2012), legoverse (December 16th, 2012), LimitedRelease (December 11th, 2012), lodom (February 22nd, 2013), lokisource (December 10th, 2012), lordtimothy (December 28th, 2012), mangascolorado (March 19th, 2013), meet2x4 (February 1st, 2013), monkeytools (January 16th, 2013), NE_Phil (December 11th, 2012), nmewarlok (December 10th, 2012), Rafael (December 10th, 2012), ragingdrunk (December 21st, 2012), rasta4rest (December 11th, 2012), rwwilkins (January 6th, 2013), r_hippy (January 4th, 2013), sandydaugherty (March 25th, 2013), Scrops (August 17th, 2013), smitty808 (January 23rd, 2013), taemta3 (March 28th, 2013), tailez (January 28th, 2013), taintno1hea (December 11th, 2012), texican (January 9th, 2013), unibonger (March 7th, 2013), VertigoFox (December 22nd, 2012), Willster419 (December 9th, 2012)