Magisk Root without custom Recovery and without losing Encryption - Xiaomi Mi 9 Guides, News, & Discussion

So, I unlocked my bootloader a couple of days ago, but when I got into the point of flashing TWRP, I realized that there is no custom recovery that supports device encryption.
For that reason I didn't root my phone but there is a way around that.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
1. Download the latest Magisk Manager from here and install it.
2. Download latest ROM from here and depending on your device.
3. Extract boot.img file from the ROM .zip file and copy it to phones internal storage.
4. Open Magisk Manager and go to settings. Select the Beta channel (stable did not work for me).
5. Go to home and select install magisk. Select patch boot image, and select the boot.img that we extracted earlier. Now a new file patched_boot.img will be created. Copy it to your PC.
6. Boot device into fastboot.
7. Execute fastboot flash boot /path/to/patched_boot.img .
8. Reboot device and you are rooted
All credits go to Magisk. I shared this, only because there are no such relevant information in this sub forum

But now we have 10.2.17 and no download link. Tomorrow I can unlock my bootloader. Would it also work, if I download and modify the boot.img from 10.2.15?
Sent from my [device_name] using XDA-Developers Legacy app

Many thanks, but I'm on 10.2.17. Could you kindly provide the patched boot img file?

You can download the whole ROM here:
http://bigota.d.miui.com/V10.2.17.0...AGlobal_V10.2.17.0.PFAEUXM_53263ccd41_9.0.zip
Sent from my MI 9 using Tapatalk

*delete*

radii said:
Many thanks, but I'm on 10.2.17. Could you kindly provide the patched boot img file?
Click to expand...
Click to collapse
Got it working.
I have the 10.2.17 prepatchedboot.img. XDA does not allow me to attach to this post. If anyone can suggest easy (ie without setting up account) method of upload can do so

Ok got it, will give it a try.

radii said:
Got it working.
I have the 10.2.17 prepatchedboot.img. XDA does not allow me to attach to this post. If anyone can suggest easy (ie without setting up account) method of upload can do so
Click to expand...
Click to collapse
i need it , can you upload to dropbox? thanks.

The boot.img is in the Link from Captus.

Sure send username and password

radii said:
Got it working.
I have the 10.2.17 prepatchedboot.img. XDA does not allow me to attach to this post. If anyone can suggest easy (ie without setting up account) method of upload can do so
Click to expand...
Click to collapse
I tried with the latest boot.img but no luck. It stuck in fastboot screen so I had to flash the original one! I will give it another try though!
Edit:
Success. I patched the image again and it worked, I do not know what was the problem the first time.

WOUAHOUU ! it work very fine ! I routed my Mi9 (global original stock rom) in 15 seconds without changing recovery and without putting TWRP .. the top !
I wonder why this tutorial is not in the first position of the root procedure.
With this procedure, are the updates always done by OTA or does it need a new way?

up ? because global rom just changed for 10.2.22 with a ota update. How can we do ?

Strange. My global rom is 10.2.9.0

So, this method gives full root acces? Like any other, more complicated, method? Any limitations?
Btw, what cpu governors does the default kernel support? Can they be changed with a Kernel Manager (Adiutor etc) after this root method?

So, full root : I think that yes.. all my apks that require root work perfectly. It 'seems that there is non limitation.
but, I answer my own question: As with a modified recovery, the OTA no longer work either when it's a fix. But OTA work perfectly when it'a a full update.
SO ! This is the link for Global ROM 10.2.22 : https://bigota.d.miui.com/V10.2.22....AGlobal_V10.2.22.0.PFAEUXM_745a374eee_9.0.zip
Tuto to do full update and root :
We launch the update ota normally.
the phone reboots and announces that the update can not be done in this version.
Phone reboots normaly. You restart the OTA update : Phone then launches automatically a FULL update version 10.2.22
On the PC, We download the global rom and extract the boot.img
Then we use magisk to modify boot.img as in post nbr 1 page 1 and use adb for flashing the modified boot.img
Rooted !

No luck with global rom is 10.2.9.0
tried patching multiple times using beta and stable.
roll back to boot.img original.

Hi guys,
just got my brand-new Mi 9 a few days ago and rooting it drives me nuts.
I have rooted many devices but here my problem:
After using TWRP and Magisk, the system fails to boot, always goes into TWRP.
Then I used the method described here, the system fails to boot and goes into MI-Recovery.
When I flash back the original boot.img, the device boots fine.
Can anyone please help?
Thanks
Robert
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

ChingghisKhan said:
Hi guys,
just got my brand-new Mi 9 a few days ago and rooting it drives me nuts.
I have rooted many devices but here my problem:
After using TWRP and Magisk, the system fails to boot, always goes into TWRP.
Then I used the method described here, the system fails to boot and goes into MI-Recovery.
When I flash back the original boot.img, the device boots fine.
Can anyone please help?
Thanks
Robert
Click to expand...
Click to collapse
Always flash ROM and fully boot into ROM first.
Then reboot after setup back in to TWRP and only then flash Magisk.
Flashing ROM + Magisk is fine with AOSP/Lineage etc. but MIUI ROMs always fail to boot if you install Magisk at the same time as an MIUI ROM

ChingghisKhan said:
Hi guys,
just got my brand-new Mi 9 a few days ago and rooting it drives me nuts.
I have rooted many devices but here my problem:
After using TWRP and Magisk, the system fails to boot, always goes into TWRP.
Then I used the method described here, the system fails to boot and goes into MI-Recovery.
When I flash back the original boot.img, the device boots fine.
Can anyone please help?
Thanks
Robert
Click to expand...
Click to collapse
Try to use the beta channel of magisk. It will probably do the trick!

Related

[Deodex][SM-A300] Deodex Thread for Samsung Galaxy A3

[GOTO : Deodex Thread | TWRP Thread]
This is deodex thread for our devices. Why you need to make deodex to your rom?
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Deodex
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What you can do with deodex:
Install Unofficial Xposed at Touchwiz
Install UI mods by ivan-68 (will make a thread later)
Free some /system space for you own mods
What you CAN'T do:
Fire a laser from you A3 camera
Make a flash that give amnesia to peoples(like in a MIB)
All deodexes must be flashed using custom recovery(you can get it at this thread)
All deodexes by ivan-68
I'm not the guy who developed this one, but if you have a questions you can ask in this thread
Developer at XDA, at 4PDA
Warning! First-afterflash-boot will be much longer then all next boots so be patient
---Download section here---​
Ok, first of all I learn you how to download from mail.ru
You just need to press this key:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[Deodex for SM-A300F]
Android 5.0.2
Download
[Deodex for SM-A300H]
Android 5.0.2
There are two versions of deodex:
Standart deodex - deodex of sm-a300h rom version, you can't install mods by ivan-68 on this version, there are some framework-res issues, but you still can install and success use xposed
Advanced version - deodex of sm-a300f rom adapted to H vesion, you can install mods and xposed on this version and be sure that all works
1. Standart deodex(you can't install mods at this one, only Xposed)
2. Advanced deodex(you will able to install mods)
[Deodex for SM-A300FU]
Android 5.0.2
Download
---Installation section here---​1. Reboot into recovery
1.1 MAKE A NANDROID BACKUP
2. Install zip
3. Reboot
4. Go make some tea(first boot will 5-8 minutes)
5. Done!
Thank you sir!!! For making mods for our A3 brothers.
I will try the deodoxed ROM for A300F and will report on how it goes.
Sorry, I have a question before flashing the zip. Do I have to do a data, cache, and dalvik cache wipe before flashing the deodexed ROM zip?
Do I have to do a data, cache, and dalvik cache wipe before flashing the deodexed ROM zip?
Click to expand...
Click to collapse
No
All that is needed is already written in the installer
@Intel777chanel @ivan-68
I flashed Deodexed_A300F_5.0.2.zip on my A300F running stockrom 5.0.2 using TWRP without problem but when phone boots up I, there are a lot of Google Play services Force Closing so rapidly I couldn't use my phone. Example: "Unfortunately, Google Play services has stopped.".
How can I fix this error???
How can I fix this error???
Click to expand...
Click to collapse
install it through after Deodex: Replace_Gapps.zip
ivan-68 said:
install it through after Deodex: Replace_Gapps.zip
Click to expand...
Click to collapse
Thank you, i will report back when i habe the time ?
Some People make nandroid backup of all 6 partition for 300-fu and put on this forum for me? I don't have PC and i don't make start. I'm make bootloop for flash this.
Hi there, I just flashed this deodex version from here but I'm stuck for a while now (a lot more than 8 minutes !) on the Samsung Galaxy A3 boot logo...
What should I do ? Try to get back to TWRP (if I still got it...) to restore my old original Samsung ROM ?
Thanks for your advices !
Edit : Well... this one was tricky. If someone is in the same case once : stuck on Samsung boot logo, trying to cut off power via Power+Home buttons not responding... I succeeded to enter download mode, then flashed again auto root by Chainfire then flash TWRP and ASAP enter recovery mode. Had to do it two or three time because it tried to enter in normal mode (and then bootloop). Then I restored my backup from TWRP.
I don't know why your deox didn't work...
You must first upgrade on 5.0.2 from odin.
If anyone is flashing the zips from post 1 then you definately need to be on lollipop already or update with odin. If you update with odin and lose imei/unknown baseband, you may need to flash twice. Modem fails to install on first flash. As always, run odin as administrator.
mooon3 said:
Hi there, I just flashed this deodex version from here but I'm stuck for a while now (a lot more than 8 minutes !) on the Samsung Galaxy A3 boot logo...
What should I do ? Try to get back to TWRP (if I still got it...) to restore my old original Samsung ROM ?
Thanks for your advices !
Edit : Well... this one was tricky. If someone is in the same case once : stuck on Samsung boot logo, trying to cut off power via Power+Home buttons not responding... I succeeded to enter download mode, then flashed again auto root by Chainfire then flash TWRP and ASAP enter recovery mode. Had to do it two or three time because it tried to enter in normal mode (and then bootloop). Then I restored my backup from TWRP.
I don't know why your deox didn't work...
Click to expand...
Click to collapse
I had a similar adversity. At first I didn't know what to do as well when my phone's stuck in Samsung Galaxy A3 bootlogo(not to be confused with boot animation). Then I found out it was because I did a full wipe before flashing the Deodexed.zip. So in short, the solution to your problem is simply not do a wipe before flashing the Deodexed.zip. You must straight flash the Deodexed.zip without wiping anything(scripts are already written in the zip itself). That worked for me as the phone finally gets through the bootlogo. Hope this can solve your problem.
OMG! Guys, can you see "wipe system" in installation instruction? No? I'm too. It's just because no MUSTN'T do any wipes.
So, restore you nandroid backup and flash zip without wiping.
is there a deodex rom for sm-a500fu?
mjs87 said:
is there a deodex rom for sm-a500fu?
Click to expand...
Click to collapse
Actually is a A3 thread.
Sent from my SM-A300F using Tapatalk
It does not work with A3 sm-a300h lollipop
http://forum.xda-developers.com/galaxy-alpha/help/galaxy-a3-a5-a7-themes-apk-theme-store-t3131852
Medox Rsb said:
It does not work with A3 sm-a300h lollipop
http://forum.xda-developers.com/galaxy-alpha/help/galaxy-a3-a5-a7-themes-apk-theme-store-t3131852
Click to expand...
Click to collapse
Hey any possible to install lollipop on model sm a300m ? please
What about a300-fu
droidqwerty said:
What about a300-fu
Click to expand...
Click to collapse
First post, using the A3-FU version myself
Can't people read the main post? FU variant is included
ASHLEY117 said:
If anyone is flashing the zips from post 1 then you definately need to be on lollipop already or update with odin. If you update with odin and lose imei/unknown baseband, you may need to flash twice. Modem fails to install on first flash. As always, run odin as administrator.
Click to expand...
Click to collapse
Odin isn't working since I got windows 10. When I click AP or PDA, it says "not responding". I tried running as administrator, but no luck.

[GUIDE] Guide to Installing Official Cyanogenmod 13 on your Mi5

Disclaimer
I haven't made or contributed to any of the tools/ROMs/Kernels here. All the respective authors have been linked in the credits section at the bottom of the post. Also, the version of Cyanogenmod used in this thread is a nightly build and can be unstable. User bgcngm has done some really excellent work to make this ROM near perfect. I won't make unnecessary guides. If I find a guide anywhere that's good enough, I'll simply post a link to it rather than make another one. I've tried to make this guide as noob friendly as I can. If you have any questions, just post them and I'll be happy to answer them.
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
Each step of the guide REQUIRES you to have completed the step prior to that one for it to work. For example, you can't go installing TWRP on your device without unlocking the bootloader first.
Prerequisites:
Xiaomi Mi5
TWRP for Mi5 by Cofface
Latest Cyanogenmod 13 Nightly Build
You can follow this guide to see how to install ADB on your system.
OpenGApps. I suggest you download the micro package.
Let's get started:
Unlocking the Bootloader:
The first thing any Mi5 owner NEEDS to do is to unlock their bootloader.Here is a great guide for unlocking the bootloader of the Mi5 (or any Xiaomi device for that matter) by TheUltrametricSpace. It's much better than anything I can make. So before you do anything go here and unlock the bootloader.
Installing TWRP:
When I use the Official TWRP from here, my touchscreen doesn't work. I haven't a found a solution yet. If any of you know how to fix this then please post it down below. If it works out I'll put it up in this guide. For now, we'll use TWRP by Cofface for Mi5. So far this is the only TWRP that seems to work for me.
You're most likely coming from MIUI 8 and thus, running Marshmallow. I'm not sure but there is some sort of encryption that Google has put in so you cannot use TWRP to flash your .zips from Internal Storage. So before you go any further, backup your files/apps or anything you might need.
Go to the platform-tools folder and extract the .rar file that you downloaded earlier containing TWRP there.
Rename the .img file extarcted from the TWRP .rar to twrp.img
Run the CMD shortcut you pasted in the ADB folder from the guide above as an administrator.
Connect you Mi5 to your computer. Hold both the Power and Volume Down button to boot into the bootloader. You should see this image.
[At this point, you MUST have fastboot.exe and twrp.img inside the platform-tools folder.
Now go back to the CMD window you opened. Type in the follwoing:
Code:
adb devices
Press enter. You should see your device in the window after typing this.
Code:
fastboot flash recovery twrp.img
Press enter. On the command window you should see a few lines popup and at the end it will show time taken to complete operation. So far so good.
Code:
adb reboot recovery
Press enter. You should now see the TWRP flash screen.​
If TWRP is in Chinese, worry not.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Tap on the second box to select language. Scroll down and select English.​
Swipe to allow modifications.
You should be in TWRP now.
DO NOT BOOT OUT OF TWRP RIGHT NOW.
Installing Cyanogenmod 13:
Of all the ROMs that I have used, I find that CM13 is far better. It's mostly personal preference. If you want to install any other ROM, the process is more or less exactly the same. Follow the instructions below:
Tap on Wipe.
Tap on Advanced Wipe.
Select everything except USB-OTG.
Swipe to Wipe.
Go back to the main TWRP screen.
Tap on Mount.
Tap on Enable MTP.
Connect your phone to your computer via USB.
Copy cm-13.0-20161022-NIGHTLY-gemini.zip and open_gapps-arm64-6.0-micro-20161025.zip from your computer to the Internal Storage folder inside Mi5 in My Computer.
Come back to TWRP.
Tap on Install.
Scroll down and find the cm-13.0-20161022-NIGHTLY-gemini.zip file and tap on it. Installation will start and will take about a minute and a half.
Now come back and flash the open_gapps-arm64-6.0-micro-20161025.zip file. This should be much faster.
Now go back to the Wipe section and select only the Dalvik & cache.
Now press Reboot System.
And that's it. The first boot will take quite some time. You're running Cyanogenmod 13 now!
Optional:
You can also install Falcon Kernel by Harrynowl to get a few more extra features. Install it like you would Cyanogenmod by flashing the .zip.
Credits:
Cyanogenmod 13
bgcngm
Mi5 Developers
Cyanogenmod Developers
TWRP by Cofface
User TheUltrametricSpace for his excellent Bootloader Unlocking Guide.
User iamareebjamal for the awesome ADB Guide.
User Harrynowl for the Falcon Kernel.
you forgot --> Wipe the Dalvik & cache
after installing OpenGApps,...
chiragkrishna said:
you forgot --> Wipe the Dalvik & cache
after installing OpenGApps,...
Click to expand...
Click to collapse
Whoops. My bad. Fixed it. Thanks!
Cant copy zip files from PC in TWRP
So I've wiped the data except USB-OTG but now the zip files for rom and gapps wont copy from my pc. The progress bar is not showing any movement.
]
vgdoc said:
So I've wiped the data except USB-OTG but now the zip files for rom and gapps wont copy from my pc. The progress bar is not showing any movement.
Click to expand...
Click to collapse
Reboot again to recovery!!
chiragkrishna said:
]
Reboot again to recovery!!
Click to expand...
Click to collapse
Yeah managed to push the zip files through adb commands. Thanks anyway.
How to turn back to miui8?
giardux91 said:
How to turn back to miui8?
Click to expand...
Click to collapse
Get the fastboot files from Xiaomi then flash them using MiFlash. However, EVERYTHING will be reverted to as if it was new. Even any custom recoveries or Kernels.
Will flashing the MIUI8 fastboot ROM (Global Dev) relock the bootloader?
voldy001 said:
Will flashing the MIUI8 fastboot ROM (Global Dev) relock the bootloader?
Click to expand...
Click to collapse
No it won't :')
Can you please continue to make a guide on how to install NEW NIGHTLY rom?
What should be flashed for each nightly update? And the proper order? The Rom > GApps > customization > Custom Kernel ???
I am confusing.
nguyendatan said:
Can you please continue to make a guide on how to install NEW NIGHTLY rom?
What should be flashed for each nightly update? And the proper order? The Rom > GApps > customization > Custom Kernel ???
I am confusing.
Click to expand...
Click to collapse
This is the Official Cyogenmod ROM. So to upate, all you have to do is to go to Settings > About > Cyanogenmod Updates and download the update. After it has finished, you'll see a small button which you can press to install it. The Phone will then handle the flashing!
Aslo, The Rom > GApps > customization > Custom Kernel should be good!

[TEST][TWRP]Unofficial DOOGEE MIX TWRP ^

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DISCLAIMER:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
ABOUT TWRP:
Hallo!,Everyone
*ROOT USING WILL FULLY WORK USING MAGISK*
*Thx To mans0amador IN needrom see cerdits*
*THIS TWRP IS FOR TESTING SO PLEASE REPORT BUGS*
*After more editing in the STOCK ROM
*I found it forced to install recovery on any reboot and not accept any modding for system and the root WILL* WORK After i remove this options
*So I waitting for doogee to realase a stabel rom with no bugs and MOD it , Please wait for it :^) ​INFORMATION:
1- Based On Needrom TWRP by @Iceman For maizu m3x Version 3.0.3
2- PORTED BY ME @Mr13Dx , @seg2015 " THE SAME MAN "
3- I do
Code:
1- remplaced the kernel with rooted kernel
2- remplaced file_contexts and file_contexts.bin " (Thanks to [email protected] for this amazing tool.)
3- remplaced "recovery.img-board"
4- edited recovey.fstab " some mount's points.
5- adds som lines to default.prop to get good density and hwrotation is 180 (Thanks to DOOGEE MIX THERED IN TELEGRAM )
BUGS:
1 The resolution is 1080x1920 ( use twrp materailised them)
If you found twrp for 720x1280 tell me please;
2 not tested yet but can works
Changelogs:
* Stock Theme version
Code:
*/
20170913 Return to 3.0.3 Version ( many bugs fixed)
20170731 - Filename: recovery-20170731-2533.img
- Change resolution to 720x1280 , thanks to [user=5620724]@Echaeos[/user] for test
*/ 20170729 - Filename: recovery-20170729-1913.img
- initial release
DOWNLOAD:
* TWRP WITH ORIGINAL THEME
Link
]
CREDITS:
@me for the port
Kernel root cerdits
Credits: @eg843 (xda) for the idea
@Magisk
@needrom
@getdroidtips(.)com for unlock bootloader method
@Echaeos (xda) for providing 4/64 patched kernel
@doogeeMIXTHEREDINTELEGRAM to the hwrotation is 180
@jemmini the twrp base For Mt6757
@needrom
@temwin
@needrom
@Echaeos for test with me
@you,
Nice, will try it this evening. Did you manage to install supersu or magisk?
pheemc said:
Nice, will try it this evening. Did you manage to install supersu or magisk?
Click to expand...
Click to collapse
NOT Yeet
i wait someone tell me the twrp has 720x1280 ui in ramdisk
you cant test it by yourself
guys, thanks for your work. I've just tested the new twrp but I still have a reversed screen, blocked with request of decryption and any touch on the screen doesn't work. I have unlocked bootloader, I forgot a passage maybe? Thanks
Same here... Maybe in .twrs file wie habe to add tw_rotation=1?!
Also unable to install supersu vor magisk...
Echaeos said:
guys, thanks for your work. I've just tested the new twrp but I still have a reversed screen, blocked with request of decryption and any touch on the screen doesn't work. I have unlocked bootloader, I forgot a passage maybe? Thanks
Click to expand...
Click to collapse
dear @Echaeos
thenks for your test , please tell me the twrp you downloaded
and please if you now any fixes bugs for twrp and twrp has 720x1280 twres file tell me
Mr13Dx said:
dear @Echaeos
thenks for your test , please tell me the twrp you downloaded
and please if you now any fixes bugs for twrp and twrp has 720x1280 twres file tell me
Click to expand...
Click to collapse
"recovery-20170729-1913.img" this image, for me it's not a big deal the rotation of twrp but is unuseable, the touch screen doesn't work, the volume or power either, I can't do anything. Now, after flashing with fastboot command "fastboot flash recovery x.img" I noticed that the recovery stay there for awhile, then return to stock recovery
Echaeos said:
"recovery-20170729-1913.img" this image, for me it's not a big deal the rotation of twrp but is unuseable, the touch screen doesn't work, the volume or power either, I can't do anything. Now, after flashing with fastboot command "fastboot flash recovery x.img" I noticed that the recovery stay there for awhile, then return to stock recovery
Click to expand...
Click to collapse
I think it is an port bug
but you can test the themed ver and it is has 720x1280 and 1 st img has 1080x1920 screen so it is unuseable
and the stock recovery retenus is a filename recovery-from-boot.p he flash stock recovery
so after the twrp work you can root and delete it using an exploer
Mr13Dx said:
I think it is an port bug
but you can test the themed ver and it is has 720x1280 and 1 st img has 1080x1920 screen so it is unuseable
and the stock recovery retenus is a filename recovery-from-boot.p he flash stock recovery
so after the twrp work you can root and delete it using an exploer
Click to expand...
Click to collapse
nothing to do guys, even with the mod version the screen is even worst with only a first portion of screen (I think because It see it as Full HD) and like always no touch response. I remember you that I'm trying with fastboot and not with SP Tools, speak that, don't give up we can do it :good:
guys nothing new on the way?
Anyone tryed to install magisk 13.5 beta with the TWRP given to root the device?
Hello friends ,
For me the problel its the screen because réal its a HD screen not qhd,full HD .... And its Samsung amoled , its the problèmes sur because you can install twrp but screen many bug after install if you need help i am here and very motivied
Thanks for your reply
Regards
pikachu27 said:
Hello friends ,
For me the problel its the screen because réal its a HD screen not qhd,full HD .... And its Samsung amoled , its the problèmes sur because you can install twrp but screen many bug after install if you need help i am here and very motivied
Thanks for your reply
Regards
Click to expand...
Click to collapse
Thanks! For your testing
Please report buges and if you now any things for fixes, twrps 3.1.1 has 720x1280 , a devices to use it as base tell me
you will be a rock if you help me!!
what you see
a black secreen or what!
Thanks!
Good news
Mr13Dx said:
Thanks! For your testing
Please report buges and if you now any things for fixes, twrps 3.1.1 has 720x1280 , a devices to use it as base tell me
you will be a rock if you help me!!
what you see
a black secreen or what!
Thanks!
Click to expand...
Click to collapse
Root is available
You can use Magik for this
Tutorial on page 19 xda #root doogee mix#
Or on needrom download...
Regards
PS: 4gb and 6gb OK
Yes using rooted kernal
Echaeos said:
"recovery-20170729-1913.img" this image, for me it's not a big deal the rotation of twrp but is unuseable, the touch screen doesn't work, the volume or power either, I can't do anything. Now, after flashing with fastboot command "fastboot flash recovery x.img" I noticed that the recovery stay there for awhile, then return to stock recovery
Click to expand...
Click to collapse
hi
this is my first doogee and i ran into a little problem.
i tested that recovery.img. so i unlocked my bootloader and flashed that recovery with fastboot.
now if i power on the phone it says untrusted ( thats normal i know) but it dont boot up.
it goes into the recovery and because of no touch etc i cant to anything.
i even cant go into the bootloader where i can choose fastboot option. (vol+ and power dotn work anymore)
i have tried flashtools but there i get a brom cmd send da error.
anyone knows a soultion?
p.s: you said you noticed that the phone goes into stock recovery again after some time. how ?
edit:
nevermind. fixed it with flashtools
i edited some things in flashtool settings.
1.For download agent select DA_PL.BIN ( all in one cant work in this problem)
2.menu Options -> connection - > choose usb full speed with battery
Guys.
Already rooted and i will Cook my clean eragon Rom in the next days.
4gb version
Gesendet von meinem MIX mit Tapatalk
:good:
skeleton1911 said:
Guys.
Already rooted and i will Cook my clean eragon Rom in the next days.
4gb version
Gesendet von meinem MIX mit Tapatalk
Click to expand...
Click to collapse
Skeleton you're make it to run twrp? I always have problem, it boot but I can't basically do anything
------------------------------------------------
Tried the flashing with fastboot, the twrp doesn't boot at all. Another thing guys, i'm not a linux programmer but if I unzip the recovery image I see that the permissions for almost thing aren't 0777 (which means that the recovery take permission to WRITE , to read and EXECUTE) Tell me if I'm wrong.
Echaeos said:
Skeleton you're make it to run twrp? I always have problem, it boot but I can't basically do anything
Click to expand...
Click to collapse
I ran into a problem .
What happend:
I finished to build my rom. Used flashtools to flash it. All went good . But then at 80% my pc shuts down.
I thought W*F ,
Now the phone is dead. Even boot to bootloader dont work. I will try to fix it , hope I can manage that.
(P.s using flashtools again don't work . I get a hash mismatch error. I think the preloader or bootloader is damaged.. we will see.
To your question.
No custom recovery. The first version of my rom will be without root. Use magisk with patched boot.img to get root . But without r/w permissions, because of the stock recovery
Gesendet von meinem P9000 mit Tapatalk

[RECOVERY][UNOFFICAL] TWRP 3.3.1-0 [8.1][SM-T595]

Closed Per OP Request
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/* Disclaimer
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you blame me in any way for what happens to your device, I will laugh at you.
* BOOM! goes the dynamite
*/
Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.
Downloads:
TWRP 3.3.x
Please Install Via Odin!
Disabling Force Encryption(Highly recommended)
This process involves wiping your data
- flash twrp on your current rom
- Click Wipe and then click format data(Wipes your /sdcard as well)
- Go to download mode and flash stock
- Make sure to to not let it boot and reboot to download mode again(Power + Vol Up + Vol Down + USB cable)
- Flash TWRP again and boot to recovery(Power + Vol Up + USB Cable)
- Flash RootFix (Optional, for magisk) - https://drive.google.com/file/d/19C9byrqlw_TGo-Nfm4Z-WcT6yB6sM2oP
- Flash DM-Verity and Force Encryption Disabler - https://zackptg5.com/android.php#disverfe
- Boot to stock
Flash Magisk if you want
PS: Only tested on T595XXU3ASC1
Bugs:
Encryption
MTP
Must Click "Disable MTP" to make ADB work
Brightness cannot be changed
you tell me
Device Sources:
Device Tree
Kernel Tree
XDA:DevDB Information
TWRP SM-T595, Tool/Utility for the Samsung Galaxy Tab A series
Contributors
rupanshji
Source Code: https://github.com/minimal-manifest-twrp
Version Information
Status: Alpha
Created 2019-08-06
Last Updated 2019-08-08
Reserved
Changelog
07-Aug-19
Code:
Fix Mouse Cursor Bug
Fix Flashing of files
Remove useless stuff
06-Aug-19
Code:
Initial Build
I will be working on building lineage very soon as well. However I don't have enough data to download 4-5 builds everyday.
All those willing to test or just discussing the development in general can join my telegram group - https://t.me/smt595
INTERESTING!!
At the moment Odin freezes while I try to load the recovery image. (Odin 3.13, ROM T595XXU3BSF3)
Supercoach1970 said:
INTERESTING!!
At the moment Odin freezes while I try to load the recovery image. (Odin 3.13, ROM T595XXU3BSF3)
Click to expand...
Click to collapse
oof my bad i uploaded the whole folder instead of a file
EDIT: Link fixed!
Great work Rupanshji!! It works on my SM-T595. THANKS!!!
Not so quick, it does not work on mine. When I flash twrp in odin it tells me that it is unverified package on tablet and odin says failed. Anyway, could anyone share a patched bootloader? I have the latest rom ...... June.
vq8acsxht said:
Not so quick, it does not work on mine. When I flash twrp in odin it tells me that it is unverified package on tablet and odin says failed. Anyway, could anyone share a patched bootloader? I have the latest rom ...... June.
Click to expand...
Click to collapse
Unlock your bootloader m8
rupanshji said:
Unlock your bootloader m8
Click to expand...
Click to collapse
No the bootloader was unlocked. I finally was able to flash twrp. You missed a step though:
0) Reflash all the OEM First before flashing TWRP
Just a heads up to anyone else....
If you get this message in red text:
"Only official released binaries are allowed to be flashed"
or this message in a blue screen of death:
"Security Error: This device has been flashed with unauthorized software & is locked. Call your mobile operator for additional support. Please note that repair/return for this issue may have additional cost."
Congradulations! You just tripped SAMSUNG'S SECURITY APE! You just won..... more flashing.... :silly:
Just reflash "ALL OF THE STOCK FIRMWARE." The BL + AP + CP + CSC to fix it and put the ape back into the cage.
Here is the command to push a file to the SD card with ADB:
adb push Disable_DM-Verity.zip /sdcard/Disable_DM-Verity.zip
Thanks rupanshji !!!! Hope you get encryption working soon and LOS.
If you could also make it compatible with the SM-T597, that would be nice
Hi rupanshji. Any news on lineage? I'm really impressed with the specs of the tablet and confused why there is almost zero efforts to get any custom roms ready for that device.
Just to let everyone know. LOS is still being worked on. His laptop is in repair so he has to get it back. If you have the 595 tablet PLEASE JOIN THE TELEGRAM GROUP so you know what is going on.
rupanshji
All those willing to test or just discussing the development in general can join my telegram group - https://t.me/smt595
Click to expand...
Click to collapse
dezzo77 said:
If you could also make it compatible with the SM-T597, that would be nice
Click to expand...
Click to collapse
I can confirm that it is working on SM-T597P with firmware T597PVPS2ASG3. I also went ahead and pulled the stock recovery and boot, as well as modified the RootFix for any device. You can find those files here Link. Thanks Dev for bringing this to light . I also didn't follow the install directions exactly so ill list the steps i took.
1. Flash TWRP with modded odin and reboot to download.
2. Flash Stock recovery and as soon as it reboots enter stock recovery.
3. Wipe Data/Factory Reset.
4. Reboot to Bootloader from Stock Recovery.
5. Flash TWRP again and after reboot enter TWRP.
6. Flash RootFix.
7. Flash DM-Verity and Force Encryption Disabler.
8. Reboot to system.
If anyone would like me to pull the stock recovery of their firmware for them i'm more than happy to.
Compatability with the sm-t590 would be greatly appreciated
Build number
T590XXU3BSG3
Added T590XXU3BSG3 stock boot and stock recovery Here
koobie777 said:
I can confirm that it is working on SM-T597P with firmware T597PVPS2ASG3. I also went ahead and pulled the stock recovery and boot, as well as modified the RootFix for any device. You can find those files here . Thanks Dev for bringing this to light . I also didn't follow the install directions exactly so ill list the steps i took.
If anyone would like me to pull the stock recovery of their firmware for them i'm more than happy to.
Click to expand...
Click to collapse
SM-T597P firmware t597pvpu2bsh7 Android 9 will work your loader?
alexpuz said:
SM-T597P firmware t597pvpu2bsh7 Android 9 will work your loader?
Click to expand...
Click to collapse
yeah for sure
Sent from my SM-G955U using Tapatalk
Sm-t595nzkadbt
Model: SM-T595NZKADBT
Basisbandversion: T595XXU4BSG3
Still no luck :/
With modded Odin from kobi and TWRP from the 1. Site.
Error: Only official...
dm.homelinux.com said:
Model: SM-T595NZKADBT
Basisbandversion: T595XXU4BSG3
Still no luck :/
With modded Odin from kobi and TWRP from the 1. Site.
Error: Only official...
Click to expand...
Click to collapse
try this workaround what i found for our tablet in KG State Prenormal
https://forum.xda-developers.com/showpost.php?p=80856871&postcount=772
koobie777 said:
I can confirm that it is working on SM-T597P with firmware T597PVPS2ASG3. I also went ahead and pulled the stock recovery and boot, as well as modified the RootFix for any device. You can find those files here Link. Thanks Dev for bringing this to light . I also didn't follow the install directions exactly so ill list the steps i took.
1. Flash TWRP with modded odin and reboot to download.
2. Flash Stock recovery and as soon as it reboots enter stock recovery.
3. Wipe Data/Factory Reset.
4. Reboot to Bootloader from Stock Recovery.
5. Flash TWRP again and after reboot enter TWRP.
6. Flash RootFix.
7. Flash DM-Verity and Force Encryption Disabler.
8. Reboot to system.
If anyone would like me to pull the stock recovery of their firmware for them i'm more than happy to.
Click to expand...
Click to collapse
can you make please the fix root for T595XXU4BSG3 please .. cause this one gives bootloop.
thanks in advance

[RECOVERY]TWRP 3.3.1.0 for Galaxy A20

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, or your getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this Recovery
* before flashing it! YOU are choosing to make these modifications
* If you point the finger at me for messing your device. i will laugh at you
Special Notes:*
1. DON'T FORGET TO ENABLE "OEM UNLOCK" (located in Developers options).
2. KNOX will be tripped once you flashed custom binaries to your phone.*
(Your warranty may be voided. However this may not affect you if your country forces Samsung to provide hardware warranty regardless of software status.)
3. Samsung Firmware OTA (aka System Updates) will no longer work once you flashed custom binaries.
(You can flash custom ROMs if you want to keep the OS up-to-date.)
4. All apps that use KNOX like Samsung pay, Secure Folder and maybe more will no more work.
If you like my work please hit the "Thanks" button and feel free to donate to me via my Paypal
Guide
1.Make sure u have rooted device.
If Not follow this (Root For U3,S3,S4)
2. Download the custom recovery[TWRP]
3. On the PC rename the unpatched recovery as recovery.img*
4. Use 7zip to make it into recovery.tar*
(right click and choose add to archive)
5. Use 7zip to add your patched boot.img to recovery.tar
(right click and choose add to archive and choose recovery.tar)
6. Use 7zip to add vbmeta.img to recovery.tar
(right click and choose add to archive and choose recovery.tar)
7. Install recovery.tar to ap slot using Odin.
To ensure that data is not encrypted*so as to enable data to be backed up follow these steps
8. Boot the A20 into TWRP and mount everything that you can.
9. Format Data (not just wipe)
10. Flash*Disable_Dm-Verity.
11. Reboot into Recovery. It will reboot into download mode.
12. On the pc repeat step 7.
13. Reboot phone and re-enter all data.
14. Reboot into Recovery.
15. Flash Magisk
16. Backup*boot, data & system
17. You can now restore boot, data & system.
If u are getting vbmeta.img fotter error when booting to twrp Then flash this vbmeta.tar via odin ap solt.
Downloads
Twrp [U3][U4][S3][S4]
Build with A205FXXS4ASJ4 Source.
Thanks:
TWRP team
@topjohnwu for root
@ianmacd for TWRP flash guide
@afaneh92 for device tree
- @fahadali2315 Good friend, Always support me
Contributors
@Agrim720
Version Information
Status:*Stable
Current Stable Version:*1.0
Stable Release Date:*2019-12-02
Created*2019-12-02
Last Updated*2019-12-17
Quick Root and TWRP.
A quick method is found here.https://forum.xda-developers.com/galaxy-a20/how-to/guide-quick-root-twrp-galaxy-a20-t4069423
Make sure you backup boot, data & system (not system image) before you go on to install GSIs
This TWRP was originally designed for Android 9 but works perfectly with Android 10.
It also comes with MTP built-in.
physwizz said:
Your title says A10. Is that a typo?
This is for the A20 yes?
Click to expand...
Click to collapse
Yes.
Wrong typed.
Fully updated thread with easy guide.
Agrim720 said:
Yes.
Wrong typed.
Click to expand...
Click to collapse
Fixed.
Magic???
Looking forward to seeing more A20 people with TWRP who can backup and restore. ?
physwizz said:
Fixed.
Magic???
Click to expand...
Click to collapse
What Magic?
i didt understand.
Agrim720 said:
What Magic?
i didt understand.
Click to expand...
Click to collapse
The title has been changed from A10 to A20.
What about U4?
TBM 13 said:
What about U4?
Click to expand...
Click to collapse
I'll wait for U8
I can see you mention me then you changed your mind.
afaneh92 said:
I can see you mention me then you changed your mind.
Click to expand...
Click to collapse
Yeah didt put device tree link thats why i remove.
i tryped soon in sources ill put link today and mention you Then ppl will know why thanks goes to u.
TBM 13 said:
What about U4?
Click to expand...
Click to collapse
i dont think it is even released.
Please help. I can't backup data with this recovery
thatha said:
Please help. I can't backup data with this recovery
Click to expand...
Click to collapse
Format data and flash dm-virety.
Agrim720 said:
i dont think it is even released.
Click to expand...
Click to collapse
Take a look to the attached image.
TBM 13 said:
Take a look to the attached image.
Click to expand...
Click to collapse
Twrp will work.
Bcz its built from December security patch sw source.
U can try and report for U4.
Agrim720 said:
Twrp will work.
Bcz its built from December security patch sw source.
U can try and report for U4.
Click to expand...
Click to collapse
Im on U4 and it's confirmed that TWRP is working and installing custom kernel as well.
Deluriane said:
Im on U4 and it's confirmed that TWRP is working and installing custom kernel as well.
Click to expand...
Click to collapse
can you backup and restore
physwizz said:
can you backup and restore
Click to expand...
Click to collapse
Haven't tried yet, but I will in a bit. Kept on getting boot loop when installing custom kernel.
Note: Tried already! Backup and restore works.
Deluriane said:
Haven't tried yet, but I will in a bit. Kept on getting boot loop when installing custom kernel.
Note: Tried already! Backup and restore also working on my end.
Click to expand...
Click to collapse
Maybe the custom kernel that you are installing is more older and doesn't works with U4
TBM 13 said:
Maybe the custom kernel that you are installing is more older and doesn't works with U4
Click to expand...
Click to collapse
Yeah, probably. Tried it also when I was on OCT and it didn't boot also. Have to wait for a newer version.

Categories

Resources