How do I root / band 20 / change DPI? - Xiaomi Mi Max Questions & Answers

Hi guys,
I’ve just bought a Mi Max which is running MIUI global 8.1 – 8.1.6.0. I’m actually really enjoying MIUI, the performance is great but a couple of things I want to sort out with it so would appreciate your help:
1. How do you root this firmware and if I do will it block future OTA updates? I’d be keen to update to Android N when MIUI update to it.
2. I’m sure I saw a guide to unlock band 20 LTE is this possible?
3. The icons are far too big, is there any way of reducing the size, I think it’s DPI setting right? Hopefully easy to do with root / xposed?
Thanks very much!
Andy

For 1.:
There are a couple of ways to root. You can upgrade to a MIUI developer build (download it from http://en.miui.com/download-302.html, go to Updater, tap the menu button on the upper right, tap Choose Update Package, then choose the .zip you just downloaded). Then, go to the Security app, tap Permissions, then Allow Root Access. You should then be prompted and warned about root access; if you accept, then after a short update, your phone will be rooted! OTA updates won't be blocked. Everything is official, after all, and MIUI doesn't use incremental OTAs, only full ROM images.
MIUI official root will bug you with a couple of warnings every time you try to give root permission to an app, though.
Otherwise, just unlock the bootloader, install TWRP, then Install SuperSU.
For 3: There's a few values to change:
a: Change the persist.miui.density_v2 property in build.prop,
b: Use ADB with the command "adb shell wm density NNN" where NNN is the density you want.
c: Change ro.sf.lcd_density in build.prop; a few apps look for that particular value.
A screen density of 320 works well...
Though the MIUI launcher does not adjust to different dpis well, so it will look bad in my opinion. Install another launcher.
As for 2:, I have no idea. I don't have LTE, and I've never looked into LTE.

andypa1 said:
3. The icons are far too big, is there any way of reducing the size, I think it’s DPI setting right? Hopefully easy to do with root / xposed?
Click to expand...
Click to collapse
The easiest answer to number 3 would be to install another launcher. Changing the DPI will affect everything on screen, i.e text, status bar, menus, buttons. It will also affect the way apps display on your phone and may change their layout. If all you need to do is reduce icon size just install something like Nova and change the icon size in Nova's settings.

gotoanddie said:
For 1.:
There are a couple of ways to root. You can upgrade to a MIUI developer build (download it from http://en.miui.com/download-302.html, go to Updater, tap the menu button on the upper right, tap Choose Update Package, then choose the .zip you just downloaded). Then, go to the Security app, tap Permissions, then Allow Root Access. You should then be prompted and warned about root access; if you accept, then after a short update, your phone will be rooted! OTA updates won't be blocked. Everything is official, after all, and MIUI doesn't use incremental OTAs, only full ROM images.
MIUI official root will bug you with a couple of warnings every time you try to give root permission to an app, though.
Otherwise, just unlock the bootloader, install TWRP, then Install SuperSU.
For 3: There's a few values to change:
a: Change the persist.miui.density_v2 property in build.prop,
b: Use ADB with the command "adb shell wm density NNN" where NNN is the density you want.
c: Change ro.sf.lcd_density in build.prop; a few apps look for that particular value.
A screen density of 320 works well...
Though the MIUI launcher does not adjust to different dpis well, so it will look bad in my opinion. Install another launcher.
As for 2:, I have no idea. I don't have LTE, and I've never looked into LTE.
Click to expand...
Click to collapse
Thanks for your advice however I wiped the device to install the developer rom you mention but this doens't have a native option for rooting, apparently this is only available in the chinese version of the developer rom
Got to work out how to do it the manual way now including unlocking the bootloader, but then I won't be receiving OTA updates

Related

Working dpi change for find 7 QHD devices

Hi
I just found a way to change system dpi, with everything still working no fc. on our qhd devices, think it´s going to work for all variant's !?
First off course do a nandroid backup.
The reason qhd wont let us change dpi is like in most rom's there´s no binaries installed, so just install, pimp my rom from store (it's imported pimp my rom is asking for su rights and you grant it, binaries wont install else)
and go to tools, density changer, when you enter for the first time it knows there´s no binaries installed and ask´s permission to install, grant it, no more, reboot, get texdroider from store and now it let´s you change dpi, enter a number, apply, reboot and there's your changed dpi
::For some reason PA rom just chrashes pimp my rom, dunno why? but EOS rom dont and let pimp my rom get SU right's, soo you gotta try witch rom's etc?

Root

http://download.chainfire.eu/631/CF-Root1/Root-Nexus-Player-fugu.zip
Thanks. Looks to have worked flawlessly.
Works great! Thanks!
Chainfire said:
http://download.chainfire.eu/631/CF-Root1/Root-Nexus-Player-fugu.zip
Click to expand...
Click to collapse
Works great. As a thank you I used my play credit from the NP Promo to upgrade to SuperSU Pro. hopefully you see that money!
Chainfire said:
http://download.chainfire.eu/631/CF-Root1/Root-Nexus-Player-fugu.zip
Click to expand...
Click to collapse
Thank you. Simplest root evar I will also buy SU Pro
Worked perfectly, of course. Thanks as always.
Just saw this today but had already used the other root method here to get it. Either way, thanks for all the hard work you do on everything
Chainfire said:
http://download.chainfire.eu/631/CF-Root1/Root-Nexus-Player-fugu.zip
Click to expand...
Click to collapse
Is this assured to work with both LRX21M and LRX21V?
Worked perfectly, and now StickMount is working too. Just played a video off USB in XBMC.
Does anyone know a way to remove the su app from showing in the leanback launcher. Can't find it in the settings anywhere.
Pardon my ignorance, but what does this do exactly? ...aside from the obvious "gives you root"...I mean how, what does it do to the system?
Boblank said:
Does anyone know a way to remove the su app from showing in the leanback launcher. Can't find it in the settings anywhere.
Click to expand...
Click to collapse
Well be in next version, if you set icon to invisible, it will also disappear from leanback launcher.
Zip attachment
volwrath said:
Thank you. Simplest root evar I will also buy SU Pro
Click to expand...
Click to collapse
Do you just download to phone or PC and put the extraction on the Nexus Player to gain root?
Boblank said:
Does anyone know a way to remove the su app from showing in the leanback launcher. Cant find it in the settings anywhere.
Click to expand...
Click to collapse
Are you referring to the launcher settings or SuperSU settings there should be an option in SuperSU settings to set the SuperSU icon to invisible.
I just happened to check my system today and had the OTA update from LRX21M to LRX21V waiting. I tried installing it but Recovery stopped halfway through the install with an Error. I got back into Android with a power-cycle, so things are fine, but it's still on 21M.
I'm guessing this was due to having rooted the device. Is there a proper way to remove SuperSU to allow for a system update? I see there are 3 different options for cleaning up; does it particularly matter which one I choose? I could just pick one and try it but I'm kind of curious what the differences are between the options. Anybody know?
Update: I tried the second and third cleanup options (new superuser app and full unroot) and neither got me into a state where the OTA was successful. So I just downloaded the factory image and flashed the system.img from it, then reapplied the original root process.
xBIGREDDx said:
Update: I tried the second and third cleanup options (new superuser app and full unroot) and neither got me into a state where the OTA was successful. So I just downloaded the factory image and flashed the system.img from it, then reapplied the original root process.
Click to expand...
Click to collapse
probably a full unroot and flashing the stock boot.img would fully unroot, I wonder when LRX22C (5.0.1) will hit the nexus player
The root is fundamental in all devices for many things, and thanks to Chainfire and others independent developers we can consider Android a semi-open platform. (semi-open because not all is open source)
We don't want Android like the Apple walled garden, but we are not even against the sale of the software, we just want a common garden in which the user can choose and is not obliged.
For example with the root, it was easier to start this project:
Nexus Player with a Full Version of Android Lollipop https://plus.google.com/103019026671039069038/posts/V5XaLxK3vN8
This is just the base rom with all hardware components working, on this base that is very usable, i want add many other options. like external usb webcam and mic, improving the audio part that have fixed volume and many other things useful for the use in TV.
Nexus Player is not just Android TV, but is the first Nexus device with an intel cpu. Is a milestone in the evolution of Android.
This is just the start and I am very open to sharing and collaboration on this project.
Thanks Chainfire for the root and for your "How-To SU" guidelines.
Out of interest will rooting prevent OTA updates from installing in the future?
Chainfire said:
Well be in next version, if you set icon to invisible, it will also disappear from leanback launcher.
Click to expand...
Click to collapse
I did this, despite the warning it gave me. Now although I still get permission dialogs etc, I can not run the main program to delete apps etc from SU access. Is there anyway to go back to the main screen? I went to the apps sections of the NP and unlike other apps it didnt have an open command.
To get it back do I need to uninstall and then re-CFroot?
Thanks. I should pay better attention to dialog boxes but its not a huge deal.

[Q] Few questions from a newbie!

Hello everybody!
It's my first time modding an Android device, so I decided to flash a Google Stock-like ROM on my LG G3 (D855). At first I rooted and installed TWRP using this useful tool: http://forum.xda-developers.com/lg-g3/development/tools-srk-tool-1-0-1-useful-toos-lg-t3079682
Then I flashed CyanogenMod 12.1 Nightly (which seems to be the best and most supported ROM...) and GApps. Everything seems to work fine but I have a bunch of questions to better understand how to improve usability and performance.
1) What are exactly GApps, and why do I find one million versions of these? Is it a procedure to, eventually, re-install them without wiping everything?
2) After flashing I'm not able to use apps like QuickBoot to reboot in Recovery Mode "comfortably". When I tap that choice nothing really happens. Does anybody know why?!
3) I've installed Nova Launcher and combined it with CM Locker, because of the interesting possibility to auto-light on the display on notifies. Anyway, I'm no more able to double tap to sleep on my lockscreen, except if I double tap on the state-bar. Is there any solution to modify this behaviour?
4) What is Xposed? How is it related with ROM, CyanogenMod, LG G3?
5) I use bluetooth to connect to my Alpine stereo in my car. Since I installed CM12.1 I need to pair the devices EVERYTIME! Why they do not recognize forever just after the first pairing?
6) After installing CM 12.1 i noticed more battery leaking and device heating, so I supposed I could install a different kernel. Is this consideration right? I've installed 777 but don't know how to measure the improvements, could someone give me some metrics to have an idea?
7) what are the schedulers and how should i configure them??
Thanks in advance to everyone who'll answer to even one of my questions!
Hi
Welcome, i 'll answer as best I can.
1. Gapps are the Google apps I.e . Play Store, Google, Gmail etc. Although you can run CM without them but you would miss out on many options.
2. Go into settings and tap about and tap Build Number 7 times and you will get Developer options. In this you will find the option advanced boot and tapping this will allow you to select from a menu when you press the button to sw off the phone, which has recovery.
3&4 Cannot comment on Nova or Xposed as I don't use them.
5. Only use Bluetooth to cennwct to my LG G-pad 8.3 and my Sony Smartwatch 2 and it works fine with them.
Hope this is of some help.
Stransky
Sent from my LG-D855 using Tapatalk
4. Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations.
Note that this only works with root access on Android 4.0.3 or later.
Hope this would be helpful.

[HOWTO] Change DPI of your screen w/o messing up the interface

If you tried to change your screen density and ran into gfx glitches etc, this is for you. A simple how-to change your screen DPI on a LePro 3 running EUI without messing up lockscreen clock, dialer, etc.
Firstly, the two methods I knew of with which to change screen density are as follows
- (ROOT REQ) Just changeing the sf.lcd_density value in build.prop (mostly) doesnt work at all, and doesnt affect the resolution whatsoever.
- The other method commonly used, and which doesnt require root if you have access to a computer running ADB is via shell, and using WM (window manager). This one will work, and change your DPI, but will mess up the interface. This is also the method employed by many apps on play store which require root to change your DPI, hence giving the same messy result.
Well, tonight I finally managed to make it work without any glitches, misplaced text etc, all is as it should be, and I'm running 360 DPI right now (screenshots).
Root is required (alternatively you could use TWRP to replace the file, on non rooted phones, I guess). Using a root explorer, navigate to \data\property\ and find the file named persist.sys.sf.lcd_density. Open it as a text document, all it contains is a number which is your phones native DPI
Change it to whatever you like, save and reboot.
Be warned, a TWRP backup is handy, coz a wrong setting can cause the system ui to crash on boot, leaving you dead in the water. :laugh:
Cheers, works here. My lockscreen pattern is still ****ed up, its either to the left or right, not centered, but apart from that its all good.
Is it better solution than Nova Launcher?
marik1 said:
Is it better solution than Nova Launcher?
Click to expand...
Click to collapse
What are you talking about? Thia changes your device DPI, as in everything, not just home screen
@Incogn I believe that is a feature, to ease one handed unlocking, it moves the pattern to the side of the screen on which youve swiped your finger on.
I can live with the messed up dialer for now. 300dpi is perfect for me. =D
Joms_US said:
I can live with the messed up dialer for now. 300dpi is perfect for me. =D
Click to expand...
Click to collapse
Using 380 and dialer is perfect here
Anything below 380 messes up the dialer, but nothing else. I solved that one by installing the google dialer
trizex said:
Anything below 380 messes up the dialer, but nothing else. I solved that one by installing the google dialer
Click to expand...
Click to collapse
Interesting, which version? TIA
@Joms_US did it just this morning, @Abdiel1224 posted on Turbo's thread that it was possible by downloading opengapps aroma version, then install them through TWRP, selecting just the dialer and dialer framework. Sounds simple enough, but it wasnt smooth for me at all. After flashing, once booted, app called setup wizard would FC non-stop and wouldnt let me access my launcher/or anything else. After trying numerous times different gapps flashing options, restoring my TWRP backup, then flashing all gapps, etc etc, I finally concluded it was googles setup wizard that was f*cking with me....
The way i got around it was...creative. Managed to get into my recent apps, through solid explorer was able to launch titanium backup, and then force stop/freeze the offending app (google setup wizard). Et voila, after that it worked like a charm.
To save you all the headache/legwork that I had, if you should run into the same problem I did (System wizard FC on boot), just reboot to TWRP, navigate over to System/priv-app/setupwizard/ and delete setupwizard.apk
Works for me. However, the file did not exist. I just created it and put the number in. It worked great!
What is the original dpi in le pro3. I have a rom 20s by cydras and he reduced dpi...
patryk0511 said:
What is the original dpi in le pro3. I have a rom 20s by cydras and he reduced dpi...
Click to expand...
Click to collapse
I'm pretty sure it is 420

Lost Root Access (LineageOS)

Hi,
I'm using LineageOS on my LG G3,
After upgrading from XenonHD-170504-Official-d855.zip to XenonHD-170522-Official-d855.zip my Root Access setting (in developer options) has gone and I don't have root access in any app any more. SuperSu generates this error:
Code:
"SU binary occupied"
Also downgrading to the previous Rom didn't solve the problem.
This method (called how-to-enable-root-in-lineage-os-using) doesn't work, and almost all other methods in XDA such as "KingoRoot", "LG One Click Root " and ... didn't work either..
Any solution would be appreciated.
Thanks
Wrong thread
@light-blue: if you flashed with wipe system, you always must flash su.zip to get su-access (since ROMs come unrooted). Use su2.79 for now, because 2.8x are buggy.
rp158 said:
@light-blue: if you flashed with wipe system, you always must flash su.zip to get su-access (since ROMs come unrooted). Use su2.79 for now, because 2.8x are buggy.
Click to expand...
Click to collapse
Thanks @rp158
When I do it nothing happens .
It says that the zip successfully installed (or something like that), and when I boot into the system again I don't see any root access.
Try this...
STEP 1:
Go to Settings. Click on About phone and then Tap Seven times on the Build number.
STEP 2:
Now to enable ROOT access, open Developer options and then scroll a little bit down on the Developer Options settings and look for the Root access setting, which must be showing Disabled.
Just click on the Root access and set it to Apps and ADB or Apps only or ADB only, as per your need.
Chrisenglish90 said:
Try this...
STEP 1:
Go to Settings. Click on About phone and then Tap Seven times on the Build number.
STEP 2:
Now to enable ROOT access, open Developer options and then scroll a little bit down on the Developer Options settings and look for the Root access setting, which must be showing Disabled.
Just click on the Root access and set it to Apps and ADB or Apps only or ADB only, as per your need.
Click to expand...
Click to collapse
The problem is exactly here, The Root Access setting has gone from the developer option
Quite. I had the same issue as you though but a different phone but the above solved it for me. I also ran the su installer that was mentioned on the page you read.
Same issue on OnePlus 2 since last LOS update. I suspect is has to do with "su-hide" (see https://lineageos.org/Changelog-9/) but I have no idea how to fix it.
EDIT: The Developer option solution worked for me. I could have sworn I looked for it before posting. Sorry for the noise.
Try Magisk
light-blue said:
The problem is exactly here, The Root Access setting has gone from the developer option
Click to expand...
Click to collapse
So I have a P3100 but in my case the issue was solved by using Magisk. Download the latest zip and try flashing that. The thing is once you are all set up with the apk, go to the menu button within the app and then settings and then scroll down to 'Superuser Access' and simply click and choose the Apps and ADB option. Hope it solves your issue (Atleast it did in my case ).
I tried plenty of things but I can not regain root after flashing LineageOS.
I have tried every root flash on here and nothing worked. I don't understand the thread on here claiming to give you root on LineageOS as it's a load of crap. Really pissed off as I wanted to sell my D855 but now have to wait until someone can root...or just downgrade to LP or something with another ROM that doesn't wipe root on install...
Really unacceptable IMO for any ROM to remove root and not have a guaranteed way to regain it.

Categories

Resources