Related
I am an newbie for the android world and lokking for the article about how to backup the rom of LG P500 for several days.
There are many articles about HTC's rom backup and recovery but I dont know it works for P500 or not.
Could any one tell me how to do or some apps I can download to backup full rom of P500?
sheeptemp said:
I am an newbie for the android world and lokking for the article about how to backup the rom of LG P500 for several days.
There are many articles about HTC's rom backup and recovery but I dont know it works for P500 or not.
Could any one tell me how to do or some apps I can download to backup full rom of P500?
Click to expand...
Click to collapse
I know about way, that you flash the custom recovery into phone and then boot into it and choose backup. But I have question too - is it possible to make full backup without install of custom recovery?
The_ERROR said:
I know about way, that you flash the custom recovery into phone and then boot into it and choose backup. But I have question too - is it possible to make full backup without install of custom recovery?
Click to expand...
Click to collapse
What you said is the point. If I flash the custom recovery into the rom, I'll lost the warranty. So I need to backup the original rom in other way, apps or adb command.
any tutorials?
sheeptemp said:
What you said is the point. If I flash the custom recovery into the rom, I'll lost the warranty. So I need to backup the original rom in other way, apps or adb command.
any tutorials?
Click to expand...
Click to collapse
I'm not sure, but I think that it will be problem. You can not make dump of system if this system is running = you have to run some another "system" which is independent on system which you want to backup.
What are you thinking guys? Or can be make dump of system which is actually running?
I haven't tried yet to flash or to use a custom recovery, but I suppose that if you run the recovery without flashing it (via USB and ADB), you will not loose anything at all.. exactly like I did for my HTC Magic a while ago..
If my idea is correct, you can plug the cable, make a backup of your phone as it is, then do whatever you want
Mau003 said:
I haven't tried yet to flash or to use a custom recovery, but I suppose that if you run the recovery without flashing it (via USB and ADB), you will not loose anything at all.. exactly like I did for my HTC Magic a while ago..
If my idea is correct, you can plug the cable, make a backup of your phone as it is, then do whatever you want
Click to expand...
Click to collapse
If someone can find an early lg test rom or earlier than first shipped rom from lg updater that the bootloader allows fastboot there is a way to boot recovery via fastboot without flashing it. Without fastboot you have to actually flash it. You can easily backup your stock-recovery and reflash that back if needed for warranty etc.
If you would like to back up your stock recovery you can do it via this command from a root shell PRIOR to flashing recovery
Code:
dd if=/dev/mtd/mtd2 of=/sdcard/stock-recovery.img bs=4096
The_ERROR said:
I know about way, that you flash the custom recovery into phone and then boot into it and choose backup. But I have question too - is it possible to make full backup without install of custom recovery?
Click to expand...
Click to collapse
Without a leaked rom with fastboot enabled bootloader then no as nandroid has to be run from recovery.
I have found the rom version v10h of LG Optimus One P503 (P500 in China),
here's link: link.52lg.com/52lg/GSM/P503/P503-V10h.rar
but I dont know it's reality.
With fastboot disabled, you can't backup your rom without flashing a custom recovery. And it seems nobody has found a way to enable fastboot yet. See also this thread.
drellisdee said:
If you would like to back up your stock recovery you can do it via this command from a root shell PRIOR to flashing recovery
Code:
dd if=/dev/mtd/mtd2 of=/sdcard/stock-recovery.img bs=4096
Click to expand...
Click to collapse
USB debug mode enable, adb device, adb shell, than type this command line,
Right?
sheeptemp said:
USB debug mode enable, adb device, adb shell, than type this command line,
Right?
Click to expand...
Click to collapse
Or in phone use "Terminal Emulator" app and type this command via it.
Hi all.
This is an interesting topic to me: the hard reset is able to restore a "warranty included" situation (obviously loosing any data in the internal flash memory)? What exactly does a hard reset on LG Optimus One?
thank you.
Will this command enable me to backup the default rom without installing a custom recovery rom? If so then how can I restore it later on? Will it keep all my current applications, cache, data, system definitions, etc?
No, this command backup only original recovery.
If you install custom recovery for make a nandroid backup, you can return back of the original recovery, just like that warranty is not lost
Sounds great, I want to do a Nandroid backup but was kinda nervous about losing the default recovery permanently.
So what would be the command to restore the original recovery if necessary?
You only posted the one to do the backup : )
Hi guys.
So i've a question: How can I flash my backup of the stock-recovery?
I did the backup how it's described here.
I've got the drellisdee custom recovery.
Do I only have to flash the recovery via the custom recovery?
Do I have to delete the files which I flashed when I did flash the custom recovery?
Thanks
S1ckness said:
Hi guys.
So i've a question: How can I flash my backup of the stock-recovery?
I did the backup how it's described here.
I've got the drellisdee custom recovery.
Do I only have to flash the recovery via the custom recovery?
Do I have to delete the files which I flashed when I did flash the custom recovery?
Thanks
Click to expand...
Click to collapse
NO, you can't flash recovery via custom recovery,
NO, you don't have to delete files what you are already fleshed.
For restore just enter command
Code:
flash_image recovery /sdcard/my-original-recovery.img
You don't have to do rest of command.
Sorry for all the noob questions which follow, but I've tried reading up on related stuff & still feel lost. Also, the above posts answer the questions already, but I'd still like some clarification/confirmation. Thanks for your patience & time. Much appreciated.
1. When I open Terminal Emulator on the phone, I get this blue screen which says-
$ export PATH=/data/local/bin:$PATH
$
Can I simply copy paste the given command viz. dd if=/dev/mtd/mtd2 of=/sdcard/stock-recovery.img bs=4096 next to the above prompt & get a backup of the ROM? If not, what else needs to be typed in?
2. & can this same ROM be restored using the command given viz. flash_image recovery /sdcard/my-original-recovery.img at the same prompt? Would restoration then put the phone in a state whereby LG cannot know that the phone's ROM had been changed & thus make it eligible for warranty?
3. Will this save contacts & messages as well, or do these need to be backed up separately?
4. What does the 4096 in the command signify?
Again, thanks a lot.
kidrow said:
Sorry for all the noob questions which follow, but I've tried reading up on related stuff & still feel lost. Also, the above posts answer the questions already, but I'd still like some clarification/confirmation. Thanks for your patience & time. Much appreciated.
1. When I open Terminal Emulator on the phone, I get this blue screen which says-
$ export PATH=/data/local/bin:$PATH
$
Can I simply copy paste the given command viz. dd if=/dev/mtd/mtd2 of=/sdcard/stock-recovery.img bs=4096 next to the above prompt & get a backup of the ROM? If not, what else needs to be typed in?
2. & can this same ROM be restored using the command given viz. flash_image recovery /sdcard/my-original-recovery.img at the same prompt? Would restoration then put the phone in a state whereby LG cannot know that the phone's ROM had been changed & thus make it eligible for warranty?
3. Will this save contacts & messages as well, or do these need to be backed up separately?
4. What does the 4096 in the command signify?
Again, thanks a lot.
Click to expand...
Click to collapse
+1 I have the same question. Please help us.
. Right now i am in middle of flashing process so please ignore caps.
When i issue command fastboot flash recovery c:\recovery.img
it is saying cannot flash, unknown error.
I am using cmw6.can you guys give me a latest recovery and also tell how to take nandroid backup of stock recovery
ShivaPower said:
. Right now i am in middle of flashing process so please ignore caps.
When i issue command fastboot flash recovery c:\recovery.img
it is saying cannot flash, unknown error.
I am using cmw6.can you guys give me a latest recovery and also tell how to take nandroid backup of stock recovery
Click to expand...
Click to collapse
fastboot flash recovery recovery.img
The Android Manual said:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Where should i paste the recovery ? directly into c drive.???
And if want to make a nandroid back up, How to do so before going for custom rom and custom recovery.
put recovery where is fastboot. then go to this folder and then fastboot flash recovery recovery.img
yea i chose back up from bootloader ans got two
files on my phone, recovery.img and boot.img. are
they enough to backup. is this backup for stock
revovery or cwm ??? the phone is running very
good.
but i havnt rooted .i want to install a full sense or
any beautiful n stable rom. can you link it here???
ShivaPower said:
Where should i paste the recovery ? directly into c drive.???
And if want to make a nandroid back up, How to do so before going for custom rom and custom recovery.
Click to expand...
Click to collapse
anywhere where your acctual working folder in terminal/command prompt is
How long, at least historically, does it take for AT&T to release an RUU for our device? I have unlocked my bootloader but I am hesitant to proceed without knowing I have a fallback to stock system image and recovery. Thanks for any input, and I understand that the releases are typically unpredictable but I suppose asking for a general ball park figure!
Sent from my HTC One_M8
wont be for awhile if at all... could do fastboot boot recovery nameofrecovery.img this should boot into recovery then make back up then youll have stock everything as a backup...
TheEmpyre said:
How long, at least historically, does it take for AT&T to release an RUU for our device? I have unlocked my bootloader but I am hesitant to proceed without knowing I have a fallback to stock system image and recovery. Thanks for any input, and I understand that the releases are typically unpredictable but I suppose asking for a general ball park figure!
Sent from my HTC One_M8
Click to expand...
Click to collapse
Wonders_Never_Cease said:
wont be for awhile if at all... could do fastboot boot recovery nameofrecovery.img this should boot into recovery then make back up then youll have stock everything as a backup...
Click to expand...
Click to collapse
So there is a way to make a full backup with the stock HTC Recovery?
No the command i said temp boots into twrp doesnt actually flash it, and you can make a back up that way.
fastboot boot recovery nameofrecovery.img (temp boot into recovery)
fastboot flash recovery nameofrecovery.img (would flash a custom recovery)
TheEmpyre said:
So there is a way to make a full backup with the stock HTC Recovery?
Click to expand...
Click to collapse
Wonders_Never_Cease said:
No the command i said temp boots into twrp doesnt actually flash it, and you can make a back up that way.
fastboot boot recovery nameofrecovery.img (temp boot into recovery)
fastboot flash recovery nameofrecovery.img (would flash a custom recovery)
Click to expand...
Click to collapse
Ah, I see what you're saying, So I would need to place the TWRP.img into the directory from which I'm running commands yes?
Correct...reboot to bootloader and run the fastboot boot recovery nameofrecovery.img command
TheEmpyre said:
Ah, I see what you're saying, So I would need to place the TWRP.img into the directory from which I'm running commands yes?
Click to expand...
Click to collapse
Wonders_Never_Cease said:
Correct...reboot to bootloader and run the fastboot boot recovery nameofrecovery.img command
Click to expand...
Click to collapse
Sweet, I'll give it a try and make a backup, see how it goes
Wonders_Never_Cease said:
No the command i said temp boots into twrp doesnt actually flash it, and you can make a back up that way.
fastboot boot recovery nameofrecovery.img (temp boot into recovery)
fastboot flash recovery nameofrecovery.img (would flash a custom recovery)
Click to expand...
Click to collapse
So I tried these commands here and its giving the error "cannot load 'recovery' " so it looks like fastboot is looking for an .img to follow the 'boot' command:
fastboot boot recovery.img -
At least that is what I figured, I haven't tried it because I'm timid, but if I execute that command ^ will it get me to the recovery image for a backup without derping something?
Edit: Did a little bit more research / sacked up and went for it. Just booted up and rooted without installing custom recovery which is exactly what I wanted to do. Just wanna debloat the phone myself with root access!
Thanks for the help!
I have Huawei P6,
It stop booting at logo MIUI (so not possible to use IHM root file manager).
I would like to push a file from my PC to the device (Huawei P6 U06) using ADB Shell in recovery mode.
Push file to device mains push file to /system of device.
Does someone has steps guide or tools to do this?
LikeM8 said:
I have Huawei P6,
It stop booting at logo MIUI (so not possible to use IHM root file manager).
I would like to push a file from my PC to the device (Huawei P6 U06) using ADB Shell in recovery mode.
Does someone has steps guide or tools to do this?
Click to expand...
Click to collapse
Which custom recovery and version do you have installed? I would recommend taking a look at this guide here and following it up through step 10. Let me know if you still have questions.
shimp208 said:
Which custom recovery and version do you have installed? I would recommend taking a look at this guide here and following it up through step 10. Let me know if you still have questions.
Click to expand...
Click to collapse
Thanks Shimp for your time.
custom recovery is TWRP v2.6.3.3
The goal is to remove TWRP recovery by a stock one to perform an update with dload/UPDATE.APP from SDCARD.
To do this I would like to copy the file recovery-from-boot.p file in /system device to remove TWRP when boot to recovery mode.
As I said, the phone stope to boot at MIUI logo (error from TWRP E: unable to mount '/cache').
Sideload failed!
LikeM8 said:
Thanks Shimp for your time.
custom recovery is TWRP v2.6.3.3
The goal is to remove TWRP recovery by a stock one to perform an update with dload/UPDATE.APP from SDCARD.
To do this I would like to copy the file recovery-from-boot.p file in /system device to remove TWRP when boot to recovery mode.
As I said, the phone stope to boot at MIUI logo (error from TWRP E: unable to mount '/cache').
Sideload failed!
Click to expand...
Click to collapse
I apologize @LikeM8 for the delay in getting back to you somehow this thread got lost in the shuffle. In the guide I linked I would recommend using that to get ADB access in recovery going that way you can copy the file recovery-from-boot.p to your device, don't worry about the sideload part only use it to get ADB access in recovery mode :good:.
shimp208 said:
I apologize @LikeM8 for the delay in getting back to you somehow this thread got lost in the shuffle. In the guide I linked I would recommend using that to get ADB access in recovery going that way you can copy the file recovery-from-boot.p to your device, don't worry about the sideload part only use it to get ADB access in recovery mode :good:.
Click to expand...
Click to collapse
No problem @shimp208 thanks for your reply. Where I have to copy recovery-from-boot.p ? Where I could be find the stock file for my Huawei P6 U06? Regards!
LikeM8 said:
No problem @shimp208 thanks for your reply. Where I have to copy recovery-from-boot.p ? Where I could be find the stock file for my Huawei P6 U06? Regards!
Click to expand...
Click to collapse
You can get the stock recovery for your device from this thread here, also you won't even need to use recovery-from-boot.p as you can boot your device into fastboot mode to flash the stock recovery.
shimp208 said:
You can get the stock recovery for your device from this thread here, also you won't even need to use recovery-from-boot.p as you can boot your device into fastboot mode to flash the stock recovery.
Click to expand...
Click to collapse
Thanks for the link @shimp208, but when I flash these stock recovery from fastboot, I still again TWRP 2.6.3.3!!! Help please!!!
I thought I broke my maghine and order new one. Recovery SDcsrd works
LikeM8 said:
Thanks for the link @shimp208, but when I flash these stock recovery from fastboot, I still again TWRP 2.6.3.3!!! Help please!!!
Click to expand...
Click to collapse
Hello again @LikeM8 sorry again for the delay caused by my final exams (still in progress for the next two weeks), you can get the stock ROM for your device here in the index thread from the stock rom you can pull recovery-from-boot.p and attempt to install the stock recovery.
shimp208 said:
Hello again @LikeM8 sorry again for the delay caused by my final exams (still in progress for the next two weeks), you can get the stock ROM for your device here in the index thread from the stock rom you can pull recovery-from-boot.p and attempt to install the stock recovery.
Click to expand...
Click to collapse
Thanks @shimp208...pull recovery-from-boot.p from stock ROM??? Did you mean, I have to pull recovery-from-boot.p fill using adb (recovery mode)?
LikeM8 said:
Thanks @shimp208...pull recovery-from-boot.p from stock ROM??? Did you mean, I have to pull recovery-from-boot.p fill using adb (recovery mode)?
Click to expand...
Click to collapse
What I meant was put the stock ROM on your computer unpack and it and extract the from it then push recovery-from-boot.p from your computer to your phone, then re-flash stock recovery.
shimp208 said:
What I meant was put the stock ROM on your computer unpack and it and extract the from it then push recovery-from-boot.p from your computer to your phone, then re-flash stock recovery.
Click to expand...
Click to collapse
Ok @Shimp2008, I try and lets you know. Thanks for your time!
shimp208 said:
What I meant was put the stock ROM on your computer unpack and it and extract the from it then push recovery-from-boot.p from your computer to your phone, then re-flash stock recovery.
Click to expand...
Click to collapse
hello @shimp208, stock ROM I find in the page are dload/UPDATE.APP form, not zip file to unpack.
I have yet recovery-from-boot.p file. When from recovery and adb shell I put it on /system, after reboot, the recovery-from-boot.p file was been delete by the device???
What I did wrong or I have to perform to keep recovery-from-boot.p file in /system directory after reboot?
PS: Before operation, I perform "mount -o remount,rw /system"
LikeM8 said:
hello @shimp208, stock ROM I find in the page are dload/UPDATE.APP form, not zip file to unpack.
I have yet recovery-from-boot.p file. When from recovery and adb shell I put it on /system, after reboot, the recovery-from-boot.p file was been delete by the device???
What I did wrong or I have to perform to keep recovery-from-boot.p file in /system directory after reboot?
PS: Before operation, I perform "mount -o remount,rw /system"
Click to expand...
Click to collapse
TWRP may be overwriting the file on it's own, another possibility would be to follow the directions for the stock recovery flashing i linked to earlier and seeing if only fastboot booting the stock recovery image will let you re-flash the stock ROM.
I apologize ahead of time if this is the wrong section or my question has already been answered. I've been searching all day.
I am trying to get a custom recovery on an old SPH-D710 with a bad port so I am using wireless ADB but I can't get the recovery partition mounted. DiskInfo app and running
Code:
ls -l /dev/block/platform/dw_mmc/by-name/
both show recovery at /dev/block/mmcblk0p6 but I keep getting "No such device" error from mount.
I've tried a bunch of different filesystem types and its always the same thing.
I am new to mucking around with Android at the command line, or hacking the devices at all. I have always used Odin or a custom recovery to get things done. I am a pretty experienced *nix guy though and this has me stumped. The partition is right there in the list with the rest of them, is there something else going on in the version of mount on this device that's affecting it's visibility of that partition?
Why mount the recovery? You are just wanting to dump it so that you can build TWRP or other custom recovery for it, right? Or do you have a recovery, but just can't flash it?
To dump stock recovery
dd if=dev/block/mmcblk0p6 of=/sdcard/stockrecovery.img
Then to flash new recovery
dd if=/sdcard/customrecovery.img of=/dev/block/mmcblk0p6
Sent from my KYOCERA-C6745 using Tapatalk
From what I know, you can't mount recovery partition, as RealWelder said, you can dump it, then modify and reflash it
(sure, you need root to dump those images)
RealWelder said:
Why mount the recovery? You are just wanting to dump it so that you can build TWRP or other custom recovery for it, right? Or do you have a recovery, but just can't flash it?
To dump stock recovery
dd if=dev/block/mmcblk0p6 of=/sdcard/stockrecovery.img
Then to flash new recovery
dd if=/sdcard/customrecovery.img of=/dev/block/mmcblk0p6
Click to expand...
Click to collapse
Well first I need to say I feel like an idiot for trying to mount it. I read some old speculative post on a different forum that put that in my head. For someone claiming to have *nix experience I can't believe I didn't think to use dd. So now that is out of the way.
Output from DD reflected a successful write but "reboot recovery" and it was still stock.
The .img I flashed was from a TWRP .zip for that device. So what did I do wrong this time?
EDIT: I take that back, it was from philz touch (the modded CWM).
This was the relevant part of what I did in the shell if it matters:
Code:
[email protected]:/sdcard/external_sd # dd if=recovery.img of=/dev/block/mmcblk0p6
dd if=recovery.img of=/dev/block/mmcblk0p6
14909+1 records in
14909+1 records out
7633899 bytes transferred in 2.924 secs (2610772 bytes/sec)
[email protected]:/sdcard/external_sd # reboot recovery
reboot recovery
volDeus said:
This was the relevant part of what I did in the shell if it matters:
Code:
[email protected]:/sdcard/external_sd # dd if=recovery.img of=/dev/block/mmcblk0p6
dd if=recovery.img of=/dev/block/mmcblk0p6
14909+1 records in
14909+1 records out
7633899 bytes transferred in 2.924 secs (2610772 bytes/sec)
[email protected]:/sdcard/external_sd # reboot recovery
reboot recovery
Click to expand...
Click to collapse
You may also need to modify the boot.img to disable signature check on boot. On a lot of newer devices if the signature doesn't match, it will flash stock recovery at boot time...overwriting the philz.
Sent from my KYOCERA-C6745 using Tapatalk
RealWelder said:
You may also need to modify the boot.img to disable signature check on boot. On a lot of newer devices if the signature doesn't match, it will flash stock recovery at boot time...overwriting the philz.
Sent from my KYOCERA-C6745 using Tapatalk
Click to expand...
Click to collapse
Ah that makes sense. More research for tomorrow
How to upload boot.img
RealWelder said:
You may also need to modify the boot.img to disable signature check on boot. On a lot of newer devices if the signature doesn't match, it will flash stock recovery at boot time...overwriting the philz.
Sent from my KYOCERA-C6745 using Tapatalk
Click to expand...
Click to collapse
dear, how to modify the boot.img to disable signature check on boot?
This will help you understand, though it may not be of much help in actuality accomplishing your goal, depending on the device.
https://forum-xda--developers-com.c...g-boot-images-android-verified-t3600606/page1
Sent from my LG-Q710AL using Tapatalk
RealWelder said:
Why mount the recovery? You are just wanting to dump it so that you can build TWRP or other custom recovery for it, right? Or do you have a recovery, but just can't flash it?
To dump stock recovery
dd if=dev/block/mmcblk0p6 of=/sdcard/stockrecovery.img
Then to flash new recovery
dd if=/sdcard/customrecovery.img of=/dev/block/mmcblk0p6
Click to expand...
Click to collapse
Morning man..
I am sorry if I ask it in this thread, I am about to bring my whyred (redmi note 5 pro) back on.
Can I use this script to flash new recovery into my whyred??
I have an official unlocked bootloader whyred, with erased recovery, no twrp and only has fastboot mode.
But when I flash through
fastboot flash recovery xxx.img
It ends with :
Remote : error flashing partition : write protected
The only way to akses ADB is :
Fastboot boot xxx.img (twrp)
So I can akses
ADB devices
Xxxxxxxx recovery
Once more, I am so sorry if I write in wrong thread but I really need to pass the write protected partition.
Thank you..