FORUMS
Remove All Ads from XDA

[APP] Xiaomi Mi Led/Laser Projector/TV tools

801 posts
Thanks Meter: 672
 
Post Reply Email Thread
So, here's the new version of my Tools App for the Xiaomi UST Projectors (Chinese, International, as well as Wemax, which is based on chinese model), and Tvs. Please note that it's only been fully tested on my projector models (chinese 1080p and 4k). Due to the changes on the international version (native Android TV 8.1), probably many things won't work or will be unuseful... On the other hand, it'll probably work fine on other Xiaomi devices as Mi Boxes. Anyway, it's mostly useful for chinese GUI (MIUI TV) on Android Tv 6.0.1.

If you're looking for the root tutorial, directly head to post #2.

Here are the current features :

Input :
  • Shortcuts to change source to HDMI 1 to 3, AV, as well as opening an onscreen menu to choose the source. These will be useful if you change the launcher, as you will lose to Xiaomi widget with Tv preview and change source buttons. Shortcuts are also directly placed on the launcher as well, for direct access. These shortcuts are compatible with International devices
  • Input settings allows you to setup an extermal input to automatically start on boot. This replaces the stock behavior, that won't be working anymore if you change launcher. This is compatible with international devices, that lack this feature.

Display :
  • Input Lag [ROOT] : Decreases Input Lag by disabling Noise Reduction and Deinterlacing
  • Zoom [ROOT] : Changes the Zoom in/out factor for video display (external inputs as well as any video player)
  • Force 4k UI rendering [ROOT] : this may cause lags when rendering the UI

Shortcuts :
  • Device settings : launches the projector/tv/box settings
  • Android settings : launches the Android stock settings
  • Engineering menu : launches the engineering menu
  • Media explorer : launches the Xiaomi Media Explorer/Player
  • ... : any app not dedicated to Android Tv, whose icon doesn't dispaly on the launcher, will appear here

Applications :
  • Remote Control [ROOT] : displays a QR code to my Web Remote Control, working on any device
  • Freeze stock apps [ROOT] : freezes/hides/disables stock apps/bloatware (for unrooted devices, please check below, in Remarks section, point 3). Make sure you install another keyboard (ie "LeanbackIme Keyboard", from the "Install 3rd party apps" menu) as it will disable the stock one.
  • (Un)Freeze launchers [ROOT] : (un)freezes/hides stock Xiaomi TvHome or Google Leanback launcher. Make sure you have another compatible launcher installed before freezing it (for unrooted devices, please check below)
  • Install 3rd party apps : lets you choose apps to install, that have been tested working fine on our device. Most will require Aptoide Tv installed. Good news, it's able to download and install it automatically ! If your device is rooted, Google services/apps can be installed too (see more in the Google Apps section)
  • Uninstall Google Apps [ROOT] : if you installed Google Apps / services with the feature described above, you can safely uninstall them (but why would you want that ?)

System :
  • Accessibility Service [ROOT] : Xiaomi code prevents Google Play app to install/update apps (you will get an error code). The fix to this behavior has major inconvenients : when activated, you lose some UI features (volume UI, recent apps screen, Shutdown dialog). Enabling the accessibility service associated to this app, will automatically enable the fix when entering the Google Play app, and disable it when exiting. So keep in mind that when you want to install/update apps, you'll need to stay in Google Play and can't let it do it's job in the background while watching TV. This accessibility fix also bind the stock remote control "Voice recognition" button to Google Assistant. It also allows your device to automatically start an external input on boot (compatible with Mi international devices) and adds a shortcut to open these tools by double pressing the menu button.
  • Check root access : checks your device's root status
  • Custom Props Override [ROOT/MAGISK] : changes some custom props so as to get a more stock Android Tv behavior. This will enable Google services disabled by Xiaomi, allow your "Usb debugging" option to stick across reboots, allow passing safetynet...

About :
  • This device : displays many details about this device, and temperature sensors values is available.

Google Apps / Services instructions :
This has been tested successfully on a rainman's clean 1218 and 1289 firmware installation. If something goes wrong for you, try to make a clean flash. It also works on batman (4k projector), as well as other Xiaomi Tv devices.
Except for "AndroidMediaShell" (Google Cast server), most (all?) features are working fine including :
  • Tv settings
  • Google Play (to let it install/update apps, please enable the Accessibility Service)
  • ATV remote service : if you install Google ATV remote on your smartphone, everything (including speech recognition) will work
  • Google Assistant : with the Accessibility Service enabled, a short press on the mic button on your stock remote will launch Google Assistant. Then, when it's listening, press and hold the mic button while speaking and release it when done. According you've used More Locale to change to your mother tongue, this will even work in your language.

Installation steps:
  • root your device (see post 2)
  • if not already done, install the MiProjA1-Tools 2.14 (or above) and launch it
  • execute Applications / install 3rd party apps, then install :
    • Aptoide Tv Store
    • ATV launcher (you'll disable stock launcher later on. In case Google Apps don't install correctly, you'll have a fallback launcher)
    • Youtube [optional]
    • MoreLocale [optional] (in case your mother tongue is not english, it will let you choose more than what's listed in Android settings)
    • Google Apps/services (don't forget it )
  • execute Applications / Freeze Stock launcher (to disable TvHome)
  • execute Applications / Freeze Stock apps (to disable most Xiaomi apps and services)
  • execute System / Custom Props override (to pass safetynet checks and enable more stock behavior)
  • execute System / Accessibility Service, enable the service in accessibility settings (to fix "Google Play" ability to install/update apps and to link the stock remote control "Voice recognition" button to Google Assistant as well as other features)
  • [Optional] Install magisk module "Nexus Media" to change the stock bootanimation (go to Shortcuts / Magisk Manager to execute it, and then in the left menu, "Downloads" section, just install "Nexus Media")
  • Reboot and complete the Welcome app to setup your Google account (first and second boot will be longer than usual)
  • Note that an Android accessibility setting might get enabled after the first reboot when Google Apps have been installed. It'll cause green borders around buttons. Just go to settings / accessibility and disable "talkback".
  • Launch Google Play to update Google apps and let the update finish before exiting Google Play (if the app's accessibility service is running as it should, it will display a message when launching/exiting Google Play)
  • [Optional] start MoreLocale to change your language
  • Enjoy your Google Tv device !

Important :
Once installed, don't change the device resolution in the android tv settings. This is not supported by the video drivers that will then only display a checkerboard. The only known solution as of now is to reinstall the full stock rom and start again.

Remarks :
  • Using any of the above features (even [ROOT] ones) should be safe and shouldn't prevent you from installing stock OTA updates afterwards (no system file is modified). If anything goes wrong, don't hesitate to tell me, but anyways, at worst, flashing the full stock ROM will fix any issue, so there isn't any risk of bricking your device.
  • Replacing the launcher will require another compatible one installed. Leanback launcher runs fine and gives you Google Tv stock experience (if you can install Google services/apps). Else, I like ATV launcher (current version 0.11. The only minor issue is that it won't display the shortcuts to HDMI1/3 on the launcher, you'll have to go in the Tools app. The dev will fix it in upcoming release). HALauncher works fine too. Whichever launcher you want to use, please make sure it launches fine before freezing the stock one. I'd recommend installing ATV 0.11, even if you don't intend use it, just as a failover in case the launcher you want to use doesn't work once the stock one has been replaced. Except if you have stock launcher or leanback launcher installed (which will force you to use them if installed), if multiple other compatible launchers are installed, a popup will ask your choice at each boot and home button press.
  • Concerning the (un)freeze apps/launcher, if your device is not rooted, this app currently can't do it automatically (I'm still trying to find a workaround), but you can do it manually by connecting a computer to your device with ADB and executing a few command lines :
    1. Download adb for your OS (check here)
    2. Start command line (terminal)
    3. type "adb connect IP_OF_YOUR_DEVICE:5555" to connect through the network
    4. enable "usb debugging" in your device's "Developer" options (in settings) (to enable "developer options", see here)
    5. to freeze an app type : "pm uninstall -k --user 0 PACKAGE" (replace PACKAGE with com.mitv.tvhome for Xiaomi stock launcher, and com.google.android.leanbacklauncher for Google Leanback launcher)
    6. to unfreeze an app type : "pm install -d -r --user 0 PACKAGE_PATH" (replace PACKAGE_PATH with /system/vendor/app/TvHome/TvHome.apk for Xiaomi stock launcher, and /system/priv-app/LeanbackLauncher/LeanbackLauncher.apk for Google Leanback launcher)
    7. to get a list of manually uninstallable apps, check the "rainman.v2.json" file on my github
  • Evolution : If you have another device and want this app to support it (meaning using another list of installable/uninstallable apps), don't hesitate to make a PR on my github.

Engineering Menu App Translation :
After a bit of google translate and reverse engineering, here's a translation of the different menus, along with my own values (1st one is for "rainman", second one for "batman")
  1. Projector information
    • - Brightness [1541][1610]
    • - DLP vendor name [APPO][APPO]
    • - Production Week [1812][1921]
    • - Contrast ratio [3828][3370]
    • - Brightness Uniformity [940][856]
    • - Serial Number
    • - Color coordinates [r:860 g:860 b:860 x:283 y:302][r:860 g:860 b:860 x:2720 y:2790]
  2. Solid color (android) -> displays a solid color (using android system)
  3. Solid color (projector) -> displays a solid color (native)
  4. Other image test (android) -> displays a gradient (using android system)
  5. Other image test (projector) -> displays a gradient (native)
  6. Color wheel delay -> when incorrectly set, this can lead to posterization issues (gradients become unnatural and tend to display large uniform areas) [490][420]
  7. Save color wheel delay to Android
  8. Image mode : change the screen light intensity
    • - Standard
    • - Highlight
    • - Energy saving
  9. Temperature monitoring
    • - ambient temperature [31][43]
    • - color wheel [52][63]
    • - Laser temperature channel 1 [60][74]
    • - Laser temperature channel 2 [61][74]
    • - DMD temperature [-][0]
  10. Model name [MiProjA1][MiProjLAS2]
  11. Human body induction -> enables/disables IR sensor that disable image when coming close to the laser
  12. Save information to projector
  13. DLP version [major:1, minor:2, patch:5][major:7, minor:3, patch:7]
  14. 3D (when modified, need to restart to take effect) -> enable/disable 3d support

Supported devices :
  • 1080p Laser Projectors:
    • Xiaomi Mi Laser UST Projector 150" (chinese) / MiProjA1 / model: MJJGYY01FM / codename: rainman
    • Wemax One 7000 / MiProjA1 / model: FMWS01C / codename: rainman (thanks rockpaperscissors)
    • Wemax One Pro / MiProjA1 / model: FMWS02C / codename: rainman
    • Xiaomi Mi laser UST Projector 150" (international) / MiProjA1 / model: MJJGYY02FM / codename: anglee (thanks Nathan0121) (no root supported yet)
  • 4k Laser Projectors:
    • Xiaomi Mi Laser UST Projector 150" 4k (chinese) / MiProjLas2 / model: MJJGTYDS01FM / codename: batman
    • Wemax A300 / MiProjLas2 / model: L1668FCF / codename: batman
    • Fengmi 4K cinema laser / MiProjLas2 / model: L176FCN / codename: batman
    • probably not released yet / MiProjLas2 / model: L246 / codename: batman
  • Led projectors:
    • Xiaomi Mi Home Projector Lite / Mijia Projector Youth edition / MiProjLED1 / model: MJJGTYDS02FM / codename: conan (root using rainman twrp below)
    • Xiaomi Mijia Mi / ZMiProj / model: TYY01ZM / codename: zodiac
  • Tvs:
    • Xiaomi Mi TV 3s / codename: mission impossible
    • Xiaomi Mi TV 4 / codename: pulpfiction
    • Xiaomi Mi TV 4a/4c/4s/4x / codename: matrix/xmen
    • to be completed

Download :
This app can be downloaded here or on aptoide

Changelog :
3.00 :
- rebranded app to "Mi ProjecTivy Tools" because why not.
- stability : added a screen resolution check at boot. If a wrong resolution is set in the Android tv settings, the device won't be locked on the chessboard screen anymore, it will switch back to the default resolution (rainman and batman supported)
- stability : set this app as a Tv Launcher, so if all launchers are mistakenly disabled, the device will boot on it so that a launcher can be reinstalled
- UI : made menu buttons dynamic, so they won't show on your device if the feature is not supported
- UI : rewrote all submenu interface to use Android Tv UI. This vastly improved look and usability
- UI : changed menu icons
- UI : if accessibility service is running, the app can be opened by double pressing the "menu" button
- feature : added an option to change the zoom in/out factor for video display (external input and all media players)
- feature : added option to switch window manager to 4k (interface will likely not be totally fluid, though)
- feature : rewrote the option to decrease input lag so that you can disable "noise reduction" and "deinterlacing" individually
- feature : added a shortcut (qrcode) to MiReCo, the Web Remote Control
- feature : made the shortcuts section dynamic : it will now display all installed apps not natively compatible with Tv launchers (like the "Tv App Repo" app)
- feature : added "about this device" section that displays many details as well as the temperature sensors values
- improvement : made the hdmi input shortcuts compatible with international (android tv 8+) devices
- improvement : rewrote code to automatically start on a selected external input. This brings support for international models. IT WON'T USE the stock device settings anymore to select the input. Use the included parameter in "Input Settings"
- feature : added a shortcut to the stock "media explorer" directly in Tv launchers
- feature : added a warning if accessibility service is not enabled
- fix : fixed compatiblity with Netflix (not the Tv version, unfortunately, but the interface is totally usable). Due to missing DRM support, resolution is limited to SD.
- internal : many fixes and improvements (and bugs ?)
2.17 : added ability to reduce input lag and disable noise reduction by long pressing "back" button.
2.16 : added auto start to hdmi (as stock launcher), so that users who changed launcher won't miss this feature.

More below
The Following 26 Users Say Thank You to spocky12 For This Useful Post: [ View ]
8th October 2018, 06:21 PM |#2  
spocky12's Avatar
OP Recognized Developer
Flag Lyon
Thanks Meter: 672
 
Donate to Me
More
FAQ and more resources related to these devices

Differences between projector devices
Wemax One / Chinese Xiaomi Mi Laser:
They are (almost ?) the same.
  • Software-wise :
    • They are exactly the same (exaclty same codename, firmware, etc...)
  • Hardware-wise :
    • Wemax is black, Xiaomi Mi is white
    • Wemax is described to be 7000 lumens (1688 ansi lumens), Xiaomi mi 5000 lumens (1600 ansi lumens) (not sure if hardware is different or it's only a software parameter that changes its laser power)

Chinese Xiaomi Mi Laser/ International Xiaomi Mi Laser:
  • Software-wise :
    • Chinese one comes with android 6.0.1 and MiUI Tv (a Xiaomi UI dedicated to chinese users), International one comes with android 8.1 (more details below)
  • Hardware-wise :
    • Chinese one is equipped with DDR3 ram, International version DDR4
    • Chinese one has Amlogic T968 with onboard Mali T830 gpu, International one has Amlogic T962 with onboard Mali 450 gpu (somewhat less powerful, not sure it has any real world impact)
    Also note than more often than not, International version will probably come with a warranty. It might be important, as few people complaining about dead white pixels seem to have a hard time getting their chinese projector repaired.

Pros/Cons of 8.1 international device / firmware (as of 10/10/2018)
This might help people choose between 02 international version and 01/wemax devices. Most of the information below come from this test. This is however subject to change as I believe Xiaomi will probably enhance their drivers in the coming monthes.

Pros
  • Complete software translations (no more chinese ressources)
  • Better user interface
  • Google Play Store availability
  • Better support of media apps that hardly work on 6.01 (Netflix, Prime Video...)
  • Better default colorimetry (but less configurable)
  • Less input lag (75,6 ms vs 126,6 ms) fixed on 1218+ firmwares
Cons
  • No 3d support
  • Less options related to display settings (missing RGB levels)
  • Worse image quality as noise reduction and sharpness seem to be less effective than on the 01 version
  • Judder and image tearing during media playback

Can devices international firmware be flashed on chinese models
No :
- devices hardware is not exactly the same
- partition layout is different (android 8.x requires a vendor partition)
- we don't have access to any international firmware

Supported video modes
EDID data here for "rainman" (1080p version) : edid-rainman-report.txt
EDID data here for "batman" (2160p version) : edid-batman-report.txt
Both were extracted with HDMI 2.0 enabled from /sys/devices/hdmirx.28/hdmirx/hdmirx0/edid and analyzed with Advantiv EDID Editor 1.01.0268

Is my 4K device really displaying in 2160p ? Why does YouTube refuse to stream 4k ?
- Yes.
- Blame it on Google. Or AmLogic.
More details here.

ALR Screens
Interesting post from @servo386 regarding Ambient Light Rejection screens dedicated to UST devices.

Rainbow effect
I see many questions regarding rainbow effect (due to the DLP technology used). What I can say is that I never saw anybody complaining about it on the Mi laser projectors. A previous projector I owned (an Optoma) was also using DLP technology and I could see this rainbow effect from time to time. In the case of rainman/batman, I've never been able to see it.

Input lag
The Mi laser projectors have relatively high input lag (150/175 ms). Firmware updates sometimes help. As of september 2019, the lowest input lag can be obtained on "Monitor" or "Game" mode (approximately 100ms on batman, 75ms on rainman). If your device is rooted and you're using the Xiaomi Projector Tools, you can also use the "User" mode, and long press the "back" button to get down to the same input lag as "Monitor" mode, with the benefits of keeping your calibration settings.

Dead/black/white pixels
One owner of the chinese version here (french) who had a dead pixel managed to fix it by increasing RGB custom settings above 1500 for some time (don't know how long). When reverting to previous values, the white pixel had disappeared. Didn't work out for another user, but it might be worth a try.
This might change in the future (in this case, please keep me informed), but trying to manually repair by changing the chip is a dead end. It's not the usual Texas Instrument DLP4710FQL, but the DLP4711FQL (source), which is not compatible(source) and can't be bought online.

Display issues with MJJGTYDS01FM (Xiaomi branded 4k model)
Many display issues can affect this device : taking time (minutes) to start displaying something, displaying only half image or white lines/bands... Most issues appear when the device is cold and get fixed when it has heat up.
Seems like a hardware design issue that can be fixed by removing a few screws. More information here. After this, like your projector, you won't be screwed anymore

Cross platform Remote Control
I also developped a simple web based remote control for MiUI TV (Xiaomi with chinese interface) based android devices (such as projectors, boxes, TVs).
No need to install anything special on your controlled device, this website/webapp communicates with the MiUI TV internal web server to send events to your device.
It should be compatible with anything running a web browser (provided it's quite up to date): Android, iPhone/iPad, PC/Mac computers...
Just head to http://mireco.hopto.org, configure your device local IP address and you're good to go.
More details on GitHub.

Other Tools
MiiInfo from 4PDA user Loly, shows various details concerning your projector.

Firmware updates after rooting and/or installing Google Apps
Firmware updates won't install if files on your system or kernel partition are modified. Using the Mi Proj Tools and installing the Google apps won't modify existing system files, but rooting with magisk will modify the kernel. So before any update, you have to restore your kernel (aka "boot") partition using TWRP, and then reapply Magisk once update is done.

Google Apps Issues / not yet working
  • Amazon Prime video : it's been reported that Amazon purposefully blocks the app on projectors. The app loads, but refuses to stream videos.
  • Netflix : No recent Tv version seems to work. Some previous versions (requiring mouse for some features) work fine though. You can install the most recent compatible one using the Mi Proj Tools. Anyway, due to missing full widevine support, full hd / 4k will probably never work.
  • Chromecast framework (Google Cast Server, aka AndroidMediaShell) isn't supported (devices need to be approved by Google to be supported)

Recovery
To go into recovery, turn off your projector, unplug it, hold down OK and BACK buttons simultaneously on your remote and plug back your projector while still holding them down.
Warning : don't "hot-unplug" it, turn it off before, or it won't work.
If you're looking for TWRP, have a look at the next point

Root
Note : both methods below work for rainman as well as batman (4k) devices.
Easy Method:
This method doesn't require any special hardware, only the TWRP I made (3.2.2.0, based on stock recovery files), along with another config file.
Thanks to @cr4zyw3ld3r who made a video tutorial based on the following instructions.
  • Extract this file batman_twrp_3.2.2.0b.zip (for "batman" 4k), this file zodiac_twrp_3.2.2.0.zip (for "zodiac"), or this file rainman_twrp_3.2.2.0.zip (for "rainman" 1080p and most other devices) at the root of your (FAT32 formatted) USB drive, where you also place the latest magisk version (as of now 19.3), and plug it into your projector (I used the right USB port)
  • Download ADB for your computer (check here)
  • Start command line (terminal)
  • Enable USB debugging in Android settings / developer options (you can access them from my MiProjA1 Tools app)
  • Type "adb connect IP_OF_YOUR_DEVICE:5555" to connect through the network
  • Type "adb reboot update" (This will restart your device and make it boot the TWRP on the USB drive.)
  • Once in TWRP a mouse will be required. Make backups if you wish (at least "boot" partition that you'll need to restore before applying any OTA update), and then mount SYSTEM, and install magisk in order to root the device (it will be in "/udisk" and will be called Magisk-......zip)
Note : to thank the donors, I also developed an application that installs on your Android smartphone, which automates steps 1 to 6. There is no need for computer or custom command lines in this case. Once the app is connected to your projector, you're only one button click away from TWRP.
Note : if it still boots to stock recovery and not twrp, make sure you extracted the zip and not only copied it to your usb drive. If it's extracted correctly but still doesn't work, try another usb drive, a few people reported that this fixed their issue.

Old Method:
With the correct hardware, you can root your device, following this tutorial from @servo386
To simplifiy the rooting process described in the link above :
  • Extract this file twrp-files.zip at the root of your USB drive, where you also place the latest magisk version (as of now 19.3), and plug it into your projector
  • Follow the steps described in the tutorial, up to the point where you have a root console access in recovery
  • Then, according you've plugged your USB drive before starting your device, just type ". /udisk/twrp.sh" in the root console. This will copy the necessary files and automatically run twrp, reducing the number of steps (and potential mistakes) to root your device.
  • Once in TWRP, make backups if you wish, and then mount SYSTEM, and install magisk in order to root the device (it will be in "/udisk" and will be called Magisk-.....zip)

Roms / DumpsHow to flash :
  • [OTA only] be sure your firmware version is the same as the "from" version specified above.
  • Download and extract the zip file to the root of a USB thumb device and follow the procedure to boot into recovery mode. The update will be automatically installed (approximately 5 minutes will be necessary). You shouldn't lose any data (well, unless there's a power cut during the update process ). Even after flashing the full firmware, I still had my apps installed. I suppose you need to factory reset if you want a clean install.
  • Those willing to reinstall from scratch will need to use a full rom (935 for rainman, 312 for batman), and then flash to the latest available OTA (you might need to chain flash if no direct OTA is available from you stock full rom to the rom you're targeting).
  • Please note that for a few users, the OTA won't install (it will stop during the update process with a chinese message). It's due to the fact that during installation, a check on the system files and kernel is made and at least one could not pass. This will be the case if you have rooted your device (only kernel is modified then). In that case, if you want to apply the update, you'll need to revert to an unmodified kernel/system. If you didn't modify system partition, restoring kernel partition (boot.img) should be enough. If not, try restoring system.img also. If nothing works, start by flashing the full firmware (935) and then install the OTA.
Attached Files
File Type: zip batman_twrp_3.2.2.0.zip - [Click for QR Code] (18.71 MB, 686 views)
The Following 18 Users Say Thank You to spocky12 For This Useful Post: [ View ]
10th October 2018, 10:12 AM |#3  
Member
London
Thanks Meter: 6
 
More
Spocky great work this looks fantastic,

you highlighted that you're not yet rooted and I've tried a few things so far that haven't worked however a few days ago one of the guys on the XDA forums has managed to access command line probably using the jtag points on the board. It's quite likely but this is a good way to get a ADB and then root access, and therefore if uses nandroid type tools he should be able to complete a full dump of the ROM.

I have a Chinese projector with same firmware as your own, but I'm hoping we can load the Android TV launcher interface as in the international version.

Let me know if you need anything specific tested.
10th October 2018, 03:04 PM |#4  
spocky12's Avatar
OP Recognized Developer
Flag Lyon
Thanks Meter: 672
 
Donate to Me
More
Thanks for you message.
As I'm following a few forums, I've seen that servo386 from avforums has managed to get root. He mentioned he'll explain how he did by the end of the week. This will be a first step towards getting custom roms.

I guess most users of the chinese version would love to have the international interface. Unfortunately, it's not as easy as installing an apk from the 02. This interface is totally dependant on the android version. And as of now, getting the full 8.1 firmware comes with a few drawbacks.

Most of these issues can't be fixed easily as they are dependant on low level binaries, but I believe they'll probably be fixed on upcoming 8.1 xiaomi updates.
The Following User Says Thank You to spocky12 For This Useful Post: [ View ]
10th October 2018, 11:32 PM |#5  
Junior Member
Thanks Meter: 1
 
More
wemax 7000
Great job !
I will try it tomorrow on my wemax 7000.
Let me know how I can help.
Should I also make a dump of my Chinese rom ?
How did you dump yours ?
I also badly hope to get the android tv rom working with the play store.
Thanks a lot !
12th October 2018, 01:28 AM |#6  
spocky12's Avatar
OP Recognized Developer
Flag Lyon
Thanks Meter: 672
 
Donate to Me
More
Getting a wemax dump would be great indeed !
I did it with adb, connected wirelessly to my computer.
To do the same :
- download adb for your system
- connect wirelessly by using "adb connect IP.OF.YOUR.WEMAX"
- create a folder for the dump on your computer : "mkdir dump"
- go in it : "cd dump"
- pull system files : "adb pull /system"

Then every file that doesn't require root access will be downloaded to your computer. Just make a zip of it and upload it somewhere.

If it feels too complex for you, wait for a few days, I'll probably upload a tool to make an archive and automatically upload it somewhere. I just need to fix a few things before.
The Following User Says Thank You to spocky12 For This Useful Post: [ View ]
12th October 2018, 04:12 PM |#7  
Member
Thanks Meter: 14
 
More
Hello, I'm the one who got root via the HDMI->UART diagnostic bridge. All credit goes to @loly though on 4PDA, who is the person who actually figured out this process on his Xiaomi Mi TV 4A, which has a similar chip to this projector so I took a guess that it would work too.

The posts I made on AVSforum are pretty long and lots of pictures and formatting so for now im just gonna link it but hopefully I can easily copy over the posts and make them here too.

https://www.avforums.com/threads/xia...#post-26580089
The Following User Says Thank You to servo386 For This Useful Post: [ View ] Gift servo386 Ad-Free
12th October 2018, 04:52 PM |#8  
Junior Member
Thanks Meter: 1
 
More
Hi,
I installed the app and got a Chinese popup telling me that what I was doing was forbidden to users.
The menu is in Chinese too and I tried translating it with google translate but It's very tedious and I'm not very confident going through the menus.
Thanks a lot for the procedure for the backup.
I will cleanup all the installed apps and maybe reset it completely so that i can share the backup online.
If you're going to prepare a tool to do so, I will wait so I can test it as well.
Let me know if I can help you by sending you more infos.
Cheers

Jerome
Attached Thumbnails
Click image for larger version

Name:	IMG_20181012_162303.jpg
Views:	2178
Size:	252.2 KB
ID:	4617374   Click image for larger version

Name:	IMG_20181012_162312.jpg
Views:	2150
Size:	256.1 KB
ID:	4617375  
12th October 2018, 06:10 PM |#9  
Member
Thanks Meter: 14
 
More
Xiaomi Mi Laser Root Procedure
This is a long one. Also it was originally written for an audience who may have not been as familiar with Android/Linux commands so it has lots of explanation that might feel out of place on XDA.

So first and foremost ALL CREDIT BELONGS TO @loly ON THE 4PDA.RU FORUM WHO ACTUALLY DISCOVERED THIS PROCESS

https://4pda.ru/forum/index.php?show...#entry75802829

I definitely am just a copy cat who guessed that his process would also work on this device since their both Xiaomi TV devices with Amlogic T96* boards.

So if you read his post (which you definitely should in addition to this post in order to get the full picture of how this is done), you'll see that this is quite complicated and a kind of high level hack. I hope I'll be able to explain it enough and walk through it enough for it be fairly accessible for less technically inclined people who want to root their Xiaomi projectors.

What is required:

1. HDMI cable you can chop up or an HDMI breakout cable like this one: https://www.amazon.com/Adapter-signa...dp/B01CU9SHOO/

2. UART to USB adapter cable/board like this one: https://www.amazon.com/Adapter-Seria.../dp/B075N82CDL though there are cheaper options available

3. Cables/wires to connect both things. The USB UART package above comes with some, though you'll have to strip the ends to screw them into the terminals of the HDMI breakout board.

4. A spare USB drive

5. A computer to use the USB to UART adapter and a terminal program, i am using Putty.

So the basic idea behind this is that one of the HDMI ports (HDMI 1 in this case, the one closest to the edge) also serves as a diagnostic/UART port via 3 of the 19 pins of the HDMI. When this HDMI port is properly wired to the UART adapter, and you have a terminal open observing said port, upon boot the machine reads out all its startup stuff and when booting into recovery, gives you a completely liberated UNIX terminal that accepts input from the UART terminal, with full root privileges and busybox! As @loly says in his post, here we thank the people at Xiaomi for not bothering to secure this section and giving us full diagnostic root access with busybox. This is almost surely the way the developers of this machine would interact with this machine and developed for it. So let me try to explain how this works and how we get to TWRP and root.

Steps:

1. We need to properly connect the correct pins on the HDMI cable to the correct pins on the UART.

Here I am going to re-post some of @loly's images from the original thread, so all credit goes to him.
Click image for larger version

Name:	hdmi.jpg
Views:	2104
Size:	7.6 KB
ID:	4617376

Here we see the pins we need. Pin 14 is our VCC, which in this 5v (the UART adapter im using has a switch for 3.3v or 5v, this switch needs to be set to 5v!) Pin 15 is the receive pin and Pin 16 is the transmit pin

The fourth lead we need is the GND (ground), which in the case of an HDMI cable is usually an un-shielded wire that connects to the the case of the connector itself.

I'm going to stop here for a sec and say this is why it's alot easier to use the HDMI breakout board over trying strip an HDMI cable and finding which wire corresponds to which pin (you need a multi-meter to do that)

its a small investment but it makes everything ALOT easier. On the HDMI breakout board, the ground terminal is pin 20.

the corresponding pins on the UART are pretty straightforward. VCC goes to VCC on the UART, pretty straightforward, on the other hand the RX pin of the HDMI (pin 15) goes on the TX OF THE UART makes sense right? the receiever of the HDMI should be listening to the transmitter of the UART and vice versa, so the TX pin of the HDMI goes on the RX pin of the UART. The GND pin (pin 20 on breakout board) goes to the GND on the UART.

Click image for larger version

Name:	IMG_20181008_095739.jpg
Views:	2198
Size:	108.7 KB
ID:	4617377

Here's my setup. Sorry for the not very great picture. The terminal blocks on the HDMI breakout board work basically like you were connecting speakers to an amp, you unscrew the terminal till you see a little metal hole and you stick the stripped tip of the cable into the hole and screw the terminal back up till its snuggly holding onto the cable. You can use a multi-meter if you have one to make sure the wire is making contact with the terminal and even test the exact pin with the cable to make sure the connection goes all the way. If you're cable is making contact with the metal of the terminal, it is almost certainly correctly making contact with the actual HDMI pin, barring maybe a badly manufactured breakout board. I used spare MALE end pin connector cables to strip the ends and stick in the terminals, and connected them to the FEMALE connectors that came with the UART adapter. You don't necessarily have to do it this way, you can directly strip one of the female ends of the cable and connect the other female end to the pins on the UART, but you'll have a pretty short cable from HDMI to USB and you'll probably need a USB extension to comfortably use it with a computer.

So now you have you're HDMI diagnostic cable!

2. Setup your computer for UART and Putty.

Connect your UART to USB adapter to your computer. In Windows 10, it should automatically install drivers, but if it doesn't, your device should come with a link or something to download the drivers. I'm not going to get into the specific of how to install drivers on Windows computers but needless to say, you need to get the computer to recognize the device and properly utilize it via the drivers. Once you have it properly installed on the machine, it should show up in your device manager under Ports (COM & LPT) or something similar.

Click image for larger version

Name:	mcb9xx_devicemanager.png
Views:	1496
Size:	17.9 KB
ID:	4617379

this is important because we need to 1. determine what COM port you're device is on and 2. change the baud setting.

So in the photo you see that it tells you what COM port is, which we need for later.

Now you need to go into the settings of the device and go into Port Settings tab

Click image for larger version

Name:	FT231X_Metro_BaudList.jpg
Views:	1388
Size:	88.1 KB
ID:	4617381

WE NEED TO SET THE BITS PER SECOND TO 115200!

Very important!


Setting up putty:

Click image for larger version

Name:	putty3.png
Views:	998
Size:	36.1 KB
ID:	4617383

Basically open up putty and put the button on Serial, set the speed to 115200 and in the SERIAL LINE put the correct COM port number (COM1, COM2, COM3, ect)

Pressing enter on this should open a big blank black terminal with no activity. Thats good because its working. If it wasn't, you'd get an error about not reaching COM port or something.

3. Testing out our diagnostic cable with UART and Putty

Unplug your projector. Plug your HDMI into HDMI port 1 and connect your USB to computer. Open up a Putty terminal session as outlined above. If you get a big black screen with no errors upon launching the terminal, youre in a good spot.

Plug in the Projector. If you've done everything right you should get a big long readout of text scrolling by as it boots. If you get this, congratulations, you've accessed the diagnostic correctly!

Click image for larger version

Name:	b260a408-4334-4ca7-826e-16870191136c.jpg
Views:	1226
Size:	256.4 KB
ID:	4617385

The final step for actually accessing the usable terminal is doing the same but while booting into recovery.

4. Booting into recovery

Turn off your projector. Unplug it. Take your remote and hold down THE OK BUTTON and the BACK BUTTON at the same time. While still holding this, plug in the projector. It should start booting up. You're terminal Putty should be going crazy with text readout like last time. After a few seconds, let go of the buttons. Your projector should eventually end up on the Recovery menu, which is just some big buttons in english and chinese with a black background.

Click image for larger version

Name:	IMG_20181011_100542.jpg
Views:	1564
Size:	282.8 KB
ID:	4617401
image courtesy of jaberwocky on AVS

After the readout in the terminal has stopped, press enter. It should skip to a new line with

Code:
~#
Tada, root! You're officially in a fully privileged root terminal in the underlying unix system of the projector.

This is the hard part of all this. If you've successfully reached this part, you've won the battle. Everything from here on out is just a couple of commands and some files being downloaded and transferred.

Launching TWRP, making a Nand dump, flashing Magisk, getting Root

So if you indeed have reached the point where, from recovery, you can enter commands into the terminal session, now the question what to with it. The answer is basically anything you want, but let's launch TWRP and go from there.

So here is where you need to download this zip file, also courtesy of @loly from the original russian thread. He went to the trouble of (I'm assuming) compiling his own TWRP for Xiaomi Mi TV 4A which, which as I've mentioned before it's chip (Amlogic T962) is the in the same family as the chip in our projector (Amlogic T968) so it works. That said I would say right now this is not a full TWRP specially made for our projectors, so we aren't going to flash it. We are going to launch it from the terminal (as per @loly's instructions) and use it, but not flash it to our recovery partition. This is for the best right now because a. it's not for our device and b. stock recovery allows us to install OTA updates if they come in the future

TWRP.zip
my attached version has only the twrp folders, no recovery image, no magisk included.
https://yadi.sk/d/uTUrwdAl3ZyUcN <---- original zip

Download that zip file and unzip its contents right into your USB drive, so that the folder `twrp` (lowercase) is in the root of your drive . This will make it easier to type the commands exactly as they appear later. Ignore the recovery.img, we're not flashing this onto this device.

The magisk included in the TWRP.zip is old by this point. I flashed Magisk 17.1 flashable zip, the latest stable as of this writing. Get it here https://github.com/topjohnwu/Magisk/...gisk-v17.1.zip and put it on the flash drive.

A quick primer, this terminal instance has Busybox installed. Busybox is a "swiss army knife" of unix command like binaries because it packages all the standard linux commands into one single binary, so instead of calling
Code:
ls
to see the contents of the directory you instead would type
Code:
busybox ls
and it would work.

One last thing before I continue: while doing terminal stuff, I quickly learned that occasionally the terminal would throw up all kinds of gibberish which, as far as I can tell, had no rhyme or reason to it and more important had no discernible effect on what i was doing. Its a weird bug that maybe only ill experience because of my setup, I don't know. It would take two forms, one where it would throw up a bunch of lines of technical sounding text which included references to errors and such, but would ever actually affect anything. the other is when it would randomly spit out something like "hotplug_9" and again, id just press enter to get to the new line and nothing would have been affected. Don't be alarmed.

1. Insert USB drive into projector
Take your USB and plug it in. On your terminal, you should a small flurry of activity and references to a new device located at
Code:
/dev/block/sda1
or
Code:
/dev/block/sda2
take note of this, because this is the physical address of your USB drive thats going to have to be mounted. sda1 is the typical one, in my experience.

2. Mount USB and copy over files
This is just a series of commands, type them in precisely as I have them here, assuming you've maintained the same file structure on your USB stick as I did, unzipped the TWRP.zip straight onto the root of the USB.

Code:
busybox mount /dev/block/sda1 /sdcard
This mounts your USB device to the folder `/sdcard' if you're usb is at a different device location, change it appropriately.

Code:
busybox ls /sdcard
Just do a quick readout of the contents of `/sdcard` to make sure it properly mounted. you should see the contents of your USB drive listed here

Code:
busybox cp -r /sdcard/twrp/twres /
Copy the folder `twres` from the USB to the root of your projector

Code:
busybox cp -r /sdcard/twrp/license /
Copy the folder `license` to the root of your projector

Code:
busybox cp -rf /sdcard/twrp/etc/* /etc
Copy the contents of the folder `etc` to the etc directory on your projector

Code:
busybox cp -rf /sdcard/twrp/sbin/* /sbin
Copy the contents of the folder `sbin` to the sbin directory on your projector

Code:
busybox chmod -R 0750 /sbin
Change the permissions of the sbin folder to its all executable

So thats all the copying, now the moment of truth

3. Launch TWRP

YOU NEED A MOUSE PLUGGED INTO THE PROJECTOR TO NAVIGATE TWRP!

Code:
/sbin/run.sh
after hitting enter on this command, TWRP should boot up on your screen (and a bit of readout in your terminal

IF TWRP DOESN'T LAUNCH, YOU'VE DONE SOMETHING WRONG. GO BACK AND CHECK EVERYTHING.

I hope if you're doing this you're somewhat familiar with TWRP, but I will try to walk through the 2 most important things to do

4. Rom backup
One of the big buttons is BACKUP, go there and you'll see a series of check boxes for each of your partitions (boot, bootloader, recovery, system, ect). Select the ones you want (I selected all but I know for a fact this is unnecessary but I did't want to overlook anything and I didn't want to guess which I could ignore). It should ask you where to save the backup, select either the USB drive or internal memory and pick a folder. Slide over the thing to begin backup. It'll take a bit but eventually it should finish. Tada, you have a backup of your entire device.

5. Flash Magisk (ie get root)
This is the big kahuna, the one that unlocks everything OS-wide. Before trying to flash Magisk, we need to mount the system partition. This was big headache for me cause I didn't know why all the commands in the install scripts for failing and it was because /system/bin contains all the commands/binaries that Magisk installer script uses to do its stuff, so thats why we need to mount it first before trying anything. Go to the big MOUNT button and you should see checks next to USB and INTERNAL MEMORY or something to that effect, i can't remember off the top of my head. Almost certainly SYSTEM does not have a check next to it, meaning its not mounted. Click the check mark next to SYSTEM and that should be it, it is now mounted.

There is a quick way to check this, which is to go to ADVANCED>TERMINAL and in the terminal type

Code:
mount
if you get any sort of read out of device partitions, you're good, that means the mount command is working meaning the /system/bin is being made available to TWRP to execute commands.

With that done, go over to the INSTALL button on the home screen and navigate over to your USB stick and find the Magisk 17.1.zip. Select it. Check the check mark to reboot after install. Slide over the slider to begin the install. Moment of truth, you'll likely get to errors in big red text something like MOUNT -O BIND /SDCARD FAILED or something, thats fine, ignore it. It should go onto to say

Code:
|----Magisk Installer Script 17.1----|
or something like that, that means its doing its thing. Everything should go well and it should ask to reboot.

6. Verify root
Once you boot into the Xiaomi home screen after flashing Magisk, you should get some kind of thing asking to confirm that you want to install the application. That application is the Magisk Manager, which means you did it, Magisk installed successfully!

Go ahead and install some app that you know asks for superuser and it should prompt you for superuser access, grant it. You did it, you're root!
Click image for larger version

Name:	root (1).jpg
Views:	2124
Size:	79.2 KB
ID:	4617430
The Following 8 Users Say Thank You to servo386 For This Useful Post: [ View ] Gift servo386 Ad-Free
13th October 2018, 01:58 AM |#10  
spocky12's Avatar
OP Recognized Developer
Flag Lyon
Thanks Meter: 672
 
Donate to Me
More
Quote:
Originally Posted by jhordies

Hi,
I installed the app and got a Chinese popup telling me that what I was doing was forbidden to users.
The menu is in Chinese too and I tried translating it with google translate but It's very tedious and I'm not very confident going through the menus.
Thanks a lot for the procedure for the backup.
I will cleanup all the installed apps and maybe reset it completely so that i can share the backup online.
If you're going to prepare a tool to do so, I will wait so I can test it as well.
Let me know if I can help you by sending you more infos.
Cheers

Jerome

There's really not much this app can break (and not much to change neither). Most interesting thing would be the information page, along with the temperature page.
Concerning the dump, no need to cleanup anything as user data is stored :
- in /sdcard (internal memory) mount
- in app folder which can't be accessed without root
Dumping /system won't access any of them, this will basically only copy files that where part of the last firmware installed on your device.
As for my app, not sure I'll have time to finish it before next week.
Quote:
Originally Posted by servo386

This is a long one. Also it was originally written for an audience who may have not been as familiar with Android/Linux commands so it has lots of explanation that might feel out of place on XDA.

So first and foremost ALL CREDIT BELONGS TO @loly ON THE 4PDA.RU FORUM WHO ACTUALLY DISCOVERED THIS PROCESS

https://4pda.ru/forum/index.php?show...#entry75802829

I definitely am just a copy cat who guessed that his process would also work on this device since their both Xiaomi TV devices with Amlogic T96* boards.

So if you read his post (which you definitely should in addition to this post in order to get the full picture of how this is done), you'll see that this is quite complicated and a kind of high level hack. I hope I'll be able to explain it enough and walk through it enough for it be fairly accessible for less technically inclined people who want to root their Xiaomi projectors.

What is required:

1. HDMI cable you can chop up or an HDMI breakout cable like this one: https://www.amazon.com/Adapter-signa...dp/B01CU9SHOO/

2. UART to USB adapter cable/board like this one: https://www.amazon.com/Adapter-Seria.../dp/B075N82CDL though there are cheaper options available

3. Cables/wires to connect both things. The USB UART package above comes with some, though you'll have to strip the ends to screw them into the terminals of the HDMI breakout board.

4. A spare USB drive

5. A computer to use the USB to UART adapter and a terminal program, i am using Putty.

So the basic idea behind this is that one of the HDMI ports (HDMI 1 in this case, the one closest to the edge) also serves as a diagnostic/UART port via 3 of the 19 pins of the HDMI. When this HDMI port is properly wired to the UART adapter, and you have a terminal open observing said port, upon boot the machine reads out all its startup stuff and when booting into recovery, gives you a completely liberated UNIX terminal that accepts input from the UART terminal, with full root privileges and busybox! As @loly says in his post, here we thank the people at Xiaomi for not bothering to secure this section and giving us full diagnostic root access with busybox. This is almost surely the way the developers of this machine would interact with this machine and developed for it. So let me try to explain how this works and how we get to TWRP and root.

Steps:

1. We need to properly connect the correct pins on the HDMI cable to the correct pins on the UART.

Here I am going to re-post some of @loly's images from the original thread, so all credit goes to him.
Attachment 4617376

Here we see the pins we need. Pin 14 is our VCC, which in this 5v (the UART adapter im using has a switch for 3.3v or 5v, this switch needs to be set to 5v!) Pin 15 is the receive pin and Pin 16 is the transmit pin

The fourth lead we need is the GND (ground), which in the case of an HDMI cable is usually an un-shielded wire that connects to the the case of the connector itself.

I'm going to stop here for a sec and say this is why it's alot easier to use the HDMI breakout board over trying strip an HDMI cable and finding which wire corresponds to which pin (you need a multi-meter to do that)

its a small investment but it makes everything ALOT easier. On the HDMI breakout board, the ground terminal is pin 20.

the corresponding pins on the UART are pretty straightforward. VCC goes to VCC on the UART, pretty straightforward, on the other hand the RX pin of the HDMI (pin 15) goes on the TX OF THE UART makes sense right? the receiever of the HDMI should be listening to the transmitter of the UART and vice versa, so the TX pin of the HDMI goes on the RX pin of the UART. The GND pin (pin 20 on breakout board) goes to the GND on the UART.

Attachment 4617377

Here's my setup. Sorry for the not very great picture. The terminal blocks on the HDMI breakout board work basically like you were connecting speakers to an amp, you unscrew the terminal till you see a little metal hole and you stick the stripped tip of the cable into the hole and screw the terminal back up till its snuggly holding onto the cable. You can use a multi-meter if you have one to make sure the wire is making contact with the terminal and even test the exact pin with the cable to make sure the connection goes all the way. If you're cable is making contact with the metal of the terminal, it is almost certainly correctly making contact with the actual HDMI pin, barring maybe a badly manufactured breakout board. I used spare MALE end pin connector cables to strip the ends and stick in the terminals, and connected them to the FEMALE connectors that came with the UART adapter. You don't necessarily have to do it this way, you can directly strip one of the female ends of the cable and connect the other female end to the pins on the UART, but you'll have a pretty short cable from HDMI to USB and you'll probably need a USB extension to comfortably use it with a computer.

So now you have you're HDMI diagnostic cable!

2. Setup your computer for UART and Putty.

Connect your UART to USB adapter to your computer. In Windows 10, it should automatically install drivers, but if it doesn't, your device should come with a link or something to download the drivers. I'm not going to get into the specific of how to install drivers on Windows computers but needless to say, you need to get the computer to recognize the device and properly utilize it via the drivers. Once you have it properly installed on the machine, it should show up in your device manager under Ports (COM & LPT) or something similar.

Attachment 4617379

this is important because we need to 1. determine what COM port you're device is on and 2. change the baud setting.

So in the photo you see that it tells you what COM port is, which we need for later.

Now you need to go into the settings of the device and go into Port Settings tab

Attachment 4617381

WE NEED TO SET THE BITS PER SECOND TO 115200!

Very important!


Setting up putty:

Attachment 4617383

Basically open up putty and put the button on Serial, set the speed to 115200 and in the SERIAL LINE put the correct COM port number (COM1, COM2, COM3, ect)

Pressing enter on this should open a big blank black terminal with no activity. Thats good because its working. If it wasn't, you'd get an error about not reaching COM port or something.

3. Testing out our diagnostic cable with UART and Putty

Unplug your projector. Plug your HDMI into HDMI port 1 and connect your USB to computer. Open up a Putty terminal session as outlined above. If you get a big black screen with no errors upon launching the terminal, youre in a good spot.

Plug in the Projector. If you've done everything right you should get a big long readout of text scrolling by as it boots. If you get this, congratulations, you've accessed the diagnostic correctly!

Attachment 4617385

The final step for actually accessing the usable terminal is doing the same but while booting into recovery.

4. Booting into recovery

Turn off your projector. Unplug it. Take your remote and hold down THE OK BUTTON and the BACK BUTTON at the same time. While still holding this, plug in the projector. It should start booting up. You're terminal Putty should be going crazy with text readout like last time. After a few seconds, let go of the buttons. Your projector should eventually end up on the Recovery menu, which is just some big buttons in english and chinese with a black background.

Attachment 4617401
image courtesy of jaberwocky on AVS

After the readout in the terminal has stopped, press enter. It should skip to a new line with

Code:
~#
Tada, root! You're officially in a fully privileged root terminal in the underlying unix system of the projector.

This is the hard part of all this. If you've successfully reached this part, you've won the battle. Everything from here on out is just a couple of commands and some files being downloaded and transferred.

Launching TWRP, making a Nand dump, flashing Magisk, getting Root

So if you indeed have reached the point where, from recovery, you can enter commands into the terminal session, now the question what to with it. The answer is basically anything you want, but let's launch TWRP and go from there.

So here is where you need to download this zip file, also courtesy of @loly from the original russian thread. He went to the trouble of (I'm assuming) compiling his own TWRP for Xiaomi Mi TV 4A which, which as I've mentioned before it's chip (Amlogic T962) is the in the same family as the chip in our projector (Amlogic T968) so it works. That said I would say right now this is not a full TWRP specially made for our projectors, so we aren't going to flash it. We are going to launch it from the terminal (as per @loly's instructions) and use it, but not flash it to our recovery partition. This is for the best right now because a. it's not for our device and b. stock recovery allows us to install OTA updates if they come in the future

Attachment 4617409
my attached version has only the twrp folders, no recovery image, no magisk included.
https://yadi.sk/d/uTUrwdAl3ZyUcN TERMINAL and in the terminal type

Code:
mount
if you get any sort of read out of device partitions, you're good, that means the mount command is working meaning the /system/bin is being made available to TWRP to execute commands.

With that done, go over to the INSTALL button on the home screen and navigate over to your USB stick and find the Magisk 17.1.zip. Select it. Check the check mark to reboot after install. Slide over the slider to begin the install. Moment of truth, you'll likely get to errors in big red text something like MOUNT -O BIND /SDCARD FAILED or something, thats fine, ignore it. It should go onto to say

Code:
|----Magisk Installer Script 17.1----|
or something like that, that means its doing its thing. Everything should go well and it should ask to reboot.

6. Verify root
Once you boot into the Xiaomi home screen after flashing Magisk, you should get some kind of thing asking to confirm that you want to install the application. That application is the Magisk Manager, which means you did it, Magisk installed successfully!

Go ahead and install some app that you know asks for superuser and it should prompt you for superuser access, grant it. You did it, you're root!
Attachment 4617430

Thank you for your time adding this post here and for the tests you've made to root this device. That's really cool !
If you have time, don't hesitate to post a full dump of your rom, we might learn a bit more than with mine.
Also I have not read your post from my computer so it might just be a bug, but Tapatalk reports your twrp.zip file as being 5 bytes only.
Edit: nevermind, your twrp is fine
The Following 2 Users Say Thank You to spocky12 For This Useful Post: [ View ]
19th October 2018, 04:40 AM |#11  
Member
Thanks Meter: 14
 
More
I've ripped the "backup" archive that is a flashable update image of the stock image, used by the machine when you do "system restore" in recovery.

Basically here is the stock rom for the model 01 "rainmain" at last.

https://mega.nz/#!jY40SCQR!2gPjpPxzo...zWqU3eZGUz7kb0
The Following 2 Users Say Thank You to servo386 For This Useful Post: [ View ] Gift servo386 Ad-Free
Post Reply Subscribe to Thread

Tags
mi laser projector, miproja1, wemax, xiaomi

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes