Sunday 16 October 2011

Install Custom ROM, VillainROM 10.0 the Official Android 2.1


Download GingerBread zip file via Megaupload here:
http://bit.ly/muhiRV
File you have to installed first:
After you have all the necessary file above, then follow these instructions:
1. Install instant root ( you get root access )
2. Copy the Amon Ra recovery image to the root of sdcard ( not in any folder )
ROOT OF SD CARD = So if your SD card appears as the G: (G drive) on your computer put the file straight onto the G: not G:/foldername ... Don't put the file into any folders. When you click on your SD drive on your computer you should see the file without having to go into any folder.
3. Copy flashrec to the root of your sdcard 
4. Install flashrec (Use a file explorer like astro).
5. Open flashrec. Then, Back up your recovery on first screen then in address bar put /sdcard/(ur amonra recoveryname with .img) and press flash. Typically it will be like this /sdcard/recovery-RA-hero-v1.6.2.img
6. Go to the market. Download an app called 'Titanium Backup'. (Needs Root access). Install it. Click Backup/Restore. Click menu, Batch, Then select the option best for you. I select Backup all user apps. However you can select backup all user apps + data (but this may cause problems with your new ROM...but it works fine for me). Let the app do its thing.
Your done! Switch off the phone, switch it back on holding home key & power key
7. Once you are on the recovery screen menu there are a few options. Please do a nandroid backup before continuing. A nandroid backup simply takes a picture of your phone in its current state and if any problems occur you can restore your phone to how it was before. To do this click on Backup/Restore. Then click on Nand Backup. Wait for the process to finish. When it's finished reboot the phone and plug the phone into the computer and copy the nandroid folder to somewhere safe on your pc. Also copy the Titanium backup folder to your pc (this is the apps we backed up).
I recommend reformatting your memory card. To do this select SD card from phone menu, and click format. Or plug the phone into the PC and right click on the drive via my computer, and format it.
Now, put the custom rom (which should be a zip file) onto the root of the sd card. (I.e. Not in any folders). Do not rename the custom rom file or change the extension. Then Switch off the phone, switch it back on holding home key & power key.
Always do a wipe before flashing your custom ROM. (A wipe will get rid of your data so please make a backup of your data using various apps on the market). In the Recovery Menu click WIPE, then Wipe data/factory reset, dalvik cache, SD:ext partition, battery stats & rotate settings etc.
8. Click on Flash Zip from sdcard and then it should show the Custom ROM. Click flash and wait for the ROM to install.
9. To enable Apps2SD (install apps to sd card) you must create a partition on the SD Card. To do this click on partition sdcard. We want 512MB as EX2 and the rest as FAT. After this has completed, go back to the partition SD menu and click on SD:ex2 to ext3.
Sometimes Apps2SD is not automatically enabled. So Turn off your phone. Hold down HOME + POWER button. When in recovery menu, select OTHER ,click move Apps + Davlik to SD Card, Reboot phone. (It may take a few minutes for phone to boot up).
Q: OMG, something is wrong!!111!!!11!...my phone will not start it's stuck on the HTC boot screen...
Don't worry. Pull out your battery (only after 15mins if it's still stuck) and power phone up again and see if it works. If it does not work still. Don't worry. That's were the nandroid backup comes in handy. Switch off the phone, switch it back on holding home key & power key
Select nandroid restore, select the file (it says the time and date on the file)..let it install, and your phone will be back to how it was. You can then try to reinstall the custom rom again or give up
10. Go to the market. Install Titanium Backup again.
11. Plug phone into pc. Copy all your SD card stuff back onto the phone including the nandroid backup and titanium backup folders (but also keep a copy on your pc).
12. Open Titanium backup. Click Backup/Restore, Menu, Batch, Then select one of the 3 options at the bottom of the screen (the word RUN is highlighted in blue). If you are using the free version you will have to click install for every app you have.
13. Your done! Switch off the phone, switch it back on. Now the apps we have restored will now be transferred onto your SD card. This is a long process and depending on the number of apps you have could take 5-10 minutes. So don't worry. When the process is completed, your phone will boot up and all your apps will be on your sd card. your sd card.
READ MORE - Install Custom ROM, VillainROM 10.0 the Official Android 2.1

Enter Custom ROMs, Samsung I9100 Galaxy S II Source Code




Samsung has just released the source code of their new I9100 Galaxy S II Android flagship. This will presumably open the floodgates and custom ROMs and kernels for the extremely popular device will now start appearing at a rapid speed.
Given the really high interest that the Galaxy S II has been enjoying so far we are expecting a good chunk of the knowledgeable XDA-developers user base to start working their magic on the released code.
We are also waiting to see if the Samsung Galaxy S II will join the Cyanogen Mod party quicker than its successor. The original Galaxy S was really slow to get a taste of the aftermarket firmware with a stable version appearing just a few weeks ago – towards the end of the device’s retail life.
If you are no stranger to building custom ROMs or making kernel tweaks, feel free to check out the released source code, by following the link below.

READ MORE - Enter Custom ROMs, Samsung I9100 Galaxy S II Source Code

Thursday 13 October 2011

Unroot (almost) All Android Devices (simplified)



Firstly, in order to unroot your android device, you need:
1) An update available for your phone or an old nandroid backup that has a previous version of your phone android version
2) A nandroid backup done before you attempt the following steps below
Once the above conditions are met, you are ready to UNROOT your phone!
Before you read the procedure, read how it works
below and get a better picture:
HOW
Firstly, one known method of unrooting is to install an available system update. However, stock updates are signed with official keys and custom recoveries only accept updates signed with their custom keys.
So, to unroot, you need to have stock recovery installed. One way to get your phone`s stock recovery back is contained in the update zip.
The update zip is the key, literally. Look through it and you will find (usually in the system folder) a file called recovery.img, which will be used as your new stock recovery.
By flashing in the image into recovery, you can now install updates, keep your previous applications, enjoy being unrooted and updated.
There are other unroot options that tailor to specific android phones and versions, but this solution should work on all android phones.
Why unroot? Because sending in a rooted phone for repair will void your warranty. Also, by having a rooted phone, you run the risk of a rogue rooted application that does unwanted stuff to your phone.
PROCEDURE
Step 1)
If you still have your original stock recovery that came with your phone, continue. Else search for my previous thread: "[RECOVERY] Reverting to original(STOCK) recovery" and follow the steps there. You can use the update file you used to revert to stock recovery here as well or vice versa
Step 2)
Reboot you phone
Step 3)
Check for system updates and download them
Step 4)
Wait until phone reboots. All your applications and user settings will be retained.
Step 5a)
Open up a terminal emulator on your phone and enter "su" (Check if unroot)
Step 5b)
If you cant turn your phone on to check if unrooted, boot into recovery mode, open up adb enter:
[Code="c++"]
adb shell
su
[/code]
Step 6)
If you get "permission denied" or something like that from step 5a/5b,
CONGRATULATIONS! YOUR PHONE HAS BEEN SUCCESSFULLY UNROOTED!
Step 7)
If you don`t want to void your warranty, you should unistall applications that require root, especially Superuser
To date, I have rooted and unrooted my phone (Backflip) 3 times without any problems. In case your phone can`t be booted up, only to the bootloader or recovery, DO NOT WORRY! You can use the adb (android debug bridge) to flash in the stock recovery, push/pull the updates and reboot the phone into recovery mode or normal mode!!!
Useful ADB commands
Reboot Phone
[Code="c++]
adb shell
reboot
[/code]
Reboot Phone into recovery mode
[Code="c++]
adb shell
reboot recovery
[/code]
Flash a new recovery image temporarily (resets when rebooting)
[Code="c++"]
adb shell
flash_image recovery /sdcard/recovery.img
[/code]
Flash a new recovery image that does not reset when rebooting
[Code="c++"]adb shell
flash_image recovery /sdcard/recovery.img
exit
adb shell
cd system
su
mount -o rw,remount /dev/block/mtdblock1 /system
rm recovery.img
mount -o ro,remount /dev/block/mtdblock1 /system
exit
exit[/code]
Push file to sdcard
[Code="c++]
adb push file.blah /sdcard/file.blah[/code]
Push file to sdcard
[Code="c++"]
adb pull /sdcard/file.blah file.blah[/code]
Here`s wishing you good luck and a belated happy new year!
READ MORE - Unroot (almost) All Android Devices (simplified)

Unpack/repack .apk Files


This tutorial is about how to unpacking and repacking .apk files. Intended for people who don't want to mess with Command Prompt, or for those who want to do it in graphical user interface.
Requirements:
-An archive manager, such as WinZip, WinRar, or Power Archiver, that is capable of extracting and making .rar archives
-Formatter .  Click to download

How to unpack .apk files:

1. Open Formatter (Are you already have it downloaded and installed on your computter?)
2. Click the "Choose File" button and choose your apk file. Then, in the first text box, enter ".rar" (without quotes). After that, enter your desired name for your .rar archive and click the big "Rename!" button
3. Go to the folder where your .apk file was. You should see a .rar archive, named by the name you entered in Formatter. Extract it with your archive manager

How to repack .apk files:

1. Compress the extracted files in a .rar archive (compress them normally like any other archive)
2. Open Formatter
3. Choose the .rar archive you made a minute ago
4. Set the format to .apk
5. Set the name to whatever you want
6. Click the big "Rename!" button
READ MORE - Unpack/repack .apk Files

Monday 10 October 2011

Overclocking Your Android msm7k Device


This patch applies to many android devices.

Overclock6ing msm7k has been supported on wince devices'  linux port for a long time now. (months for msm720xa, and maybe even more for 720x and 750x, I haven't see the details). So it's the same idea that has been implemented here. Making it work was more difficult than for wince devices, because the radio software is way too clever on android. Still, we got past this difficulty, and it works.
It's actually even better than what ToAsTcfh actually got, he posted only older results which were bottlenecked at 620MHz, now this patch provide users with a 710MHz frequency.
And it should work for all msm7x0xa devices. (so that makes almost double speed for stock G1 ).
For people who wants even more overclocking, you can change the values:
the writel(0x25, ......) line,
This value is the multiplier from 19.2MHz to cpu frequency, 19.2MHz*0x25=710.4MHz
You can change it to whatever value you want, but the higher limit seems to be around 750MHz.
If you want to play with mem values, edit the line:
[code="C++"""""]{ 528000,6 ACPU_PLL_2, 2, 1, 132000, 3, VDD_7, 160000, 0, 5, -1 }[/code]
Change the 3 after 132000, it's the divisor of memory compared to cpu frequency, -1 (with default settings, it's 132MHz=528MHz/(3+1)
The patch is attached, and also available at http://htcandroid.xland.cz/oc.diff.txt
Basically, all devices from HTC from before 2009 should be supported (all versions of G1, G2, G3), LG GW620, samsung galaxy, and many others.

To newbies: To get this patch working, you need to build the linux kernel for your phone. Basically, wait for you rom modder to do it.
READ MORE - Overclocking Your Android msm7k Device