Jump to content


Photo

[JB Root Released]Discussion, (was test scripts thread)


  • Please log in to reply
96 replies to this topic

#41 SPJESTER

SPJESTER

    Like A Boss

  • Members
  • PipPip
  • 169 posts
  • Twitter:mhowell34
  • Google+:mhowell34
  • LocationStarkvegas, Mississippi
  • Current Device(s):Galaxy S4 Active

Posted 09 January 2013 - 06:58 AM

thats exactly what it means. It cant mount /system as read/write so it just errors. and then the rest fails

>> I'VE BEEN AROUND A WHILE. LETS GET TO IT <<
Current Device: AT&T Samsung Galaxy S4 Active 

Retired Devices: Moto Droid, VZW HTC Thunderbolt, VZW Moto Droid Bionic


#42 jburchii

jburchii

    Member

  • Members
  • PipPip
  • 48 posts
  • LocationCharlotte, NC
  • Current Device(s):Droid Razr xt912

Posted 09 January 2013 - 07:01 AM

I wish I could help. If there is a way you could explain to me what to look for aor how to even access the program I would try to help.

#43 SPJESTER

SPJESTER

    Like A Boss

  • Members
  • PipPip
  • 169 posts
  • Twitter:mhowell34
  • Google+:mhowell34
  • LocationStarkvegas, Mississippi
  • Current Device(s):Galaxy S4 Active

Posted 09 January 2013 - 07:17 AM

right click the .batch file and edit with notepad++ or something. Its just adb commands

>> I'VE BEEN AROUND A WHILE. LETS GET TO IT <<
Current Device: AT&T Samsung Galaxy S4 Active 

Retired Devices: Moto Droid, VZW HTC Thunderbolt, VZW Moto Droid Bionic


#44 jburchii

jburchii

    Member

  • Members
  • PipPip
  • 48 posts
  • LocationCharlotte, NC
  • Current Device(s):Droid Razr xt912

Posted 09 January 2013 - 07:23 AM

i just got this, and I AM connected via USB and have debugging enabled... wierd.


[*] MOTO RAZR XT912/XT912 MAXX JB ROOT
[*] Copyright © 2013 SPJESTER (@mhowell34)
[*]
[*] Before continuing, ensure USB debugging is enabled,
[*] that you have the latest Motorola drivers installed,
[*] and that your phone is connected via USB.
[*] Once you press a button it will begin rooting
[*]
Press any key to continue . . .
"Pushing Files to import"
error: device not found
error: device not found
error: device not found
error: device not found
"Setting Permissions for hack files in /data"
error: device not found
error: device not found
error: device not found
error: device not found
"Temporarily removing /data/local directory"
error: device not found
error: device not found
"Restarting the phone for the first time"
error: device not found
"Waiting on Device to boot..."

#45 SPJESTER

SPJESTER

    Like A Boss

  • Members
  • PipPip
  • 169 posts
  • Twitter:mhowell34
  • Google+:mhowell34
  • LocationStarkvegas, Mississippi
  • Current Device(s):Galaxy S4 Active

Posted 09 January 2013 - 07:27 AM

i just got this, and I AM connected via USB and have debugging enabled... wierd.


[*] MOTO RAZR XT912/XT912 MAXX JB ROOT
[*] Copyright © 2013 SPJESTER (@mhowell34)
[*]
[*] Before continuing, ensure USB debugging is enabled,
[*] that you have the latest Motorola drivers installed,
[*] and that your phone is connected via USB.
[*] Once you press a button it will begin rooting
[*]
Press any key to continue . . .
"Pushing Files to import"
error: device not found
error: device not found
error: device not found
error: device not found
"Setting Permissions for hack files in /data"
error: device not found
error: device not found
error: device not found
error: device not found
"Temporarily removing /data/local directory"
error: device not found
error: device not found
"Restarting the phone for the first time"
error: device not found
"Waiting on Device to boot..."


hmm u probably have adb installed weird

>> I'VE BEEN AROUND A WHILE. LETS GET TO IT <<
Current Device: AT&T Samsung Galaxy S4 Active 

Retired Devices: Moto Droid, VZW HTC Thunderbolt, VZW Moto Droid Bionic


#46 jburchii

jburchii

    Member

  • Members
  • PipPip
  • 48 posts
  • LocationCharlotte, NC
  • Current Device(s):Droid Razr xt912

Posted 09 January 2013 - 07:31 AM

<p>Just got this:</p>
<p> </p>
<p> </p>
<div>[*]             MOTO RAZR XT912/XT912 MAXX JB ROOT</div>
<div>[*]          Copyright © 2013 SPJESTER (@mhowell34)</div>
<div>[*]</div>
<div>[*] Before continuing, ensure USB debugging is enabled,</div>
<div>[*] that you have the latest Motorola drivers installed,</div>
<div>[*] and that your phone is connected via USB.</div>
<div>[*] Once you press a button it will begin rooting</div>
<div>[*]</div>
<div>Press any key to continue . . .</div>
<div>&quot;Pushing Files to import&quot;</div>
<div>3249 KB/s (586212 bytes in 0.176s)</div>
<div>3244 KB/s (1862336 bytes in 0.560s)</div>
<div>218 KB/s (660 bytes in 0.002s)</div>
<div>2594 KB/s (85096 bytes in 0.032s)</div>
<div>&quot;Setting Permissions for hack files in /data&quot;</div>
<div>&quot;Temporarily removing /data/local directory&quot;</div>
<div>&quot;Restarting the phone for the first time&quot;</div>
<div>&quot;Waiting on Device to boot...&quot;</div>
<div>&quot;Running the ROOT script, thank you china!&quot;</div>
<div>Attempting to place su binary on /system...</div>
<div>debugfs 1.42 (29-Nov-2011)</div>
<div>/dev/block/mmcblk1p20: Permission denied while opening filesystem</div>
<div>debugfs:  cd: Filesystem not open</div>
<div>debugfs:  write: Filesystem not open</div>
<div>debugfs:  set_inode_field: Filesystem not open</div>
<div>debugfs:  set_inode_field: Filesystem not open</div>
<div>debugfs:  set_inode_field: Filesystem not open</div>
<div>debugfs:  Something went wrong.</div>
<div>&quot;Restarting again..&quot;</div>
<div>&quot;Waiting on device to boot&quot;</div>
<div>* daemon not running. starting it now on port 5037 *</div>
<div>* daemon started successfully *</div>
<div>&quot;Installing SuperUser 3.1.4 \ SU 3.1.1&quot;</div>
<div>2415 KB/s (1500495 bytes in 0.606s)</div>
<div>Error: Could not access the Package Manager.  Is the system running?</div>
<div>&quot;Installation is successful, your phone has successfully been ROOTED</div>
<div>&quot;And the Finishing Restart&quot;</div>
<div>Press any key to continue . . .</div>


#47 jburchii

jburchii

    Member

  • Members
  • PipPip
  • 48 posts
  • LocationCharlotte, NC
  • Current Device(s):Droid Razr xt912

Posted 09 January 2013 - 07:33 AM

I figured out what the first problem was - when I am using my razr as my router via easytether it will NOT recognize the phone.....

#48 jburchii

jburchii

    Member

  • Members
  • PipPip
  • 48 posts
  • LocationCharlotte, NC
  • Current Device(s):Droid Razr xt912

Posted 09 January 2013 - 07:46 AM

Hmm.......seems that it is unable to write to the file system? How was this handled for the ICS root?

#49 SPJESTER

SPJESTER

    Like A Boss

  • Members
  • PipPip
  • 169 posts
  • Twitter:mhowell34
  • Google+:mhowell34
  • LocationStarkvegas, Mississippi
  • Current Device(s):Galaxy S4 Active

Posted 09 January 2013 - 08:42 AM

same kind of way. Already been tried

>> I'VE BEEN AROUND A WHILE. LETS GET TO IT <<
Current Device: AT&T Samsung Galaxy S4 Active 

Retired Devices: Moto Droid, VZW HTC Thunderbolt, VZW Moto Droid Bionic


#50 baciar1

baciar1

    n00b

  • Members
  • Pip
  • 3 posts

Posted 09 January 2013 - 09:02 AM

They locked it good still no luck

#51 jburchii

jburchii

    Member

  • Members
  • PipPip
  • 48 posts
  • LocationCharlotte, NC
  • Current Device(s):Droid Razr xt912

Posted 09 January 2013 - 09:42 AM

So the only problem is getting it to be able to write the files in the system folder? Is it possible that they fixed it so it could not be done?

#52 ibolski

ibolski

    Droid Master

  • Dedicated Supporter
  • PipPipPip
  • 535 posts
  • Twitter:iBolski
  • Google+:Ivan Samuelson
  • LocationColumbus, Ohio
  • Current Device(s):Samsung Galaxy S7

Posted 09 January 2013 - 09:57 AM

So the only problem is getting it to be able to write the files in the system folder? Is it possible that they fixed it so it could not be done?


Looks like I keep ICS 4.0.4 on my MAXX for now. Thank goodness my Nexus 7 is coming in tomorrow. ;)

VZW Samsung Galaxy S7 Stock and unrooted running Marshmallow 46A, 32gb Nexus 7 unlocked
2cqd4t2.png


#53 jburchii

jburchii

    Member

  • Members
  • PipPip
  • 48 posts
  • LocationCharlotte, NC
  • Current Device(s):Droid Razr xt912

Posted 09 January 2013 - 10:23 AM

How do you go about trying to find an exploit? I understand making changes to the batch file, but is there a way to get into the file from your PC? I notice that when I connect my razr to my PC via the USB cord I can't locate any kind of system files - only the internal and external SD cards.

#54 marksibert

marksibert

    n00b

  • Members
  • Pip
  • 7 posts

Posted 09 January 2013 - 01:18 PM

You won't see the phone's internal filesystem as a mounted drive in Explorer. The only way to manipulate the internal filesystem is through ADB. You use "adb push" to send a file from your pc to a directory on the phone.

The issue is that the /system folder on the phone is read-only. You can only make it writeable if you have root access. And you can only gain root access if you can write a file (the 'su' program) to the /system folder. So it's a catch-22.

The various root exploits trick the operating system into giving temporary write access to the folder. Once you have that, you can copy the su binary where it needs to be and do some further changes to get permanent root.

If you read the batch file, you can see it's just a bunch of 'adb' commands.
  • canezila likes this

#55 Mr. Orange 645

Mr. Orange 645

    Member

  • Members
  • PipPip
  • 128 posts
  • LocationSW, Missouri

Posted 09 January 2013 - 02:48 PM

That's one of the best explanations of how root is obtained I've read. Never understood HOW it happened, just always took for granted that it DID happen...until now. I just ordered a GNex to tide me over til we get this bad boy rooted again. Keep up the good work, all ye who are far more talented than I.
Posted Image

#56 Mr. Orange 645

Mr. Orange 645

    Member

  • Members
  • PipPip
  • 128 posts
  • LocationSW, Missouri

Posted 09 January 2013 - 02:53 PM

Quick question then I'll stop thread jacking. Does having the boot loader unlocked (I.e. the Gnex) make it easier to root, or are they two separate issues? Do you still need to find an exploit with the boot loader unlocked, or does it leave /system open to write? Been Droidin' since the OG Droid but never really learned how root is achieved. Like I said I always took it for granted.
Posted Image

#57 bleulin

bleulin

    n00b

  • Members
  • Pip
  • 19 posts
  • Twitter:bleulin
  • Google+:bleulin

Posted 09 January 2013 - 05:44 PM

sdcard test2 is failed...

#58 jburchii

jburchii

    Member

  • Members
  • PipPip
  • 48 posts
  • LocationCharlotte, NC
  • Current Device(s):Droid Razr xt912

Posted 09 January 2013 - 08:00 PM

You won't see the phone's internal filesystem as a mounted drive in Explorer. The only way to manipulate the internal filesystem is through ADB. You use "adb push" to send a file from your pc to a directory on the phone.

The issue is that the /system folder on the phone is read-only. You can only make it writeable if you have root access. And you can only gain root access if you can write a file (the 'su' program) to the /system folder. So it's a catch-22.

The various root exploits trick the operating system into giving temporary write access to the folder. Once you have that, you can copy the su binary where it needs to be and do some further changes to get permanent root.

If you read the batch file, you can see it's just a bunch of 'adb' commands.


Thanks! That helps a lot.

So, what are the possible ways to "trick" the system to let you write a root file?

#59 my2cents

my2cents

    Member

  • Members
  • PipPip
  • 32 posts

Posted 09 January 2013 - 08:21 PM

Will this help you guys?

Please Login or Register to see this Hidden Content



EDIT: Guess this might be what your new script is based on. in any case, others might want to check it out.

#60 STT

STT

    n00b

  • Members
  • Pip
  • 3 posts

Posted 09 January 2013 - 09:40 PM

Someone on xda posted a root method for the 910 China I wonder if something in that method could point us in the right direction



Edit: it is in fact for the jelly bean. Dnt know what the difference is besides it being a gsm phone. But wouldn't think the securities would be that different




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users