Pages

Thursday, 9 February 2012

Root G-Slate


This process works under Linux. The hard part under Windows would be mounting a file as an ext4 filesystem, but if you can do that you win.

Files you may need:
gslate_root.zip
You may need to install the package libstdc++6 or lib32stdc++6 to get nvflash to run.
You may need to use "sudo" on the nvflash commands.
If you want to try to make this work on Windows, the nvflash.exe binary and the APX USB drivers are are available from www.nvidia.com

To root:
 1 Put those four files in a directory and open a terminal to there.
 2 Shut down your G-Slate and plug it into your computer via USB.
 3 Hold down both volume buttons and press the power button. The G-Slate will not appear to turn on, but it'll go into APX mode.
 4 Running "lsusb" should show an entry "0955:7820 NVidia Corp."
 5 Run the command "sudo su" to get a root shell. Running "ls" should still show the four files.
 6 ./nvflash --bl bootloader.bin --getpartitiontable ptable.txt
 7 ./nvflash -r --read 8 system-orig.img
 8 Wait while 400 meg of data copies.
 9 cp system-orig.img system.img
10 mkdir system
11 mount -o loop system.img system
12 cp su system/bin
13 chmod 4755 system/bin/su
14 cp Superuser.apk system/app
15 umount system
16 ./nvflash -r --download 8 system.img
17 Wait while it copies back.
18 ./nvflash -r --sync
19 Press the reset button under the sim cover to reboot.

Congrats your G-Slate is rooted...

Tuesday, 31 January 2012

Increase Your HTC WILDFIRE Internal storage


WARNING : 
DO NOT TRY ON SENSE ROM'S, THEY REQUIRE MORE INTERNAL MEMORY.
EVEN FOR CUSTOM ROMS DO IT PROPERLY ARE ELSE YOU WILL END BRICKED. 

This process has been tested using
- Cyanogenmod 7 Nightlies
- Clockworkmod 3.2.0.0 j_r0dd's Mod
- Clockworkmod 5.0.2.0

What does this do?
          As you must know, the Wildfire ships with a 512MB ROM Image. Of this, 250MB is reserved for the /system partition (This is where your current ROM is installed), 183MB for the /data partition (This is your actual 'internal' memory for apps), and 40MB for the cache.

          Now, since not any ROM for the Wildfire will ever get close to the 250MB limit of the /system partition, it is possible to 're-allocate' this extra space to the /data partition. If you want even more space, you can take around 20-25MB (Upto 35MB) from the /cache partition as well, implying you now have ~300MB on the /data partition for installing apps.

ADVANTAGES:

  • Utilizes your internal memory better
  • Removes the needs for Apps2SD Scripts
  • Gives you a potentially smoother and stabler device (Apps will always be more "stable" when in the internal memory then when on EXT)
 PRE-REQUISITIES:
  • S-OFF using AlphaRev X / Revolutionary
  • Clockworkmod Recovery (Preferably a version in which you know Nandroid Restore works without issues) 
PARTITIONING YOUR WILDFIRE: 

Step 1
  • First, make sure that you have backed up your entire SD Card somewhere else, like your PC. Also make sure your apps are backed up with an app like Titanium Backup (Just for insurance)
  • Now, Reboot to Clockworkmod Recovery
  • Create a Nandroid Backup
  • Place the 2 attached files on your SD Card.
  • Create a new text file on your SD Card called mtdpartmap.txt (UPDATE - File Attached. Simply edit the values as per your needs) (This includes the file extension, so make sure you are not naming it as mtdpartmap.txt.txt, else, it will obviously not work)
  • In this file, type mtd followed by be 2 numbers. The first number will be the size of your /system partition, and the second number will be the size of your /cache partition.
  • Example: mtd 150 25 (Here, 150MB will be the size of the /system partition and 25 will be the size of the /cache partition)
  • There should NOT be anything else apart from the mtd text and 2 numbers in this Text file. Also, make sure that this is not placed in any folder or sub-folder.
Step 2
  • Once this text file is created successfully, you WILL have to format your entire device. So, perform the following one-by-one
  • Go to "Mounts and Storage" in Clockworkmod Recovery
  • Here, select format /cache
  • Then select format /data
  • Lastly, select format /system
  • Then, perform a Wipe Data / Factory Reset in Clockworkmod Recovery. (Not essential, but I performed it anyway)
  • Then, flash the attached file bravo-recovery-v1.5.3-CustomMTD.zip
  • Once this is done, do NOT reboot. Go to Advanced Again and select Reboot Recovery
  • Once Clockworkmod Recovery Reboots, Restore your previously taken nandroid backup
  • Once restoring is done, without restarting, flash the attached file bravo-boot-v1.5.3-CustomMTD.zip
  • Done, then you can Reboot your Wildfire.
  • The reboot will take longer than normal, it is normal
You should then see your new custom partition sizes. The command to check the partition (Before/After/Anytime) sizes in Terminal Emulator is busybox df -h. (After typing su, and also, you must have Busybox installed)
 Reverting back to Stock :

- Formatting all the 3 partitions. (i.e. /cache, /data, and /system)
- You will then need to flash a "Stock" Clockworkmod Recovery Image. Links (and procedure to flash)   available in the here

 Here is what it will look like...



NOTE:

  • When you flash a new ROM/Restore a Nandroid Backup, you WILL lose the new settings ("partially"). To overcome this, after flashing your new ROM, flash the bravo-boot-v1.5.3-CustomMTD.zip attachment immediately after flashing the ROM/Restoring the backup before restarting your device. This will again give you the new partitions. If you fail to do this step, you will be stuck on the White HTC Screen.
  • The standard Apps2SD Feature included in Android (Froyo and above) is unaffected. You can still move your apps to the SD Provided the app supports it. (Or use CM7's In-built App Moving Feature)
  • You can very well use this in conjunction with Apps2SD Scripts like DT, should your need be.
 Required Files:

mtdpartmap.txt

bravo-boot-v1.5.3-CustomMTD.zip

bravo-recovery-v1.5.3-CustomMTD.zip

                          ALL THE BEST
Supported by Bitcoin Plus