I found out how to root it and i want to do so but i also want a choice to restore it to Factory Settings
I got a OnePlus X E1005 and i want to unlock the bootloader
(I know you go into dev settings and then allow OEM Bootloader unlock then [adb oem unlock])
But i want to know if i can do something like (adb oem lock) to lock bootloader
I also want to flash the TWRP also so i wonder were can i get the stock recovery or if there is a way to get it my self (I haven't did it yet the flashing)
I need root but KingRoot dont work for me
(Onyx OnePlus X E1005 North America [Carrier:Rogers] [Canada])
I want to keep my partitions
here you go
https://forums.oneplus.net/threads/...om-recovery-root-take-efs-backup-more.401713/
LiteGaming said:
I found out how to root it and i want to do so but i also want a choice to restore it to Factory Settings ....
More simple manner :
Install twrp-2.8.7.0-onyx_f2fs_r4.img
Boot in TWRP
Wipe Cache / Wipe Dalvik Cache / Wipe data
Flash OnePlusOxygen_14_OTA_005_all_201511232152.zip
And if you want more :
Wipe Cache / Wipe Dalvik Cache
Flash OnePlusOxygen_14_OTA_005-006_patch_201511301941.zip
Wipe Cache / Wipe Dalvik Cache
Reboot ...
Flash BETA-SuperSU-v2.52.zip
Reboot ...
Flash Marshmallow-bootanimation-flashable-1080p.zip ...
There will be OxygenOS 2.1.3 x with root.
Click to expand...
Click to collapse
Related
I bricked my phone. So i followed gizmochina unbrick tutorial flashing Chinese rom and now neither can i update to any new rom(#update error) or flash(#can't mount cust error). Can anyone link me to a system and boot nandroid backup file to download for x821. Or any other solution?
Heyyo,
1. Use a PC to download TWRP
2. Reboot to bootloader
3. Fastboot boot TWRP.img
4. Format data (not wipe data, format data there's a separate button for it... Please be aware it will remove all pictures, music etc from the le max 2 so be sure you have it all backed up.
5. Wipe system, Dalvik and cache
6. Install other ROM with TWRP be it EUI ROM or custom ROM.
7. Reboot
I did install twrp and tried flashing stock and custom roms but showing mouting /cust failed.
Guys I need root but don't want to lose data and internal storage so my question is this
With unlocked bootloader if I flash twrp after wiping just cache and dalvik and then immediately flash magisk or maybe reboot to recovery and flash magisk, will my data remain as it is and will I get root.
I understood I will lose twrp on first boot.
sanjay0501 said:
Guys I need root but don't want to lose data and internal storage so my question is this
With unlocked bootloader if I flash twrp after wiping just cache and dalvik and then immediately flash magisk or maybe reboot to recovery and flash magisk, will my data remain as it is and will I get root.
I understood I will lose twrp on first boot.
Click to expand...
Click to collapse
No data will not be deleted but you will need to flash lazy flasher after that in order to boot properly. But i would suggest wait for a stable twrp recovery or official twrp ?
CluelessO.o said:
No data will not be deleted but you will need to flash lazy flasher after that in order to boot properly. But i would suggest wait for a stable twrp recovery or official twrp
Click to expand...
Click to collapse
Thanks. Don't want to risk data being erased so will wait
sanjay0501 said:
Thanks. Don't want to risk data being erased so will wait
Click to expand...
Click to collapse
Magisk or twrp doesn't delete your data ? since you have already unlocked your bootloader .
CluelessO.o said:
Magisk or twrp doesn't delete your data since you have already unlocked your bootloader .
Click to expand...
Click to collapse
Agreed, but to the best of my knowledge we have to flash FDE and then format everything fir twrp to stick. Not sure about root though, that's why asking. Prepared to lose twrp if I can retain root without losing data.
First install twrp and format everything.. then reboot
It wl encrypt data automatically. Again flash twrp and then format then install force encryption zip and then install magisk. BOOM!
You get ua recovery n root too.
my poco F1 will be arriving soon. 1st thing i'll do is install this ROM! just want to clarify a few things before i go ahead - so i don't mess things up... is this right, do i need to add any more steps (or even lose some)
1. unlock bootloader
2. install latest twrp with decryption
3. flash developer MIUI? (pretty sure i've read this is required coming from stable)
4. wipe everything
5. flash LOS
6. flash magisk
have i missed anything? is developer MIUI any beta version?
sorry for noobish questions, it's been a while since i've flashed anything!!!
from someone elses comment in another thread...
'I started from stable miui: unlock bootloader, flash recovery vasishath, reboot in twrp, wipe cache, dalvik, system and data, flash rom, gapps, magisk, wipe dalvik / cache, reboot system'
may help someone else too
reg66 said:
my poco F1 will be arriving soon. 1st thing i'll do is install this ROM! just want to clarify a few things before i go ahead - so i don't mess things up... is this right, do i need to add any more steps (or even lose some)
1. unlock bootloader
2. install latest twrp with decryption
3. flash developer MIUI? (pretty sure i've read this is required coming from stable)
4. wipe everything
5. flash LOS
6. flash magisk
have i missed anything? is developer MIUI any beta version?
sorry for noobish questions, it's been a while since i've flashed anything!!!
Click to expand...
Click to collapse
You dont have to flash developer miui after installing twrp just wipe
good evening, how can I flash a rom nougat?
I currently have the rom havoc.
I come from miui 10 stable
I unlock my bootloader
officially.
Thank you
char971 said:
good evening, how can I flash a rom nougat?
I currently have the rom havoc.
I come from miui 10 stable
I unlock my bootloader
officially.
Thank you
Click to expand...
Click to collapse
First Format data.
Type yes to format.
Then Wipe data reset
Flash nogat rom zip
Flash nougat gapps
Reboot
Black_Stark said:
First Format data.
Type yes to format.
Then Wipe data reset
Flash nogat rom zip
Flash nougat gapps
Reboot
Click to expand...
Click to collapse
Thank you very much for you quick response :good:, I will do what you suggest , and i will report results.
The method would be the same as flashing Havoc OS.
- Boot into TWRP (hold power + volume up)
- Wipe Data, Cache and Dalvik (I also wipe system, but it's not always mentionned to do so)
- Flash the latest firmware https://xiaomifirmwareupdater.com/#stable (optionnal, you should already have a good enough firmware since you had Miui 10 before)
- Flash the ZIP file of the Nougat ROM of your choice
- Flash GApps
- Reboot phone
After that if you wish you can flash Magisk for root and other Kernels.
BigBlarg said:
The method would be the same as flashing Havoc OS.
- Boot into TWRP (hold power + volume up)
- Wipe Data, Cache and Dalvik (I also wipe system, but it's not always mentionned to do so)
- Flash the latest firmware https://xiaomifirmwareupdater.com/#stable (optionnal, you should already have a good enough firmware since you had Miui 10 before)
- Flash the ZIP file of the Nougat ROM of your choice
- Flash GApps
- Reboot phone
After that if you wish you can flash Magisk for root and other Kernels.
Click to expand...
Click to collapse
thanks for your suggestion, I will be trying your methods and I will be informing
*Urgent* Need clarifications regarding the flashing of TWRP recovery & custom ROMs
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:
1. After unlocking the bootloader, is it necessary to flash TWRP recovery using 'fastboot flash recovery' cmd command, to flash a custom ROM? Or can TWRP recovery just be booted by using the 'fastboot boot' cmd command & then flash the ROM? (This is because I'd prefer to flash a custom ROM without permanently flashing TWRP recovery, I want TWRP temporarily)
2. In case if it's necessary to flash TWRP using 'fastboot flash recovery' cmd command, then do I have to flash DFE (Disable Force Encryption). Can I skip flashing DFE? (Because I don't want to flash DFE & want TWRP temporarily)
3. I want a clean install of the custom ROM. So, can I wipe Dalvilk/ART cache, Data, System, Cache, Internal Storage, SDCard? i.e. everything except, USBOTG (Because, the custom ROM & firmware ZIP files are stored in it & I'll flash them from USB OTG device).
Would this type of wiping affect the TWRP recovery?
4. After wiping everything except USBOTG, can the custom ROM & firmware ZIP files be transferred into the phone's internal storage by connecting it to the PC, while in TWRP recovery?
5. Is it safe to flash the ZIP files from a USB OTG device?
6. As I already mentioned that I want TWRP temporarily (If it's possible). After flashing the firmware & custom ROM. If the recovery is still a stock Mi recovery. Would it affect the functioning of the custom ROM in any way?
If all of the above can be done, is this one of the proper way to flash/boot TWRP recovery & flash a custom ROM? If not, please guide me accordingly.
imegsp said:
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:.
Click to expand...
Click to collapse
i'm no expert and i'm fairly new to flashing if you're kind enough to read it here's my 2cents.
1) I believe it is necessary to flash with that command & have TWRP as your custom recovery , it is packed with powerful tools. so i don't see a problem not wanting it permanently and it saves you the hassle of flashing it again when changing roms , fixes,etc..
2) Yes , you need to flash the DFE so you won't encounter any errors in TWRP later.
3) " Dalvilk/ART cache, Data, System, Cache " this should be okay , no need to flash everything. for best practices do a factory wipe in TWRP and in advanced mode wipe those 4. make sure to create a backup in-case something goes wrong.
4) I haven't tried this yet , but it seems not doable as you need permission in the phone for the default USB connection toggle if it's in data transfer mode , usb debuggin , charging etc. best is boot your phone then do the transfer in file manager.
5) Yes it is safe since OTG is another form of External Data devices such as SD Card , etc.
6) No it wouldn't affect the rom functionality since rom and recovery is two different thing.. but still , to avoide future mishaps stick with TWRP
you can check this helpful link by madsponge26 : https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
imegsp said:
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:
1. After unlocking the bootloader, is it necessary to flash TWRP recovery using 'fastboot flash recovery' cmd command, to flash a custom ROM? Or can TWRP recovery just be booted by using the 'fastboot boot' cmd command & then flash the ROM? (This is because I'd prefer to flash a custom ROM without permanently flashing TWRP recovery, I want TWRP temporarily)
2. In case if it's necessary to flash TWRP using 'fastboot flash recovery' cmd command, then do I have to flash DFE (Disable Force Encryption). Can I skip flashing DFE? (Because I don't want to flash DFE & want TWRP temporarily)
3. I want a clean install of the custom ROM. So, can I wipe Dalvilk/ART cache, Data, System, Cache, Internal Storage, SDCard? i.e. everything except, USBOTG (Because, the custom ROM & firmware ZIP files are stored in it & I'll flash them from USB OTG device).
Would this type of wiping affect the TWRP recovery?
4. After wiping everything except USBOTG, can the custom ROM & firmware ZIP files be transferred into the phone's internal storage by connecting it to the PC, while in TWRP recovery?
5. Is it safe to flash the ZIP files from a USB OTG device?
6. As I already mentioned that I want TWRP temporarily (If it's possible). After flashing the firmware & custom ROM. If the recovery is still a stock Mi recovery. Would it affect the functioning of the custom ROM in any way?
If all of the above can be done, is this one of the proper way to flash/boot TWRP recovery & flash a custom ROM? If not, please guide me accordingly.
Click to expand...
Click to collapse
1. if you always want to depend on PC to trigger your Poco in to recovery then use command "fastboot boot recovery.img", otherwise lets say you are on the move and got pixel update! you can simply download it , and flash it in 15 mins on the go , so mainly its upto you . from security point of view, yes its not good to have twrp flashedi n your /recovery , anyone can boot and do harm! , so its a judgement call for you...
2. again upto you, DFE wont interfere/confilt with either rom or twrp
3. android device have various paritition wiping "/system" & "/data" (user setting and apps & appdata) is ENOUGH and called CLEAN FLASHING in various threads of custom roms. you don't have to wipe internal storage!!! you will lose you data... BUT YES if you get encryption error then you must click "FORMAT DATA" button on twrp in order to make storage usable/accessable to twrp. this FORMAT DATA will format your /data /system and /internalStorage partitions and you will delete all your data! then you can flash custom rom of your choice from scratch
4. you don't get access of TWRP FILEMANAGER via fastboot commands from pc, BUT you can do similar by enableing TWRP SIDELOAD option under settings, this adb sideload is a mode listening for new incoming file to flash! if you side load pixelrom.zip from fastboot command while your twrp has active sideload waiting, fastboot will start sending the file and twrp will wait and as soon as the transmit is completed! the file will automatically be flashed!. ,
however you can put files in usbotg drive or combo drive and using file manager in twrp move files from HERE to THERE!
5. I always do it!, but make sure the connection is not faulty!!! otherwise high chances of incomplete flashing and I lost my redmi3i due to impcomplete flashing of stable rom! (bricked)
6. no it wont affect! infact you can even keep the /recovery partition blank! ( fastboot erase recovery).
for MIUI FLASHING/ROOTING / Disabling force encryption etc , this post is king
https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
I am on HAVOC2.8 and this is how i did it
1. flashed TWRP 3.3.1 unofficial (download it from HERE ) ref Reference - as official twrp has TOUCH driver issues. this one worked with me very well
2. I wiped /data, /system then
3. flashed VENDOR.zip from HERE
4. FLASHED CUSTOM ROM (i use HAVOC2.8)
5. FLASHED DFE HERE - REFERENCE
6. FLASHED GOOGLE APPS ( GAPPS.ORG) ( ARM64>9.0MicroPackage)
7. Flash Optimus Drunk Kernel ( OPTIONAL- havoc uses shadow kernel , i feel OD kernel is better, battery and 4g connectivity)
8. FLASHING MAGISK19.3
9. when i was on havoc2.7, by using MIGRATE, it made flashable zip of my APPS+DATA, stored in internalStorage, and now I will FLASH that file., Mine size goes to 2gb you can get it from HERE
10. WIPE CACHE/DELVIK
11. REBOOT
fire reboot may go in to bootloop and then second reboot may take a while and finally you should see Pixel Setup asking google accounts and info etc
once after you finish setup! don't RESTORE APPS from PLAYSTORE, (download only license apk, in my case I have purchases many apps from playstore and saperate license info is always appear in intial setup! SELECT THOSE ONLY)
ONCE playstore is DONE downloading all your selected (fewer) apps, and MAGISK ROOT is working...... put device on AIRPLANE MODE
FROM DROP DOWN Notification panel, CLICK MIGRATE, and it will prompt you what do you wana restore from your previouce ROM to newly flashed HAVOC ..APPS+SETTINGS+PERMISSION+DATA etc - migrate restoration may take upto 30 mins,
once done, uninstall from system and reboot device!
REMEMBER I DONOT RECOMEND MIGRATE TRICK FOR WHATSAPP, it doesn't work properly and NOTIFICATION ISSUES with BLANK DP observed by me whenever I forcely re-instated whatsapp by migrate!