[ROM][9.0] Android Open Source Illusion Project [Pre-OFFICIAL] - Huawei P20 Pro ROMs, Kernels, Recoveries, & Other

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Android Open Source illusion Project
What is this?
AOSiP is a quality custom ROM based purely on Google AOSP source since 6.0 release. Twisted with the latest features and blended with stability. We strive for perfection and it shows.
Whats working?
Wifi
RIL
Mobile data
GPS
Camera
Flashlight
Camcorder
Bluetooth
Fingerprint reader
NFC
Lights
Sound / vibration
Known issues
VoLTE/IMS not working
Downloads:
AOSiP
TWRP (use latest version)
GApps
Source Code:
[url]https://github.com/AOSiP-Devices/device_huawei_kirin970-common[/URL]
[url]https://github.com/AOSiP-Devices/device_huawei_berkeley[/URL]
[url]https://github.com/AOSiP-Devices/vendor_huawei[/URL]
Team Illusion:
Josh Fox (xlxfoxxlx)
Akhil Narang
Sri Harsha (@srisurya95)
Shreesha Murthy
Brett Montague
Telegram channel
Stay tuned for something awesome
Credit/Thanks:
Everyone at AOSiP
@LuK1337
@flex1911
@dladz for being my tester for the P20 Pro!
And everyone else who helped with the trees!
​
XDA:DevDB Information
Android Open Source Illusion Project, ROM for the Huawei P20 Pro
Contributors
moto999999
Source Code: [url]https://github.com/AOSiP[/URL]
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: EMUI 9 Firmware
Version Information
Status: Stable
Created 2019-06-22
Last Updated 2019-06-22

Ahoy there, good to see you.
ROM is running, brilliantly.
:good:

Nice ROM.. work.. my problem is TWRP DECRYPTION ç.ç after install this rom i have problem to read file i have all folder encrypted

Does this rom require specific Pie firmware or are all compatible? I have tried a few roms on here an had nothing but problems trying to get them to boot etc even on required firmwares an dont wanna go through the nightmare of restoring it to stock functuality.

mishmac said:
Does this rom require specific Pie firmware or are all compatible? I have tried a few roms on here an had nothing but problems trying to get them to boot etc even on required firmwares an dont wanna go through the nightmare of restoring it to stock functuality.
Click to expand...
Click to collapse
I'm on 190 and it works on that, I would say that or above. Untested. Also works on 232 I think. Clumsy has it installed

First official build is up, enjoy!
Download: https://aosip.dev/charlotte

Crasim said:
Nice ROM.. work.. my problem is TWRP DECRYPTION ç.ç after install this rom i have problem to read file i have all folder encrypted
Click to expand...
Click to collapse
To update use the updater tab in settings, it should work even if you're encrypted
mishmac said:
Does this rom require specific Pie firmware or are all compatible? I have tried a few roms on here an had nothing but problems trying to get them to boot etc even on required firmwares an dont wanna go through the nightmare of restoring it to stock functuality.
Click to expand...
Click to collapse
Every Pie firmware should work just fine (old or new)

moto999999 said:
First official build is up, enjoy!
Download: https://aosip.dev/charlotte
Click to expand...
Click to collapse
Any changes to this one?m

moto999999 said:
To update use the updater tab in settings, it should work even if you're encrypted
So with the new update does it now work even if I have everything encrypted?
Click to expand...
Click to collapse

dladz said:
Any changes to this one?m
Click to expand...
Click to collapse
Nope. Well, it's now official and OTA will work
Crasim said:
So with the new update does it now work even if I have everything encrypted?
Click to expand...
Click to collapse
You won't be able to see your files within TWRP but updates through the updater will work

I'm going to try this soon, does anybody have a guide?
Does it require stock recovery to be flashed then wipe after instal or before installing rom?

mishmac said:
I'm going to try this soon, does anybody have a guide?
Does it require stock recovery to be flashed then wipe after instal or before installing rom?
Click to expand...
Click to collapse
Before installation
------------------------------
Make a back up of your data.
Download the ROM and Mind the G-Apps.
Installation
------------------
1. Copy the ROM and G-Apps to your ADB folder.
2. Install TWRP via fastboot in bootloader, I used official 3.3.0.2
fastboot flash recovery_ramdisk "name of recovery"
3. Boot to TWRP.
Fastboot reboot (pull cable and hold up straight away)
4. Push both ROM and G-Apps to /tmp from the ADB folder.
ADB push "name of ROM" /tmp
ADB push "name of G-Apps" /tmp
5. Perform a wipe in TWRP.
6. Install ROM and G-Apps.
(Not sure if the below is necessary but I did it)
7. Boot to bootloader and install stock recovery.
Fastboot flash recovery_ramdisk "name of stock recovery"
8. Boot to stock recovery and wipe / data factory reset and wipe cache.
Boot ROM.
Rooting
-------------
I used the latest magisk but magisk manager 7.2.0.
Install via TWRP, you'll need to reinstall TWRP again..
From this point OTA's will take care of further updates so no need to wipe again.

So no changes in update script needed?
Sorry for the million questions but i have never hated a phone so much as this trying to flash roms an having to restore to stock etc.
I know this isn't developers problem but trying to save myself hours of the possibility of it going wrong yet again an trying to restore stock....
Appreciate everyone's help as this looks amazing, i despise EMUI.

I have a problem , my storage is crypted,i also can't install google chrome , can't save any photo , cant do anything
---------- Post added at 04:58 PM ---------- Previous post was at 04:40 PM ----------
dladz said:
Before installation
------------------------------
Make a back up of your data.
Download the ROM and Mind the G-Apps.
Installation
------------------
1. Copy the ROM and G-Apps to your ADB folder.
2. Install TWRP via fastboot in bootloader, I used official 3.3.0.2
fastboot flash recovery_ramdisk "name of recovery"
3. Boot to TWRP.
Fastboot reboot (pull cable and hold up straight away)
4. Push both ROM and G-Apps to /tmp from the ADB folder.
ADB push "name of ROM" /tmp
ADB push "name of G-Apps" /tmp
5. Perform a wipe in TWRP.
6. Install ROM and G-Apps.
(Not sure if the below is necessary but I did it)
7. Boot to bootloader and install stock recovery.
Fastboot flash recovery_ramdisk "name of stock recovery"
8. Boot to stock recovery and wipe / data factory reset and wipe cache.
Boot ROM.
Rooting
-------------
I used the latest magisk but magisk manager 7.2.0.
Install via TWRP, you'll need to reinstall TWRP again..
From this point OTA's will take care of further updates so no need to wipe again.
Click to expand...
Click to collapse
I need your help old friend

mishmac said:
So no changes in update script needed?
Sorry for the million questions but i have never hated a phone so much as this trying to flash roms an having to restore to stock etc.
I know this isn't developers problem but trying to save myself hours of the possibility of it going wrong yet again an trying to restore stock....
Appreciate everyone's help as this looks amazing, i despise EMUI.
Click to expand...
Click to collapse
No nothing like that mate. Just make sure you back up.. and click the thanks button for those who helped.
I had to edit the original because it was made for the Honor view 10 but you will be fine now as it's been made for the pro.
---------- Post added at 05:47 PM ---------- Previous post was at 05:45 PM ----------
benkiller47 said:
I have a problem , my storage is crypted,i also can't install google chrome , can't save any photo , cant do anything
---------- Post added at 04:58 PM ---------- Previous post was at 04:40 PM ----------
I need your help old friend
Click to expand...
Click to collapse
Yea I had this problem myself, I believe it was because I didn't use the stock recovery to wipe before the first boot.
Did you follow instructions?
Your SD partition had encryption from a previous time.
If you need to return to stock then follow the guide in my sig.

dladz said:
No nothing like that mate. Just make sure you back up.. and click the thanks button for those who helped.
I had to edit the original because it was made for the Honor view 10 but you will be fine now as it's been made for the pro.
---------- Post added at 05:47 PM ---------- Previous post was at 05:45 PM ----------
Yea I had this problem myself, I believe it was because I didn't use the stock recovery to wipe before the first boot.
Did you follow instructions?
Your SD partition had encryption from a previous time.
If you need to return to stock then follow the guide in my sig.
Click to expand...
Click to collapse
Hi , i don't have any sd card , i followed instruction , i will try to follow your rescue guide thanks you
Can you come to telegram ?
Also which version of software should i use for rescue guide since i'm coming from last version aosip 9.0
Can I use the one you uploaded ?
Thanks you veryyy much :angel:

dladz said:
I had to edit the original because it was made for the Honor view 10 but you will be fine now as it's been made for the pro.
---------- Post added at 05:47 PM ---------- Previous post was at 05:45 PM ----------
Click to expand...
Click to collapse
ofc
https://github.com/AOSiP-Devices/device_huawei_berkeley
https://github.com/AOSiP-Devices/de...f149c67bc8d4ad3b757698/AndroidProducts.mk#L17
https://github.com/AOSiP-Devices/de...82e0b18fcf149c67bc8d4ad3b757698/device.mk#L20
https://github.com/AOSiP-Devices/de...82e0b18fcf149c67bc8d4ad3b757698/device.mk#L29
https://github.com/AOSiP-Devices/de...f149c67bc8d4ad3b757698/BoardConfig.mk#L19-L22
https://github.com/AOSiP-Devices/de...0b18fcf149c67bc8d4ad3b757698/aosip.mk#L27-L32
its a mix of berkeley and HonorView 10 as it is.
benkiller47 said:
Hi , i don't have any sd card , i followed instruction , i will try to follow your rescue guide thanks you
Can you come to telegram ?
Also which version of software should i use for rescue guide since i'm coming from last version aosip 9.0
Can I use the one you uploaded ?
Thanks you veryyy much :angel:
Click to expand...
Click to collapse
just flash stock huawei recovery, any version will do. format data and reboot. fixed.

kessaras said:
its a mix of berkeley and HonorView 10 as it is.
.
Click to expand...
Click to collapse
Well the one I edited would not flash as it was.
Either way, this one works is my point.
---------- Post added at 08:53 PM ---------- Previous post was at 08:51 PM ----------
benkiller47 said:
Hi , i don't have any sd card.
:
Click to expand...
Click to collapse
It's the internal memory, listed as SD card within a file explorer.

mishmac said:
So no changes in update script needed?
Sorry for the million questions but i have never hated a phone so much as this trying to flash roms an having to restore to stock etc.
I know this isn't developers problem but trying to save myself hours of the possibility of it going wrong yet again an trying to restore stock....
Appreciate everyone's help as this looks amazing, i despise EMUI.
Click to expand...
Click to collapse
You don't need to change anything from the zip, it'll work on the P20 Pro out of the box
To push the zip you can use adb sideload or an external sd card and right after you flash the rom for the first time, wipe data using the stock recovery

Can I use an Open Gapps instead of the MindTheGapps ?
Does this rom have a deep sleep problem? I mean the situation when device cannot go to the deep sleep mode after charging the phone or heavy use and I need to reboot my phone to start deep sleep working again.

Related

[GAPPS][AROMA]64bit Gapps for Mi Note Pro(Android 5.0.x & 5.1.x)(Choose Apps to Keep)

[GAPPS][AROMA]64bit Gapps for Mi Note Pro(Android 5.0.x & 5.1.x)(Choose Apps to Keep)
So have you got your amazing Mi Note Pro but you are missing Google Apps? No problem! It's quite simple all you need to do is flash Google Apps on your phone. Please follow this guide to successfully install Google Appps.
This is for Mi Note Pro (leo)
Disclaimer:
I'm not responsible for any devices being bricked, your device blowing up or world war 3 starting! You are doing this at your own risk.
Click to expand...
Click to collapse
Download Links:
Gapps for 5.0.x
Click Here to Download
Gapps for 5.1.x
Click Here to Download
INSTALLING GAPPS USING STOCK MI-RECOVERY WILL NOT WORK PLEASE INSTALL TWRP TEMPORARLY OR PERMANENTLY
If you already have TWRP installed you know what to do..
Download the following file:
twrp.img - https://mega.nz/#!nR0jHZqL!2cksl ... 5H76ut8UVtnu97HHAEo
HOW TO INSTALL TWRP TEMPORARLY
1. Save the file on your PC.
2. Power off your device and turn it back on by holding Power button and Volume Down at the same time. This will get you into fastboot menu.
3. Now what you will have to do is plug your phone to your PC using a usb cable.
4. Open up the Command Promt and navigate to the location of your fastboot driver. Mine is C:/adb so I would type cd C:/adb in the command promt
5. Now type in fastboot devices just to make sure that your device is listed correctly.
6. Place the twrp.img inside same folder as fastboot.
7. Type fastboot boot twrp.img (TO FLASH PERMANENTLY USE ''fastboot flash recovery twrp.img'')
8. Now your phone should boot into TWRP!! Click on the Install button and then navigate to where you have saved the Gapps package
9. Reboot and you are should have Gapps correctly installed.
Kahun said:
As the link on the other thread is now dead I'm posting this one.. This link gets updated so it's always most up to date gapps.
Click Here to Download GAPPS
Just flash using TWRP or Stock Recovery.
Click to expand...
Click to collapse
Which one is 64 bit, none of them indicate it, 64 is required unless you want a brick
Woops, just realised I did post the wrong link. Use the updated one
Kahun said:
Woops, just realised I did post the wrong link. Use the updated one
Click to expand...
Click to collapse
Still not sure which one arm64?
jazz452 said:
Still not sure which one arm64?
Click to expand...
Click to collapse
The one that says ARM64?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I got some install error, had to use older version.
Did you use twrp?
Kahun said:
Did you use twrp?
Click to expand...
Click to collapse
Yea but didn't factory reset, maybe I got bad download.
How to flash it into stock recovery? I just received my phone and when booting into 2.0.1 recovery it doesnt work
---------- Post added at 10:55 PM ---------- Previous post was at 10:30 PM ----------
It says file is corrupt
Is it compatible with miui 7
---------- Post added at 04:08 PM ---------- Previous post was at 03:54 PM ----------
Do have to rename it to update.zip and put it to the root directory?
.
Updated with links for 5.0.x. & 5.1.x and also added instructions.
I just want to solve a gps issue occurring only with google maps, can I flash it over existing google apps?
EMJI79 said:
I just want to solve a gps issue occurring only with google maps, can I flash it over existing google apps?
Click to expand...
Click to collapse
No you can't flash over current gapps you will just get an error. Use a root uninstaller app to remove any Google apps and then flash it.
I have tried it with both the newest 5.1 ROM and Beta - Flashing through the Mi-PC Suite. When I install the smaller package GAPPS or when i select only the MAPS, etc. I get an error with the Dialer and the Contacts and it forces me to reflash the ROM again to recover. No other way so far.
I used TWRP as a temp and loaded the 5.1 on the card and installed it from TWRP - no luck. Am I missing something pretty obvious? It's been a while since I have flashed, etc. If I can't get any higher speeds on the AT&T HSPA+ than 1.5Mb then I might sell this thing. I didn't read fully the LTE bands on it and made the mistake before I caught it - the device was on its way. So now I keep it and make the most of it or sell it if its a hassle to make right. Mostly want a Global ROM with working GAPPS.
Thanks for any help!
mrmomoman said:
I have tried it with both the newest 5.1 ROM and Beta - Flashing through the Mi-PC Suite. When I install the smaller package GAPPS or when i select only the MAPS, etc. I get an error with the Dialer and the Contacts and it forces me to reflash the ROM again to recover. No other way so far.
I used TWRP as a temp and loaded the 5.1 on the card and installed it from TWRP - no luck. Am I missing something pretty obvious? It's been a while since I have flashed, etc. If I can't get any higher speeds on the AT&T HSPA+ than 1.5Mb then I might sell this thing. I didn't read fully the LTE bands on it and made the mistake before I caught it - the device was on its way. So now I keep it and make the most of it or sell it if its a hassle to make right. Mostly want a Global ROM with working GAPPS.
Thanks for any help!
Click to expand...
Click to collapse
Try manually removing all Gapps using a Root system unistaller app then wipe cache and try again.
mrmomoman said:
Mostly want a Global ROM with working GAPPS.
Thanks for any help!
Click to expand...
Click to collapse
Flash the Xiaomi.eu ROM, it already includes minimal GApps, and the rest you can get from the Play Store. That's the most convenient way.
There's no Global ROM for Note Pro as it's only sold in China but even if there were, you don't really want to use it anyway. Always use the latest China Developer ROM and modify it accordingly (or let someone do the work for you - hence the Xiaomi.eu suggestion). Since you don't need the translations to other European languages, you can also try the Russian-made MIUIPro, which includes GApps too.
I'm having all sorts of problems I can no longer get gapps to work, not sure what I have done. Since I went back to stable nothing seems to work. Play store just closes even the mi app store don't work.
jazz452 said:
I'm having all sorts of problems I can no longer get gapps to work, not sure what I have done. Since I went back to stable nothing seems to work. Play store just closes even the mi app store don't work.
Click to expand...
Click to collapse
Use root unistaller to completely remove any traces of Gapps, wipe dalvik and download the right gapps package for your android version.
https://www.androidfilehost.com/?fid=24352994023706867
How did I miss this nice 1 Aqq123
worked straight away with Gapps already included.
So this looks like the only option for the lucky ones who haven't locked their bootloader.
http://xiaomi.eu/community/threads/and-now-what-to-do.29571/

[rom & tutorial] update fake rom 8.2.0.2 to global dev official with lock bootloader

[rom & tutorial] update fake rom 8.2.0.2 to global dev official with lock bootloader
UPDATE YOUR FAKE ROM 8.2.0.2 TO GLOBAL DEV OFFICIAL WITH LOCK BOOTLOADER​*link ROM for ROOTED USERS WITH TWRP IS BELOW
Since I know most dont like the hassle of unlocking and wish to stay at locked bootloader but able to receive official updates.
I found a way to update your fake ROM (usually 8.2.0.2 NCAMIEC)
Accessible via MI PCsuite from mentioned fake ROM (if you are already on China ROM, you can't use this method)
Do follow below tutorial - no unlocking needed.
Only your mi6 & its cable ofc
PC/Laptop with proper ADB driver
Internet Connection
*******wipe data before flashing is highly recommended to avoid errors and FC
FIRST: MAKE SURE YOUR DEVICE IS IN RECOVERY MODE then CHOOSE "CONNECT WITH MI ASSISTANT"
SECOND : Connect your MI6 to your PC
- MI PCSuite still wont read your phone -
THIRD: Click the arrow on Update and Choose :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
R.Flash
and MI PCsuite will search proper update for you
FOURTH : Just wait until the download is done, then it will be updated
*NOTE THAT IF YOU DONT WIPE DATA BEFORE UPDATING;
FIRST UPDATE WILL BE FAILED
but dont be sad (lol)
TRY ONE MORE TIME
(at 81-83% MI PCSuite will show that the update is failed but your phone is still booting, why? because the data of 8.2.0.2 is a modified rom and updater will crash)
Current Update is 7.6.1
7.6.1 :WEB APPS OFFICIAL SUPPORT
QUICK CHARGE INDICATOR
ETC ETC
Good Luck.
FOR ROOTED USERS WITH TWRP: ​
Flash like any other ROM.
FLASH SUPERSU OR CHANGE THE BOOT.IMG TO EU OR ANY OTHER MODIFIED BOOT.IMG
(IF NOT BOOTLOOP)
or use this method: https://forum.xda-developers.com/showpost.php?p=72576697&postcount=23
I'd like to share Global beta Recovery Rom rom (leak) ;
https://drive.google.com/file/d/0B68vb0mKAaldR0p0VDdvMno1SFE/view?usp=drive_web
Http://bigota.d.miui.com/7.6.1/miui_MI6Global_7.6.1_2697295ae7_7.1.zip​
Tried to update using miPCsuite and got "rom package's signature cannot be verified"
Anyone here has the miui global recovery img?
Edit: nvm. found it
---------- Post added at 04:55 AM ---------- Previous post was at 04:47 AM ----------
bloosteak said:
Tried to update using miPCsuite and got "rom package's signature cannot be verified"
Click to expand...
Click to collapse
Have you tried via recovery?
Does that mean I need to rename the rom to update.zip and flash in recovery?
Installing via twrp gives you bootloop
yoghibawono said:
I'd like to share Global beta Recovery Rom rom (leak)
Click to expand...
Click to collapse
Why leak? It's official global developer OTA ROM...
Yesterday I received it over air under previous global developers ROM 7.5.15...
sergmarin said:
Why leak? It's official global developer OTA ROM...
Yesterday I received it over air under previous global developers ROM 7.5.15...
Click to expand...
Click to collapse
It's labeled "Leak" because it's not officially announced by Xiaomi.
Hakim Farouk said:
Anyone here has the miui global recovery img?
Edit: nvm. found it
---------- Post added at 04:55 AM ---------- Previous post was at 04:47 AM ----------
Have you tried via recovery?
Click to expand...
Click to collapse
would you mind sharing the recovery.img?
hidea said:
would you mind sharing the recovery.img?
Click to expand...
Click to collapse
I got it from here
https://forum.xda-developers.com/mi-6/development/unofficial-global-rom-miui-8-2-22-t3608742
Hakim Farouk said:
I got it from here
https://forum.xda-developers.com/mi-6/development/unofficial-global-rom-miui-8-2-22-t3608742
Click to expand...
Click to collapse
Is this the file? It's in Chinese. Did you manage to find an English version Mi Recovery that's suitable for Mi6?
So, anyone really tried it via recovery?? I am on stable chinese rom.
How to install this rom, i'm on chinese stable
can i install this without unlocking the bootloader ?
hidea said:
Is this the file? It's in Chinese. Did you manage to find an English version Mi Recovery that's suitable for Mi6?
Click to expand...
Click to collapse
The language changed to wtv language your phone is on. I tried via twrp and got bootloop. tried via recovery with eu rom and nothing happened. I'm going to try the recovery again but on chinese stable or dev next.
---------- Post added at 01:27 PM ---------- Previous post was at 01:26 PM ----------
imjohncarlo9 said:
can i install this without unlocking the bootloader ?
Click to expand...
Click to collapse
Probably not possible unless you're already on the global stable 8.2.0.2 rom.
Edit: after trying with recovery on china dev, no good. Can't verify. Unless we have tgz file
if you are on chinese stable try this method
unlock bootloader (must have!)
fastboot boot twrp-3.1.1.0-sagit-v2.img (must be this version)
in TWRP
wipe-format data
copy ROM to internal storage (while still in twrp)
flash rom
restart
enjoy ROM
---------- Post added at 04:50 PM ---------- Previous post was at 04:44 PM ----------
if method gives bootloop, you should encrypt your files prior to boot
after flashing the rom, flash chinese orig recovery, restart recovery and choose 2nd option, 2nd option (a red message will appear). its ok, chose the only option available, and voila a green message will apear.
now first option to reboot and that's it your phone will boot (hopefully).
I talk about options because the only mi 6 original recovery i found is chinese so i don't understand anything.
But... as far as i can understand it will make a factory reset and will encrypt your files again.
without encryption miui won't boot. (don't know why though)
chinese orig recovery https://drive.google.com/open?id=0B4d6gFePZwjDRXp6ZkJseTVHQjg
lukaaa477 said:
if you are on chinese stable try this method
unlock bootloader (must have!)
fastboot boot twrp-3.1.1.0-sagit-v2.img (must be this version)
in TWRP
wipe-format data
copy ROM to internal storage (while still in twrp)
flash rom
restart
enjoy ROM
---------- Post added at 04:50 PM ---------- Previous post was at 04:44 PM ----------
if method gives bootloop, you should encrypt your files prior to boot
after flashing the rom, flash chinese orig recovery, restart recovery and choose 2nd option, 2nd option (a red message will appear). its ok, chose the only option available, and voila a green message will apear.
now first option to reboot and that's it your phone will boot (hopefully).
I talk about options because the only mi 6 original recovery i found is chinese so i don't understand anything.
But... as far as i can understand it will make a factory reset and will encrypt your files again.
without encryption miui won't boot. (don't know why though)
chinese orig recovery https://drive.google.com/open?id=0B4d6gFePZwjDRXp6ZkJseTVHQjg
Click to expand...
Click to collapse
Yup, you're right. It was the encryption that was preventing it to boot. 2nd method mentioned worked. Thanks :good:
yeah, i got mi6 with eng bootloader now, i can see that the second option is wipe data/factory reset, so finally steps would be
unlock bootloader (must have!)
fastboot boot twrp-3.1.1.0-sagit-v2.img (must be this version)
in TWRP
wipe-format data
copy ROM to internal storage (while still in twrp)
flash rom
restart recovery
now should boot mi recovery
choose wipe data (second option)
restart system
enjoy ROM
please more confirm on this tutorial, thanks!
hmm, if i unlock bootloader, i wont receive any fota right ?
no, if you install official rom always will be ota
imjohncarlo9 said:
can i install this without unlocking the bootloader ?
Click to expand...
Click to collapse
You can, my previous thread on MIUI was deleted. I was violating the forum rule for sharing the link.
see below for flashing method without unlocking;
http://en.miui.com/thread-638356-1-1.html

[RECOVERY] TWRP for LG G6 US997 (unofficial)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CONGRATS TO @davidporter1010 ON THE FIRST EVER ROOTED LG G6!!!
Video review by @davidporter1010 https://www.youtube.com/watch?app=desktop&persist_app=1&noapp=1&v=alH4YEiV5bc
A message to those with other variants of the G6:
The H870 International variant and the us997 are the only ones with an official bootloader unlock from LG.
Should there be a time where your flashing mechanisms get cracked, simply mention my name on this thread or via private message and I would be happy to create a thread with TWRP for your device.
WHAT IS TWRP?
Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
DOWNLOAD
BUILD 4
You can donate here to help me buy a us997 and that way I can further contribute towards development:
paypal.me/VoRt3xElarixx
You can find the recovery here:
Recommended:
https://files.persona.cc/zefie/file...a-TWRP_v3.2.1_18-01-05_zefie_LGUS997_rel3.zip
Unstable 2:
https://www.androidfilehost.com/?fid=961840155545578664
Unstable: https://drive.google.com/open?id=0B7S6ou836i7ASl9LQWhIc2k0RkU
FULL STEPS FOR OBTAINING ROOT
Follow LG's bootloader unlocking instructions here before you begin!
1. Download the latest TWRP .img for your device from this thread
2. Use the same fastboot tool you downloaded in the LG unlock instructions to flash TWRP using the command:
Code:
fastboot flash recovery twrp-x.x.x-x-us997.img
* Replace x.x.x-x with the actual version you are flashing!
3. Enter "fastboot reboot recovery" into the fastboot tool
4. Swipe to allow modifications, then hit wipe and tap format data, type "yes" and press enter
3. Install SuperSU, or Magisk to gain root and make system bootable, or just flash
no DMvertity opt file to make system bootable without root
8. Go to [Reboot] -> [System].
Wait 2-5 minutes for your device to finish setting itself up.
Github:
https://github.com/Nima0003/TWRP-H870
CREDITS:
@jcadduono for the template of this thread @jimbomodder for helping me pull the stock recovery @Rashed97 for the early TWRP test build he did from source @J0SH1X who's twrp build this is based off @zefie for backup fix
Does not work just get the green a droid laying on his back also fastboot reboot recovery does not work
on comp in cmd type adb reboot bootloader
then will reboot to bootloader while in the type fastboot flash recovery recovery name.img
once done unplug device then hold down vol down and power will reboot soon soonas you see lg logo still hold vol down let go of power then quickly press it again that will bring you to a screen click yes the click yes again then that will boot you in to twrp and now your good to go
strikerdj2011 said:
on comp in cmd type adb reboot bootloader
then will reboot to bootloader while in the type fastboot flash recovery recovery name.img
once done unplug device then hold down vol down and power will reboot soon soonas you see lg logo still hold vol down let go of power then quickly press it again that will bring you to a screen click yes the click yes again then that will boot you in to twrp and now your good to go
Click to expand...
Click to collapse
Ok i got but everything stays read only cannot format data or mount anything but twrp is there.nice job
gillim74 said:
Ok i got but everything stays read only cannot format data or mount anything but twrp is there.nice job
Click to expand...
Click to collapse
try this
HOW-TO INITIALIZE TWRP: (for new phones)
1. If you completed Part 1 successfully, you should be in TWRP now. At this point, you will reach the screen asking you if you want to allow system modifications.
2. Select "Keep /system RO". (Don't swipe right or you may not be able to boot into system if you failed to complete next steps. However, you can swipe right to allow modifications if you are confident that you can complete next steps.)
3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.
4. Go to "Reboot" menu and Press "Recovery" to reboot TWRP.
5. Download the latest dm-verity and force encryption disabler zip on your computer.
6. Transfer the zip to your phone.
- Option 1: MTP: Connect your phone with computer and just copy the zip to internal storage. (similar to how you transfer files when in system.)
- Option 2: ADB: Connect your phone with computer and run command "adb push /path/to/zip /sdcard/".
- Option 3: External SD: Copy the zip to an external SD and then insert the card to your phone.
7. Go to "Install" menu of TWRP and flash the zip.
TWRP is initialized and fully functional at this stage. Now you can either reboot into system or root, flash custom ROMs via TWRP.
Thats the part im not getting is in the very beggining the swipe to the right to allow mofifications
gillim74 said:
Thats the part im not getting is in the very beggining the swipe to the right to allow mofifications
Click to expand...
Click to collapse
click read only button then follow other post
strikerdj2011 said:
click read only button then follow other post
Click to expand...
Click to collapse
there is no read only button it goes straight to the main menu where it asks you to install,wipe etc
when i format data i get unable to locate storage,unable to find partition path system and data
gillim74 said:
there is no read only button it goes straight to the main menu where it asks you to install,wipe etc
when i format data i get unable to locate storage,unable to find partition path system and data
Click to expand...
Click to collapse
hmmmm nima will have to look a that as i aint a dev lol
strikerdj2011 said:
hmmmm nima will have to look a that as i aint a dev lol
Click to expand...
Click to collapse
indeed but twrp is there
Hmm weird indeed, this is built upon the stable build for the h870, I'll look into it a bit more later.
I will do a source version later but I got a big hangover
---------- Post added at 09:14 AM ---------- Previous post was at 08:41 AM ----------
okay build is compiling
---------- Post added at 09:30 AM ---------- Previous post was at 09:14 AM ----------
here you go with first version pls test and report if something isnt working pls add logs
https://www.androidfilehost.com/?fid=961840155545578664
J0SH1X said:
I will do a source version later but I got a big hangover
---------- Post added at 09:14 AM ---------- Previous post was at 08:41 AM ----------
okay build is compiling
---------- Post added at 09:30 AM ---------- Previous post was at 09:14 AM ----------
here you go with first version pls test and report if something isnt working pls add logs
https://www.androidfilehost.com/?fid=961840155545578664
Click to expand...
Click to collapse
works perfect thanks guys for all your work
gillim74 said:
works perfect thanks guys for all your work
Click to expand...
Click to collapse
okay i think you can get offcial in a few days
J0SH1X said:
okay i think you can get offcial in a few days
Click to expand...
Click to collapse
Can you help me do source builds, my method obviously isn't working.
nima0003 said:
Can you help me do source builds, my method obviously isn't working.
Click to expand...
Click to collapse
Do you have telegram? Is not get it and contact me under my username J0SH2X
Gesendet von meinem LG-H815 mit Tapatalk
How can you tell if you have the US997 version of LG G6?? I got mine from T-mobile.
joyj112 said:
How can you tell if you have the US997 version of LG G6?? I got mine from T-mobile.
Click to expand...
Click to collapse
I actually have no g6 I have LG g4
Gesendet von meinem LG-H815 mit Tapatalk
joyj112 said:
How can you tell if you have the US997 version of LG G6?? I got mine from T-mobile.
Click to expand...
Click to collapse
your will be h872 as 997 is not for any of the networks its the sim free version the 997
joyj112 said:
How can you tell if you have the US997 version of LG G6?? I got mine from T-mobile.
Click to expand...
Click to collapse
Goto setting/about phone

Tutorial(downgrade8.1.0=>7.1.1)use nougat stok/custom-roms on Oreo BC-12 bootloader

Tutorial(downgrade8.1.0=>7.1.1)use nougat stok/custom-roms on Oreo BC-12 bootloader
This tutorial is for the users wich are not satisfied by Oreo 8.1.1 rom
Also can be used by users wich changed the touchscreen from some reazons
and on Oreo 8.1.1 this new touchscreen not work​
First got to Settings/System/Developer option and chec OEM-unlockin to be ENABLED!
for flashing twrp-recovery may be need to unlock the bootloader by code but it should work only with OEM-unlocking enabled
Downgrading with FASTBOOT!
1) Charge youre phone to at least 50-70%, better is 100%
2) Download the FILES necessary for downgrading
3) Reboot the phone in bootloader and connect to the pc
4) Opend the terminal and write "fastboot" or "mfastboot" depends by your instaled fastboot
5) Copy/Paste in terminal the lines writed in "fastboot-mfastboot.txt" atached to files
or write them one by one and press ENTER
WAIT 'till it finish
6) In bootloader screen, from buttons vol-up & vol-down navigate and set to "reboot recovery" and press Power
Phone should boot in TWRP-recovery!
Now you have to install a custom-rom or a stok-rom TWRP flashable with Install option
""for this use the instruction to install posted by the developer of each rom""
Also you can RESTORE an older 7.1.1 backup made before update to OREO
Reboot and enjoy by nougat-7.1.1 rom on oreo-8.1.0 bootloader
Downgrading with TWRP
Files to be flashed with TWRP for the users wich have olready the TWRP-recovery instaled!
1) Download the files
2) Copy the zip archive on the sdcard
3) Reboot the phone in TWRP-recovery
4) Search and install the zip
5) Install nougat 7.1.1 rom or restore an older backup made before update to OREO
Enjoy!
reserved
Thank You very much
---------- Post added at 06:02 PM ---------- Previous post was at 05:38 PM ----------
vaserbanix said:
This tutorial is for the users wich are not satisfied by Oreo 8.1.1 rom
Also can be used by users wich changed the touchscreen from some reazons
and on Oreo 8.1.1 this new touchscreen not work​
First got to Settings/System/Developer option and chec OEM-unlockin to be ENABLED!
for flashing twrp-recovery may be need to unlock the bootloader by code but it should work only with OEM-unlocking enabled
Downgrading with FASTBOOT!
1) Charge youre phone to at least 50-70%, better is 100%
2) Download the FILES necessary for downgrading
3) Reboot the phone in bootloader and connect to the pc
4) Opend the terminal and write "fastboot" or "mfastboot" depends by your instaled fastboot
5) Copy/Paste in terminal the lines writed in "fastboot-mfastboot.txt" atached to files
or write them one by one and press ENTER
WAIT 'till it finish
6) In bootloader screen, from buttons vol-up & vol-down navigate and set to "reboot recovery" and press Power
Phone should boot in TWRP-recovery!
Now you have to install a custom-rom or a stok-rom TWRP flashable with Install option
""for this use the instruction to install posted by the developer of each rom""
Also you can RESTORE an older 7.1.1 backup made before update to OREO
Reboot and enjoy by nougat-7.1.1 rom on oreo-8.1.0 bootloader
Downgrading with TWRP
Files to be flashed with TWRP for the users wich have olready the TWRP-recovery instaled!
1) Download the files
2) Copy the zip archive on the sdcard
3) Reboot the phone in TWRP-recovery
4) Search and install the zip
5) Install nougat 7.1.1 rom or restore an older backup made before update to OREO
Enjoy!
Click to expand...
Click to collapse
Also, can I flash Stock Nougat (using fastboot) after this? And is there any chance of my device being hardbricked?
ShattrdChain said:
Thank You very much
---------- Post added at 06:02 PM ---------- Previous post was at 05:38 PM ----------
Also, can I flash Stock Nougat (using fastboot) after this? And is there any chance of my device being hardbricked?
Click to expand...
Click to collapse
No! you cant flash a full nougat rom with fastboot.
Bootloader cant be downgraded!
for hardbricked phones you have first to boot it using the sdcard img.
then when you get bootloader working without sdcard, can use this tutorial
Sent from my Moto G (5S) using Tapatalk
vaserbanix said:
No! you cant flash a full nougat rom with fastboot.
Bootloader cant be downgraded!
for hardbricked phones you have first to boot it using the sdcard img.
then when you get bootloader working without sdcard, can use this tutorial
Sent from my Moto G (5S) using Tapatalk
Click to expand...
Click to collapse
Oh ok. Thank You very much
I successfully rolled back to 7.1 using this method. No errors or issues. Everything worked flawlessly. A big thank you @vaserbanix
What are the problems with 8.1? I'm still on Android 7 (RETEU)
Argon007 said:
What are the problems with 8.1? I'm still on Android 7 (RETEU)
Click to expand...
Click to collapse
1. Oreo Battery drains considerably faster than 7.1. (But charges faster too)
2. Fingerprint unlocks slower than 7.1
3. Lags slightly when doing intensive tasks.
Now we need a maintainer for (a) Nougat rom(s)..
Ænimal said:
Now we need a maintainer for (a) Nougat rom(s)..
Click to expand...
Click to collapse
YES indeed!
Im in 8.1.1 stock rom. Can i install a custom 7.1.2 (ViperOS) with this method? Tks.
mysticauls said:
Im in 8.1.1 stock rom. Can i install a custom 7.1.2 (ViperOS) with this method? Tks.
Click to expand...
Click to collapse
lineage 14.1 work so it should work ViperOS too!
to be sure ask in ViperOS thread.
Thankyou!
Hello!
Do you lose biometrics by installing twrp?
vaserbanix said:
YES indeed!
Click to expand...
Click to collapse
LOS14.1 has been updated:
NEW BUILD: https://www.androidfilehost.com/?fid...63190603848665
Change log: November 18 Security Update
NOTE: Like so many other users, I too updated my device with OREO and stuck with that. I haven't tried downgrading it because I don't want to end up with a hard-bricked device once again. Point here is the new build is not tested. So please take a TWRP backup before using this build. Don't forget to post me even if works fine.
Thanks,
KS
Click to expand...
Click to collapse
EDIT: When I try to quote properly I get logged out for some reason, so see this thread obviously (and don't forget to thank @kalyansundhar ):
https://forum.xda-developers.com/moto-g5s/development/rom-lineageos-14-1-t3727918
Fantastic tutorial, vaserbanix. Thank you!
Does anybody know where can I get a nougat stock rom TWRP flashable? There is a thread with stock roms but all of them are only flashable via Fastboot...
I would like to get this in particular: [MONTANA_NPP26.102-49-14]
---------- Post added at 08:38 PM ---------- Previous post was at 08:13 PM ----------
ShattrdChain said:
I successfully rolled back to 7.1 using this method. No errors or issues. Everything worked flawlessly. A big thank you @vaserbanix
Click to expand...
Click to collapse
Thank you so much for your feedback, ShattrdChain! :good:
May I know what rom did you use for flashing with this method?
And do you know if bootloader needs to be unlocked in order to downgrade with this guide?
TWRP method doesn't work (bootloop), pls fix or delete.
FanderWasTaken said:
TWRP method doesn't work (bootloop), pls fix or delete.
Click to expand...
Click to collapse
i understand it work!
just chek the twrp version!
is posible the twrp to dont read some partitons.
this can make the differences betwen work or not
ask eric rutgers ( @GoldeneyeS2), he instaled sucesful that downgrade.zip
Thankyou!
vaserbanix said:
i understand it work!
just chek the twrp version!
is posible the twrp to dont read some partitons.
this can make the differences betwen work or not
ask eric rutgers ( @GoldeneyeS2), he instaled sucesful that downgrade.zip
Thankyou!
Click to expand...
Click to collapse
Its works great.
You can also use fastboot to downgrade!
can the downgrade be done without the bootloader unlocked?
the methods don't work for xt1799-2!

[help] files and folders weirdly renamed in twrp recovery Mi A2

i succesfully booted into twrp using fastboot, trying to flash twrp installer for mi a2 inside a temporary twrp. but, when i tap install, and go to sdcard directory, all folder and file names are messed up. i dont know why. because of that, twrp cannot find any zip files becoz my files have been renamed into weird sentences leaving no extension behind it. but, when i boot to system, my files and folders still originally the same. thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
screenshot
Because the data is encrypted...
mauley said:
Please do yourself a favour and read the last few posts of the thread as this issue has been addressed by the thread owner.
New build is coming soon but if you cant wait yo will need to join the telegram group which they posted a link to in the last few posts.
Click to expand...
Click to collapse
this is why...
you can use adb sideload to flash something that will not be installed on sdcard tho, I used adb sideload to flash a zip that puts cerberus as system app
Akky_karan said:
Because the data is encrypted...
Click to expand...
Click to collapse
sooo... how to decrypt it?? noob here
Adairo said:
this is why...
you can use adb sideload to flash something that will not be installed on sdcard tho, I used adb sideload to flash a zip that puts cerberus as system app
Click to expand...
Click to collapse
ooooh... whats the command? adb sideload flash filename.zip?
actually me too faced that problem......the only way i think it can be done is by factory resetting....?
Akky_karan said:
actually me too faced that problem......the only way i think it can be done is by factory resetting....
Click to expand...
Click to collapse
have you reset your phone? does it work for you? actually i already flashed stock my phone rom with mi tool, and installed the beta pie update. the same problem persist
the reason i want to use twrp becoz i want to flash an audio mod zip, it's called viper4android. for previous android oreo, i did it using magisk modules. it worked perfectly. but now, everytime i install that module through magisk, viper keep asking me to install its audio driver, i click yes, then a reboot needed, but it still requesting it everytime i reboot my phone. does anyone know how can i install viper4android on my a2?
KazuShi998 said:
the reason i want to use twrp becoz i want to flash an audio mod zip, it's called viper4android. for previous android oreo, i did it using magisk modules. it worked perfectly. but now, everytime i install that module through magisk, viper keep asking me to install its audio driver, i click yes, then a reboot needed, but it still requesting it everytime i reboot my phone. does anyone know how can i install viper4android on my a2?
Click to expand...
Click to collapse
that's right, Viper4Android(Magiskmethod) is not working anymore on Pie. you can try to flash the viper installer trough adb sideload, TWRP->advanced->adb sideload->(start it), then go to your pc and run adb sideload filename.zip, if you get an error, try using PBRB or viceversa, let me know if you get Viper working on Pie
---------- Post added at 11:53 AM ---------- Previous post was at 11:51 AM ----------
Akky_karan said:
actually me too faced that problem......the only way i think it can be done is by factory resetting....
Click to expand...
Click to collapse
you don't need to factory reset... if you are just temporarily booting twrp.img, when you reboot your phone it will take the original (or patched) boot.img and it will boot normally, this is not a permament encrypted files bug
Adairo said:
that's right, Viper4Android(Magiskmethod) is not working anymore on Pie. you can try to flash the viper installer trough adb sideload, TWRP->advanced->adb sideload->(start it), then go to your pc and run adb sideload filename.zip, if you get an error, try using PBRB or viceversa, let me know if you get Viper working on Pie
Click to expand...
Click to collapse
---------- Post added at 11:53 AM ---------- Previous post was at 11:51 AM ----------
unfortunately it's not working. it caused boot loop for me, the zip flash successfully, then i reboot the phone, open viper, it asks to install the driver, i click yes, then reboot, my a2 stuck on boot loop, the android one swinging things... then i hold power button and my phone restarts normally. but viper still ask for driver. no luck. is there a way to install this driver manually? with root access, i can copy paste the driver files in my system directory. i doubt it works like that. thanks
I have this same issue. Ran into a bootloop issue, fastboot flashed a stock rom so I could get into my system. My entire sdcard is jibberish names. Even as my data is restored from my google account, it continues to be all jibberish as per OP. I would've thought as I restored the apps, normal named folders would be appearing but apparently not...
I faced the same it was fixed only after I flashed the latest (December) patched for magisk boot img. It first started after trying to flash twrp on pie. Bootloop fastboot flashed then again jibberish on any file manager plus camera was not recognising internal storage to store photos. Pc was recognising internal storage with again jibberish folder names but when I tried copying a file from pc nothing happened. It was only fix only after flashed patched boot like mentioned before
FunkmasterC said:
I have this same issue. Ran into a bootloop issue, fastboot flashed a stock rom so I could get into my system. My entire sdcard is jibberish names. Even as my data is restored from my google account, it continues to be all jibberish as per OP. I would've thought as I restored the apps, normal named folders would be appearing but apparently not...
Click to expand...
Click to collapse
Sent from my Mi A2 using Tapatalk
Sp_Ark said:
I faced the same it was fixed only after I flashed the latest (December) patched for magisk boot img. It first started after trying to flash twrp on pie. Bootloop fastboot flashed then again jibberish on any file manager plus camera was not recognising internal storage to store photos. Pc was recognising internal storage with again jibberish folder names but when I tried copying a file from pc nothing happened. It was only fix only after flashed patched boot like mentioned before
Sent from my Mi A2 using Tapatalk
Click to expand...
Click to collapse
Hello, could you bettere explain how I could my encrypted file and storage back? I have the some problem TWRP + Pie but I'm noob...
If you're on official pie the only thing u need in order to get access to your data is the stock recovery and boot image. You can download the latest fastboot rom (or the one u have if it wasn't the latest) and fastboot flash boot.img and recovery.img. you can find in the room section patched boot images for root with magisk. For start you can try flashing only that, leave the recovery and see if it boots. If it fails to boot I'm afraid you have to fastboot flash the whole rom (it's a batch file and it runs all the commands automatically - it takes long around 25 minutes) but I believe your data partition will be formatted but you will have a working phone again
xRinoax said:
Hello, could you bettere explain how I could my encrypted file and storage back? I have the some problem TWRP + Pie but I'm noob...
Click to expand...
Click to collapse
Sent from my Mi A2 using Tapatalk
---------- Post added at 05:29 PM ---------- Previous post was at 05:26 PM ----------
Also just a tip (correct me if I'm wrong) the data encryption on pie roms occurs the moment you put a security pin or pattern for lockscreen on setup wizard. If you don't the there is no encryption.
Sent from my Mi A2 using Tapatalk
Sp_Ark said:
If you're on official pie the only thing u need in order to get access to your data is the stock recovery and boot image. You can download the latest fastboot rom (or the one u have if it wasn't the latest) and fastboot flash boot.img and recovery.img. you can find in the room section patched boot images for root with magisk. For start you can try flashing only that, leave the recovery and see if it boots. If it fails to boot I'm afraid you have to fastboot flash the whole rom (it's a batch file and it runs all the commands automatically - it takes long around 25 minutes) but I believe your data partition will be formatted but you will have a working phone again
Sent from my Mi A2 using Tapatalk
---------- Post added at 05:29 PM ---------- Previous post was at 05:26 PM ----------
Also just a tip (correct me if I'm wrong) the data encryption on pie roms occurs the moment you put a security pin or pattern for lockscreen on setup wizard. If you don't the there is no encryption.
Sent from my Mi A2 using Tapatalk
Click to expand...
Click to collapse
Could you please link me the topic about Magisk patch? I already know how to flash the whole ROM . Thank you a lot fort your reply.
---------- Post added at 05:35 PM ---------- Previous post was at 04:50 PM ----------
Sp_Ark said:
If you're on official pie the only thing u need in order to get access to your data is the stock recovery and boot image. You can download the latest fastboot rom (or the one u have if it wasn't the latest) and fastboot flash boot.img and recovery.img. you can find in the room section patched boot images for root with magisk. For start you can try flashing only that, leave the recovery and see if it boots. If it fails to boot I'm afraid you have to fastboot flash the whole rom (it's a batch file and it runs all the commands automatically - it takes long around 25 minutes) but I believe your data partition will be formatted but you will have a working phone again
Sent from my Mi A2 using Tapatalk
---------- Post added at 05:29 PM ---------- Previous post was at 05:26 PM ----------
Also just a tip (correct me if I'm wrong) the data encryption on pie roms occurs the moment you put a security pin or pattern for lockscreen on setup wizard. If you don't the there is no encryption.
Sent from my Mi A2 using Tapatalk
Click to expand...
Click to collapse
I follow this topic https://forum.xda-developers.com/mi-a2/how-to/how-to-enabling-cam2-gcam-android-t3868766 until flash of patched image but my file are still encrypted. Of course I can't install magisk because my storage is blocked. Any suggestion?
---------- Post added at 05:38 PM ---------- Previous post was at 05:35 PM ----------
xRinoax said:
Could you please link me the topic about Magisk patch? I already know how to flash the whole ROM . Thank you a lot fort your reply.
---------- Post added at 05:35 PM ---------- Previous post was at 04:50 PM ----------
I follow this topic https://forum.xda-developers.com/mi-a2/how-to/how-to-enabling-cam2-gcam-android-t3868766 until flash of patched image but my file are still encrypted. Of course I can't install magisk because my storage is blocked. Any suggestion?
Click to expand...
Click to collapse
I don't flash, only use fastboot boot name.img, maybe the problem is related to this?
If I remember correctly I did a factory reset after flashing the rom with the patched boot.img cause after first boot I had the same problem with storage.
Sp_Ark said:
If I remember correctly I did a factory reset after flashing the rom with the patched boot.img cause after first boot I had the same problem with storage.
Click to expand...
Click to collapse
Ok but by doing a factory reset all data will be erased, right?

Categories

Resources