[Q] android recovery for twrp backup ? - T-Mobile Samsung Galaxy Note II

Hi Folks,
Is it possible to use android recovery to install a twrp backup ??
If yes which one of these files do i select when performing recovery ?
data.ext4.win001.md5
boot.emmc.win
boot.emmc.win.md5
data.ext4.win000.md5
data.ext4.win001
data.ext4.win000
system.ext4.win000
system.ext4.win.md5
system.ext4.win

Good question... why would you need to not use TWRP (especially when there are ways to get back to stock recovery afterwards)
I mean I wouldnt use CWM to restore a TWRP backup, nor vice versa, ya know
Sent from my SGH-T889 using xda app-developers app

Related

[Q] restoring just the kernel

Question, if you are mucking around with kernels and want to restore to stock without doing a full TWRP nandroid restore, can you just restore the boot partition?
Alternatively, how does one pull just the stock kernel (including ramdisk) from the factory image? In the past with other brands its been more convoluted e.g. with HTC I remember in addition to flashing the stock kernel in zip you had to push something in fastboot as well (the ramdisk). Unfortunately I can't find just the stock kernel file(s) in this forum hence asking if it can be pulled from the factory image
Thanks in advance
wintermute000 said:
Question, if you are mucking around with kernels and want to restore to stock without doing a full TWRP nandroid restore, can you just restore the boot partition?
Alternatively, how does one pull just the stock kernel (including ramdisk) from the factory image? In the past with other brands its been more convoluted e.g. with HTC I remember in addition to flashing the stock kernel in zip you had to push something in fastboot as well (the ramdisk). Unfortunately I can't find just the stock kernel file(s) in this forum hence asking if it can be pulled from the factory image
Thanks in advance
Click to expand...
Click to collapse
Hi
If you use Nexus Root Toolkit you can start the program and exists the option Launch and there exists restore stock kernel. I think it can solve your problem but first confirm.
There are stock JWR66N and JSS15J kernels attached to this post:
http://forum.xda-developers.com/showthread.php?t=2415497
boot into bootloader
fastboot flash boot boot.img
done
Need jss15q
Sent from my C6603 using Tapatalk 4
wintermute000 said:
Need jss15q
Sent from my C6603 using Tapatalk 4
Click to expand...
Click to collapse
It is there now.
http://forum.xda-developers.com/showthread.php?t=2415497
That are only .img files and not zImage files.
So only with PC or MAC flashable.
TDO said:
That are only .img files and not zImage files.
So only with PC or MAC flashable.
Click to expand...
Click to collapse
I am not sure what your idea of a zImage file is. These are compressed kernels with compressed root filesytems, which is what a zImage is.
You can flash these in fastboot over a PC or you can use dd to restore the partition while in android. Just make sure you know what you are doing in the latter case and don't overwrite the wrong partition or you can have big issues.
sfhub said:
I am not sure what your idea of a zImage file is. These are compressed kernels with compressed root filesytems, which is what a zImage is.
Click to expand...
Click to collapse
I know what a zImage is and this files can easily be flashed via Recovery (TWRP, ...)
If you know a similar method for .img files you can share it.
TDO said:
I know what a zImage is and this files can easily be flashed via Recovery (TWRP, ...)
If you know a similar method for .img files you can share it.
Click to expand...
Click to collapse
If you compare the md5 of a TWRP backup of the stock kernel against the system.img in my posts, they will be exactly the same. I didn't use TWRP, but used the same method as TWRP. Thus if your definition of a zImage is that it can easily be flashed via Recovery (TWRP, ...)
rename system.img to boot.emmc.win
copy into TWRP dated backup folder
restore in TWRP, check boot, uncheck everything else, disable MD5
If you want to do md5
md5 boot.emmc.win > boot.emmc.win.md5
echo " boot.emmc.win" >> boot.emmc.win.md5

Twrp recovery is not working good

A have a problem White twrp recovery a install twrp recovery 2.5.0. And is working good bat when a install twrp theme then is only blinking screen ok then a install twrp recovery 2.6.0.1 and a was in recovery bath is wont pasaword a dont hawe it when a pres a cancel a in recovery bat when a wont install a rom hi whas feild help me pleas
eduka said:
A have a problem White twrp recovery a install twrp recovery 2.5.0. And is working good bat when a install twrp theme then is only blinking screen ok then a install twrp recovery 2.6.0.1 and a was in recovery bath is wont pasaword a dont hawe it when a pres a cancel a in recovery bat when a wont install a rom hi whas feild help me pleas
Click to expand...
Click to collapse
Flash philz via odin it works great and if anyhow u can flash the zip then flash philz recovery zip for your phn model
shhbz said:
Flash philz via odin it works great and if anyhow u can flash the zip then flash philz recovery zip for your phn model
Click to expand...
Click to collapse
Can you tell me where to get this Flash philz I have a samsung galaxy 2 notes 7100
Can you tell me the procedure how to do Pleas am beginer in this
can a uninstall twrp reocvery whit this philz
Read my signature for dr.ketan's multitool and read it.
Here it is
http://forum.xda-developers.com/showthread.php?t=2445480
You directly move to installation of multi tool
short steps here
Download drketan multitool aroma zip
Copy to sd card
Flash it, you will get many option, just select to flash philz recovery.
Sent from my GT-N7100 using xda premium
dr.ketan said:
Read my signature for dr.ketan's multitool and read it.
Here it is
http://forum.xda-developers.com/showthread.php?t=2445480
You directly move to installation of multi tool
short steps here
Download drketan multitool aroma zip
Copy to sd card
Flash it, you will get many option, just select to flash philz recovery.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Ok I've done as you've described and I was able to now be uploaded a new rom if I'm not mistaken, or you can remove the twrp recovery whit this tools?
thanks
Once you flash philz recovery it automatically remove twrp
Sent from my GT-N7100 using xda premium
eduka said:
Ok I've done as you've described and I was able to now be uploaded a new rom if I'm not mistaken, or you can remove the twrp recovery whit this tools?
thanks
Click to expand...
Click to collapse
once u have your custom rom booted up just be sure to backup efs using any method either through the tool or manually by using terminal emulator http://forum.xda-developers.com/showthread.php?t=2389426 read here and do make a backup of you rom in external sd if you have it and keep your efs safe somewhere in pc or any cloud storage , dropbox etc.
and since ketan had already provided you the easiest way but still I would suggest to read his thread here http://forum.xda-developers.com/showthread.php?t=1896696, it has great deal of information so read it ,its gonna help you and learn more efficiently
shhbz said:
once u have your custom rom booted up just be sure to backup efs using any method either through the tool or manually by using terminal emulator http://forum.xda-developers.com/showthread.php?t=2389426 read here and do make a backup of you rom in external sd if you have it and keep your efs safe somewhere in pc or any cloud storage , dropbox etc.
and since ketan had already provided you the easiest way but still I would suggest to read his thread here http://forum.xda-developers.com/showthread.php?t=1896696, it has great deal of information so read it ,its gonna help you and learn more efficiently
Click to expand...
Click to collapse
Ok thank you for saving my phone is currently reading page which I wrote a very interesting
THANK YOU
I used TWRP and was good but now shifted to PhilZ and really like it so far.

[Q] Replace CWN with TWRP

Stupid question time (sorry), but I may already know the answer!
I have CWN recovery installed, but a couple of Roms I fancy trying say they need TWRP. Is it as simple as copying TWRP zip to SD card and then flashing with CWM? Would this then remove CWN?
Thanks in advance
You are correct.
Thank you Sir (I did hit 'thanks' also!)
daz1107 said:
Stupid question time (sorry), but I may already know the answer!
I have CWN recovery installed, but a couple of Roms I fancy trying say they need TWRP. Is it as simple as copying TWRP zip to SD card and then flashing with CWM? Would this then remove CWN?
Thanks in advance
Click to expand...
Click to collapse
You don't flash TWRP or CWM via zips. They are img files. You either flash them via fastboot from PC or you can you use an app like flashify after putting the img file on your SD card. Once you flash either of them, the other one gets automatically replaced
Or install flash image gui.
Thanks to the both of you - going to try using flashify now

[Q] How to flash new recovery, through current recovery

Good evening. I need to update my TWRP but my USB port is broken. I read somewhere that you can just take a TWRP image, rename it recovery.img and then zip it up with no compression. Once flashed in TWRP, Android will do the rest, realize it is a new recovery image, and flash it to the recovery partition.
Is this accurate info? If not, does anyone know the correct process? Thanks in advance..
Sent from my 2013 Nexus 7
"Until death, I will remain a Dirty Unicorn.."
For anyone that finds this thread and wants the same question answered, download Flashify, and you can update TWRP directly from Flashify as long as you have root access.
Or you could just get the TWRP app and update thru there
Sent from my Nexus 7 using Tapatalk

How do I backup my stock recovery?

I want to be able to flash my stock recovery when I no longer want TWRP or CWM. How would I go about doing this?
tcmoffitt said:
I want to be able to flash my stock recovery when I no longer want TWRP or CWM. How would I go about doing this?
Click to expand...
Click to collapse
Hello,
Thanks for using XDA Assist.
What device do you have?
___
v7
XDA Assist
v7 said:
Hello,
Thanks for using XDA Assist.
What device do you have?
___
v7
XDA Assist
Click to expand...
Click to collapse
HTC One m8 Tmobile
Thanks for the help guys I really appreciate it. This forum is just so helpful............. ---____---
Which T-Mobile ?
If it is T-Mob US .. there's a dedicated section for T-Mob US and you can find any info there.
tcmoffitt said:
Thanks for the help guys I really appreciate it. This forum is just so helpful............. ---____---
Click to expand...
Click to collapse
This is not possible to backup your stock recovery. When you need that you can download it simply (base on your phone's build number). Also you can extract stock recovery frome your ota zip update(the file with img format inside of firmware folder)
Arsinn said:
This is not possible to backup your stock recovery.
Click to expand...
Click to collapse
Actually, the following usually works:
This has to be done before flashing custom recovery. Unlock bootloader, then fastboot boot recovery.img
With "recovery.img" being a TWRP file located in your fasboot folder. This will boot into TWRP without actually flashing it. From there, you can pick recovery in the backup options, to backup stock recovery.
But yes, I agree that stock recovery images are pretty easy to obtain from these forums, or extracting from a OTA or ROM.zip.
redpoint73 said:
Actually, the following usually works:
This has to be done before flashing custom recovery. Unlock bootloader, then fastboot boot recovery.img
With "recovery.img" being a TWRP file located in your fasboot folder. This will boot into TWRP without actually flashing it. From there, you can pick recovery in the backup options, to backup stock recovery.
But yes, I agree that stock recovery images are pretty easy to obtain from these forums, or extracting from a OTA or ROM.zip.
Click to expand...
Click to collapse
Hi, redpoint73...
Maybe I'm missing something here, but I'm not seeing an option to backup the Recovery in TWRP 2.8.7.0... Just Boot, Cache, System, Data and Android Secure are available (see attached screenshot). I remote booted TWRP from my laptop, as I did when I rooted Marshmallow around a fortnight ago, in order to keep the stock recovery intact.
It would certainly be useful to be able to backup the stock recovery via TWRP... I just haven't found a way of accomplishing it .
-----
But a possible option to backup the stock recovery would be to use the Flashify app...
Remote boot TWRP from your PC, acquire root, and then run Flashify...
Flashify PlayStore link...
https://play.google.com/store/apps/details?id=com.cgollner.flashify
XDA discussion thread...
http://forum.xda-developers.com/showthread.php?t=2349847
This app uses <dd=if/of> commands to backup and potentially restore the boot and/or recovery images.
Although it does require root to work.
I've used Flashify on my Nexus 7 and Nexus 9 in the past, but never on my M8, except to backup... never to restore, so I cannot personally vouch for it's safety on the M8.
-----
What I'm unsure of about Flashify...
@redpoint73, @ckpv5, maybe you guys could shed some light on this...
Would such a <dd=if/of> created backup of stock recovery be flashable via fastboot?
And would it be safe to do so?
I know that TWRP uses <dd=if/of> commands, having looked through TWRPs logs... but I'm not quite sure how fastboot works when it comes to flashing stuff, and I'm very wary about doing it myself or recommending it for others.
Normally, you'd just use the Flashify app to restore any recovery/boot.img backups you've previously made...
But Flashify requires root to work, and with an unrooted system, this is isn't viable. So could one use fastboot in the normal way to flash such a previously made backup of the stock recovery?
-----
Anyhow, it's not critical at the moment for me, because I've not flashed TWRP to my M8, my stock recovery remains intact.
-----
I would recommend anybody reading this seeking to root their Marshmallow M8 to just remote boot TWRP from their PC with fastboot boot twrp.img (ie., don't actually flash it), perform an unrooted Nandroid backup first...
...and then flash Chainfire in the usual way.
This leaves the stock recovery intact, which will be required for future OTAs.
And there still might be some...
My Nexus 9 receives monthly security patches from Google (probably after the StageFright debacle of last year), and it may well be that the M8 will also continue to receive security patches, despite it being nearly two years old.
So you need to be ready... with an unrooted/untouched Nandroid of your own creation and the stock recovery.
I know that Chainfires systemless root method is supposed to address this issue, but if you're going to mess with system, you should have a Nandroid backup anyway...
...just in case.
Rgrds,
Ged.
Funny, I use the fastboot boot option to boot into TWRP saving my original recovery.

Categories

Resources