Help rooting an "Obscure" phone - Android Q&A, Help & Troubleshooting

So I have a Infinix Note 12 pro 4g x676b. The manufacturer of this model has another model with the same name which is more popular. Now let me get to the point. I wanted to root this phone with magisk. its android 12. I tried a few tutorials for it but i realised i need twrp, but this phone model dosent have a twrp img. So i tried the method of fastboot and adb. i patched my boot.img using magisk and then try to patch it to my mobile using my pc. The adb device gets detected and i get it into fastboot. But in fastboot the device does not get recognized. I tried installing all the drivers but the manufacturer does not provide any. I got every unnofical driver installed but still it dosent detect. And also my phone does not get detected in device manager either in other devices or portable devices. What do i do now?

May be this guide is useful:
How to get into fastboot and How to exit fastboot INFINIX Note 12 (2023)? - HardReset.info
The Fastboot Tutorial will show you the easiest way to access the hidden model called fastboot. Check out the secret combination of keys that will boot your device into fastboot.
www.hardreset.info

xXx yYy said:
May be this guide is useful:
How to get into fastboot and How to exit fastboot INFINIX Note 12 (2023)? - HardReset.info
The Fastboot Tutorial will show you the easiest way to access the hidden model called fastboot. Check out the secret combination of keys that will boot your device into fastboot.
www.hardreset.info
Click to expand...
Click to collapse
that is not my question tho. My phone does not get recognised on my windows pc

potatosil said:
that is not my question tho. My phone does not get recognised on my windows pc
Click to expand...
Click to collapse
It is getting recognised as Unknown device?

A PC-connection isn't required at all, you can run ADB and/or Fastboot commands from phone, too. Note: Android must got rooted.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Take note that a phone's Android is rooted if SU is present in Android's filesystem.

xXx yYy said:
A PC-connection isn't required at all, you can run ADB and/or Fastboot commands from phone, too. Note: Android must got rooted.
Click to expand...
Click to collapse
i am asking my question to get my phone rooted. If it was already rooted i wouldnt have made a thread

potatosil said:
that is not my question tho. My phone does not get recognised on my windows pc
Click to expand...
Click to collapse
It is a driver related problem.
You may be able to get your work done using wireless adb, although flashing stuff wirelessly is very risky (if the connection breaks whilst the flashing is still going on).

mvikrant97 said:
It is getting recognised as Unknown device?
Click to expand...
Click to collapse
not even an unknown device just nothing is there

potatosil said:
i am asking my question to get my phone rooted. If it was already rooted i wouldnt have made a thread
Click to expand...
Click to collapse
To root a phone's Android Fastboot isn't needed as you suppose : ADB is the correct tool.
Most people instead of adb.exe what comes with Android SDK use adbLink2 app what provides a link between your Android device and your computer.
adbLink2 features:
Install Programs without Android SDK
ADB/Fastboot enabled command-line
Busybox for root and non-root
Built-in WIFI/USB remote
Manage devices via USB or IP address
Root-aware File Manager for Android devices
Install/Uninstall Apps
Connect to devices ad hoc
Manage multiple devices from one PC
Edit XML and other files on your devices
Log file viewer for adbLink2
Hyperlinked HTML Help
adbLink2 is available for Windows, macOS and Linux/ChromeOS
BTW to clarify things, you obviously don't know of:
1.
Before I define root, it's important to understand why it exists and how it works. It's because Android uses permissions ( Linux-based permissions, to be exact ) in the file structure. Every file, every folder and every partition has a set of permissions. These permissions decide who can read a file ( look at or access the contents without changing them ), write to a file ( be able to change the contents of that file, or create a new file inside a folder or partition ) and execute a file ( run the file if it's a type that can run, like an app ). This is done based on users and permissions - certain users have access, while users who don't have the right permissions are blocked from having access.
When you first set up your phone and turn it on for the first time, you are assigned a user ID. If another user logs in via Google, they are assigned a different user ID. When an app is installed on your phone, it's also assigned a user ID of its own. The system itself is a user and other processes that need to run on your phone may have their own user ID. Everything that can do anything to any files on your Android is a user.
2.
To get elevated permissions ( root access ) you place the SU binary ( SubstituteUser ) in a spot that it can run when it's called to run - that's called a PATH - e.g /data/local/tmp. If any app is in user ID's PATH it will run without telling the system exactly where it is. You also need to make sure the SU binary is in a spot that your user ID has permission to execute ( run ) files. Any other app ( Google Play has plenty of apps that need root permissions ) will also need the same access. When you use a method to root your phone, all this is sorted out by the folks who built the root method.
3.
This is where root comes in. The SU binary uses flags when it's run to tell the system what user ID you want to switch to. For example, if I run the SU binary on my Google Pixel phone like this "su Jim -c 'mount - o rw,remount -t auto /system'" I will run the mount command as the user Jim ( after supplying Jim's password ). If I run the SU binary with no flags or arguments, it switches me to the root user. Normally you would need to supply a password, but since "root" is an unused user on Android it has no password. Running the command "su" will switch you to the user root, and assign you the user ID of 0, and put you in the root group. You are now the Super User.
4.
As the Super User you can do anything to any file, folder or partition on your Android. By anything, I mean literally anything. You can remove bloatware apps and you can also remove essential system files that break your phone. You can also do things to the hardware like change the CPU frequency and ruin your phone forever.

Related

Can you root a phone with a chromebook?

I was looking at a toshiba chromebook 2 but was wondering if you can root a phone on it as i wanted to root my G4.
Sent from my LG-H811 using XDA Free mobile app
Technically yes but you will have to root the Chromebook first to gain access to the Linux command line to install the adb software as root
mrme73 said:
Technically yes but you will have to root the Chromebook first to gain access to the Linux command line to install the adb software as root
Click to expand...
Click to collapse
Is it an easy process? Ive been rooting since 2011 so i can't imagine rooting a chrome book would be too hard?
Sent from my LG-H811 using XDA Free mobile app
I don't think it's that hard but I've only tried it when testing it for a netbook. You will have to search that model as it varies. Usually called developer mode and dual booting with another Linux distribution.
Yes. You just need to enable developer mode, install Arch Linux, disable software verification settings, and obtain adb/fastboot via command prompt (although the versions may or may not be outdated).
kibmikey1 said:
Yes. You just need to enable developer mode, install Arch Linux, disable software verification settings, and obtain adb/fastboot via command prompt (although the versions may or may not be outdated).
Click to expand...
Click to collapse
Hi, I'm trying to flash Marshmallow on my Nexus 7 using my Dell Chromebook. I'm almost there but my N7 says I have to update my ADB to 1.0.32. Unfortunately Ubuntu hasn't updated their repositories so any idea how I can update ADB on my chromebook?
thanks
Sent from my D6503 using Tapatalk
mrme73 said:
Technically yes but you will have to root the Chromebook first to gain access to the Linux command line to install the adb software as root
Click to expand...
Click to collapse
if i do this will it "root" my phone so I can get apps that require root?
Also, I have a galaxy j3 eclipse, will this work on my phone
rickyiswhite said:
I was looking at a toshiba chromebook 2 but was wondering if you can root a phone on it as i wanted to root my G4.
Sent from my LG-H811 using XDA Free mobile app
Click to expand...
Click to collapse
Yes you can root a phone on a chromebook just put it in developer mode and use your crosh shell to run adb and fastboot.
There is a lack of information and a bit of misinformation here. You don't "root" your chromebook and you don't have to install Arch Linux. So here is the breakdown. If you want to root your phone you can do so by using ADB. To do this you have to do a few things:
1. Enable Developer mode on your chromebook (this requires a powerwash which will delete data and reset your chromebook)
2. Open Crosh by pressing Ctrl + Alt + T
3. Type "shell" and press enter.
4. Update ADB and move the binaries to their appropriate location by typing:
Code:
curl -s https://raw.githubusercontent.com/nathanchance/chromeos-adb-fastboot/master/install.sh | bash
5. Make sure ADB is working by typing "adb --version" and pressing enter. This will tell you the version of ADB that is installed, which the current version is 1.0.40 Typing "adb --version" will also tell you where ADB has been installed to. This should say: /usr/local/bin
6. Enable Developer Mode on your phone and enable USB Debugging within the Developer settings.
7. Test that you can communicate with your phone by typing "adb devices" with your phone connected to your chromebook. If your device shows up make sure that you can send data to your phone by typing "adb reboot recovery". This should reboot your device into recovery.
8. If you were able to successfully reboot your phone into recovery using ADB then you have everything you need to root your phone using your chromebook. Just look up how to root your phone using ADB and you will be good to go. This is the method I used to unlock my Bootloader, install a Custom Recovery and the method I used to root my OnePlus 6T with Magisk.
phone not connecting
What do i do if phone does not connect?
how do i put the TWRP.img file into the same folder where the fastboot and adb files are? or how do i type the command to flash it to my oneplus 7 pro in my crosh shell window.
I am able to unlock my boot-loader via adb and and fastboot but cant find away to access the Chromebooks file system to flash twrp and and custom roms. help!!! Im attempting to convert the Moto G7 to a more secure linux rom.
lonnie89 said:
I am able to unlock my boot-loader via adb and and fastboot but cant find away to access the Chromebooks file system to flash twrp and and custom roms. help!!! Im attempting to convert the Moto G7 to a more secure linux rom.
Click to expand...
Click to collapse
On my pixelbook with the beta Linux installed copy the downloadet twrp.img file to the linux folder that's located in the files app. Should then show up in your home Linux directory.
How do I get access to that file system in croots and flash it to the phone.
How do I get access to the file and move to the phone in croots what are the commands. It's my my downloads folder.
garretts228 said:
There is a lack of information and a bit of misinformation here. You don't "root" your chromebook and you don't have to install Arch Linux. So here is the breakdown. If you want to root your phone you can do so by using ADB. To do this you have to do a few things:
1. Enable Developer mode on your chromebook (this requires a powerwash which will delete data and reset your chromebook)
2. Open Crosh by pressing Ctrl + Alt + T
3. Type "shell" and press enter.
4. Update ADB and move the binaries to their appropriate location by typing:
Code:
curl -s https://raw.githubusercontent.com/nathanchance/chromeos-adb-fastboot/master/install.sh | bash
5. Make sure ADB is working by typing "adb --version" and pressing enter. This will tell you the version of ADB that is installed, which the current version is 1.0.40 Typing "adb --version" will also tell you where ADB has been installed to. This should say: /usr/local/bin
6. Enable Developer Mode on your phone and enable USB Debugging within the Developer settings.
7. Test that you can communicate with your phone by typing "adb devices" with your phone connected to your chromebook. If your device shows up make sure that you can send data to your phone by typing "adb reboot recovery". This should reboot your device into recovery.
8. If you were able to successfully reboot your phone into recovery using ADB then you have everything you need to root your phone using your chromebook. Just look up how to root your phone using ADB and you will be good to go. This is the method I used to unlock my Bootloader, install a Custom Recovery and the method I used to root my OnePlus 6T with Magisk.
Click to expand...
Click to collapse
Hi. Thanks for a working method. I have tried each step and Crosh gave me error:
bash: /usr/local/bin/adb: cannot execute binary file: Exec format error
One question - do i have to be on "developer channel" in Chromebook?
Coz then i will have to reinstall Chromebook.
Best Regards
Nick
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Finally yes - i need to be in Developer mode for ADB.
Full article is here - how to and what is what.
How to Use ADB and Fastboot on a Chromebook
For a long time, Chromebook users who also need access to the Android Debug Utility (ADB) and Fastboot for Android devices were left with one option: Crouton. Now, however, both ADB and Fastboot are included in Chrome OS. Here’s how to access them.
www.howtogeek.com
eurovive said:
Finally yes - i need to be in Developer mode for ADB.
Full article is here - how to and what is what.
How to Use ADB and Fastboot on a Chromebook
For a long time, Chromebook users who also need access to the Android Debug Utility (ADB) and Fastboot for Android devices were left with one option: Crouton. Now, however, both ADB and Fastboot are included in Chrome OS. Here’s how to access them.
www.howtogeek.com
Click to expand...
Click to collapse
Sorry I didn't leave that detail behind for you, but yes that method does indeed require dev mode. However there are other methods that don't require it now using Linux. I have not done them so I am only forwarding this information:
https://www.reddit.com/r/chromeos/comments/dtwfpm
Thats a nice suggestion too. As someone says Chromebook should be Intel-ready to run Android apps, thats why i was thinking whats wrong. I have Arm based Tegra K1 with saying some how limited support of updates, therefore having support for Crostini feature. Will try later.

Blackphone PrivatOS screen lock bypass

Hello,
New to this forum as is shows it is my first post, and i have a problem with my Blackphone that i hope you guys could help me with it.
I have a Blackphone first generation with PrivatOS with some files on it and locked screen ( forgot the password / pin actually ),i didnt use the phone for a while since i had some problem downloading and purchasing some apps considering the lack of options compatible with the phone when it was first released and prior to opening the Silent Store.
I've tried several methods i found online such as :
Disable your lock screen using custom recovery and “Pattern Password Disable” (SD card needed)
but no success i get the error ( invalid arg ) when i try to flash the zip file on the SD card.
also i wanted to try this method : http://forum.xda-developers.com/showthread.php?t=2244741
but i am using a Macbook Pro OSX El Capitan 10.11.2
So i ma not sure how to go from here ?
Issue with file manager
Saw i've been trying several method to tackle this problem since i didnt get any reply from the 56 views so far, but i hope someone could explain how to get over this issue i am having trying to apply Method 4 or Method 5 at this post http://forum.xda-developers.com/showthread.php?t=2620456
I was able to download and install all the required applications, from Android SDK and JDK also adb not to forget Android file manager. But i have a problem with the file manager, since i forgot the pin and i am trying to recover some files from the phone it is frustrating to not be able to apply any of these methods because the file manager wont connect the device while it is locked.
Every time i try to type in the command ad devices in Terminal or adb shell i get a return error of device not found, and i guess its because the file manager is not allowing me to do that since the phone is locked.
Any idea how to get over this problem ?
The whole point of that phone is to prevent just what you are trying to do.
Indeed
zelendel said:
The whole point of that phone is to prevent just what you are trying to do.
Click to expand...
Click to collapse
Yes indeed i understand which is the dilemma am in, but that is the point of all phonee pin locks and there are methods to bypass them for most of the phones as i could see all over the internet, this one should not be any different i guess.
I even tried to use the password pattern disable file, but i guess when i flash the file from an SD card i guess some kind of error in the header, am assuming the header in the code of the file should be modified to the OS of this particular phone .
From what i could see the only issue here is the different OS on this phone.
Any suggestions ?
janusjanus said:
Yes indeed i understand which is the dilemma am in, but that is the point of all phonee pin locks and there are methods to bypass them for most of the phones as i could see all over the internet, this one should not be any different i guess.
I even tried to use the password pattern disable file, but i guess when i flash the file from an SD card i guess some kind of error in the header, am assuming the header in the code of the file should be modified to the OS of this particular phone .
From what i could see the only issue here is the different OS on this phone.
Any suggestions ?
Click to expand...
Click to collapse
You would be amazed. This one and the black berry device. Both are meant to be uncrackable by default. I know one secure phone even prevents anything but charging over usb
zelendel said:
You would be amazed. This one and the black berry device. Both are meant to be uncrackable by default. I know one secure phone even prevents anything but charging over usb
Click to expand...
Click to collapse
I am so far, i really assumed that it is possible to so without the factory reset, but i guess that is the only option.
I still have couple of options that i could think of and maybe try,
1- Modify the Pattern Password Disable .zip in order for it to be compatible with Privat OS, easy to say hard to do, since i have no idea how to start tampering with these files and rewrite the coeds in it.
2- Trying to update the firmware on the phone with an SD card which will bypass the pinlock i guess, as i read in one of the posts on the blackphone support website, as a solution for faulty upgrade through the phone.
BTW i didnt try it, but i could see alot of posts for Blackberry to bypass this sort of problem, non for Black phone specifically
I appreciate your sweft reply and attention, hope you could come up with better ideas !?
Another attempt
zelendel said:
You would be amazed. This one and the black berry device. Both are meant to be uncrackable by default. I know one secure phone even prevents anything but charging over usb
Click to expand...
Click to collapse
So, i had to try using the pattern_password_disable.zip in order to see if it is good, and applying the same instruction here i was not able to unlock my Samsung Trend lite 2.
First i downloaded the file into an sdcard, the zip file and tried to flash the .zip from the recovery mood, but the phone did not find anyfiles on the SDcard, so i tried to apply updates from ADB, and when i wrote the comand as instructed on the phone
PHP:
" ad sideload +filename+ "
i got an error
E: footer is wrong
E: signature verification failed
then the phone tried to open it again and i got the same erorr
after that the phone rebooted into the home screen with the pattern lock, i've tried several random guesses but it didnt unlock. ( i know the right one for this phone ).
And since i realized that my mac got connected to the devices while it was in the recovery mood, and i confirmed that by typing adb devices in terminal and the device showed up, i thought of trying the same with the BlackPhone
but i also got the same error
as shown in the picture.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I wanted to apply the same commands mentioned in the post i've mentioned
PHP:
adb devices
adb shell
cd data/system
rm *.key
but when i type adb shell
i get the error, closed
so any idea on what is going on, i just want to understand my mistake here since these instructions should work on the Samsung !?
Screen shot of Blackphone
http://postimg.org/image/m0tsja4qn/
janusjanus said:
So, i had to try using the pattern_password_disable.zip in order to see if it is good, and applying the same instruction here i was not able to unlock my Samsung Trend lite 2.
First i downloaded the file into an sdcard, the zip file and tried to flash the .zip from the recovery mood, but the phone did not find anyfiles on the SDcard, so i tried to apply updates from ADB, and when i wrote the comand as instructed on the phone
PHP:
" ad sideload +filename+ "
i got an error
E: footer is wrong
E: signature verification failed
then the phone tried to open it again and i got the same erorr
after that the phone rebooted into the home screen with the pattern lock, i've tried several random guesses but it didnt unlock. ( i know the right one for this phone ).
And since i realized that my mac got connected to the devices while it was in the recovery mood, and i confirmed that by typing adb devices in terminal and the device showed up, i thought of trying the same with the BlackPhone
but i also got the same error
as shown in the picture.
I wanted to apply the same commands mentioned in the post i've mentioned
PHP:
adb devices
adb shell
cd data/system
rm *.key
but when i type adb shell
i get the error, closed
so any idea on what is going on, i just want to understand my mistake here since these instructions should work on the Samsung !?
Click to expand...
Click to collapse
Any suggestions
janusjanus said:
http://postimg.org/image/m0tsja4qn/
Click to expand...
Click to collapse
Still awaiting any suggestions ?

[Split Screen] Multi-window on moto G4 plus.

Hello people. After successful root and installing xposed module n-ify you still don't get a multi window feature. Though many of you must be familiar with it but those who ain't. This is just the right place.
Here's something new .... U can do it without root too.
Enable Multiwindow WITHOUT ROOT
Requirements:
1. Working adb and fastboot on PC
2. Notepad++ or anything to edit the build.prop
3. TWRP on your device
4. Cool Attitude
Let's begin.
(Note: The commands in command prompt are to be give without the Quotes)
1. Boot your Android device into TWRP recovery.
2. Select Mount and then select System from the list of partitions to mount the system partition and then go back.
3. Connect your device to the PC.
4. Open minimal adb and fastboot or just open command prompt if u have adb shell installed separately
5. Type command, "adb devices" and if adb is properly installed, your device will be listed.
Then type command,
"adb pull /system/build.prop"
The above command will download the build.prop file to your PC in the same directory where your command prompt is running from. (Tip: Make a copy of your build.prop)
6. Open the build.prop file on your PC using the Notepad++ program.
7. Find the line "ro.build.type=user" and change it to "ro.build.type=userdebug" and save the changes
8. Now again in command prompt, type the command
"adb push build.prop /system/"
9. Now set the correct permissions for the build.prop file with following commands (issue them one-by-one):
"adb shell"
"cd system"
"chmod 644 build.prop"
10. Now reboot your device.
11. Go to Developer options in settings and you'll see a "Multi-window mode" just toggle it on and voila.
Enable Multiwindow on Rooted device...!
Requirements:
1. Root access
2. Any root explorer (es explorer is very good and I'm using it in this tutorial)
Let's begin.
1. After rooting your Moto G4 plus, download and install any root explorer and grant it superuser access. (I'm using es explorer)
2. In the explorer, go to Device\ System\ Build.prop.
3. Copy the build.prop to any other location (incase you wish to revert this, this is kinda backup step)
4. Now again go to original build.prop (Device\ System\ Build.prop)
5. Open it with the es note editor (I'm using es explorer here)
6. Find the line "ro.build.type=user" and click on the 3-dot menu on top right side (es explorer) and click edit.
7. Now edit the line and change "user" to "userdebug" (without quotes)
8. Save it and Reboot your device.
9. Go to Developer options in settings and you'll see a "Multi-window mode" just toggle it on and voila.
You have the Working multi window. Screenshots attached.
[To get other Android Nougat features, just get working xposed on your device and install n-ify module. Activate it and there you are!]
Screenshots here,
https://drive.google.com/folderview?id=0Bya7b1JXXZycS2pHT3d4alhxaWc
A thanks would be really appreciated
Tested and it works
Added screenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's an old trick. I know but it's really cool
Would this work on the regular G4? Noob question but I don't wanna mess up my phone.
NexusFan9219 said:
Would this work on the regular G4? Noob question but I don't wanna mess up my phone.
Click to expand...
Click to collapse
Yeah sure it would. Go ahead. Just make a copy of Build.prop. Incase u desire to revert it or Incase u edit something else in build.prop
If u are not rooted and still want to have multiwindow...... Then u can pull the build.prop via adb and edit it and then push it again into the system via adb.......
If u do not get it or want a detailed explanation then comment below..... I'll update the OP
cool_sid said:
If u are not rooted and still want to have multiwindow...... Then u can pull the build.prop via adb and edit it and then push it again into the system via adb.......
If u do not get it or want a detailed explanation then comment below..... I'll update the OP
Click to expand...
Click to collapse
Pl update process for non-root, dont think its a noob question..
sirtbhopal said:
Pl update process for non-root, dont think its a noob question..
Click to expand...
Click to collapse
OP has been updated with the Non Root method.
N buddy..... It's just question...... Never a noob or a silly question.....
U don't know guys..... Some simple questions teach lot to us.....
Just like I learned that I can edit system without root too just by mounting the system in twrp....
So guys now u can do this without even having root access on your device....
Multiwindow on Moto G4 Plus and that too without root.....
Rush it guys....
So I hear you can't do OTA updates with TWRP installed? Is there a way to do the non root method without TWRP? If not, is there a quick way to install TWRP, make the fix and then return to normal recovery? I can't see much in the way of guides?
Thanks
damonsmith666 said:
So I hear you can't do OTA updates with TWRP installed? Is there a way to do the non root method without TWRP? If not, is there a quick way to install TWRP, make the fix and then return to normal recovery? I can't see much in the way of guides?
Thanks
Click to expand...
Click to collapse
Use recovery switcher app from XDA..... It also is great to quickly switch recoveries....... Then u can easily switch between stock recovery n twrp
To apply ota..... Flash fire can also be used.... (Never used it though)
And u can modify system without root or a custom recovery at least...... Hope u can understand that......
Rest I'll see if there is any other possible way
cool_sid said:
Use recovery switcher app from XDA..... It also is great to quickly switch recoveries....... Then u can easily switch between stock recovery n twrp
To apply ota..... Flash fire can also be used.... (Never used it though)
And u can modify system without root or a custom recovery at least...... Hope u can understand that......
Rest I'll see if there is any other possible way
Click to expand...
Click to collapse
What he said, plus you can just boot TWRP instead of flashing it if you want to use features of TWRP without flashing it.
Tel864 said:
What he said, plus you can just boot TWRP instead of flashing it if you want to use features of TWRP without flashing it.
Click to expand...
Click to collapse
Yeah instead of giving command.
fastboot flash recovery twrp.img
U can use
fastboot boot twrp.img
I guess......
On my N5, with TWRP I can flash Google OTA files just fine. Maybe with TWRP for Moto G4 that can be possible...
Recently picked up this phone up, sucks there isn't much for the G4's compared to the Nexus/Pixel devices, even tho they basically run stock AOSP. But I have an Nexus 5 still too
Anyway, I tried out your little tip and it worked like a charm ?
Thanks for this!
My device = Moto G4 XT1625_retail_non-amazon_garbage lol
Thanx

Unlocking bootloader and rooting on LG K40s

Hi there,
I recently bought a LG K40s and wanted to unlock the bootloader in order to root this phone. But I could't find any instructions on how to do this nor a fastboot mode for that phone.
Does anyone know how I can get root access on this phone?
Thanks in advance,
Oebbler1
Fastboot: switch off the smartphone by holding the Power button for a couple of seconds. Then connect the Type C USB cable with your PC or laptop. Now push Volume Down and connect this cable with your device. When
hi. I try to root this device but when I use ADB this don´t go to bootloader, the device reboot in normal mode. I look TWRP web and this device isn´t in the list
Any method to root this device?
Regards
Help
we need to create a post to get help to root and install twrp on LG K40s
@jessepinheiro50
To root Android as 1st thing of all things these requirements must be achieved
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Next step is to install the USB-driver matching your device
Then check you can access phone from PC via USB
Code:
adb devices
and that boot-loader can get unlocked
Code:
adb shell "getprop ro.oem_unlock_supported"
and if returned value=1 verify that you can deal with phone's boot-loader
Code:
adb reboot bootloader
fastboot devices
Next step is to boot into phone's boot-loader, and unlock it WHAT WILL ERASE ALL DATA ON YOUR PHONE
Code:
fastboot OEM unlock
fastboot reboot
At last step you flash the software that will add root to Android
Code:
adb devices
adb sideload <ROOTING-SOFTWARE-ZIP>
adb reboot
Any news?
Any news on how to root this device?
solve ?
renanflores85 said:
Any news on how to root this device?
Click to expand...
Click to collapse
there is an apk that search for what program can root the current android, and the only it show was stumproot, idk if is safe, i never saw it before, but searching for it, it show that is a root program for lg
jwoegerbauer said:
@jessepinheiro50
To root Android as 1st thing of all things these requirements must be achieved
Next step is to install the
Then check you can access phone from PC via USB
Code:
adb devices
and that boot-loader can get unlocked
Code:
adb shell "getprop ro.oem_unlock_supported"
and if returned value=1 verify that you can deal with phone's boot-loader
Code:
adb reboot bootloader
fastboot devices
Next step is to boot into phone's boot-loader, and unlock it WHAT WILL ERASE ALL DATA ON YOUR PHONE
Code:
fastboot OEM unlock
fastboot reboot
At last step you flash the software that will add root to Android
Code:
adb devices
adb sideload <ROOTING-SOFTWARE-ZIP>
adb reboot
Click to expand...
Click to collapse
this don't worked, it just reboot the phone, and it show 1 when it check if is possible to use boot-loader
letsbrick said:
this don't worked, it just reboot the phone, and it show 1 when it check if is possible to use boot-loader
Click to expand...
Click to collapse
Try
Code:
fastboot flashing unlock
instead of
Code:
fastboot OEM unlock
jwoegerbauer said:
Try
Code:
fastboot flashing unlock
instead of
Code:
fastboot OEM unlock
Click to expand...
Click to collapse
That's not work for me. adb don't identify the device and only wait.
wallrony said:
That's not work for me. adb don't identify the device and only wait.
Click to expand...
Click to collapse
yeah is waiting for any device
So... The problem is that "adb reboot bootloader" doesn't init smartphone in bootloader, but in normal boot process. it's feasible to think about how to "unlock" the "boot of bootloader", since LG may have blocked in this device.
we should create guides in XDA how to install drivers on PC
as this is common hardship for many.
most preferably some autoinstaller of all drivers, for all devices (taken from manufacturers)
indestructible master said:
we should create guides in XDA how to install drivers on PC
as this is common hardship for many.
most preferably some autoinstaller of all drivers, for all devices (taken from manufacturers)
Click to expand...
Click to collapse
No, that's not the problem. Fastboot commands run only when the device's in bootloader device.
So, i solved to persist and search many ways to see something. And that, i got in recovery menu (with Restart System, Wipe, Start ADB sideload - but without connection with PC, as a not connected device, the connection isn't stablished because adbd is a not found command from device shell, in the log returns that, and system wait more or less of 5 minutes to back to recovery menu). In that, i could see the recovery logs, and the last is the normal procedure of a factory reset, i think. In that i encountered some properties that are defined by default:
Code:
ro.boot.flash.locked=1
ro.treble.enabled=true
ro.bootloader=unknown
ro.product.name=mmh551m_f
And by peace of mind, i run
Code:
adb shell "getprop ro.bootloader"
on PC terminal with adb and that returns me the "unknown" that i see in the log. Running
Code:
adb shell "getprop"
returns all prop of the system, so that can be examined to make something. So... I tried to change property using setprop, like ro.boot.flash.locked to 0, or ro.bootloader to any value, but no success.
And to finalize, in contact with LG support whatsapp, the ChatBot returns me a message saying that the bootloader function isn't available by secure reasons.
I think that the value was simply hided from the original value to not access the bootloader, but it's in device ... But with no permission to change the value and not know what value set in the prop.
There are a guide to unlock the boot-loader, but not yet to root.
Root LG K41S + SafetynetAPI pass
Disclaimer These kind of modifications are not for the faint of heart!!! Flash/modify at your own risk!!! I will not be responsible for bricked phones, Dead batteries, world war 3, yada yada yada..... you Know the Rest. :sneaky: Introduction...
forum.xda-developers.com
I followed this process and it doesn't go past the [ fastboot OEM unlock ] step.
I just get < waiting for any device >
However, when I try to use Google Pay and other such apps, I am faced with a security issue.
The question is: Is the bootloader unlocked or not ?
If so, how to relock it ?
Have a device of this wich has a problem with the screen apparently, after changing the screen it wont boot, no battery animation when charger is connected, only a red light and a smooth periodical vibration. If i hold power on and any vol buttons it seems to try boot showing lg logo but fail quicly and keeps off.
Something happened when i repaired it was that side buttons flex got broken so had to order a new one, it passed a lot of time to receive it but i believe that day with broken flex when testing the new screen i think i've seen the battery animation... Im not sure.
But seem its a common issue in this model. So is there something i can do to fix the mainboard?

How To Guide Rooting Zenfone 9 with Magisk

Guide has been reworked to be more clear and based on comments.
[Part One]
Backup Data
Update phone to latest version
[Part Two]
Download the Firmware for the Zenfone 9 https://www.asus.com/mobile/phones/zenfone/zenfone-9/helpdesk_download/​
Download Payload GUI. https://forum.xda-developers.com/attachments/payload-dumper-gui-v2-3-zip.5758127/ (Hermann2306 credit for mentioning)​
Extract the Payload Dumper GUI zip file, as well as the UL-ASUS Firmware zip file​
Run the Payload Dumper GUI program in the unzipped folder. A file explorer window will pop up; open the unzipped UL-ASUS Firmware folder and select the payload.bin file. Another file explorer window will pop up; select the UL-ASUS Firmware folder if not already selected, then click select folder in the bottom right.​
Click Dump on the Payload Dumper GUI Application. The files will be output to the UL-ASUS Firmware folder.​
[Part Three]
Download Magisk and install onto phone via APK. https://magiskmanager.com/downloading-magisk-manager/
Plug phone into computer and allow file transfer.
Within the UL-ASUS Firmware folder there will be a boot.img file. Move this file onto the phone.
Open the Magisk application and follow image below, select the boot.img to patch
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A file will be output with magisk. Move this file back onto the PC, and rename to boot.img
[Part Four]
Unlock Zenfone 9 Bootloader. Asus provides a bootloader unlock tool on their website. Below is the link directly to the apk. https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS590KS/AsusUnlock_1.0.0.7_210127_fulldpi.apk
Install the drivers listed below for the phones recovery mode https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS590KS/ASUS_Android_USB_drivers_for_Windows_20160331.zip (Asus Driver Xanker commented. Thank you again)
[Part Five]
Download Minimal ADB and extract files https://androidfilehost.com/?fid=962187416754459552
Move Boot.img file into Minimal ADB extracted folder.
Put Zenfone into recovery mode and connect to PC. Recovery mode can be achieved by turning off the phone and then powering on whilst holding the volume up button. Release when the ASUS logo pops on screen.
Run cmd-here.exe in the Minimal ADB folder; a command window will open
As a test run the command listed below and it should output a device fastboot devices
If that test succeeded run the final command to flash, fastboot flash boot boot.img
The command prompt command didn't run. Said it was not recognized. Is there a specific place the .exe need to be in the directory?
NVM...got it.
@BreadNoose Thanks for the write-up!!!
I just got the phone 2 days ago and have been trying to follow your steps but without success. I keep having issues with fastboot (I've probably spent 6+ hours on it; I also have a 9-5 job haha). The following are things I've tried:
*Btw, OEM unlock is not showing in Developers options. Download unlock app and I think my OEM is unlocked but in recovery it says "Yes" next to Bootloader thing.
-ADB works fine.
-Download Platform from Google.
-Tried ADB minimal from xda also.
-I tried three laptops, two windows 11 and the other windows 10. None of them recognize fastboot.
- When I go to device manager I see Asus phone listed with that yellow triangle sign and when I try to update the driver it either says drivers up to date or if I manually try to update it says some other error.
- Try different cables.
- I even disabled the driver signature in the restart menu but no success.
-I tried using Asus 8 drivers thinking that would help but nothing.
I wonder if it's just the Asus 9 driver that's the issue? What am I missing???
Any idea?
Thanks for any help you can provide.
bighit101 said:
@BreadNoose Thanks for the write-up!!!
I just got the phone 2 days ago and have been trying to follow your steps but without success. I keep having issues with fastboot (I've probably spent 6+ hours on it; I also have a 9-5 job haha). The following are things I've tried:
*Btw, OEM unlock is not showing in Developers options. Download unlock app and I think my OEM is unlocked but in recovery it says "Yes" next to Bootloader thing.
-ADB works fine.
-Download Platform from Google.
-Tried ADB minimal from xda also.
-I tried three laptops, two windows 11 and the other windows 10. None of them recognize fastboot.
- When I go to device manager I see Asus phone listed with that yellow triangle sign and when I try to update the driver it either says drivers up to date or if I manually try to update it says some other error.
- Try different cables.
- I even disabled the driver signature in the restart menu but no success.
-I tried using Asus 8 drivers thinking that would help but nothing.
I wonder if it's just the Asus 9 driver that's the issue? What am I missing???
Any idea?
Thanks for any help you can provide.
Click to expand...
Click to collapse
Had the same Problem, you have to use this driver:
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS590KS/ASUS_Android_USB_drivers_for_Windows_20160331.zip
The image version that I just downloaded seems to be at a higher version (WW-32.2030.2030.26 as opposed to WW-32.2004.2004.84 on my phone) and the phone doesn't have that version available (I haven't unlocked the bootloader yet). Should I update locally or download the earlier version of the image instead?
If your phone has the 2004 version installed extract the boot.img from the downloaded 2004 Payload.bin. Or you can update your phone and use the 2030 boot.img.
For me it works with the 2030 version. Root installed, everything ok (AdAway, Postbank (BankingApp)).
If you want to pass SafetyNet just install the magisk module from https://github.com/kdrag0n/safetynet-fix/releases/tag/v2.3.1 and reboot.
OK, rooted with no issues, I needed to install the asus drivers and had to reset a second time because the USB stopped working. However, I can't get Google wallet to work despite all other banking apps working as well as passing safetynet.
I dont use wallet, but if installed i can run it and start the setup, no errors.
Maybe try it with the use of denylist.
How to Hide Root from Apps via Magisk DenyList [Android 13]
In this comprehensive guide, we will show you the steps to hide root from apps and games using Magisk Denylist on Android 12.
www.droidwin.com
Hermann2306 said:
I dont use wallet, but if installed i can run it and start the setup, no errors.
Maybe try it with the use of denylist.
How to Hide Root from Apps via Magisk DenyList [Android 13]
In this comprehensive guide, we will show you the steps to hide root from apps and games using Magisk Denylist on Android 12.
www.droidwin.com
Click to expand...
Click to collapse
Doesn't work, the guide asks for denying google system apps which doesn't work because they are always off deny list (this is intended behaviour)
For the record, every other payment apps I am using, even the ones that check for safetynet are working. YASNAC returns a both pass basic.
Then i am sorry (Im too new to the whole android stuff, still learning)
Just for interest, can you start and configure wallet (error comes first if you want to pay)?
Hermann2306 said:
Then i am sorry (Im too new to the whole android stuff, still learning)
Just for interest, can you start and configure wallet (error comes first if you want to pay)?
Click to expand...
Click to collapse
Wallet is configurable, it's just that when you save your card details and it starts contacting the bank it would jump to an error saying that the system is modified.
Maybe try this? (I think you have already read/tried it)
[Magisk] Google wallet (pay) with magisk
Saw on reddit that some people have issues with google pay, since the new update added some new checks. So here is what you do: - Update Magisk to 25.2, Update magisk app to 25.2 as well - Rename Magisk app if you havent already - [ OPTIONAL ]...
forum.xda-developers.com
Does someone rooted a 16GB ram Zenfone 9? My software is 32.2004.2004.74.
Can not find this software at Asus website.
I have rooted the 16gb version (32.2030.2030.26).
Why dont make an update before root?
xanker said:
Had the same Problem, you have to use this driver:
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS590KS/ASUS_Android_USB_drivers_for_Windows_20160331.zip
Click to expand...
Click to collapse
OMG!!! Bro you are the MAN! (Sorry im so excited lol).
You literally saved me god knowns how many hours. It was the driver that were the issue. But whats weird is I went to asus site to download drivers before leaving a comment.
I'd really like to buy you a coffee (or adult beverage). Let me know your paypal/venmo.
Thanks again!
williamcll said:
OK, rooted with no issues, I needed to install the asus drivers and had to reset a second time because the USB stopped working. However, I can't get Google wallet to work despite all other banking apps working as well as passing safetynet.
Click to expand...
Click to collapse
Try this: https://github.com/kdrag0n/safetynet-fix
Veiranx said:
Try this: https://github.com/kdrag0n/safetynet-fix
Click to expand...
Click to collapse
Safetynet fix is running, it's just that it's not enough, still going through the prop fix.
bighit101 said:
OMG!!! Bro you are the MAN! (Sorry im so excited lol).
You literally saved me god knowns how many hours. It was the driver that were the issue. But whats weird is I went to asus site to download drivers before leaving a comment.
I'd really like to buy you a coffee (or adult beverage). Let me know your paypal/venmo.
Thanks again!
Click to expand...
Click to collapse
Glad I could help. I already drink enough coffee but you're welcome to donate to a children's charity.
xanker said:
Glad I could help. I already drink enough coffee but you're welcome to donate to a children's charity.
Click to expand...
Click to collapse
Yeah coffee is life!
You're too nice. Will donate in you're name.
Thanks man!!!

Categories

Resources