Rooting L29 with srk tool. - Mate 8 Q&A, Help & Troubleshooting

Hi guys. I was able to get TWRP on my mate 8 as per you tube instruction and i got as far as getting ready for ADB sideload however the portal then says error: device not found. This is supposed to be the final step before the SuperSu logo appears in my app draw.
I remember on my s4 i had to wipe the dalvik cache. Do i need to do the same here?

ubermorgan said:
Hi guys. I was able to get TWRP on my mate 8 as per you tube instruction and i got as far as getting ready for ADB sideload however the portal then says error: device not found. This is supposed to be the final step before the SuperSu logo appears in my app draw.
I remember on my s4 i had to wipe the dalvik cache. Do i need to do the same here?
Click to expand...
Click to collapse
Root
Step by Step Guide
1.
Download files (supersu_v2.79_sr2.zip)
1.3- http://www.sillanwali.com/downloads/supersu_v2.79_sr2.zip
2-
Copy this file (supersu_v2.79_sr2.zip) into SD Card
3-
Download TWRP Recovery 3.0.2-0
http://sillanwali.com/downloads/twrp-3.0.2-0-next.img
4-
adb devices
adb reboot bootloader
fastboot flash recovery (PATH-TO)\twrp-3.0.2-0-next.img
5-
5.1- Reboot your phone to TWRP then choose Wipe > format > type Yes
5.2- Back again, then wipe (data, dalvik, cache, system)
5.3- Don't reboot after install
6-
Install
6.1- supersu_v2.79_sr2.zip (Don't reboot after install)
7-
Hope rooted
8-

Related

Obtain full root for huawei mate 8?

I used the twrp (latest version 2016-12-01 ) from this site: http://forum.xda-developers.com/honor-8/how-to/twrp-nougat-edition-t3504140
I then follow the instruction to flash the superuser.zip and install the superuser apk. However I can only have partial root that is I can use an apk that requires root but I cannot cut and paste in the system partition. Any body has an idea to achieve full root which is suggested by the website?
[email protected] said:
I used the twrp (latest version 2016-12-01 ) from this site: http://forum.xda-developers.com/honor-8/how-to/twrp-nougat-edition-t3504140
I then follow the instruction to flash the superuser.zip and install the superuser apk. However I can only have partial root that is I can use an apk that requires root but I cannot cut and paste in the system partition. Any body has an idea to achieve full root which is suggested by the website?
Click to expand...
Click to collapse
Root
Step by Step Guide
1.
Download files (supersu_v2.79_sr2.zip)
1.3- http://www.sillanwali.com/downloads/supersu_v2.79_sr2.zip
2-
Copy this file (supersu_v2.79_sr2.zip) into SD Card
3-
Download TWRP Recovery 3.0.2-0
http://sillanwali.com/downloads/twrp-3.0.2-0-next.img
4-
adb devices
adb reboot bootloader
fastboot flash recovery (PATH-TO)\twrp-3.0.2-0-next.img
5-
5.1- Reboot your phone to TWRP then choose Wipe > format > type Yes
5.2- Back again, then wipe (data, dalvik, cache, system)
5.3- Don't reboot after install
6-
Install
6.1- supersu_v2.79_sr2.zip (Don't reboot after install)
7-
Hope rooted
8-

[Guide] ROM install

/*
* I am not responsible for bricked devices, dead SD cards,
*thermonuclear war,
or the current economic crisis caused by you following these
directions.
*YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I willlaugh at you.
*/
**********************************************
I have readed lot about how to flash custom ROM or stock ROM on Android device readed some comments that many people wiped their internal storage while installing ROM.
i found a Very Safe and easy way to do this.
First of all you need these things.
1.Philz Touch recovery. OR TWRP.
For Your device
2.Flashify app from Play store
https://play.google.com/store/apps/details?id=com.cgollner.flashify
(For 1time process)
If you have PC then skip 2nd.
3.Only for PC users
https://forum.xda-developers.com/showthread.php?t=2588979
If you have ADB installed skip this also.
After downloading follow my steps.
***********************
*Mobile users NO PC*
***********************
1. Place Your ROM in Sdcard .
Flash the downloaded philz touch recovery.img OR TWRP recovery with flashify to recovery partition..>
[Caution:->Do this carefully it can harm device if you didn't flashed right partition]
2.Boot to recovery.
3.Select Clean to install new ROM. (For Philz)
For TWRP :-> Click Wipe , Advanced wipe and Select Dalvik Cache, System, Data and Cache then swipe to wipe..
Wait for completing...
4. Select install zip and select install from external sdcard.
5. Find your ROM and flash.
if you want to install Gapps.
Flash the zip file of gapps after installation of ROM .
Done
**********************************************
*****************
*For PC USERS *
*****************
1.Download ADB and fastboot drivers.
(link is given above only for Windows)
if you are using linux you can find adb and fastboot in software manager App.
And
Philz Touch Recovery.img Or TWRP recovery.img
Place in a folder and open that folder press
Shift and Right click and select open in CMD. (Without selecting anything ((click on empty place inside folder)))
2.Open CMD / terminal.
Type:-> "adb reboot bootloader"
Without quotes abd Press Enter.
[Remember device connected with usb and usb debugging turned on)
3. Type :-> " fastboot flash recovery 'Name of your recovery"
in my case it is recovery.img
So example:-> "fastboot flash recovery recovery.img"
Without quotes and Press enter.
Flashing done..
(You can skip this step if you don't want to install Custom recovery in your phone.
Simply follow 4th step)
4. Type:-> fastboot boot recovery.img
Phone will boot into Recovery.
5.Select Clean to install new ROM. (For Philz)
For TWRP :-> Click Wipe , Advanced wipe and Select Dalvik Cache, System, Data and Cache then swipe to wipe..
Wait for completing...
6.Select install and select install form external sdcard.
Choose ROM and it will flash.
if you want to install Gapps.
Flash the zip file of gapps after installation of ROM .
Needed Any Further Help feel free to comment below.
And
if you find it useful Press Thanks button.
Credits:
@Snoop05 for ADB
@cgollner for Flashify.
Very nice guide
But i have a doubt :/
How philz will work for every smartphone?
sohamsen said:
Very nice guide
But i have a doubt :/
How philz will work for every smartphone?
Click to expand...
Click to collapse
It is available for almost every phone i think.
Just need to search.
@[email protected] said:
It is available for almost every phone i think.
Just need to search.
Click to expand...
Click to collapse
i have 3 phone but no one have philz
sohamsen said:
i have 3 phone but no one have philz
Click to expand...
Click to collapse
Thread Updated for TWRP

[Guide] Step by Step Installation of Android Pie Custom Roms

Step by Step Installation of/Upgrade to Android Pie Custom Roms
Following this guide, you will lose all your data if haven't backed it up yet!!
Also NO USING GSI PIE!!!
Requirements:
- Twrp is already installed.
What you need:
- LineageosTWRP (Attached to thread)
- Custom Rom (can be found here)
- Open Gapps (Pico or Nano)
Only if Root is wanted: Chose either of them
Magisk(Recommended) or SuperSU
- A brain and a body
- The Knowledge that you will wipe your phone by doing this. Be Warned.
Installation:
1. Backup all the files that you have either by copying them to a usb drive ,a micro SD or your computer.
2. Check that all files are copied successfully and can be opened or viewed.
( Some apps have a cloud synchonisation feature, use it if you have it as an option since it is really helpful!)
3. Now, get your preferred rom, gapps and if wanted, your root method ready, also unzip the twrp file aswell.
Copy them to your micro SD.
4. Boot into twrp via adb or by using some app(root needed).
In Twrp, go into wipe option, then select change file system. Change file System to ext4.
4.1 Now use Twrp Reboot-Menu Option to reboot into recovery(twrp) again.
4.2 Wipe system, data, cache and dalvik-cache partitions using the Wipe option
5. Go into Install Option and Press on "Install IMG" , select pietwrp image and flash it. (The name should be lineagerecovery.img or something if downloaded via telegram)
(If you don't have it yet and are in the Lenovo P2 Telegram group, type #pietwrp in chat and make sure to safe it to your download folder. Otherwise it's also attached to this thread.)
6. Reboot back to recovery like you did in step 4.1.
7. Now install your rom and gapps.
8. Wipe cache and then reboot .
9. Setup your phone and Enjoy.
( For Root, reboot to recovery. Flash your Root Method, wipe cache and reboot)
Enjoy and thank your Devs
FAQ
Q: Instructions unclear, phone stuck in bootloop
A: Either do this:
Download this folder and use one of the two ".bat" files. Boot into Bootloader via Volume Down and Power Button. --
It will flash S048 Firmware of our Lenovo P2, after the flash-process is finished it will boot up on its own. Recommended: Do all the ota updates via ota app.
Or: Boot into bootloader, via adb cmd prompt use: fastboot boot lineagerecovery.img , then use reboot menu to reboot into twrp. Clean Wipe phone(Wipe system,data, cache and dalvik-cache Partitions) and try flashing your Rom etc. again.
Q: Instructions unclear, hardbricked my phone!!
A: Thaat shouldn't have happened. Did you screw up somewhere?...
Luckily you backed up your most important files!

Question LineageOS: "Can't load Android System" on first boot.

My new Xiaomi Poco X3 Pro is showing an error screen after some time, like in this post:
https://forum.xda-developers.com/t/cant-load-android-system-lineageos.4314035/
It reads "Can't load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device"
This happened so far:
I just unlocked the boot loader of my new phone after week of waiting.
I followed the official lineage instructions to install the OS: https://wiki.lineageos.org/devices/vayu/install
Everything worked including the sideloading via db.
I downloaded those two files for the LineageOS-Site:
- Recovery via fastboot: lineage-18.1-20211203-recovery-vayu.img (recovery works, I can still boot into recovery)
- System via adb: lineage-18.1-20211203-nightly-vayu-signed.zip
I also added Gapps via adb: "open_gapps-arm64-11.0-nano-20211204.zip"
Both adb transfers exited successfully.
After the first error screen
- I tapped Try again,
- When the error occurred again, I tapped "Factory data reset," but the error still occurred. The phone is new, no user data is on the phone.
- I booted into recovery and reset all the data I could. When I tap "Format system partition" it throws an error "E: Failed to open /dev/block/dm-0: No such file or directory. System wipe failed."
- Then I repeated the adb sideload. The error occurs again.
- I removed the SIM card, as someone in the forum suggested this could be a problem source. The error still occurs.
What can I do now?
----
Update [2021-12-05 Sun 20:09]
It seems to be a Problem with the GApps Version.
What I did Try so far is:
- Install 03-12-LOS and latest GApps via LOS recovery (didn't work)
- Install 03-12-LOS and latest GApps via TWRP recovery (didn't work)
- install LOS Build from 26-11-2021 without GApps (works)
- Install LOS Build from 26-11-2021 with latest GApps (didn't work)
- Install LOS Build form 26-11-2021 with GApps from 25-11-2021 (works)
Just use TWRP, flash ROM and AFTER flashing ROM Format Data where you have to type "yes". (Format, not Wipe)
Xiaomi Poco X3 Pro
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
Thanks for the Idea. At the moment it has not solved the problem.
This is what I did:
- Flash TWRP
Code:
fastboot flash recovery TWRP-3.5.2-vayu-Nebrassy-2.img
- copy lineage-18.1-20211203-nightly-vayu-signed.zip and "open_gapps-arm64-11.0-nano-20211204.zip" to the Poco device
- install via "install" option, wipe cache at the end of installation
- Format files (via "Wipe" -> "Format Data" -> type "yes")
- Reboot
After some time of the animated Lineage OS logo, the phone reboots into TWRP.
To me this seems very similar to the Lineage recovery before.
Any ideas what could be wrong?
You probably wiped System or Vendor partition or something, you are not supposed to do that.
Most likely you have to reflash MIUI now first. Make sure it's atleast version 12.5.X.X.
Flashing instructions are really simple, this apply to all ROM's.
FIRST INSTALL?:
Remove any fingerprint, PIN, or password in MIUI
Unlock the bootloader
Transfer ROM to internal storage
Install any suitable recovery
Flash ROM zip file
Do a data wipe in recovery (format data)
Reboot to the system, wait and enjoy
FLASHING UPDATES?:
Download via OTA Updater and let it automatically install; OR
Download an update, transfer to internal/external storage (always check file sha256)
Flash ROM zip and reboot.
Do not wipe anything else or add any additional steps. (maybe except Gapps if ROM doesn't have them included)
ps.
In first post there is no mention if you did Format Data or not and when you did it. Like i said before - you have to Formata DATA AFTER flashing ROM . Not before.
This happened so far:
I just unlocked the boot loader of my new phone after week of waiting.
I followed the official lineage instructions to install the OS: https://wiki.lineageos.org/devices/vayu/install
Everything worked including the sideloading via db.
I downloaded those two files for the LineageOS-Site:
- Recovery via fastboot: lineage-18.1-20211203-recovery-vayu.img (recovery works, I can still boot into recovery)
- System via adb: lineage-18.1-20211203-nightly-vayu-signed.zip
I also added Gapps via adb: "open_gapps-arm64-11.0-nano-20211204.zip"
Both adb transfers exited successfully.
Click to expand...
Click to collapse
k3lcior said:
In first post there is no mention if you did Format Data or not and when you did it. Like i said before - you have to Formata DATA AFTER flashing ROM . Not before.
Click to expand...
Click to collapse
I followed the LOS Install Guide: https://wiki.lineageos.org/devices/vayu/install But this procedure does not seem to bee the cause (see below).
Download the LineageOS installation package that you would like to install or build the package yourself.
Optionally, download an application package add-on such as Google Apps (use the arm64 architecture).
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. When Xiaomi/POCO/Redmi splash appears, release Power and keep pressed Volume Up until recovery appears.
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.
Click to expand...
Click to collapse
Okay so this is what I did (the part that works):
- I downloaded the latest possible stock ROM from https://www.xda-developers.com/down...ut-several-xiaomi-redmi-mi-poco-devices/#vayu The fastboot ROM is more than 5GB.
- Extract the file "vayu_eea_global_images_V12.5.3.0.RJUEUXM_20211015.0000.00_11.0_eea_05cc38de43.tgz"
- then connect the phone via USB cable in fastboot mode and:
Bash:
cd ~/Downloads/vayu_eea_global_images_V12.5.3.0.RJUEUXM_20211015.0000.00_11.0_eea
/bin/bash ./flash_all.sh
- The default MIUI starts flawless, as it dit the first time I turned on the phone. So far so good.
What didn't work:
1. I installed the LOS Recovery again and flashed the OS and Gapps. Only after that I did step 3 - formating. The result ist the same bootloop as in the beginning.
2. I flashed the stock MIUI ROM again (which woks fine). Then I flashed TWRP, transfered the OS and GApps file and installed. I did not wipe anything, just used "format data" like above.
In both cases the OS does not start. After a while displaying the LOS-logo the phone reboots to recovery.
What did work:
I downloaded lineage-18.1-20211126-nightly-vayu-signed.zip, one version before the latest verion and the corresponding recovery lineage-18.1-20211126-recovery-vayu.img
I flashed only the OS, and no GApps -- and it launched successfully. Installing with the latest GApps failed again.
Install older gapp, not all gapp is compatible

OP7Pro not recognized by Windows in FastBoot mode

Phone OS: OxygenOS 11 EU
PC OS: Windows 11 x64
I'm trying to unlock the bootloader so that I could debloat my phone, install some magisk modules, and GCam.
While ADB normally sees my phone without issues, it's not recognized in Fastboot mode. In the Devices Manager window, the phone is shown as a generic Android device with the yellow warning sign (only during Fastboot, correctly detected as OP7Pro otherwise).
I tried installing ADB from multiple sources, and even used mauronofrio's Tool All In One to no avail. The guides to unlock bootloader don't make any mentions of this issue, and online I've only managed to find very old unsolved threads for other phones.
So, your system doesn't recognize the phone in fastboot mode ?
Did you tried to uninstall the device in the device manager, then plug it back ?
draentor said:
So, your system doesn't recognize the phone in fastboot mode ?
Did you tried to uninstall the device in the device manager, then plug it back ?
Click to expand...
Click to collapse
Good news, not sure why but today it was recognized, and installing TWRP and Magisk seemed to go smoothly.
I now have another question: this post (from 2019) mentions that I should've not installed Magisk the way I did.
I did the following:
1. unlock bootloader via Tool All In One
2. update OxygenOS via the notification I received, then reboot
3. install TWRP via Tool All In One
4. install Magisk via the TWRP menu and app (using the recommended choice)
What instead the guide says is: after TWRP and Magisk installed, update without rebooting, then install TWRP A/B Retention Script, then install Magisk to Inactive Slot and not the recommended Direct Install.
Could I have issues of any kinds, maybe update related, with these premises? If yes, what can I do to fix them?
Nevermind, phone's dead now. I will open another thread about it.
I think this guide is outdated.
That's what worked for me (Read everything before beginning) :
Unlock the bootloader
Update to the last OxygenOS version
Use Oxygen Updater app to be really up-to-date
Install TWRP
To do so, get the latest TWRP .img file here : https://twrp.me/oneplus/oneplus7pro.html
Get the latest twrp-installer.zip file too
It's ready for Android 11, maybe Android 12, I didn't tried
Don't forget to check "Developer options" in system settings
With your phone plugged in your computer, use adb commands and reboot to fastboot with "adb reboot bootloader"
Then, load TWRP with "fastboot boot twrp.img". Of course, you need to put the latest TWRP image file previously downloaded in the same folder and rename it "twrp.img"
In TWRP, go to Advanced then press "Flash Current TWRP"
Done !
Then, follow those instructions :
Wipe -> Factory Reset + : Wipe Data, System, Cache and Dalvik Cache
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
Reboot to recovery
Install -> Magisk
Reboot -> System
Install -> Whathever you want
Reboot -> System
draentor said:
I think this guide is outdated.
That's what worked for me (Read everything before beginning) :
Unlock the bootloader
Update to the last OxygenOS version
Use Oxygen Updater app to be really up-to-date
Install TWRP
To do so, get the latest TWRP .img file here : https://twrp.me/oneplus/oneplus7pro.html
Get the latest twrp-installer.zip file too
It's ready for Android 11, maybe Android 12, I didn't tried
Don't forget to check "Developer options" in system settings
With your phone plugged in your computer, use adb commands and reboot to fastboot with "adb reboot bootloader"
Then, load TWRP with "fastboot boot twrp.img". Of course, you need to put the latest TWRP image file previously downloaded in the same folder and rename it "twrp.img"
In TWRP, go to Advanced then press "Flash Current TWRP"
Done !
Then, follow those instructions :
Wipe -> Factory Reset + : Wipe Data, System, Cache and Dalvik Cache
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
Reboot to recovery
Install -> Magisk
Reboot -> System
Install -> Whathever you want
Reboot -> System
Click to expand...
Click to collapse
Thanks, I'll save it for next time. Unfortunately the phone's dead and I'm not sure how I got there, nor how or if I can recover it. I made a thread here https://forum.xda-developers.com/t/op7pro-dead-black-screen-wont-turn-on.4387537/

Categories

Resources