How to unlock bootloader,Flash TWRP recovery In Huawei GR5 mini / Huawei P9 lite - Android Q&A, Help & Troubleshooting

I am not responsible if your device gets bricked or gets any other damage.Proceed on your own caution.
This is only for Huawei GR5 mini & P9 lite.
This might not work on EMUI 5.0
If you want to install a custom recovery then follow these steps:
At first you need proper drivers on your device
# Download ADB drivers on your pc and unzip it to any drive:
https://mega.nz/#!pfplUJ5J
#You need to have TWRP recovery file.Link is below:
https://mega.nz/#!tLAUEDqI
#Supersu.zip file :
https://mega.nz/#!BKI3XYQL
You also need to unlock your bootloader to flash a custom recovery image.
-To unlock your bootloader first you need to get your Unlock Bootloader code.So go to:
https://emui.huawei.com/en/plugin.php?id=unlock&mod=unlock&action=apply
-Login with your Huawei ID.If you don't have one then create it.
-Click on Download tab at the top of the screen.You will be redirected to a new window.Select Unlock Bootloader tab below the search tab.
-Agree to the agreement.Provide all the information and copy the bootloader code to a file on your pc.
Unlocking Bootloader
Be aware that after you boot unlock your device it will do a factory reset.So do a backup using HiSuite.You should Know how to do that :good:
-First allow USB debugging mode in developer options.Also allow the device to be OEM unlocked in developer options.
-Go to the adb folder that you downloaded from above link and unzipped .Press shift and right click your mouse.You should see Open command window here option.Select it.Connect your device to the pc
-Type
Code:
adb devices
This should show your device Id.If your device is not detected try installing proper drivers.
-If your device is detected then type
Code:
adb reboot bootloader
This will boot your device to a window with white background and android like logo.
-Type
Code:
fastboot oem unlock 2222222222222222
Here replace 2222222222222222 with your boot unlock code.
-The device will prompt you to abort the process unless you don't want to.Select Unlock bootloader Anyway
Now your device will factory reset itself and you will have your bootloader Unlocked.Now you can flash TWRP recovery
Flash TWRP recovery
-Download and Extract TWRP from the link provided above
-Put TWRP.img file in the adb folder.Connect your device to pc.
-Type
Code:
adb reboot bootloader
This will boot your device in fastboot.
In fastboot,if your device is unlocked it will show phone unlocked FRP unlocked in red letters.
-Now type
Code:
fastboot flash recovery TWRP.img
-
Code:
fastboot reboot-bootloader
Now remove the usb connector from pc and press the power button till your device turns off.Just as it turns off Hold the power button + Vol. Up button at the same time till your device loads bootloader.This will boot your device into TWRP recovery.
Congratulations!!:laugh:
Change your language
Now if the language is in chinese or any other language follow these steps:
-Go to Settings marked by red in the main menu:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-Go to Language tab also marked by red:
-Select English
If you want to revert to stock recovery then you can just flash STOCK.img file
Root your device
To root your device you need supersu.zip file
Download it from link provided above.
-Copy the SuperSu.zip file to your sdcard.
-Boot into TWRP. (Power + Vol. Up)
-Select Install.
-Find supersu.zip file and select it.
-Swipe to confirm.
You are now rooted.
If you want to install custom roms,visit these pages:
https://forum.xda-developers.com/huawei-p9lite/development/unofficial-huawei-p9-lite-t3540493/page12#post71806235
https://forum.xda-developers.com/huawei-p9lite/development/6-0-1-aospa-paranoid-android-huawei-p9-t3544790
http://www.meticulus.co.vu/p/downloads_2.html

You know some root method for the GT3 or is the same as the GR5 mini method
Enviado desde mi HUAWEI NMO-L23 usando XDA Forums Pro.

rmoso said:
You know some root method for the GT3 or is the same as the GR5 mini method
Enviado desde mi HUAWEI NMO-L23 usando XDA Forums Pro.
Click to expand...
Click to collapse
Might be same.You can try at your own risk

ashishkafle said:
Might be same.You can try at your own risk
Click to expand...
Click to collapse
key MEGA ? are you kidding me ?

Huawei Gr5 mini, can not install supersu?
ashishkafle said:
I am not responsible if your device gets bricked or gets any other damage.Proceed on your own caution.
This is only for Huawei GR5 mini & P9 lite.
This might not work on EMUI 5.0
If you want to install a custom recovery then follow these steps:
At first you need proper drivers on your device
# Download ADB drivers on your pc and unzip it to any drive:
https://mega.nz/#!pfplUJ5J
#You need to have TWRP recovery file.Link is below:
https://mega.nz/#!tLAUEDqI
#Supersu.zip file :
https://mega.nz/#!BKI3XYQL
You also need to unlock your bootloader to flash a custom recovery image.
-To unlock your bootloader first you need to get your Unlock Bootloader code.So go to:
https://emui.huawei.com/en/plugin.php?id=unlock&mod=unlock&action=apply
-Login with your Huawei ID.If you don't have one then create it.
-Click on Download tab at the top of the screen.You will be redirected to a new window.Select Unlock Bootloader tab below the search tab.
-Agree to the agreement.Provide all the information and copy the bootloader code to a file on your pc.
Unlocking Bootloader
Be aware that after you boot unlock your device it will do a factory reset.So do a backup using HiSuite.You should Know how to do that :good:
-First allow USB debugging mode in developer options.Also allow the device to be OEM unlocked in developer options.
-Go to the adb folder that you downloaded from above link and unzipped .Press shift and right click your mouse.You should see Open command window here option.Select it.Connect your device to the pc
-Type
Code:
adb devices
This should show your device Id.If your device is not detected try installing proper drivers.
-If your device is detected then type
Code:
adb reboot bootloader
This will boot your device to a window with white background and android like logo.
-Type
Code:
fastboot oem unlock 2222222222222222
Here replace 2222222222222222 with your boot unlock code.
-The device will prompt you to abort the process unless you don't want to.Select Unlock bootloader Anyway
Now your device will factory reset itself and you will have your bootloader Unlocked.Now you can flash TWRP recovery
Flash TWRP recovery
-Download and Extract TWRP from the link provided above
-Put TWRP.img file in the adb folder.Connect your device to pc.
-Type
Code:
adb reboot bootloader
This will boot your device in fastboot.
In fastboot,if your device is unlocked it will show phone unlocked FRP unlocked in red letters.
-Now type
Code:
fastboot flash recovery TWRP.img
-
Code:
fastboot reboot-bootloader
Now remove the usb connector from pc and press the power button till your device turns off.Just as it turns off Hold the power button + Vol. Up button at the same time till your device loads bootloader.This will boot your device into TWRP recovery.
Congratulations!!:laugh:
Change your language
Now if the language is in chinese or any other language follow these steps:
-Go to Settings marked by red in the main menu:
-Go to Language tab also marked by red:
-Select English
If you want to revert to stock recovery then you can just flash STOCK.img file
Root your device
To root your device you need supersu.zip file
Download it from link provided above.
-Copy the SuperSu.zip file to your sdcard.
-Boot into TWRP. (Power + Vol. Up)
-Select Install.
-Find supersu.zip file and select it.
-Swipe to confirm.
You are now rooted.
If you want to install custom roms,visit these pages:
https://forum.xda-developers.com/huawei-p9lite/development/unofficial-huawei-p9-lite-t3540493/page12#post71806235
https://forum.xda-developers.com/huawei-p9lite/development/6-0-1-aospa-paranoid-android-huawei-p9-t3544790
http://www.meticulus.co.vu/p/downloads_2.html
Click to expand...
Click to collapse
I have unlock bootloader, completed install twpr, so after instal Supersu, reboot my phone, so Supersu icon dont appear on my screen.
Can you help me?

Whats is the download link decryption key please

steve gats said:
Whats is the download link decryption key please
Click to expand...
Click to collapse
For adb : https://mega.nz/#!pfplUJ5J!DxhLg8Qng3pAn8hdIRW-Afkpe46kC9z5F3daDJO6CDM
For stock recovery image : https://mega.nz/#!5OQF0CjK!-hVldwybHDasBXSx5JdDpXtR1X7weQbo3z0PNW5XtLc
Supersu : https://mega.nz/#!BKI3XYQL!sagih6787ZyJouGQCH0XiCkLopfskkZD88o1YM0OcfM
TWRP : https://mega.nz/#!tLAUEDqI!c6n1GF3aaf0HYshVg_YtUWrk-60z8LcIuX0Vwe-Ajeg

Hoang Hieu said:
I have unlock bootloader, completed install twpr, so after instal Supersu, reboot my phone, so Supersu icon dont appear on my screen.
Can you help me?
Click to expand...
Click to collapse
SuperSu isn't listed in menu list or what? You won't see a superSu logo when the device boots.

ashishkafle said:
For adb : https://mega.nz/#!pfplUJ5J!DxhLg8Qng3pAn8hdIRW-Afkpe46kC9z5F3daDJO6CDM
For stock recovery image : https://mega.nz/#!5OQF0CjK!-hVldwybHDasBXSx5JdDpXtR1X7weQbo3z0PNW5XtLc
Supersu : https://mega.nz/#!BKI3XYQL!sagih6787ZyJouGQCH0XiCkLopfskkZD88o1YM0OcfM
TWRP : https://mega.nz/#!tLAUEDqI!c6n1GF3aaf0HYshVg_YtUWrk-60z8LcIuX0Vwe-Ajeg
Click to expand...
Click to collapse
Can you upload them again please.
Thank you

Related

Advice for creating recovery partition...please!

Hey....bought a refurbished bootloader unlocked Ultra 6806 on latest software, ...and my old tried and tru efforts at getting TWRP fail apparently because I lack the recovery partition.
Can anyone direct me to a kernel/.img link that would do that for me.
Am I asking the right question?!
Thanks
I think you mean c6806
If bootloader is unlocked. Cool
Just flash kitkat ftf with flashtool. And do dual recovery.
Or just try philz recovery try flashing it with rashr
Flash 4.4 correct? Still couldn't install TWRP on rooted kitkat. 'lack of recovery partition'.
Trying to implement this (http://forum.xda-developers.com/xpe...de-root-z-ultra-stock-lollipop-5-0-2-t3094094).
Kingo fails every time on Lollipop).
RealityFails said:
I think you mean c6806
If bootloader is unlocked. Cool
Just flash kitkat ftf with flashtool. And do dual recovery.
Or just try philz recovery try flashing it with rashr
Click to expand...
Click to collapse
Which one is the best to install for sm-910t?
rockky said:
Flash 4.4 correct? Still couldn't install TWRP on rooted kitkat. 'lack of recovery partition'.
Trying to implement this (http://forum.xda-developers.com/xpe...de-root-z-ultra-stock-lollipop-5-0-2-t3094094).
Kingo fails every time on Lollipop).
Click to expand...
Click to collapse
As stated if your bootloader is already unlocked. Use flash tool and flash a kitkat ftf. Once on kitkat root it, and install nuts dual recovery.
Or you could just root and flash .IMG with recovery which will do all the work.
---------- Post added at 07:06 PM ---------- Previous post was at 07:02 PM ----------
When on kitkat and rooted use rashr and flash this
https://drive.google.com/file/d/0BxU1aYWczltnYV9FSUpoT1lwMkU/view?usp=docslist_api
Its 100% safe but I'm not responsible if you mess up.
RealityFails said:
As stated if your bootloader is already unlocked. Use flash tool and flash a kitkat ftf. Once on kitkat root it, and install nuts dual recovery.
Or you could just root and flash .IMG with recovery which will do all the work.
---------- Post added at 07:06 PM ---------- Previous post was at 07:02 PM ----------
When on kitkat and rooted use rashr and flash this
https://drive.google.com/file/d/0BxU1aYWczltnYV9FSUpoT1lwMkU/view?usp=docslist_api
Its 100% safe but I'm not responsible if you mess up.
Click to expand...
Click to collapse
Why are you sending him back to KK? If his bootloader is unlocked, he can just go ahead and flash TWRP/CWM/Philz through fastboot/flashtool/QuickIMG/installer. That's the whole point of having an unlocked bootloader.
If you are on the latest software, then the recovery partition should already be there.
The problem that you are probably experiencing is in finding a recovery that is compatible with the partition, the TWRP images over at TWRP.ME are not.
Saatvik Shukla has posted a build of TWRP 2.8.7.0 which can be installed into the partition using the FASTBOOT FLASH RECOVERY [filename] method and can be found at the link below.
http://forum.xda-developers.com/xperia-z-ultra/development/twrp-togari-t3197082
Thanks all
Gonna get at it
Thanks...all went well.root 5.1.1 plus TWRP.
only problem is no write privileges on files.
QUOTE=pTeronaut;63520115]If you are on the latest software, then the recovery partition should already be there.
The problem that you are probably experiencing is in finding a recovery that is compatible with the partition, the TWRP images over at TWRP.ME are not.
Saatvik Shukla has posted a build of TWRP 2.8.7.0 which can be installed into the partition using the FASTBOOT FLASH RECOVERY [filename] method and can be found at the link below.
http://forum.xda-developers.com/xperia-z-ultra/development/twrp-togari-t3197082[/QUOTE]
Re-flash supersu.zip
can any one help i am still unable to get loaded the recovery on my xperia , i tried almost every method can any one please tell me step by step to install recovery , i have tried ,
1, dual recovery batch file ( i got error adb server out dated)
2, rashr is flashing but when i rebooted to recovery nothing... just phone restart normally ... ( i used the above file .img to flash via rashr)
3, when tried twrp manager ( its giving me error that no recovery partition )
4, tried through via adb ( the adb giving error that server is out dated)
i am on ****ing windows 10 where cannot access the fast boot .....
can any one please help me , my phone is on FTF .108 --> properly Rooted .. --> fully stock rooted ( kitkat ) unlocked boot loader....
what am i doing wrong or i am out of luck.... ( i have rooted my htc magic perfected spl via gold card method whcih was crazingly hard back in 2009 but xperia z is beating the **** out of me in 2016 )
isnt there any way for me to install recovery so that i an flash rooted marshmallow on my xperia z ultra...
pintspin said:
can any one help i am still unable to get loaded the recovery on my xperia , i tried almost every method can any one please tell me step by step to install recovery , i have tried ,
1, dual recovery batch file ( i got error adb server out dated)
2, rashr is flashing but when i rebooted to recovery nothing... just phone restart normally ... ( i used the above file .img to flash via rashr)
3, when tried twrp manager ( its giving me error that no recovery partition )
4, tried through via adb ( the adb giving error that server is out dated)
i am on ****ing windows 10 where cannot access the fast boot .....
can any one please help me , my phone is on FTF .108 --> properly Rooted .. --> fully stock rooted ( kitkat ) unlocked boot loader....
what am i doing wrong or i am out of luck.... ( i have rooted my htc magic perfected spl via gold card method whcih was crazingly hard back in 2009 but xperia z is beating the **** out of me in 2016 )
isnt there any way for me to install recovery so that i an flash rooted marshmallow on my xperia z ultra...
Click to expand...
Click to collapse
Type these commands in cmd. Run CMD as Administrator:
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
Then "Disable driver signature enforcement" on boot:
Press windows key + R
Type: shutdown -o -r -t 0
Press enter
You will now be here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Select "Troubleshoot"
Select “Advanced options” and “Startup Settings”.
Click "Restart":
When computer reboots and you see this screen: Press F7
Install systemwide ADB
http://forum.xda-developers.com/showthread.php?p=48915118
Direct link: www14.zippyshare.com/d/ufYG71o0/4863743/adb-setup-1.4.3.exe
Download Flashtool driver pack:
http://doomlord.xperia-files.com/download.php?dlid=Rmxhc2h0b29sLWRyaXZlcnMtMS41LTIwMTQwMzE4
Run the file
Scroll down the list until you se Xperia Z ultra C68xx whatever your model is.
Install the drivers
Done
On your desktop: Hold "shift" and right click. Choose Open Command Window here
In the CMD type: Fastboot.
IF you see a list of text describing what fastboot is. You are fine.
Boot the phone to fastboot: Power off, Hold Volume up and plugin the usb cable and blue LED should be constant on.
I only needed to turn testsigning off, then reboot on my W10 pro computer. YMMV.
pTeronaut said:
I only needed to turn testsigning off, then reboot on my W10 pro computer. YMMV.
Click to expand...
Click to collapse
Rebooting again resets testsigning to on. The driver will continue to work as long as the system don't touch the driver.
If windows trying to update the drivers from microsoft driver catalogue. It might happen that this driver will be forced off because the lack of a signature.
A trigger for this would be if you plugin in a new hardware such as a brand new usb stick or hard disk or whatever you might want to use.
SÜPERUSER said:
Type these commands in cmd. Run CMD as Administrator:
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
Then "Disable driver signature enforcement" on boot:
Press windows key + R
Type: shutdown -o -r -t 0
Press enter
You will now be here:
Select "Troubleshoot"
Select “Advanced options” and “Startup Settings”.
Click "Restart":
When computer reboots and you see this screen: Press F7
Install systemwide ADB
http://forum.xda-developers.com/showthread.php?p=48915118
Direct link: www14.zippyshare.com/d/ufYG71o0/4863743/adb-setup-1.4.3.exe
Download Flashtool driver pack:
http://doomlord.xperia-files.com/download.php?dlid=Rmxhc2h0b29sLWRyaXZlcnMtMS41LTIwMTQwMzE4
Run the file
Scroll down the list until you se Xperia Z ultra C68xx whatever your model is.
Install the drivers
Done
On your desktop: Hold "shift" and right click. Choose Open Command Window here
In the CMD type: Fastboot.
IF you see a list of text describing what fastboot is. You are fine.
Boot the phone to fastboot: Power off, Hold Volume up and plugin the usb cable and blue LED should be constant on.
Click to expand...
Click to collapse
thank you so much SU, finally i got the access of fastboot to my xzu on win 10 i am back in business ... and finally got the recovery loaded as well...
amazing guide...!! you are like AMON_RA ... to me... .
regadrs
pint

Lenovo K6 Power - Rooting,Unlock bootloader,Install TWRP and use Xposed on Stock Rom

Hello guys,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lenovo K6 Power k33a42 is a new device released by lenovo on Dec 16, as many of you have bought this phone i would like to share how this phone can be rooted and how we can install twrp on this phone
UNLOCKING BOOT-LOADER : ​
Unlocking your Android phones bootloader is the first step to rooting and flashing custom ROMs
WARNING: UNLOCKING YOUR BOOTLOADER VOIDS YOUR WARRANTY.PROCEED AT YOUR OWN RISK.
NOTE: Unlocking the bootloader will Wipe/ factory reset your device, and will delete all personal data from your device such as apps, photos, messages, and settings.
INSTRUCTIONS:
1) Download the View attachment K33a42_bootloader_unlock.zip and View attachment drivers.zip zip archive attached here
2) On your device, turn on USB debugging and allow OEMunlocking
if there is no developer options in settings - go to the " Settings -> Device Info " and click on the item " Build number " until the display shows that " you became a developer
go back to the device's main Settings menu and go to Developer options tick "OEM unlocking " and " USB debugging'
when you connect for the first time using debugging via USB you will need to confirm the RSA fingerprint key to trust the PC
3) Extract the Unlock bootloader zip to any directory
4) Connect the device (K33a42) to a PC via USB-cable.
5. Go to the extracted directory and execute Unlock_Bootloader.bat and expect to complete the unlock process.
after the process is completed the boot loader will be unlocked.
INSTALLING TWRP :​
1) Extract the folder View attachment TWRP.zip archive to any drive.
2)On your phone, turn on USB debugging (drivers for ADB must be installed).
Connect your phone to a PC via usb-cable
3) You have 2 options either you can try the TWRP (only run one time) or else you can replace the stock recovery with twrp
Use accordingly
run Flash-TWRP.bat (replace stock recovery) or
run Run-TWRP.bat (for one time only).
4) Wait for the phone to boot into TWRP.
You can now disconnect the usb-cord.
Installation is finished.
and also at the starting of the twrp recovery the language will be in Russian because the creator in SevenMaxs from lenovo-forums.ru (I'am looking forward to modify default lang to english)
here is the video which shows how to do so
https://www.youtube.com/watch?v=KOhR92EKD7A
* In the stock firmware Secure Boot is enabled by default , so any changes made to the system partiton lead to a bootloop. Therefore, when you first start TWRP set the system mode to Read Only !
So in order to proceed we need to disable the secure booting in the kernel
Now to disable Secure Boot verification in the boot.img
1. Extract boot.img using twrp backup of boot partition
(you can use android image kitchen for extracting)
2. Make changes in the ramdisk \ default.prop file
change the following line:
ro.secure = 1
to
ro.secure = 0
3. repacked boot.img and flash into the device using twrp.
I know this part may be tough for some uses hence voila i have the secure boot disabled boot image , flash this to boot partition using twrp​
ROOTING​
Flashing SuperSU zip via TWRP Recovery
Download and transfer the View attachment SuperSU-v2.79-201612051815.zip zip file attached here to your device’s storage.
Boot your device into TWRP recovery.
Tap on Install and select the SuperSU zip file that you transferred to your device in Step 1.
After selecting the .zip file, do Swipe to Confirm Flash on the bottom of screen to begin the flashing process.
Once SuperSU is flashed, you’ll get Reboot System option, select it.
Congratulations! Your device should be rooted now. Look for the SuperSU app in app drawer.
INSTALLING XPOSED​
1)Install the xposed installer from playstore
2)Open the installer, and tap the ‘Install/Update’ button. Don’t worry if the app seems stuck here; just give it time and it will eventually show you a Superuser request, which you should make sure to grant and click reboot
Almost all the modules should work on stock rom as it is close to Aosp
modules which i can confirm to work are
: Android N-ify
; Gravitybox
: Bootmanager
:fingers-crossed:
All the credit goes to SevenMaxs
for creating the recovery
and for his guides for proper installation
orginal forum thread
please thank him :fingers-crossed::fingers-crossed:
Thank you
Thankzz.
Sent from my CAM-L21 using Tapatalk
When i try to flash SuperSU-v2.79-201612051815.zip, it says that is corrupt. What can i do ?
Plzz, fix it
Sent from my CAM-L21 using Tapatalk
I found another SuperSU, that worked for me: https://www.androidfilehost.com/?fid=385035244224405790
Thank you again ArjunrambZ and SevenMaxs!
LoverOfLife said:
When i try to flash SuperSU-v2.79-201612051815.zip, it says that is corrupt. What can i do ?
Click to expand...
Click to collapse
i will take a look at the zip, may be upload problem, well any super su zip will work,, this was thw one that i tried
Sent from my VIBE K6 Power using XDA Labs
LoverOfLife said:
Thank you
Click to expand...
Click to collapse
taweng7 said:
Thankzz.
Click to expand...
Click to collapse
taweng7 said:
Plzz, fix it
Click to expand...
Click to collapse
will uplpad today
also the secure boot disabled boot img also
:laugh:
Sent from my VIBE K6 Power using XDA Labs
I'll add adb/fastboot instruction for those who don't use Windows:
Of course you have to enable developer options, adb debug, oem unlocking
UNLOCK:
> adb reboot bootloader
> fastboot oem device-info
> fastboot oem unlock-go
(and... yes you can lock it back with fastboot oem lock)
TWRP:
> fastboot flash recovery /path/to/your/twrp.img
> fastboot oem reboot-recovery
BOOT.IMG:
> fastboot flash boot /path/to/your/ro.secure=0/boot.img
> fastboot reboot
P.S. (to manipulate your boot.img and change the default.prop file under linux you can use abootimg)
ilfastidio said:
I'll add adb/fastboot instruction for those who don't use Windows:
Of course you have to enable developer options, adb debug, oem unlocking
UNLOCK:
> adb reboot bootloader
> fastboot oem device-info
> fastboot oem unlock-go
(and... yes you can lock it back with fastboot oem lock)
TWRP:
> fastboot flash recovery /path/to/your/twrp.img
> fastboot oem reboot-recovery
BOOT.IMG:
> fastboot flash boot /path/to/your/ro.secure=0/boot.img
> fastboot reboot
P.S. (to manipulate your boot.img and change the default.prop file under linux you can use abootimg)
Click to expand...
Click to collapse
you seems to be working on linux, do u have the sources synced on ur pc?
meanwhile i will update the thread to include these to the topic
Sent from my VIBE K6 Power using XDA Labs
ArjunrambZ said:
you seems to be working on linux, do u have the sources synced on ur pc?
meanwhile i will update the thread to include these to the topic
Click to expand...
Click to collapse
I only work on linux. Windows is evil.
I have a big question: why in the default.prop of the russian TWRP.img there is ro.secure=1 ?????
It should be set to 0.
I guess that's why I bricked exactly after flashing Supersu from TWRP...
ilfastidio said:
I only work on linux. Windows is evil.
I have a big question: why in the default.prop of the russian TWRP.img there is ro.secure=1 ?????
It should be set to 0.
I guess that's why I bricked exactly after flashing Supersu from TWRP...
Click to expand...
Click to collapse
as far as i know.. having ro.secure enabled on recovery wont have any effect as we aren't changing anything withrespect to recovery.. but when we change something in system partition with a secure boot enabled kernel we get boot loops
Sent from my VIBE K6 Power using XDA Labs
ArjunrambZ said:
as far as i know.. having ro.secure enabled on recovery wont have any effect as we aren't changing anything withrespect to recovery.. but when we change something in system partition with a secure boot enabled kernel we get boot loops
Click to expand...
Click to collapse
Certainly I'm wrong, but I keep on not understanding. When you are in recovery mode you are loading the kernel inside the recovery and, of course, the default.prop inside the recovery.
That means that you flashed, or are going to flash, a boot.img with ro.secure=0 but running a recovery with ro.secure=1
From recovery you can manipulate system... but with a r0.secure=1 . I don't see a sense in this. But I'm a donkey.
I checked other official releases of twrp, and they all have ro.secure=0 in the default.prop
ilfastidio said:
Certainly I'm wrong, but I keep on not understanding. When you are in recovery mode you are loading the kernel inside the recovery and, of course, the default.prop inside the recovery.
That means that you flashed, or are going to flash, a boot.img with ro.secure=0 but running a recovery with ro.secure=1
From recovery you can manipulate system... but with a r0.secure=1 . I don't see a sense in this. But I'm a donkey.
I checked other official releases of twrp, and they all have ro.secure=0 in the default.prop
Click to expand...
Click to collapse
okay, firstly im also ain't any expert, but i get your point
i dont know why secure boot was enabled in recovery
but when i tried the procedure as explained in the thread i didnt get bootloop ( keeping secure boot in recovery) hence i came to the conclusion that it may not be valid.,, and i may be completely wrong here, if some one could clarify if would be better
Sent from my VIBE K6 Power using XDA Labs
Rooting panasonic eluga note 32GB ROM
Please provide rooting mothod for panasonic eluga note
amnv said:
Please provide rooting mothod for panasonic eluga note
Click to expand...
Click to collapse
sorry i dont have the device
Sent from my VIBE K6 Power using XDA Labs
ArjunrambZ said:
sorry i dont have the device
Sent from my VIBE K6 Power using XDA Labs
Click to expand...
Click to collapse
Its ok brother.. Thanks
My wifi is not working can someone help me? I did this process and after that it's not working
foRgaK said:
My wifi is not working can someone help me? I did this process and after that it's not working
Click to expand...
Click to collapse
i havent experienced this issue
but if u can attach a log file of turning on tbw wifi ,we can help
Sent from my VIBE K6 Power using XDA Labs

[GUIDE][ROOT] Install Magisk without Root and Recovery

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
NFO:
This Method does not need Root or Custom Recovery
You must have a Stock Boot Image Dump and you also have to be able to flash the patched Boot Image via Fastboot Mode
Requirements:
• ADB and Fastboot on your PC (for example Tiny ADB & Fastboot) [Thread]
•.Stock boot.img of your Device (extract File from Factory Image)
• Magisk Manager [Thread]
• Internet connection
• Bootloader unlocked [Thread]
• Developer Options > USB Debugging [Thread]
Patching the Stock boot.img:
1. Copy the Stock boot.img to your Phone's internal Storage
2. Install Magisk Manager
3. Launch Magisk Manager App
4. If prompted to install Magisk select "No Thanks"
5. Press Install > Install > Patch Boot Image File and select your Stock boot.img
6. Magisk Manager should begin downloading the Magisk.zip file used for patching
7. Once download is complete Magisk Manager will automatically patch the Boot File
Flashing the patched boot.img:
1. Install Tiny ADB & Fastboot
2. Connect the Phone to the PC via USB Cord
3. Copy the patched_boot.img from your Phone's internal Storage to C:\Program Files (x86)\Tiny ADB and Fastboot\
4. Unlock the Bootloader
5. Enable USB Debugging
6. Open Tiny ADB and Fastboot
7. Boot into Fastboot Mode, type:
Code:
adb reboot bootloader
8. Flash the patched_boot.img, type:
Code:
fastboot devices
fastboot flash boot patched_boot.img
fastboot reboot
9. Open Magisk Manager and verify Root
10. Enjoy
K3V1991 said:
​
NFO:
This Method does not need Root or Custom Recovery
You must have a Stock Boot Image Dump and you also have to be able to flash the patched Boot Image via Fastboot Mode
Requirements:
1. ADB and Fastboot on your PC (for example Minimal ADB and Fastboot) [Thread]
2. Stock boot.img of your Device (extract File from Factory Image)
3. Magisk Manager [Thread]
4. Internet connection
5. Bootloader unlocked [Thread]
6. Developer Options > USB Debugging [Thread]
Patching the Stock boot.img:
1. Copy the Stock boot.img to your Phone's internal Storage
2. Install Magisk Manager
3. Launch Magisk Manager App
4. If prompted to install Magisk select "No Thanks"
5. Press Install > Install > Patch Boot Image File and select your Stock boot.img
6. Magisk Manager should begin downloading the Magisk.zip file used for patching
7. Once download is complete Magisk Manager will automatically patch the Boot File
Flashing the patched boot.img:
1. Install Minimal ADB and Fastboot
2. Connect the Phone to the PC via USB Cord
3. Copy the patched_boot.img from your Phone's internal Storage to C:\Program Files (x86)\Minimal ADB and Fastboot\
4. Unlock the Bootloader
5. Enable USB Debugging
6. Open Minimal ADB and Fastboot
7. Boot into Fastboot Mode, type:
Code:
adb reboot bootloader
7. Flash the patched_boot.img
Code:
fastboot devices
fastboot flash boot patched_boot.img
fastboot reboot
8. Open Magisk Manager and verify Root
9. Enjoy
___
Click to expand...
Click to collapse
I know I can try this method and see what happens and then report back if needed, but I don't think that this is a thing safe enough to test, so I'll ask before I try: is this for any LG G6 version? Does it work on the H870S (Dual SIMs version)?
P.S: I don't think that this version even has the possibility to unlock the bootloader
Also, isn't a phone that has an unlockable bootloader also rootable?
Mohammad Jebreeni said:
I know I can try this method and see what happens and then report back if needed, but I don't think that this is a thing safe enough to test, so I'll ask before I try: is this for any LG G6 version? Does it work on the H870S (Dual SIMs version)?
P.S: I don't think that this version even has the possibility to unlock the bootloader
Also, isn't a phone that has an unlockable bootloader also rootable?
Click to expand...
Click to collapse
Only for H870, H872 & US997
Please file Stock boot.img?
My device: G6 H872 _H87220d
K3V1991 said:
Only for H870, H872 & US997
Click to expand...
Click to collapse
By saying H870, that means any H870 (like one from Central America) or just the same EU H870 that is listed on the LG Developers page?
CAlbertSM said:
By saying H870, that means any H870 (like one from Central America) or just the same EU H870 that is listed on the LG Developers page?
Click to expand...
Click to collapse
The unlockable G6's
Does this wipe the phone?
EndlessAbyss said:
Does this wipe the phone?
Click to expand...
Click to collapse
Fastboot OEM Unlock will Factory Reset the Phone
K3V1991 said:
Only for H870, H872 & US997
Click to expand...
Click to collapse
Will this work on T-Mobile version of LG G6(H872 TM)? Are you sure it will not do any damage to the phone like hard brick?
Imran5320xm said:
Will this work on T-Mobile version of LG G6(H872 TM)? Are you sure it will not do any damage to the phone like hard brick?
Click to expand...
Click to collapse
This does not work on H872 period.
You will get
writing 'boot'...
FAILED (remote: unknown command)
Does this work on the H871?
Hi, i did exactly what you explain in your post on my h870 with V30b-EUR and all worked fine. My phone is now rooted an i'm very happy. Thank you very much for your wonderfull work
leonlelion said:
Hi, i did exactly what you explain in your post on my h870 with V30b-EUR and all worked fine. My phone is now rooted an i'm very happy. Thank you very much for your wonderfull work
Click to expand...
Click to collapse
Could you tell me how did you get the boot.img file? @leonlelion
--Edit--
Nevermind I found it and rooted my device (H870-V30B-EUR) succesfully. If anyone needs it it's inside the ZIP file: https://forum.xda-developers.com/lg-g6/development/rom-lg-h870-eu-30b-rom-t4007979
leonlelion said:
Hi, i did exactly what you explain in your post on my h870 with V30b-EUR and all worked fine. My phone is now rooted an i'm very happy. Thank you very much for your wonderfull work
Click to expand...
Click to collapse
Me too !! :good:
The simplest, best method!
The simplest, best method! The boot.img I got it from this archive: https://drive.google.com/file/d/1Xxoa2KdcoPTPriZL1IZh056J9rQ7NFiV/view?usp=sharing . My phone: H870 with V30b.
Does this work with H872?
I am interested if this will work on my h870s since i am one of the lucky ones who got 'official' bootloader unlock key, and my bootloader is unlocked now. And if it does when i flash this will i be able to safely modify system files.
Thanks a lot! root easy and fast, I used the boot.img file above, fortunately I had an unlocked bootloader
Would anyone know where to find the boot.img for the US997?
Do you have a modem i could just flash with this h873?

[Guide][root][unlockloader][roms][twrp][tutorial] for huawei devices

Disclaimer: Im new and i'm not that good at english,im not responsible for bricked devices.
So for the past month i've been through a journey of tryng to break through huawei's draconian security and i can proudly say that i finally did it, i installed a custom rom on my FIG-LX1
I've read a lot of sources and it all seems to be all over the place so i'm going to try and make this as easy as i can for you.
1.First of all ,if you want a custom rom go to OpenKirin ( https://openkirin.net/devices/) and choose your rom and see if you need to upgrade/downgrade your emui and also if your device is supported.
2.For the bootloader you have two options
a) The paid one, use sigma key or dc unlocker
b) The free and geeky one. Attention you'll need to open up your phone, which is honestly not that hard and you can pay a pro to do this for you for like 5 bucks .This method is pretty straight forward:\
1.Go to Potato NV (https://github.com/mashed-potatoes/PotatoNV) , see if your device is supported and download the software
2. Now comes the hard part, you need to take off the back cover of your device. Shut down your phone, then take your phone cover off, then you need to search google for your test point. For example for me it was Fig lx1 test point (device model+ test point)
3. When you located the test point youll need to short it with the motherboard shield. In their tutorial they said that youll need to solder it ,but it can be done easier. You need just a very small piece of wire and someone to plug the device
Here's how the process looks:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4.Open potato nv software. Now you need another person to help you. Hold the phone , touch the test point and the motherboard shield and keep them shorted while the other person plugs the usb cable from pc to phone. U should hear the connection sound from windows and the CHARGING LOGO SHOULDN'T APPEAR.
5. Now you can stop shorting the test point and the shield, but keep the phone connected to PC.
6. In potato Nv choose your cpu and unlock bootloader
7.Now your bootloader is unlocked ,if any problems you still have the bootloader unlock code
Back to roms and twrp .
Now you should see this messagge appear:
This menu is very important for changing the rom ,cause every rom needs emui 9 or 8 to be installed and from here you can reinstall the stock emui after flashing custom rom but we'll talk about it later.
Now for flashing twrp.
Boot the device into bootloader mode(shut down ,then hold power+ volume down until huawei appears on screen or Better and easier and useful for later download android platform tools from SDK Platform Tools release notes | Android Developers (developer.android.com/studio/releases/platform-tools).Plug the device into pc,enable usb debugging . Open a cmd and open the folder location .Example
Code:
cd C:\Users\USerName\Desktop\platform-tools
and type
Code:
adb reboot bootloader
. You should see that your bootloader is unlocked
Download android platform tools (developer.android.com/studio/releases/platform-tools)
Now find your twrp img for your phone , rename it to recovery.img and put it in in the platform-tools folder
Now in terminal open cmd in platform tools folder and type
Code:
fastboot flash recovery_ramdisk recovery.img
Now you have twrp installed
Note that you wont use it neither for rooting with magisk neither with installing custom rom.
Installing custom rom:
Open kirin has a very good user guide and i suggest you to follow it: OpenKirin (openkirin.net/user_guide/openkirin-rom-installation-instructions/)
Btw their rom works with twrp
But it doesn't say how to switch your rom or go back to stock for switching you need to be on stock)
1.Go to Android File Host - Free file hosting for Android developers ( androidfilehost.com) and search for your build number (eg: FIG-LX1) and download a firmware emui 8 or 9.
2.Open the zip ,go to software and from here youll see a folder called dload, extract it somewhere
3.Now youll need a sdcard in your phone,plug your phone into pc and put the dload folder on your sdcard (it should bee on the root directory ,basically dont put it in another folder in sdcard)
3.You should've noticed already that every time you restart your phone there is a warning message sayng that your phone is unlocked( image above)
4.Press volume up for 3 seconds and it should take you to huawei recovery ,from here press wipe data and factory reset to kinda reinstall huawei recovery which youll use for dload
5.After wipe restart your phone ,press vol up + vol down + power until huawei logo to enter force update
6.Now wait for it to do its job and install emui.
*If it doesnt do anything , take the sd card out ,put it in another device ,open dload folder,find update.zip and put it on the sdcard instead of dload folder
7. To switch the rom repeat the steps from open kirin,note that if u had twrp youll need to install it again
Now the hardest part ,rooting...NOte that i tested root only on stock so your process can be diffrent but im not sure ,you cand try for other rom this process
For stock and no twrp:
1.Force update emui with dload method , needed for a recovery img.
2.On pc open dload folder ,open update.zip and extract UPDATE.APP
3.Now download huawei app extractor from here [TOOL] Huawei Update Extractor [UPDATED: v0.9.9.5] | OPEN-SOURCE LIBRARY | XDA Developers Forums (xda-developers.com) (forum.xda-developers.com/t/tool-huawei-update-extractor-updated-v0-9-9-5-open-source-library.2433454/)
4.Open the app and go to settings and untick every box you see
5.Now go to extract and extract the UPDATE.APP file
6.Now you should see a lot of nonsense,find recovery_ramdis.img ,left click it once, then right click for options and select extract selected
7. Now u should have a recovery_ramdis.img file.Move this file on your phone and install magisk manager.
8.Open magisk and press install in the tab with the mask(the first install button) tick the box with recovery mode, then select patch a file and select the recovery_ramdis.img file .Now it patches it. Then move the patched file to the pc again, to the platform tools folder
9.Enable usb debugging on the device and plug device to pc
10.Open cmd on pc and type
Code:
adb reboot bootloader
, or simply reboot to bootloader(shut down phone,then hold power + vol down until huawei logo appears)
11. In cmd type
Code:
fastboot flash recovery_ramdisk magisk_patched_yourfile.img
Dont forget to change the yourfile into your file name mine had something like this : jhfdU
12.Reboot your phone and voila u have root, if doesn't work go back to magisk press again install,tick recovery mode, but this time select direct install and this should resolve problems
Magisk official guide(kinda hard to understand) : Installation | Magisk (topjohnwu.github.io) (topjohnwu.github.io/Magisk/install.html#huawei)
Note that by this you'll remove your custom recovery .
IF U WANT TWRP i assume that you patch the twrp img file with magisk and flash i,t you can try it out and post your results or u can try to just flash twrp as is.
Hope i helped you !!

Development [ROM][12.1][OFFICIAL] ArrowOS 12.1 for OnePlus 9R [OOS12]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ArrowOS for OnePlus 9R (lemonades)​ABOUT​ArrowOS is an AOSP/CAF based project started with the aim of keeping things simple, clean and neat.
Website: https://arrowos.net
Telegram: Channel | TG Portal/Links
Github: https://github.com/ArrowOS
Code Review: review.arrowos.net
E-mail: arrowos.contact
PayPal: Donate to us
Blog: blog.arrowos.net
Checkout more documentation at (maintainership/contributing): Check this out
WHAT WORKS?​Almost everything.
Bugs: You tell me.
DOWNLOADS​Click here to Download
Tip: Select OEM -> Device, choose Arrow version, choose the build type: "GAPPS" or "VANILLA" to download.
INSTALLACTION​- Please note: Be sure that your phone is already OOS12 based !!!
- Download Recovery here
- Download script here
- Download ROM zip file.
- Reboot phone to Fastboot mode
Code: fastboot boot recovery.img
Install in ADB -> copy-partitions-20220613-signed.zip -> Advanced -> reboot to bootloader
fastboot boot recovery.img -> Factery Reset -> Install in ADB -> ROM.zip
- Reboot
INSTRUCTIONS​Read our blog article/post about:
* HOW-TO report a bug
* GAPPS and VANILLA variants
* Checking build integrity
ROM Source: https://github.com/ArrowOS
Kernel Source: https://github.com/ArrowOS-Devices/android_kernel_oneplus_sm8250
The download link seems broken. Also what firmware is ROM based on OOS 11 or 12 ?
With the kebab version should also work
ArrowOS - Downloads
Thanks for your work. Also I want to ask, should I use oos11 or oos12 firmware?
exthomeboy said:
With the kebab version should also work
ArrowOS - Downloads
Click to expand...
Click to collapse
I tried it, but it doesn't work.
slatera18 said:
The download link seems broken. Also what firmware is ROM based on OOS 11 or 12 ?
View attachment 5670887
Click to expand...
Click to collapse
Now it's possible, OOS 11
hiper25 said:
Now it's possible, OOS 11
Click to expand...
Click to collapse
Is also a version only for the 9R. Almost every other rom is flashable on the 8T and 9R, but not here
exthomeboy said:
Is also a version only for the 9R. Almost every other rom is flashable on the 8T and 9R, but not here
Click to expand...
Click to collapse
On my test 9R can't flash 8T ROM
They have to have to separate
hiper25 said:
Now it's possible, OOS 11
Click to expand...
Click to collapse
Yes able to download.
But there is an issue with mic volume when talking on calls. The other person hears feeble voice of me on call.
hiper25 said:
fastboot boot recovery.img
Click to expand...
Click to collapse
Isn't it the code supposed to be fastboot flash recovery <recovery_filename>.img
hiper25 said:
Reboot phone to Fastboot mode
Code: fastboot boot recovery.img
Install in ADB -> copy-partitions-20220613-signed.zip -> Advanced -> reboot to bootloader
fastboot boot recovery.img -> Factery Reset -> Install in ADB -> ROM.zip
- Reboot
Click to expand...
Click to collapse
I'm a newbie here, the last time I have installed a custom ROM on Asus phone over five years ago with lineage os.
Will I be successful if I follow below instructions, as your instructions above are short and suited for pros.
search
Install LineageOS on kebab​keyboard_arrow_left Back to the overview
warning
WARNING: These instructions only work if you follow every section and step precisely.
Do not continue after something fails!
Basic requirements​
Read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps!
Make sure your computer has adb and fastboot. Setup instructions can be found here.
Enable USB debugging on your device.
Make sure that your model is actually listed in the “Supported models” section here (exact match required!)
warning
WARNING: Before following these instructions please ensure that the device is currently using Android 12 firmware.
If the vendor provided multiple updates for that version, e.g. security updates, make sure you are on the latest!
If your current installation is newer or older than Android 12, please upgrade or downgrade to the required version before proceeding (guides can be found on the internet!).
Unlocking the bootloader​info_outline
NOTE: The steps below only need to be run once per device.
warning
WARNING: Unlocking the bootloader will erase all data on your device! Before proceeding, ensure the data you would like to retain is backed up to your PC and/or your Google account, or equivalent. Please note that OEM backup solutions like Samsung and Motorola backup may not be accessible from LineageOS once installed.
Enable OEM unlock in the Developer options under device Settings, if present.
Connect the device to your PC via USB.
On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloader
You can also boot into fastboot mode via a key combination:
With the device powered off, hold Volume Up + Volume Down + Power.
Once the device is in fastboot mode, verify your PC finds it by typing:
fastboot devices
If you don’t get any output or an error:
on Windows: make sure the device appears in the device manager without a triangle. Try other drivers until the command above works!
on Linux or macOS: If you see no permissions fastboot try running fastboot as root. When the output is empty, check your USB cable and port!
Now type the following command to unlock the bootloader:
fastboot oem unlock
info_outline
NOTE: At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader. Please take whatever actions the device asks you to to proceed.
If the device doesn’t automatically reboot, reboot it. It should now be unlocked.
Since the device resets completely, you will need to re-enable USB debugging to continue.
Flashing the dtbo partition​warning
WARNING: This platform requires the dtbo partition to be flashed for recovery to work properly, the process to do so is described below.
Download dtbo file from here. Download the file named dtbo.img from the directory named with the latest date.
Power off the device, and boot it into bootloader mode:
With the device powered off, hold Volume Up + Volume Down + Power.
Flash the downloaded image file to your device by typing (replace <dtbo> with the actual filename!):
fastboot flash dtbo <dtbo>.img
Installing a custom recovery using fastboot​
Download Lineage Recovery. Simply download the latest recovery file, named something like lineage-19.1-20220825-recovery-kebab.img.
Connect your device to your PC via USB.
On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloader
You can also boot into fastboot mode via a key combination:
With the device powered off, hold Volume Up + Volume Down + Power.
Once the device is in fastboot mode, verify your PC finds it by typing:
fastboot devices
If you don’t get any output or an error:
on Windows: make sure the device appears in the device manager without a triangle. Try other drivers until the command above works!
on Linux or macOS: If you see no permissions fastboot try running fastboot as root. When the output is empty, check your USB cable and port!
check
TIP: Some devices have buggy USB support while in bootloader mode, if you see fastboot hanging with no output when using commands such as fastboot getvar ..., fastboot boot ..., fastboot flash ... you may want to try a different USB port (preferably a USB Type-A 2.0 one) or a USB hub.
Flash recovery onto your device (replace <recovery_filename> with the actual filename!):
fastboot flash recovery <recovery_filename>.img
Now reboot into recovery to verify the installation.
Use the menu to navigate to and to select the Recovery option.
Ensuring all firmware partitions are consistent​info_outline
NOTE: The steps below only need to be run once per device.
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick. We can ensure none of that will happen by copying the contents of the active slot to the inactive slot.
To do this, sideload the copy-partitions-20220613-signed.zip package by doing the following:
Download the copy-partitions-20220613-signed.zip file from here. It should have a MD5 sum of 79f2f860830f023b7030c29bfbea7737 or a SHA-256 sum of 92f03b54dc029e9ca2d68858c14b649974838d73fdb006f9a07a503f2eddd2cd.
Sideload the copy-partitions-20220613-signed.zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload copy-partitions-20220613-signed.zip
info_outline
NOTE: The copy-partitions script was created by LineageOS developer erfanoabdi and filipepferraz
Now reboot to recovery by tapping “Advanced”, then “Reboot to recovery”.
Installing LineageOS from recovery​
Download the LineageOS installation package that you would like to install or build the package yourself.
(Optionally): If you want to install an application package add-on such as Google Apps (use the arm64 architecture), please read and follow the instructions on Google Apps page
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Down + Power.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
Return to the main menu.
Sideload the LineageOS .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: Normally, adb will report Total xfer: 1.00x, but in some cases, even if the process succeeds the output will stop at 47% and report adb: failed to read command: Success. In some cases it will report adb: failed to read command: No error or adb: failed to read command: Undefined error: 0 which is also fine.
(Optionally): If you want to install any add-ons, click Advanced, then Reboot to Recovery, then when your device reboots, click Apply Update, then Apply from ADB, then adb sideload filename.zip those packages in sequence.
info_outline
NOTE: Add-ons aren’t signed with LineageOS’s official key, and therefore when they are sideloaded, Lineage Recovery will present a screen that says Signature verification failed, this is expected, please click Continue.
info_outline
NOTE: If you want the Google Apps add-on on your device, you must follow this step before booting into LineageOS for the first time!
Once you have installed everything successfully, click the back arrow in the top left of the screen, then “Reboot system now”.
hiper25 said:
INSTALLACTION​- Please note: Be sure that your phone is already OOS12 based !!!
- Download Recovery here
- Download script here
- Download ROM zip file.
- Reboot phone to Fastboot mode
Code: fastboot boot recovery.img
Install in ADB -> copy-partitions-20220613-signed.zip -> Advanced -> reboot to bootloader
fastboot boot recovery.img -> Factery Reset -> Install in ADB -> ROM.zip
- Reboot
Click to expand...
Click to collapse
Newbie here.
Need instructions from unlocking the bootloader.
It took almost four hours to figure out and use MSM tool
Please do give me instructions from unlocking the bootloader

Categories

Resources