Bootloader relocks itself after reboot! - Nexus 5X Q&A, Help & Troubleshooting

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!

Related

[Q] Flash bootics.img on Xperia Play

Start by saying I'm very new about Android and smartphone in general.
Four days ago I got my first smartphone, a Xperia Play model R800i and some friends suggested me to install ICS. I searched on the internet and I have found the Xperia Play Development forum. There, I found a really interesting ROM called "New Express ICS".
I downloaded all the files and I started to follow the guide. I'm stuck at the second point (I believe this is ridiculous): I can't get into the Recovery Mode and I didn't get if I can flash the custom kernel (bootics.img) on flash tool.
I haven't rooted my phone, it's 100% virgin, yet.
Can someone explain me what to do? I'm searching answer here and on google for three days and I'm getting even more confused.
Sorry if my english is not perfect, it isn't my first language.
You need to unlock bootloader before fastboot a kernel (bootics.img)
WARNING: THIS VOIDS WARRANTY. YOU HAVE BEEN WARNED.
jeff7424 said:
You need to unlock bootloader before fastboot a kernel (bootics.img)
WARNING: THIS VOIDS WARRANTY. YOU HAVE BEEN WARNED.
Click to expand...
Click to collapse
Thank you very much, I'm going to do this. Is this a good guide?
After that what I have to do? How I will flash the rom? Sorry for all these newbie questions.
You should read all his guides.
http://forum.xda-developers.com/showthread.php?t=1836530
First read root, then unlock bootloader, then install custom roms.
Sent from my R800i
eksasol said:
You should read all his guides.
http://forum.xda-developers.com/showthread.php?t=1836530
First read root, then unlock bootloader, then install custom roms.
Sent from my R800i
Click to expand...
Click to collapse
Thanks for the link, it's very useful! Just a question: what do you mean with "read the root"? I have to root the phone?
I rooted my phone and I found the superuser app on this. Then, I unlocked the bootloader and the superuser app disappered, is it normal?
One more thing, how I flash the custom kernel and the ROM, now?
EDIT: Fail, Superuser is installed, yet, I didn't notice that
EDIT2: Why I can't get into the recovery mode?
unlock bootloader here http://www.xperiagamer.com/Beginners-Guides/unlock-the-bootloader-ramge.html
im not responsible for any damage:good:
Gianmark said:
I rooted my phone and I found the superuser app on this. Then, I unlocked the bootloader and the superuser app disappered, is it normal?
One more thing, how I flash the custom kernel and the ROM, now?
EDIT: Fail, Superuser is installed, yet, I didn't notice that
EDIT2: Why I can't get into the recovery mode?
Click to expand...
Click to collapse
I see you unlock your bootloader, good job! Place the ROM zip into your SD card first. Next, to get into recovery mode, just fastboot the kernel you want.
-Power off phone.
-Hold search button while connecting to PC via USB
-Open flashtool, click the thunderbolt icon, select fastboot
-Select kernel to flash (select your kernel bootics.img)
-Wait for 2 seconds and voila!
After that, power on your phone, when blue LED lights up with a vibration, spam volume button / back button (depends on kernel) then you'll be able to enter recovery
Gianmark said:
One more thing, how I flash the custom kernel and the ROM, now?
EDIT: Fail, Superuser is installed, yet, I didn't notice that
EDIT2: Why I can't get into the recovery mode?
Click to expand...
Click to collapse
Again, read his guide on flashing kernel and roms: http://forum.xda-developers.com/showthread.php?t=2054512
Which kernel you flash is depended on the rom you want to use it with, you need to flash a GB kernel if you want to use GB rom, ICS kernel for ICS, etc, although some kernel are compatible with both ICS and JB. Search the development section for kernels and roms. If you flash a rom and it fail to boot, it mean the kernel currently installed is not compatible with that rom.
About ClockworkMod Recovery:
If you flash a custom kernel, it will likely have ClockworkMod Recovery included. Or if you are using stock Sony firmware, use the "CWM installer version 5" from this link to install CWM. Sometimes you will get a status 7 error when you try flashing a rom, it might mean you have to use a different version of ClockworkMod to flash that rom successfully.
First of all, thank you both!
Can I flash bootics.img in the Flashtool? The fma965's tutorial speaks about a "*.zip" file besides a "*.img" file.
Also, he says to use fastboot package that I have already used to unlock the bootloader.
EDIT: I need Busybox? What is it? I didn't get it.
Gianmark said:
First of all, thank you both!
Can I flash bootics.img in the Flashtool? The fma965's tutorial speaks about a "*.zip" file besides a "*.img" file.
Also, he says to use fastboot package that I have already used to unlock the bootloader.
Click to expand...
Click to collapse
Flash boot.img in Flashtool/Fastboot as instructions above from jeff7424:good:Zip files are what you put on your sd card and flash with cwm recovery, these can be either roms, updates to roms,zip files to change appearance, performance tweaks, too many to mention.
So .img and .ftf files use in Flashtool/Fastboot and zip files use on SD card to flash with CWM recovery.
Not to complicate it too much sometimes the boot.img comes in a .zip file you need to extract this to use in flashtool/fastboot with winra/7z unzip programs
Edit; Busybox download it with Superuser app on your phone or download a app from store to update your busybox
What is it?http://en.wikipedia.org/wiki/BusyBox
But I don't need busybox to flash kernel and ROM, right?
You can get busybox from Play Store, just search Busybox installer, install it, open the app and install busybox.
jeff7424 said:
You can get busybox from Play Store, just search Busybox installer, install it, open the app and install busybox.
Click to expand...
Click to collapse
I didn't get if I need it to flash kernel and ROM.
Root your phone with zergrush, that will give you busybox too.
jeff7424 said:
Root your phone with zergrush, that will give you busybox too.
Click to expand...
Click to collapse
http://puu.sh/1VV8Q
In that case, I've already installed it.
EDIT: What I have to click? http://puu.sh/1VVgK
"Select Kernel to flash"?
EDIT2: I don't need a custom firmware?
Yeah select kernel to flash. Nope you just need an unlocked bootloader.
I DID IT.
But I'm a bit disappointed because Crash Bandicoot disappered...
Thanks everyone, by the way.
For the future update, the phone will format again?
WARNING: Do not use SEUS to update or repair your phone since you have an unlocked bootloader, if not you'll brick your phone.
jeff7424 said:
WARNING: Do not use SEUS to update or repair your phone since you have an unlocked bootloader, if not you'll brick your phone.
Click to expand...
Click to collapse
SEUS?

Root H815 on MM 6.0 V20d?

Hi guys ☺,
I bought today G4 eu model,it came with Marshmallow 6.0 V20d version.
I want to root it because of Greenify and Xposed,to increase the battery time,maybe later to flash some rom but...
There is a lot of topics on this subject,I started to read but I'm lost right now...as far as I saw,I can't root Marshmallow without unlocking the bootloader,only Lollipop,right?
Is it a big trouble to go back from MM to LP?
I'm not new in this flashing and rooting stuff,I had (still have) a Motorola Razr XT910,I flashed it 100 times for sure for 3.5 years but I didn't had to unlock the bootloader (it's impossible anyway) and there's a custom recovery Safestrap,modified Twrp which allows to flash and use 6 different roms,from JB to MM,without changing the kernel...
I will be grateful if someone can point me in the right direction,to give me some useful links etc.
And is there some list which procesess are safe to freeze with TB and which ones I can greenify?
Oh,and the bloatware too...
Sorry if I'm demanding but I want to bring out the best from this phone
Thank you in advance
Sent from my LG G4
Nobody?
Sent from my LG G4
Hi,
root without unlocking bootloader works only on lollipop, right. Not sure if u can downgrade, but when, u will use "LGUP" tool with the "H81510D.kdz" file. Maybe there exists a pre-rooted kdz to flash.
If u want to root android 6, u need a unlocked bootloader. Rooted Android 5.1.1 or unlock bootloader with rooted android 6.x.x
Ok,I successfully unlocked the bootloader but now I'm stuck with rooting and installing Twrp...
I've downloaded BETA-SuperSU-v2.67-20160121175247 and TWRP-3.0.0.0-H815+ but there's a lot of metods,which one should I use?
Flash SuperSu+Twrp with stock recovery?
Install Twrp with adb command and then flash SuperSu with Twrp?
Install both with adb command?
I also saw somewhere that I must flash some other kernel that is already rooted...
I just need root and the Xposed for now,help me guys!
Im also Confused..Where can i find rooted kernel?
I already did this Method u said...But I got Boot Loop
Then I revover my phone with Lg Bridge
We need to find this.....I also Had Android MM with V20d
welder73 said:
Ok,I successfully unlocked the bootloader but now I'm stuck with rooting and installing Twrp...
I've downloaded BETA-SuperSU-v2.67-20160121175247 and TWRP-3.0.0.0-H815+ but there's a lot of metods,which one should I use?
Flash SuperSu+Twrp with stock recovery?
Install Twrp with adb command and then flash SuperSu with Twrp?
Install both with adb command?
I also saw somewhere that I must flash some other kernel that is already rooted...
I just need root and the Xposed for now,help me guys!
Click to expand...
Click to collapse
In my case I wasn't able to flash recovery on the stock kernel, I had to flash boot.img unpacked from the custom kernel like SimpleGX and only then I was able to flash recovery and full kernel through it.
welder73 said:
Hi guys ,
I bought today G4 eu model,it came with Marshmallow 6.0 V20d version.
I want to root it because of Greenify and Xposed,to increase the battery time,maybe later to flash some rom but...
There is a lot of topics on this subject,I started to read but I'm lost right now...as far as I saw,I can't root Marshmallow without unlocking the bootloader,only Lollipop,right?
Is it a big trouble to go back from MM to LP?
I'm not new in this flashing and rooting stuff,I had (still have) a Motorola Razr XT910,I flashed it 100 times for sure for 3.5 years but I didn't had to unlock the bootloader (it's impossible anyway) and there's a custom recovery Safestrap,modified Twrp which allows to flash and use 6 different roms,from JB to MM,without changing the kernel...
I will be grateful if someone can point me in the right direction,to give me some useful links etc.
And is there some list which procesess are safe to freeze with TB and which ones I can greenify?
Oh,and the bloatware too...
Sorry if I'm demanding but I want to bring out the best from this phone
Thank you in advance
Sent from my LG G4
Click to expand...
Click to collapse
the method i followed was-
1. boot into twrp recovery with adb command(you need to have the twrp.img file in PC and also copy it in internal memory of your phone with SU)
2. flash systemless root with twrp
3. reboot
4. install flashify
5.flash twrp.img from your phone.
6. done
but there aren't as much benefits of rooting as any other phone. viper4android doesn't work. spirit fm doesn't work. xposed doesn't work properly.(these 3 were the main reasons for which i rooted)
dbzgoku said:
the method i followed was-
1. boot into twrp recovery with adb command(you need to have the twrp.img file in PC and also copy it in internal memory of your phone with SU)
2. flash systemless root with twrp
3. reboot
4. install flashify
5.flash twrp.img from your phone.
6. done
but there aren't as much benefits of rooting as any other phone. viper4android doesn't work. spirit fm doesn't work. xposed doesn't work properly.(these 3 were the main reasons for which i rooted)
Click to expand...
Click to collapse
My method:
1. The same
2. The same
3. Flash twrp.img with twrp
4. Reboot to recovery
5. Reboot to the system
6. Done
Viper4android works (judging by what other people say)
I don't know about spirit fm,I don't use it
Xposed is working fine
What's your problems with Xposed btw?
Sent from my LG G4
welder73 said:
My method:
1. The same
2. The same
3. Flash twrp.img with twrp
4. Reboot to recovery
5. Reboot to the system
6. Done
Viper4android works (judging by what other people say)
I don't know about spirit fm,I don't use it
Xposed is working fine
What's your problems with Xposed btw?
Sent from my LG G4
Click to expand...
Click to collapse
I didn't know i could flash something other than .zip files with twrp.
As for viper4android i tried normal way, flashed it with twrp, flashed extreme music mod with v4a fix. None seem to work. The drivers never get installed.
Xposed i haven't tried. I was in process of getting more information about it by reading various threads. But all seem to point to problems like bootloop, fc and Bluetooth issues. Can you guide me towards the best version of xposed for v20d with way to avoid problems or with as less problems as possible?
dbzgoku said:
I didn't know i could flash something other than .zip files with twrp.
As for viper4android i tried normal way, flashed it with twrp, flashed extreme music mod with v4a fix. None seem to work. The drivers never get installed.
Xposed i haven't tried. I was in process of getting more information about it by reading various threads. But all seem to point to problems like bootloop, fc and Bluetooth issues. Can you guide me towards the best version of xposed for v20d with way to avoid problems or with as less problems as possible?
Click to expand...
Click to collapse
Here is the official Xposed thread
http://forum.xda-developers.com/showthread.php?t=3034811
Download xposed-v80-sdk23-arm64.zip and flash it with Twrp.
Download XposedInstaller_3.0_alpha4.apk and install it.
And just in case if you have a bootloop,download xposed-uninstaller-20150831-arm64.zip.
I haven't had any problems
Oh,be careful which Xposed module you install.Here is the thread of working/not working modules
http://forum.xda-developers.com/showthread.php?t=3180217
Your bootloader is unlocked,right?
Sent from my LG G4
welder73 said:
Here is the official Xposed thread
http://forum.xda-developers.com/showthread.php?t=3034811
Download xposed-v80-sdk23-arm64.zip and flash it with Twrp.
Download XposedInstaller_3.0_alpha4.apk and install it.
And just in case if you have a bootloop,download xposed-uninstaller-20150831-arm64.zip.
I haven't had any problems
Oh,be careful which Xposed module you install.Here is the thread of working/not working modules
http://forum.xda-developers.com/showthread.php?t=3180217
Your bootloader is unlocked,right?
Sent from my LG G4
Click to expand...
Click to collapse
Thanks
I am gonna try it today.
And yes my bootloader is unlocked. We can't root marshmallow without unlocking bootloader.
dbzgoku said:
Thanks
I am gonna try it today.
And yes my bootloader is unlocked. We can't root marshmallow without unlocking bootloader.
Click to expand...
Click to collapse
Flash Imperium Kernel or SimpleGX Kernel. I used their kernels and ROMS on my older phones, they are legend. I suggest you to flash Imperium Rom. It includes kernel and everything and it is updated regularly by its dev.
This is kernel thread: http://forum.xda-developers.com/g4/orig-development/kernel-imperium-kernel-g4-v1-0-t3282915
This is ROM: http://forum.xda-developers.com/g4/development/rom-imperium-rom-g4-v1-0-t3312337
---------- Post added at 10:53 ---------- Previous post was at 10:51 ----------
@welder73 I wrote wrong guy I'm sorry.
Flash Imperium Kernel or SimpleGX Kernel. I used their kernels and ROMS on my older phones, they are legend. I suggest you to flash Imperium Rom. It includes kernel and everything and it is updated regularly by its dev.
This is kernel thread: http://forum.xda-developers.com/g4/orig-development/kernel-imperium-kernel-g4-v1-0-t3282915
This is ROM: http://forum.xda-developers.com/g4/development/rom-imperium-rom-g4-v1-0-t3312337
FINALLY Root My H815 Android 6.0 V20d
Hi to all!
As you have you bootloader unlocked, you can root your h815 M6 V20d with this method.
I was looking for days, and today i found this http://www.tuttoapp-android.com/root-lg-g4-h815-e-installazione-recovery-18188/
and now my g4 is rooted
Good luck!
p.s. Firstly convert the language from italian to english or ever you want
welder73 said:
Ok,I successfully unlocked the bootloader but now I'm stuck with rooting and installing Twrp...
I've downloaded BETA-SuperSU-v2.67-20160121175247 and TWRP-3.0.0.0-H815+ but there's a lot of metods,which one should I use?
Flash SuperSu+Twrp with stock recovery?
Install Twrp with adb command and then flash SuperSu with Twrp?
Install both with adb command?
I also saw somewhere that I must flash some other kernel that is already rooted...
I just need root and the Xposed for now,help me guys!
Click to expand...
Click to collapse
Unlock bootloader
adb reboot bootloader
fastboot boot twrp-3.0.0.0-h815.img
install -> images -> twrp-3.0.0.0-h815.img
reboot -> recovery
install -> BETA-SuperSU-v2.67-20160121175247.zip
reboot system
dontpannic said:
Unlock bootloader
adb reboot bootloader
fastboot boot twrp-3.0.0.0-h815.img
install -> images -> twrp-3.0.0.0-h815.img
reboot -> recovery
install -> BETA-SuperSU-v2.67-20160121175247.zip
reboot system
Click to expand...
Click to collapse
I think doesn't need to install recovery to root the phone.
Just this:
1) adb reboot bootloader
2) fastboot boot TWRP-2-8.7.0-h815.img
Wait a second and it will open, on the phone, the recovery.
Once open go to Advanced -> ADB sideload and take a swipe to start it where it says "Swipe to Start sideload".
Now on the PC write
3) adb sideload BETA-SuperSU-v2.67-20160121175247.zip
( If it says after the instalation to install supersu etc just abort it)
And then, when installation is complete, press "Reboot System"
I rooted it this way, without install TWRP Recovery
Zanina said:
I think doesn't need to install recovery to root the phone.
Just this:
1) adb reboot bootloader
2) fastboot boot TWRP-2-8.7.0-h815.img
Wait a second and it will open, on the phone, the recovery.
Once open go to Advanced -> ADB sideload and take a swipe to start it where it says "Swipe to Start sideload".
Now on the PC write
3) adb sideload BETA-SuperSU-v2.67-20160121175247.zip
( If it says after the instalation to install supersu etc just abort it)
And then, when installation is complete, press "Reboot System"
I rooted it this way, without install TWRP Recovery
Click to expand...
Click to collapse
Yeah - but the question has to be asked - why unlock the bootloader and root and not install TWRP? If you've got as far as unlocking the bootloader you might as well make life easier for yourself and install TWRP - that way anything you want to flash in the future can be done without being tethered to the PC, and also allows you to take proper full system image backups etc.
dontpannic said:
Yeah - but the question has to be asked - why unlock the bootloader and root and not install TWRP? If you've got as far as unlocking the bootloader you might as well make life easier for yourself and install TWRP - that way anything you want to flash in the future can be done without being tethered to the PC, and also allows you to take proper full system image backups etc.
Click to expand...
Click to collapse
Of course , i agree with you. By the way, we can't root g4 on m6 without unlocked bootloader.
And finally, i decided to pass twrp on my phone, for every file i want to install from twrp, and not every time to boot from pc
You're right
p.s. the first thing i did after twrp installed, was to install g5 live wallpapers

Magisk v14.0 and OTA

Hi,
With the new version of Magisk v14.0, it seems that neither root neither custom recovery are necessary!
So if I just unlock the bootloader and install Magisk, my device should reveice the OTA right?
Anyone tried and succeeded?
I'm currently using PureNexus, but i'd prefer to go back on stock with OTA. (and edit /etc/host with magisk)
Thanks
You should install stock recovery if you want to get OTA . If you're rooted, you will lose root and need to flash Magisk again (with nexus root toolkit).
Locked or unlocked bootloader, it not affect the updating process. The custom recovery will not flash OTAs . Flash fire is the solution if you have custom recovery . Bootloader and radio can only flash with fastboot. But lately with the latest updates on flash fire, it reboot and screen stay black and need to perform force reboot.
What I wanted to do:
1 - Factory reset (I received my 5x yesterday, no data to backup)
2 - Revert to stock (stock rom + stock recovery)
3 - Install Magisk Manager
4 - Patch stock boot image in Magisk Manager
5 - Flash the patched boot image
After these few steps, I should have a stock rom with magisk.
When OTA is available, I have to restore stock boot image, then apply the OTA, and finally perform steps 3 to 5 right?
mika91 said:
What I wanted to do:
1 - Factory reset (I received my 5x yesterday, no data to backup)
2 - Revert to stock (stock rom + stock recovery)
3 - Install Magisk Manager
4 - Patch stock boot image in Magisk Manager
5 - Flash the patched boot image
After these few steps, I should have a stock rom with magisk.
When OTA is available, I have to restore stock boot image, then apply the OTA, and finally perform steps 3 to 5 right?
Click to expand...
Click to collapse
I find this easier/faster:
1. stock rom + stock recovery
2. "fastboot boot twrp.img" (boots TWRP without flashing it)
3. install magisk from TWRP
When OTA cames in, I just apply it and then repeat steps 2 and 3
_mysiak_ said:
I find this easier/faster:
1. stock rom + stock recovery
2. "fastboot boot twrp.img" (boots TWRP without flashing it)
3. install magisk from TWRP
When OTA cames in, I just apply it and then repeat steps 2 and 3
Click to expand...
Click to collapse
Ok, thanks for the tips.
It's easier sure, but it works only if you have a computer near to you
mika91 said:
Ok, thanks for the tips.
It's easier sure, but it works only if you have a computer near to you
Click to expand...
Click to collapse
Well, unless I missed something, in your steps you need computer to flash patched boot.img as well.. You have to have a stock recovery for OTA, you can't flash it via TWRP.
_mysiak_ said:
Well, unless I missed something, in your steps you need computer to flash patched boot.img as well..
Click to expand...
Click to collapse
oups, you're right!
so definitively you're method is the way I'll go
bug
---------- Post added at 02:32 PM ---------- Previous post was at 02:31 PM ----------
_mysiak_ said:
I find this easier/faster:
1. stock rom + stock recovery
2. "fastboot boot twrp.img" (boots TWRP without flashing it)
3. install magisk from TWRP
When OTA cames in, I just apply it and then repeat steps 2 and 3
Click to expand...
Click to collapse
How did you suceed to boot twrp with locked bootloader? I'm trying to make as you wrote, but when I try it fails:
downloading 'boot . img'...
OKAY [ 0.429s]
booting...
FAILED (remote: unlock device to use this command)
I neither want to unlock my bootloader.
You can't use fastboot commands with locked bootloader, the only way is to unlock the bootloader. Unlocking bootloader on Nexus 5x is also a "safety" preparation for a future HW bootloop, you might be able to use one of the existing (temporary) fixes to boot the phone with problematic CPU cores disabled.
nigga99 said:
bug
---------- Post added at 02:32 PM ---------- Previous post was at 02:31 PM ----------
How did you suceed to boot twrp with locked bootloader? I'm trying to make as you wrote, but when I try it fails:
downloading 'boot . img'...
OKAY [ 0.429s]
booting...
FAILED (remote: unlock device to use this command)
I neither want to unlock my bootloader.
Click to expand...
Click to collapse
_mysiak_ said:
You can't use fastboot commands with locked bootloader, the only way is to unlock the bootloader. Unlocking bootloader on Nexus 5x is also a "safety" preparation for a future HW bootloop, you might be able to use one of the existing (temporary) fixes to boot the phone with problematic CPU cores disabled.
Click to expand...
Click to collapse
Thank you much. So I'll unlock the bootloader then, I didn't know that it is possible to OTA with unlocked bootloader..
nigga99 said:
Thank you much. So I'll unlock the bootloader then, I didn't know that it is possible to OTA with unlocked bootloader..
Click to expand...
Click to collapse
As long as you keep stock recovery and unmodified system, you can apply OTA. It doesn't check bootloader status or systemless modifications (Magisk, Supersu,..). Just please keep in mind that bootloader unlocking will wipe all your data.
Here is a guide how to install the OTA without computer and keep magisk:
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
mika91 said:
Hi,
With the new version of Magisk v14.0, it seems that neither root neither custom recovery are necessary!
So if I just unlock the bootloader and install Magisk, my device should reveice the OTA right?
Anyone tried and succeeded?
I'm currently using PureNexus, but i'd prefer to go back on stock with OTA. (and edit /etc/host with magisk)
Thanks
Click to expand...
Click to collapse
Dear Sir,
I have nexus 5x and it has bootloop issue. " https://www.youtube.com/watch?v=VyebEZMwVsQ " With the help of this video i repaired my phone. Thanks for one who created the Patched boot image.
I am not able to install any custom Kernel to my phone, if i install it wont boot up. Then i need to repatch the Patched boot image. Is there any soluction for this? I got any update to 8.1.0. Is it possible to update without any problem?
tomsonmathewv said:
Dear Sir,
I have nexus 5x and it has bootloop issue. " https://www.youtube.com/watch?v=VyebEZMwVsQ " With the help of this video i repaired my phone. Thanks for one who created the Patched boot image.
I am not able to install any custom Kernel to my phone, if i install it wont boot up. Then i need to repatch the Patched boot image. Is there any soluction for this? I got any update to 8.1.0. Is it possible to update without any problem?
Click to expand...
Click to collapse
You're asking in a dead and wrong thread. However, this post has everything you need. You can also check out https://forum.xda-developers.com/nexus-5x/general/nexus-5x-bootloop-death-blod-andorid-t3683926.

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.

Does root remain after updating to PIE?

I am currently on oreo with magisk and gcam, if i update the software will anything happen? etc lost of data or loss of root? Thanks!
Heimex said:
I am currently on oreo with magisk and gcam, if i update the software will anything happen? etc lost of data or loss of root? Thanks!
Click to expand...
Click to collapse
If you have magisk and directly try to install OTA, even if you succeed you'll end up in bootloop. Be careful, you may lose all your data and read the guides in the forum carefully before doing anything.
marstonpear said:
If you have magisk and directly try to install OTA, even if you succeed you'll end up in bootloop. Be careful, you may lose all your data and read the guides in the forum carefully before doing anything.
Click to expand...
Click to collapse
Hi what are my options here?
I have done this guide https://forum.xda-developers.com/mi-a2-lite/how-to/guide-how-to-enable-camera2-api-t3851414 to enable the camera but i have not locked the bootloader. I would like to keep it root. So give my current condition, i cant update OTA beacuse it is asking me to update. Thanks!
Heimex said:
Hi what are my options here?
I have done this guide https://forum.xda-developers.com/mi-a2-lite/how-to/guide-how-to-enable-camera2-api-t3851414 to enable the camera but i have not locked the bootloader. I would like to keep it root. So give my current condition, i cant update OTA beacuse it is asking me to update. Thanks!
Click to expand...
Click to collapse
Since your bootloader is still unlocked you just need to remove magisk and flash the stock boot.img for your current version (flash it in both slots) and try to update, if the update fails you will need to also flash the system.img for your current version. After everything is done you will be able to easily root again by using a patched boot.img for 10.0.2.0.
Hakkinan said:
Since your bootloader is still unlocked you just need to remove magisk and flash the stock boot.img for your current version (flash it in both slots) and try to update, if the update fails you will need to also flash the system.img for your current version. After everything is done you will be able to easily root again by using a patched boot.img for 10.0.2.0.
Click to expand...
Click to collapse
alternatively, is it possible to lock my bootloader according to that guide above and uninstall magisk? and then update it OTA. Will this method work?
Heimex said:
alternatively, is it possible to lock my bootloader according to that guide above and uninstall magisk? and then update it OTA. Will this method work?
Click to expand...
Click to collapse
You can only lock your bootloader after restoring the tampered partitions (e.g. boot and system partitions), if you lock your bootloader without flashing those partitions you will get the famous "system has been destroyed" message.
Hakkinan said:
You can only lock your bootloader after restoring the tampered partitions (e.g. boot and system partitions), if you lock your bootloader without flashing those partitions you will get the famous "system has been destroyed" message.
Click to expand...
Click to collapse
oh, sorry i am very new to this. Is there a guide available for the method that you have mentioned?
You can use this guide to download, extract and flash only the exact partitions that i've said.
Hakkinan said:
You can use this guide to download, extract and flash only the exact partitions that i've said.
Click to expand...
Click to collapse
Hi, so these are from my understanding (please correct me if i m wrong)
1) V9.6.11.0.ODLMIFF OTA link: https://android.googleapis.com/packa...73ab1909e7.zip (i am going to assume this is my original boot img that i am supposed to flash in the 2 partitions)
2) Run commands via ADB shell : fastboot flash boot_a boot.img
fastboot flash boot_b boot.img (Do i have to keep my volume button pressed down throughout till reboot?) - to prevent data loss
3) Will my data be lost if i do this?
4) and finally update to PIE as normal?
You can check what version you are running in settings, since that's the latest image for Oreo i would assume that this is the correct one for you.
Those are the right commands and you don't need to hold any key, this is only required while unlocking your bootloader.
You won't lose any data and if the update fail you will also need to run: "fastboot flash system_a system.img" and "fastboot flash system_b system.img".
Hakkinan said:
You can check what version you are running in settings, since that's the latest image for Oreo i would assume that this is the correct one for you.
Those are the right commands and you don't need to hold any key, this is only required while unlocking your bootloader.
You won't lose any data and if the update fail you will also need to run: "fastboot flash system_a system.img" and "fastboot flash system_b system.img".
Click to expand...
Click to collapse
Ok noted, i cant seem to extract the payload.bin despite following the guide. It is quite hard to understand.. escpecially with python? I have installed python and everytime i run the commands on the guide it just doesnt work..
edit 1: i am able to do it. Will try it now.
i have followed your instructions to flashing the boot img for A and B. as shown https://imgur.com/L7lw3qW
however the bootloader remains unlocked, do i still update OTA to pie?
Yes, it doesn't manter if tour bootloader is unlocked ir not, the only factor is if your partitions are tampered with or not.

Categories

Resources