I've made a pre-rooted boot image for Remix Mini. With this image, you can ROOT your Remix Mini without using UART/TTL cable.
Features:
1. Flash the boot image to root the device, without opening the cover.
2. Systemless root: the files in /system are unmodified. You are able to receive future OTA updates (in theory).
3. Factory Reset Protection: you can do Factory Reset in Remix OS or in Recovery mode without lossing root status.
Prerequisite:
A Remix Mini with stock ROM (Tested on my RM1G 8GB & RM1CL)
USB Male To Male cable
Android platform tools (fastboot & adb) on your computer
Steps: (Warning: Backup your data before doing anything)
1. Power on your Remix Mini, press F2 to enter Recovery mode.
2. Choose "reboot to bootloader" and press Enter key, then your Remix Mini will enter fastboot mode.
3. Plug the male to male USB cable into the UPPER USB port on your Remix Mini, then connect it to your computer.
4. Open command line (cmd on your Windows PC, or Terminal on your Mac, etc.), and check the device's connection with following command:
Code:
fastboot devices
5. Flash the boot image with following command:
Code:
fastboot flash boot <path to the boot.img>
6. When completed, reboot your Remix Mini with following command:
Code:
fastboot reboot
7. Your Remix Mini should reboot to Remix OS normally. Install Root Checker from Play Store or via USB drive to check root status.
Known issues:
It seems that SuperSU is not fully compatible with Remix OS. When an app is requesting root access, the dialog of SuperSU is invisable. You are not able to approve or deny the request, and app is hanging. There is a workaround, you can let SuperSU approve or deny all the requests without asking, and later change the per-app settings through SuperSU app.
Back to stock (Unroot or unbrick):
You may using Remix Mini factory image and Allwinner LiveSuite tool (just google them) to reflash your device to stock ROM.
Download link:
(Remove extra spaces in links. I can't post links right now - sorry.)
Code:
Dropbox: h t t p s :/ / www . dropbox . com/s/jmhpv0vq7nq83hq/remixmini_rooted_bootimg.zip?dl=0
Baidu: h t t p : / / pan . baidu . com/s/1bpcq3Iv Password: xn9s
@JustinLu123
Thanks a bunch! Works like a charm on my 16G Remix Mini.
As for the SuperSU invisible popup - try resetting SuperSU data or fiddling with windowed/fullscreen mode of SuperSU/other app. For me the popup works just fine.
Thanks for making this boot image public! It makes rooting a lot more simple.
Although I'm curious how you accomplished it. Is the original boot image not signed by JIDE? Does the Mini not check the authenticity of this signature?
If the boot image is signed and the Mini does check the signature, how could this modified boot image be put together (without having access to JIDE's private signing key)?
If there's no signature check, then how come that nobody (who already rooted the Mini and could read out the boot image from the Mini itself) published the original Mini boot image before? There's a huge Android modding community and modding boot images has a long history with a lot of docs and resources online. So once the original image became accessible, adding SuperSU (or whatever rooting solution one chooses) to an existing image is something that has been done before for lots of phones/tablets/etc..
Boot image can be extracted from publicly available official Mini ROMs used for manual install.
I guess he just pulled the boot.img, extracted it, modified and then repacked.
I've had this idea too, just didn't think it's worth the time since UART method was okay for me.
Since Mini has an unlocked bootloader you can just flash any boot image you want.
If you'll try to flash an update zip from Mini recovery, it has to be signed and follow some more requirements.
Happily, Justin overrode this by rebooting into bootloader.
Sadly, the original boot.img is automatically restored upon reboot... :/
If anyone knows what to do to make it stick, let me know.
Also, since Justin managed to root it via fastboot, maybe now it'll be possible to install Magisk?
@bit2
The bootloader of Remix Mini is unlocked, so we can extract and modify the boot image, and then flash it back though fastboot mode.
@Vioner
Yes, I extracted the boot image from latest OTA update package ver 2.0.805.
I didn't see the boot.img restored upon reboot. But the boot image may be replaced by OTA updates in the future. Just flash it again if it happens.
@JustinLu123
I've flashed your boot image like 10 times. It doesn't persist, so I went back to UART method.
Guys, please test for yourself if it persists.
@Vioner
Sorry to hear that the method isn't working on your device.
I've been using this boot image on my 2 Remix Minis (model RM1G and mode RM1CL) for 1 month+ and it does persist. I didn't see any drawback upon reboot or shutdown.
@Vioner
Which version of ROM are you using? I'm using ROM ver. 2.0.805.
@JustinLu123
2.0.807 - the most recent
@Vioner
I had reflashed / unbricked my device using Phoenix Suite with "verity_block" unchecked. The "verity_block" looks like the feature to secure the boot image. Maybe that makes the modified boot image persist on my device.
Let's see if it persists for others.
Maybe it's just like you said with verity check.
@JustinLu123
@Vioner
i can't see any device in "FASTBOOT DEVICES"
PhoenixSuit 1.0.8 installed. USD Debug mode (the two settings on)
Windows 10 x64
What i'm doing wrong?
If you have USB debugging enabled, you may try entering fastboot mode through adb:
adb reboot bootloader
@Poeta
@JustinLu123
Have tried Recovery, choose the Bootloader... No fastboot devices detecter
I have tried that too... After enter in the bootloader... No fastboot devices detected.
Fastboot devices empty in the "Fastboot devices"
@Poeta
It looks like a driver issue. Try uninstall Phoenix Suite driver and install generic driver for fastboot device in Windows' Device Manager.
Hi
When i choose reboot to bootloader , it restarts and then its stuck on with Jide Logo
am i supposed to see some screen ?I did a factory reset but didnt help.
when i check fasboot devices its blank does not show any ?
Remix mini is detected using Phoenix Suite under usb debug mode
i tried adb reboot bootloader also it restarts remix mini but again stuck in boot loader..
How do i fix this ?
If i replace boot.dmg in the factory image and restore will it work ?
sunny5055 said:
Hi
When i choose reboot to bootloader , it restarts and then its stuck on with Jide Logo
am i supposed to see some screen ?I did a factory reset but didnt help.
when i check fasboot devices its blank does not show any ?
Remix mini is detected using Phoenix Suite under usb debug mode
i tried adb reboot bootloader also it restarts remix mini but again stuck in boot loader..
How do i fix this ?
If i replace boot.dmg in the factory image and restore will it work ?
Click to expand...
Click to collapse
I think that Jide logo is the fastboot.
@JustinLu or @JustinLu123 that is true?
It is @Poeta
Vioner said:
It is @Poeta
Click to expand...
Click to collapse
Then in that case not sure why i dont see anything under fastboot..
The drivers must be correct because i was able to use "adb reboot bootloader" this.
Anyone has the drivers link which have used and working ? I can try using windows 10 or osx again with those drivers.
Tried to run this from my phone using a microusb cable...
Didn't work. Can't get the phone to detect the mini.
So there's that.
Related
Hi, this is my first post on this forum.
At the beginning I'm sorry for bad English, I am using the translator.
I have a lenovo k3 note and everything worked as it should have, until it returned from China (I sent it there, then I received a reply that the screen is damaged, do I decided to fix it here, in Poland).
Currently, I cannot install CWM or TWRP. I tried to do it in many different ways. When the phone turned off, I hold volume buttons and power, but then it showed me a message at the bottom of the screen: fastboot mode.
I tried to install twrp or CWM using adb commands. I was just trying to run recovery using commands. I also tried different versions of recovery using flashtool and the result was the same. Three buttons and a message about fastboot mode.
I can install new rom using only flashtoola and I did it. I currently have K50a40_S427_160518_ROW, android 6.0.
I read somewhere that I can have a locked bootloader. I tried the command fastboot oem unlock by adb but it did not work.
Please give me a hint or tell me what to do step by step, and I will still try to properly install twrp.
Thank you in advance.
Flashing recovery
You Can flash Recovery using SP flash tool if you have MT6752(check in device information) using this method or (if You Have other model please update the scatter file and recovery with yours)
Install all the drivers.
[*]Enable USB debugging and ALLOW OEM UNLOCK in settings.
Now download & extract SP flash tool from here
Now Download and extract TWRP recovery from here
Now, Go to Options>Download and check the two checkboxes
(Make sure Download only is selected)Load the Scatter file and click download button.
Connect your device Powered OFF
Check if recovery is Installed (if you Have Problems Rooting follow this Guide)
Ok, I get down to work. What is the decryption key to mega.nz to the link you provided?
I just received my op3t and turn it on and then it said to update to latest firmware. Which I did. I updated it then it said failed. The device restarted and it is now stuck in bootload page. Anyone know a fix?
Also I cannot get into recovery mode. I can only get into fastboot mode. Not sure why it won't go into recovery.
Thanks!
Sent from my Nexus 6 using XDA-Developers Legacy app
Download full ROM of Oxygen OS here.
Download the stock Oxygen OS recovery image file from the same page (bottom of page under red "download" button).
Make sure your computer has fastboot installed, if not use something like minimal adb and fastboot.
Make sure your PC has the proper drivers installed for the OP3T.
Rename the stock recovery image file into something like stockrecovery.img
Boot phone into fastboot mode, connect to the PC and make sure the PC can detect the phone by inputting:
fastboot devices
If a serial number shows up, then enter the following two lines:
fastboot erase recovery
fastboot flash recovery stockrecovery.img
Reboot into recovery and use it to flash the full OOS 4.0.3 zip from a USB flash drive.
If the above doesn't work, the failed update may have damaged the firmware, in which case you will have to use the unbrick guide.
Which is weird as it worked before.
Basic stuff. Android 6.0.1, MIUI 8.1
Bootloader unlocked
USB ADB drivers installed
Debugging on
Run TWRP and device is recognised, TWRP isntalled successfully but when I reboot phone into recovery, I get the standard "phone connected to usb cable" graphic. Im at a loss to know it wont go into TWRP, suggestions please?
Need to root to adjust in cqll volume settings, thx.
2bullish said:
Which is weird as it worked before.
Basic stuff. Android 6.0.1, MIUI 8.1
Bootloader unlocked
USB ADB drivers installed
Debugging on
Run TWRP and device is recognised, TWRP isntalled successfully but when I reboot phone into recovery, I get the standard "phone connected to usb cable" graphic. Im at a loss to know it wont go into TWRP, suggestions please?
Need to root to adjust in cqll volume settings, thx.
Click to expand...
Click to collapse
Not sure about alle the steps you did or did not do.
But if you install TWRP and then reboot back to MIUI, it will overwrite the recovery again.
From the TWRP.me site:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
Ok, followed all the steps exactly, the phone boots into twrp, then i reboot in system, or let it reboot by disconnecting, same thing happens. Black screen MI logo, bootloader unlock, in red, at the bottom of the screen with an open padlock.
Now it wont boot at all.
This is weird, I can boot into fastboot and recovery but when i try to flash, the device is redognised but i cannot see it in the drop down menu to find the rom. Grrrrrr im stuck.
2bullish said:
This is weird, I can boot into fastboot and recovery but when i try to flash, the device is redognised but i cannot see it in the drop down menu to find the rom. Grrrrrr im stuck.
Click to expand...
Click to collapse
OK, if you want to keep MIUI, just flash MIUI again and it should install the needed firmware, recovery etc.
You can use the recovery zip for this or the fastboot gz version to install (both should work).
If you want a custom rom installed, go to the Lineage thread (i use that since feb, with weekly updates) or another one.
Read the first few post carefully, but if you want to install it (Lineage), do flash the firmware first via recovery before flashing the rom (don't forget this one).
Update. I can get into TWRP recovery but have no back up.
If I try to boot into system I get a black screen with Mi logo and a red unlocked boot loader padlock graphic.
If i boot into fast boot and run miflash, the phone is recognised but the sd storage does not appear in the drop down at all.
I cannot use the pcsuite software and if the phone is not in TWRP or fastboot mode it is on the black screen with logo with red unlocked padlock and is not recognised by the PC. I dont know what else to do, any help will be greatly appreciated.
Found out the problem it was supersu, gonna try a different version
2bullish said:
Found out the problem it was supersu, gonna try a different version
Click to expand...
Click to collapse
Glad you found the problem.
I think that MIUI has already build in the SU via the Developer options, but i'm not sure of that.
If you think of Lineage, just flash the Lineage Su addon after the Lineage rom.
Works great.
2bullish said:
Update. I can get into TWRP recovery but have no back up.
If I try to boot into system I get a black screen with Mi logo and a red unlocked boot loader padlock graphic.
If i boot into fast boot and run miflash, the phone is recognised but the sd storage does not appear in the drop down at all.
I cannot use the pcsuite software and if the phone is not in TWRP or fastboot mode it is on the black screen with logo with red unlocked padlock and is not recognised by the PC. I dont know what else to do, any help will be greatly appreciated.
Click to expand...
Click to collapse
MIUI has some sort of verification on boot. If it detects a custom recovery different from stock one, it won't boot. You need to use zcx twrp. It can bypass this verification.
Hello to everyone.
I hope somebody to help me, last night i tried to update mi Lineage OS 16 (from erfanoabdi).
My device is unlocked bootloader, and i used the rom from nightly build (2018-21-09), it works fine and everything, the issue becomes when i look what was avaible a new update, so downloaded and install the new rom.
I do full wipe, after that i install the new rom, at this point everything its working fine, but after that when i changed the partition slot from A to B.
When i started to install the gapps they closed because it says what i am running Android 8.0, but its a mistake so i think that reboot the phone without install the gapps. So the phone starts well, so i decide again to boot into recovery (TWRP) to install the missing gapps.
When the device reboot in fastboot and i chosee the recovery option, the surprise was that TWRP was reemplaced by the stock recovery, and when i tried to flash the TWRP.img my device wont appear in fastboot mode, stays finding device and Windows wont recognized my phone.
I think the rom still no have usb adb support, so i cant flash TWRP
My device its unlocked and i was running the rom (but another nightly) .. without issues for a week ago... until i flashed this one
Now i have Lineage OS without GAPPS, without USB mode... Like the update from OPW 27 or 28 idk remember.
Its possible to fix? or my phone its ****ed, or there is one form to installl the gapps from anoter form?
Thanks for read this i hope somebody can help me.
My device its a XT1900-4 in Android 9.0 without google apps, only have the essencial apps like phone dialer , sms, the very very essencials app. Like an phone from 2008 jhaha
i offer some pay.
Update:
I attach some information photos from the Rom that im running:
(System Running) fine thanks
https://ibb.co/bXC7ye
(ADB is switched on, but no appears nothing)
https://ibb.co/exGpBz
(I tried with everyone of the opcions
https://ibb.co/ekv5jK
and this is my currently fastboot:
AP Fastboot Flash Mode (Secure)
BL: MBM-3.0-uefi-641a15b-180224
Baseband: M660_7042.27.01.74R PAYTON_LATAM_CUST
Product/Variant: payton xt1900-4 32GB P4
CPU: SDM630 1.0 (6)
Console [NULL]: null
Tools Mode Config: DISABLED
POWER OK
flashing_unlocked
Software status: Official
Transfer Mode: USB Connected
At this point my windows so says to my device is Error in a request for the USB device descriptor.
i tried last_usb_google driver.
Motorola Device manager 2.5.4
Minimal adb fastboot 1.4.2
and nothing works fine.
In my recovery appears this:
Android Recovery
motorola/payton/payton
8.0.0/OPW27.57.25-6-10/12
user/release-keys
Use volume to...etc and then i used the (Apply update from adb)
says:
Supported API: 3
Stopping adbd. . .
Now send the package you want to apply to the device with "adb sideload <filename>"
Help me pls:crying:
I have a Nokia 7 plus which is also a A/B device. I have observed many times that the fastboot mode isn't detected by the pc. Sometimes when I have a bootloop during experimentation, I force reboot into bootloader mode but it's not recognised. I reboot into recovery and select "reboot to bootloader", and this time it's recognised. Maybe these issues are related to A/B system, I'm not sure.
I think you should have the Motorola device manager installed if you're working on Windows. It contains the necessary drivers. I can't remember if it contains adb and fastboot executable files, but if it does then try using them (launching command prompt from there).
Broadcasted from Zeta Reticuli
Gravemind2015 said:
I have a Nokia 7 plus which is also a A/B device. I have observed many times that the fastboot mode isn't detected by the pc. Sometimes when I have a bootloop during experimentation, I force reboot into bootloader mode but it's not recognised. I reboot into recovery and select "reboot to bootloader", and this time it's recognised. Maybe these issues are related to A/B system, I'm not sure.
I think you should have the Motorola device manager installed if you're working on Windows. It contains the necessary drivers. I can't remember if it contains adb and fastboot executable files, but if it does then try using them (launching command prompt from there).
Broadcasted from Zeta Reticuli
Click to expand...
Click to collapse
thanks for quicky reply, but i tried that and it doesnt work for me... :c
the motorola device manager its installed correctly, but i think the usb in the Android 9 it´s no working on running s.o and even in fastboot.
vmmiguel said:
thanks for quicky reply, but i tried that and it doesnt work for me... :c
the motorola device manager its installed correctly, but i think the usb in the Android 9 it´s no working on running s.o and even in fastboot.
Click to expand...
Click to collapse
My windows cmputer says that my device doesnt works properly, i read all night about this and i think when i some point i made wipe /system so i delete the twrp and the rom doesnt have usb adb i think so hahaha, i think now my x4 will stuck on only aosp 9.0 without g services :crying::crying::crying:
id start with a flash all of the latest stock firmware to clean it up. then start over
edufur said:
id start with a flash all of the latest stock firmware to clean it up. then start over
Click to expand...
Click to collapse
I tried but i have only stock recovey, and the usb adb it's not working, i think that i need to flash stock rom from stock recovery, but i dont know...
vmmiguel said:
I tried but i have only stock recovey, and the usb adb it's not working, i think that i need to flash stock rom from stock recovery, but i dont know...
Click to expand...
Click to collapse
You have to flash stock rom from fastboot. Try removing "fastboot erase userdata" from script flash-all.
Comby_sk said:
You have to flash stock rom from fastboot. Try removing "fastboot erase userdata" from script flash-all.
Click to expand...
Click to collapse
Hello Buddy, i tried that but doesnt work, recently i discover that my usb default mode is gray so i think i cant switch beetwen the usb option, and i tried ADB over network, in terminal emulator to run adbd service but it crash :c
@erfanoabdiadbi plz you cant help me, i really i was enjoying you excelent deveploment, but now in stuck in this without essencial apps like whatsapp, my smartphone works like only phone without been smart jajaja:crying::good:
Anyone?
vmmiguel said:
Anyone?
Click to expand...
Click to collapse
Read through this thread carefully...
https://forum.xda-developers.com/moto-x4/development/rom-lineage-16-0-developer-preview-t3849699
I have more or less the same problem.
I am stuck in LineageOS 15.1 and for some reason Windows does not recognize my phone (it does with other x4 phone from a friend).
I also don't have GApps installed and also don't have root access. Since I can't connect my phone, I can't root or flash some custom recovery.
I really need some help.
I will try to keep it short. I installed PE on my mi 8 se and it was working fine then a OTA update arrived, i clicked install and it turned off and stuck on TWRP splash screen. there is no navigation or buttons, it doesn't turn off till the battery runs out. after charging it up again it shows the twrp screen. i can go to fastboot mode by pressing power+vol- but
Code:
fastboot devices
doesn't show any devices connected to my pc. my pc also doesn't recognizes the phone and marks it as "USB unknown" and updating it with android drives shows an error stating that its not compatible.
Code:
adb devices
shows my phone when in twrp screen but that's about it.
as it stands:
-
Code:
fastboot devices
doesn't recognize devices, i think because USB debugging was off but now i have no way of boot into my phone to turn it on
-
Code:
adb devices
recognizes my phone but i don't know what to do with it
-i read somewhere that pixel experience "FBE encrypts the phone so twrp is unable to access past encryption" but i don't know what that means
-currently my phone is a brick with twrp logo, so please HELP.
THANKS in advance for help.
siyyee said:
I will try to keep it short. I installed PE on my mi 8 se and it was working fine then a OTA update arrived, i clicked install and it turned off and stuck on TWRP splash screen. there is no navigation or buttons, it doesn't turn off till the battery runs out. after charging it up again it shows the twrp screen. i can go to fastboot mode by pressing power+vol- but
Code:
fastboot devices
doesn't show any devices connected to my pc. my pc also doesn't recognizes the phone and marks it as "USB unknown" and updating it with android drives shows an error stating that its not compatible.
Code:
adb devices
shows my phone when in twrp screen but that's about it.
as it stands:
-
Code:
fastboot devices
doesn't recognize devices, i think because USB debugging was off but now i have no way of boot into my phone to turn it on
-
Code:
adb devices
recognizes my phone but i don't know what to do with it
-i read somewhere that pixel experience "FBE encrypts the phone so twrp is unable to access past encryption" but i don't know what that means
-currently my phone is a brick with twrp logo, so please HELP.
THANKS in advance for help.
Click to expand...
Click to collapse
NOTES (Read First):
- Twrp can´t decrypt data in android 12, so you need to install updates or magisk via adb sideload. If you remove pin lock in android you can install updates normally, because data can be decrypted.
- Do a clean install if your coming from PE11 or PE12 Alpha. Don´t update. And follow instructions from "Install".
- This firmware and vendor included in rom is specific to this rom, don´t try to use them in other roms.
- This twrp will probably only work with this vendor and firmware, don´t use in other roms.
Install:
1 - Flash rom (this is needed to install proper vendor and firmware)
1 - Flash Recovery via adb (Download: https://drive.google.com/file/d/1Iqa4-sBwThUAAvJsFwl6oP-D4EzRcCyq/view)
2 - Reboot recovery
3 - Factory Reset and Format Data (backup sdcard before format)
4 - reboot recovery
5 - Flash ROM via adb sideload (Advanced -> ADB sideload)
6 - reboot system
Update:
1 - Reboot recovery
2 - Advanced -> ADB sideload
3 - Reboot system
beenmoov said:
NOTES (Read First):
- Twrp can´t decrypt data in android 12, so you need to install updates or magisk via adb sideload. If you remove pin lock in android you can install updates normally, because data can be decrypted.
- Do a clean install if your coming from PE11 or PE12 Alpha. Don´t update. And follow instructions from "Install".
- This firmware and vendor included in rom is specific to this rom, don´t try to use them in other roms.
- This twrp will probably only work with this vendor and firmware, don´t use in other roms.
Install:
1 - Flash rom (this is needed to install proper vendor and firmware)
1 - Flash Recovery via adb (Download: https://drive.google.com/file/d/1Iqa4-sBwThUAAvJsFwl6oP-D4EzRcCyq/view)
2 - Reboot recovery
3 - Factory Reset and Format Data (backup sdcard before format)
4 - reboot recovery
5 - Flash ROM via adb sideload (Advanced -> ADB sideload)
6 - reboot system
Update:
1 - Reboot recovery
2 - Advanced -> ADB sideload
3 - Reboot system
Click to expand...
Click to collapse
thanks for the response,
but as i mentioned in my post, fastboot doesn't recognized my device, the attached image is the output for
Code:
fastboot devices
i have no way to reboot phone to the os, its just either TWRP splash screen or fastboot mode by pressing power+vol-
thanks, hoping for further solution.
siyyee said:
thanks for the response,
but as i mentioned in my post, fastboot doesn't recognized my device, the attached image is the output for
Code:
fastboot devices
i have no way to reboot phone to the os, its just either TWRP splash screen or fastboot mode by pressing power+vol-
thanks, hoping for further solution.
Click to expand...
Click to collapse
Have you tried to reflash to miui with mi flash tools?
maybe changing the cable or installing drivers because if it's boot to bootloader you can Always do Something.
siyyee said:
thanks for the response,
but as i mentioned in my post, fastboot doesn't recognized my device, the attached image is the output for
Code:
fastboot devices
i have no way to reboot phone to the os, its just either TWRP splash screen or fastboot mode by pressing power+vol-
thanks, hoping for further solution.
Click to expand...
Click to collapse
you should install fastboot driver first so the computer can access your phone in fastboot mode. after that you can easily use fastboot command to reinstall twrp image. follow this guide: https://beebom.com/fastboot-not-detecting-device-windows-10/
hey guys,
sorry for late reponse but i managed to fix the problem, turns out the cable i was using was faulty so i changed it with the original one and wallah it recognized my device.
then i flashed stock rom and then xiaomi eu rom, now working great.
thanks for all the help.