Go Back   Android Forums > Android Phones > Casio G’zOne Commando > Commando - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree64Likes

test: Reply
 
LinkBack Thread Tools
Old December 8th, 2012, 02:35 PM   #1 (permalink)
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!
lodom, kedmond, JKH62 and 7 others like this.

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)
sponsored links
Old December 8th, 2012, 03:25 PM   #2 (permalink)
Senior Member
 
jova33's Avatar
 
Join Date: Oct 2011
Location: El Paso
Posts: 1,567
 
Device(s): Samsung Galaxy Nexus VZW Casio G'zOne Commando
Carrier: Not Provided

Thanks: 30
Thanked 181 Times in 152 Posts
Default

Congrats.

Edit: what are the exact steps you took?
__________________
(VZW) Galaxy Nexus. Nexus 7.
& Casio G'zOne Commando - I just use this as a game system and waterproof camera

I love this script ==> V6 SuperCharger.
jova33 is online now  
Last edited by jova33; December 8th, 2012 at 05:14 PM.
Reply With Quote
Old December 9th, 2012, 08:10 AM   #3 (permalink)
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

I just did a factory reset to see if I could reproduce what I have done, however, the file mentioned above is already 0777, as well as su and busybox are already installed.

so this will be kind of hard to figure out what exploit opened up that file to 0777. I need to do some more research and backtracking. I do have voice on the phone, however, dont have data (I was able to get VZ to assist with provisioning the phone, and they did say my area has data outages, but it has been a while now so still checking on that). Once again it could have been because I was messing with QPST.

I think there was an exploit for the droid bionic that might have done it, or possibly a chinese one called kingroot.

By the way for a screen shot for proof of root, what is the best way to do that?
tommytopdrive is offline  
Last edited by tommytopdrive; December 9th, 2012 at 08:17 AM.
Reply With Quote
Old December 9th, 2012, 08:43 AM   #4 (permalink)
Senior Member
 
jova33's Avatar
 
Join Date: Oct 2011
Location: El Paso
Posts: 1,567
 
Device(s): Samsung Galaxy Nexus VZW Casio G'zOne Commando
Carrier: Not Provided

Thanks: 30
Thanked 181 Times in 152 Posts
Default

Screenshot it free- app I used to use when I had a commando. And since you have it rooted, can't you remove the lines you added to that file?
jova33 is online now  
Reply With Quote
Old December 9th, 2012, 09:37 AM   #5 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default This is GREAT news!!!

Quote:
Originally Posted by tommytopdrive View Post
After a week of gnashing of teeth and scratching of heads I think I have a rooted M130 commando. I still have to find out exactly what allowed it, but while trying many different exploits, I found a file (/system/etc/init.qcom.sdio.sh) that was rwxrwxrwx. I edited it to add chmod for /system and /system/bin, pushed su and then edited it to chown su to root. I had to (after making a back up) restore nv with QPST several times to get the results (that part needs dissecting to to see why). After that installed superuser.apk and busybox.

And finally updated the recovery to GNMs all in one.

Now, We just need to do some testing to find out at what point the file came avaliable as 0777.

The only issue I have encountered (which could have been due to my own messing around) is that the phone is connected to the verizon network, but I dont have data, and when I try to make a call I get a recording to call support. I am heading over to verizon now to see if all they need to do is reprogram the phone to connect, hopefully without a hard reset.
So this may be a slight noob question, but could one of you explain what chmod is? and with that, what exactly the file is and how it works to root the phone? Im sure i can say on behalf on all the noobs hungry for root, we would like to know
Willster419 is online now  
Reply With Quote
The Following User Says Thank You to Willster419 For This Useful Post:
hacker1969 (December 18th, 2012)
Old December 9th, 2012, 09:45 AM   #6 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

also what exact steps DID you take?
(cant wait to find out XD)
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 09:54 AM   #7 (permalink)
Member
 
Join Date: Jan 2012
Location: In a pleasant melody
Posts: 155
 
Device(s): Casio Commando Motorola Droid 1 Motorola Razr Maxx B&N Nook HD VIsual Land 7L all devices root
Carrier: Not Provided

Thanks: 19
Thanked 7 Times in 6 Posts
Default

I will be patiently watching this thread.....
jfever311 is offline  
Reply With Quote
Old December 9th, 2012, 10:28 AM   #8 (permalink)
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 Screenshots

here are some screen shots.

I guess I can unroot to try to root again, as I do have a nandroid backup.

Its hard to read, but on the first one you can see the M130 underneath the camera root request.
Attached Images
File Type: gif 20121209101518768.gif (13.2 KB, 296 views)
File Type: jpg 20121209101636345.jpg (23.5 KB, 280 views)
rasta4rest likes this.
tommytopdrive is offline  
Reply With Quote
Old December 9th, 2012, 12:38 PM   #9 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

Quote:
Originally Posted by tommytopdrive View Post
here are some screen shots.

I guess I can unroot to try to root again, as I do have a nandroid backup.

Its hard to read, but on the first one you can see the M130 underneath the camera root request.
please do, and send screenshots and step by step instructions. im so exited to find out how
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 12:50 PM   #10 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

also what does "rwxrwxrwx" mean? im soo confused...
Willster419 is online now  
Reply With Quote
sponsored links
Old December 9th, 2012, 01:10 PM   #11 (permalink)
Senior Member
 
jova33's Avatar
 
Join Date: Oct 2011
Location: El Paso
Posts: 1,567
 
Device(s): Samsung Galaxy Nexus VZW Casio G'zOne Commando
Carrier: Not Provided

Thanks: 30
Thanked 181 Times in 152 Posts
Default

Owner - read, write, execute
Group - read, write, execute
Others - read, write, execute
rwx rwx rwx

It's Unix/Linux stuff. You need root permissions to mount stuff r/w. All system stuff is mounted r/o. It's all confusing to me too lol
jova33 is online now  
Reply With Quote
The Following User Says Thank You to jova33 For This Useful Post:
Willster419 (December 9th, 2012)
Old December 9th, 2012, 02:51 PM   #12 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default Some nice infos...

How do I use chmod? / What is chmod?
It has some nice information on what chmod actually is.
Just some basic info for people from the site:
chmod (change mode)
permissions for the owner, the group and the world, respectively
digits include 4 (read only), 5 (read and execute), 6 (read and write) and 7 (read, write and execute).
so 777 means that owner, group and world have read write and execute permissions.
hope this lifts some of the fog of confusion
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 07:47 PM   #13 (permalink)
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

I am a little curious, can anyone open up /system/etc with any file explorer (i use root explorer as it will let you view quite a few things even when not being rooted) and see what the permissions are for the file i mentioned in my first post on a unrooted commando.
tommytopdrive is offline  
Reply With Quote
Old December 9th, 2012, 08:30 PM   #14 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

Quote:
Originally Posted by tommytopdrive View Post
After a week of gnashing of teeth and scratching of heads I think I have a rooted M130 commando. I still have to find out exactly what allowed it, but while trying many different exploits, I found a file (/system/etc/init.qcom.sdio.sh) that was rwxrwxrwx. I edited it to add chmod for /system and /system/bin, pushed su and then edited it to chown su to root. I had to (after making a back up) restore nv with QPST several times to get the results (that part needs dissecting to to see why). After that installed superuser.apk and busybox.

And finally updated the recovery to GNMs all in one.

Now, We just need to do some testing to find out at what point the file came avaliable as 0777.

The only issue I have encountered (which could have been due to my own messing around) is that the phone is connected to the verizon network, but I dont have data, and when I try to make a call I get a recording to call support. I am heading over to verizon now to see if all they need to do is reprogram the phone to connect, hopefully without a hard reset.
ok so i have the file open now, (already backuped my stuff), and am trying to edit it. I just have 2 questions and then i believe im all set.
1. Where did you put the chmod? In the begining before the arg=$1, or later?
2. Did you use the # symbol, or $, or none at all?
thanks for the good info by the way. Hope to root soon!
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 08:37 PM   #15 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

Quote:
Originally Posted by tommytopdrive View Post
I am a little curious, can anyone open up /system/etc with any file explorer (i use root explorer as it will let you view quite a few things even when not being rooted) and see what the permissions are for the file i mentioned in my first post on a unrooted commando.
yes you can. You have to change a few settings, but ES File Explorer will let you view files and will also tell you if they are readable and writable.
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 08:43 PM   #16 (permalink)
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

Quote:
Originally Posted by Willster419 View Post
ok so i have the file open now, (already backuped my stuff), and am trying to edit it. I just have 2 questions and then i believe im all set.
1. Where did you put the chmod? In the begining before the arg=$1, or later?
2. Did you use the # symbol, or $, or none at all?
thanks for the good info by the way. Hope to root soon!
What are your permissions for /system/etc/init.qcom.sdio.sh?
tommytopdrive is offline  
Reply With Quote
Old December 9th, 2012, 08:58 PM   #17 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

i tried adding chmod in what i think is proper syntax into the file, and nothing has happened. looked to see if the directories that i typed were writable, and they were not. also i tried running it from adb and it says permission denied. getting a little spotty here...please help me out...
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 09:01 PM   #18 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

Quote:
Originally Posted by tommytopdrive View Post
What are your permissions for /system/etc/init.qcom.sdio.sh?
the file manager says that it is readable and writable. I can copy a modified version from my sd card to the system.
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 09:08 PM   #19 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default another idea

Would it be easier for you to attach your version of that file so I and others may download it and root?
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 09:09 PM   #20 (permalink)
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

Quote:
Originally Posted by Willster419 View Post
i tried adding chmod in what i think is proper syntax into the file, and nothing has happened. looked to see if the directories that i typed were writable, and they were not. also i tried running it from adb and it says permission denied. getting a little spotty here...please help me out...
until that file is writable, you wont be able to edit it. You can check the permissions by using ES File explorer or adb. In adb from the $ type:

cd /system/etc then press enter
ls -l then press enter

that will tell you the permissions of all the files in that folder.
tommytopdrive is offline  
Reply With Quote
sponsored links
Old December 9th, 2012, 09:09 PM   #21 (permalink)
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

Quote:
Originally Posted by Willster419 View Post
Would it be easier for you to attach your version of that file so I and others may download it and root?
you probably wont be able to push it to /system/etc unless the filesystem is writable.
tommytopdrive is offline  
Reply With Quote
Old December 9th, 2012, 09:25 PM   #22 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

Quote:
Originally Posted by tommytopdrive View Post
you probably wont be able to push it to /system/etc unless the filesystem is writable.
the file is rwxrwxrwx. i can, repeat, CAN edit it. could you please send me your file so I can replace mine? i CAN do that.
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 09:39 PM   #23 (permalink)
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

If you can modify init.qcom.sdio.sh and push it to the /systerm/etc folder or edit it directly from a file explorer in android, then you can add the commands at the very bottom (just above "exit 0") REMEMBER: as you are messing with the file system you take all responsibility, etc, etc, etc.

You would add the following:

chmod 0777 /system
chmod 0777 /system/bin

I would push it twice or edit it twice with file explorer (I actually edited it three times by first adding the commands -save. Then added a "1" after the "#!/system/bin/sh" on the first line - save. Finally remove the "1" and save again.) as it makes a backup and might try to load the backup.

After this reboot your phone and see if the new commands stick and make your /system and /system/bin writable. It might work, but I think we will have to take more steps to envoke the file to execute.
tommytopdrive is offline  
Last edited by tommytopdrive; December 9th, 2012 at 09:46 PM.
Reply With Quote
Old December 9th, 2012, 10:01 PM   #24 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

it did not work, but the changes did stick. I can not turn on my WiFi, but when I put the original file in, I can turn it on. am I doing something wrong?
Willster419 is online now  
Reply With Quote
Old December 9th, 2012, 10:35 PM   #25 (permalink)
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

Quote:
Originally Posted by Willster419 View Post
it did not work, but the changes did stick. I can not turn on my WiFi, but when I put the original file in, I can turn it on. am I doing something wrong?
Try to modify the file from the file explorer with above procedure with the wifi off. Try rebooting still having wifi off. Reboot and turn wifi on.
tommytopdrive is offline  
Reply With Quote
Old December 10th, 2012, 05:36 AM   #26 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

Quote:
Originally Posted by tommytopdrive View Post
Try to modify the file from the file explorer with above procedure with the wifi off. Try rebooting still having wifi off. Reboot and turn wifi on.
no good, i think. i need someone to confirm if the /system/ directory was writable on the origional non-chmodded commando. if no, then it did something. if yes, then the file is not activating.
Willster419 is online now  
Reply With Quote
Old December 10th, 2012, 06:14 AM   #27 (permalink)
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

Quote:
Originally Posted by Willster419 View Post
no good, i think. i need someone to confirm if the /system/ directory was writable on the origional non-chmodded commando. if no, then it did something. if yes, then the file is not activating.
I think I have it figured out, but I need to know one thing. Is the file /system/etc/init.qcom.sdio.sh in a stock non rooted casio commando with M130 set up with the permissions rwx rwx rwx (0777). Can someone verify this for me?

If so, then we have some good news as the process will not be too bad.

Also after fixing my mess up. I have voice and data again...so this baby is fully rooted and working good now!
tommytopdrive is offline  
Reply With Quote
Old December 10th, 2012, 07:59 AM   #28 (permalink)
Junior Member
 
Join Date: Oct 2011
Location: W NY
Posts: 56
 
Device(s): RAZR m
Carrier: VZW

Thanks: 1
Thanked 1 Time in 1 Post
Default

that file is
readable: Yes
writable: Yes
Hidden: No

That what it says for me in ES file explorer
~aRBy~ is offline  
Reply With Quote
Old December 10th, 2012, 08:11 AM   #29 (permalink)
Member
 
Join Date: Jan 2012
Location: In a pleasant melody
Posts: 155
 
Device(s): Casio Commando Motorola Droid 1 Motorola Razr Maxx B&N Nook HD VIsual Land 7L all devices root
Carrier: Not Provided

Thanks: 19
Thanked 7 Times in 6 Posts
Default

This is exciting!
jfever311 is offline  
Reply With Quote
Old December 10th, 2012, 09:37 AM   #30 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default

Quote:
Originally Posted by tommytopdrive View Post
I think I have it figured out, but I need to know one thing. Is the file /system/etc/init.qcom.sdio.sh in a stock non rooted casio commando with M130 set up with the permissions rwx rwx rwx (0777). Can someone verify this for me?

If so, then we have some good news as the process will not be too bad.

Also after fixing my mess up. I have voice and data again...so this baby is fully rooted and working good now!
I don't know about any special permissions, I don't think there are, but the file IS rwx rwx rwx. so 0777 it is.
Willster419 is online now  
Last edited by Willster419; December 10th, 2012 at 10:04 AM.
Reply With Quote
sponsored links
Old December 10th, 2012, 12:33 PM   #31 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 4
 
Device(s): Casio Commando M130
Carrier: Verizon Wireless

Thanks: 1
Thanked 0 Times in 0 Posts
Default

I can confirm on my non rooted commando that file is writeable. Inserted the chmod commands into the file, adding one for the /app directory, and I can delete .apk files from the app directory as well as copy them from the sdcard back to the app directory. I can also write a random sound recording i had laying on the sdcard to the app directory. Now .. how to root fully so I can uninstall these abominations of bloatware that was included ive been having to look at for a year now.

Also It did not affect my wireless at all, I can enable and disable it and connect to wireless. Data is working as well.
nmewarlok is offline  
Last edited by nmewarlok; December 10th, 2012 at 12:35 PM. Reason: Additional Information
Reply With Quote
Old December 10th, 2012, 01:08 PM   #32 (permalink)
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

So after you added the chmod and rebooted, your /system and /system/bin file became 0777? If so then you can adb push su to the /system/bin folder. After that in the same file you chmod you can add:

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

reboot again and verify by adb from a command prompt that su is owned by root and is rwsr-sr-x by doing the following (press return after each line):

adb shell
cd /system/bin
ls -l

when you return on the ls -l the screen will scroll fast. use your page up button to search for su and see its permissions.

If all goes well, then you can install superuser.apk and install busybox...oh, and that means your rooted.
tommytopdrive is offline  
Reply With Quote
The Following User Says Thank You to tommytopdrive For This Useful Post:
Willster419 (December 10th, 2012)
Old December 10th, 2012, 01:12 PM   #33 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 4
 
Device(s): Casio Commando M130
Carrier: Verizon Wireless

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by tommytopdrive View Post
So after you added the chmod and rebooted, your /system and /system/bin file became 0777? If so then you can adb push su to the /system/bin folder. After that in the same file you chmod you can add:

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

reboot again and verify by adb from a command prompt that su is owned by root and is rwsr-sr-x by doing the following (press return after each line):

adb shell
cd /system/bin
ls -l

when you return on the ls -l the screen will scroll fast. use your page up button to search for su and see its permissions.

If all goes well, then you can install superuser.apk and install busybox...oh, and that means your rooted.

Will let know in a few hours. Have an appointment I must attend to in about 15 mins.
nmewarlok is offline  
Reply With Quote
Old December 10th, 2012, 01:54 PM   #34 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default OMG

It works! chmod works! before i was just looking in es file explorer, but then i tried to move stuff and IT WORKS!!! rootin' time!
jfever311 likes this.
Willster419 is online now  
Reply With Quote
The Following User Says Thank You to Willster419 For This Useful Post:
jfever311 (December 10th, 2012)
Old December 10th, 2012, 02:04 PM   #35 (permalink)
Member
 
Join Date: Jan 2012
Location: In a pleasant melody
Posts: 155
 
Device(s): Casio Commando Motorola Droid 1 Motorola Razr Maxx B&N Nook HD VIsual Land 7L all devices root
Carrier: Not Provided

Thanks: 19
Thanked 7 Times in 6 Posts
Default

Yay!!!!!
jfever311 is offline  
Reply With Quote
Old December 10th, 2012, 02:08 PM   #36 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default All set

I can safley say that out of all the testing, my m130 Casio commando is rooted. I have had the superuser request, and stuff is good. Thanks TommyTopDrive for letting me be like your "beta tester" and providing me with this great information. It does work people.
BigDogRMF and cwb449 like this.
Willster419 is online now  
Reply With Quote
The Following 3 Users Say Thank You to Willster419 For This Useful Post:
BigDogRMF (December 24th, 2012), cwb449 (February 12th, 2013), Deadly448 (January 27th, 2013)
Old December 10th, 2012, 02:20 PM   #37 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default Quick working guide

So, for all of you who want to root, this is a quick 10-step beta guide. Use at your own risk, im not responsible, etc.

1. Install es file explorer.
2. use it to go to /system/etc/init.qcom.sdio.sh
3. long press, open as text, use es note editor.
4. (The follwoing some quoted parts are copied from TommyTopDrive's posts. His work, not mine) Navagate to, "the very bottom (just above "exit 0")" and, add the following:

chmod 0777 /system
chmod 0777 /system/bin

5. Save the file. Then repeat step 3. and add a 1 after the "#!/system/bin/sh" and save. Then repeat step 3 again and remove the 1. The reason you do this is because, "it makes a backup and might try to load the backup."
6. restart your phone.
7. Push (or copy from sd card) the su bianary file to /system/bin
8. do steps 2 and 3, then below the code you put in earlier, put in, "

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

9."reboot again and verify by adb from a command prompt that su is owned by root and is rwsr-sr-x by doing the following (press return after each line):

adb shell
cd /system/bin
ls -l

10. "install superuser.apk and install busybox...oh, and that means your rooted."

And then your all set! You welcome to all!
Willster419 is online now  
Last edited by Willster419; December 10th, 2012 at 10:12 PM.
Reply With Quote
The Following 20 Users Say Thank You to Willster419 For This Useful Post:
0Ri0N0iD (January 3rd, 2013), adamon (June 24th, 2013), amwimberley (March 2nd, 2013), BigDogRMF (December 24th, 2012), Chris2342 (January 3rd, 2013), colinnc (December 16th, 2012), cwb449 (February 14th, 2013), dcaro (January 7th, 2014), elysian722 (December 18th, 2012), firewall23 (January 12th, 2013), generutledge (December 30th, 2012), ihatebloatware (January 6th, 2013), kailua01 (April 17th, 2013), lokisource (December 11th, 2012), mangascolorado (March 19th, 2013), NE_Phil (December 11th, 2012), rasta4rest (December 11th, 2012), Red8eard (January 8th, 2013), stevosdiesel (December 2nd, 2013), VertigoFox (December 22nd, 2012)
Old December 10th, 2012, 02:33 PM   #38 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 4
 
Device(s): Casio Commando M130
Carrier: Verizon Wireless

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by nmewarlok View Post
Will let know in a few hours. Have an appointment I must attend to in about 15 mins.
drwxrwxrwx root root 2012-10-20 02:32 system
drwxrwxrwx root shell 2012-10-20 02:32 bin

I pushed root and then redid the file to chmod and own it, and now have a # prompt instead of the $ prompt. Superuser and busybox both installed like a champ. Looks like its working to me. Thank You for discovering this permissions flaw in a executable script!
nmewarlok is offline  
Reply With Quote
Old December 10th, 2012, 03:45 PM   #39 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 4
 
Device(s): Casio Commando M130
Carrier: Verizon Wireless

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by nmewarlok View Post
drwxrwxrwx root root 2012-10-20 02:32 system
drwxrwxrwx root shell 2012-10-20 02:32 bin

I pushed root and then redid the file to chmod and own it, and now have a # prompt instead of the $ prompt. Superuser and busybox both installed like a champ. Looks like its working to me. Thank You for discovering this permissions flaw in a executable script!
Would like to report another successful root on a co workers Verizon Commando. That is 2 so far ... with 2 more to go.
nmewarlok is offline  
Reply With Quote
Old December 10th, 2012, 05:09 PM   #40 (permalink)
Junior Member
 
Join Date: Aug 2010
Posts: 65
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 5 Times in 5 Posts
Default

Still have my old commando laying around. Might have to try this tonight! Too bad there are no roms if it was any smoother I would go back to it since its way tougher than this droid 3. I know it wont compare to the droid 3 though. May just have to play around with it though
tsp_2177 is offline  
Reply With Quote
sponsored links
Old December 10th, 2012, 05:47 PM   #41 (permalink)
Senior Member
 
Join Date: Nov 2009
Location: Virginia Beach, VA
Posts: 523
 
Device(s): Verizon S4 16gb, rooted, TWRP, custom ROM. Asus Transformer Prime, unlocked & Energy ROM.
Carrier: Not Provided

Thanks: 31
Thanked 71 Times in 43 Posts
Default

Nice work!
I stayed rooted at M70.......so I won't be using it, but I can certainly sympathize with those who never rooted back when I did.....or never had this early a version.

Well done!
Rafael is offline  
Reply With Quote
Old December 10th, 2012, 06:56 PM   #42 (permalink)
Member
 
Join Date: Jan 2012
Location: In a pleasant melody
Posts: 155
 
Device(s): Casio Commando Motorola Droid 1 Motorola Razr Maxx B&N Nook HD VIsual Land 7L all devices root
Carrier: Not Provided

Thanks: 19
Thanked 7 Times in 6 Posts
Default

7. Push su to /system/bin

What the heck does this mean, and how do I do it?
jfever311 is offline  
Reply With Quote
Old December 10th, 2012, 07:49 PM   #43 (permalink)
Member
 
Join Date: Jan 2012
Location: In a pleasant melody
Posts: 155
 
Device(s): Casio Commando Motorola Droid 1 Motorola Razr Maxx B&N Nook HD VIsual Land 7L all devices root
Carrier: Not Provided

Thanks: 19
Thanked 7 Times in 6 Posts
Default

I though this was all done via the phone. Do I have to hook it up to my computer to do this?
jfever311 is offline  
Reply With Quote
Old December 10th, 2012, 08:02 PM   #44 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 1
 
Device(s): Casio Commando C771 Motorola Razr XT 912 - rooted Previous: HTC Incredible OG - CM
Carrier: Verizon Wireless

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had my commando rooted under the M80. Superuser.apk is still located on the system/app directory and it will not give my access to delete or uninstall the file. Could this be affecting the "chmod..." Added to the directory?

After adding these commands in the file previously mention I'm having no luck with root access...

If so how could I get rid of the SU.apk file without having root access?

Thanks in advance
Bigtruxz is offline  
Reply With Quote
Old December 10th, 2012, 08:08 PM   #45 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default here guys

these are the files y'all need in order to root, besides the USB phone drivers which are on another forum post in the "all things root" area.
had to move files:
http://d-h.st/Z21
Willster419 is online now  
Last edited by Willster419; March 26th, 2013 at 03:43 PM.
Reply With Quote
The Following 8 Users Say Thank You to Willster419 For This Useful Post:
0Ri0N0iD (January 3rd, 2013), elderlypunk (December 13th, 2012), Emgo (December 10th, 2012), hungryzombie (January 14th, 2013), ihatebloatware (January 6th, 2013), NE_Phil (December 11th, 2012), rasta4rest (December 11th, 2012), Witherspoon99 (February 24th, 2013)
Old December 10th, 2012, 08:19 PM   #46 (permalink)
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

I would use adb to install su, however, I would install superuser.apk and busybox installer from the play store. I would also after rooted remove the chmods and chown from the file. I would also change the permissions for the /system and /system/bin back to there originals.
tommytopdrive is offline  
Reply With Quote
The Following User Says Thank You to tommytopdrive For This Useful Post:
Furrner (December 11th, 2012)
Old December 10th, 2012, 08:23 PM   #47 (permalink)
Senior Member
 
Join Date: Feb 2012
Location: New Hampshire
Gender: Male
Posts: 552
 
Device(s): Archos 43 IT (dead), Casio Commando(s) (C771), Casio COmmando 4g
Carrier: the big bad "V"

Thanks: 43
Thanked 143 Times in 70 Posts
Willster419
Default lol

look what i found...
had to move files:
http://d-h.st/xpK drivers_C771_Windows.zip
Willster419 is online now  
Last edited by Willster419; April 12th, 2013 at 06:51 PM.
Reply With Quote
The Following 2 Users Say Thank You to Willster419 For This Useful Post:
0Ri0N0iD (January 3rd, 2013), BigDogRMF (December 24th, 2012)
Old December 10th, 2012, 08:30 PM   #48 (permalink)
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

Quote:
Originally Posted by jfever311 View Post
7. Push su to /system/bin

What the heck does this mean, and how do I do it?
Search the forums as there is ample knowledge on using adb and how to push/pull files to/from your computer to the phone.
tommytopdrive is offline  
Reply With Quote
Old December 10th, 2012, 08:50 PM   #49 (permalink)
Member
 
Join Date: Jan 2012
Location: In a pleasant melody
Posts: 155
 
Device(s): Casio Commando Motorola Droid 1 Motorola Razr Maxx B&N Nook HD VIsual Land 7L all devices root
Carrier: Not Provided

Thanks: 19
Thanked 7 Times in 6 Posts
Default

I'm running ubuntu, so I think I need to do this another way.
jfever311 is offline  
Reply With Quote
Old December 10th, 2012, 09:22 PM   #50 (permalink)
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

you can do it under ubuntu. You have to install the android sdk as the adb drivers are automatically installed. You might even be able to put the su file into your sd card and copy over to /system/bin with a good file explorer downloaded from the play store. You can make the changes to the /system/etc/init.qcom.sdio.sh file with the edit function of most file explorers as well.
tommytopdrive is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Casio G’zOne Commando > Commando - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:13 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.