Related
This thread is primarily intended for n00bs.
I would like to say thanks to xda forum members: Noejn, Zecanilis, drellisdee, The_ERROR etc. Also thanks is due to Godlike! at tech-mania.com for his tutorials. Thanks is due especially to The_ERROR for proofreading the post and to other users for their suggestions written in the thread.[/SIZE]
---------------------------------------------------------------------------------------------
NEW - 3 May 2011 - Simplified Guide to Root & install version 1.2 of Custom Thunderg Recovery by AmonRa/modified by Drellisdee on LG P500
ALWAYS MAKE A BACKUP BEFORE CUSTOMISING YOUR PHONE.
[CUSTOMISING A PHONE USUALLY INVOLVES: ROOTING >>>> INSTALLING CUSTOM RECOVERY >>>> INSTALLING CUSTOM ROM]
The instructions written below have been tested by me using an Indian unbranded GSM model of LG P500 which came with stock Android 2.2.1 (V10C). The procedure to be followed for any LG P500 phone is the same.
This post is split into 4 major sections -
1. INSTRUCTIONS FOR ROOTING
2. INSTALLING ANDROID SDK ON A WINDOWS PC (This step is needed to install Custom Recovery on phone using adb from PC. Can be omitted if Recovery is installed from phone using Terminal Emulator)
3. INSTALLING A CUSTOM RECOVERY
4. INSTALLING CUSTOM ROMs
MUST READ: If you haven't read this thread already, please do read it - Dictionary for n00b - What is.../What does ...mean?
---------------------------------------------------------------------------------------------
1. INSTRUCTIONS FOR ROOTING
To know your present firmware version - Go to Settings/About Phone
Only phones which come with stock android 2.2 could be rooted till recently.
UPDATE - 24 April 2011 : A tool called 'GingerBreak APK' is able to root phones running stock android 2.2, 2.2.1 & 2.2.2. Read about it HERE. This tool enables rooting without the need for downgrading the firmware to 2.2. If 'GingerBreak APK' doesn't work out for you, continue reading to understand the procedure to root your phone after downgrading your firmware. Note: 'GingerBreak APK' permanently roots your phone. Also,GingerBreak might not install BusyBox and SuperUser apps properly on your phone. These apps are required by many rooted apps for their proper functioning. So, use Root Checker from android market to verify the proper installation of these 2 apps.
If your phone runs stock android 2.2, enable 'USB Debugging' on Phone (Settings/Applications/Development). Install z4root (copy the apk file to the sd card and open the file after browsing to the location using the phone's file manager), run it and root the phone. Find it HERE.
Choose the permanent root option as it is still possible to force unroot if needed.
Restart the phone and launch z4root to check the root status. A successful rooting should show 'Unroot' option when z4root app is opened.
{Note: z4root automatically installs Busybox and Superuser application(which appears as an icon in your app drawer) on the phone.}
If rooting fails with z4root, there is another application called SuperOneClick which can root your phone. Read about it HERE
For phones that came with stock 2.2.1 or 2.2.2 installed, rooting first involves downgrading the firmware to 2.2.
Downgrading the firmware can be done with KDZ-FW-UPD.exe (procedure outlined below)
(KDZ-FW-UPD.exe has been claimed to work best with windows xp 32bit.)
FIRST: DOWNLOAD THE Android 2.2 FIRMWARE FOR YOUR DEVICE. For this, go to: [ROMS] Original LG Firmware list and read about the procedure to download the original firmware.
{Tips: Use Ctrl+F in browser to search for Country name, Remember to change the alphabet in 2 places in the final link to download the firmware, Do not bother about the 'CDMA' tag attached to country code. It works for the GSM model phones too. If the link to find out the country codes doesn't work, use the 2nd method mentioned in the post to find out the country code using your phone's IMEI or ESN number }
Download the required Firmware onto your PC.
Links to Original firmware versions for Indian P500 are mentioned in THIS POST
Procedure to install original firmware using KDZ-FW-UPD.exe ( KDZ FIRMWARE UPDATER ) This procedure can also be used to restore the stock firmware and recovery onto your phone in case you want to give your phone to the service centre during warranty period as the phone will appear similar to as you bought it from the store.
[Note: This procedure was used to install V10B_00.kdz(android2.2) over V10C_00.kdz(android2.2.1) on an unbranded Indian GSM model of LG P500 using a Windows 7 Ultimate 64bit updated to date PC.]
1. Install LG PC Suite IV from SD card which came with phone by connecting the phone to PC through USB cable. This is done to install the drivers for the phone on the PC (the procedure is as follows)
- Enable the 'USB Mass Storage Only' mode in the phone's Settings/SDcard & Phone Storage menu.
- Connect phone to PC with the USB Cable.
- Press the 'Turn on USB Storage' button which appears on phone.
- Browse to the folder containing the 'LG PC Suite IV' on the phone's SD card using Windows Explorer and run the LG Installer file. PC Suite will now install on your system along with the required drivers for your phone.
- Cancel setting up PC Suite or continue setting up PC Suite if you want to Sync or backup the phone data.
- After closing PC Suite, Safely remove the USB device from your system.
- Press the 'Turn off USB Storage' button on phone screen.
- Detach the USB Cable.
- Disable the 'USB Mass Storage Only' mode in the phone's Settings/SDcard &Phone Storage menu.
Alternatively, I also tried installing the latest drivers via LG Mobile Support Tool from LG's website (available HERE) but KDZ-FW-UPD.exe (mentioned below) crashes when run. This could be happening only to me, so please try for yourself before writing off this method.
2. For my comfort more than anything else, I switched off the screensaver and other power saving features on the PC and also set the screen timeout delay on the phone to 30 minutes.(Settings/Display/Screen Timeout)
3. Charge the phone to the maximum.
4. Enable USB Debugging on Phone (Settings/Applications/Development).
5. Detach all other peripherals from your PC. Exit all running applications on your PC especially other PC suites if any. Also exit running programs from the notification bar on the desktop. (Also uninstall Nokia or other phone drivers & microsoft visual ++ runtime environments - not an essential step.)
6. Disable 'LGE Virtual Modem' in PC's Device Manager. (In your Windows operating system, go to Control Panel > System > Hardware > Device Manager > Modems > Right click on LGE Virtual Modem and click Disable.)
7. Unmount the SD card from the phone (Settings/SDcard & Phone Storage).
8. Open phone back and remove the SD Card.
9. Download KDZ_FW_UPD_EN.7z onto your PC and extract it to a folder. Available HERE.Direct Download Link. (MD5 of 7zip file - 813A28BE9182AB604A1D43E745CE7AD7)
10. Run the msxml.msi file and complete the installation.
11. Connect the phone to PC with USB Cable.( If you are using a desktop PC, make sure you use USB ports that are in the back of your PC, avoid the front ports.)
12. Run KDZ_FW_UPD.exe from the extracted folder.
13. Chose TYPE as 3GQCT & Phone Mode as DIAG.
14. In the 'KDZ file' space, browse for the firmware you want to install. (In this case V10B_00.kdz)
15. Press the 'Launch software update' button.
16. The firmware flashing process is now underway.
If all goes well, in 5-10 minutes the phone will be flashed with the new firmware.
I shall describe in detail what happened with my phone - 10-15 seconds after launching software update on PC, my phone screen turned blank and in a couple of seconds the phone entered the 'Emergency Mode'. During this mode the screen was yellow with Emergency Mode written along the middle of the screen. The phone stayed in the same way till the Software update procedure finished on the pc and the phone turned blank. I waited a while for it to reboot but after a minute or so, I manually switched on the phone. The phone came alive and following the LG boot animation, the android logo screen came up. The phone spent about 2 whole minutes in that state before booting up fully and entering the home screen. Update: Wait till phone reboots by itself or wait for a while before manually switching it on.
17. After booting up fully, detach the phone from the pc.
(If the phone gets stuck in the android boot logo screen during first boot, doing a hard reset by pressing and holding the VolDown+Home+Power buttons may resolve the problem.)
Go to 'About Phone' in Settings and confirm the change from 2.2.1 or 2.2.2 to 2.2.
Root the phone using z4root as mentioned before.
If rooting fails with z4root, there is another application called SuperOneClick which can root your phone. Read about it HERE
IN CASE OF PROBLEMS DURING DOWNGRADING FIRMWARE, read the following thread completely. Various types of errors and various measures to correct them including some innovative ones like shaking the phone etc. are mentioned here - [HOWTO] Phone not responding at all - last chance to repair. It is advisable to read this thread completely before attempting to downgrade the firmware using KDZ_FW_UPD.exe to become aware of all the possible problems you might encounter and their possible solutions.
PS: Here is the link to the phone drivers that came with my SD card. One user reported a problem wherein kdz updater would recognise the phone but the update process would fail during kdz unpacking. the problem was resolved by using the drivers i sent him. So, if anyone has the same issue, it might be worthwhile to try out the following drivers. I wouldn't advise everyone to follow this method, but those of you who are feeling lucky might try it out. Download Link
---------------------------------------------------------------------------------------------
2. INSTALLING ANDROID SDK ON YOUR WINDOWS PC
This step is required to install Custom Recovery on your phone using adb from your PC. Using a Custom Recovery, you can make a backup of your current ROM, restore backups, create partitions on your SD card, wipe your phone and the SD card and then also go on to install Custom ROMs using the Flash from Zip option.
Installing a Custom Recovery can also be done in other ways. Using Android SDK from your PC is just one method.
(Custom Recovery can alternatively be installed on your rooted phone using the commands given in the next section using a Terminal Emulator. This method removes the need for installing Android SDK on your PC and connecting your phone to PC. Download Terminal Emulator from Android Market. Install on phone. Run it and give it root permissions when prompted by the 'Superuser' application. As mentioned in the next section, copy the 2 files (flash_image & the custom recovery image file) needed to install Custom Recovery onto the root directory of SD card. Reboot phone. Open terminal emulator and type 'su' without the quotes and press Enter. This will take you to the root shell (#) from the default user shell($). Carefully type in the 7 commands mentioned in the next section one after the other. After typing in the last command (reboot recovery) and pressing enter, WAIT. The phone will reboot. Custom Recovery will have been succesfully installed on your device.
Hint: Copy the installation commands as a text file to phone & copy and paste the commands one by one into terminal emulator using a text editor. Please make the necessary changes to the installation commands depending on the recovery version used)
To install Android SDK on PC, there are a few requirements/downloads which have to be completed first:
JDK (Java Development Kit) - Download Here
JRE (Java Runtime Environment) - Download Here
Android SDK installer - Download here
So after all the downloads are completed, you are good to go. Run PC as Administrator.
First of all install the JDK, then the JRE and then the SDK Installer.
{If when android sdk installer is run, you get an error that JDK or JRE is not detected even after their installation, wait for a while, shut down the computer and restart and run the SDK installer once again.}
Make sure that while installing the android sdk, the installation directory should be the root of a partition i.e. it should be in the following form: C:\android-sdk, where you should replace the letter C with the letter you have assigned to the partition that you want to install it in.
Now that the Android-SDK is installed, go to the installation directory and start the SDK Manager. You need to add the components of the Android SDK to your installation. Before that I would like to inform you that you can save time if you download only what is necessary. If you are on Android 2.1 then you should download the 2.1 sdk, for 2.2 the 2.2 sdk and so on. You do not need to have all the versions for this thing to work. Just your version would do. So to start adding components, I recommend that you read THIS
After installing the desired components, you need to do perform some simple steps in order to use the adb terminal just like the cmd terminal for Windows.
For that purpose, here are the steps to be followed:
Right click My Computer, select Properties, and click Advanced System Settings. (Windows XP users - Right click My computer and just click Properties and select the Advanced Tab)
Click on Environment Variables, in the System Variables box, scroll down to the variable name 'Path' and double click to edit it
It would read something like " %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static".
Here you need to add a semicolon ( ; ) and add the path of the tools folder in android-sdk.
It should finally be like this " %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\android-sdk\platform-tools {or the location where adb.exe resides on your system}
Click OK wherever asked and then restart your computer.
Now open a command prompt window and type adb and hit enter. If a terminal window is displayed, you have done it all right.
If it gives some error message, read the article carefully and see what you have messed up with.
---------------------------------------------------------------------------------------------
Tip:
Using adb - How to install apps from PC without having to copy them first to the SD card?
If you want to install apps in one click, all you need to do is download the .apk file of your application to your PC and set the open with option to this batch file which you can download HERE
Save the batch file on the desktop of your PC before setting the option to 'Open With'.
---------------------------------------------------------------------------------------------
3. INSTALLING A CUSTOM RECOVERY
(Procedure of installing Custom Recovery using a terminal emulator from your phone instead of installing android SDK on your PC and connecting your phone to PC is mentioned in the last section.)
UPDATE - 3 May 2011 : Very simple way of installing Custom Thunderg Recovery by AmonRa/modified by Drellisdee version 1.2. Originally posted by ungaze in this post.
1. Download Android Terminal Emulator from Android Market. Install it on your rooted phone.
2. Download the file "amon_ra_recovery_installer.zip" from here or here. Check the MD5 hash value of the downloaded 'zip' file using tools like HashTab etc. before proceeding further. Correct MD5 value : 86db8a52b01f049cadb8f097a4c5bd9e
3. Extract the contents of the 'zip' file to the root of the sd card (ie. not inside any folder) using tools like 7-Zip or WinRAR or any other similar tool.
4. Open the terminal emulator app on your phone and type in the command 'su' without the qoutes. This will prompt a popup on your phone from the SuperUser app asking you whether you want to give root permissions to the terminal emulator app. Click 'Allow' and proceed. You will notice that the shell prompt has changed from the previous user shell '$' to root shell '#' in the emulator app.
5. While in the root shell '#', type in the following command and press Enter. Wait and the phone will reboot into the Custom Recovery.
Code:
sh /sdcard/rf.sh
Once you are up and running with a rooted phone, you will need to download the 2 files needed to install the Custom Recovery. They are:
Download No:1: flash_image - (This file is the same one needed to install any of the 3 versions of Custom Thunderg Recovery by Drellisdee given below)
Download Link (MD5 of zip file - 13FED5DF927214D744A256DAB4C3DC06)
Mirror Link (MD5 of zip file - 13FED5DF927214D744A256DAB4C3DC06)
Mirror Link - requires registration at androidforums.com. (MD5 of zip file - 13FED5DF927214D744A256DAB4C3DC06)
Download No:2: Custom Recovery image file - Choose & download any version among the 3 available after reading what is written below.
Custom Thunderg Recovery by Drellisdee has versions 1.1, 1.2 and 1.2.1 at the time of writing this. I personally prefer version 1.2 as it supports backup & restoration of ext4 Partition on SD Card. Version 1.2.1 is a little experimental in nature & it may not fit all devices as it has a size near 5 MB.
Link to xda-forum thread for Custom Recovery P500/Thunderg - HERE.
The different versions of the Custom Recovery image files are available at the following pages
Custom Recovery P500/Thunderg v1.1
Direct Download link - (MD5 of zip file - eb4ea2ffb26f387a891bb4d7261a0e5f)
Mirror Link - (MD5 of zip file - eb4ea2ffb26f387a891bb4d7261a0e5f)
Custom Recovery P500/Thunderg v1.2
Direct Download link - (MD5 of zip file - 217FC9115899A41195CF124CAF07B880)
Custom Recovery P500/Thunderg v1.2.1
Direct Download link - (MD5 of zip file - 388aac16b1184ab15b5500b2b32d914c)
Please check the MD5 hash values of downloaded files to ensure that files are not corrupted using tools like HashTab etc.
Now to install Custom Recovery, Copy the two files [ the chosen recovery image file (*.img) & the flash_image file (flash_image) ] and paste in the root of your SD card (root means the directory L:\ where L is the letter for your Phone's USB Storage. In short, don't create a folder and paste the files inside it on your SD card).
{Note that the recovery image file should have an .img extension and flash_image file should have no extension when placed on the SD card}
Reboot the phone. Connect phone to PC.
The next step requires Android SDK to be installed on your PC.If you have installed the Android SDK, follow these steps:
Go to Start Menu & Run and type cmd (run as Administrator)
In the cmd window, type adb. If you have installed it correctly, you will see a lot of text on the screen. If you get an error message then you have probably not installed the Android SDK properly.
Type adb shell and hit enter
Type su and hit enter
See your phone at this time and touch the 'Allow' option which SuperUser shows you
Now the terminal window will have a # sign appended to it instead of the previous $ sign. See this screenshot for a better understanding
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now one by one, copy the following lines, in the serial order and paste it into the terminal window and press enter following each line(right click on window and paste, CTRL + V won't work)
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak (if it gives error message here, simply proceed to the next step)
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/LGp500-recovery-v12.img (If the recovery version chosen is different from v1.2, type the appropriate file name of the recovery image here instead.)
reboot recovery
Click to expand...
Click to collapse
Wait. The phone will reboot now.
Note:{If you get this error after step 4
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
failed on '/system/etc/install-recovery.sh' - No such file or directory
Simply move on to the next step.
If you get any errors other that those mentioned here, please do not proceed with the last command of 'reboot recovery'. If you do so, recovery may not be correctly installed and you will lose all data on the phone as the phone will be reset to factory defaults. Please go back to the instructions and see what you have done wrong.
NOTE: If on booting into the recovery you get the following message at the bottom of the screen -
E: 'Bad Boot Message'
Don't panic, it's perfectly normal and you can proceed with what you want to do from the recovery.}
Detach the phone from the PC.
To access the Custom Recovery, turn off the phone and then press & hold Home+Vol Down+Power buttons to boot into the Custom Recovery.
---------------------------------------------------------------------------------------------
Once you have booted into the recovery, the touch screen won't work. The actions assigned to the different buttons are given here. Use them to navigate through the different options in Custom Recovery.
Up & down: vol-up and vol-down key
Select: Menu key (left most)
Back: Back (3rd from left)
---------------------------------------------------------------------------------------------
What does Custom Recovery look like & What does it do?
Note: In Custom Recovery versions 1.2 and above, zips can be extracted from inside folders. So, save the zips in a folder named AAA and flash the zip after browsing inside the folder through recovery. The folder name should be named 'AAA' so that it appears among the first on the recovery screen, since scrolling is not an option in recovery.
Note: There is also an unofficial port of ClockworkMod Recovery availble. I do not recommend this recovery for newbies as it isn't compatible with all Custom ROM's out there.
---------------------------------------------------------------------------------------------
4. INSTALLING CUSTOM ROMs
BEFORE FLASHING ANY ROM, DO A NANDROID BACKUP FROM CUSTOM RECOVERY
Since all the ROMs have their own kinds of partitions to be created and other requirements, you can check them at the ROM specific pages.
General procedure to follow for installing a Custom ROM
Boot into Custom Recovery
Wipe your cache, dalvik cache, SD card
Make partitions according to the ROM requirement
Wipe cache again.
Connect Phone to PC
Toggle USB MS and paste the ROM zip file to a folder called AAA in the root of the SD card
Disable USB MS.
Detach phone from PC.
Select 'Flash from zip' option in Custom Recovery menu
Select the ROM file
Flash the ROM file
After flashing is finished, Reboot the phone.
Note: It will take some time to flash and reboot into your new Custom ROM. The phone may stay with the boot logo displayed for a number of minutes. Do not switch off phone during this period.
---------------------------------------------------------------------------------------------
In case of problems with phone, read: [HOWTO] Phone not responding at all - last chance to repair
Also read: [READ FIRST] [REF] Repository of howto's, roms, kernel, etc.
If you feel benefited by this thread, I humbly request you to rate this thread and vote it to the front page. The option to rate and vote is present in the title bar of the thread on the right side.
Please post your feedback. Also THANKS is always welcome. Use the THANKS button (below right) if you feel that I deserve it.
Update - 24 April 2011 - New rooting method without needing to downgrade firmware.
Update - 3 May 2011 - Very simple way of installing Custom Thunderg Recovery
Update - 3 May 2011 - Added Simplified Guide to Root & install Custom Recovery on P500
i have done all steps but cannot boot in custom recovery may be pressing the keys wrong please help
Thank you very much for posting this! I think it's only missing a section for downgrading, and changing from one custom rom to another, and it's perfect!
I guess my memory card died.. The USB-MS Toggle doesn't launch anything on my PC, tried several times.Now what?
FnH84 said:
I guess my memory card died.. The USB-MS Toggle doesn't launch anything on my PC, tried several times.Now what?
Click to expand...
Click to collapse
Have you installed the drivers for the phone on your computer? If you haven't, your phone will not be detected when toggling usb mass storage.
saileshchowatia said:
i have done all steps but cannot boot in custom recovery may be pressing the keys wrong please help
Click to expand...
Click to collapse
Did you read the thread I have linked to at the end of the article? it may help you.
FnH84 said:
Thank you very much for posting this! I think it's only missing a section for downgrading, and changing from one custom rom to another, and it's perfect!
Click to expand...
Click to collapse
The procedure for downgrading the firmware is included in the article. The procedure is the same for installing any version of original firmware on the phone.
Procedure to change from one custom rom to another various with each rom.some may need a wipe while others might need repartitioning your sd card.
victortangocharlie said:
Have you installed the drivers for the phone on your computer?
Click to expand...
Click to collapse
Yes. It worked fine before. I tried to flash with CM7, and something went wrong. The whole SD-card is empty, works on another phone though. However, Windows will not recognize it no matter what I do
Do you mean to say that your sd card is empty our that you can't see the sd card contents on your computer?
victortangocharlie said:
Do you mean to say that your sd card is empty our that you can't see the sd card contents on your computer?
Click to expand...
Click to collapse
Both. I put the memory card on another phone and it said it was empty. Also, custom recovery says it's empty and from mount menu, I can see it keeps unmounting.
Have you tried another card on your phone?
victortangocharlie said:
Have you tried another card on your phone?
Click to expand...
Click to collapse
I managed to get the card work via another card reader. I put the zip files on it and trying again now. Hope it will work.
EDIT: It works!!!
nvm.....................
Glad to hear it.
Sorry for noob question, but after downgrade to 2.2, root, can I flash any rooted 2.2.1 ? And is there any?
Once you have rooted your phone, you can install any custom rom meant for p500. This includes all android versions. And, you don't have to apologise for being a noob, this thread is meant for noobs primarily. everyone has to start someplace. There are many rom's accessible on this forum including android versions 2.2 to 2.3.3. I suggest you try Nessy#Euridice ROM by Dookmatt. I am using it and it is easy to set up.it is based on android 2.2.2
Thanks,
So if there isn't any method for root on 2.2.1, how they managed to give us pre rooted 2.2.1 roms?
I seek the fastest and stable rom with OC, but Im used to CM7 tweaks,.so im interested in it the most. So is it usable? Beside cm7 which is the fastest?
Guess, you will have to ask the people who make the rom's. I don't know about the cm7 rom.haven't used it myself.
IFLPI said:
Thanks,
So if there isn't any method for root on 2.2.1, how they managed to give us pre rooted 2.2.1 roms?
I seek the fastest and stable rom with OC, but Im used to CM7 tweaks,.so im interested in it the most. So is it usable? Beside cm7 which is the fastest?
Click to expand...
Click to collapse
rooting a stock Rom is hard where as as rooting a custom made rom is easy because u only need the framework to create ur custom rom....
and about CM7 u can choose between many flavours.... its upto u ..
hi
hey man thanks for the wonderful tutorial!!
i just broght my phone 2weeks back. got it after lots of requests to dad!!
i wanna try all the stuff but im damn scared if i would brick my phone..
although i have the exact same phone as yours..unbranded indian optimus one with v10c
should i try it or is there a risk that ill brick it..?
if i brick it.. is there a chance that i can get it repaired? or will the lg ppl refuse to support me because i screwedwith it??
thanks in advance!!
As everyone knows psneuter did not work on 1.83 SBF to gain temporally root privileges to run a script on early USB enumeration mode to recover.
So please find bellow what I did to recover from a softbrick from a bad modding in the framework:
Prerequisites:
* 1.83 SBF on any flavor: stock, Gingerblur, Gingergray, Gladiatrix, etc.
* Access to an original framework files (Original 1.83 SBF file, etc)
* Tenfar’s CDW already installed before softbrick
* External SDcard to transfer files from your PC to the softbrick phone
* USB debugging ON before softbrick (Settings->Development->USB Debugging)
So here it is the deal:
1. Mostly all the time the file that get screw modding is the framework-res.apk, so the first thing to do is to indentified which file is screw before when to softbrick
2. Find a original from that file (can be any file inside /system/framework) depends on what was you doing before softbrick
3. Download the file “restore.zip” attached
4. Unzip it on your PC hard disk
5. Now place the files you want to restore inside the /system/framework on the unzip location
6. Now zip again the files as “restore.zip” (Normal compression)
7. Copy the file to the external SDcard and place the card on the phone
8. Plug AC to the phone so you can fire Tenfar’s CDW
9. Find apply update.zip from sdcard from Tefar’s CDW menu and run it
10. Reboot
11. Enjoy!
if you are softbricked from a bad framework-res.apk mod you can simply pull the battery and plug into the wall, let tenfar's cwm load up and reflash gingerblur or gladiatrix or whatever you like.
n1ckr0th said:
if you are softbricked from a bad framework-res.apk mod you can simply pull the battery and plug into the wall, let tenfar's cwm load up and reflash gingerblur or gladiatrix or whatever you like.
Click to expand...
Click to collapse
yup i did this lastnite, even swapped between p-roms, works a charm just remember to format after flash of p-rom
how can you enter cwm when your bricked? i thought you had to use the system recovery app in the app drawer, surely you can only enter android recovery
ears1991 said:
how can you enter cwm when your bricked? i thought you had to use the system recovery app in the app drawer, surely you can only enter android recovery
Click to expand...
Click to collapse
when bricked so long you recovery installed, turn off phone, plug into charger and leave 30secs then CWM will load
Here's a guide on how to restore to stock using the FXZ for OS X/Linux users.
1. Download one of the following fastboot binaries: fastboot-OSX or fastboot-linux and rename it to just "fastboot"
2. Download the FXZ and untar it anywhere.
3. Plug in your phone to your computer (preferably a back USB port if you're on a desktop, don't use a front USB port if possible) and shut it down (leave it plugged in).
4. Hold down the vol-down button on the rocker and boot the phone up, it should boot into AP Fastboot Flash Mode and it should say "OK to Program".
5. Run the following commands in terminal
Code:
./path/to/fastboot flash system /path/to/system.img
./path/to/fastboot flash boot /path/to/boot.img
./path/to/fastboot flash recovery /path/to/recovery.img
./path/to/fastboot -w
6. Shut off the phone by pressing the power button.
7. Boot back up and you should be back to stock!
Thanks for posting this for us linux users. Hopefully I won't have to use it any time soon haha
I keep gettiing permission denied when entering the first command. Any suggestions? Thanks
Will this run without a Bionic attached? I'm just trying to get everything set up and run it to make sure it starts...
dscottjr81 said:
I keep gettiing permission denied when entering the first command ./fastboot flash system system.img. Any suggestions? Thanks
Click to expand...
Click to collapse
BUMP...........
have you tried sudo?
Has anyone had any success with this yet?
1KDS said:
Has anyone had any success with this yet?
Click to expand...
Click to collapse
I am doing it right now. There are some issues. Without sudo, you'll get permission denied. With sudo, you'll get "./fastboot: command not found". After changing fastboot to be executable without sudo, you'll get "./fastboot: cannot execute binary file". With sudo, you'll get "./fastboot: 3: Syntax error: "(" unexpected"...so short story, this does not work properly yet
---------- Post added at 03:37 PM ---------- Previous post was at 03:24 PM ----------
1KDS said:
Has anyone had any success with this yet?
Click to expand...
Click to collapse
Go here: http://forum.xda-developers.com/showthread.php?t=1279825
There is a one click Linux/Mac return to stock and root method there and it works. Hope that helps. It is extremely easy!
Bionic Restorer for Linux/Mac
OK, I'm finished with the new MotoRooter for Mac/Linux - naming it BionicRestorer because it's completely different. Right now it's in my Dropbox Folder, still no where to put it - lol.
Here's the link to BionicRestorer.zip
For Mac and Linux people - it's BionicRestorer v1.0
A way to flashboot restore your Bionic to 5.5.893
Download it, unzip it, cd into the BionicRestorer directory and type ./BionicRestorer.sh to run it. Mac folks can double click on the Mac-BionicRestorer.command file in that directory.
Linux People - this is solid, I've run it on LinuxMint (Ubuntu) and Scientific Linux (Redhat) and it worked everytime without a glitch.
Mac People - This is tempermental on the Mac, I've tried it on 3 different
Mac's and it worked sporadically on a Macbook Air running 10.7.2, didn't work on the iMac at all running 10.7.2,
and worked consistently on a Macbook running 10.6.8. Use at your OWN RISK!!!! If it hangs, all I
can is - try it again, or, run Linux, or, use RSDlite on Windows.
I can say that it worked consistently on a Macbook running 10.6.8
Option 3 (restore system, boot, recovery seems to work well on a Mac, but,
NOTE that these files are from v5.5.893! If you select option 3 you had better have flashed or updated to that version perviously, or, it will most likely bootloop when it finishes.
Note - This does NOT contain the actual files needed for flashing,
just the brains to flash them. You will need to download the zipfile
VRZ_XT875_5.5.893.XT875.Verizon.en.US_CFC_01.xml.zip from
http://rootzwiki.com...893-fxz-leaked/
then unzip it into the BionicRestorer directory.
Once it is extracted there should be a directory named:
VRZ_XT875_5.5.893.XT875.Verizon.en.US_CFC_01.xml
which contains all the files needed to do a flash restore.
And the menu looks like this:
BionicRestorer.sh (1.0) by crpeck
1. Restore a Bionic to 5.5.893 - NOT FOR 5.9.901 BIONICS!
-restores EVERYTHING to official 5.5.893
-wipes data
2. Restore a 5.9.901 Bionic to 5.5.893
-restores EVERYTHING EXCEPT for the cdt.bin to 5.5.893
-cdt.bin is restored using the 5.9.901 file
-wipes data
** YOU SHOULD ONLY USE THIS IF YOU ARE OR HAVE BEEN ON 5.9.901 **
3. Minimal Restore of system, boot, and recovery only
-restores ONLY the system,boot and recovery to official 5.5.893,
4. Root and ForeverRoot a non-rooted Bionic
-roots and installs the ForeverRoot hack
5. Copy 5.9.901 update file to sdcard
-this copies the unoffical 5.9.901 update file to your sdcard
chances are, your Bionic will bug you to do an update when it see's it
there, you can usually force it via the 'Check for Updates' screen.
6. Verify MD5sums of the flash image files (you should do this at least once)
7. Help - More detailed Information
q. Quit
NOTE: Selections 1-3 do NOT root the phone! Run 4 after running them.
By Your Command (1-7,q):
I took the .xml file from the VRZ_XT875_5.5.893.XT875.Verizon.en.US_CFC_01.xml.zip and re-wrote it into shell scripts (i also took out the piece in there that erases the internal sdcard - who wants to lose that - lol). There is a considerably amount of error-checking as well, but, I'm sure I missed something (which will result in v 1.1).
I encourage you to look through the scripts, feel free to modify and make it better! This may be the last release of this from me, as work is replacing my Bionic with a gnex in the near future - gonna miss the Bionic, it's been a fun learning tool.
Enjoy....
Oh - look at the 00_README_1ST.txt file - it's similar to this writeup, and, select the help option for more detailed information.
I've have to give this a try. I keep forgetting I have Ubuntu(dual-boot) on this thing. Heh
i'm running SafeStrap 3.11 and wiped my safe partition in a late night flashing frenzy. is it possible to flash certain partition images to restore the stock ROM without loosing SafeStrap?
mechanizedmedic said:
i'm running SafeStrap 3.11 and wiped my safe partition in a late night flashing frenzy. is it possible to flash certain partition images to restore the stock ROM without loosing SafeStrap?
Click to expand...
Click to collapse
Flash system.IMG
fastboot flash system /path/to/system.img
fastboot flash boot path/to/boot.img
Any other partition you might want to flash flashing recovery partition will erase safe strap might lose safestrP after flashing system you will lose root regardless
how to gain s-off on windows xp????
Download a Linux startup disk....
Sent from my Vivid 4G using Tapatalk
jerryj3000 said:
how to gain s-off on windows xp????
Click to expand...
Click to collapse
The process is not the easiest - but it can be with your patience and full attention. When I had my HTC Raider (Canadian version of the Vivid), I had collected all the info needed to get my phone rooted/bootloader/s-off/recovery from right out of the box. I will paste it all below. I think that when it mentions things like the RUU/Stock, you should use an appropriate one for your phone model. Not that the instructions below start with a ICS stock RUU!
I think the forums for this phone have quieted down a bit, so links may be dead now. That said, contact me if you need any of the files mentioned. I probably have them all archived.
As for S-Off procedure, I remember when following all of the threads that it was very important to read and follow every instruction exactly. I had missed a small step and I could not get it done. Eventually I caught my mistake, tried again, and got S-Off with no problems. I had done it on WinXP (or Win7 maybe).
If any of the instructions below contain errors, please let me know and I will update! I am not responsible for anything bad happening to the device... this is simply a collection of all of the great posts on this forum.
*** I understand that juopunutbear/unlimited.io team do not support the Windows versions of their tools any more (specifically I'm referring to ControlBear that I used to successfully S-OFF my phone.). They mention on their site to only use the latest tool (linux only), and have asked people to NOT bundle their old Windows-based software. Back then, the Windows version of ControlBear for ICS worked great for me (and I'm sure many others) in WindowsXP (or 7). I obviously won't attach or post links to it here, but I'm pretty sure I do have it archived, so contact me if you need it (and this obviously goes with the understanding that myself or them are not responsible for what you decide to do with it)
SECTION 1: STARTING FRESH WITH STOCK ICS RUU - note that RUU's will refuse to flash if you have already unlocked your bootloader. They will require you to re-lock your bootloader to flash.
To start, install the stock Bell ICS RUU (or even the Rogers ICS RUU is OK)
(RUU_HOLIDAY_ICS_35_S_BM_3.38.666.2_Radio_3.04.4740.11_34.29.701040.22_release_255916_signed)
**You should use this opportunity to make sure you have the appropriate drivers installed on your computer so it can communicate with your phone via Fastboot, ADB, etc.!
Filename I used for drivers: HTCDriver3.0.0.007.exe
SECTION 2: UNLOCK THE BOOTLOADER
Next, unlock your bootloader.
-Sign up at htcdev.com
-Log in (make sure youre logged in!)
-Click Unlock bootloader
-Follow Instructions
Quick version of instructions:
1) Get phone into Fastboot mode
2) Run "fastboot oem get_identifier_token" in command line
3) Paste the token text into the htcdev page
4) you get emailed Unlock_code.bin from htcdev and link to next steps. Download that .bin file.
5) Run "fastboot flash unlocktoken Unlock_code.bin"
6) use volup/down on phone to choose yes and hit power to accept
7) Phone will data/cache wipe and start fresh
SECTION 3: S-OFF!
Now, do you want to S-OFF? It's painful but follow this word for word and it should work ok! It makes flashing roms and kernels a lot easier (no restrictions or workarounds needed). If you don't want to S-OFF, you can still do stuff like flash ROMS. You would just need to flash the kernel (that is appropriate for that rom) separately.
Note that S-OFF stays (i.e. if you install a stock RUU rom to your phone, it won't turn S-ON), so you only have to do this procedure once! But remember, if you have unlocked your bootloader, I beleive that RUU's will refuse to flash until you re-lock the bootloader.
1) Since your bootloader is unlocked, you are almost ready to S-OFF
2) Download the WCXJB ROOT PACK zip to your hard drive and UNZIP it (to, say, C:\temp\SOFF)
3) On your phone, make sure in your settings, USB Debugging is ENABLED in development
4) Turn off your phone, pull battery, put battery back.
5) Turn it back on by holding VOLUMEDOWN + POWER
6) Use the volume rocker and power button to select fastboot
7) Connect your phone to your PC
8) Open a command prompt window.
C:
cd \temp\SOFF
fastboot flash recovery wcxrecovery.img
9) Now you can reboot your phone
10) Download and put Vivid_CWM_Root_VER2 zip file on root of internal sdcard (aka NOT in any folders)
11) Boot into H-Boot like you did before (turn off phone, turn back on holding power + vol down), and use the volume rockers to go to "recovery" and press the power button to select it
12) Select "install zip from sdcard"
13) Select the VIVID_CWM_ROOT_VER2.zip to flash it. Then select "reboot"
14) You are now perma-rooted in preparation of the S-OFF procedure.
15) Turn off phone. Remove the SIM Card, the MicroSD card and the battery.
*-You will need a spare, formatted MicroSD card inserted. Do not use your regular MicroSD card because it will become corrupted/wiped during the S-OFF process!
*-Make sure your battery is fully charged!
*-You will also need a short length of insulated wire, so you can connect the 2 points during the S-OFF procedure.
*-Beside the MicroSD slot, is a small screw holding in a square panel.
The screw is covered by a VOID sticker. Removing this will void your warranty!
Put the screw and square panel somewhere safe.
Look at the JPG - it can be seen here: ( http://unlimited.io/images/wt_holiday.jpg )
The point indicated is what you need to ground (to the GND) point
You will of course do this with your short length of insulated wire!
Be sure the exposed part of the wire isnt so thick that it will touch other points!
The point is kind of small! The ground point is pretty big and easy to hit.
16) Put battery back in, and the SPARE MICROSD - not your usual MicroSD. Keep that safe.
17) Boot phone normally. Make sure (again) USB debugging is enabled in Developer options of the Settings!
18) *** I understand that juopunutbear/unlimited.io team do not support the Windows versions of their tools any more. They mention on their site to only use the latest tool (linux only), and have asked people to NOT bundle their old software. So for this step, all I can say is that back then, the Windows version of ControlBear for ICS worked great for me (and I'm sure many others) in WindowsXP (or 7). I obviously won't attach or post links to it here, but I'm pretty sure I do have it archived, so contact me if you need it (and this obviously goes with the understanding that myself or them are not responsible for what you decide to do with it)
19) Unzip the CONTROLBEAR zip to an easy to access path (like C:\temp\SOFF2)
20) Run controlbear as admin(windows) or root or using sudo on linux
Now get your insulated wire and get ready! Only connect the 2 points when instructed.
You will have to watch and wait for it to tell you.
Do not press any of the buttons on the phone during the process.
When you are instructed to do the wire trick, briefly connect
the point and the GND point using the wire, then wait approximately 1.75
seconds and then again connect the 2 contacts together.
Allow the program to continue.
Note: it may take several attempts of running the program in order to obtain the correct timing for the wire trick.
After doing the “wire-trick” your phone will reboot.
If you see the following message from ControlBear after doing the wire trick:
ErrorMsg: Still sober.
This means that you have been unsuccessful in implementing the wire-trick. Run ControlBear again.
The usual cause for this is that you failed to perform 2 clean contacts
or mis-timed the wire trick (or you didnt flash the perm root before
starting - but that was indicated above, so you must have done that.)
Your phone will reboot several times during the process, this is normal. ControlBear will tell you when it has finished whether successfully or not.
Once your phone is rebooted and back to normal, you can shut it off, pull the battery, put the square panel and screw back, and put your regular MicroSD back (as well as your SIM card).
SECTION 4: FLASHING CLOCKWORKMOD RECOVERY
(Optional but recommended! It's a great Recovery
Note that if you want to install WCX's rom, you will need to have WCX's recovery to flash it!
So don't use Clockworkmod at all if you plan on flashing WCX's roms.)
1) Put your phone into bootloader mode by turning it on with VOLDOWN+POWER.
(You will have to pull the battery to make sure the phone is fully off before doing this)
2) In the bootloader use the volume buttons to choose Fastboot
and hit POWER to select it.
3) Download Clockworkmod recovery (filename: CWM-beta2.img) and put it in an easy path
(like C:\temp\cwmrecovery)
4) Copy the adb and fastboot package to this same folder (c:\temp\cwmrecovery)
5) Go to command prompt and:
C:
cd\temp\cwmrecovery
fastboot flash recovery CWM-beta2.img
6) Clockworkmod recovery will be flashed. You can get to it by booting your phone into
bootloader mode, then choosing Recovery
SECTION 5: INSTALLING CUSTOM ROMS
If you S-OFF'd successfully, custom roms will install fully via CWM recovery (kernel and everything) so you will not have to flash the kernel separately.
If you don't want to S-OFF (or were unsuccessful with S-OFF and simply can't do it), it is important to understand that when you install a custom rom, the kernel for that rom (or whatever compatible kernel) needs to be flashed separately before or after the rom is flashed!! This will be addressed in the steps below.
1) Download the ROM you want (any ICS-based custom rom) and copy its .ZIP file to your MicroSD card
2) Get into Recovery mode (by booting phone into bootloader mode and choosing Recovery)
3) MAKE A NANDROID BACKUP OF YOUR CURRENT ROM - VERY IMPORTANT.
Just use the volume keys to go to Backup and choose it by hitting POWER.
This will help you get back to normal if the rom you install doesnt work
or if you just dont like the rom you have installed.
Make sure your MicroSD card has lots of space
The backup takes under 1 gig but you'll want more space for more backups/roms later.
Side note -- To restore your backup, go into recovery, do your 4 wipes (data/cache/dalvik/system) and
then choose backup/restore, choose restore and choose whichever backup you made from the
list. It will be date/timestamped.
***Note - if you did not S-OFF your phone, im not sure if Restore will flash your old/appropriate Kernel. You may have to flash that backups kernel (boot.img) after you do the restore (testing required - will this be necessary for S-ON phones?) If this is needed, general kernel flashing instructions are below starting at Step 10. Just make sure you are flashing your appropriate boot.img from your backup folder!
4) Now that the backup is done: In Clockworkmod recovery, go back to the main menu.
5) WIPES - Now we should do the 4 wipes. Choose Wipe Data, Wipe Cache, then go into Advanced, and choose Wipe Dalvik cache, then go into Mounts and Storage and choose Format /system.
6) Now from the main menu of clockworkmod, you can choose "install .zip from sdcard"
7) Choose the zip of the rom you wish to install (remember you copied it to your MicroSD card in step 1 so it should be listed.). When the install is finished, it may offer to reboot your phone. S-OFF users can go ahead. If you didn't S-OFF, you should probably pull the battery after choosing reboot.
8) IF YOU ARE S-OFF, YOU ARE DONE - IF YOU DIDNT S-OFF YOUR PHONE, YOU MUST CONTINUE SO YOU CAN FLASH THE APPROPRIATE KERNEL FOR THE ROM!
9) Get phone into bootloader mode by holding VOLDOWN+POWER. Choose FASTBOOT.
10) On your PC, open the ZIP that has the ROM you just installed. In the zip
will be a file called "boot.img".
***NOTE that some roms have multiple kernels to offer during the install process.
***Try to identify which boot.img is which kernel.
***If it doesn't matter to you, you should be able to pick any of them, as they were all packaged with the ROM because they are compatible with the ROM.
11) Copy the boot.img to an easy path (like C:\temp\whateverromkernel)
Copy your ADB/Fastboot package to that folder as well so you can run everything from there.
12) In command prompt:
C:
CD\temp\whateverromkernel
fastboot flash boot boot.img
13) The kernel will be flashed. Once it's done, you can restart the phone, and boot into the ROM!
**NOTE** if you're ever having trouble (whether s-on or s-off) flashing kernels (i.e. its saying its not allowed or something), your phone may have to experience the flashing of an 'insecure' kernel. kozmikkick's "stockish" kernel is an insecure boot.img that, once flashed, will allow you to flash whatever kernel's you want (you only have to flash the insecure boot.img once and then you'll be good)
From where can I download all the files required from this thread?
Thanks a lot!
desipan said:
From where can I download all the files required from this thread?
Thanks a lot!
Click to expand...
Click to collapse
Stock ICS RUU - should be easy enough to find one that is appropriate for your phone.
HTC Drivers - easy enough - search the forum or google
ADB and Fastboot exe's/files - also easy to find
wcxjb root - go to the superguide thread
Vivid_CWM_Root_ver2 - also in the superguide thread
Controlbear ICS zip for windows - discontinued - may be hard to find. google it and search a lot. If you cant find it, send me a PM, i may have it still
CWM-beta2.img - is here http://forum.xda-developers.com/showthread.php?t=1812452&highlight=cwm-beta2
Stockish kernel by kozmikkick - google him - its available on his dev-host page (youll want the "holiday" variant of the kernel)
LaZiODROID said:
Stock ICS RUU - should be easy enough to find one that is appropriate for your phone.
HTC Drivers - easy enough - search the forum or google
ADB and Fastboot exe's/files - also easy to find
wcxjb root - go to the superguide thread
Vivid_CWM_Root_ver2 - also in the superguide thread
Controlbear ICS zip for windows - discontinued - may be hard to find. google it and search a lot. If you cant find it, send me a PM, i may have it still
CWM-beta2.img - is here http://forum.xda-developers.com/showthread.php?t=1812452&highlight=cwm-beta2
Stockish kernel by kozmikkick - google him - its available on his dev-host page (youll want the "holiday" variant of the kernel)
Click to expand...
Click to collapse
Do you still have controlbear for vivid?
chindtown said:
Do you still have controlbear for vivid?
Click to expand...
Click to collapse
Yeah I found it. PM me your email or something and I will send.
same here, I have it for Win7 64-bit
Procedure For Flashing/recovering your Garlic using QFIL/QPST Tool
REQUIREMENTS :
-A working PC.
-Qualcomm Drivers.
-QFIL Tools (I'd prefer and recommend ver2.0.05 as it is much more efficient than the newer ones) *Required .Net Framework 4.5 or higher
-ADB Drivers (just in case if your phone ain't bricked and you don't know how to boot into edl mode)
-N/M Full Firmware files (No the N-Firmware or M-firmware files provided by me).
-Back up your internal storage as this would wipe the internal (I prefer it this way)
-If you are using the QFIL 2.0.05, then you should install the tool.
-Extract the Firmware file and copy it to <directory where you installed qfil>/Qualcomm/bin/ this is to avoid sahara failed error.
-In simple words, keep the extracted firmware files inside the QFIL's folder.
-Connect your phone to PC and type in adb reboot edl in adb terminal to boot into EDL mode, or reboot edl in terminal emulator.
-If you have installed all drivers properly, your phone should be listed under Ports in Device Manager as Qualcomm Diganostic Device xx9008 (note this number, this is important) if your are getting 900E or 9003 (in case of bricked phone) you need to make it boot into 9008 mode using Deep Flash Cable (Guides to this will be provided soon, or you could just refer Google).
PROCEDURE :
-Open QFIL Tool.
-Once the phone is connected in EDL mode, it will show up under the ports (automatically selected, still if for any reason, open up and select port)
-Select Flat Build.
-Select the Programmer Path. It will open up the file browse window, go to the location where you have extracted the firmware and select Programmer_emmec_firehorse file.
-Select Patch File and select raw_unspare.xml file.
Now select Patch.xml.
-Click Download Button and flashing process will begin. Wait till it finishes and hold down your power button to boot your phone.
DOWNLOADS :
- Stock N Qfil
- Stock M Qfil
CREDITS : Athul
pritish1998 said:
- Stock N Qfil
- Stock M Qfil
CREDITS : Athul
Click to expand...
Click to collapse
Can you reupload Stock N Qfil?
Rose in YU YUREK∆ BL∆CK - TINNO p7201 | OFFICIAL
Tap here to view all notes in this chat.
t.me
user74354 said:
Can you reupload Stock N Qfil?
Click to expand...
Click to collapse