[ROOTED][STOCK][KERNEL] [SGP771 - SGP712] 32.4.A.0.160 DRMFIX, BusyBox - Xperia Z4 Tablet Android Development

Here's Repack of the stock kernel
with dm-verity
SONY RIC off
SperSU EnableD
Working on Z4 Tablet (SGP771 - SGP712) 7.1.1 FW 32.4.A.0.160
DOWNLOAD:
SECOND POST
HOW TO INSTALL :
1. Extract zip file And Flash in Fastboot
2. Install TWRP 3.1.1.0 From Here
3. Then Flash SuperSU.zip From Here
4. Done You Get ROOT

Download section
Changelog :
SGP712 aded
dm-verity is Disabled
Sony RIC is Disabled
SR1-SuperSU-v2.82-SYSTEMMODE.zip Installed
busybox Installed

@IlariJ Now Done

Nimadroid said:
@IlariJ
Click to expand...
Click to collapse
THANKS!! :victory:

May i ask, ... would it be possible for you to make a kernel for the SGP712 - Wifi only version too?

Nimadroid said:
@IlariJ Now Done
Click to expand...
Click to collapse
The device boots fine (no longer infinite bootloop), but once it has powered up, the touchscreen doesn't work.
I have rebooted several times and no help.
In TWRP even the touch works.
Can You fix this? @Nimadroid

IlariJ said:
The device boots fine (no longer infinite bootloop), but once it has powered up, the touchscreen doesn't work.
I have rebooted several times and no help.
In TWRP even the touch works.
Can You fix this? @Nimadroid
Click to expand...
Click to collapse
Flash Stock ftf
Then Flash kernel
If don't change I make another one for you

Mr. Schnabel said:
May i ask, ... would it be possible for you to make a kernel for the SGP712 - Wifi only version too?
Click to expand...
Click to collapse
Provide me the kernel.sin from lastest FTF of your device
And i update this poet for you with your device kernel

@Nimadroid -> Send ya a PM

Nimadroid said:
Flash Stock ftf
Then Flash kernel
If don't change I make another one for you
Click to expand...
Click to collapse
Didn't help.:crying:

@ Mr. Schnabel : Goog idea
@ Nimadroid : Thanks in advance for the SGP772 version

ilarij said:
didn't help.:crying:
Click to expand...
Click to collapse
steevou said:
@ mr. Schnabel : Goog idea
@ nimadroid : Thanks in advance for the sgp772 version
Click to expand...
Click to collapse
post updated new device aded

Nimadroid said:
post updated new device aded
Click to expand...
Click to collapse
Kernel works, thanks
---------- Post added at 07:07 PM ---------- Previous post was at 07:02 PM ----------
SGP712 should use this recovery
https://www.androidfilehost.com/?fid=673368273298956222

Nimadroid said:
post updated new device aded
Click to expand...
Click to collapse
Works, thanks!! :victory:

Upgrade from 7.0
Hi,
quick question:
I am on 7.0 with root and DRM fix comming from here: "[Guide] Nougat with DRM fix, root and TWRP* (SGP771)".
Can I simply flash kernel and TWRP as you described on top of these or do I have to restart with any TFT's on 7.11?
Thanks a lot and best regards

Hi guys, i need your help!
Flashed new tft .160 via Flashtool - check
Flash boot via ADB - check
Flash Twrp via ADB - check
Reboot into recovery - nope nope nope ...
No matter what or how i flash i simply cannot boot into recovery
Tried older Twrp versions, in ADB shell everything is ok, no error, .....
simply don´t know what to do anymore hmmmmm ....

Mr. Schnabel said:
Hi guys, i need your help!
Flashed new tft .160 via Flashtool - check
Flash boot via ADB - check
Flash Twrp via ADB - check
Reboot into recovery - nope nope nope ...
No matter what or how i flash i simply cannot boot into recovery
Tried older Twrp versions, in ADB shell everything is ok, no error, .....
simply don´t know what to do anymore hmmmmm ....
Click to expand...
Click to collapse
If you're using SGP712 you need to flash the proper recovery for that device, the one in OP is for SGP771
This one is the correct one (also linked 3 posts above): https://www.androidfilehost.com/?fid=673368273298956222

Well .. actually OP and your´s in 3rd post and here are all 3 the same
Like said tried these here, from androPlus thread, etc etc ...
Flash via fastboot is working but cannot enter recovery after flashing
Tried to access via Power button, volume button, adb command, ... i dont even have a led signal at power on

Mr. Schnabel said:
Well .. actually OP and your´s in 3rd post and here are all 3 the same
Like said tried these here, from androPlus thread, etc etc ...
Flash via fastboot is working but cannot enter recovery after flashing
Tried to access via Power button, volume button, adb command, ... i dont even have a led signal at power on
Click to expand...
Click to collapse
oh, didn't notice, although I'm pretty sure the one in OP was different
It's booting on my device, but the first time I tried it didn't. I think it booted when I accidentally flashed it on the boot partition instead of the recovery one maybe you can try that.
but before, try hot booting it with:
Code:
fastboot boot ~/Downloads/TWRP-3.1.1-lineageos-karin_windy-20170520.img

Hotboot endet in an Bootloop but flashing recovery to Boot helped! Many many Thanks
€dit: Ok my bad didnt work ....
Hotboot didnt work
Flashing recovery to boot did boot up Twrp - Wiped cache/dalvik, flashed SU, Tablet constanty reboot into TWRP instead of system
Flashed Kernel/Boot to Boot - Tab boots into system but no root
Tried to reboot into recovery - no luck

Related

Bootloader & Recovery HELP PLEASE

Hi,
I unlocked my bootloader, flashed boot.image and CM snapshot 12 and then after setting up my phone I tried installing TWRP 2.8 with that stupid TWRP Play Store app.
NOW i cannot get into bootloader OR recovery with neither the bootmenu nor adb commandline nor the Volume+- on reboot...
PLEASE HELP me get TWRP 2.8 on my device... OR get me back into Recovery... I'm going crazy here
Turning off the phone and using the volume buttons after turning it on, gives me a black screen with an orange LED for recovery. How do I fix this.
PLEASE, there must be someone out there that can help me get recovery back???
Puffin617 said:
Hi,
I unlocked my bootloader, flashed boot.image and CM snapshot 12 and then after setting up my phone I tried installing TWRP 2.8 with that stupid TWRP Play Store app.
NOW i cannot get into bootloader OR recovery with neither the bootmenu nor adb commandline nor the Volume+- on reboot...
PLEASE HELP me get TWRP 2.8 on my device... OR get me back into Recovery... I'm going crazy here
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=53220435&postcount=4
here is a recovery guide
i suggest sticking with CM11 or Using the TWRP build by Championswimmer, his ones support CM11 but i have no idea how to use it or install it ( i think recovery partition)
Envious_Data said:
http://forum.xda-developers.com/showpost.php?p=53220435&postcount=4
here is a recovery guide
i suggest sticking with CM11 or Using the TWRP build by Championswimmer, his ones support CM11 but i have no idea how to use it or install it ( i think recovery partition)
Click to expand...
Click to collapse
I have tried flashing an FTF (that I have used in the past) but it fails....
UPDATE: Got the FTF to Flash...
Puffin617 said:
I have tried flashing an FTF (that I have used in the past) but it fails....
Click to expand...
Click to collapse
1. install drivers
2. Download FTF for your device
3. Flash FTF
(flashmode=Volume down)
Envious_Data said:
1. install drivers
2. Download FTF for your device
3. Flash FTF
(flashmode=Volume down)
Click to expand...
Click to collapse
Do I need to UNLOCK again after FTF?
Puffin617 said:
Do I need to UNLOCK again after FTF?
Click to expand...
Click to collapse
No. Flashing a FTF restores the entire device to a factory state.
Bootloader isnt affected at all
Envious_Data said:
No. Flashing a FTF restores the entire device to a factory state.
Bootloader isnt affected at all
Click to expand...
Click to collapse
Thankx for the help
I'm back on CM with everything flashed correctly. Now I just want to get rid of this CWM and get TWRP back on...
Puffin617 said:
Thankx for the help
I'm back on CM with everything flashed correctly. Now I just want to get rid of this CWM and get TWRP back on...
Click to expand...
Click to collapse
As said there is only CWP and Philz
No twrp for xperias and cm11
Envious_Data said:
As said there is only CWP and Philz
No twrp for xperias and cm11
Click to expand...
Click to collapse
Flashing the latest monxDIFIED gives you TWRP 2.8...

(ROOTED ONLY)Team Win Recovery Project (TWRP) for ALL SM-G318 SERIES

TWRP FOR ALL SM-G318 SERIES( like SM-G318H or SM-G318MZ or SM-G318HZ )
All credit goes here : http://www.phonandroid.com/forum/galaxy-ace-4-neo-sm-g318h-t142379.html
Press THANK Button if it work for u :good:
(IMPORTANT)Before doing anything u need to:
-HAVE EXACT SAME MODEL (SM-G318 Series Line-up Model) and TO BE ROOTED.
The only way to get root is by flashing the Pre-rooted Firmware by Andro-Man: https://forum.xda-developers.com/android/development/pre-rooted-firmwares-samsung-sm-g318hz-t3230844
Warning!
if u have latest stock rom with "ASKS Security"....before doing any root method,pls downgrade to the older version of stock rom.
How to know if u have "ASKS Security" installed ?
-Go to Settings > About Phone > Find "ASKS Security Version"
If dont have it then u are on the old version of stock rom and can do any root method without any problem.
it is because if u do that u will get stuck on Logo when u boot for example "Galaxy V Plus" because i have sm-g318hz device.
i have experience this problem when i try flashing prerooted rom when i have "ASKS Security" installed on my sm-g318hz.
-Have the USB drivers installed on your computer.
-Have all File Requirement given
-Have a charged battery over 70%.
-Make a backup of your personal data.(Optional just incase)
I DONT RESPONSIBLE FOR ANY DAMAGE TO UR PHONE!! DO IT AT UR OWN RISK !!!!
File Requirement :
For Method 1 (via PC):
Odin : http://androidhost.org/wZgTz
TWRP Recovery : https://drive.google.com/file/d/0B-lRrn2nKLf4TW9iWHNaOXI5bjA/view?pref=2&pli=1
For Method 2 (without PC):
RASHR Flash tool: https://www.apk4fun.com/apk/925/?_e_pi_=7,PAGE_ID10,2769102785
TWRP Recovery: https://mega.nz/#!4NJBDbiB!PXQZ9YYfmo7cb-3zV11Eww7y4bXeFgoV7s8Mn8uNcz4
Method 1:
Installing TWRP Recovery (via PC):
1. Turn off your smartphone.
2. Execute the file Odin3_v3.10.06.exe contained in the unzipped folder.
3. Make sure you have only Auto Reboot and F. Reset Time of checked.
4. Select AP then choose twrp.tar file
5. On your smartphone, press and hold down the Volume Down + Home + Power and Volume Up to restart your smartphone into download mode.
6. Connect the smartphone to the computer with the USB cable of origin. The box below ID: COM should be colored.
7. Click Start to begin the installation.
8. Wait for the installation and do not touch anything until u see Green Light *PASS*
9. Wait for the installation and do not touch anything. Your smartphone automatically restart.
10. Turn Phone ur phone back.
11. Press Power button + Press Volume up button + Home Button to boot into recovery. Release ur finger after u see *Samsung Galaxy *
12. Ignore the message and swipe to right on slider given
13. That it now u have TWRP Recovery installed on your phone :fingers-crossed:
Example Picture for Instruction: http://www.hostingpics.net/viewer.php?id=170738212.jpg
Method 2:
Installing TWRP (without PC):
*If Method 1 is not working try this method.
1. Install RASHR Flash tool.
2. Put recovery.img into root External SD Card.
3. After that open the RASHR Flash tool and select Recovery From Storage.
4. Find and select the recovery.img
5. If the dialog appear press Yes and then reboot into recovery.
6. Wait for few second to reboot into recovery and u have TWRP installed
Nice!??? BTW! It's "TEAM" not "TWIN" ?
xAthenax said:
Nice!������ BTW! It's "TEAM" not "TWIN" ��
Click to expand...
Click to collapse
Sorry for that mistake i never notice that
Thanks for trying my project :good:
This is my first post anyway. So what phone model are you using ?
thnks dev for the recovery. any rom for this phone????
Kikaa99 said:
Sorry for that mistake i never notice that
Thanks for trying my project :good:
This is my first post anyway. So what phone model are you using ?
Click to expand...
Click to collapse
SM-G313HZ it's Samsung Galaxy V
---------- Post added at 06:11 AM ---------- Previous post was at 06:07 AM ----------
guvey said:
thnks dev for the recovery. any rom for this phone????
Click to expand...
Click to collapse
What's the model of your phone? I can search it
xAthenax said:
SM-G313HZ it's Samsung Galaxy V
---------- Post added at 06:11 AM ---------- Previous post was at 06:07 AM ----------
What's the model of your phone? I can search it
Click to expand...
Click to collapse
sm-g318ml
For now , they are still no dev working on custom rom for this model (SM-G318 Series) .
i have try some Galaxy V (SM-G313Hz) custom rom but then i got stuck on boot screen .
i know someone that made a Prerooted stock rom for (SM-G318 Series). u can google it or just search the thread in xda.
xAthenax said:
SM-G313HZ it's Samsung Galaxy V
---------- Post added at 06:11 AM ---------- Previous post was at 06:07 AM ----------
What's the model of your phone? I can search it
Click to expand...
Click to collapse
wow i though it only work for SM-G318 Series only ?
this is impossible ??
guvey said:
sm-g318ml
Click to expand...
Click to collapse
Unfortunately I can't find any custom Roms for your phone
it does not mater what phone model we have.if u found custom for that phone like *Cyanogenmod 12 for SM-G318ML* it also can be apply to all SM-G318 phone series like i mention in my top post.
@Kikaa99 i flashed twrp.tar in odin, it said success but when i try to reboot to recovery i only get the stock recovery
can you help
pipyakas said:
@Kikaa99 i flashed twrp.tar in odin, it said success but when i try to reboot to recovery i only get the stock recovery
can you help
Click to expand...
Click to collapse
Did you follow the steps carefully ?
Most people getting this worked....
Did you try any custom recovery before ?
I want you to reflash the recovery again.
Kikaa99 said:
Did you follow the steps carefully ?
Most people getting this worked....
Did you try any custom recovery before ?
I want you to reflash the recovery again.
Click to expand...
Click to collapse
I tried to reflash a couple of times, but it didnt work
Then i flash a pre-rooted firmware, extract the recovery.img and flash it via flashfire, then i got twrp
Now that i got a way to get root + twrp everything is fine but not the way i thought though
pipyakas said:
I tried to reflash a couple of times, but it didnt work
Then i flash a pre-rooted firmware, extract the recovery.img and flash it via flashfire, then i got twrp
Now that i got a way to get root + twrp everything is fine but not the way i thought though
Click to expand...
Click to collapse
Glad to hear that mate
Guys, pls share this post to all SM-G318 User :good:
Sharing is caring
Hi guys! Anyone having troubles with wifi? It just doesn't turn on...model sm-g318
Adlxcrash said:
Hi guys! Anyone having troubles with wifi? It just doesn't turn on...model sm-g318
Click to expand...
Click to collapse
do u having this problem after try this tutorial ?
and what actually ur phone model ?
i mean we have a lot sm-g318 series (like SM-G318HZ OR SM-G318MZ)
Kikaa99 said:
do u having this problem after try this tutorial ?
and what actually ur phone model ?
i mean we have a lot sm-g318 series (like SM-G318HZ OR SM-G318MZ)
Click to expand...
Click to collapse
Thanks but I gave up... I think it must be a hardware problem .... twrp works excellent so.. it may be another thing like wifi module in the board... thanks anyway mate!
Works on SM-G318ML?
Hi I have a question, does it work for the SM-G318ML?
*Sorry my english is very bad xD
NecroMacro said:
Hi I have a question, does it work for the SM-G318ML?
*Sorry my english is very bad xD
Click to expand...
Click to collapse
Root worked for me, so TWRP should work too.
Enviado de meu SM-A9000 usando Tapatalk
I have SM-G318HZ
I follow your instruction in ODIN
but twrp is not installed.
it still gives me the stock recovery.
any idea?

Cant update TWRP to 3.0.0 (Castor_windy version)

Hi Guys,
I've got a SGP511 WiFi only (castor_windy), with root access and an unlocked bootloader. but to install AOSP 7.1 I need to update my version of TWRP to 3.0.0.
I installed TWRP via TabZ2-lockeddualrecovery2.8.26 batch file and can access recovery but every time i select install look at my SD card and change to images and select the castor_winsy 3.0.0 image i dont get an option to install to recovery i only get kernel how do i resolve this ?
I have re flashed FW (KitKat) via flashtool loads of times
rooted
installed TabZ2-lockeddualrecovery2.8.26 batch file
and every time i get the same option.... cant flash to recovery or boot only kernel
i have attached a screenshot so that nobody thinks i am going mad
can you please help me thanks :fingers-crossed:
It's been a while since I used TWRP 2.8.XX...so no idea what's the issue there but I'd just flash TWRP recovery via fastboot. Worked for me without any problems :good:
T4ke5 said:
It's been a while since I used TWRP 2.8.XX...so no idea what's the issue there but I'd just flash TWRP recovery via fastboot. Worked for me without any problems :good:
Click to expand...
Click to collapse
Hi ... Is that using the ADB fastboot recovery TWRP.img?
I am on KitKat just wondering if that's why it won't work have you got to be on 6.01 ?
Well, actually it shouldn't matter on which Android version you are, but to have the latest boot.img and radio.img installed I'd flash the latest stock ROM available here on XDA which means by the way having TWRP 3.0.2.0 as well and after that you might be ready for AOSP 7.1
Just have look at kulvertti's thread in the "General" subforum. Since you have already intalled a custom recovery there shouldn't be any problems.
Lockeddual recovery is not compatible with any custom rom
Please follow the instructions in the thread
rcstar6696 said:
Lockeddual recovery is not compatible with any custom rom
Please follow the instructions in the thread
Click to expand...
Click to collapse
Hi @rcstar696 have you got a link to the instructions please as I can't seem to find it ... thanks
nickbaker66 said:
Hi @rcstar696 have you got a link to the instructions please as I can't seem to find it ... thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/xpe.../aosp-6-0-marshmallow-sony-xperia-z2-t3235935
first two steps of instruction
rcstar6696 said:
http://forum.xda-developers.com/xpe.../aosp-6-0-marshmallow-sony-xperia-z2-t3235935
first two steps of instruction
Click to expand...
Click to collapse
Hi @rcstar6696,
i had no problem flashing the boot.img that part was ok but when i went to flash the recovery it never seemed to work for me, in the terminal window in the SDK programme tools folder which is the same folder as the image i downloaded from your thread is in (Twrp-3.0.0-0-castor-windy.img and twrp_castor_windy.img) it said something about sizes but said it went ok tried to boot into recovery and it never worked
in the terminal window whilst my SGP511 was in fastboot mode i typed fastboot recovery Twrp-3.0.0-0-castor-windy.img is this is correct script or have i got this wrong ?
i am currently on Kitkat does this matter
thansk
nickbaker66 said:
in the terminal window whilst my SGP511 was in fastboot mode i typed fastboot recovery Twrp-3.0.0-0-castor-windy.img is this is correct script or have i got this wrong ?
thansk
Click to expand...
Click to collapse
The right command is
fastboot flash recovery PathToRecovery*
Click to expand...
Click to collapse
*C:\stuff\more_stuff\TWRP_castor-windy.img for instance
T4ke5 said:
The right command is
*C:\stuff\more_stuff\TWRP_castor-windy.img for instance
Click to expand...
Click to collapse
Cheers guys I'll give that a go
T4ke5 said:
The right command is
*C:\stuff\more_stuff\TWRP_castor-windy.img for instance
Click to expand...
Click to collapse
rcstar6696 said:
http://forum.xda-developers.com/xpe.../aosp-6-0-marshmallow-sony-xperia-z2-t3235935
first two steps of instruction
Click to expand...
Click to collapse
hi guys i tried what you said and still could get it to work, please see screenshot and check if i have entered something wrong, i dont thinki have but i might be wrong
is it because i have not done the boot image first via fastboot ?
Looks quite good. Did you already try to enter the recovery?
T4ke5 said:
Looks quite good. Did you already try to enter the recovery?
Click to expand...
Click to collapse
i tried to access recovery via the down volume button when the tablet starts up but no green light appears and it just starts normally ...... i ve not flashed the boot.img first then flashed recovery as ive seen it can be done via recovery the only option left now is to try flashing the boot.img first .... i have no option but to try that tonight and see if that can do it that way
@T4ke5 @rcstar6696 thanks very much guys for your help TWRP on 3.0.0 now and AOSP 7.1 installed now
Sweet! :good:
T4ke5 said:
Sweet! :good:
Click to expand...
Click to collapse
Don't laugh but I can't put my WiFi code in because there's no keyboard just tap to speak how can I have the keyboard back lol
T4ke5 said:
The right command is
*C:\stuff\more_stuff\TWRP_castor-windy.img for instance
Click to expand...
Click to collapse
Cheers mate worked a treat

Issue with flashing Nougat, TWRP don't work

Hi I had Xpower5 Rom. I wanted to try new Nougat. I had many issues with flash (error of processing system.sin and loader.sin). I dont know how now it work. After that I flashed AndroPlus 43 kernel and TWRP 3.0.2. Kernel works but No white led on startup and no recovery there (also adb reboot recovery not work) . I tried another img of twrp and nothing changed. Any idea how install recovery? Anybody has the same problem with flashing? Thanks
As this phone doesn't support universal recovery and only sports a ota partition that can be used for recovery but then requires a kernel that supports booting recovery from ota partition, it's a hustle to use non standard recovery systems.
Is there even a nougat compatible kernel with included TWRP ota boot support for this phone?
This should work
https://forum.xda-developers.com/showpost.php?p=70807294&postcount=132
Also patching the stock kernel with the rootkernel tool integrates working twrp.
Gewiz said:
This should work
https://forum.xda-developers.com/showpost.php?p=70807294&postcount=132
Also patching the stock kernel with the rootkernel tool integrates working twrp.
Click to expand...
Click to collapse
It works! Thanks. Problem was: no white LED flash there. I have to press vol down and power on.
But I have still have a problem with flashing. Error of processing file loader.sin or system.sin. I cant flash again anything
Make sure you use latest ver of flashtool 0.9.23.2
Gewiz said:
Make sure you use latest ver of flashtool 0.9.23.2
Click to expand...
Click to collapse
Yes I have latest version. I tried older version as well but nothing changed
hromanse said:
Yes I have latest version. I tried older version as well but nothing changed
Click to expand...
Click to collapse
Flash firmware 5.11 first and flash nougat firmware afterwards.
This should work
Not work as well
the 3.1 3.0.2 TWRP bundled in rootkernel 5.23 messess up the internal permissions, so it will appear to work until you try and recover, or - TWRP runs a wipe with mkext4fs
i was talking a bit about it in https://forum.xda-developers.com/showthread.php?t=3560135
---------- Post added at 18:16 ---------- Previous post was at 18:13 ----------
Gewiz said:
Flash firmware 5.11 first and flash nougat firmware afterwards.
This should work
Click to expand...
Click to collapse
Yeah, going back to Lollipop and going all the way up to Nougat works, this is what happened to me. I thought I had a psuedo-recovery-dual system boot .... where i could switch between Marshmallow and Nougat
But then I decided to factory reset, and that started all the problems.
NeoBeum said:
Yeah, going back to Lollipop and going all the way up to Nougat works, this is what happened to me...
Click to expand...
Click to collapse
Thanks! It works
hromanse said:
Thanks! It works
Click to expand...
Click to collapse
Just make sure Restore works, so you don't get burned thinking everything is ok and end up with 12GB of partition mismatched data backup after a month, like I did

[AIO] Guide to Unlock bootloader , Flash TWRP and a Custom rom.

Unlocking Bootloader​1. Make sure you have a sim and active mobile data. Then go to about phone tap build number 7-8 times. After that go to advanced settings > developer options > turn on OEM unlocking and then check if this device is secure and click add account and device.
2. Download Mi unlock tool from here. Extract it and paste it in C:/unlock. or else your device won't be recognized for unlocking.
3. Open Mi unlock tool and then enter the Mi account which was on your device. Put your device in fastboot mode by pressing vol- and power and then connect to PC. Press unlock and if it tells you to wait you have no other option but to wait. If your mi flash tool shows connect your device even after you have connected it. Follow this guide here.
4. After you have unlocked your bootloader reboot your phone.
Flashing TWRP and Rooting via magisk​
1. Download this TWRP image here. Thanks to the original developer mauronofrio.
2. Download adb and fastboot tools here and install it.
3. Now put your phone in fastboot mode and connect it with your pc. Now where you have downloaded the TWRP file rename it to TWRP.img and open a CMD window there if you don't know how just google.
4. Type the following commands
1. fastboot devices
2. fastboot flash recovery TWRP.img
3. fastboot reboot recovery.
Click to expand...
Click to collapse
5. Your phone will boot into TWRP now. But TWRP will be overwritten by stock miui recovery to stop that you need to flash Magisk. Download this zip move it to internal storage then flash by tapping on install and swipe to flash. Reboot your device. Reboot to recovery again to check if TWRP is present.
Now your device is rooted
OR
Flash latest OrangeFox Recovery if you don't want magisk.
Flashing A rom
1. Download.
2. Flash.
3 Format Data.
Done
Feel free to ask any questions. And don't point a finger at me for messing your device.
My mi unlock tool says can't get info. I using Indian version miui 12
Thanks for the useful guide. I have a quick question, does this works with MIUI 12?
igeekyayush said:
My mi unlock tool says can't get info. I using Indian version miui 12
Click to expand...
Click to collapse
Sorry for late reply. Have you installed the drivers correctly? Try using another port in your pc or use this mi unlock tool version zip
Doombuggie85 said:
Thanks for the useful guide. I have a quick question, does this works with MIUI 12?
Click to expand...
Click to collapse
Yes, it does.
hello,
thanks for the reply sir. yes i've tired changing port, pc everything. today i've factory reset my phone and added mi account and now i'm getting 7 days wait time. let's see now
LoadOP2 said:
Sorry for late reply. Have you installed the drivers correctly? Try using another port in your pc or use this mi unlock tool version zip
Click to expand...
Click to collapse
igeekyayush said:
hello,
thanks for the reply sir. yes i've tired changing port, pc everything. today i've factory reset my phone and added mi account and now i'm getting 7 days wait time. let's see now
Click to expand...
Click to collapse
Okay keep the sim inserted and use the device for 7 days. And if it doesn't work try using older version of unlock tool.
Hi there!
Silly question: is it possible to install TWRP but keep the official ROM? (phone is unlocked)
_benedict_ said:
Hi there!
Silly question: is it possible to install TWRP but keep the official ROM? (phone is unlocked)
Click to expand...
Click to collapse
Flashing a custom rom is optional. You don't NEED to flash a rom to get TWRP...
---------- Post added at 06:48 PM ---------- Previous post was at 06:46 PM ----------
I've unlocked the bootloader using the unlock tool and waited for 7 days,
But i rooted the device using a different method where i patched a boot.img and flashed that to the device.
Will this method still work for me as I'm already rooted but just want TWRP so i can flash other ROMs.. The post says you have to flash magisk from the (temporary) TWRP for the TWRP to stay as the recovery..
Will the magisk on my phone and the magisk installed here collide?
I just want TWRP so i can switch to a custom rom, so any input is appreciated!!
_benedict_ said:
Hi there!
Silly question: is it possible to install TWRP but keep the official ROM? (phone is unlocked)
Click to expand...
Click to collapse
Skip the flashing a rom part and you will be good to go.
But i rooted the device using a different method where i patched a boot.img and flashed that to the device.
Will this method still work for me as I'm already rooted but just want TWRP so i can flash other ROMs.. The post says you have to flash magisk from the (temporary) TWRP for the TWRP to stay as the recovery..
Will the magisk on my phone and the magisk installed here collide?
I just want TWRP so i can switch to a custom rom, so any input is appreciated!!
Click to expand...
Click to collapse
You can flash twrp and then check if it persists. If not flash magisk again their is no thing as magisk colliding lol. Just make sure you flash a newer version. And if nothing works flash stock rom and then twrp.
If you have the stock boot IMG flash it and then intsall twrp and magisk.
smsry said:
Flashing a custom rom is optional. You don't NEED to flash a rom to get TWRP...
Click to expand...
Click to collapse
LoadOP2 said:
Skip the flashing a rom part and you will be good to go.
Click to expand...
Click to collapse
Haha, makes sense! Thank you for your answers
Nevermind.. i got it to work pretty easily..
I have twrp on this device and Pixel Experience ROM and it's working all fine..
But there's this one thing where when booting to recovery, it asks me to input a password for User(0) when i try to input anything it says password failed..
From reading the log, it says it's for decrypting data(8f I'm not mistaken)
Is this important? Do i need to decrypt it?
Currently the ROM works fine with no errors, so I'm not gonna bother, but would still like to know what this "decrypting" thing is..
smsry said:
Nevermind.. i got it to work pretty easily..
I have twrp on this device and Pixel Experience ROM and it's working all fine..
But there's this one thing where when booting to recovery, it asks me to input a password for User(0) when i try to input anything it says password failed..
From reading the log, it says it's for decrypting data(8f I'm not mistaken)
Is this important? Do i need to decrypt it?
Currently the ROM works fine with no errors, so I'm not gonna bother, but would still like to know what this "decrypting" thing is..
Click to expand...
Click to collapse
Yes, If you use a lock screen enter that password it will be decrypted. You will have to format data if you decide to flash any other rom anyway.
flashed twrp but not able to boot into recovery.
igeekyayush said:
flashed twrp but not able to boot into recovery.
Click to expand...
Click to collapse
There can be many reasons for that. Please tell me the error or what's actually happening. Then only I can be of help.
Sir ive used xiaomi flashtool v2 after that and it worked. Thanks sir. After that i updated to latest twrp from that chinese one.
​
LoadOP2 said:
There can be many reasons for that. Please tell me the error or what's actually happening. Then only I can be of help.
Click to expand...
Click to collapse
Joyeuse
Hello, Does it work for Joyeuse (European version)?
The name of TWRP says Curtana -Unified
rfguy said:
Hello, Does it work for Joyeuse (European version)?
The name of TWRP says Curtana -Unified
Click to expand...
Click to collapse
Yes Unified means all Snapdragon 720g Devices which include Joyeuse, Curtana, Gram, Excalibur.
Hey buddy, thank you for this quick step-by-step guide. I flash ROMs since 2012 and you know what? It helped me the same. Having all stuff needed for go from stock to custom concentrated in one place (plus some useful tip like the Magisk flash at the end) it's always useful and time-saving. Thank you
2 Micro-notes about fastboot btw:
- write 'fastboot (with lowered 'f'): it may confuse some newbie
- it's 'reboot' instead of 'boot'

Categories

Resources