Mounting an Android System For Write & Modify Operations

               So you have an old android device?? and you want to change/modify/update it’s system files to fit your fancy requirements and considering the fact that android system is highly modular, customization is hyped a lot about but first, you will need to mount your read only android system for write and modify operations.

Here is one of the way :

   1) Install the Android Software Development Kit and

   2) USB drivers which is specific to your Android Device

   3) USB debugging must be enabled. Check you Application Development section of your android phone.

Set the SDK path in the Advance System Settings such that “adb.exe” is accessible through command
prompt. Alternatively you can go the installed files location of your AndroidSDK to access “adb.exe”

   a) Open Command Prompt and type “adb shell”. This  will brings out the shell prompt.

   b) Typing “mount” will show the list of current partitions on your android device. Note the system
block(the block with the “/system” tag) and its permissions “ro”(i.e read only file system)

   c) Type “su” for super user.

   d) Type “mount -o rw, remount -t yaffs2 (your “/system” block name which in my case is “/dev/block/mtdblock7(space)/system”)”

   e) Typing “mount” will diplay all the current partitions again but now the “/system” block should show
“rw” (i.e read and write)

    Now your system block is mounted for write and modify operations. The rest is pretty much easy.
Navigate around and change or modify your files.The “rm” command deletes a file and in my case as shown in the picture got rid of my ATT tone that plays every time i switch on my phone.Image

Advertisements

How to take ownership and reset ntfs file system security in windows 7

Image representing Windows as depicted in Crun...

If you have recently upgraded your windows or re-installed windows 7 then you

might be getting the annoying prompt about “You don’t have currently access to the following folder bla bla..” i.e. a file ownership and permissions related issues. So will tell you how to fix this in a simple way.

It is because of Windows 7 has implemented some security mechanism to prevent file or folder modification by not allowing users other then owner of file or folder to access it. So if you need to access, modify or delete such files or folder you Firstly, need to take ownership then assign rights or permission to respective users.

STEPS TO TAKE THE OWNERSHIP IN WINDOWS 7:

  1.  Right click on file or folder and select “Properties” from pop up menu.security and permissions tab
  2. Click on Security tab.
  3. Click on “Advance”.
  4. Now click on “Owner tab” in Advance Security Settings for User dialog.Owner tab on Advanced security window
  5. Click on Edit Button and select “Other user or group” Click Find Now. Select the Administrators group or your user that you want to give permissions for and then “click OK”.other users or groups
  6. Now select User/group that was selected on step-5 and check “Replace owner on subcontainers and objects” then click apply and ok.
  7. Click ok when Windows Security Prompt message is displayed.
  8. Now You are the owner and now click “Ok” to exit from Properties windows.

After you have taken the ownership the next step is to Granting Permissions to that folder.

STEPS TO GRANT ALL THE PERMISSIONS IN WINDOWS 7

  1. Right click on file or folder and select “Properties” from Pop-up Menu.
  2. Go to the “Security” Tab and select the user or group that was made on first post above and click “Edit”.
  3. Now Select Allow checkbox on the Full Control, then click Apply OK.

Voila!! Now you have access to all files of folder in windows 7 with full permissions.