So I'm thinking to update to latest stock rom add twrp, magisk, su(of some kind) and Xposed.
The question arises in which order and exactly what to do.. so I'm thinking the following order...
Make Backups with
TitanBackup
Also do a update.zip and flashable-titan-backup-update.zip
MyBackup
FlashFire
<boot into download mode>
Flash Stock Rom (no auto-reboot)
Flash TWRP
<boot to recovery>
Let TWRP do /data wipe
(Will I still need to flash no-verify-opt-encrypt ?)
Restore FlashFire /data partition backup
Flash Custom Kernel - like Stocky
Flash Magisk
Flash phh-su?
Flash systemless Xposed
<boot up normally>
Install MagiskManager
Install AutoMagiskUnRoot thing
Does this make sense or am I missing something or doing it all wrong ?
(tried searching and compiling information from various sources to come up with this order to do things!)
I'm well aware that I will trip KNOX(which I already have!)
But will for example Samsung Pay work ?
Any reply appreciated !
Related
Hi,
i wanted stock android on my s4 and downloaded cm11 and installed using the easy installer thing. Cm11 was not as great as i thought and was looking at the GPE rom.
I have the zip file downloaded for the GPE , just wondering to complete
do i need odin and if so what v?
do i need root?
Do i need CWM?
Im new to downloading and installing roms but i am a quick learner
Thanks
Every time you want to flash a custom rom you will require root and a custom recover (Like CWM, TWRP or PhilZ).
There are a few cases where you need Odin to flash the rom. But for the GPE rom you will need just a custom recovery and root.
Considering you have already installed a custom rom (although with the cyanogenmod installer) you should be rooted and maybe have a custom recovery.
Here is a root guide just in case.
But if you have an app like SuperSU, then you're rooted.
Then you still need a recovery. I don't know if the CM installer flashes one.
I myself use TWRP recovery. Because CWM just didn't work.
Used Nandroid manager (from google play) to flash TWRP because everything else failed.
If you don't have a custom recovery, then you can flash TWRP. I haven't tested the other recoveries on this device.
Go here and download the latest .img file.
Then you will use Nandroid manager to flash that img file. Then select "reboot into recovery".
Now you should have TWRP flashed. In case Nandroid says that you need to download busybox from google play, do that and install it. But CM should have busybox installed already.
Now put the rom zip on the external or internal storage. Boot into recovery, go to the Wipe tab and do a factory reset.
Then go to Install and select the zips you want to flash. This is how you basically flash a rom.
Some roms may require you to do some other stuff. So make sure you check the rom flash instructions.
nandroid is saying ,the file .... can not be flashed by this app , i checked if i was rooted by downloading a root checker and it said yes... what am i doing wrong?
nevermind, i used CWM instead and worked perfectly, couldnt have done it without you!!! Thanks
CWM didn't work for me.
But if it works for you, I guess it's alright
Hi i was about to update my phone and setting it to factory in order to update it to Oxygenos last version since i still using oxygen2 (andoid 5) etc...
I was about to do a twrp backup however i do no thave enought space so i've read on internet that with twrp 3.1+ you can backup directly on pc. I've tryed to update twrp however its not working and not starting the recovery partition. I've read that : (3.0.2-1 and above for OxygenOS 3.x and above) (3.0.2-0 and below for OxygenOS 2.x and below) however i need the updated version to backup directly on pc what can i do? some advice? i've looked for a modified version of twrp 3.1 for oxygenos2 but i did not find it :S
Before you do this, update TWRP via these instructions
https://wiki.lineageos.org/devices/oneplus2/install
skip down to this line "Installing a custom recovery using fastboot" as you do not need to unlock the bootloader as it is already unlocked since you have TWRP already.
Do not make a TWRP backup, It will not be of any use once you move to OxygenOS 3.6.1 since the backup will be of Nouget (android 5). The best way to upgrade would be to follow the steps here http://downloads.oneplus.net/oneplus-2/oneplus_2_oxygenos_3.6.1/
Once you get to step 4, click the "View Instructions for TWRP Recovery" link then you can either dirty flash or clean flash the zip. I would recommend clean flashing, as in do the factory reset as mentioned in the second paragraph under step 4. However, do not directly flash the rom afterward, use the reboot option in TWRP to reboot into recovery then flash the zip.
NOTE: If you want to use Magisk to pass SafetyNet and have root, download the Magisk zip and flash after flashing the rom, or queue it to it flashes right after the OOS rom.
afterward let the phone boot up then do the setup. Once you have completed setup, enable developer settings and enable advanced reboot. use reboot into recovery to boot into TWRP
Now go ahead and make a TWRP Backup, This backup will be your Go-To backup if you want to go back to factory OOS 3.6.1 with the setup completed and Magisk already installed.
Not able to backup
The problem is that the last version of TWRP working on oxygenos2 is 3.0.2-1 and you can not make the backup directly on computer, i've traied toupdate twrp and it does not lounch however with that version of twrp (3.0.2) or before it works that was the point if there was any modified twrp for oxygenos2 and with twrp version 3.1 or higher.
TWRP v3.x.x doesn't work with oxygen 2.
There's no way to boot TWRP v3 without installing oxygen 3.
If you need to backup your files (pictures, videos, WhatsApp messages etc.) you don't need TWRP because it backups only your system and your apps.
So simply attach your phone to your PC and copy all your files.
If you need a copy of your system then you need to free some space on your phone and do a backup with TWRP v2
Hey guys,
So recently I tried a few custom roms and noticed that the steps for all roms are slightly diffferent and that confused. Hence decided to try everything available and come to a easiest step by step conclusion:
Steps :
At the time of writing this guide I was on codeworkx universal TWRP running stock OOS 4.7.6 with Magisk 15.2. But the steps would work from any rom to any rom.
1) Flash codeworx universal TWRp from here : https://goo.gl/yXx2sK
2) Boot into twrp and using your pattern/pin decrypt data, yes thats the good part no matter if you are on stable or custom be it android 7.1.1/8.0/8.1 this recovery is able to decrypt all roms.
3) Make a nandroid backup and copy all contents of your internal storage to a pc/ choose the backup method of your choice.
4) Make sure you have at least 50% battery charged.
5) In twrp go to wipe . format data type yes and tick
6) Reboot to recovery
7) Perform a factory reset also wipe internal storage.
8) While in twrp copy the rom and firmware and gapps to your phone
9) Flash first the firmware if needed by the rom, then flash the rom and then gapps and then dm verity zip if needed by the rom. Wipe cache and dalvik. (note if you are flashing a stock rom please flash magisk and then make the first boot otherwise TWRP will be erased)
10) Boot into rom and set it up
11) Flash magisk or supersu if needed.
Heres a step by step video :
Credits :
@Funk Wizard
@codeworkx
xda developers
lineage os
team twrp
oneplus
Please note : Do this at your own risk. I would not be responsible for any damage.
If I have missed any names please PM me I will ensure i add it.
Why all this codeworx TWRP hype all of the sudden? Bluspark has never let me down yet. What is the difference between the two?
It's good if you add DM verity to the list as "if needed" because certain custom ROMs require it.
I'll be looking at this thread at some point in the future. Thanks.
Anyone followed the above and have comments to make ?
after flash any rom black screen and blue LED
any help
Hi everyone,
I posted this thread in general troubleshooting category and after some advice, I decided to post it in the S4 section.
I was since 3 years on custom ROM (CM and Lineage OS) and due to substratum, I had a bootloop.
My problem is quite particular, after a total clean (wipe and format cache,system,data, dalvik cache) of my device and flashing the stock ROM, custom recovery cause me some trouble.
Whatever I try (CWM touch 6 or TWPR 3.1.1), I can't flash custom ROM (Lineage OS 14.1), TWPR or CWM crash 1 second after the flash command and reboot, with disable touchscreen and even by using old navigation way and try again, same problem.
Tried also to disable file signature check but no effect.
Quick summary about what I did:
- Device: Samsung Galaxy S4 (GT-I9505)
- ROM stock used: I9505XXUHOJ2 ( the build on which is based the CF-Root file I used) and Bulgarian version due to mistake.
- I tried on these two ROM with in the two cases, no patch or Samsung ROM update made.
- Tried to install CWM by ROM Manager and ODIN (v3.09)
- TWPR installed by TWPR App using file in .img and not the second option (tar.img) for LTE Internationnal Qualcomm.
-Checked the root before last attempt with root checker and it was ok.
- Made 4 times already the clean and Stock ROM flash to clean recovery and try another way to install it (never had error after recovery install).
Actually I'm on the OJ2 Rom with update and patch delivered by Samsung with classic method.
In advance thanks for your help and I really hope it's not too serious.
By the way, sorry for my english, it's not my native language
Try flashing the stock ROM from sammobile.com or updato.com, don't root, use Odin 3.07 to flash the tar version of TWRP 2.8.7, try flashing a custom ROM.
Thx for the help/advice
Just to be sure, my stock ROM is actually from up updato.com but due to the patch and Samsung update I'm now on HPK2.
Here the detail of my stock ROM
https://image.noelshack.com/fichiers/2018/05/4/1517503670-screenshot-2018-02-01-17-43-00.png
(the integrated image link option made it as large as the moon so I prefer a simple link)
TWPR 2.8.7 is still efficient or another version would be better ?
If yes, I will try in the hour and I will give you news as soon as possible
EDIT: After some research, TWPR 2.8.7 jfltexx is not avaible in .tar , only .img and impossible to find it on net...
But 2.8.6 and 2.8.4 are avaible in .tar and 3.0.0 in .img.tar , which one is the best ?
I suggested 2.8.7 because Ihave used it in the past and it was very stable. Try a newer tar version. It's really just to see if the phone will take TWRP and boot it.
Whatever I try (TWRP 3.0.0 and 3.0.1 in .img.tar for jlftexx)
Odin (v3.07) do the job , my phone reboot as normal.
But when I shutdown it and lauch in recovery by manual way, got during a micro seconds the android logo of loading and intant "No commands " and I end on the stock recovery.
Edit: I will try the same method with Odin using CWM tar (never had problem with it before this day)
Same thing with CWM-v6.0.4.7-Touch-GT-I9505.tar
Android loading logo and "No command detected"
Problem solved
Well, I don't know how I made a sucess but it seems the "wild" method worked.
So here is the list of things I did in case somepne got the same trouble
Put your Zip file on SD AND Internal Memory (in case)
All the Zip files I used where on my internal storage during this procedure.
- Download mode:
uncheck Auto Reboot in Odin
flash TWRP3.0.1.0 jlftexx.img.tar with ODIN in admin mode
turn off device after flash ended
Obligation or the stock recovery will return automatically !
Lauch device in recovery mode:
If it's TWRP good news, slide to confirm modifications.
Recovery mode:
-Wipe --> Advanced Wipe--> Select Cache, Dalvik Cache, Sytem and Data (never check internal and SD storage)
I tried by mistake without wiping dalvik cache, and got no boot after 5 minutes so i made it again with all the wipe above
-Install --> Flash zip of the rom and Gapps (got an error at zip signature check on the ROM so I flashed after uncheck this option)
-Reboot --> System
Let your device launch on the new rom, set the basic parameters and after, if you want, return in recovery to flash the SU addon for root (got also zip sugnature fail so I ahd to uncheck it again)
Hoping no one will ever had the same problem but in case, I share my solution
Thanks again for help
I got Magisk with a bunch of modules, twrp recovery and I want to update to latest MIUI. Are these correct steps I need to do in order to update without loss of any data. I wrote most of this down when I rooted the phone when I got it, everything else I looked up before posting.
- full twrp backup
- Do I need to backup Magisk modules, if so, how?
- download latest rom. Is there an official or trusted source for the image?
- go to twrp and wipe cache and dalvik, flash the rom and then flash magisk
-If you get a compatibility error when flashing the rom just delete from the rom zip the file compatibility.zip
I really don't wanna open the back of my phone in order to unbrick it. What is the most frequent way the brick happens anyways?