If i flash original boot img do i lose root ? - Xiaomi Mi A2 Lite Questions & Answers

Hi guys,
i rooted my phone using magisk with the first tutorial (a, b partition) and it worked well.
If i flash original boot img do i lose root ?

Related

[Q] Root and cwm on a .62 (or it was.64?)firmware

Hi guys,i have in my hands an italian xperia play(r800i) with the last 2.3.4 firmware(i dont remember if it is .64 or .62,in every case it is the latest firmware.my question is:how to root and next install cwm?i read of a method with fastboot which start a recovery for install the xperiaroot.zip.it is valid for my phone?and next,how to make recovery permanent without changing kernel?is this method valid? http://forum.xda-developers.com/showthread.php?t=1437840 i specify that the phone has locked bootloader.
Up Someone can reply one of this questions?thanks
You can't use fastboot with a locked bootloader. Also you need root before you can run that CWM app. To get root follow this thread:
http://forum.xda-developers.com/showthread.php?t=1312859
Then you can just run that CWM app to install recovery. This is somewhat permanent, as it stores the recovery in your system partition, this isn't as secure as your kernel partition, but I don't think that's a problem really.
very thanks,so if in future i install that recovery and next i want to flash the doomkernel,i can't because that kernel is incompatible with a previous installed CWM?

[Q] Do I need to unlock bootloader of XPLAY for recovery?

Rebooting into recovery is required for installing .zip files. Correct me if I am wrong. Can I do this without unlocking bootloader? If so, How?
Or is there any other way to flash .zip files without booting into recovery?
If you're rooted just use CWM Installer
Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=1390771

Bootloader relocks itself after reboot!

I need some help guys!
My N5X bootloader relocks itself after rebooting.
EDIT #1:
I have TWRP and a custom kernal installed, but my bootloader is locked.
SHiiFTv2 said:
I need some help guys!
My N5X bootloader relocks itself after rebooting.
EDIT #1:
I have TWRP and a custom kernal installed, but my bootloader is locked.
Click to expand...
Click to collapse
Unfortunately, your phone is dying sing of memory failure
Stevica Smederevac said:
Unfortunately, your phone is dying sing of memory failure
Click to expand...
Click to collapse
I had my phone on warranty one day. I totally killed it after flashing a corrupted file. So LG just brought that phone back to life and shipped it back?
SHiiFTv2 said:
I had my phone on warranty one day. I totally killed it after flashing a corrupted file. So LG just brought that phone back to life and shipped it back?
Click to expand...
Click to collapse
That was software issue but this sounds like a hardware thing. That's the problem
Stevica Smederevac said:
That was software issue but this sounds like a hardware thing. That's the problem
Click to expand...
Click to collapse
Atleast i got TWRP and such working!
Thanks dude!
Your problem seems to be the same as in the following thread: http://forum.xda-developers.com/nexus-5x/help/unlock-bootloader-n5x-t3290923/page6
Its the same for me after my mainboard was replaced.
I have same situation, warranty changed my motherboard and now I can't fully unlock bootloader. But I find solution how to Root it whit out TWRP.
Thanks to this Phh's root solution.
http://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394
Downloaded https://superuser.phh.me/nexus/bullhead/ su.nocrypt.img
Flashed whit fastboot
After restart install Phh's superuser app!! not chainfires superuser but Phh's. Somehow chainfires app doesn't understand su binary.
But root works whit phh's, installed busybox, root checker apps shows that root is working.
Did full backup whit Flashfire it makes full restore zip which can be used whit fastboot.
Maybe I will not sell this phone..
Driver007 said:
I have same situation, warranty changed my motherboard and now I can't fully unlock bootloader. But I find solution how to Root it whit out TWRP.
Thanks to this Phh's root solution.
http://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394
Downloaded https://superuser.phh.me/nexus/bullhead/ su.nocrypt.img
Flashed whit fastboot
After restart install Phh's superuser app!! not chainfires superuser but Phh's. Somehow chainfires app doesn't understand su binary.
But root works whit phh's, installed busybox, root checker apps shows that root is working.
Did full backup whit Flashfire it makes full restore zip which can be used whit fastboot.
Maybe I will not sell this phone..
Click to expand...
Click to collapse
Hi bro,
I have a few questions.. First of all, are u able to unlock the bootloader after rooting the phone using this method? I have the same problem here with the missing rpmb partition on the EMMC.
My second question, is it possible to unroot ur phone after rooting it via this method?
I hope to here from u soon
Driver007 said:
I have same situation, warranty changed my motherboard and now I can't fully unlock bootloader. But I find solution how to Root it whit out TWRP.
Thanks to this Phh's root solution.
http://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394
Downloaded https://superuser.phh.me/nexus/bullhead/ su.nocrypt.img
Flashed whit fastboot
After restart install Phh's superuser app!! not chainfires superuser but Phh's. Somehow chainfires app doesn't understand su binary.
But root works whit phh's, installed busybox, root checker apps shows that root is working.
Did full backup whit Flashfire it makes full restore zip which can be used whit fastboot.
Maybe I will not sell this phone..
Click to expand...
Click to collapse
For me FlashFire not see root and don't want to work. But Franco kernel updater see root and i can write Franco Kernel and it's work! But root go out :crying:
aalleexxnn said:
For me FlashFire not see root and don't want to work. But Franco kernel updater see root and i can write Franco Kernel and it's work! But root go out :crying:
Click to expand...
Click to collapse
so flash stock rom whit fastboot whit ph's kernel, don't need stock kernel, after that download ph's app, check if root is working (needs ph's app from playstore, to check if root is working download root checker app), download busybox, set to permissive and flashfire should work, after that you can flash stock rom whit franco kernel and select in flhasfire that it needs to be rooted, after that you should have stock rom whit superuser.
For now I am using stock rom whit superuser and everything works (also otas works perfectly, even updates radio and bootloader, don't need fastboot for that)
Even twrp works but twrp works when it is written from twrp app which is in playstore :good:
Driver007 said:
so flash stock rom whit fastboot whit ph's kernel, don't need stock kernel, after that download ph's app, check if root is working (needs ph's app from playstore, to check if root is working download root checker app), download busybox, set to permissive and flashfire should work, after that you can flash stock rom whit franco kernel and select in flhasfire that it needs to be rooted, after that you should have stock rom whit superuser.
For now I am using stock rom whit superuser and everything works (also otas works perfectly, even updates radio and bootloader, don't need fastboot for that)
Even twrp works but twrp works when it is written from twrp app which is in playstore :good:
Click to expand...
Click to collapse
If TWRP works, are u able to flash custom roms?
buckflitz said:
If TWRP works, are u able to flash custom roms?
Click to expand...
Click to collapse
yes, but I prefer stock rom
Driver007 said:
yes, but I prefer stock rom
Click to expand...
Click to collapse
Iam now running the latets ota, 7.1.1. What do i have to flash to get root? Which file?
buckflitz said:
Iam now running the latets ota, 7.1.1. What do i have to flash to get root? Which file?
Click to expand...
Click to collapse
download:
1. https://dl.google.com/dl/android/aosp/bullhead-nrd90s-factory-d6bf1f56.zip
2. https://superuser.phh.me/nexus/bullhead/NRD90S/boot-bullhead-NRD90S-su-nocrypt-r265.img
all data will be wiped, even photos and so on because of fastboot unlock command.
whit fastboot commands write each file from factory image:
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash system system.img
don't flash kernel from factory image, flash this one "boot-bullhead-NRD90S-su-nocrypt-r265.img"
fastboot flash boot boot-bullhead-NRD90S-su-nocrypt-r265.img
after it boots you need: https://play.google.com/store/apps/details?id=me.phh.superuser
and it should be rooted.
Driver007 said:
download:
1. https://dl.google.com/dl/android/aosp/bullhead-nrd90s-factory-d6bf1f56.zip
2. https://superuser.phh.me/nexus/bullhead/NRD90S/boot-bullhead-NRD90S-su-nocrypt-r265.img
all data will be wiped, even photos and so on because of fastboot unlock command.
whit fastboot commands write each file from factory image:
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash system system.img
don't flash kernel from factory image, flash this one "boot-bullhead-NRD90S-su-nocrypt-r265.img"
fastboot flash boot boot-bullhead-NRD90S-su-nocrypt-r265.img
after it boots you need: https://play.google.com/store/apps/details?id=me.phh.superuser
and it should be rooted.
Click to expand...
Click to collapse
Bro ur awesome! thanks u so much!
If i understand correctly, iam now downgrading my firmware? I have never done this before cuz of the fact that iam quite new to nexus5x ( used a galaxy nexus before this one). Do i have to unlock the bootloader over and over after each step? And when do i have to flash the kernel?
buckflitz said:
Bro ur awesome! thanks u so much!
If i understand correctly, iam now downgrading my firmware? I have never done this before cuz of the fact that iam quite new to nexus5x ( used a galaxy nexus before this one). Do i have to unlock the bootloader over and over after each step? And when do i have to flash the kernel?
Click to expand...
Click to collapse
also had galaxy nexus :good:
about the downgrade, there isn't newer kernel from phh's website, so thats why you need to downgrade
it needs radio and bootloader from that factory zip (it should boot whit out those two) but I still prefer to flash it, so you will need to do:
fastboot unlock
fastboot flash radio radio.img
reboot the device
again:
fastboot unlock
fastboot flash bootloader bootloader.img
reboot the device
and for last time
fastboot unlock
and flash all the files, don't need to reboot every time, type one command at the line
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash system system.img
oh and don't forget vendor!: fastboot flash vendor vendor.img
and kernel from ph:
fastboot flash boot boot-bullhead-NRD90S-su-nocrypt-r265.img
finally boot to the system :good: I guess you should know how to use fastboot, if not google it
Driver007 said:
also had galaxy nexus :good:
about the downgrade, there isn't newer kernel from phh's website, so thats why you need to downgrade
it needs radio and bootloader from that factory zip (it should boot whit out those two) but I still prefer to flash it, so you will need to do:
fastboot unlock
fastboot flash radio radio.img
reboot the device
again:
fastboot unlock
fastboot flash bootloader bootloader.img
reboot the device
and for last time
fastboot unlock
and flash all the files, don't need to reboot every time, type one command at the line
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash system system.img
oh and don't forget vendor!: fastboot flash vendor vendor.img
and kernel from ph:
fastboot flash boot boot-bullhead-NRD90S-su-nocrypt-r265.img
finally boot to the system :good: I guess you should know how to use fastboot, if not google it
Click to expand...
Click to collapse
Galaxy nexus, the good old times
I remember spending all my hard worked money on it
Bro thanks u! iam going to give it a try!
Driver007 said:
so flash stock rom whit fastboot whit ph's kernel, don't need stock kernel, after that download ph's app, check if root is working (needs ph's app from playstore, to check if root is working download root checker app), download busybox, set to permissive and flashfire should work, after that you can flash stock rom whit franco kernel and select in flhasfire that it needs to be rooted, after that you should have stock rom whit superuser.
For now I am using stock rom whit superuser and everything works (also otas works perfectly, even updates radio and bootloader, don't need fastboot for that)
Even twrp works but twrp works when it is written from twrp app which is in playstore :good:
Click to expand...
Click to collapse
OK, second attempt and i have NRD90S + root + FlashFire.
can you take some instruction to update to NMF26F (7.1.1 final) by FlashFire
aalleexxnn said:
OK, second attempt and i have NRD90S + root + FlashFire.
can you take some instruction to update to NMF26F (7.1.1 final) by FlashFire
Click to expand...
Click to collapse
Just download ota package and in flashfire select zip option (not firmware option), also select Franco kernel and root
Is there a way to install Cyanogenmod if root is possible? thanks!

magisk on stock rom unrooted

Thats the question, can "easily" install magisk on stock rom (.236) unrooted ? since magisk thread says that root is not necessary, its ask for stock boot img that cant be obtained w/o root
JIJOK said:
Thats the question, can "easily" install magisk on stock rom (.236) unrooted ? since magisk thread says that root is not necessary, its ask for stock boot img that cant be obtained w/o root
Click to expand...
Click to collapse
Never tried, but even though root may not be needed, unlocked bootloader probably is. Magisk non-system works by patching boot img... If you unlock bootloader you probably can use it.
levone1 said:
Never tried, but even though root may not be needed, unlocked bootloader probably is. Magisk non-system works by patching boot img... If you unlock bootloader you probably can use it.
Click to expand...
Click to collapse
so, can get the image by just unlock the bootloader ? I though root was necessary for that
JIJOK said:
so, can get the image by just unlock the bootloader ? I though root was necessary for that
Click to expand...
Click to collapse
You can unlocked bl by official Sony method, then flash recovery with adb. Boot to recovery and flash Magisk.
Backup ta - https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Unlock bl - https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader
Recovery img - https://androidfilehost.com/?fid=961840155545588613
You can try flashing recovery within locked bl, but I don't think it would work.
levone1 said:
You can unlocked bl by official Sony method, then flash recovery with adb. Boot to recovery and flash Magisk.
Backup ta - https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Unlock bl - https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader
Recovery img - https://androidfilehost.com/?fid=961840155545588613
You can try flashing recovery within locked bl, but I don't think it would work.
Click to expand...
Click to collapse
So, if you was wondering it, no, cant flash it with locked bl.
At the moment Backup ta didnt work, will check that thread
And thanx the help, nice to have you on z1c forum :good:
perfect. thx! i was already wondering, if i had to downgrade my z1c in order to get the recovery back. but now, how i do i flash magisk from here?
when i try to flash, i get an error message saying, that the ftf is in sony elf32 format and that i need bootbridge from @AdrianDC to flash.
anyone ever did that or has a better idea?
just tried it now and ended up in a bootlop
It is many months after this post, but in case this helps anyone, here is the answer.
BootBridge method is pretty simple and it worked for me.
On an un-rooted device. (important)
Just rename magisk zip to "install.zip" put it in a folder called install.
Then with 7zip, create a zip-file, include the bootbridge folders, "META-INF" and "scripts" with the "install folder" you just created.
Then name it "anything_you_like.zip" and flash with TWRP
Basically Magisk is SuperSU alternative and provides SuperSU service for your device. ( roots it )
No problems for me at this point. Working on 14.5.A.0.270 and can also get working on 14.6.A.0.236 but have other problems related to getting compatible recovery on 236.
Eventually in recovery, system mount and unmount break for me, then other mounts eventually fail after trying to get Nanodroid working (My Goal to UnGoogle my Z1c) and can't wipe format or anything (only way to fix is reflash with flashtool)
Deodexed ROM seems to be necessary for Nanodroid and this is causing additional problems for me.
If I have to run with unlocked bootloader, I think AOSP may be a better starting point.

[HELP] How do I root my XT1952-1 (Android 9)

Hi everyone ,
I wandered for months in this forum but I didn't really find how to root my device. There are some tutorial for the "1952-4" but it's not my device. I really don't want to do risky things flashing wrong files. At this point I don't even know if my model can be rooted.
Here are useful infos :
Device : Moto G7 Play XT1952-1
Firmware : Android 9 (security patch december, 1st 2018)
Build : PPY29.68-28
Bootloader unlocked : YES
At this point, what am I supposed to do ? Is there a TWRP image that would work for sure ?
Thank you.
I managed to root my xt1952-4 but I couldn't use the methods on here as I would have TWRP and Magisk root but would lose wifi. So I decided to install magisk, extract the Boot.img file from the rom and patch it with magisk. I flashed it back using "fastboot flash boot boot.img" and now I have root and working wifi but no recovery.
MikeRWK said:
I managed to root my xt1952-4 but I couldn't use the methods on here as I would have TWRP and Magisk root but would lose wifi. So I decided to install magisk, extract the Boot.img file from the rom and patch it with magisk. I flashed it back using "fastboot flash boot boot.img" and now I have root and working wifi but no recovery.
Click to expand...
Click to collapse
Interesting, thanks.
I don't know if I can risk doing that on my XT1952-1 though, you never know how it'd behave.
If somebody successfully rooted XT1952-1, please let me know

Categories

Resources