[Q] Modified system partition... cant upgrade to marshmallow - One (M9+) General

So i have a modified system partition... Cleanslate rom to be specific...
Lost twrp backup of my original system partition in a hdd crash and im s-on
Is there a way i can flash aur restore unmodified system partition... like flashing system.img from fastboot or restoring someone elses twrp backup?
Or do i have to wait for a rom update for cleanslate?
Thanks for the help

Related

[Q] Lost System.img d801

I accidentally deleted the system partition before I was able to make a nandroid backup. Where can I find a system.img file?

[Q] custom recovery location in the file system

I found a collection of bin files for the stock 24a partitions and after overwriting the "recovery" partition twrp is still installed.
Which partition do I have to overwrite with stock to clear out TWRP?
Or a simpler question, Where in the file-system is TWRP located?

Flashed Android N OTA, Can i Restore Back Using TWRP Backup

Hii
I have flashed OTA zip of Android N Preview.
So my question is whether i can restore my TWRP Backup of Pure Nexus ROM to get back.
I have backed up the everything from TWRP like
Data
System
System Image
Boot
Vendor
Vendor Image.
So if its possible to restore using TWRP backup of Pure Nexus ROM that i took earlier .
what partitions do i need to restore to get back properly .
Do i need to restore
Boot , System & Data partitions to get back to Pure Nexus ROM or all partitions including System Image, Vendor image
Did you flag thru TWRP? of so did you flag modified boot IMG or kernel? To my knowledge that had to be done before rebooting into system.
To be able to restore TWRP. Also 3.0.0.0 is nor playing nice with new version so TWRP 3.0.0.1 has been released
StariX37 said:
Hii
I have flashed OTA zip of Android N Preview.
So my question is whether i can restore my TWRP Backup of Pure Nexus ROM to get back.
I have backed up the everything from TWRP like
Data
System
System Image
Boot
Vendor
Vendor Image.
So if its possible to restore using TWRP backup of Pure Nexus ROM that i took earlier .
what partitions do i need to restore to get back properly .
Do i need to restore
Boot , System & Data partitions to get back to Pure Nexus ROM or all partitions including System Image, Vendor image
Click to expand...
Click to collapse
You don't need to backup system image or vendor image, so don't worry about those in future, and definitely don't restore them. You should be fine with just restoring boot, system, data, and vendor.
Ok i flashed the Android N preview Manually using fastboot.after that flashed Modified Boot.img
flashed TWRP by Rom Racer v 3.0.0-1
Booted into twrp successfully without any problem & formatted Data Partition.
Used Android N preview for an hour or so and found that it cant be used as daily driver and also found that i couldnt live without Dt2w,s2s, xposed,root . So then reverted back to Dirty Unicorns ROM using TWRP backup that i made earlier.
So the process i followed to restore back :
Boot into TWRP
Wipe Dalvik, Data, System, Cache partitions.
flashed an older Vendor image zip of Android Marshmallow through TWRP
Restored the TWRP backup of Dirty Unicorn ROM.
And successfully reverted back to the ROM i was using earlier.

system partition has unexpected contents

Hey I have tried to flash lineage os by grarak with no success. I am currently on android 7(test key) if I use twrp 3.0.2 phone gets stuck at patching system unconditionally, with twrp 3.0.3 I got this message system partition has unexpected contents after ota update, so I wiped system, change system format (in hope that I will pass this message) still wasn't able to flash it. Is there any way to solve this? It's possible that system partition is smaller than rom system?

Wifi Wi-Fi is broken after restore backup data and system with TRWP, solutions?

hi guys
after restoring twrp backup (data and system)
WIFI is broken, no way to make it work again, even restoring persist backup from twrp or flashing the original persist
not either deleting file contect of wifi_mac.bin in root/persist
does anyone know how to make wifi working again after TWRP restore of data and system?
differently TWRP is totally useless for backup in Mi A2 at the current state.
Espmic86 said:
hi guys
after restoring twrp backup (data and system)
WIFI is broken, no way to make it work again, even restoring persist backup from twrp or flashing the original persist
not either deleting file contect of wifi_mac.bin in root/persist
does anyone know how to make wifi working again after TWRP restore of data and system?
differently TWRP is totally useless for backup in Mi A2 at the current state.
Click to expand...
Click to collapse
flash the original boot.img from the same system version installed in your device.
If V9.6.15.0.ODIMIFE, download the same OTA image version package, unzip it, get only boot.img and use fastboot to flash it into your device.
fastboot flash boot_b boot.img
fastboot flash boot_a boot.img
I hope this works
Espmic86 said:
hi guys
after restoring twrp backup (data and system)
WIFI is broken, no way to make it work again, even restoring persist backup from twrp or flashing the original persist
not either deleting file contect of wifi_mac.bin in root/persist
does anyone know how to make wifi working again after TWRP restore of data and system?
differently TWRP is totally useless for backup in Mi A2 at the current state.
Click to expand...
Click to collapse
Flash this kernel from temp twrp. https://forum.xda-developers.com/mi-a2/development/kernel-hex-t3855773
It worked for me.
Tnx man. After flash kernel magisk doesn work.
How do i reinstall magisk now? You Need the "patch boot Image" method in order to support OTA. But boot Image now is not stock, cause It s updated with the new kernel so i cant use the official boot.img , should extract the new One from My device? How?
Or should i flash magisk 17.1 from TWRP? But still cant, because TWRP install s It in Active slot offline TWRP (at the moment) and not in the needed boot partition.
****, help It s getting too annoying ahahah
Espmic86 said:
Tnx man. After flash kernel magisk doesn work.
How do i reinstall magisk now? You Need the "patch boot Image" method in order to support OTA. But boot Image now is not stock, cause It s updated with the new kernel so i cant use the official boot.img , should extract the new One from My device? How?
Or should i flash magisk 17.1 from TWRP? But still cant, because TWRP install s It in Active slot offline TWRP (at the moment) and not in the needed boot partition.
****, help It s getting too annoying ahahah
Click to expand...
Click to collapse
Download the magisk zip and boot into twrp and just flash it. You can switch the partitions in twrp and flash magisk. Just don't reboot twrp after switching the partitions.The latest twrp from Tingyichen can be downloaded from this thread.
https://forum.xda-developers.com/mi-a2/development/recovery-unofficial-twrp-recovery-mi-a2-t3825146
the command is fastboot boot twrp-3.2.3-jasmine-20181020.img and it goes straight into twrp with no flashing required.
booting directly in twrp with command and without flashing it in any partion caused me bootloop and data wipe, also have read this in another thread (twrp one)
Did you use the latest one from 20/10?

Categories

Resources