Register

Welcome to the Samsung Galaxy Forum.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Results 1 to 1 of 1
  1. #1
    Senior Member
    Join Date
    Sep 2010
    Posts
    112
    Member #
    278
    Liked
    1 times

    Question What is rageagainsthecage and how does it give me root?

    The answer is actually posted in full at the Android Root Source Code.

    Below is just a sloppy paraphrase, but I hope it helps makes sense of the genius behind Mr. 7-4-3-C AT web d0t de's hack.

    -------------------------------------------

    The operating system on your Fassy only allows a finite, specific and limited, number of processes to run at any given time. If that number is exceeded then no more processes can start.

    Each time a new process is run, for security, the operating system in response runs a process that lowers the user level of the new process from root to user level.

    What the rage hack does is (1) check what the number of processes limit is, (2) check to see what process number the "adb shell" is running under, (3) spawn, or make a bunch of useless processes to run the operating system up to its limit, (4) kill the adb shell process, and then (5) restart the adb shell.

    Okay, you say, so how did we get root?

    Since we are at limit-minus-one when the adb shell is killed off, starting the adb shell again puts us at exactly limit! The operating system then, for security, attempts to lower the user level of the adb shell...but it can't!

    The operating system can't run the one-more-process it needs to lower the shell from root to user level since the processes are maxed out.

    And, as the article mentions, there is no error, and the shell keeps right on running root until you close it. That's why you then have to do something else to make it "stick".
    verizon user since 2001: kyocera 6035, samsung i300, treo 600p, treo 700p, htc eris droid, motorola droid x, samsung fascinate droid (since 2010-09-11)

  2. Ads


 

 

Remove Ads

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. noob very confused. can someone give an explanation? please?
    By loustsoul in forum Fascinate Rescue Squad General
    Replies: 3
    Last Post: 04-17-2011, 05:21 PM
  2. Give Up Hope on the CR-48 Pilot Program?
    By jblsmith507 in forum Off-Topic Forum
    Replies: 6
    Last Post: 02-08-2011, 08:02 PM
  3. Can I give my contacts there own ringtones?
    By Big Joe in forum Samsung Fascinate Help
    Replies: 5
    Last Post: 11-18-2010, 01:57 PM

Search tags for this page

give me root
,
i got mine rooted now. used soc 1.7 and
,
rage against the cage source
,

rageagainsthecage

,
rageagainsthecage.
,
root against the cage source
,
running rageagainst the cage
,
soc 1.7 and rageagainsthecage
Click on a term to search for related topics.
Back to Top