Hello,
I trying to install (Lineage 18 / Android 11) in my device.
Here is my steps:
1. TWRP-> Wipe -> Swipe to factory reset
2. TWRP -> Install -> find Lineage / system.img
3. wait for the phone to start.
4. reboot into TWRP
5. TWRP -> Install -> find Gapps -> wait for install
6. after done error (mount system structure needs cleaning)
I got this error here:
Code:
mount system structure needs cleaning
What i expected is isntall google apps on Lineage 18
See my photo added
Thanks for your time
Related
base1:
pixel 32G, factory image version: 9.0.0 (PPR2.181005.003, Oct 2018)
downloaded:
lineageos nightly 15.1-1118 , opengapps arm64 1119 nano/aroma, mindthegapps 0808
commands:
adb reboot fastboot
fastboot boot twrp*****.img
twrp: ***format data -> wipe system -> install lineageos via sideload/adb push -> remember slot a
by this step , I tried lineageos recovery and twrp recovery
***reboot into recovery: opengapps aroma( I chose 4~5 apps, finally error , seems like no enough space), nano(failed without reason)
mindthegapps (twrp : fail to mount system/ lineageos recovery: flash show proceed and back)
by this step, I tried reboot to bootloader and then recovery to install addition-su from lineageos, or not to install.
***-> reboot. -> bootloader lock warn -> google logo -> flash a black screen then self reboot -> bootloader. all failed.
base2:
pixel 32G, factory image version: 8.1.0 (OPM4.171019.021.P1, Jul 2018)
downloaded:
lineageos nightly 15.1-1118 , opengapps arm64 1119 nano/aroma, mindthegapps 0808
commands:
tried as above.
-> reboot. -> bootloader lock warn -> google logo -> loooooong black screen without response
-> long press power button : not work
-> long press vol down + power, I don't remember if bootloader or lineageos recovery. Then I used google factory image script.
I always choose a same slot , a or b, if bootloader show a different, I use fastboot --set-active=a/b ,even flash both all. failed.
I post a earlier steps on reddit. Nobody tell me why.
https://www.reddit.com/r/LineageOS/comments/9mwzut/failed_to_install_lineageos_on_sailfish/
why the forum eaten all the formatting spaces.
Fixed.
Follow this installation guide:
https://forum.xda-developers.com/pi...ageos-15-1-pixel-xl-marlin-t3725985?nocache=1
Anyone if face on media library missing issue, delete /storage/emulated/0/DCIM/.thumbnails and clear 'media storage' app data then reboot.
Hi Folks,
I am not sure if you are aware, but there is a large list of GSI ROMs that will work on the One Max, including LineageOS 16 (Android 9)! Everything appears to work (not 100% about NFC) including the camera. Here is the complete list:
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
For some of these ROMs, you will need to install Gapps:
I recommend "pico"
https://opengapps.org/
Before you begin. DO A BACKUP FIRST!
The best method, after installing TWRP, and removing encryption is this:
1. Download/extract this LineageOS version:
https://sourceforge.net/projects/an...0-20190609-UNOFFICIAL-treble_arm64_avN.img.xz
2. Download ARM64/9.0 Gapps / https://opengapps.org/
3. Do a full Wipe.
4. Install the LineageOS image first. Pick Install Image > Pick LOS image > Select system partition
5. After image is done, go back to main menu in TWRP. Pick Install > Zip > Install Gapps.
6. Reboot, Setup Google Account, and restore your cloud backup.
7. Download latest Magisk app & Zip and install.
8. Refer to _cab13_ post. Towards the bottom on getting Magisk working with GSI Roms:
https://forum.xda-developers.com/android/development/umidigi-one-max-custom-rom-modding-t3942521
In TWRP, mount the /vendor and /system partitions to be able to copy files from one directory to another.
9. At this point, d'load a root checker app to verify prompts are working. You should now have rooted LOS16!
Encryption
After starting LOS and initial boot screen pops up w encryption, and says system UI keeps stopping.
Tries to encrypt the phone.
I formatted data and installed disable encryption zip after LOS image install
Any help appreciated
I am have twrp installed but twrp does not see xxxand...m64_avN.img.xz-file.
twrp accepts only zipfiles
So what can i am do, please?
Madricks18 said:
I am have twrp installed but twrp does not see xxxand...m64_avN.img.xz-file.
twrp accepts only zipfiles
So what can i am do, please?
Click to expand...
Click to collapse
You need the `unxz` tool, and all you have to do is `unxz <file.xz>` and it will unpack it.
I am currently on LineageOS 17.1 on both slots, which I flashed over OOS 10.0.4. As I am coming from a OnePlus One, I am still unfamiliar with the A/B slots and I didn't found detailed instructions. Now I want to update the vendor image to 10.0.5 and stay with LineageOS. Is the following procedure correct if I want to keep my data (<- important)?
1. Download 10.0.5 from here: https://forum.xda-developers.com/on...ygen-os-10-0-5-live-oxygen-os-10-0-5-t4080943 (full: https://otafsg1.h2os.com/patch/amaz....25_OTA_025_all_2003270113_4588ebe57af551.zip)
2. Deactivate Magisk modules
3. Open sideload in LineageOS recovery
4. Flash 10.0.5 via adb sideload
5. Flash TWRP via adb sideload (https://sourceforge.net/projects/ma...le-unified-installer-mauronofrio.zip/download)
6. Reboot to TWRP
7. Open sideload in TWRP
8. Flash 10.0.5 via adb sideload
9. Flash TWRP via adb sideload
10. Reboot to TWRP
11. Repeat Steps 3 to 9 , but with newest LineageOS nightly
12. Reboot to LineageOS, reactivate Magisk modules
Is this correct? Am I missing something? I would be happy about improvements.
Bump
I think you will break your data partition if you do this. You can try it, but I think it won't work.
I would backup the phone phone (apps + internal storage) and do the procedure, most likely it will fail.
BTW, its illegal on the internet to pretend to be another (real) person
Just use another username and profile picture (I think you don't have the copyright?)
Thanks for your answer! Hmmm... I don't wanna break my data partition. If I understand you correctly, there's no way to avoid this? Or is there a way and my approach is wrong?
Right about the picture, I'm deleting that.
Edit: New profile picture
my usual update round
- reboot into recovery (assume TWRP already flashed)
- data backup and get current slot
twrp -> settings -> timezone (for nicer local datestamp)
twrp -> backup data (compress) -> /sdcard/TWRP/BACKUPS/
twrp -> enter reboot menu -> show current slot
- upload archives to virtual sdcard
host # adb shell mkdir /sdcard/TWRP/image/
host # adb push oos/OB12-OnePlus7ProOxygen_13.W.31_OTA_031_all_2004111755_397ef15c84.zip /sdcard/TWRP/image/
host # adb push los/lineage-17.1-20200420-nightly-guacamole-signed.zip /sdcard/TWRP/image/
host # adb push twrp/twrp-3.3.1-79-guacamole-unified-installer-mauronofrio.zip /sdcard/TWRP/image/
host # adb push magisk/Magisk-v20.4.zip /sdcard/TWRP/image/
- install/sideload archives via TWRP (every install will usually go into inactive slot)
twrp -> install OOS zip (for vendor/baseband firmware update)
twrp -> install LOS zip (for fun)
twrp -> install TWRP zip (for override LOS recovery) [will patch both slots - against A/B logic]
- switch slot
twrp -> reboot menu -> select other slot
twrp -> reboot into recovery
- rebooted into recovery (verify TWRP version, current slot, correct /data decryption)
twrp -> install Magisk (for LOS17 with SU/root support) [will install into current slot - against A/B logic]
- reboot into new flashed system (verify current slot, LOS version, baseband version)
This method works for users who are not enrolled in beta program.
Prerequisites:
*Unlocked Bootloader
*Assuming you are on stock MIUI 11 with stock recovery
1) Downlod MIUI 12.0.2.0 Global (Beta):
http://bigota.d.miui.com/V12.0.2.0.QEJMIXM/miui_POCOF1Global_V12.0.2.0.QEJMIXM_ce099a7067_10.0.zip
2) Download TWRP 3.3.0.0:
https://dl.twrp.me/beryllium/twrp-3.3.0-0-beryllium.img
3) Download DFE:
https://androidfilehost.com/?fid=6006931924117915021
4) Boot into fastboot:
Press and hold volume down + power button when phone is switched off
5) Boot to recovery:
fastboot boot twrp-3.3.0-0-beryllium.img
6) Make a back-up in TWRP:
TWRP -> Back-up -> Everything except internal storage
(Recommended to enable compression for smaller size)
7) Wipe everything except internal storage:
TWRP -> Wipe -> Advanced Wipe
8) Flash MIUI 12.0.2.0 Global (Beta):
TWRP -> Install
9) Flash DFE:
TWRP -> Install
10) Format data:
TWRP -> Wipe -> Format Data
11) Reboot and enjoy
Tested and working on my friend's Poco F1.
Lemme know if you face any problems
Thanks for the guide.
Is it valid for the stable (miui_POCOF1Global_V12.0.2.0.QEJMIXM_ce099a7067_10.0) ?
Is it necessary to install DFE?
Actually i'm on Lineage OS 17
DFE is not necessary when using modern TWRP Builds !!
It was needed back in 2019, not anymore guys.
TheSkyline35 said:
DFE is not necessary when using modern TWRP Builds !!
It was needed back in 2019, not anymore guys.
Click to expand...
Click to collapse
Its for safe bro. U dont wanna lost everything in storage (in case u didnt backup). Anymore flash one more file dont hurt anything.:highfive:
Flashing a file that totally breaks your phone security is kinda a big deal. Especially since it's not necessary for a year now
Phone OS: OxygenOS 11 EU
PC OS: Windows 11 x64
I'm trying to unlock the bootloader so that I could debloat my phone, install some magisk modules, and GCam.
While ADB normally sees my phone without issues, it's not recognized in Fastboot mode. In the Devices Manager window, the phone is shown as a generic Android device with the yellow warning sign (only during Fastboot, correctly detected as OP7Pro otherwise).
I tried installing ADB from multiple sources, and even used mauronofrio's Tool All In One to no avail. The guides to unlock bootloader don't make any mentions of this issue, and online I've only managed to find very old unsolved threads for other phones.
So, your system doesn't recognize the phone in fastboot mode ?
Did you tried to uninstall the device in the device manager, then plug it back ?
draentor said:
So, your system doesn't recognize the phone in fastboot mode ?
Did you tried to uninstall the device in the device manager, then plug it back ?
Click to expand...
Click to collapse
Good news, not sure why but today it was recognized, and installing TWRP and Magisk seemed to go smoothly.
I now have another question: this post (from 2019) mentions that I should've not installed Magisk the way I did.
I did the following:
1. unlock bootloader via Tool All In One
2. update OxygenOS via the notification I received, then reboot
3. install TWRP via Tool All In One
4. install Magisk via the TWRP menu and app (using the recommended choice)
What instead the guide says is: after TWRP and Magisk installed, update without rebooting, then install TWRP A/B Retention Script, then install Magisk to Inactive Slot and not the recommended Direct Install.
Could I have issues of any kinds, maybe update related, with these premises? If yes, what can I do to fix them?
Nevermind, phone's dead now. I will open another thread about it.
I think this guide is outdated.
That's what worked for me (Read everything before beginning) :
Unlock the bootloader
Update to the last OxygenOS version
Use Oxygen Updater app to be really up-to-date
Install TWRP
To do so, get the latest TWRP .img file here : https://twrp.me/oneplus/oneplus7pro.html
Get the latest twrp-installer.zip file too
It's ready for Android 11, maybe Android 12, I didn't tried
Don't forget to check "Developer options" in system settings
With your phone plugged in your computer, use adb commands and reboot to fastboot with "adb reboot bootloader"
Then, load TWRP with "fastboot boot twrp.img". Of course, you need to put the latest TWRP image file previously downloaded in the same folder and rename it "twrp.img"
In TWRP, go to Advanced then press "Flash Current TWRP"
Done !
Then, follow those instructions :
Wipe -> Factory Reset + : Wipe Data, System, Cache and Dalvik Cache
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
Reboot to recovery
Install -> Magisk
Reboot -> System
Install -> Whathever you want
Reboot -> System
draentor said:
I think this guide is outdated.
That's what worked for me (Read everything before beginning) :
Unlock the bootloader
Update to the last OxygenOS version
Use Oxygen Updater app to be really up-to-date
Install TWRP
To do so, get the latest TWRP .img file here : https://twrp.me/oneplus/oneplus7pro.html
Get the latest twrp-installer.zip file too
It's ready for Android 11, maybe Android 12, I didn't tried
Don't forget to check "Developer options" in system settings
With your phone plugged in your computer, use adb commands and reboot to fastboot with "adb reboot bootloader"
Then, load TWRP with "fastboot boot twrp.img". Of course, you need to put the latest TWRP image file previously downloaded in the same folder and rename it "twrp.img"
In TWRP, go to Advanced then press "Flash Current TWRP"
Done !
Then, follow those instructions :
Wipe -> Factory Reset + : Wipe Data, System, Cache and Dalvik Cache
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
Reboot to recovery
Install -> Magisk
Reboot -> System
Install -> Whathever you want
Reboot -> System
Click to expand...
Click to collapse
Thanks, I'll save it for next time. Unfortunately the phone's dead and I'm not sure how I got there, nor how or if I can recover it. I made a thread here https://forum.xda-developers.com/t/op7pro-dead-black-screen-wont-turn-on.4387537/