i want to update my firmware to b138
now i am using oxygen r1 latest
before oxygen i was using stock rom sp16
so can i update to b138
or is should wipe oxygen before update and then i should install oxygen
if yes then what's the procedure anyone can explain please..........
First of all make a backup of your apps with titanium backup its free.
Than go to the recovery and wipe data+cache.
Than go to the advanced menu and wipe the dalvik cache.
Then go back and install the rom
Sent from my Huawei u8800 using XDA App
I did it just today.
I've backup oxygen rom, then I copied the dload folder of B138 on sdcard and reboot to bootloader, wait to flash B138.
Then after B138 booted, I get root again, replaced official with custom recovery.img again and restore the oxygen backup.
And all work fine as before the update.
dancer_69 said:
I did it just today.
I've backup oxygen rom, then I copied the dload folder of B138 on sdcard and reboot to bootloader, wait to flash B138.
Then after B138 booted, I get root again, replaced official with custom recovery.img again and restore the oxygen backup.
And all work fine as before the update.
Click to expand...
Click to collapse
how about doing in this order?
(1) enter recovery, backup
(2) put B138 dload folder in sdcard and boot to bootloader, wait for B138 to flash
(3) remove dload folder from sdcard and boot to bootloader
(4) connect to pc and replace custom recovery.img
(5) disconnect from pc, take battery out and reinsert, boot to recovery
(6) restore backup
by doing so, no root is needed..
i just wonder, whats the gain of doing so?
since the B138 rom itself did not stay, is it just for the possible firmware updates included in B138?
if yes, what are actually updated?
(as i cannot find any change log from huawei.. and apparently these guys from china are good at technical but poor in documentation.. )
I think needed root rights for recovery to have write access to device' s partitions.
And the custom roms replace the system and boot.img only. There are some other parts that custom roms don't touch them. So the official rom update these parts too.
Related
By mistake i wiped the whole device..
Like system, sd etc etc...
So I can just book in Twpr recovery and fastboot
Would you help me to restore stock ROM?
Thanks
Download the full OxygenOS 2.1 stock rom from here: http://forum.xda-developers.com/showpost.php?p=62956278&postcount=94 copy it onto your phone while in recovery, then just flash and you should be good to go.
Hello tanks
But how can I access the phone in recovery ?
Sideload ? Or it should be within my explorer ?
I was rooted and unlocked, I downloaded the update, flashed stock recovery then selected install local update in the updater app. After installing the phone boots to the Huawei logo, then reboots and gets stuck at the the same logo.
I have a TWRP backup so can get back to B170, does anyone know how I can update without getting stuck at boot?
I have the same problème...
beardedwonder said:
I was rooted and unlocked, I downloaded the update, flashed stock recovery then selected install local update in the updater app. After installing the phone boots to the Huawei logo, then reboots and gets stuck at the the same logo.
I have a TWRP backup so can get back to B170, does anyone know how I can update without getting stuck at boot?
Click to expand...
Click to collapse
Are you sure you installed again a stock recovery?
You need a stock recovery for ota updates.
May try download the full rom and unzip it on your pc. The full rom is almost 2 GB.Copy the update file in
the dload folder on your sdcard. The dload folder should be on top lvl of sdcard.
Switch on the p8 pressing volume+,volume- and power buttom at same time till it vibrates. Now the installation should work.
But after this root is gone
I did revert to stock recovery before updating. I have tried both the incremental update and the full update.
Have managed to update. I downloaded the full update and put it on my external SD card. Backed up with titanium backup, then nandroid backup in TWRP.
Switched to stock recovery, ran local update from the updater app and the new version installed with no data loss.
Then flashed TWRP and rooted.
I have reverted back to MIUI 8(8.0.3 malmidg),for some reasons,but I was unable to install the OTA for 8.0.8.0 via twrp.so I mounted the system part read only in twrp and installed mi land recovery available in mi forum...Now when I am installing OTA it shows "Installing MIUI update",but nothing updates.Pls help me to solve this problem..any one here with same problem??pls reply how you recovered..Thanx.
yea for some reason installing OTA's even with fireflash is a issue, id like to install otas on my stock miui v8 weekly with root and unlocked BL
first, you should have 2 things:
1. Stock recovery.img, (taken from fastboot rom)
2. Stock Rom (Stable/ Dev)
How To:
1. Copy it to internal storage
2. Go to TWRP, wipe system, data, cache, and dalvik/art cache.
3. Flash Stock Rom and then reboot.
4. @ home, reboot to recovery again (go to updater app to do this), after on TWRP, flash stock recovery, then reboot again to system.
5. @ home, goes to updater, flash again stock rom with it. (open option, choose choose update package)
6. Well, you should have OTA right now.
It works on mine.
Redmi 3x, China Dev 6.11.17
gandrigoes said:
first, you should have 2 things:
1. Stock recovery.img, (taken from fastboot rom)
2. Stock Rom (Stable/ Dev)
How To:
1. Copy it to internal storage
2. Go to TWRP, wipe system, data, cache, and dalvik/art cache.
3. Flash Stock Rom and then reboot.
4. @ home, reboot to recovery again (go to updater app to do this), after on TWRP, flash stock recovery, then reboot again to system.
5. @ home, goes to updater, flash again stock rom with it. (open option, choose choose update package)
6. Well, you should have OTA right now.
It works on mine.
Redmi 3x, China Dev 6.11.17
Click to expand...
Click to collapse
many thanks for this info. I have been searching for this proper steps. will this this process re lock bootloader? what if I want twrp back as recovery? what to do then?
nafeesdipta said:
many thanks for this info. I have been searching for this proper steps. will this this process re lock bootloader? what if I want twrp back as recovery? what to do then?
Click to expand...
Click to collapse
Once you unlock the bootloader, it stays unlocked. I've switched back and forth between MIUI, CM13 and RR but my bootloader was never locked.
nafeesdipta said:
many thanks for this info. I have been searching for this proper steps. will this this process re lock bootloader? what if I want twrp back as recovery? what to do then?
Click to expand...
Click to collapse
Better stay at china dev, it has native root. So if you want to get twrp, root, than flash twrp.img via flashify.
Or, if on global/stable, flash twrp via fastboot
Sent from my Redmi 3X using Tapatalk
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
You need to do this if you've flashed an Oreo 8.1 ROM and find that you can't get back to OOS because...
The ROM can't read /data so it hangs on the boot animation or reboots to recovery, even on a clean flash.
TWRP won't recognize your PIN/password or "default_password".
You've tried re-formatting /data from TWRP several times and it doesn't solve your problem.
Here is how to get back to 100% stock and/or restore factory encryption, which is different than Oreo 8.1 encryption:
1. Back up /sdcard to your PC as it will be erased with all of your files, pictures, music, etc.
2. Flash the stock recovery from bootloader.
Code:
fastboot flash recovery [I]stock_recovery.img[/I]
Latest OOS official stock recovery
Latest OOS beta stock recovery
3. Restore system setting in recovery.
This step is necessary to restore factory formatting and encryption of /data.
If a password/PIN is set, click “I forgot my password.”
Boot into stock recovery. Once there, go to Wipe data and cache > Reset system setting and Erase everything(Music, pics, etc.).
Note: If you don't do the "Erase everything..." option, factory encryption will not be reset.
4. Boot TWRP from bootloader.
You could flash TWRP and reboot to recovery, but TWRP will get overwritten with the stock recovery when OOS boots anyway. It's faster just to boot TWRP from a command prompt. Use the command:
Code:
fastboot boot [I]twrp-recovery.img[/I]
I recommend using using:
[RECOVERY][dumpling] TWRP 3.2.1-0 for Oreo (8.0 and 8.1) by codeworkx
5. While in TWRP, move “OOS...ROM.zip” to the SD card.
In Windows File Explorer, copy OOS...ROM.zip to the device.
Alternately, you may use the following ADB command from a command prompt
Code:
adb push [I]OOS...ROM.zip[/I] /sdcard/
Since OOS is a very large file (1.6GB), this will take 5-10 minutes.
Latest OOS signed flashable zip
Latest OOS beta (Oreo) flashable zip
6. Flash OOS...ROM.zip from TWRP.
7. Reboot system.
Your device will be formatted, encrypted and loaded with the stock recovery and ROM as it came from the factory. You may need to find the OOS...ROM.zip you pushed to /sdcard and delete it from emulated storage (/storage/emulated) if you don't see it at /sdcard after booting the ROM.
8. Optional: To re-lock your your bootloader, follow these additional steps:
This can only be done from a factory-supplied OOS ROM (including Oreo) with no modifications or the phone will not boot!
Enable USB debugging under Developer options.
Reboot to bootloader.
Unlock the bootloader with the following command:
Code:
fastboot oem lock
Return to Developer options and turn off "OEM unlocking"
Thank you for the write up .. nicely done :good:
Sent from my OnePlus5T using XDA Labs
It gave me an error 1 in TWRP. I had to do the following:
1) Make sure the bootloader remains unlocked
2) Back your apps up in TitaniumBackup
3) Back your /sdcard partition up on your computer so you don't lose anything
4) Reflash stock recovery in the bootloader
5) Boot into stock recovery and hit "forgot password" when it asks for your lock code
6) Boot back into bootloader and reflash TWRP
7) Place stock OOS zip onto the /sdcard partition
8) While you're in TWRP, flash stock recovery through its image flasher then reboot into recovery
9) Flash stock OOS, reboot, and then mod however you want
Click to expand...
Click to collapse
blackknightavalon said:
It gave me an error 1 in TWRP. I had to do the following:
Click to expand...
Click to collapse
Will in 9th last step restoring from nandroid OB-1 work ?
It should I guess
Sent from my ONEPLUS A5010 using Tapatalk
Bump!
I made a big update to the OP today with more explanation, more detail and download links.
Thanks buddy, that tutorial worked perfectly!
The other way is to flash rollback image to Nougat in stock recovery.
https://goo.gl/YRyrt6
there are no other ways to revert back to stock OOS without affecting internal sd /sdcard ?
thanks for the guide above.
Ok I'm a bit Rusty. Flash from bootloader? Meaning adb? Then adb TWRP then boot to TWRP then flash stock room(s)?
Ippolito1971 said:
Ok I'm a bit Rusty. Flash from bootloader? Meaning adb? Then adb TWRP then boot to TWRP then flash stock room(s)?
Click to expand...
Click to collapse
Please do not quote the whole OP just to get someone's attention. A mention (@the Doctor) would suffice.
To answer your question, flash the stock recovery with the fastboot command:
Code:
fastboot flash recovery [I]stock_recovery.img[/I]
The only ADB command involved is "push" to get the ROM onto the sdcard in step 5.
Thx @the Doctor. My apologies.
Thanks for the writeup, I'll probably try soon and report back.
Thanks for this, may need it. Plan to flash DU 8.1 tomorrow. So you can't just restore an ob1 or ob2 nandroid from a custom ROM?
tcat007 said:
Thanks for this, may need it. Plan to flash DU 8.1 tomorrow. So you can't just restore an ob1 or ob2 nandroid from a custom ROM?
Click to expand...
Click to collapse
You can, but TWRP will not recognize your PIN or password while in OOS, so you'll have to set lockscreen security to none or swipe. Or you could do the procedure in the OP, then restore only data from your nandroid. You'll have to re-flash Magisk or any other mods after that.
I don't use a pin for backups or restores. Since I seem to have to format internal storage to get a custom ROM to boot, was just wondering if restore of oos nandroid works once on DU.
Sent from my OnePlus5T using XDA Labs
hello thanks for the guide just did this when i boot i cant connect to any wifi network thanks
How can I get my wifi back after reverting to 4.7.6? Ive tried EFS backup and everything possible but the only way to get wifi back is to flash an Oreo zip.
forty9er said:
hello thanks for the guide just did this when i boot i cant connect to any wifi network thanks
Click to expand...
Click to collapse
Did you restore to 4.7.6 or Oreo Beta 1/2?
Dazed No More said:
How can I get my wifi back after reverting to 4.7.6? Ive tried EFS backup and everything possible but the only way to get wifi back is to flash an Oreo zip.
Click to expand...
Click to collapse
Have you flashed OOS Oreo Beta? My theory is that the firmware won't downgrade back to OOS 4.7.6, but I'm not sure. I've only restored back to OOS OB1/2, and wifi has worked perfectly every time.
the Doctor said:
Did you restore to 4.7.6 or Oreo Beta 1/2?
Have you flashed OOS Oreo Beta? My theory is that the firmware won't downgrade back to OOS 4.7.6, but I'm not sure. I've only restored back to OOS OB1/2, and wifi has worked perfectly every time.
Click to expand...
Click to collapse
Flashing Oreo beta is the only way to get it back as myself and others have found in the thread that was started on the subject. I hadn't seen that initially when I posted in here.
I was hopeful that following your method to a T would get me my wifi back on 4.7.6 but it wasn't meant to be. Absolutely nothing I have tried in the last 24 hours has worked to get it working on 4.7.6 including multiple clean and dirty flashes of the full 4.7.6 zip, twrp, stock recovery, restoring multiple backups, restoring EFS, factory reset, wipes, etc.
You might want to add that to the OP that if you revert to 4.7.6 that wifi will not work.
Dazed No More said:
You might want to add that to the OP that if you revert to 4.7.6 that wifi will not work.
Click to expand...
Click to collapse
Thank you, and done. :good: