This way you can enable the Camera2 API and install your favourite modded gcam,
without having to keep yout phone rooted.
(based on this guide by @flex1911 )
Advantages:
this mod doesn't touch yout system partition: you can install OTAs without doing anything
this mod doesn't requires a modified boot partition: you can keep your bootloader locked
the Camera2 API will still be enabled after OTAs
Disadvantages:
it still needs a temporary root access
if you are not careful with the temporary unlock procedure, all your data will be lost
Steps:
install adb and fastboot. ( On windows follow this link https://forum.xda-developers.com/showthread.php?t=2588979 )
download and extract the patched_boot.img from https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
enable the developer menu on your phone (launch settings, go to system->"about phone" and press repeately on build number)
from the developer options ( launch settings, go to system->"about phone"->developer options ) enable adb and allow bootloader unlock
connect the phone to your PC and give adb permissions to your PC.
turn off the phone
reboot by pressing power + vol down. Keep the vol down button pressed*
on a admin terminal run:
Code:
fastboot oem unlock
Code:
fastboot boot patched_boot.img
(on Windows fastboot boot C:\path\to\patched_boot.img and of course replace the path)
release the vol down button only after the phone starts to reboot
on the phone, download and install magisk manager from its official website. (You don't need to install Magisk, you just need the app "Magisk Manager" installed)
on your PC run in a terminal:
Code:
adb shell
Code:
su
Code:
setprop persist.camera.HAL3.enabled 1
Code:
setprop persist.camera.eis.enabled 1
turn off the phone
reboot by pressing power + vol down. Keep the vol down button pressed*
on a admin terminal run
Code:
fastboot oem lock
Code:
fastboot reboot
release the vol down button only after the phone starts to reboot
install gcam: https://www.celsoazevedo.com/files/android/google-camera/f/GCamera_Mod_v.5.1.23_R5Plus_fix_crash.apk
In order to fix the front camera, open the gcam settings and enable camera.enable_hwhdr from "Developer Settings".
*= If you accidentally release the vol down button, a factory reset will be performed: the whole data partition will be erased and you will loose all your data. In this case youl'll have to go back to the 3rd step.
Credits:
@flex1911 How to enable Camera2 API persistently and keep bootloader locked https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
@IjazCI Bypass wipe during OEM unlock https://forum.xda-developers.com/mi-a1/how-to/discussion-bypass-wipe-oem-unlock-t3804406
@BubuXP Install Magisk with proper support for OTA updates https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
@adriakus Working gcam apk https://forum.xda-developers.com/showpost.php?p=77707365&postcount=6
Erased my phone juste after I typed "fastboot oem unlock"...
Edit, oh sh*t this needs to be put in BOLD: *= If you accidentally release the vol down button, a factory reset will be performed: the whole data partition will be erased and you will loose all your data
Edit 2:
"10. on your PC run in a terminal:" In ADB you mean?
Next:
daisy_sprout:/ $ setprop persist.camera.HAL3.enabled 1
setprop persist.camera.HAL3.enabled 1
setprop: failed to set property 'persist.camera.HAL3.enabled' to '1'
1|daisy_sprout:/ $ setprop persist.camera.eis.enabled 1
setprop persist.camera.eis.enabled 1
setprop: failed to set property 'persist.camera.eis.enabled' to '1'
Edit 3:
daisy_sprout:/ $ su
su
Permission denied
guilamu said:
Erased my phone juste after I typed "fastboot oem unlock"...
Edit, oh sh*t this needs to be put in BOLD: *= If you accidentally release the vol down button, a factory reset will be performed: the whole data partition will be erased and you will loose all your data
Edit 2:
"10. on your PC run in a terminal:" In ADB you mean?
Next:
daisy_sprout:/ $ setprop persist.camera.HAL3.enabled 1
setprop persist.camera.HAL3.enabled 1
setprop: failed to set property 'persist.camera.HAL3.enabled' to '1'
1|daisy_sprout:/ $ setprop persist.camera.eis.enabled 1
setprop persist.camera.eis.enabled 1
setprop: failed to set property 'persist.camera.eis.enabled' to '1'
Edit 3:
daisy_sprout:/ $ su
su
Permission denied
Click to expand...
Click to collapse
Sorry if I wasn't clear enough
Permission denied
Click to expand...
Click to collapse
If you successfully booted into the patched_boot.img and installed magisk, su should work.
Maybe it didn't work because you didn't managed to prevent the data wipe caused by fastboot oem unlock.
@guilamu, I think you might need to open Magisk Manager to update first, then allow Shell when type 'su' adb in cmd/terminal.
I confirm that this does work, thanks!
Even after reboot and remove Magisk Manager: https: imgur com/a/uhHE3ar
Good choice for anyone wants only camera2 API and not permanent root.
you should do a video tutorial/stepbystep. it can get a little confusing.
h3r0n said:
*= If you accidentally release the vol down button, a factory reset will be performed: the whole data partition will be erased and you will loose all your data. In this case youl'll have to go back to the 3rd step.
Click to expand...
Click to collapse
Hi,
the entire procedure is written in order to avoiding data partition wipe. Is it mandatory or I can follow the steps ignoring data partition wipe?
Thanks.
Fabio
il_fabio said:
Hi,
the entire procedure is written in order to avoiding data partition wipe. Is it mandatory or I can follow the steps ignoring data partition wipe?
Thanks.
Fabio
Click to expand...
Click to collapse
It's mandatory.
This mod is saved in the data partition. So, if you wipe the data partition, you loose the mod.
Device is detected in adb, but not in fastboot.
Rebooted in fastboot mode, opened device manager and searched for the android device and hit update drivers. Now it works
That's works good, but don't enter into recovery mode, that will eliminate all data
Can I install this if I am on security patch september 5. 2018.
do ar stickers work with google camera?
Uh did it, although with internal wipe (did hold volume down button?). Camera2 api works. THANKS:
anko13 said:
Can I install this if I am on security patch september 5. 2018.
Click to expand...
Click to collapse
Yes, you can, but remember to be careful with the procedure and the vol- button
Thank you very much for guide.
I'll give it a try
I have bootloader unlocked, what steps should i follow?
Ansel26 said:
I have bootloader unlocked, what steps should i follow?
Click to expand...
Click to collapse
All steps you can see after fastboot oem unlock, from patched boot...
HTCDevil said:
All steps you can see after fastboot oem unlock, from patched boot...
Click to expand...
Click to collapse
Can i keep bootloader unlocked ? Can i avoid doing the last steps ?
Ansel26 said:
Can i keep bootloader unlocked ? Can i avoid doing the last steps ?
Click to expand...
Click to collapse
Yes, you can skip the last steps and keep bootloader unlocked
Drekaar said:
Yes, you can skip the last steps and keep bootloader unlocked
Click to expand...
Click to collapse
I don't understand when i should hold the volume button and when not
Ansel26 said:
I don't understand when i should hold the volume button and when not
Click to expand...
Click to collapse
When you are in the fastboot mode and run "fastboot oem unlock", the phone will reboot, at that time you must hold the button (do it before execute the command). If you do not, all the information will be deleted. The same when you try to lock the bootloader.
Related
Hi there!!
Well I was trying to root this phone since a month but due to lack of developers, it wasn't possible. So I tried and at last succeeded in rooting and porting TWRP recovery for Intex Aqua Music.
I tried to elaborate every step as much as I can so the tutorial becomes user friendly for everyone.
Disclaimer: Rooting immediately voids your phone's warranty, you should consider very carefully whether you need to gain root privileges. And this tutorial will format your phone. So backup you important files at the very first.
Tutorial
First download all the files which i left and the end of the thread and proceed with the tutorial.
First of all you need to install ADB Drivers.
Once drivers are installed, you need to enable USB Debugging in your phone.
(goto phone settings->About phone->scroll down and you’ll see an entry labelled ‘Build number.’ Keep on tapping till you see a prompt that says ‘You are now a developer)
Now in phone settings you will see a new option called Developer Options.
Now goto Developer Options and enable OEM Unlocking(for unlocking the bootloader so you can flash the TWRP recovery) and USB Debugging.
Now connect you phone with usb cable to computer and open the adb and fastboot folder which you downloaded.
Then open command prompt there(shift+right click) and type:
Code:
adb devices
You will see a popup on you phone screen, Select allow and ok
Now you will see your device listed there in command prompt.
Now type the following commands:
Code:
adb reboot bootloader
Phone will switch off and go into bootloader. Then type
Code:
fastboot oem unlock
Now you phone will ask for confirmation. Use Volume UP Button to select yes then type
Code:
fastboot continue
.
Now your device will reboot(it will take some time so don't worry)
Now once your phone boot up you will see its formatted and bootloader will be unlocked.
Now again goto setting and enable USB Debugging like before and connect you phone with pc.
Now copy the recovery.img from recovery zip which you downloaded to adb and fastboot folder.
Then in adb command prompt type the following commands like before
Code:
adb reboot bootloader
Wait for the phone to go into bootloader mode, then
Code:
fastboot flash recovery recovery.img
fastboot continue
Now twrp is flashed in your phone. Now to root your device copy the supersu zip to you phone.
Switch off your mobile, then press Volume Up + Power button together then choose recovery mode with Volume UP Button and
press Volume Down Button.
Now phone will boot into TWRP recovery mode.
Click Install and choose the Super Su zip from file manager then install it.
The click reboot and once your phone boots up its rooted now.
Enjoy!
Thanks button will be appreciated if the tutorial works for you.
Thanks
Thanks man, helpful
Recently, I successfully ported TWRP from Coolpad Note 3 Lite to Modena 2. After testing, everything works fine, on both devices. Since this device has locked bootloader, we need to bypass this by enabling fastmmi mode and factory mode to enable temporary root access and make initial backup and flashing. So, let´s get started.
Remember to read this post carefully. I am not resposible for any damage to your device. If you brick your device while flashing the TWRP you can *almost* always recover it using SP Flash Tool and YGDP Tool
IF YOU ACCIDENTALY BRICK YOUR DEVICE AND YOU WANT TO FLASH IT VIA SPFT, DO NOT FORMAT THE DEVICE IN SPFT!!! If you´ll format partitions in TWRP, that´s fine, but don´t do FORMAT ALL + DOWNLOAD or FIRMWARE UPGRADE! This will brick your device, like mine This tutorial will not (hopefully) brick it, but just in case something goes wrong, now you know what not to do.
Preparing the environment on your computer
Windows
Download ADB and Fastboot from this link
Open it
Install it system-wide
Also, install the drivers
GNU/Linux (Ubuntu / Debian based distros)
Open terminal
Type "sudo apt install adb fastboot libusb-dev" without the quotes (")
Other things, that are required
Since the file size of the recovery exceeds the maximum 8MB of allowed upload size, you can download it from DataFileHost.
Preparing the device
First, you need to remeber that this could render your device unbootable and will void warranty.
Enable developer options
Go to Settings -> About phone
Tap the build number 7 times
Go back
Go to Developer options
Make sure OEM unlocking and USB Debugging is enabled
Enabling factory mode
Open dialer app
Dial *#9527*#
Click on "DM"
You will be prompted to insert RD personnel password. Enter: 54321
Click cancel button
DM button should change colour to RED
Exit the app by clicking home button
Installing and setting up openrp app
Open terminal / command prompt
Type:
Code:
adb start-server
Type:
Code:
adb devices
Now, click on your phone allow debugging and make sure to tick the radiobutton to remember / always trust this computer
Type:
Code:
adb install
Press spacebar after the install word and drag and drop the downloaded openrp.apk file to terminal
Hit enter
After it´s done, type:
Code:
adb shell monkey -p com.yulong.openrp -v 500
Now, the fun part. ROOTING the device
But before that, BACKUP
Now, keep your phone plugged in, and do a normal reboot by pressing and holding the power button and clicking reboot
When it vibrates, press and hold the Volume down key (Vol-)
You will see these lines on the screen:
Code:
=>[Factory mode]
Code:
=>VolumeDown key is pressed
Code:
=>[fastmmi mode]
After that, you´ll see the LED turns green and "Up Down" text on the screen
Now, back to your computer, type in the command prompt
Code:
adb devices
You should see XXXXXXXXXXXXXX device listed (where XXXX... is the serial number)
Type in the command prompt:
Code:
adb shell dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/recovery of=/storage/self/primary/stock_recovery.img
and
Code:
adb shell dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot of=/storage/self/primary/stock_bootimg.img
Flashing the TWRP Image
Type in the command prompt:
Code:
adb push (drag and drop the recovery image file here, like you did with the openrp.apk file) /storage/self/primary/
Type:
Code:
adb reboot
Press and hold VolumeDown key (Vol-) to boot to fastmmi mode
Type:
Code:
adb shell dd if=/storage/self/primary/recovery_twrp_e502.img of=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/recovery
Type
Code:
adb reboot
Press and hold the VolumeUp key (Vol+) to boot into recovery. If you see white screen with "Recovery" text in it, congrats. Everything is working. If not, try again.
Flashing the SuperSU package
Download the zip from SuperSU website
Copy the zip over to the device, with TWRP running
In TWRP, click install, click the zip and confirm the installation.
Factory reset is not required, but you should at least wipe the cache
If this post was useful for you, hit the thanks button
RESERVED
Hi i have a problem here. at the part to drag and drop the openrp file. When i have downloaded the file a drag it and drop it after the install word. The problem is that if I want to drop it there it will do nothing, nothing there shows or anything. Please respond.
I guess you can type the path to the installation file instead of dragging.
Hello,
Very helpful thread, my coolpad Modena 2 (E502) is now rooted.
Don't forget to disable the factory mode once everything is done, or you won't be able to access the storage to usb anymore.
Thanks.
helo, can i get help, when i try to install openrp on abd and fastboot, it printed this message "Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]"
can anyone help me on that step, so i can root my e502
TCRakt said:
Hello,
Very helpful thread, my coolpad Modena 2 (E502) is now rooted.
Don't forget to disable the factory mode once everything is done, or you won't be able to access the storage to usb anymore.
Thanks.
Click to expand...
Click to collapse
how to disable the factory mode ?? :crying:
Firefa23 said:
how to disable the factory mode ?? :crying:
Click to expand...
Click to collapse
Hello,
If I recall correctly (I don't have the phone anymore, just touched it once to root it at the time), you basically undo the "Enabling factory mode" step.
I think if you dial the number, you'll be back in the menu where you have the option to disable the factory mode.
Factory mode should be disabled when 'DM' is green.
Good luck
very good
Need Custom rom please
nougat / pie
Hello, could you resend the twrp recovery file for this phone again?. old links not work!.
(sorry for my bad english)
===============================================================================
TUTORIAL REVISED AND WRITTEN BY @parcek
===============================================================================
FURTHER UPDATED FOR ROOTING NOOBS: 10 Steps
Two Methods: Windows and Linux
Originally posted by @brad2192: https://forum.xda-developers.com/android/development/lg-aristo-2-root-t3746425
Credit to @tecknight for updated files: https://forum.xda-developers.com/showpost.php?p=76837384&postcount=2
@brad2192: Updated Tutorial due to people using TWRP (the original tutorial was released before TWRP was released for this device)
1) Backup all apps and data using LG Backup phone apps
2) Enable USB debugging and Unlock OEM. There are two methods in which you will to accomplish this:
First Method: Smartphone GUI
A) On your Lg Aristo 2 Smartphone go into General Tab (If in Tab View), If in list view, scroll down towards System section
"System Settings > About Phone > Software Information > Click on "Build Number" 10 times.
Now go to "System Settings > About Phone > Developer Options > Enable OEM unlock."
and also "System Settings > About Phone > Developer Options > Enable USB debugging."
Second Method: Windows Command Prompt or Linux Terminal:
Windows:
B) Click and drag "adb" file into command prompt and type "reboot bootloader" after it. Press enter.
Click and drag "fastboot" file into command prompt and type "flashing unlock" after it. Press enter.
Linux:
C)Type in your terminal "adb reboot bootloader" and press enter.
Type in your terminal "fastboot flashing unlock."
NOTE: Below has the information which will teach you how to download ADB and FASTBOOT.
3) Download the following:
Updated - TWRP
Updated - Magisk
(Add this file into your phone's SD Card.)
Updated - boot image
Update: Windows:
B)This is how you download ADB and FASTBOOT for Windows: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
4) Open Command Prompt. Then click and drag the adb file (from the latter download link a.k.a platform-tools) into command prompt then press space and type "reboot bootloader" after and then press enter OR power down phone and hold volume down while plugging in USB)
5) Open Command Prompt. Then click and drag the fastboot file (from the latter download link a.k.a platform-tools) into command prompt and then type "flash recovery" after it and then click and drag "newtwrp.img" into command prompt and press enter.)
6) Open Command Prompt. Then click and drag fastboot (from the latter download link a.k.a platform-tools) into command prompt and then type "flash boot" after it and then click and drag "bootimglistedabove.img" into the command prompt after and then press enter) then follow step 7).
Update: Linux:
C) Depending on kernel, for this sake we will use a debian based kernal.
This is how you download ADB and FASTBOOT for Linux: Open terminal and type: "Sudo apt-get install adb && sudo apt-get install fastboot"
4) Open terminal and type: adb reboot bootloader
5) Open terminal and type: fastboot flash recovery (and then click and drag newtwrp.img onto the terminal) and hit enter
6) Open terminal and type: fastboot flash boot (and then click and drag bootfilelistedabove.img onto the terminal) and hit enter
This applies towards both Windows and Linux: continuation after their last listed step written above.
Step 7) Remove battery from phone, in order to force a shut down.
8) Boot into Recovery-TWRP Mode.
How to boot into LG Aristo 2 TWRP Recovery:
a) The phone is off.
b) Hold the volume key and power key at the same time.
c) When the LG logo appears, let go of the power key (while still holding the volume down key) and then click and hold the power key once again.
d)You will be prompted to LG Aristo 2's stock recovery mode asking you if you are sure you would like to delete ur phone.
e) Go to the option "yes" and enter.
f) It will then warn you that can remove all data from your phone.
g) Go to the option "yes" and enter.
You will be in TWRP after this.
TWRP Mode:
9) In TWRP go to "Wipe > Format Data" and then type "yes" and confirm it. (Do not hit reboot, click back a few time and hit reboot > recovery)
10) In TWRP go to "Install > Select Storage" and select your SD Card. Then look for where you placed the "magisk" zip file. Install it.
Your phone is now rooted.
On TWRP menu: Reboot.
Restore your phone if you created an LG backup of your important files (like lets say contacts or applications).
-----------------------------------------------
If any mistakes were made and you phone becomes locked, here is how to go into download mode to repair your LG Aristo 2 into its default stock rom. Credit to @tecknight: https://forum.xda-developers.com/showpost.php?p=76837800&postcount=4
1) Power off phone.
2) connect usb to Lg Aristo 2 phone (without connecting the usb into the PC or laptop)
3) Hold volume up key and then connect USB into computer
4) download LG Bridge
5) detect phone
6) click on "Update Error Recovery"
Your LG Aristo 2 will be repaired and factory resetted.
-------------------------------------------------------------
What root means: In terms of PC language, Root means the superuser that has privileges to Add, Modify, and or Delete any kind of system files without prevention. Pretty much, it's like the actual Administrator account on a PC. Natively, whenever we buy a phone, it is as if to say, we are only using a guest account. Since the android OS is basically a Linux based computer (correct me if i am wrong) we can do anything we like... You want iOS emoji's on an android? A custom boot animation? Having root privileges allows you to go beyond your guest user restrictions because you then become the Admin.
Explaining the function of the provided Magisk app: It allows root privileges for programs intended for rooted phones.
There are other popular programs alternative of Magisk app, such as the SuperSU app: http://www.mediafire.com/file/2dljobq6yw93w76/UPDATE-SuperSU-v2.82-20170528234214.zip
--------------------------------
After being officially done setting up your rooted phone, make sure you disable OEM Unlock to avoid seeing the caution message before every boot.
--------------------------
How to backup your phone.
Also, using ADB, backup your phone.
Windows: Click and drag ADB file onto command prompt and paste " backup -apk -shared -all -f "C:\Users\UserName\Desktop\backupfilename.ab" "
Linux: Open terminal and type " adb backup -apk -shared -all -f "C:\Users\UserName\Desktop\backupfilename.ab" "
Update: For those who are encountering "Now unlock your phone and confirm operation" when typing the latter code, there is an alternative and much more easier and safer way to backup your phone.
Boot into TWRP and click on "backup" and then select what you would like to back up and then swipe to confirm the operation.
-----------------------------------------------------------------
Confirmed Successful rooting for LG Aristo 2 - June 2018
Thank You Brad and Tec!
Salam Aleykom.
You are a lifesaver my friend
Senorhamburgler said:
You are a lifesaver my friend
Click to expand...
Click to collapse
Brad I have a question, is there any way to get a custom ROM on this phone? If not how come? How does it all work?
And are you with Metro PCS as well? What apps can a safely delete to get this phone as close to a stock version of android as I can? Can I seriously just wipe out EVERY metro app? Hows your phone functioning?
tribal1209 said:
Brad I have a question, is there any way to get a custom ROM on this phone? If not how come? How does it all work?
And are you with Metro PCS as well? What apps can a safely delete to get this phone as close to a stock version of android as I can? Can I seriously just wipe out EVERY metro app? Hows your phone functioning?
Click to expand...
Click to collapse
Until there is a custom recovery built, we won't have custom roms. Dont wipe out every metro app. Anything you arent sure about, look up, or just freeze the app and test results. My phone is fine except SuperSU wont work properly due to the binary being occupied, but this is the best we have so far. I debloated no problem.
tribal1209 said:
Brad I have a question, is there any way to get a custom ROM on this phone? If not how come? How does it all work?
And are you with Metro PCS as well? What apps can a safely delete to get this phone as close to a stock version of android as I can? Can I seriously just wipe out EVERY metro app? Hows your phone functioning?
Click to expand...
Click to collapse
Senorhamburgler said:
Until there is a custom recovery built, we won't have custom roms. Dont wipe out every metro app. Anything you arent sure about, look up, or just freeze the app and test results. My phone is fine except SuperSU wont work properly due to the binary being occupied, but this is the best we have so far. I debloated no problem.
Click to expand...
Click to collapse
Root is the only thing needed, not a custom recovery. Apps like Magisk Manager can flash custom images. The reason there is no ROMs built for this device, I can tell you in my opinion there is no need for a Custom ROM. Magisk Manager has plenty of customizations available as well as many other root apps. Basically, custom recoveries are obsolete, it is not needed for gaining root access nor flashing files. Magisk can do it as well as Flashfire.
I need help.... Abd is not functioning it states "the term abd is not recognised as the nane of a cmdlet, function, scrip file of operable program."
Does not exist in current location.... Windows PowerShell does not load conmands by default...
MinaSaotome said:
I need help.... Abd is not functioning it states "the term abd is not recognised as the nane of a cmdlet, function, scrip file of operable program."
Does not exist in current location.... Windows PowerShell does not load conmands by default...
Click to expand...
Click to collapse
Hey man, I would press the Windows Key+R and type" "cmd"
Then, as long as your adb is located at C:\adb type: "cd C:\adb"
Then use adb, I hate how Windows 10 forces it on users!
Hey, I am so sorry to bother you but when I enter in the fourth step of your tutorial, it tells me "flash boot" command doesn't exist. Is there something I'm doing wrong?
---------- Post added at 01:15 AM ---------- Previous post was at 01:01 AM ----------
4btn said:
Hey, I am so sorry to bother you but when I enter in the fourth step of your tutorial, it tells me "flash boot" command doesn't exist. Is there something I'm doing wrong?
Click to expand...
Click to collapse
Okay, after messing around with it a few, I found that once it goes off into fastboot... my computer can't recognize it anymore?
brad2192 said:
Hey guys, spent a few hours figuring out how to root. Pretty Simple!
1) Enable Developer Options, USB Debugging & OEM Unlock
2) Reboot to Fastboot Mode (Using ADB via PC type: adb reboot bootloader)
3) Add root_boot.img into your adb folder
4) In ADB type: fastboot flash boot root_boot.img
5) After flash successful, type: fastboot reboot
6) Install Magisk Manager App
For those skeptical, proof of root here.
X-210 Stock .KDZ Backup HERE (Should not be needed.)
Click to expand...
Click to collapse
Do I need to unlock the bootloader first? I have it rebooted into fastboot and it's giving me instructions to do that, but won't let me push the boot image. If I do need to unlock it, does it wipe my device?
tge101 said:
Do I need to unlock the bootloader first? I have it rebooted into fastboot and it's giving me instructions to do that, but won't let me push the boot image. If I do need to unlock it, does it wipe my device?
Click to expand...
Click to collapse
Yes, that is what OEM unlock means. In doing so you do need to unlock the bootloader.
brad2192 said:
Yes, that is what OEM unlock means. In doing so you do need to unlock the bootloader.
Click to expand...
Click to collapse
Just wanted to make sure but does it wipe it?
tge101 said:
Just wanted to make sure but does it wipe it?
Click to expand...
Click to collapse
Yes, when you use "fastboot oem unlock" it unfortunately erases all data. One of our forum members is working on a TWRP at the moment that might be available today. You could wait to do this so you can create a backup.
brad2192 said:
Yes, when you use "fastboot oem unlock" it unfortunately erases all data. One of our forum members is working on a TWRP at the moment that might be available today. You could wait to do this so you can create a backup.
Click to expand...
Click to collapse
That'd be cool. But, wouldn't the bootloader still need to be unlocked for me to flash TWRP?
tge101 said:
That'd be cool. But, wouldn't the bootloader still need to be unlocked for me to flash TWRP?
Click to expand...
Click to collapse
I'm an idiot, yes LOL. Sorry, just got to work and I am tired you are correct. So, if you would like I suggest just using my tutorial. I believe there is ways of using LG backup to save most of your user data.
brad2192 said:
I'm an idiot, yes LOL. Sorry, just got to work and I am tired you are correct. So, if you would like I suggest just using my tutorial. I believe there is ways of using LG backup to save most of your user data.
Click to expand...
Click to collapse
All good, if I lose it I lose it. Is there a thread for the TWRP development?
I posted a test twrp on my blog for aristo 2
cannot open root_boot.img
hey maybe someone can help me out
previously already unlocked the bootloader on the phone so i skipped that step but i keep getting the error that it can not open root_boot.img
downloaded the file and moved into users/appdata/local/android/sdk/platform-tools
thats where adb.exe so i figured that is the adb folder maybe yes or no
could anyone help me out
greatly appreciate it
tge101 said:
All good, if I lose it I lose it. Is there a thread for the TWRP development?
Click to expand...
Click to collapse
Update: TWRP HERE
TJ-yesthelegend said:
hey maybe someone can help me out
previously already unlocked the bootloader on the phone so i skipped that step but i keep getting the error that it can not open root_boot.img
downloaded the file and moved into users/appdata/local/android/sdk/platform-tools
thats where adb.exe so i figured that is the adb folder maybe yes or no
could anyone help me out
greatly appreciate it
Click to expand...
Click to collapse
What are you typing into ADB to get that error?
Do you have to de-encrypt the phone for root? I am thinking of getting an Aristo2, currently using the MotoE4 (which I hate!), and rooting that requires de-encryption (I love encryption!). This is the MetroPCS version your talking about? Thank you...
To continue this process you need to unlock your bootloader.
Read the full thread before doing anything.
1. Download Platform Tools & Extract it: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
2. Copy the twrp file for your device into the extracted folder.
Latest Twrp for RN5Pro(Whyred): https://dl.twrp.me/whyred/
after downloading twrp rename it to twrp.img
3. Turn on Usb Debugging on your device and Connect the phone to the usb cable
4. Now open the platform tools folder and in the address section type cmd & hit enter
5. Type commands:
(a) adb reboot bootloader & hit enter(phone is now in fastboot mode)
(b) fastboot boot twrp.img
twrp mode is now open....just touch on keep read only(don't do anything you still now in twrp mode)
(c) adb devices (check your device is connected or not)
(d) adb shell
(e) setprop persist.camera.HAL3.enabled 1 ( be careful while typing or copy paste this line)
(f) exit
(g) adb reboot( your phone will Reboot now)
If gcam force closes then reboot your phone manually.
Done.I am not responsible if you brick your device.
#Now download GCam from below the link and install it.
In this method we doesn't flash twrp we are just boot into twrp to enable camera 2 api
Download GCam :
https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera-Pixel2Mod-Arnova8G2-V8.apk
Official GCam Link : https://www.celsoazevedo.com/files/android/google-camera/
If you're not sure how this process is done then contact me in my email address : [email protected]
Thank You
I don't see the point in booting to twrp. All you need to do is to boot into fastboot and apply the adb commands.
anon768 said:
I don't see the point in booting to twrp. All you need to do is to boot into fastboot and apply the adb commands.
Click to expand...
Click to collapse
I think you can't access ADB in fastboot.
anon768 said:
I don't see the point in booting to twrp. All you need to do is to boot into fastboot and apply the adb commands.
Click to expand...
Click to collapse
try this method then you will see how it works.
Hosssain said:
I think you can't access ADB in fastboot.
Click to expand...
Click to collapse
Bro try the method,I am using GCam through this process.
hmmmn
I'm kinda lost here, what i have to do?
imgu r. com/a/FTfelHt
Rumcyk said:
I'm kinda lost here, what i have to do?
imgu r. com/a/FTfelHt
Click to expand...
Click to collapse
email me bro..my email id is already is given... follow the thread
is it work for redmi note 5 AI
does not work. It says "The system has been destroyed" and reboot into system after few seconds.
[email protected] said:
does not work. It says "The system has been destroyed" and reboot into system after few seconds.
Click to expand...
Click to collapse
)))))))))
Worked for me
I had to unlock the bootloader to follow this method.
First I got the system destroyed message, when I did with the bootloader locked.
Gcam that you suggested didn't work well for me. Then I used another one instead. Now everything is functioning properly.
Not working on my friends locked phone. It is showing "system destroyed".
You'll need to root and set Selinux to permissive because this will make your stock camera lag like hell
Work or not work?
Is the quality of the photos the same thing that happens with the other methods?
is it true that with this method, the quality of the camera gets worse?
the photo quality good better than stock app.
but the issue use gcam cant save front camera with hdr+ active
even with the miui 10 okay?
help
RSubha said:
Bro try the method,I am using GCam through this process.
Click to expand...
Click to collapse
I have heard that in miui10 global stable rom,after enabling camera2api without rooting,front camera is broken in third party apps like whatsapp...Is it true???
RSubha said:
To continue this process you need to unlock your bootloader.
Read the full thread before doing anything.
1. Download Platform Tools & Extract it: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
2. Copy the twrp file for your device into the extracted folder.
Latest Twrp for RN5Pro(Whyred): https://dl.twrp.me/whyred/
after downloading twrp rename it to twrp.img
3. Turn on Usb Debugging on your device and Connect the phone to the usb cable
4. Now open the platform tools folder and in the address section type cmd & hit enter
5. Type commands:
(a) adb reboot bootloader & hit enter(phone is now in fastboot mode)
(b) fastboot boot twrp.img
twrp mode is now open....just touch on keep read only(don't do anything you still now in twrp mode)
(c) adb devices (check your device is connected or not)
(d) adb shell
(e) setprop persist.camera.HAL3.enabled 1 ( be careful while typing or copy paste this line)
(f) exit
(g) adb reboot( your phone will Reboot now)
If gcam force closes then reboot your phone manually.
Done.I am not responsible if you brick your device.
#Now download GCam from below the link and install it.
In this method we doesn't flash twrp we are just boot into twrp to enable camera 2 api
Download GCam :
https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera-Pixel2Mod-Arnova8G2-V8.apk
Official GCam Link : https://www.celsoazevedo.com/files/android/google-camera/
If you're not sure how this process is done then contact me in my email address : [email protected]
Thank You
Click to expand...
Click to collapse
Which gcam should i use to front camera work correctly without patches on ai dual camera version ?
Front camera doesnt work with hdr on, or portreit mod, on any gcam i tried on rn5 whyred, sorry.
Hi,
For background.. I have rooted and customized several phones so I am not a total n00b. But, I tend to keep my phones for a while, so I do this every 3 years or so and I don't remember the order to do it.
I have a "new" Pixel 3a sitting here.
I want to end up with a Rooted 3a with LineageOS and xPosed Framework (for xPrivacy LUA) and AFWall.
There are step-by-steps I can search for for each of those but I'm not sure on what order and also what recovery to use. Previously I have used TWRP. Also, previously I used edXposed and now there is another option for that too.
Much help if someone can give me the order to do these!
A) To unlock bootloader
Run through the initial setup if you haven't already, if you haven't don't bother logging into your google account.
Enable dev options(settings>about phone>build number>tap it 7 times).
Go into settings>system>advanced>dev options>oem unlocking, click the toggle.
While still in dev options scroll down a little and enable usb debugging.
Plug your phone into your pc.
if/when the phone asks you to trust the computer make sure to check the "always allow this computer" check box.
Open up command prompt type into the cmd window
adb reboot bootloader
The phone will reboot into fastboot mode.
Now type into the cmd window
fastboot devices
See if it lists a device, if not, you need to install the latest drivers to your PC (google adb). If you had to install the drivers try the fastboot devices command again after installing them, it should list the device now.
type in
fastboot flashing unlock
You will then have to use the phone to select yes to the unlock. you use the volume keys to select and the power button to confirm.
Your bootloader is now unlocked. Reboot.
B) To root
Grab the system image from https://developers.google.com/android/images unzip the folder and inside of it you will find another zip. Open that 1,6 Gb zip file up, pull the boot.img out and copy it your phone.
In your case you would grab LineageOS i guess.
Install Magisk app on your phone and use it to patch that and then copy patched boot back to your PC.
Open the "flash-all.bat" and remove the -w from the end (this is important as it stops your device from being wiped) save the bat file,
If updateing, remove all Magisk scripts. Systemless may stay.
Now type into the cmd window:
adb reboot bootloader
flash-all.bat
The update may take 180 seconds and then your phone will reboot. Disconnect the phone from PC. Please be patient while rebooting with G underline going on for 3 minutes.
Flash the patched boot image.fastboot reboot
Now type into the cmd window:
adb reboot bootloader
fastboot getvar current-slot
(in this case partition b is active)
fastboot flash boot_b magisk_patched.img
fastboot reboot
In case boot fails… (no valid slot to boot), please flash again above.
TROUBLESHOOT
If you bootloop on "G"
Hold power to reboot
Press power to pause
volume up + power to bootloader mode
Flash stock boot.img
Or try this:
connect your phone to your computer (while bootlooping or stuck on loading)
run the command: adb wait-for-device shell magisk --remove-modules
hold your power button until the phone restarts,
run the command again while the phone powers up
it will restart itself and if you're lucky it will boot properly this time
markd89 said:
and also what recovery to use. Previously I have used TWRP. Also, previously I used edXposed and now there is another option for that too.
Click to expand...
Click to collapse
TWRP recovery does not work on Android 10+ but it is really not needed for root.
I have not used Xposed for many years, but generally everything is done through Magisk addons now.