yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] smart2smart:
Very Good guide

Hey man,

Very good and detailed info... would be helpful to lots of people. Couple of points. I used superoneclick, worked great, may be simpler than copying the z4root and running locally.

Second, you could simplify the installation of the SDK bit. Instead of adding the paths which looks complicated due to the large amounts of text of the existing path, it would make more sense to just open a command prompt and navigate to the required path. Its just two steps

cd\

cd android-sdk-windows\tools

Personally have gone upto the custom recovery and backup, haven't tried any of the ROMs, do you feel any battery improvements ? I did all this to get rid of that horrible bollywood app :)

Cheers,

Vikram.
[Optimus One, P500 Android Development] victortangocharlie:
Thank you for your input.

I have included the mention of SuperOneClick as an alternate way of rooting the phone in the post.

About the complicated SDK install procedure - I feel that taking the trouble once to alter the path in the System variables box is better and in a way less complicated than going to adb.exe's directory and typing 'adb shell' every time you want to run the remote shell. Moreover, the location of the tools folder may not necessarily the same on all computers.For example: adb.exe exits on my computer in C:\android-sdk\platform-tools

Regards

VTC
[Optimus One, P500 Android Development] IamIrene:
Help all,

last saturday i was downgrade my phone from v10f to v10c so i can flash custom rom

but,when i using v10c,it keep shows force close something

so force me to turn off phone and turn on with following method(hold home button + volume down + power switch until mini android robot come out)

after that,my phone was seems like return to 1st time i use my phone,set everything

so,may i know is it I download wrong country code ?

Im Malaysia,and I know need to download Singapore version

and already follow its instruction >> http://xdaforums.com/showthread.php?t=865479

but the link for country code is broken

anyone can help ?
[Optimus One, P500 Android Development] victortangocharlie:
Have you rooted your phone and installed custom recovery?

If not, pressing and holding HOME+VOL DOWN+POWER will factory reset your phone.

For obtaining firmware - Did you try the 2nd method suggested in the quoted thread? (ie: using your IMEI or ESN number)
[Optimus One, P500 Android Development] IamIrene:
nope,my friends teach me all the way how to root

coz he rooted before ~
[Optimus One, P500 Android Development] victortangocharlie:
Please read the first post thoroughly to get the required information.

Try to be more clear with your questions. please do a search before you post on a thread and pay due attention to the first post.
[Optimus One, P500 Android Development] zanywood:
I'm getting "read only" responses on TE when trying to install recovery! Downloaded images and recovery to SD card.
[Optimus One, P500 Android Development] victortangocharlie:
Have you entered the commands from the root shell '#' or the user shell '$' ?

Make sure that you enter the root shell before entering the commands to install recovery and enter the commands with their proper spacing.
[Optimus One, P500 Android Development] aswinrulez:
Need help :(

I tried flashing to Cyanogenmod 7 in my P500.i did everything the way it is written in guide.I forated my sdcard and copied the zip file to it.

After installing from sdcard custom recovery showed 'Installing from sdcard complete'.Then nothing happened and so i went back and rebooted my system and now it is stuck at android logo.It is blinking now and then

.It has been one hour.What should i do now?
[Optimus One, P500 Android Development] zanywood:
Yeah I got root and entered such command and had #
[Optimus One, P500 Android Development] zanywood:
Spacing might be the issue. I just switched from sprint HTC hero and need my flash addiction back
[Optimus One, P500 Android Development] victortangocharlie:
Boot into Custom Recovery by the pressing & holding Home+VolDown+Power buttons after switching off your phone and flash the zip again after wiping everything once again.
[Optimus One, P500 Android Development] victortangocharlie:
Please let me know when it works out ok.
[Optimus One, P500 Android Development] zanywood:
Will do. And thanks for responding. I've had bad luck with people responding on this forum. Good to no someone out there to help.
[Optimus One, P500 Android Development] aswinrulez:
Should i wipe all data or just cache.And should i wipe all data or cache afer installation is complete?nd how long it will take to boot the first time?
[Optimus One, P500 Android Development] victortangocharlie:
Wipe cache and dalvik cache before flashing zip file and wipe only cache after installation is complete. It usually takes about 5 minutes for the device to boot up fully after initial installation. This of what I usually do when switching between rom's with same android version.

Since you have just formatted your card and probably won't have any important data on the card, the best solution would be for you to wipe everything again before flashing zip file.
[Optimus One, P500 Android Development] aswinrulez:
Finally it worked.Gues it was problem with cyanogenmod because when i tried void it worked properly.I tried cyanogen again many times.Always failed.
[Optimus One, P500 Android Development] rajathvsm:
Thanks a lot... A very well written guide indeed!

Just got an Optimus today and I've already downgraded it, rooted it, took a nandroid backup and now installing mik_os's CM7 2.3.3!

Had some great time modding my HTC Tornado, which unfortunately got lost a fortnight ago. Hope the fun in modding continues with Android and Optimus! :)
[Optimus One, P500 Android Development] me2kimi:
Hi all. Thank. Just now I've just downgrde and root my phone. Thanks again.
[Optimus One, P500 Android Development] sadun91:
Actually, how to make the apps installed before will be exist in the new rom we flash?

is it using titanium backup?
[Optimus One, P500 Android Development] victortangocharlie:
You can restore the apps you had earlier to the newly installed rom using titanium backup.
[Optimus One, P500 Android Development] sadun91:
But, when we flash a new rom, we will make a new partition right? so, dont all data will be delete?
[Optimus One, P500 Android Development] Xumit:
This thread is amazingly useful. I flashed my phone using all the procedure in first thread without need of looking anywhere else.

Thanks, bud!
[Optimus One, P500 Android Development] victortangocharlie:
Save the backup created using titanium backup onto your pc before formatting or partitioning the card. Then use the backup to restore apps.the restore will work irrespective of the type of partition used in the previous rom. The restored apps will be automatically moved to your new ext Partition if your have apps2sd installed on your new rom .
[Optimus One, P500 Android Development] eigokyoukan:
Titanium backup also saves the data from apps, so you don't lose your angry birds progress, and other program settings :)
[Optimus One, P500 Android Development] sadun91:
Thank you for the explanation.but. don't it will be pain to restore 1 by 1 all the apps?
[Optimus One, P500 Android Development] eigokyoukan:
Not so much. TB supports batch processing.

On the page where you would select which apps to save, press the menu button. Go to batch, and you will see a list of operations. I normally select just "back up all apps" and it takes care of data as well. After that just press the batch button that is there now and let it go.

When restoring from a fresh wipe and rom flash, just go back to the batch menu and select restore after installing TB and coping your backup.

The only thing to do after starting the restore batch is to confirm each app re-install. Android has to re-establish all those permissions again.
[Optimus One, P500 Android Development] sadun91:
Thanks,I really don't know about that function.you clarify me,thanks a lot.
[Optimus One, P500 Android Development] victortangocharlie:
To those pm' ing me to add the new root method (gingerbreak) in the post, I have already done that a few days back. Please read the post carefully.
[Optimus One, P500 Android Development] divyanshu308:
hi.

i was able to get into recovery mode.

started taking NAND+ ext backup + .android_secure

its started but after a while it showed an error

Run 'nandroid-mobile.sh' via adb!

what does this means?

what should i do??
[Optimus One, P500 Android Development] victortangocharlie:
Ensure that you have enough space on your sd card for the backup to be created. Also,make sure that your phone has more than 50% charge left.
[Optimus One, P500 Android Development] ot3pch4n:
Partition Requirements

Just a noob question about partition requirements. I'm currently using void echo & used the partition instruction on the first post. If I want to use CM7, do I need to create a partition again or my current partition is just okay? Partition requirements isn't indicated on the the CM7 page.

Thanks in advance.
[Optimus One, P500 Android Development] victortangocharlie:
Cm7 doesn't use app2sd by default. If you install some form of app2sd or data2sd on top of the base cm7, you can use your present ext partition along with cm7.
[Optimus One, P500 Android Development] ot3pch4n:
Thanks

Thanks a lot!
[Optimus One, P500 Android Development] Adren022:
I have a noob question, if i flash some 3 rom's in a day or two one after the other, to see which is better.......is it going to damage the phone or SDcard or battery ?

or if flashing is done safely nothing will happen to phone ?
[Optimus One, P500 Android Development] victortangocharlie:
Theoretically, fast discharge and recharge of the battery trends to decrease battery life. Likewise, repeated read-write actions tend to decrease sd card life. This is the minor risk and sacrifice you have to accept when you attempt flashing rom's frequently. even if the flashing process goes wrong in some manner, you can easily revert your phone back to a trouble free state using the nandroid backups created beforehand.
[Optimus One, P500 Android Development] divyanshu308:
hi i have a question i made custom recovery using using v1.1.

but nw i read a few posts that 1.2 is better as it supports full recovery not even the newer one supports it.

so i downloaded it but i could only found the recovery zip file no flash image.

should i use the same flash image as that of 1.1??

using the same commands in the android terminal??

i hope it wouldnt effect.
[Optimus One, P500 Android Development] nikalai:
You can use the same commands & flash image. When you type flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img you most use the the name of the new recovery file.
[Optimus One, P500 Android Development] victortangocharlie:
Please read the post again. I have made certain changes that will lay your doubts to rest.

Also, I have sent you a PM.please read and reply
[Optimus One, P500 Android Development] Adren022:
im using recovery-RA-GNM-thunderg-1.1.0

i am unable to wipe the SDcard or cache or dalvik cache

i don't get any error..it says the operation finished successfully but still file are found on the sd card nothing has been wiped

one more thing i have 2GB Sd card that came free with phone

when i set swap size 32MB, ext 2 512 MB ...i see SD card size as 1.33GB on the phone and the computer whats stored in the 512MB ? because if its not getting wiped

through recovery putting a new ROM is a little risky i think :confused:
[Optimus One, P500 Android Development] victortangocharlie:
If you have a nandroid backup created, why don't you try to repartition your sd card from recovery and then restore the backup.

Afterwards, you could try the wipe option once again and see whether it works.

Meanwhile,i suggest that you use v1.2 of the recovery.
[Optimus One, P500 Android Development] nikhil4186:
Thank you for the guide.

I successfully Flashed android version 2.2.2 v10E

I was unable to do so with the LG PC Suite
[Optimus One, P500 Android Development] Adren022:
i did try to wipe the Sdcard partition thrice all times it said the wipe was successful but all files remained :( so using my PC i formatted the whole SDcard

i re-partitioned the sdcard and installed CM 7.1.0 with beta 6.4...it comes with a built it clockworkmod ROM manager if it works properly then i shouldn't have any of these problems i hope :)

EDIT: i installed the thunderg 1.2.1 recovery my sdcard still doesn't get wiped even on this recovery after wiping sdcard ext and all user data i still all files intact on my SDcard :confused: :(
[Optimus One, P500 Android Development] victortangocharlie:
wiping the sdcard ext will do nothing to the fat32 partition on your sd card. so, naturally your files on the fat32 partition will remain on the card.

After creating an ext partition on the card, only the fat32 partition is visible by default when you view thru your windows pc's explorer. to see the ext partition, you have to use specialised software like explore2fs etc.
[Optimus One, P500 Android Development] UnleashedPT:
Amazing guide, kudos to the writer!

I just have one suggestion, in the end of the KDZ_FW_UPD part when you describe what actually happens and the chances of the phone getting stuck on the Android logo at first boot, you should add the procedure for the Hard Reset (VOL-/HOME/POWER) as it seems to solve this problem most times (it did for me).
[Optimus One, P500 Android Development] runjhun:
try formatting using panasonc sd formatter http://panasonic.jp/support/global/cs/sd/download/index.html use beta 3 and then create the partition.

backup ur appl and keep it safe in ur pc
[Optimus One, P500 Android Development] victortangocharlie:
Thank you for the suggestion and for your compliments. I have incorporated your suggestion into the post.
[Optimus One, P500 Android Development] victortangocharlie:
Moved here from first post due to lack of space on first post.​

The features available in the recovery are:

Illustrative picture of Custom Recovery P500/Thunderg v1.1

USB-MS Toggle: mounts sdcard as mass storage

Backup/Restore:

Nand Backup: runs a nandroid backup of data, cache, boot, system

Nand Backup + .android secure: backs up above plus .android_secure on sdcard (froyo native apps on sd)

Nand + ext backup: data, cache, system, boot, plus apps2sd on ext partition (old style apps2sd)

Nand Restore: browse to and select nandroid backup to restore

Flash Zip from Sdcard: (the file to be flashed must be in root of SD card) 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.

Wipe Menu:

Wipe data/factory reset: wipes data & cache

Wipe cache

Wipe Dalvik cache : Wipes Dalvik cache in all possible locations if moved by apps2sd

Wipe SD:ext : Wipes Apps2sd ext partition

Wipe Battery Stats

Wipe rotate settings

Wipe .android secure : Wipes froyo native .android_secure on sdcard

Partition Sdcard:

Partition SD: Partition sdcard for apps2sd (this formats card so all non backed-up data is lost)

Repair Sd:ext

SD:ext2 to ext3 : coverts apps2sd ext2 partition to ext3 (requires kernel support for ext3)

SD:ext3 to ext4 : same as above but ext3 to ext4 (requires kernel support for ext4)

Using the above features, 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 try Custom ROMs using the Flash from Zip option.
[Optimus One, P500 Android Development] marioemp2k7:
The scrolling in recovery is one of the issues I don't use AmonRa recovery anymore. It's Clockworkmod all the way. Sure it has it's disadvantages as the backup (all or nothing), it creates only EXT4 when using the partitioning from the menu and for some edify is a pain is the a$$.
[Optimus One, P500 Android Development] victortangocharlie:
Simplified Guide to Root & install Custom Recovery on P500

This is an abridged version of the first post which will enable you to Root your P500 and install version 1.2 of Custom Thunderg Recovery by AmonRa/modified by Drellisdee with a minimum of fuss.

Rooting

Get GingerBreak APK from here. Follow the instructions in the post and install it on your phone and root your phone.

This tool is able to root phones running stock android 2.2, 2.2.1 & 2.2.2. '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.

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.

sh /sdcard/rf.sh

PS: Please do not forget to thank ungaze for his help in making the installation of custom recovery a very simple affair. Use the thanks button in his post to show your appreciation.
[Optimus One, P500 Android Development] victortangocharlie:
When most of the ROM's available for P500 become compatible with ClockworkMod Recovery and when it becomes officially supported by RomManager, I will update the post to make it the default recovery to install.
[Optimus One, P500 Android Development] marioemp2k7:
Well, the compatibility part is an easy task by using Amend2Edify tool. RomManager compatibility should be right around the corner. Mik has asked Koush to add support a couple of months back and it seems things started to kick in. Right now RomManager can use the already installed Clockworkmod recovery in order to flash files. Next step is to be able to download and install the latest recovery compiled version.
[Optimus One, P500 Android Development] ungaze:
I like this version better, since we can already root every O1 of any android(or froyo) versions, the need for KDZ is next to none(except for developers that is). This makes it a whole lot simpler and un-intimidating to first time rooters.

Of-course we still do need to install the LG-drivers to use USB-ms toggle on recovery.
[Optimus One, P500 Android Development] kad_79:
LG Thrive P506

Hey there. Can anyone help. I rooted my phone using gingerbreak and like a wiseazz, loaded a custom recovery image of "recovery-RA-GNM-thunderg-1.2". Although the costom recovery loaded fine, I am stuck with a phone which has only blue and green colors. I loaded one of the custom 2.3 ROMs by Andy and it loaded fine, but still the graphic display is all messed up, only green an blue and some other tinges. When I look at the About phone I see that it says the model number as LG P500 , although mine is LG P506. Any help people :(

My wife will kill me. Its her phone!!
[Optimus One, P500 Android Development] freak69ize:
I followed the Installing SDK intructions to the T but when i type in adb in command promt.. this is what i get..

I installed HTc sync awhile back so i know i have the drivers installed.. I usually google things and dont ask for help much but.. Help!! lol
[Optimus One, P500 Android Development] kad_79:
hey freak69, you should either add the android-tools to your path

or just go to the folder in the cmd window(programfiles/android/tools) and then run adb from there
[Optimus One, P500 Android Development] freak69ize:
That was a quick reply.. ok ill give it a try. I may just have to click your thanks button for that quick reply.. oh hell.. consider it done. :D
[Optimus One, P500 Android Development] freak69ize:
Ok this i where adb is on my computer... C:/programfiles(x86)/Android/android-sdk/platform-tools I added that to my path but still not working

Tried running adb from the exe. and it opened a terminal.. it ran some script and shut off..

Tried opening a command prompt and dragging adb exe into that and it runs through the script and stops here..
[Optimus One, P500 Android Development] kad_79:
What you are getting is correct. Its basically printing out the help options for the adb command. The first thing you need to do is connect your phone through USB and type "adb devices"

Your device should be found. After this go ahead and do whatever the wise people on this forum have suggested for rooting, preferably the gingerbreak methos, which is painless.
[Optimus One, P500 Android Development] freak69ize:
Ok ive tried hooking my fone up to my computer with it on and the hooking it up in fastboot.. no luck

Gonna try installing latest version of HTC sync and uninstall HTC sync so ill have the latest and im pretty sure i already have the latest drivers for my fone but ill check anyway.. if this doesnt work ima giving up for awhile.. lol
[Optimus One, P500 Android Development] kad_79:
What is ur intention here? If it is to run a bunch of commands on the phone, make sure USB debugging is turned on. On the phone its "Applications->Development"
[Optimus One, P500 Android Development] freak69ize:
Yea its turned on..
[Optimus One, P500 Android Development] freak69ize:
Ok i finally figured it out.. had the path all wrong.. i was using / instead of \.. dont i feel like a jackass.. lol thanks for the hep bud.. :D
[Optimus One, P500 Android Development] bindaasathar:
My device is rooted and says permission denied whenever i type in 'su'.
[Optimus One, P500 Android Development] mihir287:
Assuming it's in adb, keep the display on when you type su, I.e make sure that your display isn't locked when typing su in adb. You will see a toast notification asking for superuser permissions, grant it.
[Optimus One, P500 Android Development] bindaasathar:
Using terminal emulator. :( All other root applications work good. Terminal Emulator doesn't ask for any root access and right away says Permission Denied whenever I type "su" without the quotes.
[Optimus One, P500 Android Development] Solomente:
Deleted...
[Optimus One, P500 Android Development] mihir287:
This is unusual! Go to the superuser app and see if you have accidentally denied permission for terminal emulator. The icon to the right of 'terminal emulator ' in the list should be green.
[Optimus One, P500 Android Development] bindaasathar:
I figured it out. It was the issue with slideIT. anyways thanks :)