What to do with my shiny new pink phone? (root, roms and stuff) - Xiaomi Redmi 4X Questions & Answers

I'll try to be concise. I have some awareness of these things, I've played around with roms and stuff before but my knowledge is very shallow and if something has worked for me, I couldn't tell you how to replicate it.
I had a Redmi 4X and broke it, so I've been using an LG G2 in the meantime. On the G2 I got lineage OS working and this seemed good for me, I survived more or less without any google apps or anything, and as far as I can tell I managed to get rid of google play services and everything. I didn't get push notifications, and I think one app I wanted didn't work at all (a french banking one) and when I tried to use open street maps to navigate it would never detect my location so I assume there is some google thing that provides gps functionality(?). Now I have a brand new Redmi 4X, and want to get rid off all traces of Google and Xiaomi **** on it, but preferably have the functionality that was missing from the G2. And what I'm looking for help with now is a rough breakdown of what I can or should do.
So far I think rooting is probably good or necessary, TWRP is necessary if I'm messing around with it, and a custom rom like lineageos (although I'm open to suggestions) with microg would be perfect for me. Except there is not an official lineage os release for the 4X and I have no idea where to start safely installing any of these things, as it just seems to be an endless rabbit hole of "to do this, first do this" that I don't really understand.
I'd appreciate any advice, thanks.

brokemyG2 said:
want to get rid off all traces of Google and Xiaomi **** on it
Click to expand...
Click to collapse
I'm in similar situation, waiting for official LineageOS release. In the meantime I use and propose the following setup:
- install xiaomi.eu ROM which already discards a number of Xiaomi and Google apps
- root it with SuperSU
- with root and apps like 'Service Disabler' remove or disable more Xiaomi and Google stuff
Detailed instructions are here https://xiaomi.eu/community/threads/7-11-23.42417/
As Xiaomi has not released R4X kernel sources yet, most of custom ROMs suffer from a variety of problems, except for those based on official Xiaomi like the xiaomi.eu ROM.
:good:

k23m said:
I'm in similar situation, waiting for official LineageOS release. In the meantime I use and propose the following setup:
- install xiaomi.eu ROM which already discards a number of Xiaomi and Google apps
- root it with SuperSU
- with root and apps like 'Service Disabler' remove or disable more Xiaomi and Google stuff
As Xiaomi has not released R4X kernel sources yet, most of custom ROMs suffer from a variety of problems, except for those based on official Xiaomi like the xiaomi.eu ROM.
:good:
Click to expand...
Click to collapse
I've finally got round to it today. Got as far as installing TWRP, it took me a while to get through what looked like a chinese recovery menu but once I did get TWRP it asked me for a passowrd for decrpytion (I don't know because the phone's brand new) and I skipped past that and rebooted, now I don't seem to be able to boot up, I'm just stuck with the Mi logo on the screen. Any advice? Also, is there a mailing list I can sign up for to know when LineageOS will be available?
Thanks a lot
UPDATE - Right, the problem is solved I think. I had to do an awful lot of googling, and I'm not entirely sure what it was specifically that fixed it. But I found a guide that taught me the fastboot command "fastboot boot twrp.img" which saved the day. Even when my phone wouldn't let me into recovery, it allowed me to flash a no-verity.zip which i think is what allowed me to boot, and it allowed me to flash superSU.zip and then the ROM I was aiming for. And now I've booted into the ROM successfully and hopefully I am rooted and all is well. Plus I can access TWRP as normal now.

Related

First Things To Do After Getting My Mi Mix?

Just found out that I have a Mi Mix waiting for me when I get home. I've made a checklist of what I want to do to it to get it setup for my use. I wanted to know if anyone had anything to add or has done any of what I'm planning on.
Unlock Bootloader
This should be relatively simple. I already have my unlock permission and will be using the directions from here: http://en.miui.com/thread-202290-1-1.html
As far as I can tell by reading that thread, I do not need to install the developer ROM first. Is this correct?
I will also follow the top reply to this thread which mentions linking your device to your Mi account before unlocking to prevent errors: https://m.reddit.com/r/Xiaomi/comments/5co8t1/mi_unlock_approval/​
Install TWRP
My plan is to follow these instructions: http://forum.xda-developers.com/mi-mix/development/recovery-official-twrp-xiaomi-mi-mix-t3498960
This is where I start having questions. I've been out of the rooting and ROMing game for a couple of years. Does anyone recommend rooting with anything other than SuperSU? I'm reading that it was bought by a Chinese company and shouldn't be trusted. I've also read that using Magisk you can have root that is easily turned off. I'll admit I'm pretty lost at the moment when it comes to what Magisk does and how to use it. But if it is the recommended way of doing things I will do the research to learn it.​
Flash The EU ROM
I think my plan is to flash this EU ROM which debloats everything and seems to come with gapps and a lot of other nice optimizations: https://xiaomi.eu/community/threads/6-11-10.36056/
My first question is has anyone tried this?
My second question is will I need to reinstall TWRP and re-root? I think I will have to re-TWRP because on the TWRP page there is one version for stock and one for the EU version. I will be on stock first and I can't flash EU until after I flash TWRP. So I think the procedure will have to be:
Flash stock TWRP
Flash EU ROM
Flash EU TWRP
Re-Root?
Turn Off All Battery Optimizations
Don't have a guide for this yet but I'm guessing it's not hard to find. Feel free to reply with one if you have one.​
Personalize
Launchers/Themes/Icon Packs/etc. Don't need suggestions here since I already know what I have in mind.​
Anything else?
The only other thing I can think of that I might want to install is Xposed. I've never used it and don't know how to install it but I'll learn if I can be convinced that it's something I want.
What else am I missing?​
I think right now the biggest thing I'm curious about is if anyone has used the EU ROM and what the procedure is if you use that ROM since there are 2 different versions of TWRP for the Mi Mix. But any other suggestions on what to do with the initial setup or how to make my experience better are welcome. I'd also love to hear about any "gotchas" that aren't mentioned in the guides from people who have actually done it.
Well I took the plunge without waiting for feedback and for anyone who is interested, I'll answer my own questions. Read the posts that I linked in the OP to understand what I'm doing below. I will not cover how to get unlock permission as this has been covered elsewhere.
Unlock Bootloader
As far as I can tell by reading that thread, I do not need to install the developer ROM first. Is this correct?
Click to expand...
Click to collapse
This is not correct. You must install the Dev ROM and connect to WiFi and follow the steps to enable Developer options and login to your Mi account in developer options.​
Install TWRP
Before installing TWRP you must update back to the stable ROM. The non-EU version of TWRP will not work with the Dev ROM as of this posting. You can update to the stable ROM using the same steps as updating to the developer ROM. In the TWRP install guide I linked above, I stopped right after step 6 and continued below.​
Flash the EU ROM
Instead of flashing SuperSU after installing TWRP, I copied over the EU ROM linked above and flashed that. Then I followed the instructions starting from step 3 of this post to flash SuperSU, Magisk, and suhide: https://www.reddit.com/r/pokemongod...k_v7_systemless_xposed_v866_released/d8d7ziw/
The only change I made is that in between steps 4 and 5, I flashed the EU version of TWRP before continuing because otherwise the touchscreen would not work in TWRP. I used the most recent versions for the SuperSU, Magisk, and suhide and I did not flash Xposed yet but I believe I can do that in the future if I want to.​
That's where I'm at now. The rest of my checklist was mostly personal preference so I won't go into that. Hope this helps.
@chimera533
THX for taking the plunge & sharing your results with us.
I'm sure I'll be doing the same once mine arrives, hope you don't mind if I look this way if I have any questions regarding TWRP/Root/etc.....
Thank you for posting this, this is the exact list of what I will be doing when my Mi Mix comes in the mail (C'mon Ibuygou).
I couldn't seem to find a EU rom for Mi mix though it is listed in the thread as a supported drive. Will you please drop me the link to download? Thank you.
jim380 said:
I couldn't seem to find a EU rom for Mi mix though it is listed in the thread as a supported drive. Will you please drop me the link to download? Thank you.
Click to expand...
Click to collapse
I think I got mine from here: https://megadysk.pl/f/6.11.10
Just scroll down to the Mi Mix one.
There are 3 repositories to the 6.11.10 weekly ROMs at the top of the page here: https://xiaomi.eu/community/threads/6-11-10.36056/
As far as I know there are no stable EU builds for the Mi Mix probably because it's so new.
Also I believe the weekly updates show up here: https://xiaomi.eu/community/forums/miui-weekly-rom-releases.103/
The Mi Mix was skipped for 6.11.17 as evidenced by the note at the top of the 6.11.17 thread.
That's about all I know. I highly recommend reading all or most of every link I posted here. I'll confess that if I had, I would've known things like having to flash back to stable before TWRP-ing as well as some other things.
It would be nice if you did an edit of your original post, rather than a 'by the way' post below it. It would be much easier to follow the instructions.
I've installed TWRP on multiple phones. The dm-verity stuff is new to me (A xiaomi/MIUI thing I guess),
so the sequence appears to be:
install Official MIUI China developer ROM
<unlock>
install Official stable rom
install Official (Non-EU) TWRP (requires stable)
copy/install EU ROM after step 6 (aka before exiting TWRP)
< Do you reboot now and go back into fastload now? or stay inside TWRP? >
Install EU TWRP
install supersu (again, before you exit TWRP?)
Install Magisk, suhide?
Apologies but I'm away from home at the moment. I'll update the OP with more detail when I have a bit more time. But I'll give you some quick answers below.
install Official MIUI China developer ROM
Remember to log in to your Mi account in the developer options
<unlock>
install Official stable rom
install Official (Non-EU) TWRP (requires stable)
copy/install EU ROM after step 6 (aka before exiting TWRP)
While still in TWRP, install SuperSU in systemless mode.
Boot to system once
Boot back to fastboot and install EU TWRP
Boot to TWRP and install Magisk, suhide
Boot to system and install magisk manager
Got the Mi Mix 128GB overpriced in Thailand, but without any waiting time.
Love your early thread, very helpful.
I also want to get twrp, suhide, magisk and xposed, but I like to stay on the Chinese Dev or official ROM, not xiaomi.eu, because I like the paid themes which are only available on official ROMs.
I've got a MIUI developer account for 4 years, so I can unlock the device directly, being on stable ROM.
Now the steps are a bit unclear for me. Do I understand them correctly?
1. Unlock bootloader
Download and install the developer rom: http://en.miui.com/download-317.html
Create/Login with your MI Account on the device.
Apply for unlocking the bootloader here: http://en.miui.com/unlock/
Install stable ROM if desired
2. Install official TWRP (NON-EU)
Boot into fastboot mode by turning off your device then pressing volume up and power button
Install Minimal ADB and Fastboot on your PC: http://forum.xda-developers.com/showthread.php?t=2317790
Download the correct TWRP image file: https://dl.twrp.me/lithium/twrp-3.0.2-0-lithium.img.html
Copy the twrp file to where minimal adb and fastboot has been installed and rename the twrp file to twrp.img
Open fastboot on your computer and type:
Code:
fastboot flash recovery twrp.img
Code:
fastboot reboot
3. Install SuperSU in systemless mode
Download newest SuperSU: https://play.google.com/store/apps/details?id=eu.chainfire.supersu / http://download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip
In ADB shell or TWRP shell, type
Code:
echo SYSTEMLESS=true > /data/.supersu
if you don't already have this file to configure SuperSU to install in systemless mode.
Flash SuperSU.
4. Boot to system
5. Boot into TWRP, install Magisk, suhide, Xposed
suhide: http://forum.xda-developers.com/apps/supersu/suhide-t3450396
systemless xposed 86.2: http://forum.xda-developers.com/attachment.php?attachmentid=3897543&d=1475913773
magisk: http://tiny.cc/latestmagisk
6. Boot to system and install Magistk Manager
magisk manager: http://tiny.cc/latestmanager
7. Install XPosed
chimera533 said:
I think I got mine from here: https://megadysk.pl/f/6.11.10
Just scroll down to the Mi Mix one.
There are 3 repositories to the 6.11.10 weekly ROMs at the top of the page here: https://xiaomi.eu/community/threads/6-11-10.36056/
As far as I know there are no stable EU builds for the Mi Mix probably because it's so new.
Also I believe the weekly updates show up here: https://xiaomi.eu/community/forums/miui-weekly-rom-releases.103/
The Mi Mix was skipped for 6.11.17 as evidenced by the note at the top of the 6.11.17 thread.
That's about all I know. I highly recommend reading all or most of every link I posted here. I'll confess that if I had, I would've known things like having to flash back to stable before TWRP-ing as well as some other things.
Click to expand...
Click to collapse
Thank you so much for your help. I installed the ROM and have had it running for 2 days now. Coming from a HTC 10 (custom ROMed and everything), I;m really not digging MIUI on this phone. Lags so much it's literally driving me crazy. My 2 yrs old LG G2, which also has amazing screen-to-body ratio btw, runs circle around this phone. Really disappointed about this phone due to the software performance issues.
jim380 said:
Thank you so much for your help. I installed the ROM and have had it running for 2 days now. Coming from a HTC 10 (custom ROMed and everything), I;m really not digging MIUI on this phone. Lags so much it's literally driving me crazy. My 2 yrs old LG G2, which also has amazing screen-to-body ratio btw, runs circle around this phone. Really disappointed about this phone due to the software performance issues.
Click to expand...
Click to collapse
I don't experience any lags on the original ROM.
From my experience those micro-lags and performance issuese showed up on various devices in my Android past whenever something was wrong with the ROM. A clean flash mostly helped solve the problem.
I'm currently on the original Chinese stable with SuperSu and TWRP. It's blazing fast. What's the reason to flash the xiaomi.eu rom?
underlines said:
I don't experience any lags on the original ROM.
From my experience those micro-lags and performance issuese showed up on various devices in my Android past whenever something was wrong with the ROM. A clean flash mostly helped solve the problem.
I'm currently on the original Chinese stable with SuperSu and TWRP. It's blazing fast. What's the reason to flash the xiaomi.eu rom?
Click to expand...
Click to collapse
I had a nightmare trying to get to the EU Rom yesterday, I was mostly successful, however after a reboot i'd lose Touch in both TWRP and System. Thanks to this post from Chimera533 I was finally able to do it!
Anyway the main reason for the EU ROM is to get rid of all the Bloat and Chinese throughout the ROM that you cannot get rid of. It also has Google Services baked in properly so everything works correctly.
I also had a few other little niggles while on the Chinese ROM :-
Purchases from Google Play Movies wouldn't work
No Smart Lock while connected to Android Wear
No way to replace BAIDU and set Google as the search
So far i'm loving the EU Rom, i've not seen any lag at all while using it and pretty much everything seems to work exactly as it should - it has enhanced the MIX experience so much for me - love this thing!
Guys, how do I disable all battery saving optimizations / memory management optimzations? My background apps keep shutting automatically off after a while.
I'm on the default ROM without root (still waiting for developer approval)...
yakuzlin said:
Guys, how do I disable all battery saving optimizations / memory management optimzations? My background apps keep shutting automatically off after a while.
I'm on the default ROM without root (still waiting for developer approval)...
Click to expand...
Click to collapse
Go to the battery section & have a look around, you should find several settings for battery management.
You're gonna need root & an app such as Titanium Backup Pro, or, SD Maid Pro to disable a lot of the MIUI & Cheetah Mobile applications.
Fine tuning on a per app basis isn't enough (do not optimize battery savings for the apps you want to work properly, notifications, messaging, etc) .....
I highly recommend flashing the EU ROM, it seems to have better memory management than the Global ROM, but, you'll still need to disable a lot of the MIUI apps & all of the Cheetah Mobile s***ware to get memory management more to what you're used to experiencing.
One other item, go to Developer Options & disable MIUI Optimization, it should be the last item or close to it....

Multiple problems with custom roms - URGENT

Hello everyone, try to install several custom roms, there is no tutorial that explains how the rom and twrp are installed. There are many tutorials and they all contradict, some say do this, others say do the other, but all fail.
Twrp boot, flash rom, install custom rom on SLOT A, install TWRP on slot B.
PROVEN ROMS:
PixelExperience:
Very low call volume, impossible to fix.
LineageOS:
Does not start play store, does not allow login to accounts, does not allow to install gapps.
- CURRENT ROM--
Evolution X:
Does not start play store, does not allow login to accounts.
I have been installing customs roms for years and this device is costing me my life. HELP
The most users get in trouble with A/B devices because they don't know exactly the differences between A-only and A/B partitions.
You don't know how to install TWRP? Why? On twrp.me you can find a detailed instruction for every single model.
A custom ROM is always a .zip file and you can flash a .zip file via TWRP. If you flash a ROM while slot _a is set as active you will install the ROM on slot _b. That's all. That is the meaning of semless updates.
Every new ROM must contain a own boot.img. A new boot.img will delete TWRP and Magisk. TWRP is a recovery and A/B devices don't have own partition for recovery. The recovery is merged in the boot partition.
Also Magisk uses the boot.img to patch the ramdisk. Flashing a new boot.img means you override the patched ramdisk with a new own. As a result you need a new Magisk installation.
my recommendation is starting from scratch with a clean stock 10 install then trying again...
lineage wiki probably has the best install instructions https://wiki.lineageos.org/devices/lake/install but also check its forum thread https://forum.xda-developers.com/g7-plus/development/rom-lineageos-17-1-t4076569 for other recommendations . if you want evolution X read the instructions in its thread https://forum.xda-developers.com/g7-plus/development/rom-evolution-x-4-1-69-moto-g7-plus-t4081731 as well but there pretty much the same.... you've probably went threw those threads already based upon you saying you have tried 3 diff roms already, but try again from a clean install of stock 10 (IF you want to run a 10 rom). i know it's not really a "clean/easy/simple" solution/tutorial, but with this device there is some trial and error for getting a half assed working install. however MAKE SURE you are on a stock 10 rom when installing a 10 rom, pixel experience is a 9 rom and that could be part of your problem. moving from android 10 stock, to a 9 rom, then back to a 10 rom will lead to issues. or a 9 rom, to a 10 rom, without moving to stock 10 in between will lead to problems.
as this isnt nearly a widely adopted device, custom rom development and support isnt even close to other devices, so expect bugs. i've always ran cfw's on all my devices ever since the htc g1/dream days, this is my first device i've stuck with stock due to the lack of rom development, lack of widespread use and people actually wanting to use cfw and users to bug report, and stock being more stable... but your mileage may vary. also no disrespect meant towards the hard working dev's who do work on this device, keep it up.
Thank you very much, I feel lucky that you have responded so quickly, sometimes my messages I post in this forum are never answered. Right now I am with revolution X:
--- It has TWRP perfectly installed, it has the boot.img patched with Magisk without any error and rooted perfectly, but google play for more than clean and reinstall it never opens, it does not allow me to login to the accounts, the APPs they close alone, etc.
I will try to put the stock and again but I have very little hope. thanks, again¡¡
prodigy90 said:
Thank you very much, I feel lucky that you have responded so quickly, sometimes my messages I post in this forum are never answered. Right now I am with revolution X:
--- It has TWRP perfectly installed, it has the boot.img patched with Magisk without any error and rooted perfectly, but google play for more than clean and reinstall it never opens, it does not allow me to login to the accounts, the APPs they close alone, etc.
I will try to put the stock and again but I have very little hope. thanks, again¡¡
Click to expand...
Click to collapse
yeah it seems to be pretty finicky getting a good install and gapps seem to have issues. reading all the posts in the lineage17 thread just make me cringe. as much as i'd love to use lineage as my daily driver (or evo X) my days of willing to put up with a buggy rom and daily dirty flashing have come and gone. this was my first, and will be my last, moto device for the the simple fact it just doesnt have the user base and its development is stunted, compared to more widely used devices.
i hope you get something working, the lineage17 thread definetly has some good advice on what people have done to get a working install, should be able to apply flash order etc to a evoX install (minus having to install gapps for evoX)
solved
I managed to perfectly install the Stock Rom with the following tool:
Lenovo MOTO Smart Assistant, a real wonder, simply select the model and in fastboot, immediately install the factory rom.
download.lenovo.com/consumer/mobiles/lmsa_v4.5.0.14_setup.exe
prodigy90 said:
I managed to perfectly install the Stock Rom with the following tool:
Lenovo MOTO Smart Assistant, a real wonder, simply select the model and in fastboot, immediately install the factory rom.
download.lenovo.com/consumer/mobiles/lmsa_v4.5.0.14_setup.exe
Click to expand...
Click to collapse
yup, the LMSA is a great tool for sure. glad you got back to a clean stock install.

Which ROM, which TWRP, which Magisk?

I've used my "sanders" for 40 months, all on stock. Now, just for fun, I'd like to root it. I haven't done this in six or seven years, but I know the drill. Question is: which version of TWRP, of Magisk, and above all, which ROM should I flash? Is there a decent 11, or should I stick to 10? Lineage, or is there a reasonable alternative? Dunno how many folks are still using this device, but thanks for any suggestions!
Right now I have, downloaded and ready to go:
twrp-installer-3.5.2_9-0-sanders
Magisk-v22-0
and one ROM
EvolutionX_5.6_sanders-11-20210408-0314-OFFICIAL
G5S plus (sanders) does not show up on the LineageOS website that I can find...what are some other options?
thanks!
Oh, and one more thing...which Gapps go with the ROM you suggest? Thx?
I use Arrow 11 Vanilla without any gapps with the latest magisk. I use this version of TWRP which is not the latest but as far as I know it's the last one to support encryption well.
It's very stable as I don't experience any bug even with my banking apps
prairie-dad said:
I've used my "sanders" for 40 months, all on stock. Now, just for fun, I'd like to root it. I haven't done this in six or seven years, but I know the drill. Question is: which version of TWRP, of Magisk, and above all, which ROM should I flash? Is there a decent 11, or should I stick to 10? Lineage, or is there a reasonable alternative? Dunno how many folks are still using this device, but thanks for any suggestions!
Right now I have, downloaded and ready to go:
twrp-installer-3.5.2_9-0-sanders
Magisk-v22-0
and one ROM
EvolutionX_5.6_sanders-11-20210408-0314-OFFICIAL
G5S plus (sanders) does not show up on the LineageOS website that I can find...what are some other options?
thanks!
Click to expand...
Click to collapse
My situation was almost identically to yours.. +3 years of stock use, and havent done fash/root almost for 8 years, know the drill but from the ages Lineage was called Cyanogenmod!....
Idk why lineage does support G5 and G5plus but no G5s (sanders)...
I just did the whole thing like 3 weeks ago...
1st step unlock bootloader via Motorola site
then i downloaded:
-TWRP (twrp-3.5.1_9-0-sanders.img)
-Magisk V22
-Lineage unofficial 17.1 (lineage-17.1-20210210-UNOFFICIAL-sanders) [i just read that LOS 18.1 was released last week, and im thinking to migrate]
-Open Gapps Pico (open_gapps-arm64-10.0-pico-20210314) [I choose pico bc lightweight and you always can download other google apps form playstore, i.e. google play games, etc.]
-Bootlogo (because unlocking bootloader changes logo to warranty warning), just search something without "N/A", i found one that i like of a lighthouse at night (V5.0DT_BL_9-3_by_4)
2nd step flash twrp via fastboot/adb
then boot from recovery (twrp) and erase/format everything (/cache,/dalvik,/system,/data, etc)
after that install from twrp (via sdcard) Lineage+gapps+logo+magisk)
boot!
it works pretty awesome with really minor glitches (in 3 weeks crashed 2 times, but maybe my fault, so not really sure...) and with full support of all device functionality (all antennas, sensors, moto actions, etc..).
The only thing that i dont like so much is that fingerprint sensor gestures for navigation works perfectly but activating it dont removes the touch navigation buttons, and from menu you cant hide it and use gesture navigation in the bottom of screen (like android 10/11) but you cant (or almost i cant find it how) turn off touchscreen navigation for using only FP nav..
I hope this pseudo-guide helps you!
PS. I cant add links bc new account, but i did everything using this Xda subforum (sanders) guides and download links...
Arcano13 said:
My situation was almost identically to yours.. +3 years of stock use, and havent done fash/root almost for 8 years, know the drill but from the ages Lineage was called Cyanogenmod!....
Idk why lineage does support G5 and G5plus but no G5s (sanders)...
I just did the whole thing like 3 weeks ago...
1st step unlock bootloader via Motorola site
then i downloaded:
-TWRP (twrp-3.5.1_9-0-sanders.img)
-Magisk V22
-Lineage unofficial 17.1 (lineage-17.1-20210210-UNOFFICIAL-sanders) [i just read that LOS 18.1 was released last week, and im thinking to migrate]
-Open Gapps Pico (open_gapps-arm64-10.0-pico-20210314) [I choose pico bc lightweight and you always can download other google apps form playstore, i.e. google play games, etc.]
-Bootlogo (because unlocking bootloader changes logo to warranty warning), just search something without "N/A", i found one that i like of a lighthouse at night (V5.0DT_BL_9-3_by_4)
2nd step flash twrp via fastboot/adb
then boot from recovery (twrp) and erase/format everything (/cache,/dalvik,/system,/data, etc)
after that install from twrp (via sdcard) Lineage+gapps+logo+magisk)
boot!
it works pretty awesome with really minor glitches (in 3 weeks crashed 2 times, but maybe my fault, so not really sure...) and with full support of all device functionality (all antennas, sensors, moto actions, etc..).
The only thing that i dont like so much is that fingerprint sensor gestures for navigation works perfectly but activating it dont removes the touch navigation buttons, and from menu you cant hide it and use gesture navigation in the bottom of screen (like android 10/11) but you cant (or almost i cant find it how) turn off touchscreen navigation for using only FP nav..
I hope this pseudo-guide helps you!
PS. I cant add links bc new account, but i did everything using this Xda subforum (sanders) guides and download links...
Click to expand...
Click to collapse
Many thanks! I hope to get to this in the next few days and will post. Do let me know if you upgrade to Lineage 18.1 and how it goes. And yeah, I remember when it was CM, too, that's what I used! Regards
Arcano13 said:
My situation was almost identically to yours.. +3 years of stock use, and havent done fash/root almost for 8 years, know the drill but from the ages Lineage was called Cyanogenmod!....
Idk why lineage does support G5 and G5plus but no G5s (sanders)...
I just did the whole thing like 3 weeks ago...
1st step unlock bootloader via Motorola site
then i downloaded:
-TWRP (twrp-3.5.1_9-0-sanders.img)
-Magisk V22
-Lineage unofficial 17.1 (lineage-17.1-20210210-UNOFFICIAL-sanders) [i just read that LOS 18.1 was released last week, and im thinking to migrate]
-Open Gapps Pico (open_gapps-arm64-10.0-pico-20210314) [I choose pico bc lightweight and you always can download other google apps form playstore, i.e. google play games, etc.]
-Bootlogo (because unlocking bootloader changes logo to warranty warning), just search something without "N/A", i found one that i like of a lighthouse at night (V5.0DT_BL_9-3_by_4)
2nd step flash twrp via fastboot/adb
then boot from recovery (twrp) and erase/format everything (/cache,/dalvik,/system,/data, etc)
after that install from twrp (via sdcard) Lineage+gapps+logo+magisk)
boot!
it works pretty awesome with really minor glitches (in 3 weeks crashed 2 times, but maybe my fault, so not really sure...) and with full support of all device functionality (all antennas, sensors, moto actions, etc..).
The only thing that i dont like so much is that fingerprint sensor gestures for navigation works perfectly but activating it dont removes the touch navigation buttons, and from menu you cant hide it and use gesture navigation in the bottom of screen (like android 10/11) but you cant (or almost i cant find it how) turn off touchscreen navigation for using only FP nav..
I hope this pseudo-guide helps you!
PS. I cant add links bc new account, but i did everything using this Xda subforum (sanders) guides and download links...
Click to expand...
Click to collapse
i installed Legion OS Android 11 but my GPS isnt working, any ideas you can offer?
sahil12345678 said:
i installed Legion OS Android 11 but my GPS isnt working, any ideas you can offer?
Click to expand...
Click to collapse
I started having GPS problems ~3 yeas ago (STOCK phone)* and searching on lenovo support forums i find that is a somewhat common issue (maybe factory problem) that does not affect all devices.
The symptoms are that i.e. during navigation GPS works fine, and suddenly lost gps signal, it can last minutes, hours or days, and then come back like nothing happened and continues working normally.
Apparently this has to do with some antenna failure/bad connection/idk.
The "solution" is to bang (not super hard tho) the phone in a flat surface, like on the table, or what i always do is hit it against the steering wheel of the car, and every time work like magic and the gps signal comes back instantly.
I know this may sound strange, but for me works...
*Last month using custom ROM the problem persisted and also the solution, so im pretty confident that is a hardware issue..
PS: after searching a little found the links of the above mentioned threads:
Reddit thread
Lenovo Forum support trhead

Question (Q) GSI images

Have never needed to install a GSI before but as we're kind of stuck here without a single custom ROM, I thought I'd have a look.
AFAIK installing one of these would still leave the door open for stock recovery to be used should something go wrong, so as long as you've made a back up it should be fine.
I'm just curious as to the method of installation?
Has anyone had any experience with GSI ROMs before.
How was it? Did it work?
Would DSU image loader be an option?
I've attached what treble version we have and the relevant info required from the treble info app.
Apparently we have VNDK compatibility, not sure what that is but we have it.
Hi @dladz, I ran into a similar question three years ago when I bought a Xiaomi Mi 8 Pro. I was so used to using custom ROMs that I didn't even check before I bought it whether any custom ROMs would be available.
I was honestly shocked to see that that wasn't the case - there was absolutely NOTHING available - and that I had ended up with a device that couldn't even be unlocked right away, you had to wait and open a Mi account to be allowed to unlock it. I couldn't believe it at the time, I had come from a OnePlus X and had helped others root and install custom ROMs on other OnePlus phones without any problems, so I felt like I had just thrown quite some money out the window to run around with a mobile Chinese Spyware gadget I didn't want to use.
That was the first time I ever came across the term GSI ROM and it took me several weeks to figure out how to flash a ROM that I could also use afterwards. I knew I wouldn't want to have a stock ROM by a company that has very loose data privacy standards and even clearly states they collect your data (Lesson learned, I thought, I just had to buy a "proper" phone again and no more phones from budget manufacturers).
Several weeks later, after I had finally managed to get a custom GSI ROM working on my device I posted a lengthy how-to here on XDA.
Again, it took me weeks to get everything to work that I could not go without. And even then, I had to resign to the fact that many features of the phone would not be working (The fingerprint sensor, for example. Also, the Xiaomi Mi stock rom apparently had excellent GPS support (dual GPS support) but GPS positioning is just alright on the GSI ROM I'm using, also there were many cool Xiaomi apps like a compass app that wouldn't work outside MIUI). But I was more than happy I had gotten different GSI ROMs to work in the end and settled on one that I could live with, knowing my phone wouldn't be sending data to some Chinese servers constantly.
Now that the Mi 8 Pro has become a bit slower over time with all the latest apps, I took the plunge and spent a ton of money on the OnePlus 10 Pro 256 GB version only to be disappointed again, but this time by a company that used to be the epitome of openness when it came to custom development.
I got my OnePlus 10 Pro on release in my region in April, together with the 50W wireless charger and both have been sitting here since April, I'm not touching that phone until I can remove all the Spyware it comes installed with. At this stage, I'm not yet willing to go through the weeklong trial-and-error again that it took to get the Mi 8 Pro running a custom GSI ROM (also considering that some of its features never worked...), but if OnePlus doesn't get its **** together soon with the MSM tool and some openness towards developers, I will seriously just consider selling it on eBay again (It is brandnew after all) and will never buy another phone from OnePlus again. This has been an extreme disappointment and I'm still struggling to understand why they wouldn't support custom development any more. I had checked the OnePlus 9 Pro threads on XDA just to see if there's still custom development going on for OnePlus and it seemed everything was still OK, but now... .
On a more positive note: The Mi 8 Pro did eventually get some custom ROM love and there are now several ROMS to choose from, so to answer your original question - If you ask me, don't bother with GSI ROMs until we can be sure there won't be any custom ROMs for our phone. I'm still hoping that will be the case.
Gsi will work but no fingerprint or faceunlock.
Installing is easy just reboot to fastbootd open device with fastboot enchanted and delete all _cow files and reboot too bootloader flash stock vbmeta with
"fastboot --disable-verity --disable-verification vbmeta vbmeta"
Download gsi that you like and flash it in fastbootd using "fastboot flash system gsi.img"
MrScarl3t said:
Gsi will work but no fingerprint or faceunlock. And many more visual glitches.
Installing is easy just reboot to fastbootd open device with fastboot enchanted and delete all _cow files and reboot too bootloader flash stock vbmeta with
"fastboot --disable-verity --disable-verification vbmeta vbmeta"
Download gsi that you like and flash it in fastbootd using "fastboot flash system gsi.img"
Click to expand...
Click to collapse
Well... I tried GSI and some steps and sure enough I broke my phone (hard brick) so now I'm on Google 6 pro
MrScarl3t said:
Gsi will work but no fingerprint or faceunlock.
Click to expand...
Click to collapse
Unless someone posts a step-by-step guide with screenshots of a successful flash, I wouldn't believe anything.
This sounds more like it:
Twiggy000b said:
Well... I tried GSI and some steps and sure enough I broke my phone (hard brick) so now I'm on Google 6 pro
Click to expand...
Click to collapse
It took me weeks going back and forth, going back to stock and retrying again before I had any luck at all with my Mi 8 Pro.
Theoretically, it should work, but you can easily hard-brick your phone if you take one wrong turn and then goodbye to a phone with a premium price tag and no open MSM tool available... .
yo-less said:
It took me weeks going back and forth, going back to stock and retrying again before I had any luck at all with my Mi 8 Pro.
Theoretically, it should work, but you can easily hard-brick your phone if you take one wrong turn and then goodbye to a phone with a premium price tag and no open MSM tool available... .
Click to expand...
Click to collapse
Yeah was not happy said screw it and went back to google at least ive got lineage os now lol but still what a waste of 1k
Twiggy000b said:
Yeah was not happy said screw it and went back to google at least ive got lineage os now lol but still what a waste of 1k
Click to expand...
Click to collapse
Did you try sending it in?
I'll make a guide just like I did with the Xiaomi 11t pro. Post it within a week
Already did it when I got the device but I use the fingerprint alot so not for me.
Only tricky is reflashing system when you want to go for stock again.
nah i reached out and oneplus never got back to me.
sorry to hear that :/
Twiggy000b said:
Well... I tried GSI and some steps and sure enough I broke my phone (hard brick) so now I'm on Google 6 pro
Click to expand...
Click to collapse
What phone was you on mate??
MrScarl3t said:
I'll make a guide just like I did with the Xiaomi 11t pro. Post it within a week
Already did it when I got the device but I use the fingerprint alot so not for me.
Only tricky is reflashing system when you want to go for stock again.
Click to expand...
Click to collapse
That would be great, I'll be your test subject, I can live without fingerprint and face unlock.
Think the camera might be a bit meh but maybe I can live with that.
Another odd thing is I got treble check and it said I cannot use treble ROMs?
No idea if that's true but that's what the app said.
dladz said:
That would be great, I'll be your test subject, I can live without fingerprint and face unlock.
Think the camera might be a bit meh but maybe I can live with that.
Another odd thing is I got treble check and it said I cannot use treble ROMs?
No idea if that's true but that's what the app said.
Click to expand...
Click to collapse
Yeah camera is gcam but the main sensor is fine with it.
Every OnePlus 10 pro works with gsi, and general boot images as well. I will start tomorrow making the guide.
Will test if you can use rollback zip to get back to stock
Here you go https://forum.xda-developers.com/t/how-to-flash-a-gsi-on-oneplus-10-pro-t.4479429/
MrScarl3t said:
Here you go https://forum.xda-developers.com/t/how-to-flash-a-gsi-on-oneplus-10-pro-t.4479429/
Click to expand...
Click to collapse
Legend

Xiaomi Mi 9T Pro decryption issues and flashing woes

Phone: Xiaomi Mi 9T /K20 Pro
Current Rom: Miui Global 12.5.1
Wanted Rom: Stock google/pixel with all google apps, but without the awful miui interface
Evening everyone.
I would be very grateful if some kind soul can assist me. I'm trying to replace the standard and hated miui rom with Evolution X (Raphael) rom or any other recommend rom. So far I've successfully managed to connect the phone, setup usb drivers and unlocked the phone as well as used fastboot to flash twrp-3.7.0_9-0-raphael.img.
So far so good, but here's the questions I have or issues I'm having:-
Even though I have removed all screenlocks, the phone files on twrp are still showing as decrypted. I've also deliberately put on a screenlock and then booted to twrp, but I get no messages or request to enter a password. FYI, if I go to Settings>Privacy, the phone does state that it's encrypted.. Other than flashing twrp-3.7.0_9-0-raphael.img, I have also flashed many other versions of twrp, but they all do the same thing, i.e. no mention of any screenlock or decryption.
Although I can flash twrp, if I reboot, it reverts back to miui stock recovery. I then have to reflash twrp image to get back in. Is there a way to keep it installed permanently?
I'm also confused whether I need to root the phone. Is this compulsory and if not, and is it worth it?
Lastly my main goal is to install a rom without the rubbish miui. I still want all google apps, camera, nfc, and everything else to work, but with so many custom roms available, it's getting confusing. Can you please recommend one that is new, popular and has all the standard google apps/rom and stuff?
Thanks in advance.
Apologies - Just BUMPING this up as no reply.
Try this recovery https://androidfilehost.com/?fid=15664248565197208247
vito_metallica said:
Try this recovery https://androidfilehost.com/?fid=15664248565197208247
Click to expand...
Click to collapse
Thanks very much. Sorry about this, but would you mind explaining what that file is and how do I install it? Is there a step-by-step guide that I can follow? Also once it's installed how do I use it to install the custom rom?
Thanks again for your help.
wowandroid said:
Thanks very much. Sorry about this, but would you mind explaining what that file is and how do I install it? Is there a step-by-step guide that I can follow? Also once it's installed how do I use it to install the custom rom?
Thanks again for your help.
Click to expand...
Click to collapse
It's a version of orangefox twrp with a fix to support android 13 encryption. Guides on how and what to install are usually provided by the ROMs developers, since each ROM requires different software and steps. I don't think anybody can really recommend you a specific custom ROM, since most of them have their quirks and bugs, but I tried both EvolutionX and VoltageOS and both were running fine on my device (both android 13), now I'm running lineageos 20 unofficial and it runs fine too.
I see you want to install EvolutionX, and you will find all info on their thread, and should ask support for that specific ROM on that thread.
Sorry @vito_metallica, when I was asking for a guide or link, is was not for how to install a ROM, but how to install the orangefox twrp. Last thing I want to do is to brick the phone, lol.
wowandroid said:
Sorry @vito_metallica, when I was asking for a guide or link, is was not for how to install a ROM, but how to install the orangefox twrp. Last thing I want to do is to brick the phone, lol.
Click to expand...
Click to collapse
Extract the zip and there is a recovery.img file inside. Maybe try it before actually flashing it (fastboot boot recovery.img)
And finally flash with fastboot flash recovery recovery.img
EDIT:
Just wanna say, thanks so much @vito_metallica
Believe it or not, I've now edited this same post 5-6 times, because each time there was an issue, I'd edit the post again and again, lol.
Good news! I've managed to successfully install the EvolutionX rom.
I've had a play around and its a brilliant rom. Just a few issues which I hope I can iron out:-
The Android System WebView won't update - I've tried to uninstall, clear cache/data etc, but it still won't work
Is there a way to remove, relocate or hide the bottom Google Search Bar? - I never tend to use it as I find it annoying, so I would prefer to totally remove it if possible.
Thanks again
I
wowandroid said:
EDIT:
Just wanna say, thanks so much @vito_metallica
Believe it or not, I've now edited this same post 5-6 times, because each time there was an issue, I'd edit the post again and again, lol.
Good news! I've managed to successfully install the EvolutionX rom.
I've had a play around and its a brilliant rom. Just a few issues which I hope I can iron out:-
The Android System WebView won't update - I've tried to uninstall, clear cache/data etc, but it still won't work
Is there a way to remove, relocate or hide the bottom Google Search Bar? - I never tend to use it as I find it annoying, so I would prefer to totally remove it if possible.
Thanks again
Click to expand...
Click to collapse
- Did you also clear cache and storage of Play store? If nothing works you could still install updates manually via apkmirror or you could install Chrome and use that as system WebView ( you can switch in dev settings ) or you could use Bromite system WebView ( search on GitHub for info about installation)
- If there isn't an option to remove the search bar you could still switch to a different launcher like lawnchair or Nova Launcher ( which I personally prefer), but maybe you should ask the EvolutionX devs first, since maybe the stock launcher has features built in that you would lose if using a custom one.
vito_metallica said:
I
- Did you also clear cache and storage of Play store? If nothing works you could still install updates manually via apkmirror or you could install Chrome and use that as system WebView ( you can switch in dev settings ) or you could use Bromite system WebView ( search on GitHub for info about installation)
- If there isn't an option to remove the search bar you could still switch to a different launcher like lawnchair or Nova Launcher ( which I personally prefer), but maybe you should ask the EvolutionX devs first, since maybe the stock launcher has features built in that you would lose if using a custom one.
Click to expand...
Click to collapse
I always thought by clearing the cache/storage , it would cause major issues, like apps stop working. Am I actually safe to do this without any ill-effect? Will it still remember that I'm logged in and what apps I've already downloaded/updated?
Regarding the bottom google search bar - I think I read somewhere this is built-in and it can't be removed without causing major issues. I guess I'll just have to live with it.
The other issue I've found with this rom is that after disabling gestures and re-enabling the 3 navigation buttons (which I prefer), they are the wrong-way round, i.e. I prefer the back button to be on the right-hand side. So if you know any way of fixing this then please let me know.
I'll post these questions on the dev's chat too.
Thanks for all your help and advice.

Categories

Resources