Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
Detailed installation instructions:
Install LineageOS on jasmine_sprout
Download link:
LineageOS Downloads
Recommended Google Apps package:
Open GApps (choose ARM64 as Platform and 10.0 as Android, use the Variant you want. Recommended nano package)
Changelog:
Changes for jasmine_sprout
Bug reports:
How to submit a bug report
LineageOS GitLab
Donate to support development:
Donate via PayPal to LineageOS
XDA:DevDB Information
LineageOS 17.1 for Xiaomi Mi A2 (jasmine_sprout), ROM for the Xiaomi Mi A2
Contributors
mikeioannina
Source Code: https://github.com/LineageOS
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Recommended V11.0.10.0.QDIMIXM or newer
Based On: LineageOS
Version Information
Status: Nightly
Created 2020-06-03
Last Updated 2020-08-01
The included LineageOS recovery text is very small.
EDIT: Installed open_gapps-arm64-10.0-nano-20200603.zip using adb sideload without errors, but after system boot nothing changed, as if nothing has been installed
Flash magisk after gapps to retain gapps.
Manual of how to install the gapps from the lineage recovery
Flash lineage -> reboot recovery (or fastboot boot twrp again) -> flash gapps
It's an A/B phone people. It's been years.
ROM gets installed to the inactive slot. Addons install to current slot. Slot cannot be changed without rebooting, at least in current twrp.
manuelsilv said:
The included LineageOS recovery text is very small.
EDIT: Installed open_gapps-arm64-10.0-nano-20200603.zip using adb sideload without errors, but after system boot nothing changed, as if nothing has been installed
Click to expand...
Click to collapse
Why there's a need of magisk? I don't want to be rooted
P4Block said:
Flash lineage -> reboot recovery (or fastboot boot twrp again) -> flash gapps
It's an A/B phone people. It's been years.
ROM gets installed to the inactive slot. Addons install to current slot. Slot cannot be changed without rebooting, at least in current twrp.
Click to expand...
Click to collapse
You use twrp, not the included recovery?
Are you implying gapps survive an OTA upgrade? If yes, please make a for dummies install guide (including the slot change steps)
@mikeioannina , Why is the fingerprint from build.prop so old?
Code:
ro.system.build.fingerprint=xiaomi/jasmine/jasmine_sprout:8.1.0/OPM1.171019.011/V9.6.17.0.ODIMIFE:user/release-keys
ro.build.fingerprint=xiaomi/jasmine/jasmine_sprout:8.1.0/OPM1.171019.011/V9.6.17.0.ODIMIFE:user/release-keys
How can this affect if you came from Android 10 V11.0.10.0QDIMIXM?
Gapps no installing?
Gapps not supported?
Terzoo said:
Gapps no installing?
Gapps not supported?
Click to expand...
Click to collapse
Lineage is always without Gapps
There are detailed instructions for installing lineage and additional zips like gapps in the first post, but I will link it again: https://wiki.lineageos.org/devices/jasmine_sprout/install
mikeioannina said:
There are detailed instructions for installing lineage and additional zips like gapps in the first post, but I will link it again: https://wiki.lineageos.org/devices/jasmine_sprout/install
Click to expand...
Click to collapse
Please indicate how to install the gapps from the lineage recovery
hugohenry16 said:
Please indicate how to install the gapps from the lineage recovery
Click to expand...
Click to collapse
Step 6 of the guide specifies how to install Gapps or Magisk.
I write this post only becoz i was not able to install gapps correctly with the rom ,but after lot of try at last i got it.... I provide method from start after u unlock bootloader...
1. Use command "fastboot boot twrp.img" , in fastboot mode
2.boot into twrp ,go to wipe format data than advanced wipe select all option and wipe
3. Transfer your rom ,gapps and mazisk to the sdcard via pc
4. Flash the rom first , than go to reboot option change slot to other one and reboot bootloader
5. Use command "fastboot boot twrp.img"
6. Flash gapps which u want (i use open gapps stock)
7. Flash mazisk (this is necessary) if u want to retain gapps after reboot
8. Now again go to main menu of twrp and wipe>format data
9. Now reboot your system .....
I use this method and got success to boot rom with gapps .....there is various methods but i told only which i applied....may be it will help to the needy one ......sorry for bad English
vikaseth said:
I write this post only becoz i was not able to install gapps correctly with the rom ,but after lot of try at last i got it.... I provide method from start after u unlock bootloader...
1. Use command "fastboot boot twrp.img" , in fastboot mode
2.boot into twrp ,go to wipe format data than advanced wipe select all option and wipe
3. Transfer your rom ,gapps and mazisk to the sdcard via pc
4. Flash the rom first , than go to reboot option change slot to other one and reboot bootloader
5. Use command "fastboot boot twrp.img"
6. Flash gapps which u want (i use open gapps stock)
7. Flash mazisk (this is necessary) if u want to retain gapps after reboot
8. Now again go to main menu of twrp and wipe>format data
9. Now reboot your system .....
I use this method and got success to boot rom with gapps .....there is various methods but i told only which i applied....may be it will help to the needy one ......sorry for bad English
Click to expand...
Click to collapse
you don't use the lineage recovery?
I have followed the lineage guide but it installs lineage but without gapps, even though I also install them as the wiki says
vikaseth said:
I write this post only becoz i was not able to install gapps correctly with the rom ,but after lot of try at last i got it.... I provide method from start after u unlock bootloader...
Click to expand...
Click to collapse
If I follow the official wiki method, I have no gapps after boot to system. If I follow vikaseth's method, I can't even boot to system, after a minute or two lineage logo animation my phone ends up in recovery saying data maybe corrupt and I have to format it, but it doesn't help also.
I tried lineage and twrp recovery also. If I combine the two, flash rom from lineage recovery, then flash gapps from twrp, I stuck with endless lineage logo animation.
Another one who has tried the same method for tohers roms to install gapps and no works and also tried lienage wiki and also no works.
Am I the only with a non working recent app button ?
Lautaro Mondaca said:
Another one who has tried the same method for tohers roms to install gapps and no works and also tried lienage wiki and also no works.
Click to expand...
Click to collapse
I followed the wiki instructions without problems also updated by OTA and everything is fine. Installed Gapps and Magisk.
I'm very happy with the ROM. Highly recommend.
Related
TWRP Recovery 3.2.3-0 For Xiaomi Redmi 6 (cereus) by TWRPBuilder
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Welcome, all Redmi 6 users, This is Lastest TWRP Recovery For your device By TWRPBuilder Team
CHANGELOG for 3.2.2-0:
* adb backup fixes
* OTA style update zips will now install automatically without prompting for decrypt
* minor tweaks to handling date/time on Qualcomm devices
* updates to some language translations
DownloadsXiaomi Redmi 6 Recovery img
Sources:
Code:
[CENTER][URL="https://github.com/TwrpBuilder/android_device_xiaomi_cereus"][COLOR="bule"]Device tree[/COLOR][/URL]
[URL="https://github.com/TeamWin/Team-Win-Recovery-Project"][COLOR="bule"]TeamWin Github
[/COLOR][/URL][/CENTER]
How to install:
You must have fastboot installed on your pc and then:
Code:
adb reboot bootloader
fastboot flash recovery recovery.img
Notes:
You have to disable force encryption in order to access data partition:
- Format data
- Flash Magisk DFE or DisableForceEncryption zip, attached below.
- If you flashed miui global/china you must flash magisk or the DisableForceEncryption zip before rebooting to the system, or recovery will be replaced!
Don't Forget to Hit Thanks :good:
https://forum.xda-developers.com/android/apps-games/twrpbuilder-t3744253
Screenshots
attached :silly:
and this also
Anyone tried? Does it work?
Works for redmi 6 pro?
i dont get it, i've tried several times to install this twrp.img.
but as soon as i reboot {fastboot boot twrp.img} it just goes into the system, instead of recovery, and then when trying to reboot to recovery its still the xiaomi recovery.
how do i prevent it from constantly replacing the twrp with the standard recovery??
i dont know how to install magisk or the other zip if i even cant get into twrp...
mauritsivs said:
i dont get it, i've tried several times to install this twrp.img.
but as soon as i reboot {fastboot boot twrp.img} it just goes into the system, instead of recovery, and then when trying to reboot to recovery its still the xiaomi recovery.
how do i prevent it from constantly replacing the twrp with the standard recovery??
i dont know how to install magisk or the other zip if i even cant get into twrp...
Click to expand...
Click to collapse
same here: no chance to boot into twrp, even tough flash was successful
webc82 said:
same here: no chance to boot into twrp, even tough flash was successful
Click to expand...
Click to collapse
it actually works. Make sure you keep the vol+ button pressed for a while when you do the fastboot boot command.
It will eventually go to a black screen after the mi logo. now wait about one minute and press the volume buttons and twrp suddenly appears!!.
After installing ROM, it got soft-bricked, Had to wipe cache and dalvik again after rebooting, then it worked.
jackint said:
Works for redmi 6 pro?
Click to expand...
Click to collapse
No, it's different device
1.installed DisableForceEncryption_Treble.zip would restart forever.
2.MTP/ADB sideload don't work
3.everytime reboot show “Android System there's an internal problem with your device.Contact your manufactirer for details."
4. reboot is very solw.
Dachtire said:
1.installed DisableForceEncryption_Treble.zip would restart forever.
2.MTP/ADB sideload don't work
3.everytime reboot show “Android System there's an internal problem with your device.Contact your manufactirer for details."
4. reboot is very solw.
Click to expand...
Click to collapse
I have the same “Android System there's an internal problem with your device.Contact your manufacturer for details." message after installing global rom 9.6.4 and DFE
And i couldnt get my sim card working
has anyone been able to install a working rom on this device?
TWRP is not working.
I flash Magisk successfully and reboot the system normally. when i go back to twrp i don't find mount data. when my flash ROM from micro sd will work? please answer dev @TwrpBuilder
(Rom from Xiaomi.eu)
TWRP is working. But do not install custom rom. (Rom from Xiaomi.eu)
Good news. Now waiting a lineageos rom to leave MIUI.
gogojuy said:
TWRP is working. But do not install custom rom. (Rom from Xiaomi.eu)
Click to expand...
Click to collapse
If flash rom miui stable grobal wil work?
What is Xiaomi's wait time for unlocking BL on this device?
unlock time was 15 days for me...
i succesfully unlocked with no problems.
after flashing TWRP i ran into the same problems like Dachtire:
“Android System there's an internal problem with your device.Contact your manufactirer for details."
Click to expand...
Click to collapse
SIM wasn't working.
after several reflashing attemps i eventually flashed miui_HM6Global_V9.6.4.0.OCGMIFD_fb107cc63b_8.1.zip with success.
i'm experiencing problems with OTA right now... haven't figured out what the problem is.
---------- Post added at 07:38 PM ---------- Previous post was at 07:37 PM ----------
[/COLOR]
snoerme said:
unlock time was 15 days for me...
i succesfully unlocked with no problems.
after flashing TWRP i ran into the same problems like Dachtire:
SIM wasn't working.
after several reflashing attemps i eventually flashed miui_HM6Global_V9.6.4.0.OCGMIFD_fb107cc63b_8.1.zip with success.
i'm experiencing problems with OTA right now... haven't figured out what the problem is.
Click to expand...
Click to collapse
Thx are aware of this, its good information?
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
Arround 1 minute on proses unlocking
I got device on 13 pm
Adding mi account on 13.20 pm
Ubl on 15.00 pm
I've tried flashing the phone to TWRP, and it sticks...
but when I flash LineageOS 16, it says no space... so I erase the system partition...
flash again and add Opengapps for pie 64bit version...
and it just boots to a lineage recovery page...
I haven't tried other roms, because I just basically want lineageOS, minimal gapps, and google camera basically
I have tried 3 times already, but this A and B partitions got me all worked up... do I have to flash A then do it all again for B partition?
I've had the phone for a week now, I'm staying on Stock Pie at the moment, because I turned off a bunch of stuff and battery drain in quite minimal at least... and I'm quite happy actually...
but I wanna test around roms to see what the community has created for this device.
SaberJ2X said:
I've tried flashing the phone to TWRP, and it sticks...
but when I flash LineageOS 16, it says no space... so I erase the system partition...
flash again and add Opengapps for pie 64bit version...
and it just boots to a lineage recovery page...
I haven't tried other roms, because I just basically want lineageOS, minimal gapps, and google camera basically
I have tried 3 times already, but this A and B partitions got me all worked up... do I have to flash A then do it all again for B partition?
I've had the phone for a week now, I'm staying on Stock Pie at the moment, because I turned off a bunch of stuff and battery drain in quite minimal at least... and I'm quite happy actually...
but I wanna test around roms to see what the community has created for this device.
Click to expand...
Click to collapse
If still in a quandary here goes ...
Flash per instructions for ROM you're going to use (see ROM OP instructions).
Here is a very basic rundown as compiled from various instructions from ROM's within XDA
1. Make sure you are on the correct vendor for the ROM you want
2. Download the ROM and Gapps
3. Pay attention to what slot stock bootloader is in (A or B) within bootloader window
4. Boot into TWRP Recovery
Remember that TWRP flashes to both slots, the Rom flashes to opposite slot you're in. Try to flash ROM and Gapps
onto same slot original bootloader appears as (in Reboot Menu)
5. Wipe as instructed within ROM instructions -- (clean/dirty?)
6. Flash the ROM (noting slot)
7. Flash TWRP Install Script (Don't forget, this is important to do!)
8. Reboot Recovery (note slot)
Gapps will flash to current boot slot so check and confirm that you are in the slot you want. If not, switch to it and
reboot the recovery again (you can check in Reboot Menu)
9. Flash Gapps
10. Reboot and Setup Device
If rooting, Magisk can be installed after first boot
If needed, with adb you can run this command to swap to A or B "fastboot --set-active=a (or b)"
Hope this helps, remember ... Flash per instructions for ROM you're going to use (see ROM OP instructions).
This TWRP recovery is compiled from source & not official yet
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Prerequisites
1. Unlocked bootloader.
Bugs
1. No bugs
2. If you have found a bug, please consider posting it to my GitHub Issues.
Instructions
1. Go to the fastboot mode.
2. Download the recovery.img and transfer it to the adb folder.
3. Open the cmd/terminal and change directory into the adb folder.
4. Now confirm/check that device is connected by typing:-
Code:
fastboot devices
If you got your device seriel number there then you are ready to continue otherwise try connecting device again and make sure USB debugging is on and you have granted permission to the PC to debug.
5. After that we will flash this TWRP recovery to the recovery partition by below command:-
Code:
fastboot flash recovery twrp-name.img
BooM ! TWRP flashed successfully.
6. Now unplug your device and then hold power button untill the phone turned off,after that press power button while holding vol down(-) button simultaneously and you will boot into TWRP recovery mode.
Enjoy !
Downloads
Official TWRP Website : https://twrp.me/umidigi/onemax.html
GitHub Release : Here (release name : TWRP-UMIDIGI-One_Max)
Version Information
ROM OS Version: 8.1.x Oreo
Source Code: Device Tree
Based On: TWRP
Credits
Omni Team for minimal TWRP source
@chankruze (myself) for device tree and compilation.
SUPPORT
Official Telegram Group
Official Telegram Channel
Hey ! Good job ! I tried building my own TWRP today but then noticed someone already did it ! Does encryption work ? I cant seem to decrypt the partition after flashing your TWRP.
EDIT : Couldn't wait, ended up formatting with encryption disabled via a zip + magisk
I've then proceeded to flash some GSI for Android 9 (even tried Q Beta 3) and if we want 9.0 one day, some heavy work will be needed : Cellular doesn't work; other than that, it all seems fine to me, camera is only 12mpx, front is 13mpx. Haven't tested more, i'm back to stock
EDIT 2: After comparing camera from stock and gsi, GSI wins easily. The camera is not as slow as stock.
Are there any decent ROMs yet for this phone? LineageOS would be fantastic.
@kgoerbig not to my knowledge. Maybe I'll try porting a 9.0 GSI soon.
I'm not sure if this is helpful or not, but Umidigi posts stock ROM on there forum. Can ROMs be ported based on there code? Or is it more complicated then that?
https://community.umidigi.com/m/?a=viewthread&tid=18692
_cab13_ said:
Hey ! Good job ! I tried building my own TWRP today but then noticed someone already did it ! Does encryption work ? I cant seem to decrypt the partition after flashing your TWRP.
EDIT : Couldn't wait, ended up formatting with encryption disabled via a zip + magisk
I've then proceeded to flash some GSI for Android 9 (even tried Q Beta 3) and if we want 9.0 one day, some heavy work will be needed : Cellular doesn't work; other than that, it all seems fine to me, camera is only 12mpx, front is 13mpx. Haven't tested more, i'm back to stock
EDIT 2: After comparing camera from stock and gsi, GSI wins easily. The camera is not as slow as stock.
Click to expand...
Click to collapse
I have tested LineageOS 16.0 GSI Android 9.0 (and many others ...) and it works well, even GSM and Camera.
The only thing I cannot have is a complete root : I install Magisk 19.3 correctly, but applications cannot get root permission (Titanium Backup cannot have su permission)
Hi to all!!!
I've unlocked bootloader, flashed twrp in post but when I power Off and On+Vol - my device doesn't power up...
Also if I make fastboot reboot recovery, my device reboot in fastboot mode again...
What's wrong??? I would test Descendant_ThreeDotZero_arm64_aonly rom!!!!
Pls Help me!!!!
silviuss82 said:
Hi to all!!!
I've unlocked bootloader, flashed twrp in post but when I power Off and On+Vol - my device doesn't power up...
Also if I make fastboot reboot recovery, my device reboot in fastboot mode again...
What's wrong??? I would test Descendant_ThreeDotZero_arm64_aonly rom!!!!
Pls Help me!!!!
Click to expand...
Click to collapse
If you use the stock boot.img with an GSI system image, it will not boot, you must first flash Magisk.zip before reboot!
It will disable dm-verity, and you can boot after.
If it continue reboot in bootloader mode, use spflashtool to flash a stock rom and all will be right
Or if you have a TWRP backup, restore all partitions except boot/recovery/cache/system/data and you can boot
@ dreambo Can you make a writeup of properly unlocking the bootloader/rooting? Or did you use these methods?
https://community.umidigi.com/forum.php?mod=viewthread&tid=17376
https://www.youtube.com/watch?v=xM_M5XP--Z8&t=176s
I should be receiving my Umidigi One Max in a day or so, and do not want to bork anything up! I have SPflash installed both on a Win10 laptop, and on a Ubuntu Linux machine.
dreambo said:
If you use the stock boot.img with an GSI system image, it will not boot, you must first flash Magisk.zip before reboot!
It will disable dm-verity, and you can boot after.
If it continue reboot in bootloader mode, use spflashtool to flash a stock rom and all will be right
Or if you have a TWRP backup, restore all partitions except boot/recovery/cache/system/data and you can boot
Click to expand...
Click to collapse
kgoerbig said:
@ dreambo Can you make a writeup of properly unlocking the bootloader/rooting? Or did you use these methods?
https://community.umidigi.com/forum.php?mod=viewthread&tid=17376
https://www.youtube.com/watch?v=xM_M5XP--Z8&t=176s
I should be receiving my Umidigi One Max in a day or so, and do not want to bork anything up! I have SPflash installed both on a Win10 laptop, and on a Ubuntu Linux machine.
Click to expand...
Click to collapse
You do not need to unlock you phone, mine is rooted with Magisk and have TWRP installed without unlock bootloader.
Just use spflashtool to flash a stock rom, but replace the recovery by TWRP and the boot.img by magisk_patched.img one.
Here how I do exactly:
1- in my running stock rom, I install MagiskManager and install Magisk by choosing the last option (patch existing boot.img)
2- give it your stock boot.img (extracted from stock rom) and it create for you /sdcard/Download/magisk_patched.img
3- use this to replace your stock boot.img and use also TWRP.img to replace stock recovery.img and flash the whole rom with SPFlashTool
Can you backup with TWRP with a locked bootloader? Isn't write access blocked with a locked bootloader?
dreambo said:
You do not need to unlock you phone, mine is rooted with Magisk and have TWRP installed without unlock bootloader.
Just use spflashtool to flash a stock rom, but replace the recovery by TWRP and the boot.img by magisk_patched.img one.
Here how I do exactly:
1- in my running stock rom, I install MagiskManager and install Magisk by choosing the last option (patch existing boot.img)
2- give it your stock boot.img (extracted from stock rom) and it create for you /sdcard/Download/magisk_patched.img
3- use this to replace your stock boot.img and use also TWRP.img to replace stock recovery.img and flash the whole rom with SPFlashTool
Click to expand...
Click to collapse
kgoerbig said:
Can you backup with TWRP with a locked bootloader? Isn't write access blocked with a locked bootloader?
Click to expand...
Click to collapse
If you can run the TWRP with a locked bootloader (and you can in case of umidigi one max) you can do any thing
dreambo said:
If you can run the TWRP with a locked bootloader (and you can in case of umidigi one max) you can do any thing
Click to expand...
Click to collapse
One last question. =)
Which boot file from stock did you use to patch with?
Downloadable from: https://community.umidigi.com/forum.php?mod=forumdisplay&fid=211
UMIDIGI One Max V1.0
or
UMIDIGI One Max E V1.0
kgoerbig said:
One last question. =)
Which boot file from stock did you use to patch with?
Downloadable from: https://community.umidigi.com/forum.php?mod=forumdisplay&fid=211
UMIDIGI One Max V1.0
or
UMIDIGI One Max E V1.0
Click to expand...
Click to collapse
I have used the European one, UMIDIGI One Max E V1.0
So I just received my One Max today. I was able to patch the boot image, and root the phone. I also, installed TWRP, but I'm running into an issue. From TWRP, I formatted with a normal wipe, It asked "Do you want to do this, it wipes data encryption Etc". I typed yes, and it did it's thing. Rebooted. Setup my basic settings on the phone. I rebooted back into TWRP, and it immediatly asked for a "decryption" password. It also won't allow me to mount internal partitions or sdcard. This even after I rooted via a patched boot file, and verified root access while booted in android (with root verify app). What am I doing wrong for TWRP to gain access to storage?
"Couldn't wait, ended up formatting with encryption disabled via a zip + magisk"
How did you format without encryption? I try to format from TWRP, type 'yes' , to verify, and encryption is still active. I'd like to disable encryption, so that I can properly backup everything from TWRP.
kgoerbig said:
So I just received my One Max today. I was able to patch the boot image, and root the phone. I also, installed TWRP, but I'm running into an issue. From TWRP, I formatted with a normal wipe, It asked "Do you want to do this, it wipes data encryption Etc". I typed yes, and it did it's thing. Rebooted. Setup my basic settings on the phone. I rebooted back into TWRP, and it immediatly asked for a "decryption" password. It also won't allow me to mount internal partitions or sdcard. This even after I rooted via a patched boot file, and verified root access while booted in android (with root verify app). What am I doing wrong for TWRP to gain access to storage?
Click to expand...
Click to collapse
Search in xda forum a zip that you can flash with TWRP before installing the Magisk zip from TWRP.
its name is disable_dm_verity????.zip, it disable in the boot.img the encryption.
After that format the data partition (format and not wipe, it's important!) and reboot normally, and your data partition will not be encrypted
dreambo said:
Search in xda forum a zip that you can flash with TWRP before installing the Magisk zip from TWRP.
its name is disable_dm_verity????.zip, it disable in the boot.img the encryption.
After that format the data partition (format and not wipe, it's important!) and reboot normally, and your data partition will not be encrypted
Click to expand...
Click to collapse
I eventually found all the correct files to remove encryption. I also installed AOSP. I'm kind of torn between the stock and AOSP. AOSP has better performance, but one annoying aspect is that I cannot find anywhere in the settings to switch the navigation buttons in AOSP (Back button is on the far left, I like it on the right side). Seems trivial, but it's annoying. I can now fully backup & restore in TWRP, which makes life a lot easier.
kgoerbig said:
I eventually found all the correct files to remove encryption. I also installed AOSP. I'm kind of torn between the stock and AOSP. AOSP has better performance, but one annoying aspect is that I cannot find anywhere in the settings to switch the navigation buttons in AOSP (Back button is on the far left, I like it on the right side). Seems trivial, but it's annoying. I can now fully backup & restore in TWRP, which makes life a lot easier.
Click to expand...
Click to collapse
Which AOSP ? where do you found it ?
dreambo said:
Which AOSP ? where do you found it ?
Click to expand...
Click to collapse
This thread:
https://forum.xda-developers.com/android/development/umidigi-one-max-custom-rom-modding-t3942521
This Rom
https://github.com/phhusson/treble_experimentations/releases
Do a complete backup of stock from TWRP onto microsd or USB first! System, data, modem, nvram partitions etc. That way you can restore from TWRP, and not lose os, data, or nvram (IMEI).
Specifically, system-arm64-aonly-gapps-su.img.xz
1. Download and extract file you downloaded, onto your phone.
2. Do a format (type yes)
3. Install from TWRP as "image".
Hi
I have problems to install LineageOS on my new OnePlus6. I tried to install LineageOS with the guide on https://wiki.lineageos.org/devices/enchilada/install. If I follow the guide exactly step by step no OS is starting and I can't boot into recovery because (I think) twrp isn't installed (just black screen with blue led). But also if I first boot twrp with fastboot boot 'twrp.img' and after install the twrp.zip, no OS is starting after sideload or flash the 'lineageos.zip'. I think, the install doesn't finish correct. In the terminal on my debian I can see, that the installprocess ends at 47%. But I'm not really shure if this is the problem and if it is, how I can solve it. Probably in this thread the same problem is described: https://forum.xda-developers.com/oneplus-6/help/lineage-doesnt-boot-black-screen-light-t3958351 Unfortunately no solution is available in the thread.
Now I flashed the stockrom (https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665) and have done all updates but don't know how I can install twrp and after LineageOS. I hope somebody can help me. Thanks
Do you have the latest ADB version? Instead of sideloading you can try just transferring the zip files (with e.g. "adb push lineageos.zip /sdcard/") and then installing directly from TWRP.
Make sure you do all the wipes / formats mentioned in the guide. Transfer and flash the lineageos.zip. Then directly after you should flash the twrp.zip Then reboot back into recovery and flash Magisk / Gapps etc if needed. Then finally reboot to system.
Also read this guide if you haven't already as it explains a lot about how flashing ROMs on OnePlus 6 is different to many other older phones.
Hi and thank you makeyourself
I tried the following steps:
1. starting fastboot
2. fastboot boot twrp-3.3.1-2-enchilada.img -> twrp starting up
3. adb push twrp-installer-3.3.1-2-enchilada.zip /sdcard/ -> transfer ok
4. adb push lineage-16.0-20190922-nightly-enchilada-signed.zip /sdcard/ -> transfer ok
5. in twrp Wipe -> Format Data
6. in twrp Advanced Wipe -> System
7. in twrp install lineage-16.0-20190922-nightly-enchilada-signed.zip
8. in twrp install twrp-installer-3.3.1-2-enchilada.zip
9. reboot to recovery
After this steps I got the same problem as before. Before the reboot to recovery, twrp showed the message "no OS installed". So I think, the zip weren't installed correctly. Now, I have the black screen with the blue led. Can you find out what I did wrong?
Edit: Now, I can't also boot twrp. Also if I do a fastboot boot twrp-3.3.1-2-enchilada.img nothing happens.
Fastboot to twrp (newest blu spark should be fine, or black twrp)
Flash twrp zip
Reboot to twrp
Wipe data, cache.
Flash recommended oos
Flash twrp
Reboot to twrp
Flash recommended twrp (yes...... Again)
Flash twrp (yes... Again, recovery is lost after rom Flash ALWAYS)
Reboot to twrp
Flash LOS or any other custom rom
Flash twrp (rom Flash, so twrp is lost like I said)
Reboot to twrp
Flash magisk (IF ypu want magisk)
Flash gapps (IF ypu want gapps)
Flash kernel (IF I like to run another custom kernel)
Boot
Enjoy
Thank you whizeguy, I'll try this. But just one question about "Flash recommended oos". Which OxygenOS can I flash (this full OTA? https://www.xda-developers.com/oneplus-6-oneplus-6t-oxygenos-9014-906/) and why I have to do this? Sorry if it is a bad question.
You Flash The oxygen OS version that is recommended in Los thread, simple as that.
You have an a/b device, vendor partition (could be other files needed aswell, not 100 % sure) is needed to Flash custom, IF you did Amy research you'd finns some good info. Also for faster answers in The future: post your issue in the thread for LOS, that way you would get help from People Who uses it, knows The exact version you should use and what not
Hey whizeguy, thank you very much. Everything works perfect now. But why for heaven's sake do I have to flash oos and why the guide on the LineageOS site don't tell me this way?
Wow idk what happened here. Mistakenly replied to this thread. Apologies.
Hello Android developers and enthusiasts,
I've been installing ROM since 2011 so I would not call myself a n00b however I seemingly cannot install an Android 10 ROM without issues. So this is a plea for help and advice!
I know you need to have OOS installed before you install a custom ROM so I use Auto Flash ROM to install OOS with Android 9 via System Update. I then boot and set up phone, install update, reboot and then install the OOS android 10 via the System Update. I then have a OOS installed with Android 10.
Why would I use such an elaborate method you may ask? Well, I tried to download latest OOS from OnePlus site and wipe phone and then install OOS but that fails (didn't record the error I'm afraid).
I then download all the ROM + dependencies on an USB stick and use fastboot to flash Mauronofrio TWRP. I then follow the steps in the ROM instructions. For EvolutionX these were:
First Time Install / Clean Flash
- Have OOS 10.3 flashed to both slots!!
- Boot to recovery
- Flash BUILD.zip (TWRP built-in)
- Wipe Cache
- Format data
- Reboot to recovery (optional)
- Flash Magisk.zip (optional)
- Reboot to system & #KeepEvolving
Click to expand...
Click to collapse
I followed these to the letter but when i rebooted system I got a snapdragon error and it wouldn't even boot into TWRP until I used fastboot to flash boot into TWRP. I also tried HavocROM and same happened.
I did manage to install Syberia using above method but I didn't like the ROM that much unfortunately.
Finally, I've also read up a lot on Slot A and B but it still is not very clear to me. I think I understand it but what happens does not confirm my theories
I therefore have some questions:
- Should I be able to wipe my phone and install OOS on a wiped phone and then install a custom ROM?
- When I install ROM and it says "Reboot Recovery" and then install ROM again. But if I check what slot is being used the reboot doesn't seem to change the slot. My assumption was that booting recovery was to install ROM in the other slot. Is that correct?
Any other tips you can give me?
Again, I like to stress I am not new to installing custom ROMs so I am a bit disappointed that this is causing me such grief.
Following some answers I will retry tomorrow so I can give some more details if needed. For now, appreciate any help.
roel1976 said:
Hello Android developers and enthusiasts,
I've been installing ROM since 2011 so I would not call myself a n00b however I seemingly cannot install an Android 10 ROM without issues. So this is a plea for help and advice!
I know you need to have OOS installed before you install a custom ROM so I use Auto Flash ROM to install OOS with Android 9 via System Update. I then boot and set up phone, install update, reboot and then install the OOS android 10 via the System Update. I then have a OOS installed with Android 10.
Why would I use such an elaborate method you may ask? Well, I tried to download latest OOS from OnePlus site and wipe phone and then install OOS but that fails (didn't record the error I'm afraid).
I then download all the ROM + dependencies on an USB stick and use fastboot to flash Mauronofrio TWRP. I then follow the steps in the ROM instructions. For EvolutionX these were:
I followed these to the letter but when i rebooted system I got a snapdragon error and it wouldn't even boot into TWRP until I used fastboot to flash boot into TWRP. I also tried HavocROM and same happened.
I did manage to install Syberia using above method but I didn't like the ROM that much unfortunately.
Finally, I've also read up a lot on Slot A and B but it still is not very clear to me. I think I understand it but what happens does not confirm my theories
I therefore have some questions:
- Should I be able to wipe my phone and install OOS on a wiped phone and then install a custom ROM?
- When I install ROM and it says "Reboot Recovery" and then install ROM again. But if I check what slot is being used the reboot doesn't seem to change the slot. My assumption was that booting recovery was to install ROM in the other slot. Is that correct?
Any other tips you can give me?
Again, I like to stress I am not new to installing custom ROMs so I am a bit disappointed that this is causing me such grief.
Following some answers I will retry tomorrow so I can give some more details if needed. For now, appreciate any help.
Click to expand...
Click to collapse
Hi!
I had this exact same problem a couple months ago. Rebooting to recovery used to change slots for me, but then it stopped.
What you can do is change active slot manually on Reboot section. By doing this, you don't even have to reboot to recovery in other to flash the other slot (altough I do it just to be safe).
And remember: the rom is flashed on the inactive slot, so after the final flash you gotta change slots one more time.
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Thanks for the info, it really helps.
One question: in your experience can you wipe your phone and then installl OOS on the wiped phone?
So I just booted into TWRP, did standard wipe action: Data, Cache, and Dalvik. I then try to flash the latest OOS zip and I then get this error:
Error applying update: 7 (ErrorCode::kInstallDeviceOpenError)
Updater process ended withL ERROR: 1.
Error installing zip file: '/usbstorage/00, INSTALL/OnePlus6Oxygen_22_OTA_044_all_2002220042_a46425f1bfe43d2.zip
FIXED: I was using TWRP 3.3.1.11 and I then found out there was a newer version: 3.3.1.18 which you can get here: https://sourceforge.net/projects/mauronofrio-twrp/files/Enchilada/
I am now able to install OOS from scratch (ie wiped phone).
remewer said:
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Click to expand...
Click to collapse
I tried this method and everytime I can't seem to flash oos onto the other slot because when it reboots to recovery the folder is encrypted so I can't see which file is the zip. How do I flash the seccond OOS if it shows up encrypted in TWRP.
I have a OnePLus 6 with the latest OOS now because I got into boot loop and i used a flash-all.bat to get back to stock. I also use maronofrio's twrp because that works.
harshybar said:
I tried this method and everytime I can't seem to flash oos onto the other slot because when it reboots to recovery the folder is encrypted so I can't see which file is the zip. How do I flash the seccond OOS if it shows up encrypted in TWRP.
I have a OnePLus 6 with the latest OOS now because I got into boot loop and i used a flash-all.bat to get back to stock. I also use maronofrio's twrp because that works.
Click to expand...
Click to collapse
If you can boot OOS fine, try to do a local update so that both slots have OOS. Then try to flash a custom ROM again using the method I've mentioned.
remewer said:
If you can boot OOS fine, try to do a local update so that both slots have OOS. Then try to flash a custom ROM again using the method I've mentioned.
Click to expand...
Click to collapse
When you say local update you mean while I am running the rom, go to settings then do update from local source?
harshybar said:
When you say local update you mean while I am running the rom, go to settings then do update from local source?
Click to expand...
Click to collapse
Exactly
GuestD2559 said:
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Click to expand...
Click to collapse
@Cypher_01, Try this guide. This worked for me. I did not reinstall Nikgapps. Maybe that's where the problem lies? Don't forget to change the update slot at the end before you restart.