Can any guys make a TWRP? - Sony Xperia XZ2 Questions & Answers

Can any guys make a twrp,Cause I know someone has made a DRM patch,just need a TWRP, THANK YOU !

richardwia said:
Can any guys make a twrp,Cause I know someone has made a DRM patch,just need a TWRP, THANK YOU !
Click to expand...
Click to collapse
Ummm. You can't just install the DRM patch without a modified kernel. You have to build a kernel + dtbo + do some modifications to the kernel and ramdisk to get the Camera fuction back. That is how I did in XZ1, XZ1 Compact and XZ premium. Remember XZ2 use a and b slots.
But but.. I think it is possible to apply the DRM patch + a modified kernel without using TWRP or any custom recovery.

janjan said:
Ummm. You can't just install the DRM patch without a modified kernel. You have to build a kernel + dtbo + do some modifications to the kernel and ramdisk to get the Camera fuction back. That is how I did in XZ1, XZ1 Compact and XZ premium. Remember XZ2 use a and b slots.
But but.. I think it is possible to apply the DRM patch + a modified kernel without using TWRP or any custom recovery.
Click to expand...
Click to collapse
Oh, got that, thanks.wish that will be come soon.

@richardwia
Will you give us the DRM Patch?

MartinX3 said:
@richardwia
Will you give us the DRM Patch?
Click to expand...
Click to collapse
I'm not able to make it, but l know a guy can do it, and of course, l will suggest him sharing it. Don't worry about that.

richardwia said:
I'm not able to make it, but l know a guy can do it, and of course, l will suggest him sharing it. Don't worry about that.
Click to expand...
Click to collapse
Thank you!
They are searching this DRM fix.
https://forum.xda-developers.com/xperia-xz2/help/happen-unlock-bootloader-t3769726
And in the end every owner of the XZ2 will need it.

MartinX3 said:
Thank you!
They are searching this DRM fix.
https://forum.xda-developers.com/xperia-xz2/help/happen-unlock-bootloader-t3769726
And in the end every owner of the XZ2 will need it.
Click to expand...
Click to collapse
Sorry for that, the owner don't wanna to share it immediately.so sorry

richardwia said:
Sorry for that, the owner don't wanna to share it immediately.so sorry
Click to expand...
Click to collapse
But thanks for asking him
Will he never share the fix or will he in the future?
This fix will be very important for us.

MartinX3 said:
But thanks for asking him
Will he never share the fix or will he in the future?
This fix will be very important for us.
Click to expand...
Click to collapse
I'm not so clear about whether he will share it or not, but l guess he will put it out eventually.let me bother him for a few days.:laugh:

richardwia said:
I'm not so clear about whether he will share it or not, but l guess he will put it out eventually.let me bother him for a few days.:laugh:
Click to expand...
Click to collapse
Please bother him, he would help us all.

@ FartyParty can you make a twrp recovery for the xz2?

Sony92 said:
@ FartyParty can you make a twrp recovery for the xz2?
Click to expand...
Click to collapse
@FartyParty

Hi is there a twrp version for the xperia xz 2 been released yet? Or a way to root it? I have managed to unlock the bootloader on my device with no camera errors just needing root access now.. Magisk won't install from my handset because I can't find my phones original boot image file..

Karimano24 said:
Hi is there a twrp version for the xperia xz 2 been released yet? Or a way to root it? I have managed to unlock the bootloader on my device with no camera errors just needing root access now.. Magisk won't install from my handset because I can't find my phones original boot image file..
Click to expand...
Click to collapse
You "unlocked" it with the developer settings or did you unlocked it via the Sony website?

Both. After you get your unlock code from Sony developers when giving your ime number download adb tools and sdk manager and type in the relevant command prompts into platform-tools folder. Any idea how to easily root this device?

Karimano24 said:
Both. After you get your unlock code from Sony developers when giving your ime number download adb tools and sdk manager and type in the relevant command prompts into platform-tools folder. Any idea how to easily root this device?
Click to expand...
Click to collapse
So you don't need a drm patch?
The source of the device got released, at the moment they are building the twrp tool.
I think root is the next step after that.

MartinX3 said:
So you don't need a drm patch?
The source of the device got released, at the moment they are building the twrp tool.
I think root is the next step after that.
Click to expand...
Click to collapse
I didn't need no patch I just followed those steps and it's completely risk free. There maybe a way to dual boot from adb and install magisk then your rooted but I'm happy to wait

Karimano24 said:
... Any idea how to easily root this device?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=76392950&postcount=56

I think if a twrp dual recovery bootloader from adb drivers is created for device h8216 then it will solve the rooting issue. My phones bootloader is unlocked so that's all I require to install magisk and root it. Nothing else seems to work

Karimano24 said:
... My phones bootloader is unlocked so that's all I require to install magisk and root it...
Click to expand...
Click to collapse
The link I provided to you (right above) is all about that! Just follow the instructions.

Related

[Summary] Rooting the Z5

Hi there,
I think we should make a simple thread to sum up everything we know about root, since the main talking thread is long, here are the main informations:
Xperia Z5:
- No locked bootloader root yet
- AndroPlusKernel: http://forum.xda-developers.com/xperia-z5/development/kernel-andropluskernel-v1-t3246100
- TWRP here http://forum.xda-developers.com/xperia-z5/development/twrp-2-8-7-0-z5-rootable-kernel-t3240032
- CWM booting but not usable: http://forum.xda-developers.com/xperia-z5/development/recovery-clockworkmod-recovery-sony-t3249782
- Unlocked BL dirty rooting available and working as intended: http://forum.xda-developers.com/xperia-z5/development/dirty-root-solution-unlocked-bl-t3233274
- Dumped original firmware: http://forum.xda-developers.com/xperia-z5/general/ftf-files-sony-xperia-z5z5-dual-t3214397
- Xposed works but you need to let it bootloop a few times
Xperia Z5 Compact:
- No locked bootloader root yet
- Zombie Kernel testing release here: http://forum.xda-developers.com/z5-compact/orig-development/kernel-zombie-t3224735
- Unlock bootloader root available (http://forum.xda-developers.com/z5-compact/development/dirty-root-solution-unlocked-bl-t3230524)
- Prerooted firmware available for unlocked BL: http://forum.xda-developers.com/z5-...-rooted-32-0-5-32-firmware-one-click-t3231520
- Xposed doesn't work with prerooted firmware
Currently we need to:
- Compile Zombie Kernel for Z5
- Improve TWRP support
- Create prerooted-firmware
- Most obviously and most hardly, find exploit for Locked BL root
Ok I'm not an Xperia pro, just got my first one few days ago, but still a android and linux geek, so if there is mistakes in my post, or update I haven't seen, notify me
Knux14 said:
- Maybe dump the original firmware ?
Click to expand...
Click to collapse
If I'm not mistaken, I think it already has: http://forum.xda-developers.com/xperia-z5/general/ftf-files-sony-xperia-z5z5-dual-t3214397
Need root for Z5, thx for efforts.
Uclydde said:
If I'm not mistaken, I think it already has: http://forum.xda-developers.com/xperia-z5/general/ftf-files-sony-xperia-z5z5-dual-t3214397
Click to expand...
Click to collapse
Updated
Test kernel for Z5:
https://mega.nz/#!15oSGLiA!N-lOlfn8RS9_gN_GcVJrFzXg21nzL1xDdt1xKujl9is
This is stock Z5 kernel modified to disable Sony RIC, dm verity, etc.
It should work together with the Z5C rooting solution:
http://forum.xda-developers.com/z5-compact/development/dirty-root-solution-unlocked-bl-t3230524
Please report back.
nilezon said:
Test kernel for Z5:
https://mega.nz/#!15oSGLiA!N-lOlfn8RS9_gN_GcVJrFzXg21nzL1xDdt1xKujl9is
This is stock Z5 kernel modified to disable Sony RIC, dm verity, etc.
It should work together with the Z5C rooting solution:
http://forum.xda-developers.com/z5-compact/development/dirty-root-solution-unlocked-bl-t3230524
Please report back.
Click to expand...
Click to collapse
You are the man, you saved me
my phone works now with root access
nilezon said:
Test kernel for Z5:
https://mega.nz/#!15oSGLiA!N-lOlfn8RS9_gN_GcVJrFzXg21nzL1xDdt1xKujl9is
This is stock Z5 kernel modified to disable Sony RIC, dm verity, etc.
It should work together with the Z5C rooting solution:
http://forum.xda-developers.com/z5-compact/development/dirty-root-solution-unlocked-bl-t3230524
Please report back.
Click to expand...
Click to collapse
Huge thanks, But I can't get it working...
I open BL, I fastboot flashed the kernel, then I fastboot booted on the recovery (Which doesn't show a black screen as expected but a real non-fully-working twrp for me) and I tried to install Supersu but I write an error then...
EDIT: Kinda glitchy to do, but works.
If anyone has Xposed working, please make a tutorial
Okay so this is my first Xperia device and my second android device (used to have a Nexus 5 so rooting was simple). Can anyone ELI5 the root situation?
I understand that the TA partition contains DRM keys to make X-Reality etc work and that unlocking the bootloader will wipe this TA partition and the features will stop working. My main confusion comes from - if other lollipop devices have rooting methods for locked bootloaders, why don't these methods work on the Z5? Sorry if this is extremely obvious and I'm an idiot.
Most android devices have either already unlocked BL or you have to. For example, Nexus 5 needed to unlock the BL, as well as the OnePlus One, but those devices don't contain DRM so you don't loose anything when unlocking
nilezon said:
Test kernel for Z5:
https://mega.nz/#!15oSGLiA!N-lOlfn8RS9_gN_GcVJrFzXg21nzL1xDdt1xKujl9is
This is stock Z5 kernel modified to disable Sony RIC, dm verity, etc.
It should work together with the Z5C rooting solution:
http://forum.xda-developers.com/z5-compact/development/dirty-root-solution-unlocked-bl-t3230524
Please report back.
Click to expand...
Click to collapse
Worked in second attempt. First time reboot into recovery. New fastboot boot booted into black screen.
In following sequence it was necessary to add destination file name,
D:\DOWNLOADS\Sony\Xperia\Z5\Fastboot>adb push SuperSU-v2.51.zip /data/media/0/
failed to copy 'SuperSU-v2.51.zip' to '/data/media/0/': Is a directory
D:\DOWNLOADS\Sony\Xperia\Z5\Fastboot>adb push SuperSU-v2.51.zip /data/media/0/SuperSU-v2.51.zip
9055 KB/s (3989636 bytes in 0.430s)
harfot said:
Worked in second attempt. First time reboot into recovery. New fastboot boot booted into black screen.
In following sequence it was necessary to add destination file name,
D:\DOWNLOADS\Sony\Xperia\Z5\Fastboot>adb push SuperSU-v2.51.zip /data/media/0/
failed to copy 'SuperSU-v2.51.zip' to '/data/media/0/': Is a directory
D:\DOWNLOADS\Sony\Xperia\Z5\Fastboot>adb push SuperSU-v2.51.zip /data/media/0/SuperSU-v2.51.zip
9055 KB/s (3989636 bytes in 0.430s)
Click to expand...
Click to collapse
I did not had to :/
You guys work fast!
Unsure whether to root myself yet,
Kind of wouldn't mind being able to connect a ps3 pad instead of
Ps4 using the sixaxis app
I'm still confused here. I don't see clear instructions for root process, probably because this is my first Xperia device. Neither do I know if using this modded stock kernel and doing this adb thing few posts back will break the DRM thingy and camera features or not.
Falenone said:
I'm still confused here. I don't see clear instructions for root process, probably because this is my first Xperia device. Neither do I know if using this modded stock kernel and doing this adb thing few posts back will break the DRM thingy and camera features or not.
Click to expand...
Click to collapse
There is nothing clear enough for beginner yet. Sooner or later there will be a TWRP fully working and it will be easy.
Try the dirty method, but don't do things that you are not sure that will work. Ask us if needed
I don't want to lose features because of unlocked bootloader. I guess I'm going to survive without root til there's TWRP and pretty much flash n go root
You will maybe never be able to root without loosing feature. Xperia devices work like this for ages..
The only way you could would be that we find a flaw in Android, which could either arrive soon, or never...
Knux14 said:
You will maybe never be able to root without loosing feature. Xperia devices work like this for ages..
The only way you could would be that we find a flaw in Android, which could either arrive soon, or never...
Click to expand...
Click to collapse
Ages means..? I know that the Z1 is not so fresh anymore but we were able to root 4.2/4.4.4/5.1 without losing anything with locked BL. (I know nothing except following tutorials)
Sent from my E6653
Yes because there were security holes in android. For now we havent found anything yet in this version
harfot said:
Worked in second attempt. First time reboot into recovery. New fastboot boot booted into black screen.
In following sequence it was necessary to add destination file name,
D:\DOWNLOADS\Sony\Xperia\Z5\Fastboot>adb push SuperSU-v2.51.zip /data/media/0/
failed to copy 'SuperSU-v2.51.zip' to '/data/media/0/': Is a directory
D:\DOWNLOADS\Sony\Xperia\Z5\Fastboot>adb push SuperSU-v2.51.zip /data/media/0/SuperSU-v2.51.zip
9055 KB/s (3989636 bytes in 0.430s)
Click to expand...
Click to collapse
I did boot into TWRP (it was like tablet mode) mounted all partitions to be sure, flashed SuperSU from external sd. It is working. Thank you all
ChrissehB said:
Okay so this is my first Xperia device and my second android device (used to have a Nexus 5 so rooting was simple). Can anyone ELI5 the root situation?
I understand that the TA partition contains DRM keys to make X-Reality etc work and that unlocking the bootloader will wipe this TA partition and the features will stop working. My main confusion comes from - if other lollipop devices have rooting methods for locked bootloaders, why don't these methods work on the Z5? Sorry if this is extremely obvious and I'm an idiot.
Click to expand...
Click to collapse
Google "Verified Boot Android" .. there is almost 100% probability that locked bootloader root will never be achieved, because of this security feature. Verified Boot was introduced in KitKat, but almost nobody used it in so strict mode implementation... Until now, no single firmware using Verified Boot was ever rooted without either custom kernel (must unlock bootloader) or leaked engineering bootloader (try ask Sony engineers for it).

[ROM] [7.1.1] Stock Rom for J320A/J320AZ/J320AG

This is an unrooted 100% Stock J320AUCU3BQI5 firmware.
Working on all exynos j3 models!! (You first need root and to flash with flashfire)
AG models will probably need to enable oem unlock in dev options.
Download
As I said no root, but you can always downgrade back to mm if you need root.
Btw the eng_ root kernel won't boot the system, but it will let you mount as RW and you can edit things thru adb... someone figure out root on this thing!
Thanks to @Iurop for testing AG
@DamienMc thanks for assist me and help me. My J320AG now works with Nougat 7.1.1 without any problem.
Here a couple of screenshots.
galaxy express prime(J320A)
Um I have a question the firmaware above if I want to install it do I need to root? if yes how do I root?
부캐입니다 said:
Um I have a question the firmaware above if I want to install it do I need to root? if yes how do I root?
Click to expand...
Click to collapse
To root just follow this method:
https://forum.xda-developers.com/galaxy-j3-2016/how-to/root-j320a-j320az-alternate-method-t3627225
Hi lurop thanks for your reply! but i have another question to flash nougat file do i have to root or i dont have to
Hi, yes you have to root the phone following the method posted above. Then install flashfire and use it to flash the rom.
Have you do something similar already?
If you do not wish to root and your device is the A or AZ model you can update with Odin.
I fixed and uploaded the full firmware @Iurop provided. You can find that here
Finally got time to mess around with root...and unfortunately we do need a new eng_boot.
But fortunately, like I mentioned, we can still use our old eng_root boot to acquire a root shell.
Btw noticed this Rom does not update stock recovery. I'll package up a fix for it tomorrow, if anyone actually cares
DamienMc said:
Finally got time to mess around with root...and unfortunately we do need a new eng_boot.
But fortunately, like I mentioned, we can still use our old eng_root boot to acquire a root shell.
Btw noticed this Rom does not update stock recovery. I'll package up a fix for it tomorrow, if anyone actually cares
Click to expand...
Click to collapse
I care. Thanks for your time and effort; I can imagine that it (developing) seems rather thankless at times, but your contributions are definitely appreciated.
DamienMc said:
Finally got time to mess around with root...and unfortunately we do need a new eng_boot.
But fortunately, like I mentioned, we can still use our old eng_root boot to acquire a root shell.
Btw noticed this Rom does not update stock recovery. I'll package up a fix for it tomorrow, if anyone actually cares
Click to expand...
Click to collapse
Until now my J320ag works perfectly, no problem at all, phone, sms, internet, app everything run absoluttely fine.
Thanks @DamienMc
I wonder if I could port this to the J320FN?
stock recovery patch
I'll update the rom one day, but this patch is the easiest way to update things...
To apply you must use your pc, use Odin to flash the included eng_root kernel. When it boots the logo will remain onscreen, after two minutes or so you can click the recovery.bat and let it do its thing.
is this rom have arbic ?
tested and working like charm, is there any tool etc for add arbic etc ?
Cant be ported to J320F because of different Chipset,right?
Mr Hassan said:
tested and working like charm, is there any tool etc for add arbic etc ?
Click to expand...
Click to collapse
I never had time to look into adding extra languages, and afaik more locale doesn't support Arabic (plus it doesn't translate everything)
jnk3344 said:
Cant be ported to J320F because of different Chipset,right?
Click to expand...
Click to collapse
Correct, will not work. Most importantly tho they don't have a nougat kernel. And if they did, they'd have their own stock rom... Sorry @Diamond26
DamienMc said:
I never had time to look into adding extra languages, and afaik more locale doesn't support Arabic (plus it doesn't translate everything)
Correct, will not work. Most importantly tho they don't have a nougat kernel. And if they did, they'd have their own stock rom... Sorry @Diamond26
Click to expand...
Click to collapse
Yeah I know sadly...
will this remove region lock?
will this remove region lock?
DamienMc said:
Finally got time to mess around with root...and unfortunately we do need a new eng_boot.
But fortunately, like I mentioned, we can still use our old eng_root boot to acquire a root shell.
Click to expand...
Click to collapse
Isn't eng_boot.tar just a boot.img? Could we extract build.prop from the Nougat ROM and the boot.img from the firmware to update the Root_J320A.zip in your root thread?
@DJJosephJumper
That method will work, we just can't boot while rooted with the stock boot. We need a permissive boot. if you edit that root like you mentioned, it'll only boot to the logo with a working shell. Su commands work there, so it will with with permissive.
Eng_root will do the same, boot to logo only with a rooted shell

[GUIDE][ROOT] how to root your P9 LITE MINI

I did not find a subforum dedicated to P9 lite mini version so I will post this guide here , as I know that many users that have this phone wish to have it rooted but don't know how.
I apologise to mods in advance if this is wrong place to post this.
Before I start, I will tell you that I am not a programmer and that I just followed a guide to the letter that @txmt5 told me about. So all credits go to him.
Lets start:
0. Make sure that your phone has USB DEBUGGING enabled.
1. a) You will need unlocked bootloader. There is simple official solution to get unlock code by huawei. Just go to their website , UNLOCK tab and follow instructions.
b) Once you get unlock code just use this simple tool by @Mandrigan. BE WARNED : use only unlock bootloader option as other options may brick your phone.
There is also an option to use cmd but I found this one easier to follow and it worked anyway.
Once you unlock your bootloader your phone will give you a warning about it before every boot. This is normal for every device just that some keep silent about it
2. Just install magisk app by @topjohnwu from here. As you do not have costum recovery (as far as I know it is still not developed for our device) you will not be able to root it as usual but it will require additional steps.
3. Get an original unpatched version for your frimware from here. It is really important that you find a right one. It will use the same code that is written in your "update info" in settings so it is easy to find.
4. From the update.zip file you hopefully downloaded in step before you will need to extract BOOT.img file.
To do this use huawei update extractor app by @worstenbrood. I personally use version 0.9.9.5 and extracted only BOOT.img .
It may look like it hangs on full green bar once you extract it. If it hangs for more than 5 minutes it is safe to cancel it and take the BOOT.img file it created. This happened to me and it worked anyways.
5. Put the BOOT.img file from previous step on your device and use magisk on it. It will create patched_boot.img that you will transfer back to your PC
6. Download adb fastboot tools (put patched_boot.img from previous step inside that folder) and HiSuite (just for huawei drivers)
7. Connect your phone to your PC and go to fastboot tools folder (from previous step) and shift+right click anywhere in that folder and take open CMD window here option.
The commands are as follows :
Code:
adb reboot bootloader
after it reboots input
Code:
adb fastboot flash boot patched_boot.img
Your device should be rooted now
You will have root permission but you will not be able to use any other fancy magisk repo app as you do not have TWRP or other custom recovery. And there is really high chance that you will have to repeat this whole thing after every update (it is just my guess) .
I really hope that this guide will help someone
P.S. I wish to thank all people that I tagged and let them know that it was not my wish to spam them but to give them proper credit.
batman1950 said:
5. Put the BOOT.img file from previous step on your device and use magisk on it. It will create patched_boot.img that you will transfer back to your PC
Click to expand...
Click to collapse
Hi, I'm grateful for your contribution to this community. Users who come through here will appreciate.
Can you talk to me about step 5?
breathislava said:
Hi, I'm grateful for your contribution to this community. Users who come through here will appreciate.
Can you talk to me about step 5?
Click to expand...
Click to collapse
I am really glad that you find my guide helpful.
When you go to magisk->install you will need to patch boot file.
Since wedo not have custom recovery you need to provide a path (impossible)
to BOOT.img file so magisk can patch it.
So you just put boot.img you downloaded to phome or sd card and provide path to it
batman1950 said:
I am really glad that you find my guide helpful.
When you go to magisk->install you will need to patch boot file.
Since wedo not have custom recovery you need to provide a path (impossible)
to BOOT.img file so magisk can patch it.
So you just put boot.img you downloaded to phome or sd card and provide path to it
Click to expand...
Click to collapse
I don't understand!
I don't find any "Install" option. Since TWRP is not available for this device, how to proceed?
Can you give me more details?
Until now, I flashed a "ready to be flashed" pre-rooted kernel and I owned SuperUser rights.
Now I want to patch a self-made one. How can I do?
breathislava said:
I don't understand!
I don't find any "Install" option. Since TWRP is not available for this device, how to proceed?
Can you give me more details?
Until now, I flashed a "ready to be flashed" pre-rooted kernel and I owned SuperUser rights.
Now I want to patch a self-made one. How can I do?
Click to expand...
Click to collapse
on newest magisk ver. press install (huge bottun next to magisk icon)-->install--> patch boot image
batman1950 said:
on newest magisk ver. press install (huge bottun next to magisk icon)-->install--> patch boot image
Click to expand...
Click to collapse
I don't find it!
Can you post a screenshot?
breathislava said:
I don't find it!
Can you post a screenshot?
Click to expand...
Click to collapse
for some reason I can't post screenshots -.- I will do it as soon as I get to my laptop
batman1950 said:
for some reason I can't post screenshots -.- I will do it as soon as I get to my laptop
Click to expand...
Click to collapse
Ok, in the meantime, can you explain the whole step 5?
breathislava said:
Ok, in the meantime, can you explain the whole step 5?
Click to expand...
Click to collapse
You just need to put BOOT.img file from step 4. anywhere on your device and use magisk on it.
really don't know how to tell it differently
batman1950 said:
You just need to put BOOT.img file from step 4. anywhere on your device and use magisk on it.
really don't know how to tell it differently
Click to expand...
Click to collapse
What a dumb I am! I forgot to say you that the phone is offline. To understand better my issue, you can read here.
I never thought internet connection was necessary. For now, I have neither a data plan nor a wi-fi internet connection. Is there a way to solve?
Thanks for your patience
breathislava said:
What a dumb I am! I forgot to say you that the phone is offline. To understand better my issue, you can read here.
I never thought internet connection was necessary. For now, I have neither a data plan nor a wi-fi internet connection. Is there a way to solve?
Thanks for your patience
Click to expand...
Click to collapse
I really don't know :/
batman1950 said:
I really don't know :/
Click to expand...
Click to collapse
OK! Thanks!
TWRP available soon
breathislava said:
I don't understand!
I don't find any "Install" option. Since TWRP is not available for this device, how to proceed?
Can you give me more details?
Until now, I flashed a "ready to be flashed" pre-rooted kernel and I owned SuperUser rights.
Now I want to patch a self-made one. How can I do?
Click to expand...
Click to collapse
I'm currently working on a TWRP port for this device. I have only a single problem with data partition.
ioanvlad67 said:
I'm currently working on a TWRP port for this device. I have only a single problem with data partition.
Click to expand...
Click to collapse
Is there any progress )
It doesn't flash it
Vaios1231 said:
It doesn't flash it
Click to expand...
Click to collapse
what step you have a problem with? And are all other steps completed ?
batman1950 said:
what step you have a problem with? And are all other steps completed ?
Click to expand...
Click to collapse
I got it now. All you have to do is not type adb fastboot and just type fastboot flash...
Also another problem that I'm having with rooting another p9 lite mini is that I can't get the bootloader unlock code from huawei anymore. Any solutions? Huawei seems to not want to give you the code anymore.
Vaios1231 said:
I got it now. All you have to do is not type adb fastboot and just type fastboot flash...
Also another problem that I'm having with rooting another p9 lite mini is that I can't get the bootloader unlock code from huawei anymore. Any solutions? Huawei seems to not want to give you the code anymore.
Click to expand...
Click to collapse
I had to type adb as I was on CMD...you were on powershell?
I think they MUST give it to you as it is your phone after all
batman1950 said:
I had to type adb as I was on CMD...you were on powershell?
I think they MUST give it to you as it is your phone after all
Click to expand...
Click to collapse
I was on cmd. Also i have e-mailed Huawei support to give it to me. Do you get the unlock code option on their site? I swear 4 days ago i got it and now it is gone... If you would like, you could add me on discord or such to tell you more details.
Vaios1231 said:
I was on cmd. Also i have e-mailed Huawei support to give it to me. Do you get the unlock code option on their site? I swear 4 days ago i got it and now it is gone... If you would like, you could add me on discord or such to tell you more details.
Click to expand...
Click to collapse
It must be on their site. I will check tonight when I get home

MI A2 camera2 api on pie?

I'm on Mi A2 pie stable ..as expected xiomi not enabled camera2api still...if anyone has found any method for enabling camera 2 api on pie stable rom please help me...
It would be nice if someone can upload boot.img from latest pie, so we can patch it with magisk to gain root. After that we can edit build.prop to enable camera2 api.
Sent from my Mi A2 using Tapatalk
Mr.Nice.ba said:
It would be nice if someone can upload boot.img from latest pie, so we can patch it with magisk to gain root. After that we can edit build.prop to enable camera2 api.
Click to expand...
Click to collapse
The beta image is the same as the stock image. The beta patched boot.img has already been uploaded. Check the forums.
I read today this on searching in google to enable camera2api without root in mia2..
I'm in feb update (india).
I downloaded these patch boot file & trying to go in fastboot mode..
But when i connect my phone to laptop (windows 7), there is connecting sound i heard ..
I enabled already oem unlocking option & usb debugging in phone through tapping 7 times & all ..
But when after inserting commands in adb & entered , it's saying waiting for device..
& Nothing is shown in screen in mi a2 , other than fastboot bunny..
Can anyone help me what's going on wrong here ?
Link of that site :
https://www.the***********.com/enable-camera2-api-xiaomi-mi-a2-lite-guide/
The *** is putted by xda automatically in link..
In actual in place of *** it is 'the custom Android' (without space)
Appar khandelwal said:
I read today this on searching in google to enable camera2api without root in mia2..
I'm in feb update (india).
I downloaded these patch boot file & trying to go in fastboot mode..
But when i connect my phone to laptop (windows 7), there is connecting sound i heard ..
I enabled already oem unlocking option & usb debugging in phone through tapping 7 times & all ..
But when after inserting commands in adb & entered , it's saying waiting for device..
& Nothing is shown in screen in mi a2 , other than fastboot bunny..
Can anyone help me what's going on wrong here ?
Link of that site :
https://www.the***********.com/enable-camera2-api-xiaomi-mi-a2-lite-guide/
The *** is putted by xda automatically in link..
In actual in place of *** it is 'the custom Android' (without space)
Click to expand...
Click to collapse
https://forum.xda-developers.com/mi-a2/how-to/how-to-enabling-cam2-gcam-android-t3868766
Have you installed adb drivers?
mariosenta said:
https://forum.xda-developers.com/mi-a2/how-to/how-to-enabling-cam2-gcam-android-t3868766
Have you installed adb drivers?
Click to expand...
Click to collapse
It's already in pc earlier.. let me reinstall it
Appar khandelwal said:
It's already in pc earlier.. let me reinstall it
Click to expand...
Click to collapse
Usually drivers create this problem
mariosenta said:
Usually drivers create this problem
Click to expand...
Click to collapse
Did you try any custom rom in MI A2 yet ?
Appar khandelwal said:
Did you try any custom rom in MI A2 yet ?
Click to expand...
Click to collapse
No, not yet, just enabled camera2api folowing tutorial from the link above.
mariosenta said:
No, not yet, just enabled camera2api folowing tutorial from the link above.
Click to expand...
Click to collapse
How's the camera quality after camera2api...
& Does using temporary root method also format phone data ?
Appar khandelwal said:
How's the camera quality after camera2api...
& Does using temporary root method also format phone data ?
Click to expand...
Click to collapse
With pixel camera, quality is superb. As for stock its a little better after the march update. Yes, it formated data but you have a tutorial for botloader unlock and rot without losing data.
mariosenta said:
With pixel camera, quality is superb. As for stock its a little better after the march update. Yes, it formated data but you have a tutorial for botloader unlock and rot without losing data.
Click to expand...
Click to collapse
Where is the tutorial ?
I'm not unlocking bootloader..
Just temporary rooting phone & unrooting on restart.
& Where to find these pixel camera ?
& March update already rolled back because of many bugs like always ..
Appar khandelwal said:
Where is the tutorial ?
I'm not unlocking bootloader..
Just temporary rooting phone & unrooting on restart.
& Where to find these pixel camera ?
& March update already rolled back because of many bugs like always ..
Click to expand...
Click to collapse
Well if you are just rooting, you wont lose data, you just need patched boot image to flash with cmd. You have tutorial in link I sent you, just skip the part with unlocking bootloader, and folow tutorial. You have all of needed tutorial here on xda, just dig a little.
Yeah i'm doing the same...
Just booting the patched image..
What about pixel camera ?
Do you have link for downloading that apk ?
Appar khandelwal said:
Yeah i'm doing the same...
Just booting the patched image..
What about pixel camera ?
Do you have link for downloading that apk ?
Click to expand...
Click to collapse
https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_BSG_Arnova_TlnNeun_V1.3.030119.0645.apk
But i think you will need to unlock bootloader for this to work
mariosenta said:
https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_BSG_Arnova_TlnNeun_V1.3.030119.0645.apk
But i think you will need to unlock bootloader for this to work
Click to expand...
Click to collapse
Yeah i did & it worked...
Adb drivers were missing for mi a2..
But for booting image it asked for unlocking bootloader..
But if i did this then i'm afraiding to lose data & warranty
Appar khandelwal said:
Yeah i did & it worked...
Adb drivers were missing for mi a2..
But for booting image it asked for unlocking bootloader..
But if i did this then i'm afraiding to lose data & warranty
Click to expand...
Click to collapse
This is for mi a2 lite, dont know if it work for a2 version https://www.google.com/amp/s/forum....ow-to-unlock-bootloader-erasing-t3878453/amp/
mariosenta said:
There is another way to unlock bootloader without wiping data, i saw it here on xda, just dig a little, bro. Explore
Click to expand...
Click to collapse
Did you left bootloader unlocked ?
Are you getting updates without locking it ?
Appar khandelwal said:
Did you left bootloader unlocked ?
Are you getting updates without looking it ?
Click to expand...
Click to collapse
Yeah, bro, all is working well. Updated to March OTA.
No problem so far. Just backup for safe reasons
mariosenta said:
Yeah, bro, all is working well. Updated to March OTA.
No problem so far. Just backup for safe reasons
Click to expand...
Click to collapse
March update already rolled back..
Okay i'll try that method to unlock bootloader..

Any working root for Unlocked T-Mobile Variant?

I just got my bootloader unlocked this morning and I am ready to get it started however all I see are Verizon and Google store bought methods
Trippyy Doee said:
I just got my bootloader unlocked this morning and I am ready to get it started however all I see are Verizon and Google store bought methods
Click to expand...
Click to collapse
Interesting wording. If you mean that you can now toggle OEM unlocking on, then unlocking the bootloader with fastboot is the same no matter what device you have.
Badger50 said:
Interesting wording. If you mean that you can now toggle OEM unlocking on, then unlocking the bootloader with fastboot is the same no matter what device you have.
Click to expand...
Click to collapse
Sorry for that lol But what I meant was just any root method using magisk because I used the latest 20.2 and it failed for me. And TWRP if any . Just a point in the right direction basically ?
Trippyy Doee said:
Sorry for that lol But what I meant was just any root method using magisk because I used the latest 20.2 and it failed for me. And TWRP if any . Just a point in the right direction basically ?
Click to expand...
Click to collapse
Magisk is the only way and there is no twrp
p70shooter said:
Magisk is the only way and there is no twrp
Click to expand...
Click to collapse
Is there a working Magisk Canary build that can patch my boot.img?
Trippyy Doee said:
Sorry for that lol But what I meant was just any root method using magisk because I used the latest 20.2 and it failed for me. And TWRP if any . Just a point in the right direction basically ?
Click to expand...
Click to collapse
p70shooter said:
Magisk is the only way and there is no twrp
Click to expand...
Click to collapse
Like @p70shooter said. There is no other way to root besides magisk, and there is no TWRP as of yet. If rooting with 20.2 didn't work, then try 20.1. You can find it here :good: https://github.com/topjohnwu/Magisk/releases
Trippyy Doee said:
Is there a working Magisk Canary build that can patch my boot.img?
Click to expand...
Click to collapse
Don't know. I just use stable, like they recommend. I know people do use Canary just fine but can't help you there
p70shooter said:
Don't know. I just use stable, like they recommend. I know people do use Canary just fine but can't help you there
Click to expand...
Click to collapse
This what I'm getting when I keep trying to patch it. And it is the correct stock image with my build number.
Edit : I'm just going to have to do this after work . I thought I had time but I'm just rushing probably just missing everything.
Thanks for the help guys
Trippyy Doee said:
This what I'm getting when I keep trying to patch it. And it is the correct stock image with my build number.
Edit : I'm just going to have to do this after work . I thought I had time but I'm just rushing probably just missing everything.
Thanks for the help guys
Click to expand...
Click to collapse
Just a little FYI for you my friend. Have you downloaded the factory image coinciding with your current build? If not, then do so, then extract the factory image, then extract the image.zip, then pull the boot.img from there, place it on your phones internal storage, then try to patch it with magisk. I just did it myself with the 20.2 stable version and it worked fine :good:
Badger50 said:
Just a little FYI for you my friend. Have you downloaded the factory image coinciding with your current build? If not, then do so, then extract the factory image, then extract the image.zip, then pull the boot.img from there, place it on your phones internal storage, then try to patch it with magisk. I just did it myself with the 20.2 stable version and it worked fine :good:
Click to expand...
Click to collapse
Yea I was certainly rushing . I used the wrong boot file. Thanks alot. Finally off work so now I get to enjoy rooting my first Pixel phone. ?

Categories

Resources