[RECOVERY] Amon RA_v1.7.0.1 for swift - GT540 Optimus Android Development

I played a little today and did Amon-Ra recovery for our Swift
This enables us
Partition your sd card to swap, ext2, fat32
Backup NAND + ext
Backup BART
Screen
Files update.zip require slightly different syntax for the script updater-script
Files are available http://forum.android.com.pl/f200/
DOWNLOAD
recovery_ra1.7swift.img

what is it swift?

angelsanges said:
what is it swift?
Click to expand...
Click to collapse
codename lg gt540 Optimus

Good job! Thanks man.
Sent from my GT540 using XDA App

How to install?
Is like clockworkmod: rom with fastboot and then fastboot flash recovery recovery_ra1.7swift.img

bluepower said:
How to install?
Is like clockworkmod: rom with fastboot and then fastboot flash recovery recovery_ra1.7swift.img
Click to expand...
Click to collapse
Yes installation by fastboot

Thanks a lot and wonderful job

so is this better than the clockwork recovery?
will this overwrite clockwork recovery if I already have that installed?
and the most important question:
DOES THIS WORK WITH PS3 JAILBREAK? I heard someone did it with this recovery, I want this to happen with the GT540!!!

I had clockwork now i have amon ra, it will overwrite clockwork when you install it

I've been trying to put this info my phone. But I have a problem.
Phone is ruining in fastboot mode, am typing command in cmd am pressing enter, then my PC reboot :/
Does somebody had the same problem?
__________
Written with Tapatalk on GT540

ZduneX25 said:
Phone is ruining in fastboot mode, am typing command in cmd am pressing enter, then my PC reboot :/
__________
Written with Tapatalk on GT540
Click to expand...
Click to collapse
Why you do that?
- Put your phone on fastboot mode
- Link it to the pc and turn on adb command
type:
fastboot flash recovery recovery_ra1.7swift.img
and you're done

I did this... I wrote I did. After ENTER the command my PC doing a reboot by itself, before apply recovery in my phone.
{
"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"
}

Is it working now? If it doesn't, download this: http://www.mediafire.com/?07qod3dg208mb30
Then, put the amon ra file in that folder.
- Put your phone on fastboot mode
- Link it to the pc and turn on adb command
type:
fastboot flash recovery recovery_ra1.7swift.img

you can try this method too (i use it)
1) copy recovery_ra1.7swift.img to sdcard
2) download/install some terminal into your phone.
3) run terminal and write :
Code:
#su
#flash_image recovery /sdcard/recovery_ra1.7swift.img
(or when it's not working:)
flash_image recovery recovery_ra1.7swift.img ;
flash_image recovery "/sdcard/recovery_ra1.7swift.img"
also you can to it in adb shell(connected into PC):
Code:
#su
#adb shell flash_image recovery /sdcard/recovery_ra1.7swift.img
or
Code:
#su
#adb shell
#flash_image recovery /sdcard/recovery_ra1.7swift.img
Hope this helps. (for me, it helped, because my computer freezes when using "fastboot flash" commands. )

Am reinstalling SDK and will check.
@hani93 thanks for this tut, it can be very helpful for me, cos my PC freezes too :/

ZduneX25 said:
Am reinstalling SDK and will check.
@hani93 thanks for this tut, it can be very helpful for me, cos my PC freezes too :/
Click to expand...
Click to collapse
no problem.
it should work.
(i googeld it for 4-5 days :S)
now i'm always using this method

I don't have to use fastboot with you method I guess, am I right??

ZduneX25 said:
I don't have to use fastboot with you method I guess, am I right??
Click to expand...
Click to collapse
that's right
just copy recovery image to sdcard (root dictionary) , install some terminal app( in market "terminal emulator" ) and enter commands...
and after that.. when you enter it . and terminal says "flashing recovery" ..or something, and then ends(with new command line)..
something that:
Code:
#su
#flash_image recovery /sdcard/recovery_ra1.7swift.img
flashing recovery...
#
make reboot and hold on home+power, and recovery comes up.

No way, so don't I need rom with fastboot to get recovery?? I just flashed my phone about 2 days ago with ROM+Fastboot to get recovery via fastboot (I lost some data - all angry birds saves).
And you are saying that I could use your method on my previous ROM without Fastboot, am I right??

ZduneX25 said:
No way, so don't I need rom with fastboot to get recovery?? I just flashed my phone about 2 days ago with ROM+Fastboot to get recovery via fastboot (I lost some data - all angry birds saves).
And you are saying that I could use your method on my previous ROM without Fastboot, am I right??
Click to expand...
Click to collapse
yeah...
i'm not sure. that it works with rom what's without fastboot..
but. for me it worked xD

Related

flash_image: not found

I can't find the flash_image command in my android (i have just installed the lastest HTC_ADP_1.6_DRC83_rooted_base) so i cant install cyanogen 1.4 ... please any workaround or help will be very appreciated
Thanks in advanced
chineseman
You are going to be directed to ask this in the Q&A section.
chineseman said:
I can't find the flash_image command in my android (i have just installed the lastest HTC_ADP_1.6_DRC83_rooted_base) so i cant install cyanogen 1.4 ... please any workaround or help will be very appreciated
Thanks in advanced
chineseman
Click to expand...
Click to collapse
You just type it in terminal.
chineseman said:
I can't find the flash_image command in my android (i have just installed the lastest HTC_ADP_1.6_DRC83_rooted_base) so i cant install cyanogen 1.4 ... please any workaround or help will be very appreciated
Thanks in advanced
chineseman
Click to expand...
Click to collapse
Take it from someone who just spent last evening re-rooting their phone, reinstalling apps etc...I would get familiar with ADB. And fast:
http://forum.xda-developers.com/showthread.php?t=502010
From there, you can pretty much do whatever you need to the phone, and it's a LOT less hassle.
I've got the same problem,
I can't flash via adb shell, because flash_image is not found
using fastboot , i flash recovery img file, which doesn't give me errors
but I still don't get cm's recovery.
I'm stuck at the stock HTC ADP1.6 rom
sleepy_sanchez said:
I've got the same problem,
I can't flash via adb shell, because flash_image is not found
using fastboot , i flash recovery img file, which doesn't give me errors
but I still don't get cm's recovery.
I'm stuck at the stock HTC ADP1.6 rom
Click to expand...
Click to collapse
Did you read this thread?
http://forum.xda-developers.com/showthread.php?t=567943
can't get into recovery mode
B-man007 said:
Did you read this thread?
http://forum.xda-developers.com/showthread.php?t=567943
Click to expand...
Click to collapse
I just did. The problem was solved via fastboot, which I've tried. Itdoesn't give me errors and says writing 'recovery'.... OKAY, but I still don't get cm's recovery mode.
sleepy_sanchez said:
I just did. The problem was solved via fastboot, which I've tried. Itdoesn't give me errors and says writing 'recovery'.... OKAY, but I still don't get cm's recovery mode.
Click to expand...
Click to collapse
does your phone show up when you type
Code:
fastboot devices
?
EDIT: Also, try updating to cyan's latest build from the stock recovery
Alt-L
Alt-W
Alt-S
Make sure you rename cyans update to update.zip
then try updating the recovery from there
if that doesnt work, try
Code:
fastboot erase recovery
and then reflash the recovery
yes, I'm able to see the device in fastboot.
I am able to erase and flash the recovery and get no error, but I can't login to the cm's recovery. Actually for some reason, the first time I try to go to recovery, the phone ignores me and boots directly to android.
. I did try to update from stock recovery, however I get installation aborted error during the update
It turns out flash_image isn't available in htc's stock rom, so I copied it to /system/bin . What happens when I try to flash the recovery img the first time is like this: I get
mtd: erase failure at 0x002e0000 (I/O error)
mtd: erase failure at 0x002e0000 (I/O error)
mtd: skipping write block at 0x002e0000
the second time i get no messages.
if I try flash_image erase recovery, it says
can't find erase partition
Ok, found my answer after googling with some people who had similar problem in an unrelated forum
ah ... i think the problem is that the recovery is replaced with each reboot.
first do:
adb root
adb remount
adb shell
cat /system/etc/install-recovery.sh > /system/etc/install-recovery.sh.disabled
rm /system/etc/install-recovery.sh
cat /system/recovery-from-boot.p > /system/recovery-from-boot.p.disabled
rm /system/recovery-from-boot.p
Flash a recovery-image like before ... I would recommend this one (from cyanogen) - the one I'm using: http://n0rp.chemlab.org/android/cm-recovery-1.4.img
Click to expand...
Click to collapse
after this I was able flash and login to cm's recovery
sleepy_sanchez said:
Ok, found my answer after googling with some people who had similar problem in an unrelated forum
after this I was able flash and login to cm's recovery
Click to expand...
Click to collapse
Thanks for posting that. So the reason the stock recovery was flashed is because you booted on the 1.6 recovery instead of flashing cm right after, correct?
B-man007 said:
Did you read this thread?
http://forum.xda-developers.com/showthread.php?t=567943
Click to expand...
Click to collapse
Yes it did works!! my SPL was very outdated... then after update my SPL i could use fastboot!
@sleepy_sanchez you're my hero tried the whole day to get the cm recovery on my stock ADP1.6... thanks nandroid is back as well as my backup from 4.9.1.1
@ B-man007 yes after I flashed stock adp image, I couldn't flash cm's image immediately(since I had to rename htc's adp1.6 image to sth else and the cm's image to update.zip). my CM 1.2 recovery was overwritten somehow, or disappeared during the many times I tried to get my G1 working(wiping reinstalling htc's image) . and I couldn't flash CM 1.4 recovery neither using fastboot nor adb.
sleepy_sanchez said:
@ B-man007 yes after I flashed stock adp image, I couldn't flash cm's image immediately(since I had to rename htc's adp1.6 image to sth else and the cm's image to update.zip). my CM 1.2 recovery was overwritten somehow, or disappeared during the many times I tried to get my G1 working(wiping reinstalling htc's image) . and I couldn't flash CM 1.4 recovery neither using fastboot nor adb.
Click to expand...
Click to collapse
ahh ic. judging from the instructions you posted, it looks like the HTC recovery image has a script to replace the stock recovery upon each boot
I can't install recovery via fastboot, cos after ENTER this command:
fastboot flash recovery recovery.img my PC freezes.
So I wanted flash it via terminal, take a look at my log:
{
"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"
}
File is placed directly in /sdcard
ZduneX25 said:
I can't install recovery via fastboot, cos after ENTER this command:
fastboot flash recovery recovery.img my PC freezes.
So I wanted flash it via terminal, take a look at my log:
File is placed directly in /sdcard
Click to expand...
Click to collapse
Sorry for bump. I have the exact same problem as you. Anyone know the soloution?
Thanks
Do you have flash_image installed? Is flash_image executable? Is flash_image in your path?
Btw.: This is a G1 thread, not a Desire thread.
from those who display flash_image: not found
this works for me:
mount -o remount,ro -t yaffs2 /dev/block/mtdblock5
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
flash_image recovery /sdcard/nombre del recovery.img
(for me: recovery-RA-sapphire-v1.7.0G.img)
reboot recovery
and its done!

Can't find flash_image (and adb doesn't work on my pc)

My phones recent history: Up until a few weeks ago, I was running the ION remix rom on my g1. While recovery from surgery (read as: hopped up on pain killers), I was awesome and dropped the tmo 1.6 rom on top of it, without wiping first. The phone has been somewhat unstable, lots of problems, etc.
so tonight, I downloaded all the cm 4.999 files, dump them on to the sdcard, reboot to my old jf 1.42 bootloader, and i can't find flash_image anywhere on the phone. i've looked all over the damn thing. so i get adb downloaded, and i can't get that going because all the usb drivers i've tried have always refused to load on this pc (both vista x64 and win 7 x64).
help? i can't find anywhere i can download flash_image at, and adb just isn't an option.
adnans said:
My phones recent history: Up until a few weeks ago, I was running the ION remix rom on my g1. While recovery from surgery (read as: hopped up on pain killers), I was awesome and dropped the tmo 1.6 rom on top of it, without wiping first. The phone has been somewhat unstable, lots of problems, etc.
so tonight, I downloaded all the cm 4.999 files, dump them on to the sdcard, reboot to my old jf 1.25 bootloader, and i can't find flash_image anywhere on the phone. i've looked all over the damn thing. so i get adb downloaded, and i can't get that going because all the usb drivers i've tried have always refused to load on this pc (both vista x64 and win 7 x64).
help? i can't find anywhere i can download flash_image at, and adb just isn't an option.
Click to expand...
Click to collapse
Try using Recovery 1.4 or something like that.
flash_image is part of the recovery.img file that get's flashed. You could search or just use this link to the Amon_RA 1.2.3 Recovery (also in my signature).
Either one will do the job. You can also wipe from the recovery and apply any .zip file as long as it is on the root of your sdcard. It's pretty easy really. Wipe, install, boot. If it works, reboot, nandroid backup (if you use Amon_RA 1.2.3 you can go to terminal and 'switchrom -s ROMNAME') and you only need to do a recovery should anything get messed up again.
Hope that helps.
it's cm 1.4 i'm trying to get installed. i don't have flash_image on my phone and i can't use fastboot to get cm 1.4 installed :/ that's what i'm trying to get help with.
if you want cyans recovery, you can use
su
cd /sdcard
wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img
flash_image recovery /sdcard/cm-recovery-1.4.img
Click to expand...
Click to collapse
in terminal
note about upgrading to cyan: you can get the single flash version to avoid all the problems caused by a bad htc recovery rom flash while updating to 4.1.999
guys, i don't have flash_image. it's not on my phone i've gone through every directory on the phone either through terminal on it or the console in jf 1.42. it's just not there.
umm, flash image is a command
{
"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"
}
so i decide to risk trying adb on my crashy old laptop. it installed and the usb driver is working there, and fastboot devices was listing my phone. fastboot flash recovery cm-recovery-1.4.img (which is on the sdcard) returned "error: cannot load 'cm-recovery-1.4.img'"
i'm about to give up on this thing :/
gridlock32404: here's a transcription from terminal on my phone,
$ su
# flash_image
flash_image: not found
fastboot prob won't work, i suggest a reroot
tried rerooting back to rc29 last night, hardspl is refusing to do it though.
a friend of mine just sent me flash_image from his system/bin, but when i try to mv it to my system/bin, it's complaining about the cross-device link, which i don't recall how to get around atm. and now i'm outta time and have to head to work. guess i'll pick this back up tonight.
hahha o man love all the hijackin
btw to OP
if it says Cm-recovery,img not found or w/e
your not using the right path to the file
put the image in the same folder as the fastboot.exe
B-man007 said:
hahha o man love all the hijackin
btw to OP
if it says Cm-recovery,img not found or w/e
your not using the right path to the file
put the image in the same folder as the fastboot.exe
Click to expand...
Click to collapse
you, sir, i owe a beer. thank you!
i accidently flashed the htc image as well and I no longer have /system/bin/flash_image and my recovery is broken. tried to reflash with fastboot and the recovery is still broken. how can i get flash_image back?
rerooting is the only way. flash rc29 and reroot
go to bootloader and load dreamimg.nbh again, start her up, do the old login deal and download telnet from market, put cm-recovery-1.4.img on your sdcard, reboot phone normally when home starts without doing anything else hit enter enter (type) telnetd (press) enter, don't worry about what it does, open up telnet, connect to local host, type:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery cm-recovery-1.4.img
cat cm-recovery-1.4.img > /system/recovery.img
then reboot, then put on the new SPL, make sure your Radio is good, if not update that and then flash cyans new rom.
Andddd there's a guide here that explains all that a lot better than I did...good thing I typed all that out.
http://forum.xda-developers.com/showthread.php?t=563679
guys re rooting isnt the only way....its the easy way lol
instructions to flash the recovery are found in cyans installation issue thread

[HOW TO] [ROOT] [S-OFF] Change boot logo (skateboards, not boot animation)

DISCLAIMER:
1) You are doing this at your own risk.
2) Educate yourself first and try this ONLY if you feel comfortable with modifying with your phone.
3) If you break your phone it is not my fault nor is it my responsibility to fix your phone.
Things could go wrong but they shouldn't if you follow the directions and have some general knowledge of Android.
##############################
Go from this:-------------------------------------------------To This:
{
"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"
}
----------
##############################
Things needed:
ADB/Fastboot knowledge - HERE and HERE
RGB565Converter v0.3c - Thanks to DeToX-cz!
UPDATE: You must have the engineering bootloader flashed for access to splash1. Follow the steps here to flash the S=OFF bootloader. -Thanks to jcase
Instructions:
Find an or create an image (.png, .bmp, .jpg, or .gif -- 320x480 is preferrable)
Open RGB565 Converter
Ensure that "To RGB565 (binary)" tab is selected
Click "Open Image", select your image
Click "Convert to RGB565" (RGB565 Converter will make your image 320x480 if it is not already)
CLOSE RGB565 CONVERTER
Reboot phone into Fastboot using this command: adb reboot bootloader
OR Button combo: SEND/CALL + END/POWER
Flash image using this command: fastboot flash splash1 <your_image_name>.rgb565
Reboot phone using this command: fastboot reboot
OR fastboot oem powerdown if not then remove your battery
View the results of your hard work.
Enjoy!
As of right now there is no way to read the splash1 partition to back it up short of some kind of kernel mod to partition splash1 from NAND as a new MTD. At least that's how I understand it, please correct me if I'm wrong.
You must flash the S-OFF BOOTLOADER for this to work.
You can use the RGB565Converter tool to flash your image successfully without needing to type commands.
Below is another method used to keep your phone from rebooting unexpectedly during the process:
joshw0000 said:
I tried using the "Flash Splash1" button that someone had posted earlier and I almost **** myself. I think my phone tried to load the file I originally used to root it. I was getting really nervous so I pulled the battery and, to my relief, it powered on and it booted normally. I'm sure that method works but I'm scared of it now.
I tried the original instructions and it rebooted my phone before I was ready so I did this in the command prompt (this was mentioned on the first page of posts):
cd C:\android-sdk-windows\tools
adb shell
su
reboot bootloader
fastboot flash splash1 <copy and paste file name here>
fastboot reboot
Of course this will only work if you've downloaded the program, converted your picture and placed it in the tools directory of SDK.
Worked great for me. I couldn't be happier!
Click to expand...
Click to collapse
didnt seem to work for me, but im not rooted, ill try this with my brothers rooted phone in a bit and repioret back
Wow that worked great! Thanks
Reboot phone into Fastboot (Power down, hold Send press and hold Power)
Click to expand...
Click to collapse
How do you get into fastboot? I held the trackball down and power. Is that what you meant by hold "send press" and also does the image need to be on the root of the sdcard(Im guessing so...)?
ch4sethe5un said:
How do you get into fastboot? I held the trackball down and power. Is that what you meant by hold "send press" and also does the image need to be on the root of the sdcard(Im guessing so...)?
Click to expand...
Click to collapse
no, Hold Call button and end button to get into fastboot
and this is ONLY FOR ROOTED PHONES
thanks
thanks i will try it out. Im using ivan's 0.7
Ok so i figured out i needed to be in "fastboot usb" mode, but i searched and found that i had to type this command into the CommandPrompt
Code:
adb shell
su
reboot bootloader
then type in the command that was mentioned before, but make sure that the image is in the \tools dir in your android sdk install.
ch4sethe5un said:
Ok so i figured out i needed to be in "fastboot usb" mode, but i searched and found that i had to type this command into the CommandPrompt
Code:
adb shell
su
reboot bootloader
then type in the command that was mentioned before, but make sure that the image is in the \tools dir in your android sdk install.
Click to expand...
Click to collapse
^^^ This worked...But i have question after this how do you reboot?
I just did a battery pull But I'm sure there must be a command to reboot anyone know what it is?
and I used this Picture of an android with the letters ERIS in the center is anyone else want that instead of the droid one or something.
there should be an option to go to HBOOT menu and then into recovery and reboot from there.
I used this one:
Great tutorial. Thanks!
Here's mine if someone likes it they are free to use it.
+1 rep (if only we could do that). I was looking for something like this. Thanks!
t2noob said:
^^^ This worked...But i have question after this how do you reboot?
I just did a battery pull But I'm sure there must be a command to reboot anyone know what it is?
and I used this Picture of an android with the letters ERIS in the center is anyone else want that instead of the droid one or something.
Click to expand...
Click to collapse
I did a battery pull myself too lazy to go into recovery from hboot. My phone did not explode after doing a battery pull so it "should" be safe however do so with caution.
moved thread by request of OP.
Best regards,
Flar
Ive learned that battery pull is the easyiest way,
As a fan of FFXIII, I could not pass up the opportunity to do this.
[Taking Requests also ]
Maybe we should come up with a thread so people can post all boot images and animations in one place, no?
Just remember to convert it like mentioned in the first post
Here is one(as a fan =] ):
Was just thinking about changing and found this. Thanks.
Awesome!!!
Thanks for the tutorial.
Worked great!

[Q] don't know how to flash recovery on my OB

Hi I have the following problem:
Home button and lock screen button are not working. For example, when I push lock screen button it only turns off screen but does not lock it.
Also my home button is not working anymore.
If somebody has had same issues and know the solution please let me know!
Thanks
Hi. I tried to flash recovery on my OB
follow the tutorial but when I touch the recovery button
on anreboot app it rebooted.
after LG logo, it shows only black screen and 4 led buttons flashing on and off.
Whats wrong on my OB? I recovered my OB, but still can't go inside recovery.
ps. I'm from korea. What my OB differs from your P970s?
can differences crush my result? sorry about my english
I want to use custom rom desperately...
Just do this :
ramrod said:
0. root device
1.download the file...
2.unzip it, then copy "recovery.img" to your optimus sdcard...
3.install android terminal emulator from market...
4.open terminal, then input this command :
su
dd if=/dev/zero of=/dev/block/mmcblk0p4
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p4
5. two files are written, finish
6. input:
reboot recovery
Click to expand...
Click to collapse
Thanks to him I didn‘t need to traduce from french tutorial.
I used that method too and that‘s how I installed cwm.
Sent from my LG-P970 using XDA Premium App
Just do this :
ramrod said:
0. root device
1.download the file...
2.unzip it, then copy "recovery.img" to your optimus sdcard...
3.install android terminal emulator from market...
4.open terminal, then input this command :
su
dd if=/dev/zero of=/dev/block/mmcblk0p4
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p4
5. two files are written, finish
6. input:
reboot recovery
Click to expand...
Click to collapse
Thanks to him I didn‘t need to traduce from french tutorial.
I used that method too and that‘s how I installed cwm.
Sent from my LG-P970 using XDA Premium App
Sobralobo said:
Just do this :
Thanks to him I didn‘t need to traduce from french tutorial.
I used that method too and that‘s how I installed cwm.
Sent from my LG-P970 using XDA Premium App
Click to expand...
Click to collapse
I tried it but it doesn't work. :<
both command and bat file dosen't work
it shows on terminal emu >>> write error : no space left on device
but it has enough space
it seems to be locked. and any files can be copied or modified in /dev/ folder
is there anyone who has the solution for me?
ernious said:
I tried it but it doesn't work. :<
both command and bat file dosen't work
it shows on terminal emu >>> write error : no space left on device
but it has enough space
it seems to be locked. and any files can be copied or modified in /dev/ folder
is there anyone who has the solution for me?
Click to expand...
Click to collapse
Ignore the error and execute the second "dd" command. If you get messages similar to the following, then you may have successfully flashed CWM recovery. You can try again by rebooting to recovery using AnReboot:
{
"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"
}
rey031 said:
Ignore the error and execute the second "dd" command. If you get messages similar to the following, then you may have successfully flashed CWM recovery. You can try again by rebooting to recovery using AnReboot:
Click to expand...
Click to collapse
i see exactly same message on my OB terminal emu
but i tried already - doesn't work
do i have to give it up? :<
You must be sure that your phone is rooted and that usb debug in on. (It seems to be the write rights.)
Sent from my LG-P970
rgabi88 said:
You must be sure that your phone is rooted and that usb debug in on. (It seems to be the write rights.)
Sent from my LG-P970 using XDA Premium App
Click to expand...
Click to collapse
Im sure i rooted it(by G.B 1.2) and turned on debug mode.......
Is my OB wrong because of firmware version??
my OB is V10p korean version ......

Cant flash TWRP - error: device '(null)' not found in adb

Hi all.
I would not be writing this topic if everything I did havent failed.
I tried every possible solution to this I was able to find on the internet - nothing has worked so far.
I tried doing this on different PCs - same result.
I flashed Syberia ROM but didnt like it so decided to go with MIUI 9.7.10.12. I already had TWRP at that time but when I flashed MIUI everything erased, I mean everything - data, storage, TWRP everything.
System works fine but I am unable to flash TWRP with constant message: error: device '(null)' not found.
ADB device not found but fastboot works and ADB shows device connected. The phone is authorized with USB debugging turned on, drivers installed on PC, TWRP image file is correct. I am lost :/ dont know what to do.
Please help
there is no need to flash recovery via adb. twrp should be flash from fastboot. turn off your phone, hold volume down and power for few seconds and phone will boot in fastboot mode.
fastboot flash recovery twrp.img
Click to expand...
Click to collapse
and done.
sunilromy said:
there is no need to flash recovery via adb. twrp should be flash from fastboot. turn off your phone, hold volume down and power for few seconds and phone will boot in fastboot mode.
and done.
Click to expand...
Click to collapse
Where should I type in the command if not in ADB?
{
"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"
}
If I go manually to recovery (vol up + power) the phone reboots to stock recovery so the TWRP is not installed. I tried different versions of TWRP. no progress
Type
Fastboot reboot
and now you can go to twrp recovery by manually .. Power off phone, volume up + power
Or you can also do this
sunilromy said:
Type
Fastboot reboot
and now you can go to twrp recovery by manually .. Power off phone, volume up + power
Or you can also do this
Click to expand...
Click to collapse
fastboot reboot --> phone goes to system
vol up + power --> stock recovery
the problem is TWRP is not flashing :/
it is not USB debugging problem, not USB drivers problem.
The other thing is I can go to fastboot through ADB only when im on CHARGING MODE, it doesnt work on MTP MODE where it should.
brother you just flashed twrp successfully in the screenshot you posted, point is miui, dont let it stick when you boot to system and reboot.
you should, do this. go to fastboot
fastboot flash recovery twrp.img
fastboot boot twrp.img
Click to expand...
Click to collapse
you can flash other modded recovery which will stick. like zcx
sunilromy said:
brother you just flashed twrp successfully in the screenshot you posted, point is miui, dont let it stick when you boot to system and reboot.
you should, do this. go to fastboot
you can flash other modded recovery which will stick. like zcx
Click to expand...
Click to collapse
thx, that command worked
but why I cant go to TWPR using vol up + power?
fastboot boot twrp.img doesn't work for me, after it just black screen with MI logo and "Unlocked" for a long time...
can't enter twrp in any way after success flashing :crying:
Need help with this. Can't sideload with adb fastboot is working fine though.
How can I solve "FAILED (remote: This partition doesn´t exist error)"?
From TWRP > tap Advanced > Terminal > run command: mkdir -p /data/media/0/
Copy the rom to your phone internal storage from pc
Install by finding the transfered rom in the internal storage.

Categories

Resources