[Q] please help, trying to flash rom - Optimus One, P500, V General

Hi im trying to flash cyanogen mod to my phone
Im using this tutorial http://forum.xda-developers.com/showthread.php?t=1038338
Anyway im stuck at installing custom recovery. i am stuck here
NOW TYPE IN THE COMMAND PROMT
cd c:\Program Files\Android\android-sdk\platform-tools (by default it should be this only where the sdk is installed)
The problem is under the android sdk folder there is no platform-tools folder. and my sdk is also installed under C:\Program Files (x86)\Android\android-sdk
Screenshot below is what i have in the android sdk folder ( i have 2.2 installed with the sdk manager)
Also is there someone that will be online for a few minutes who can just please help me if i get stuck somewhere else?

su (it will ask for root permission in your phone screen just allow)
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 (you will get an error just proceed)
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/LGp500-recovery-v12.img (note just name the blue marked as the same as your custom recovery name and should end with .img)
reboot recovery
u whant to use this commands?
if so u can type them in a terminal straight tru the phone

ciolnadu said:
su (it will ask for root permission in your phone screen just allow)
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 (you will get an error just proceed)
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/LGp500-recovery-v12.img (note just name the blue marked as the same as your custom recovery name and should end with .img)
reboot recovery
u whant to use this commands?
if so u can type them in a terminal straight tru the phone
Click to expand...
Click to collapse
when i type chmod 755 /system/bin/flash_image it says.. Unable to chmod /: Read-only file system
Sorry i took long.. chrome to phone doesn't want to work so i have to type everything

here u have the original thread
and 2 file
one of them is flash_image.zip that u need on sd and if i remember correctly u also need to extract it

ciolnadu said:
here u have the original thread
and 2 file
one of them is flash_image.zip that u need on sd and if i remember correctly u also need to extract it
Click to expand...
Click to collapse
yes i already did that, but when i say chmod 755 /system/bin/flash_image it says.. Unable to chmod /: Read-only file system
What should i do?

i think somewhere here
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
u also have an error and system didn't mount correctly
so try all again

kobusvdsandt said:
Hi im trying to flash cyanogen mod to my phone
Im using this tutorial http://forum.xda-developers.com/showthread.php?t=1038338
Anyway im stuck at installing custom recovery. i am stuck here
NOW TYPE IN THE COMMAND PROMT
cd c:\Program Files\Android\android-sdk\platform-tools (by default it should be this only where the sdk is installed)
The problem is under the android sdk folder there is no platform-tools folder. and my sdk is also installed under C:\Program Files (x86)\Android\android-sdk
Screenshot below is what i have in the android sdk folder ( i have 2.2 installed with the sdk manager)
Also is there someone that will be online for a few minutes who can just please help me if i get stuck somewhere else?
Click to expand...
Click to collapse
Platform tool will be download from internet during update after first start of application.
Take a look on section above:
INSTALLING ANDROID SDK IN ORDER TO USE ADB
First install JDK and JRE from here http://www.oracle.com/technetwork/ja...ads/index.html (choose your appropriate os)
ANDROID SDK LINK:http://developer.android.com/sdk/index.html (LATEST VERSION r10)
Install ANDROID SDK
Click next
Now it wont show next option to proceed just hit back once and click next again (you will be able to proceed with installation now)
Run android sdk manager(note :Run as Administrator orelse it wont download the packages) it will show various packages available just click cancel.
Click on available packages-android repository-uncheck SDK PLATFORM ANDROID ALL VERSION EXCEPT 2.2(U CAN LATER INSTALL THE VERSION U REQUIRE LATER WHEN U NEED IT)
Click install selected
Click select all and proceed with the installation.(this might take a long time depending on your connectivity)
NOTE:IF YOU DONT RUN AS ADMIN THEN THE INSTALLATION WILL FAIL
Click to expand...
Click to collapse

The_ERROR said:
Platform tool will be download from internet during update after first start of application.
Take a look on section above:
Click to expand...
Click to collapse
thank you, i did not download that. i'll try again using pc

thank you, got recovery working!!
now im busy installing rom, hope it works

The_ERROR said:
Platform tool will be download from internet during update after first start of application.
Take a look on section above:
Click to expand...
Click to collapse
thanks error for pointing him the missing step just came online and saw the issue

kobusvdsandt said:
thank you, got recovery working!!
now im busy installing rom, hope it works
Click to expand...
Click to collapse
glad u got it working

shhbz said:
glad u got it working
Click to expand...
Click to collapse
Thanks fo all the help and support everybody
Starting up now, it's showing the cyanogen mod screen with android riding skateboard , takes a while though, is it supposed to take long?

kobusvdsandt said:
Thanks fo all the help and support everybody
Starting up now, it's showing the cyanogen mod screen with android riding skateboard , takes a while though, is it supposed to take long?
Click to expand...
Click to collapse
For first time yes. It often takes few minutes... (in some special cases it can take about 5 and more minutes)

The_ERROR said:
For first time yes. It often takes few minutes... (in some special cases it can take about 5 and more minutes)
Click to expand...
Click to collapse
ok.. well mine took at least 5 so i did what i saw in forum..
5) Select "Wipe data/factory"
6) Clear cache
7) Apply the rom you downloaded again and reboot
Update, it works!

kobusvdsandt said:
Hi im trying to flash cyanogen mod to my phone
Im using this tutorial http://forum.xda-developers.com/showthread.php?t=1038338
Anyway im stuck at installing custom recovery. i am stuck here
NOW TYPE IN THE COMMAND PROMT
cd c:\Program Files\Android\android-sdk\platform-tools (by default it should be this only where the sdk is installed)
The problem is under the android sdk folder there is no platform-tools folder. and my sdk is also installed under C:\Program Files (x86)\Android\android-sdk
Screenshot below is what i have in the android sdk folder ( i have 2.2 installed with the sdk manager)
Also is there someone that will be online for a few minutes who can just please help me if i get stuck somewhere else?
Click to expand...
Click to collapse
Hey !! i will teach u whole procedure to install... i installed clockword mod and den installed .... r u in fb ??? if u r i can teach u everything 1 by 1....its very easy.... if u r in fb send me pm of ur id and tummorow after 3pm (indian tym) cum online i will teach u

@virusshah1997
He already managed to install custom recovery

just use terminal emulator instead of adb, i just rooted my new p500 running on v10c 2.2.1 using gingerbreak root tool and installed recovery 2.2.1 thunderg. no problems at all.

I m talking of custom rom cm7

virusshah1997 said:
I m talking of custom rom cm7
Click to expand...
Click to collapse
Thank you. But I already have CM7 working now. But thanks anyway for offering to help.

Related

HELP please: Problem setting up custom recovery

Testman08
Junior Member Join Date: Apr 2010
Posts: 1
I am having trouble with installation instructions from Walkthru setups hxxp://forum.xda-developers.com/showthread.php?t=647707. I have installed the rooted img and it shows i'm running 2.1 (original software was unrooted 1.5) but when I attempted to go to step three of custom recovery "Open up a command prompt and go to your tools directory, and execute these commands:" i am having a hard time not getting errors when I attempt to enter these:
adb shell mount -o rw,remount /dev/block/mtdblock3 /system
adb push recovery.img /sdcard
adb push flash_image /system/bin
adb shell chmod 755 /system/bin/flash_image
adb shell flash_image recovery /sdcard/recovery.img
the question I have is how do you go from command prompt to tools directory? what path is it following instructions from above thread? can I use this "all in one script" even though I am already rooted?
firmware 2.1, baseband 2.40.00.01.22, kernel 2.6.29-5898f66b, software 2.19.605.1 and shows test keys. Currently I keep getting force close on maps and navigation apps.
Thanks in advance for any assistance.
Got it resolved......
How did you get it resolved ???????
Im so stuck
Ki1lACrAcK said:
How did you get it resolved ???????
Im so stuck
Click to expand...
Click to collapse
droidfreak said:
have you made it to the tools directory? if you actually go to the tools file on your computer, on the address bar you will see what you need to type.... either (red font)
cd C:\AndroidSDK\tools
that was after I moved the tools folder otherwise it was:
cd C:\AndroidSDK\android-sdk-windows\tools
type one or the other exactly how I have it up top....cd and all....
Click to expand...
Click to collapse
option in bold worked for me
Now if i can figure out how to get the custom rom installed lol
Hmm Im having a similar issue but
I can't seem to get the custom recover working on my eris. I followed the "adb shell mount -o rw,remount /dev/block/mtdblock3 /system
adb push recovery-ra-eris.img /sdcard
adb push flash_image /system/bin
adb shell chmod 755 /system/bin/flash_image
adb shell flash_image recovery /sdcard/recovery-ra-eris.img
4. Close the command prompt and turn off you phone."
to the tee and everything seemed to work.I didnt recieve any error msg on the cmd console but when I boot up holding the Vol+ and power I get and Android under a ! in a triangle and a message that says "E:Can't open /cache/recovery/command then I only get 4 options and none of them are to flash a rom so I always reboot system. I really want to put a rom on here but I have no idea what went wrong. Im sorry if this is a redundant post. I combed a hundred of them and couldnt find anything like this. Thank you for any help in advance.

HOW to reach 2.1 system files from 2.2 ROM

Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
thermoska said:
Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
Click to expand...
Click to collapse
Code:
adb shell
mkdir 21system
mount -o rw /dev/block/mtdblock2 /21system
If you're lucky it will mount your 2.1 system partition as /21system
Most likely it will say "Device or resource busy"... But worth trying anyway.
Cheers
Thanks
I had to think about remount
Going to try now ..
EDIT:
You are absolutelly right : Device or resource busy .
What should I try now ?
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
thermoska said:
Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
Click to expand...
Click to collapse
I did the same thing at least twice. I was able to save it without restoring by replacing my framework-res.apk before it rebooted or froze.
Basically, try to adb into it while it is still at the Sony logo or if you get the blackscreen after the logo.
One weird thing I did notice was that I was able to replace the framework-res.apk file apparently without using 'su'. After I killed it when I was doing adb at/after the logo I tried to 'su' but it gave some error and remained at the '$' prompt. I then did the 'dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk' command and it completed. Rebooted and it worked again.
Think my whole thing was tested second time with a script.
Try making a frameworkfix.cmd file and putting this in it.
@echo off
@echo.
@echo Installing Framework
@echo.
@adb shell su
@adb push framework-res.apk /sdcard/framework-res.apk
@adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
The keep trying to run it while at the Sony logo. Give it a few runs before you give up, I swear it worked for me.
thermoska said:
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
Click to expand...
Click to collapse
Heck just try the following from folder with your original framework.
adb push framework-res.apk /sdcard/framework-res.apk
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
or
adb push framework-res.apk /sdcard/framework-res.apk
adb shell
su
dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
thanks guys , but I do not need commands,
I know them already , I had permissions problem.
Instructions mentioned above did not worked for me
I've got permission denied
anyway thanks
thermoska said:
Thanks
I had to think about remount
Going to try now ..
EDIT:
You are absolutelly right : Device or resource busy .
What should I try now ?
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
Click to expand...
Click to collapse
You can access the 2.1 /system partition through 2.2 with adb.
Use this to unmount 2.2 /system
Code:
su
busybox umount /dev/block/loop1
You can check if all worked well this way:
Code:
busybox ls -1d /system/* | grep xbin
If it gives you anything, it's 2.1 -- if not, try
Code:
busybox umount -l /dev/block/loop1
Now, you should have the old 2.1 /system structure available. Ignore all errors appearing *on the phone* it'll be screwed up, unusable. Until a restart.
Now through adb you can overwrite your 2.1 framework apk with dd
(assuming you already have it on the sdcard, else, well, push it there (adb push framework.apk /mnt/sdcard/ )
Code:
dd if=/mnt/sdcard/framework.apk of=/system/framework/framework.apk
for remount system, just do
Code:
busybox mount -o remount,rw /system
after you have the 2.1 system available.
I installed 2.2 to my nand (almost fully working) at one point this way =3
Or...
You can flash again just using system.bin and everything you had would be there.
;-)
You also will need loader.sin
I did this a couple of times and work for me; I only need to root again
Good luck!
PS: In the firmware folder, you need to leave ONLY this 2 files: System.sin and loader.sin. Backup and delete all other files like amss.sin, cache.sin, etc.
well thank you
This a good idea ..
Unfortunatelly I already reflashed the phone
Hope it will help to somebody in the future
ttxdragon said:
I installed 2.2 to my nand (almost fully working) at one point this way =3
Click to expand...
Click to collapse
Thought that would work, was going to do it with .003, but I guess the recovery tool will do that for us - now we see what Z has been working on - excellent news
Just curios. Any speed improvements when extracting the img files to nand and mount/run it from there ?
Even running from sdcard img files is a perfect backup solution by just copy the img files away from time to time. But of course r/w cycles of the card are increased --> less lifetime.
But otherwise running from images is nice, as you're able to mount them. (diskinternals linux reader but R-only)
Anyone knows a win32 prog to mount the img files r/w ?

[Q] How i can change my x10?

how i can to change the unlock screen stock or change the framework of the gingerbread os?
pato66 said:
how i can to change the unlock screen stock or change the framework of the gingerbread os?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=876226
rendeiro2005 said:
http://forum.xda-developers.com/showthread.php?t=876226
Click to expand...
Click to collapse
thank you, but after running adb shell and change files framework and services.jar my 10 x restarted constantly, what can I do to install it and that not of this problem?, after a recovery, of course.
I WANT DOES THE CHANGE IN ECLAIR 2.1 SE, IS POSSIBLE?
pato66 said:
Thank you, but after running adb shell and change files framework and services.jar my 10 x restarted constantly, what can I do to install it and that not of this problem?, after a recovery, of course.
Click to expand...
Click to collapse
1. rooted phone
2. put those files on the root of sdcard
3. open cmd window
1. adb shell​2. su (check your phone)​3. mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system​4. dd if=/sdcard/services.jar of=/system/framework/services.jar​5. dd if=/sdcard/Contacts.apk of=/system/app/Contacts.apk​6. dd if=/sdcard/Phone.apk of=/system/app/Phone.apk​7. dd if=/sdcard/ADWLauncher.apk of=/system/app/ADWLauncher.apk (if you want to replace adw)​8. dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk (after this your phone should reboot. if not wait at least 5min then reboot yourself)​
hope this way you get it
rendeiro2005 said:
1. rooted phone
2. put those files on the root of sdcard
3. open cmd window
1. adb shell​2. su (check your phone)​3. mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system​4. dd if=/sdcard/services.jar of=/system/framework/services.jar​5. dd if=/sdcard/Contacts.apk of=/system/app/Contacts.apk​6. dd if=/sdcard/Phone.apk of=/system/app/Phone.apk​7. dd if=/sdcard/ADWLauncher.apk of=/system/app/ADWLauncher.apk (if you want to replace adw)​8. dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk (after this your phone should reboot. if not wait at least 5min then reboot yourself)​
hope this way you get it
Click to expand...
Click to collapse
Thank you, I have the same problem, says not found in step 3, but I did with rootexplorer, rest ok, but I have constant reboots, again a recovery.
pato66 said:
Thank you, I have the same problem, says not found in step 3, but I did with rootexplorer, rest ok, but I have constant reboots, again a recovery.
Click to expand...
Click to collapse
that`s odd `couse this is the way
witch rom are you using? if you hava a official one this doesn`t work for now
rendeiro2005 said:
that`s odd `couse this is the way
witch rom are you using? if you hava a official one this doesn`t work for now
Click to expand...
Click to collapse
Ok, sorry for your time, i will wait, thanks.
pato66 said:
Ok, sorry for your time, i will wait, thanks.
Click to expand...
Click to collapse
i see that you have a stock one. well...

[LG P500 Custom Recovery] Guide for real newbies that do not understand most.

Okay, I seriously had enough of people saying is this AmonRa or whatsoever. I Derived both files from here and decided to make those instructions/script easier for you to understand. This recovery covers most basic needs (wipe,backup,restore,flash etc.) , so if you are going to keep complaining about my thread title/contents, I'll be glad to remove this thread and leave you people to figure out how to install custom recovery
WARNING : Only for P500....
Many people tried installing custom recovery, but ended up hard resetting your phone wondering WTF went wrong right? Like you people I ended up resetting 4 times =.=ll so..now I've succeeded, I'm just gonna share how its done!
==============================================================
Files Needed :
recovery-RA-thunderg-2.2.1-GNM.img.zip
flash_image.zip
(Both downloadable from below)
==============================================================
The files preparation process:
1)Download both of them into your pc
2)extract both of them out.
3)Get the contents of both extracted folders and copy into the root of your sd card.
============================================================
The Actual Installation Process
1)Use either adb shell or Terminal Emulator(from the market) to install it
2)Enter the script below.
Code:
1.su
2.mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
3.cat /sdcard/flash_image > /system/bin/flash_image
4.chmod 755 /system/bin/flash_image
5.mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
6.flash_image recovery /sdcard/recovery-RA-thunderg-2.2.1-GNM.img
3)If you have error for step 5. stating /system/etc/install-recovery.sh : file not found, do not panic, just move on to the next step.
4)If you have error for flash_image : 1:")" unexpected, make sure flash_image is a file, not an folder.
============================================================
Testing it Out.
1)If you only had the error for step 5 from all of the above and nothing else. Pray hard and type in : reboot recovery into your adb shell or terminal emulator.
2)If you had errors from steps other from step 5, go look at it again and think. DO NOT TAKE THE RISK!
3)I'm still a newbie coder so this thread may not be good but I derived the files from here but I wanted to make it less confusing for you people so if there is anything missing/wrong/you don't know/you wanna ask, just post a reply!
=============================================================
Basic Key mappings for Custom Recovery:
menu > select
vol+ > up
vol- > down
back > back
Rest can be found here
FOR PEOPLE WHO THINKS THIS IS STOCK RECOVERY, IT IS NOT. IT ALLOWS FLASHING.
Nice Thread .....nut der r many threads same ...rite??? but i liked....i voted u !!1
Thaannkksss.....There are many threads, but most of which give confusing instructions that clearly do not work with idiots like me XP
amosng1 said:
Thaannkksss.....There are many threads, but most of which give confusing instructions that clearly do not work with idiots like me XP
Click to expand...
Click to collapse
rite.....depends upon person whos reading...
virusshah1997 said:
rite.....depends upon person whos reading...
Click to expand...
Click to collapse
True, thats preettty much why it has a unique title
Am running on stock 2.2.2 and rooted using GingerBreak. Whenever I try entering commands on Terminal Emulator it says Access Denied. Help!
bindaasathar said:
Am running on stock 2.2.2 and rooted using GingerBreak. Whenever I try entering commands on Terminal Emulator it says Access Denied. Help!
Click to expand...
Click to collapse
Hmm? Give more specific details. But try and see if you have root. If you have root but still says Access Denied, try typing su first?
amosng1 said:
Hmm? Give more specific details. But try and see if you have root. If you have root but still says Access Denied, try typing su first?
Click to expand...
Click to collapse
it says with I type in su the terminal emulator. My device is perfectly rooted since all other applications which require root access seem to work.
Thanks this is such a good info!
bindaasathar said:
it says with I type in su the terminal emulator. My device is perfectly rooted since all other applications which require root access seem to work.
Click to expand...
Click to collapse
No offense but what is "it says with i type...."
I kinda do not understand.
daniequy said:
Thanks this is such a good info!
Click to expand...
Click to collapse
Thank you.....maybe you could do me a favor and press that thank button
amosng1 said:
No offense but what is "it says with i type...."
I kinda do not understand.
Click to expand...
Click to collapse
If you had Superuser, did you allow terminal emulator to access root functions?
-a thought i have thought-
The sooner you reply, the faster i can get you a answer!
I got the following error in the last step 6:
Code:
# flash_image recovery /sdcard/recovery-RA-thunderg-2.2.1-GNM.img
flash_image recovery /sdcard/recovery-RA-thunderg-2.2.1-GNM.img
mtd: read error at 0x00000000 (Out of memory)
mtd: read error at 0x00020000 (Out of memory)
mtd: read error at 0x00040000 (Out of memory)
I'm going to try to search for this issue but meanwhile if anyone knows what to do about this please let me know. I'll update a link here in case I find the solution.
Edit: This problem is fixed!!
If you get the out of memory error you need to type:
Code:
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
Reference: I got this from this link here in section 3.
amosng1, If you think other people might also experience the same issue then it would be great if you could precede Step 6 with the code above.
This worked perfectly fine for my LGP500 model! I booted into recovery.
ROM: Stock GB 2.3.3.
Kernel: Stock kernel (will update this detail on robooting my phone)
Rooted: Using SuperOneClick method with npeuter
Thanks a lot for your guide matey!
I, have already made a, thread for recovery with terminal emulater
http://forum.xda-developers.com/showthread.php?t=2003080
androidisfuture said:
I, have already made a, thread for recovery with terminal emulater
http://forum.xda-developers.com/showthread.php?t=2003080
Click to expand...
Click to collapse
Okay, I had used the adb shell actually. I've been more comfortable with this. Maybe I'll try out the terminal one sometime too.
Sent from my LG-P500 using xda app-developers app
Sorry, after each command what key i press to work? Or after step, how to work this command?
1.su
2.mount-o remount, rw-t YAFFS2 / dev/block/mtdblock1 / sistema
3.cat / sdcard / flash_image> / system / bin / flash_image
4.chmod 755 / system / bin / flash_image
5.mv / sistema / etc / install-recovery.sh / sistema / etc / install-recovery.sh.bak
6.flash_image recuperação / sdcard/recovery-RA-thunderg-2.2.1-GNM.img
One of the easiest how-to's I have come across
amosng1 said:
Okay, I seriously had enough of people saying is this AmonRa or whatsoever. I Derived both files from here and decided to make those instructions/script easier for you to understand. This recovery covers most basic needs (wipe,backup,restore,flash etc.) , so if you are going to keep complaining about my thread title/contents, I'll be glad to remove this thread and leave you people to figure out how to install custom recovery
WARNING : Only for P500....
Many people tried installing custom recovery, but ended up hard resetting your phone wondering WTF went wrong right? Like you people I ended up resetting 4 times =.=ll so..now I've succeeded, I'm just gonna share how its done!
==============================================================
Files Needed :
recovery-RA-thunderg-2.2.1-GNM.img.zip
flash_image.zip
(Both downloadable from below)
==============================================================
The files preparation process:
1)Download both of them into your pc
2)extract both of them out.
3)Get the contents of both extracted folders and copy into the root of your sd card.
============================================================
The Actual Installation Process
1)Use either adb shell or Terminal Emulator(from the market) to install it
2)Enter the script below.
Code:
1.su
2.mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
3.cat /sdcard/flash_image > /system/bin/flash_image
4.chmod 755 /system/bin/flash_image
5.mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
6.flash_image recovery /sdcard/recovery-RA-thunderg-2.2.1-GNM.img
3)If you have error for step 5. stating /system/etc/install-recovery.sh : file not found, do not panic, just move on to the next step.
4)If you have error for flash_image : 1:")" unexpected, make sure flash_image is a file, not an folder.
============================================================
Testing it Out.
1)If you only had the error for step 5 from all of the above and nothing else. Pray hard and type in : reboot recovery into your adb shell or terminal emulator.
2)If you had errors from steps other from step 5, go look at it again and think. DO NOT TAKE THE RISK!
3)I'm still a newbie coder so this thread may not be good but I derived the files from here but I wanted to make it less confusing for you people so if there is anything missing/wrong/you don't know/you wanna ask, just post a reply!
=============================================================
Basic Key mappings for Custom Recovery:
menu > select
vol+ > up
vol- > down
back > back
Rest can be found here
FOR PEOPLE WHO THINKS THIS IS STOCK RECOVERY, IT IS NOT. IT ALLOWS FLASHING.
Click to expand...
Click to collapse
Worked perfectly had only the step 5 error 'no such file or directory' everything else worked and I was able to boot into the custom recovery no problem. Thanks

I want to install Xrecovery but...

The thing wont recognize my phone and wont show the options to do xrecovery or any of the other options except for Flash...please help im desperate for a rom
You need to root first.
Here: http://forum.xda-developers.com/showthread.php?t=1196421
Then in flashtool click 'ask root permissions' and have your phone unlocked and accept superuser permissions w/the prompt on your phone. Then you're good to go.
*edit- make sure it is the fixed xrec for 2.3.3. I use a Rom w xrec included so I didn't have to install it & I dont remember if that's the one in flashtool now.
Which firmware version are you on?
I have done that already...i am rooted because I have superuser on my phone. Where do I check firmware?
Sent from my X10i using XDA App
zm4 said:
I have done that already...i am rooted because I have superuser on my phone. Where do I check firmware?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
unzip xrecovery file and copy all files manually to the right places using root explorer then check all boxes on permitions.
reboot and try
How do i do that?
zm4 said:
How do i do that?
Click to expand...
Click to collapse
a very old guide written by me HERE
read "2nd mode" but use xrecovery v3 instead the one linked there
will this work for 2.3.3?
zm4 said:
will this work for 2.3.3?
Click to expand...
Click to collapse
these commands still the same you just need to change (eventually) to the right path.
check the zip structure to see that
HTML:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
dd if=/sdcard/busybox of=/system/bin/busybox
dd if=/sdcard/chargemon of=/system/bin/chargemon
dd if=/sdcard/xrecovery.tar of=/system/bin/xrecovery.tar
reboot
chargemon to \system\bin
charger to \system\bin
sh to \system\xbin
xrecovery.tar to \system\xbin
i dont see any busybox file or anything like that...please help i dun think busybox has been installed...
zm4 said:
i dont see any busybox file or anything like that...please help i dun think busybox has been installed...
Click to expand...
Click to collapse
ok...you have a reading problem kiddin´
Crowds said:
these commands still the same you just need to change (eventually) to the right path.
check the zip structure to see that
Click to expand...
Click to collapse
type this:
HTML:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
dd if=/sdcard/chargemon of=/system/bin/chargemon
dd if=/sdcard/charger of=/system/bin/charger
dd if=/sdcard/sh of=/system/xbin/sh
dd if=/sdcard/xrecovery.tar of=/system/xbin/xrecovery.tar
reboot
this should do it
cheers
where do i get this adb thing?
zm4 said:
where do i get this adb thing?
Click to expand...
Click to collapse
forguet it...
copy all files to sdcard then copy/paste to the right places after that use root explorer and do this ON EVERY FILE YOU COPIED:
HTML:
- Press and hold on each file;
- Check all Permitions on the drop down menu;
- After changes were made save and exit;
- Reboot.
try enter on xrec
*Cannot open for read: No such or directory* wth?
where does meta go?
zm4 said:
where does meta go?
Click to expand...
Click to collapse
Anywhere. Just copy the files I told you to. I didn't referred anything about that, did I?
Sent from my X10 Erenz MIUI 1.9.2 using Tapatalk
Just start all over with flashtool it will work then.
Go to settings then applications, then development, check debug mode.
Start flash tool on your pc and connect the phone
IF the phone is rooted, it should be recognized by flash tool
On flash tool click ask root perm, look at your phone screen, superuser should pop up asking if to give permission, simply choose allow.
Then click recovery on flash tool and wait a sec....
should pop up asking which gingerbread version to use. choose 0.3GB, since its gb version you have.
when you're ready to use xrecovery, restart the phone
as soon as the phone comes on and the first sony ericsson name comes up, keep pressing the back button, xrecovery will come up.
i did both kernel things...but the thing is it won't recognize my device as a rooted device...i have superuser and I have used apps that require root...so i guess the problem is well idk...and thats what i need help with sorting out.
1. Install busybox from market (xrec needs busybox)
2. Give root explorer root acces and mount /system writeable (look in settings of your file explorer)
3. Copy files to right place:
chargemon to /system/bin
charger to /system/bin
sh to /system/xbin
xrecovery.tar to /system/xbin
4. Give above files the right permissions (long touch on file and choose property option):
user > read, write, execute
other > read, execute
group > read, execute

Categories

Resources