Alternative method of unlocking the bootloader - without code from HUAWEI - P8lite General

Unlocking the bootloader and rooting will expose you to a loss of warranty.
You do everything at your own risk.​
The method is to pull the unlock code from the phone. For this we will need root. You can only root for a blocked bootloader on Android 5.0. So:
1. If you do not have Android 5.0, do a downgrade.
How to go on Android 5.0 (downgrade):
1. Download Rollback and B170,
2. Unpack the rollback and upload update.app to the dload folder on your phone,
3. Turn off the phone, then hold vol +, vol- and power. The phone will install a rollback
4. Unpack B170 and put in the dload folder on your phone,
5. Turn off the phone, then hold vol +, vol- and power. The phone will install B170.
2. Root your phone with KingRoot,
3. Download Minimal ADB and fastboot, connect the phone in USB Debugging mode and start the ADB,
4. Enter the command:
Code:
adb shell
And then:
Code:
su -c "grep -m1 -aoE 'WVLOCK.{14}[0-9]{16}' /dev/block/mmcblk0p7 |grep -aoE '[0-9]{16}'"
You will receive the unlock code. Copy it.
5. Press ctrl + d and Enter:
Code:
adb reboot bootloader
6. Enter:
Code:
fastboot oem unlock ****************
(paste your code in place of the stars)
And that's it. You have the bootloader unlocked
Originally posted by Baron Rafau in forum.android. pl site​

Hi, i cannot get root on Lollipop, can you help me? I used last kingroot

hey man could u be more specific did u root ur mob using the app or pc version

I used Kingroot to Root my phone on EMUI 3.1, but I found that I can't flash anything in the "UNLOCKED" bootloader.
So I guess, we need to re-unlock it after getting Root by using Kingroot. Maybe we can use this way to get unlock code on a Rooted device:
Open terminal and type "su"
and type the following command one by one:
Code:
cd /storage/emulated/0
mkdir -p PartitionBackup
cd PartitionBackup
dd of=/storage/emulated/0/PartitionBackup/nvme if=/dev/block/platform/hi_mci.0/by-name/nvme
dd of=oeminfo if=/dev/block/platform/hi_mci.0/by-name/oeminfo
strings nvme | grep WVDEVID -B 1
The method comes from: https://blog.csdn.net/autohacker/article/details/50715639
Maybe you can try it.
Sent from my HUAWEI CHM-TL00H using XDA Labs

zhaozihanzzh said:
I used Kingroot to Root my phone on EMUI 3.1, but I found that I can't flash anything in the "UNLOCKED" bootloader.
So I guess, we need to re-unlock it after getting Root by using Kingroot. Maybe we can use this way to get unlock code on a Rooted device:
Open terminal and type "su"
and type the following command one by one:
Code:
cd /storage/emulated/0
mkdir -p PartitionBackup
cd PartitionBackup
dd of=/storage/emulated/0/PartitionBackup/nvme if=/dev/block/platform/hi_mci.0/by-name/nvme
dd of=oeminfo if=/dev/block/platform/hi_mci.0/by-name/oeminfo
strings nvme | grep WVDEVID -B 1
The method comes from: https://blog.csdn.net/autohacker/article/details/50715639
Maybe you can try it.
Sent from my HUAWEI CHM-TL00H using XDA Labs
Click to expand...
Click to collapse
How did you get those crtl, alt, etc.. stuff on terminal?

keikari said:
I used Kingroot to Root my phone on EMUI 3.1, but I found that I can't flash anything in the "UNLOCKED" bootloader.
So I guess, we need to re-unlock it after getting Root by using Kingroot. Maybe we can use this way to get unlock code on a Rooted device:
Open terminal and type "su"
and type the following command one by one:
How did you get those crtl, alt, etc.. stuff on terminal?
Click to expand...
Click to collapse
I use Termux. Open Termux and swipe from left to open the panel, then longpress the button "KEYBOARD".
Sent from my HUAWEI CHM-TL00H using XDA Labs

How to use that

did this method works?

Good post!, especially for those who didn't get their code in time. Goddamn it Huawei

JpegXguy said:
Good post!, especially for those who didn't get their code in time. Goddamn it Huawei
Click to expand...
Click to collapse
Then, does it works for you?

luxor100 said:
Then, does it works for you?
Click to expand...
Click to collapse
It should work...

Has anybody tried this on a P20/P20 Pro?

darkfligher said:
Has anybody tried this on a P20/P20 Pro?
Click to expand...
Click to collapse
The rom is for p8lite only

It works! Tried this method on P8 lite (ALE-L21). Thanks.

I confirm too this method to get my bootloader unlock code.
But i had "Software update error" when trying to boot and update with theses files, so i had to use update files from huaweifirmware and update from SD card and via *#*#2846579#*#*
Thanks
F*** Huawei , they replied my mail but refused to send me code ...

Can you please share links for the rollback and B170 firmware?I found the links i downgraded successfully but the su starting command is not responding any ideas?

@Nickkal
I've used links from this guide: https://mrniftaliyev.wordpress.com/...owngrade-to-android-5-0-from-marshmallow-6-0/
It's for dual SIM european version only.

falze said:
@Nickkal
I've used links from this guide: https://mrniftaliyev.wordpress.com/...owngrade-to-android-5-0-from-marshmallow-6-0/
It's for dual SIM european version only.
Click to expand...
Click to collapse
Dear falze thank you very much i found the correct files, but the su command isn't accepted at the cmd to fully unlock the bootloader

Get_bootloader_code.bat
Hi!
I read the post and is great.
To help i try to do a bat file to get it easy but i can´t try it... i brick phone screen last night :'( , and was already unlocked.
Can same one try it and tell if works? I have some doubts on adb line...
Thanks!
Unzip it and execute Get_bootloader_code.bat
.

Another way to get code!?
Hi!
I don´t know if will work but there it goes!
Still need to downgrade to Android 5!
Need rollback rom and B170 Full rom, you can get it from the links bellow:
Rollback rom:
https://mega.nz/#!fX4VVSBY!ITukaa58zBXATeABcyZR-5OFteomiy1MVZxz3NkXy-4
B170 Android 5:
https://mega.nz/#!7P5B3C5D!8nuH1XcDyPuhIqyRd0FsjDsqLigdrP1lrnGSXr6tJ3c
Need ROOT and ADB.
Create a folder in c:\ with name NVME
Enable debug mode
Use ADB and type adb shell
su
dd if=/dev/block/mmcblk0p7 of=/sdcard/NVME.img bs=4096
exit
adb pull /sdcard/NVME.img C:\NVME
you will get NVME.img on C:\NVME in PC
With a hexeditor open the image and check for WVLOCK , it will have a big number next, i think is bootloader unlock code.
My phone have screen broked but i boot on bootloader and try the code and it says:
FAILED ( remote: already fastboot unlocked )
So i think is the code!
What you say!?
.

Related

[ROOT][10-29-13]How to Manually Root the Nvidia Shield

Introduction
The following procedure will walk you through the step-by-step process for gaining root access on the Nvidia Shield.
Note: You must have an unlocked bootloader before you can proceed with this tutorial!
A tutorial on how to unlock your Shield's bootloader can be found here.
This tutorial also assumes how have the correct ADB and Fastboot drivers installed for your device, for a tutorial on how to install the ADB and Fastboot drivers for the Shield please look here.
Due to the nature of modifying devices system files the standard XDA disclaimer applies: I take no responsibility for bricked devices due to the following rooting procedure, no warranty express or implied is given, I will not be held responsible if you mess up your device by following this procedure!
Procedure
Before you begin please make sure to read and re-read the whole procedure, making sure you understand the directions.
1. Download the "Superuser-su.zip" file and the "roth-insecure-boot-63.img" file that are attached to this post. After you have downloaded the files, extract the contents of the "Superuser-su.zip" file which contains Superuser.apk and the su binary, and move them to your ADB and Fastboot folder on your computer. Also transfer the "roth-insecure-boot-63.img" to your computer's ADB and Fastboot folder.
MD5 Checksum for "roth-insecure-boot-63.img": F8BA5C48D0323D99E2A748C77BF647F6
2. Connect your Shield to your computer using your USB cable. For maximum reliability please connect the USB cable to a USB 2.0 port directly connected to the motherboard as USB ports on the front of a case panel or USB 3.0 ports can sometimes be unreliable.
3. Now that your Shield is connected to your computer make sure that "USB debugging" is enabled under the Developer Options section in the system settings menu (If the Developer Options section is hidden, go to the About Phone/About Tablet section of the system settings and then tap on the item that lists the Build number 7 times or until it says "You are now a developer" and the Developer Options section becomes visible in the system settings).
4. Open a command prompt window (cmd) in your ADB and Fastboot folder on your computer and issue the following commands (If you are new to using ADB and Fastboot I would recommend checking out this excellent guide to get you up and running):
Code:
adb reboot bootloader
Now that you are in fastboot mode let's make sure that the computer see's our device:
Code:
fastboot devices
If the computer see's our device then we can proceed, if it doesn't see your device make sure you are in fastboot mode and have the correct ADB and Fastboot drivers installed for the Shield.
Now we will be booting an insecure boot.img (ro.secure = 0) to our device to allow us to gain root acess:
Code:
fastboot boot roth-insecure-boot-63.img
After the insecure boot.img finishes flashing the device will automatically boot up using the insecure boot.img.
5.First we need to mount the /system partition as read/write so we can modify it:
Code:
adb shell
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /system
exit
6. Now we need to run the following commands to push the Superuser.apk and su binary to there correct positions and set the proper file permissions:
Code:
adb push su /system/xbin
adb push Superuser.apk /system/app
adb shell
chmod 6755 /system/xbin/su
chmod 644 /system/app/Superuser.apk
mount -o ro,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /system
sync
reboot
7. After the device reboots and power on into the Android Operating System you should see Koush's Superuser app in your app-drawer and you should be rooted. If you would like to verify root access you can download and run Root Checker Basic from the Play Store here. Enjoy!
Credits: Koush for his open source Superuser.apk and the su binary (https://github.com/koush/Superuser)
If users would like me to create a 1-click root process of this please let me know and I will do so .
If you are stuck with the rooting procedures I would recommend checking out this great video tutorial by wwjoshdew.
Alternatively the following works in almost one click (one fast boot, actually): https://github.com/linux-shield/shield-root
Gnurou said:
Alternatively the following works in almost one click (one fast boot, actually): https://github.com/linux-shield/shield-root
Click to expand...
Click to collapse
It's just whole unlocking thing and giving up your devices warranty. NVIIDA being able to decline your RMA if your fan goes out and the unit overheats. Or if the scree dies (for example). I'll do it, just gotta grow a pair first.
wwjoshdew said:
It's just whole unlocking thing and giving up your devices warranty. NVIIDA being able to decline your RMA if your fan goes out and the unit overheats. Or if the scree dies (for example). I'll do it, just gotta grow a pair first.
Click to expand...
Click to collapse
I did my RMA and nvidia sent me a new 1. So you should get your new shield b4 you send it back if you happen to root it and the screen dies.
This is a pretty complicated way of rooting. All I did was unlock the bootloader, flashed Clockworkmod Recovery, and then flashed the SuperSu zip with that. Rooted! As easy as a Nexus.
dark42 said:
This is a pretty complicated way of rooting. All I did was unlock the bootloader, flashed Clockworkmod Recovery, and then flashed the SuperSu zip with that. Rooted! As easy as a Nexus.
Click to expand...
Click to collapse
I hear yeah, this procedure is meant for those that really want to understand how the basic rooting process works and who want to gain experience manually performing these types of procedures .
Sent from my SCH-I535 using xda premium
shimp208 said:
I hear yeah, this procedure is meant for those that really want to understand how the basic rooting process works and who want to gain experience manually performing these types of procedures .
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
This method is actually nearly the same. It's a bootable self-contained image (like recovery is) that mounts the correct partitions, installs the necessary bits, and is done.
I haven't done this yet ... but could you also provide instructions on how to revert? I ask this as it would be nice to know that there is a back-out plan.
Kris
i00 said:
I haven't done this yet ... but could you also provide instructions on how to revert? I ask this as it would be nice to know that there is a back-out plan.
Kris
Click to expand...
Click to collapse
To unroot your Shield since you are only temporarily booting an insecure boot image rather then flashing it, if you run the following commands in either ADB shell or terminal emulator will unroot your device:
Code:
$ su
# mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /system
# rm -f /system/app/Superuser.apk
# rm -f /system/xbin/su
# mount -o ro,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /system
Then after you have entered those commands reboot your device and you'll be unrooted.
shimp208 said:
To unroot your Shield since you are only temporarily booting an insecure boot image rather then flashing it, if you run the following commands in either ADB shell or terminal emulator will unroot your device:
Code:
$ su
# mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /system
# rm -f /system/app/Superuser.apk
# rm -f /system/xbin/su
# mount -o ro,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /system
Then after you have entered those commands reboot your device and you'll be unrooted.
Click to expand...
Click to collapse
OK ... well lets say after rooting we install an app that uses root access to stuff up your device ... how do you restore the original image?
Kris
i00 said:
OK ... well lets say after rooting we install an app that uses root access to stuff up your device ... how do you restore the original image?
Kris
Click to expand...
Click to collapse
The original factory restore image that you can be flashed to your shield to return it to stock can be downloaded from here, along with the factory image extraction instructions (Under the open source resources section), as well as the factory image flashing instructions.
Does anyone if the root stop you from updating the device like GS4?
Simply rooting does not. I was rooted and updated. You lose root but can just reroot it like the first time. I am not sure if you have a custom recovery installed though. I haven't used one on the shield.
I am using the window 8 and I can't get the command prompt to work either directly open or open it as administrator to type the command. Any idea what I am doing wrong?
Shimp208. Can you create a video on how to unlock and root the shield?
Sent from my SHIELD using Tapatalk 2
wrc1010 said:
I am using the window 8 and I can't get the command prompt to work either directly open or open it as administrator to type the command. Any idea what I am doing wrong?
Shimp208. Can you create a video on how to unlock and root the shield?
Sent from my SHIELD using Tapatalk 2
Click to expand...
Click to collapse
When you mean you can't get the command prompt to directly open what do you mean by that? Does command prompt not open or run at all when you open it? Do you have ADB and Fastboot installed and the files listed for this procedure in your ADB and Fastboot directory? The Shield I rooted was my friends and he's on vacation right now so I unfortunately can't make a video right now , but I'll still be happy to try and help you through the procedure.
Finally success root my shield
oh god
wrc1010 said:
Finally success root my shield
Click to expand...
Click to collapse
I want that feeling soooo bad. The drivers aren't installing on my computer correctly. I can boot my shield via command but when I enter adb devices nothing shows up even though in device manager the device shows up as Nvidia Shield ADB.
Sad times, its tough as its so new everyone is still trying to figure it out and if the drivers don't install first time there aren't any problem solving threads etc
gogul1 said:
I want that feeling soooo bad. The drivers aren't installing on my computer correctly. I can boot my shield via command but when I enter adb devices nothing shows up even though in device manager the device shows up as Nvidia Shield ADB.
Sad times, its tough as its so new everyone is still trying to figure it out and if the drivers don't install first time there aren't any problem solving threads etc
Click to expand...
Click to collapse
What drivers are you trying to install and which version of Windows are you running?
Drivers
shimp208 said:
What drivers are you trying to install and which version of Windows are you running?
Click to expand...
Click to collapse
The ADB drivers and I'm running windows 7 64bit
Been trying to install them all day but I can bootload into shield but it can't pick up devices so can't root it.
gogul1 said:
The ADB drivers and I'm running windows 7 64bit
Been trying to install them all day but I can bootload into shield but it can't pick up devices so can't root it.
Click to expand...
Click to collapse
Did you try and install these drivers? Make sure to uninstall your old driver installation first.

Install a recovery without a pc?

Hi everyone, I searched but didn't found but if any thread out there about installing a recovery without a pc(rooted with towelroot and installed super su and busybox and recovery-less). I know it's irrelevant but if there is a way to do it, it'll be super-awesome!!
As far as I know a PC is needed. This because we cant flash anything without a PC or a recovery..
Perhaps a developer can create a script that can be used with a script thing on the phone?
~~ Regards
This might be a revolutionary idea, @MrSteve555 introduced flash tool on the go and if this also happens, we might not need pc every time.
pranavthombare said:
This might be a revolutionary idea, @MrSteve555 introduced flash tool on the go and if this also happens, we might not need pc every time.
Click to expand...
Click to collapse
It's easy .
Download the latest recovery-flashable recovery package from dssmex.
Extract /data/local/tmp from the zip to same path on your phone.
Then run these commands from terminal:
Code:
chmod 755 data/local/tmp/step1.sh
sh /data/local/tmp/step1.sh
This way you can do pretty much everything without PC
You are awesome buddy. Thanks
Help
MrSteve555 said:
It's easy .
Download the latest recovery-flashable recovery package from dssmex.
Extract /data/local/tmp from the zip to same path on your phone.
Then run these commands from terminal:
Code:
chmod 755 data/local/tmp/step1.sh
sh /data/local/tmp/step1.sh
This way you can do pretty much everything without PC
Click to expand...
Click to collapse
Can you plz elaborate extraction step..
i m confused,which file to be extracted to the phone at which path!
You can use terminal emulator. .or mobile uncle tool to install recovery without pc
Press thanks
pradip.108 said:
You can use terminal emulator. .or mobile uncle tool to install recovery without pc
Press thanks
Click to expand...
Click to collapse
Actually the recovery partition is missing (I think so.).
How to use terminal emulator for installation ??
Then, download a terminal emulator onto your
and fire it up.
Once in the terminal emulator, type the following
commands one line at a time, waiting after each
line for the appropriate prompt:
$ su
# dd if=/sdcard/recovery.img of=/dev/block/
mmcblk0p18
# reboot recovery
Your device should then boot into the custom
recovery, which serves as immediate confirmation
that you did things correctly.
Sent from my GT-I8262 using XDA Free mobile app
No need to type commands just use root browser and just click on step1.sh and execute script as root and its done.
Hit " Thanks " if helpful.. :good:
Ok done?
Sent from my GT-I8262 using XDA Free mobile app
MrSteve555 said:
It's easy .
Download the latest recovery-flashable recovery package from dssmex.
Extract /data/local/tmp from the zip to same path on your phone.
Then run these commands from terminal:
Code:
chmod 755 data/local/tmp/step1.sh
sh /data/local/tmp/step1.sh
This way you can do pretty much everything without PC
Click to expand...
Click to collapse
After executing the script in the logs i have :
installation : OK
Model Number : C5303
Version : Unknow --> (ERROR: NOT COMPATIBLE)

[GUIDE][UNLOCK BOOTLOADER]Guide to unlocking the bootloader on the L90 [ALL VARIANTS]

Code:
#include
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/
Over the last few months development on the LG L90 has made some great strides, up to the point where we can actually install roms! In order to do this, however, you'll need an unlocked bootloader.
The problem that arises is that there are different models of the L90, being the D405, the D405n, the D410 and the D415. For most of the models the unlock process is very similar, but for the D415 another method is needed.
This guide is aimed at explaining the entire unlock process in a complete and simple way, so even if you have no experience flashing custom recoveries or roms at all, you should still be able to follow this guide. If you run into problems, please just post a reply or send me a PM and I'll do my best to help you.
First of all I'd like to note that I did not develop any of the bin files or apks in this guide, I'm only collecting all the unlock methods in one place for easy reference. Therefore I am not responsible for you bricking your device or causing any kind of damage to it. You follow this guide AT YOUR OWN RISK! That being said, let's get to the unlocking!
What you'll need to unlock the bootloader
1. A rooted LG L90
You can root the phone by going to https://towelroot.com in your mobile browser and tapping the lambda sign. Save and install the apk (make sure unknown sources are enabled in "menu > general > security"). Google will warn you about the app, this is because of the exploit which will enable the root access. Execute the program and tap "make it ra1n", then install supersu from the play store. Open supersu and choose to rebuild the binaries. This will fail, but after a reboot supersu should be installed and working properly.
UPDATE: If towelroot doesn't work for you, you've probably got the L90 with an updated firmware. In that case you can follow this guide by @gdjindal to obtain root access. Afterwards you can follow the rest of this guide again.
2. Have adb installed.
just download the Android sdk and install it or, if you don't care about the SDK itself, the minimal adb from the bottom of this post (thanks to @shinobisoft for the upload). Now add the C:/path_to_the_sdk/sdk/platform-tools to your windows PATH variable (Windows 7: right click my computer > properties > advanced system settings > environment variables) or the foler in which adb.exe is located if you downloaded the minimal adb..
On your phone go to "menu > general > about phone > software information" and tap build version a few times untill it says you're a developer, then go to "menu > general > developer options" and enable usb debugging. Connect the phone with your PC and choose to connect in software mode and install the drivers and tools. When you get a message on your phone that your PC want to access usb debugging make sure you check the checkbox and accept. Now open a cmd prompt and type "adb devices" without the quotes. If it shows a series of letters and numbers followed by device, you're good to go. If it says unauthorized, you haven't accepted the prompt on your phone yet. If your device doesn't show up at all you haven't installed the drivers correctly.
3. Find out which device and software version you're running.
Go to menu > general > about phone > Hardware information for your Model number. Mine is LG-D405n, so my model is D405n.
Go to menu > general > about phone > Software information for your Software version. Mine is V10b-EUR-XX, so I've got version v10b.
4.1 If your model number is D405, D405n or D410, you'll need a modified aboot.bin to unlock the bootloader.
Go to the bottom of this post and download the file with your model and software version. I used the L90_D405n_v10b_hack.zip. Extract the aboot.bin in the zip file to a folder on your PC.
4.2 If your model number is D415, you'll need another method to unlock the bootloader, which is explained in this thread made by @aSuperSaiyanG0D.
Unlocking the bootloader on the D405, D405n and D410
1. Open a cmd window an CD to the folder where you've saved the aboot.bin you've downloaded in step 4.1
2. Execute the following commands:
Code:
adb push aboot.bin /storage/external_SD/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/stockaboot.bin
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Right after the su command, supersu will give you a root request on your phone that you'll have to accept!
This will also make a backup of your current aboot partition as stockaboot.bin on your external SD card. If you don't have an external SD card, this won't work and you'll have to use /storage/emulated/0 (this is a zero, not the letter o) instead of /storage/external_SD/ like this:
Code:
adb push aboot.bin /storage/emulated/0/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/emulated/0/stockaboot.bin 5429599
dd if=/storage/emulated/0/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
3. That's basicly it, you can now install a custom recovery. I suggest downloading the latest TWRP (2.8.0.0 right now) from @shoxxy's thread, which can be found here. Just use ROM Toolbox to install it, choose rom installer, press settings > flash image and select the TWRP image from @shoxxy's thread. Afterwards you can boot to recovery using ROM Toolbox, or by shutting down the phone, holding volume down and power untill the lg logo shows, then releasing and immediately pressing those buttons again. You should get a screen asking to perform a factory reset. Choose yes twice (don't worry, it wont actually perform the reset) and TWRP should boot up. Now you can create backups and install custom roms too!
If you're a fan of cyanogenmod, you should visit @Quarx's thread, which can be found here. His CM11 is already mostly functional (right now on some models the front camera doesn't work and the ir blaster doesn't have any software, but most other functions actually do work very well, while it is faster than LG stock and gives almost twice the battery life), so if you like CM it's a thread worth keeping an eye on.
Flashing back the stock rom (in case of a brick)
If you've bricked your device, or want to revert to stock for any reason, you can follow this guide made by @gdjindal.
Post reserved
So, I did everything, but when I try to do the 4.2, I cant do it.. The reason why is because it says "No stat file"
Gabe.INc said:
So, I did everything, but when I try to do the 4.2, I cant do it.. The reason why is because it says "No stat file"
Click to expand...
Click to collapse
If you have a problem with step 4.2 only, I assume you have a D415 and you should actually ask this question in the thread that step 4.2 links to. Or isn't that what you meant?
EDIT: please note that step 4.2 is for the D415 ONLY.
Sorry, my bad, I though tha step 4.2 was the wole thing that comes next, my device is D405
Gabe.INc said:
Sorry, my bad, I though tha step 4.2 was the wole thing that comes next, my device is D405
Click to expand...
Click to collapse
No sweat If you've completed step 4.1, just head to step 1 of the next section and you should be good.
SubliemeSiem said:
No sweat If you've completed step 4.1, just head to step 1 of the next section and you should be good.
Click to expand...
Click to collapse
but thats the problem, I've donwloaded my file, and then, put it on a folder in my desktop.. Then what do I do?
Gabe.INc said:
but thats the problem, I've donwloaded my file, and then, put it on a folder in my desktop.. Then what do I do?
Click to expand...
Click to collapse
Open a cmd screen (go to start > all programs > accessories > Command prompt) and from there run this:
Code:
cd Desktop/Folder_you_put_the_aboot_in
adb push aboot.bin /storage/external_SD/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/stockaboot.bin
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
if you use an external SD card. Else run
Code:
cd Desktop/Folder_you_put_the_aboot_in
adb push aboot.bin /storage/emulated/0/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/emulated/0/stockaboot.bin
dd if=/storage/emulated/0/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Mind that I've only tested this using the external SD, but it should work both ways.
Error 1
SubliemeSiem said:
Open a cmd screen (go to start > all programs > accessories > Command prompt) and from there run this:
Code:
cd Desktop/Folder_you_put_the_aboot_in
adb push aboot.bin /storage/external_SD/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/stockaboot.bin
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
if you use an external SD card. Else run
Code:
cd Desktop/Folder_you_put_the_aboot_in
adb push aboot.bin /storage/emulated/0/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/emulated/0/stockaboot.bin
dd if=/storage/emulated/0/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
It give me this error, in both external and internal storage
Click to expand...
Click to collapse
Gabe.INc said:
SubliemeSiem said:
Open a cmd screen (go to start > all programs > accessories > Command prompt) and from there run this:
Code:
cd Desktop/Folder_you_put_the_aboot_in
adb push aboot.bin /storage/external_SD/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/stockaboot.bin
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
if you use an external SD card. Else run
Code:
cd Desktop/Folder_you_put_the_aboot_in
adb push aboot.bin /storage/emulated/0/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/emulated/0/stockaboot.bin
dd if=/storage/emulated/0/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
It give me this error, in both external and internal storage
Click to expand...
Click to collapse
That is stange, never had that error myself. In that case I would try another way to put the aboot.bin on the root of the SD card (google drive for instance) and continue from the adb shell part..
Click to expand...
Click to collapse
BTW: what's the output of
Code:
adb devices
?
SubliemeSiem said:
Gabe.INc said:
That is stange, never had that error myself. In that case I would try another way to put the aboot.bin on the root of the SD card (google drive for instance) and continue from the adb shell part..
Click to expand...
Click to collapse
Can't I just simply paste it on my SD card?
Edit: I think I found what my problem was, something in developer settings..
2nd Edit: Nop, it still gives the same read-only error..
3rd Edit: The output of adb devices is LGD410bc(..) Device
Click to expand...
Click to collapse
Gabe.INc said:
SubliemeSiem said:
Can't I just simply paste it on my SD card?
Edit: I think I found what my problem was, something in developer settings..
2nd Edit: Nop, it still gives the same read-only error..
3rd Edit: The output of adb devices is LGD410bc(..) Device
Click to expand...
Click to collapse
Strange, but yes, you can simply paste it on your SD card and continue from the "adb shell" line. You can also try
Code:
adb shell sysrw
before the push command to mount the filesystem as RW. If you do this, it is recommended to use
Code:
adb shell sync
adb shell sysro
after the psuh command (so you'll mount the filesystem as RO again).
Click to expand...
Click to collapse
SubliemeSiem said:
Gabe.INc said:
Strange, but yes, you can simply paste it on your SD card and continue from the "adb shell" line. You can also try
Code:
adb shell sysrw
before the push command to mount the filesystem as RW. If you do this, it is recommended to use
Code:
adb shell sync
adb shell sysro
after the psuh command (so you'll mount the filesystem as RO again).
Click to expand...
Click to collapse
It says, not found..
BTW: I flashed stock again..
Click to expand...
Click to collapse
Gabe.INc said:
It says, not found..
BTW: I flashed stock again..
Click to expand...
Click to collapse
Where did you get the not found message? And what do you mean you flashed stock again? If you couldn't execute the dd commands then your bootloader is still locked and all you've done so far is root the device..
UPDATE: I don't get a response, but it seems this user previously flashed the wrong aboot.bin (or did something else, unfortunately he's not being very clear on that) so please only follow this guide when you have a stock recovery + aboot partition. If you did try some things before, please flash the stock rom back first and then follow this guide.
Thats awesome! Thank you! :cyclops:
guilherme.fuzo said:
Thats awesome! Thank you! :cyclops:
Click to expand...
Click to collapse
No problem! Just let me know if you run into any problems so I can update the guide accordingly (and hit the thanks button if it worked of course).
SubliemeSiem said:
No problem! Just let me know if you run into any problems so I can update the guide accordingly (and hit the thanks button if it worked of course).
Click to expand...
Click to collapse
I found no problem, but anyway thanks dude! :laugh:
guilherme.fuzo said:
I found no problem, but anyway thanks dude! :laugh:
Click to expand...
Click to collapse
Then don't say thanks, but hit the thanks button on the first post!

[GUIDE] Root - Unlock bootloader and Install TWRP on LG Magna H502f

Hello people.
So after a long search, I managed to find the method to install TWRP on my LG Magna H502f V10a.
To do this, he must first root phone with the method: LG ONE CLICK ROOT:
- Install the latest drivers for LG: https://sourceforge.net/projects/av...S51MAN313AP22_ML_WHQL_Ver_3.13.2.exe/download or drivers LG Verzion: https://sourceforge.net/projects/av...S51MAN313AP22_ML_WHQL_Ver_3.13.2.exe/download
- Download LG One Click Root 1.3 (Graphic UI): http://forum.xda-developers.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951
- Unzip the archive
- Enable Usb debugging on your phone . (General > About phone > Software information, tap Build number seven times and then go to Settings > Developer options and turn on Usb debugging)
- Connect your phone to pc.
- If the phone not Recognize, try to switch entre MTP and PTP options.
- Launch LG ONE CLICK ROOT and be guided to the end of the procedure.
- Once completed you will SUPER SU installed on your device.
- To check the status of root you can download ROOT CHECKER from the play store.
Step 2: UNLOCK THE BOOTLOADER and TWRP INSTALL:
- To do this, first download both files (I specify that it is for the H502f) https://drive.google.com/file/d/0BwmQ3F48xaJjV1lKNUdPQkV2a2M/view
- And download and install TERMINAL EMULATOR from the play store: https://play.google.com/store/apps/details?id=jackpal.androidterm
- Copy both files and uboot.img and recovery.img in the root of the internal memory of the phone
- Go to TERMINAL EMULATOR and run the following commands (after getting the root right):
su
dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024
dd if=/storage/sdcard0/recovery.img of=/dev/recovery count=32768
reboot recovery
And you're in TWRP 2.8.7.1 and there you can make a backup just to have a little backup in case pending a Custom ROM which I hope will happen soon.
Thank you.
A small up to raise the thread ... to reach 10 posts
TWRP 3.0.0-0 available here : http://forum.xda-developers.com/android/general/twrp-3-0-0-0-lg-magna-t3319479
Root alternative method
Hey...you can also gain root priviliges by using the Kingroot apk ...Also in my device (Lg H500) instead of TERMINAL EMULATOR, i did use the pc connection and adb shell
(in order to avoid typing)...
But all these are details....The tutorial is 100% correct and confirmed...Cudos
Thank you
awesome! this works for me...
Help!!
Hello, i have a problem with the installation of twrp and unlocking the bootloader. When i type the command "dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024" in the emulator, it says, "not valid direcory or location". I tried to change the location of the files, although i am prety sure they are where they are supposed to be. I am desperate
Nice, thank you for your information
Are you about to have:
1- unzip the archive (for both files: uboot.img and recovery.img)?
2- copied the 2 files .img in root of the internal storage memory of phone (not sd card) ?
Aneom7331 said:
Hello, i have a problem with the installation of twrp and unlocking the bootloader. When i type the command "dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024" in the emulator, it says, "not valid direcory or location". I tried to change the location of the files, although i am prety sure they are where they are supposed to be. I am desperate
Click to expand...
Click to collapse
Copy both files to the internal storage (storage/emulated/0/) and use these commands
dd if=/storage/emulated/0/uboot.img of=/dev/uboot
dd if=/storage/emulated/0/recovery.img of=/dev/recovery
That works for me.
Sent from my LG-H502 using XDA-Developers mobile app
IT WORKED!
OMG dude it worked!!! Thank you so much!!!:laugh:
[emoji106] thats cool. Glad to help.
Sent from my LG-H502 using XDA-Developers mobile app
No such file
So i entered terminal, and when i enter the command lines it says no such file or directory, and i followed the instructions and copied both files into the internal storage, pleeeeaaaassse help
masteryoda110 said:
So i entered terminal, and when i enter the command lines it says no such file or directory, and i followed the instructions and copied both files into the internal storage, pleeeeaaaassse help
Click to expand...
Click to collapse
[quote name="Aneom7331" post=66276037]Hello, i have a problem with the installation of twrp and unlocking the bootloader. When i type the command "dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024" in the emulator, it says, "not valid direcory or location". I tried to change the location of the files, although i am prety sure they are where they are supposed to be. I am desperate [/QUOTE]
Copy both files to the internal storage (storage/emulated/0/) and use these commands
dd if=/storage/emulated/0/uboot.img of=/dev/uboot
dd if=/storage/emulated/0/recovery.img of=/dev/recovery
That works for me.
Sent from my LG-H502 using XDA-Developers mobile app
Hi,
So i've read not just this thread, but also the LG 3 where the LG one click root files come from.
I have the LG Magna - H502Y. It's probably the most "recent" kernel with 3.10.54 version. Anyway, it doesn't work with me. Has anyone tried with this version?
thanx
Thank you, now my lg stock lg magna h502f get TWRP recovery....I have plan to flash Marshmallow, with titeuf15 instruction under link 'http://forum.xda-developers.com/android/general/official-update-to-marshmallow-6-0-lg-t3395098/post67233869#post67233869".
So to continue my task, do I need any task such as Software update(that's security patch) to install?
Or
Should I just do directly in titeuf15's instrctions????
Thz. . .I m beginner in this field...
Just go ahead and follow titeuf15's instruction.
Berong said:
Just go ahead and follow titeuf15's instruction.
Click to expand...
Click to collapse
Thz Berong
Hi, in case I want to relocked it to send it to waranty how do i relock the BL? . Does the LG Pc tool works without a chance of brick??
just flash stock rom again...
Sent from my LG-H502 using XDA-Developers mobile app

can anyone help me root my coolpad defiant?

Hello guys im new to these forums an did not know where to post at, i got a coolpad defiant (Not the best phone) an i wanted to root it and was seeing if anyone here maybe able to help me out?? ive tried to use kingRoot but not luck on using that method if anyone got any suggestions id really like that, thanks again!
rebz408 said:
Hello guys im new to these forums an did not know where to post at, i got a coolpad defiant (Not the best phone) an i wanted to root it and was seeing if anyone here maybe able to help me out?? ive tried to use kingRoot but not luck on using that method if anyone got any suggestions id really like that, thanks again!
Click to expand...
Click to collapse
Any luck?
Thank you very much
Jayfreshh said:
Any luck?
Click to expand...
Click to collapse
Did you ever find anything for this device?
remarkablecow913 said:
Did you ever find anything for this device?
Click to expand...
Click to collapse
Nothing as yet still searching, need to do some work on the phone but nothing to start with ?
Jayfreshh said:
Nothing as yet still searching, need to do some work on the phone but nothing to start with ?
Click to expand...
Click to collapse
I know. I can't find Any resources for this phone. I might get brave And see if I can find twrp for same chipset and try.
---------- Post added at 04:24 AM ---------- Previous post was at 04:23 AM ----------
remarkablecow913 said:
I know. I can't find Any resources for this phone. I might get brave And see if I can find twrp for same chipset and try.
Click to expand...
Click to collapse
Have you tried unlocking bootloader? That's probly most important. If it's locked there is no point tying
remarkablecow913 said:
I know. I can't find Any resources for this phone. I might get brave And see if I can find twrp for same chipset and try.
---------- Post added at 04:24 AM ---------- Previous post was at 04:23 AM ----------
Have you tried unlocking bootloader? That's probly most important. If it's locked there is no point tying
Click to expand...
Click to collapse
Okay if anything works out when you try let me know
The bootloader can be opened in developer mode for this devise if I'm correct
You can unlock bootloader in developer options but from there. I'm stuck and really want to get root and see what "deleted" files I can recover from a factory reset. Anybody ever try twrp for same chipset like someone was talking about doing?
rebz408 said:
Hello guys im new to these forums an did not know where to post at, i got a coolpad defiant (Not the best phone) an i wanted to root it and was seeing if anyone here maybe able to help me out?? ive tried to use kingRoot but not luck on using that method if anyone got any suggestions id really like that, thanks again!
Click to expand...
Click to collapse
[Update Anyone?]
I picked up a Coolpad 3632a yesterday and I've been trying to ROOT it for quite a while nowl; trying Kingroot v5.3.7 without PC, and KingRoot 3.5 on PC both failed to ROOT. I've been out of the loop for quite a while regarding Android devices and OS - the last Android Phone i owned was the LG G3 if i remember correctly. According to the available info I've found searching for Rooting Options for the coolpad 3632a it all seemed almost %100 easily rootable with or without PC mainly using Kingroot.
If anyone was successful in rooting this device (Coolpad 3632a / Android 7.1.1) - please let me know, my main goal is to find a good custom ROM and load it replacing the Bloat/Malware filled phone!
Thanks again to anyone who has taken the time to read and respond with any news (good or bad) on getting this device successfully rooted.
-=Mac3lite=-
Bootloader Unlock = Not happening on this device. At least yet.
Development = Absolutely none. Means no TWRP/ROMS etc.
Root = Nothing as of 10/10/2018.
phonecapone said:
Bootloader Unlock = Not happening on this device. At least yet.
Development = Absolutely none. Means no TWRP/ROMS etc.
Root = Nothing as of 10/10/2018.
Click to expand...
Click to collapse
EDIT: I just obtained temporary root.. seeing if it sticks.
Root for Coolpad Devices
NOTE: I have not tried this on your device but I have tried it on my Coolpad Mega 2.5 D , Coolpad Mega 3 and Coolpad Note 5 lite. You might try to see if this works on your Coolpad Device.
Requirements :
A working ADB setup
Procedureownload the Given Zip File and Extract Them in a folder.
CONNECT YOUR DEVICE TO PC
ALLOW USB DEBUGGING IN DEVELOPER SETTINGS:
OPEN THE FOLDER WHERE YOU EXTRACTED THE FILES AND RUN CMD.BAT
COPY AND PASTE THESE CODES ONE BY ONE IN ADB ....
Or RUN THE SCRIPT IN THE GIVEN FILE
Quote:
adb wait-for-device
Quote:
adb install magisksu.apk
Quote:
adb install rootcheck.apk
Quote:
adb install root.apk
Quote:
adb shell monkey -p com.yulong.openrp -v 500
Quote:
adb reboot
WAIT TILL THE DEVICE BOOTS
OPEN MAGISK APP & COPY AND PASTE THIS CODE :
Quote:
adb shell mount -o remount,rw /system
NOW :
Quote:
adb push magisk /system/bin
IF SUCCESSFUL, TYPE:
Quote:
adb shell magisk su
RUN THIS COMMAND AFTER EVERY REBOOT TO AGAIN GET ROOT ;
Quote:
adb shell magisk su
OR
Update magisk for permanent root.
Download::::::::
https://drive.google.com/file/d/1e1atRg7PQ2JyI8W88g1E9L9NihdGEjqO/view?usp=drivesdk
Yeah that's already what I tried previous to your post. Had zero luck. =/ Also after that point forward for some reason when i try to fastboot i cannot issue any commands and it displays "Secure Phone" at the bottom left of the screen. Whether or not it was due to this I do not know for certain.
phonecapone said:
Yeah that's already what I tried previous to your post. Had zero luck. =/ Also after that point forward for some reason when i try to fastboot i cannot issue any commands and it displays "Secure Phone" at the bottom left of the screen. Whether or not it was due to this I do not know for certain.
Click to expand...
Click to collapse
Does fastboot detect your device ? Or just the commands fail even after detection ?
Also , when your phone boots , does MTKlogger automatically start ?
dwaipayan774 said:
Does fastboot detect your device ? Or just the commands fail even after detection ?
Also , when your phone boots , does MTKlogger automatically start ?
Click to expand...
Click to collapse
It gets detected just the commands fail. There is a white "Secure Phone" line of text across the bottom left. Im going to try loading an sdcard to see if it will auto update anything.
I can't even use Flash Programmer in QFIL or many other apps in QDLOADER 9008 mode. I know the firehose is the correct one yet it never wants to boot. I don't know why.
MTKLogger might have before unless i'm thinking of a different handset here. But as of the moment it doesn't.
No luck with the sdcard. I think it's about time to factory reset this device and put it up for sale. I'll post the firmware here shortly.
Here is the firmware - https://forum.xda-developers.com/android/general/rom-coolpad-defiant-3632a-stock-t3855692
Temporary Root
phonecapone said:
Bootloader Unlock = Not happening on this device. At least yet.
Development = Absolutely none. Means no TWRP/ROMS etc.
Root = Nothing as of 10/10/2018.
Click to expand...
Click to collapse
What did you do? I've been trying for months now.
dwaipayan774 said:
NOTE: I have not tried this on your device but I have tried it on my Coolpad Mega 2.5 D , Coolpad Mega 3 and Coolpad Note 5 lite. You might try to see if this works on your Coolpad Device.
Requirements :
A working ADB setup
Procedureownload the Given Zip File and Extract Them in a folder.
CONNECT YOUR DEVICE TO PC
ALLOW USB DEBUGGING IN DEVELOPER SETTINGS:
OPEN THE FOLDER WHERE YOU EXTRACTED THE FILES AND RUN CMD.BAT
COPY AND PASTE THESE CODES ONE BY ONE IN ADB ....
Or RUN THE SCRIPT IN THE GIVEN FILE
Quote:
adb wait-for-device
Quote:
adb install magisksu.apk
Quote:
adb install rootcheck.apk
Quote:
adb install root.apk
Quote:
adb shell monkey -p com.yulong.openrp -v 500
Quote:
adb reboot
WAIT TILL THE DEVICE BOOTS
OPEN MAGISK APP & COPY AND PASTE THIS CODE :
Quote:
adb shell mount -o remount,rw /system
NOW :
Quote:
adb push magisk /system/bin
IF SUCCESSFUL, TYPE:
Quote:
adb shell magisk su
RUN THIS COMMAND AFTER EVERY REBOOT TO AGAIN GET ROOT ;
Quote:
adb shell magisk su
OR
Update magisk for permanent root.
Download::::::::
https://drive.google.com/file/d/1e1atRg7PQ2JyI8W88g1E9L9NihdGEjqO/view?usp=drivesdk
Click to expand...
Click to collapse
Any chance on a repost of the file?
dwaipayan774 said:
Root for Coolpad Devices
NOTE: I have not tried this on your device but I have tried it on my Coolpad Mega 2.5 D , Coolpad Mega 3 and Coolpad Note 5 lite. You might try to see if this works on your Coolpad Device.
Requirements :
A working ADB setup
Procedureownload the Given Zip File and Extract Them in a folder.
CONNECT YOUR DEVICE TO PC
ALLOW USB DEBUGGING IN DEVELOPER SETTINGS:
OPEN THE FOLDER WHERE YOU EXTRACTED THE FILES AND RUN CMD.BAT
COPY AND PASTE THESE CODES ONE BY ONE IN ADB ....
Or RUN THE SCRIPT IN THE GIVEN FILE
Quote:
adb wait-for-device
Quote:
adb install magisksu.apk
Quote:
adb install rootcheck.apk
Quote:
adb install root.apk
Quote:
adb shell monkey -p com.yulong.openrp -v 500
Quote:
adb reboot
WAIT TILL THE DEVICE BOOTS
OPEN MAGISK APP & COPY AND PASTE THIS CODE :
Quote:
adb shell mount -o remount,rw /system
NOW :
Quote:
adb push magisk /system/bin
IF SUCCESSFUL, TYPE:
Quote:
adb shell magisk su
RUN THIS COMMAND AFTER EVERY REBOOT TO AGAIN GET ROOT ;
Quote:
adb shell magisk su
OR
Update magisk for permanent root.
Download::::::::
https://drive.google.com/file/d/1e1atRg7PQ2JyI8W88g1E9L9NihdGEjqO/view?usp=drivesdk
Click to expand...
Click to collapse
hey the link is dead. could you make a new link?

Categories

Resources