Estuve dos semanas tratando de instalar el certificado de burp en el avd y no pude hasta recien, muchas gracias amigo, saludos de un compañero pentester de buenos aires argentina
Great video mate. I tried finding many ways to root my Pixel 7 Pro AVD yesterday. Had no luck in finding a way to install TWRP. Thankfully, I came across this!
Finally someone made updates the android lab settings. Bro you saved me the trouble of setting everything up again since I switched to MacOs. Two years ago I watched your video where Burp was set up via cert and input through the terminal. I am waiting for new update videos next week for Burp and other tools. Keep up good work and thanks.
@@CorSecure Of course, man! The only thing I could suggest at all would be to open some sort of community Discord. It'd be dope to be able to talk about web/mobile debugging and share techniques and findings. But I can fully understand the reasons for not wanting to have one, especially because of opsec and just general annoyance/time reasons.
I've thought about it, but I honestly just don't have the time to manage something like that on top of my day job, making videos, and other hobby projects. I try to respond to as many comments as I can if people have questions though.
I followed the steps until 12:14, where everything was working fine. However, when I entered the adb shell command and then tried to use su after the $ prompt, it returned 'permission denied.' Could you please assist me with this issue
for me the stable on my computer is 25.2 and not 27.0 and if I try to select the stable 27.0 when downloading it fails same with the canary. Also then when trying to update it in the app it fails everytime. I need 27.0 but everything I tried did not work yet. Do you know how I can make sure that rootAVD recognises 27.0 as local and not 25.2? just using magisk 27.0 apk and making it as a zip and putting it in rootAVD folder does not work. Would be very thankful for help really tried what feels like everything already
Everything works well from what you show, however even id su works in the shell, adb root doesn't work (seems related to the production builds, like the one you've shown). Because of this I can't really access the file system in write mode. Could you do a tutorial for this part too ? Anyways, your video is super nice and super helpful. Thanks a lot.
Right on! I’ve literally spent a couple days trying to get this to work and your video solved it for me. Thanks man Now I can’t get MagiskTrustUserCert to work. Says unzip error during that module install inside Magisk
I'm glad my video was able to help! I'm planning on going over using MagiskTrustUserCert in the next video. I'll be recording it over the weekend, and it should be uploaded early next week.
GUYS i know this is kinda obvius but is adb command doesnt work goto enviorment variables go to system and edit path and then put the directory path of platform-tools and accept now its gonna work
I follow your video many times and do each step one by one. There is only a "google_apis_playstore" file in my android-31 file. I think that there must be one "google_apis_" file in my android-31 file. But there is no "google_apis_" file there. I really do not know why. Can you help me resolve that problem?
Hi Ben, thanks for the awesome content you produce... I am having an issue with this. My set up is similar to yours windows host, android studio and I even chose the exact emulator and architecture as you did in the video, but my kali is running on VMware not virtual box. I drop into a shell in command prompt instead of kali adb to emulator, then open another command prompt to run the rootAVD.bat, follow your instructions and Magisk keeps giving me this error a few times in the output: adb: error: failed to get feature set: more than one device/emulator - When I check adb devices only one emulator is running - I even tried adb kill-server and adb start-server. Any advice? I havent tried to adb from kali, as its been a nightmare to try open port 5037 on windows for the kali adb to work, the 10.0.2.2 method also doesnt work with the VMware and I am on NAT?
I found an emulator-5562 running on adb that belonged to the native instrument daemon. After uninstalling native instruments and the daemon (Its a plugin for Ableton) it worked!
Kinda weird i am on an older portable version of android emulator and no matter which google store device i run su says either not found or inaccessible
@@pratikpuri7079 kinda yes! I tried different versions of devices (i had a lot of problems with "pixel 5" ) and i tried newer versions of android The solution that worked in most was using rootAVD + magisk there are many videos on TH-cam on how to install it
This video is great and thank you so much, but I had one problem: when I installed rootAVD and then tried to restart the emulator, it would not start at all. Do you have a solution to this problem?
This kinda works for me (im root) but then i cant mount "/system" or "/" (to get burps CA there) and face lots of problems like getting /dev/block as read only Any ideas? I read all stackoveflow and after spamming chatgpt i just resorted to just using other emulators that come rooted like genny...
There's a Magisk module that does all of the work of installing the burp certificate for you. I go over that process in this video if you want to try it: th-cam.com/video/R3ptGaFW1AU/w-d-xo.html
Hi, is this rootAvd is safe? That bat or sh file will fetch or delete our local file? I tried to check sh file its pulling many git repository and files. Can we use this rootAVD on local Mac?
No. That is only for Android Studio emulators. To connect with ADB you should be able to just connect it with a USB cable and it should automatically be detected.
Hey most android devices aren't smartphones, like tv, vending machines,... Could you do some tutorial on for example how to crash a vending machine with NFC noise, so the app crashes and you are in the main android. Or how to update an apk to infect it with a backdor?
for someone never used command prompt i barley understood your steps, plus you talk alllllllllot bro , just get to the point and thanks for making this tutorial ;)
Every time I have done this, I have always used the local stable version. I've never actually tried using the stable 27.0 version, so I'm really not sure why it's not working.
@@CorSecure I understood, I was just in doubt because no video appears in local stable '27.0', and in the same file as below it appears in local stable '25.2', but it is working normally, thx
Is your VM network settings set to NAT? If it's an Android Studio emulator and the VM is set to NAT, then you should be able to connect to the emulator with adb connect 10.0.2.2.
@@CorSecure Yupp, they are. I can see both the vm and emulator are connected to local, but I still cant connect from to the emulator from my VM. Im using kali in VmWare Fusion and the Android Studio emulator.
That's very strange. I'm using VirtualBox, and I haven't personally used VmWare Fusion in several years. It's possible that there could be some weird networking setting Fusion has that isn't in VirtualBox, but other than that I don't know what could be causing this issue.
Install Android Studio here: developer.android.com/studio
Download rootAVD here: gitlab.com/newbit/rootAVD
Estuve dos semanas tratando de instalar el certificado de burp en el avd y no pude hasta recien, muchas gracias amigo, saludos de un compañero pentester de buenos aires argentina
This is great because I've needed a rooted android phone for various reasons over the years but don't want to buy another phone or risk my own.
Great video mate. I tried finding many ways to root my Pixel 7 Pro AVD yesterday. Had no luck in finding a way to install TWRP. Thankfully, I came across this!
Finally someone made updates the android lab settings. Bro you saved me the trouble of setting everything up again since I switched to MacOs. Two years ago I watched your video where Burp was set up via cert and input through the terminal. I am waiting for new update videos next week for Burp and other tools. Keep up good work and thanks.
I'm glad I could help!
You are CRIMINALLY underrated! Gonna be following you throughout my 3 years left of university while I study Cybersecurity.
Thanks! I hope my videos can help you!
@@CorSecure Of course, man! The only thing I could suggest at all would be to open some sort of community Discord. It'd be dope to be able to talk about web/mobile debugging and share techniques and findings. But I can fully understand the reasons for not wanting to have one, especially because of opsec and just general annoyance/time reasons.
I've thought about it, but I honestly just don't have the time to manage something like that on top of my day job, making videos, and other hobby projects. I try to respond to as many comments as I can if people have questions though.
Hi CorSecure
Thank you very much for this tutorial.
Easy to understand and implement.
Subscribed, and waiting for more tutorials. 😁
Dude you are the MAN!!!! This guide worked perfectly for a mini project I was working on. Thanks!!!!!
I'm glad it helped!
thank you so much this is the clearest tutorial I've seen your videos are amazing
Thanks! I'm glad it helped!
10:31
At this step it failed and said "Neither system-images nor ramdisk files could be found"
even i am stuck there. Any workaround?
Oh man thanks for this video. Wish I found this days ago
Thank you for the guide!
Works for me on SDK 33 as well
I followed the steps until 12:14, where everything was working fine. However, when I entered the adb shell command and then tried to use su after the $ prompt, it returned 'permission denied.' Could you please assist me with this issue
for me the stable on my computer is 25.2 and not 27.0 and if I try to select the stable 27.0 when downloading it fails same with the canary. Also then when trying to update it in the app it fails everytime. I need 27.0 but everything I tried did not work yet.
Do you know how I can make sure that rootAVD recognises 27.0 as local and not 25.2? just using magisk 27.0 apk and making it as a zip and putting it in rootAVD folder does not work.
Would be very thankful for help really tried what feels like everything already
your explaination is really good, the only thing that makes me confused is that you always mix linux and windows on your videos..
Great video, helped me whole lot ❤ thank you!
Thanks for everything. Hope u post a video about install magisk 27 ;>
Everything works well from what you show, however even id su works in the shell, adb root doesn't work (seems related to the production builds, like the one you've shown). Because of this I can't really access the file system in write mode. Could you do a tutorial for this part too ? Anyways, your video is super nice and super helpful. Thanks a lot.
Thank you for sharing such amazing videos and helping appsec community
Right on! I’ve literally spent a couple days trying to get this to work and your video solved it for me. Thanks man
Now I can’t get MagiskTrustUserCert to work.
Says unzip error during that module install inside Magisk
I'm glad my video was able to help!
I'm planning on going over using MagiskTrustUserCert in the next video. I'll be recording it over the weekend, and it should be uploaded early next week.
@@CorSecure do you have a date set for the upload?
It should be going up later today
@@CorSecure right on!
In root device when i install app it was not opening. Error like ... Unfortunately app has stop . What to do
My problem with Android studio is that I cannot use camera on it. I don't know how people do that or maybe its not just possible
GUYS i know this is kinda obvius but is adb command doesnt work goto enviorment variables go to system and edit path and then put the directory path of platform-tools and accept now its gonna work
I followed the exact same tutorial but the modules and supoeruser serctions are grayed out why ??
Bro you are an underrated GOAT !! 🐑
Thanks man, this tutorial is amazing 0/
I'm glad it helped!
after getting magisk set up, the abd command did not work
why i have Magisk Manager shows "Modules" and "Superuser" grayed out
does anyone get adb offline at the end when it is trying to download magisk?
Great. Reminder don't change your default sdk location
I follow your video many times and do each step one by one.
There is only a "google_apis_playstore" file in my android-31 file.
I think that there must be one "google_apis_" file in my android-31 file. But there is no "google_apis_" file there. I really do not know why.
Can you help me resolve that problem?
Hi Ben, thanks for the awesome content you produce... I am having an issue with this. My set up is similar to yours windows host, android studio and I even chose the exact emulator and architecture as you did in the video, but my kali is running on VMware not virtual box. I drop into a shell in command prompt instead of kali adb to emulator, then open another command prompt to run the rootAVD.bat, follow your instructions and Magisk keeps giving me this error a few times in the output: adb: error: failed to get feature set: more than one device/emulator - When I check adb devices only one emulator is running - I even tried adb kill-server and adb start-server. Any advice? I havent tried to adb from kali, as its been a nightmare to try open port 5037 on windows for the kali adb to work, the 10.0.2.2 method also doesnt work with the VMware and I am on NAT?
I found an emulator-5562 running on adb that belonged to the native instrument daemon. After uninstalling native instruments and the daemon (Its a plugin for Ableton) it worked!
Kinda weird i am on an older portable version of android emulator and no matter which google store device i run su says either not found or inaccessible
Hello, Did u figure it out.
@@pratikpuri7079 kinda yes!
I tried different versions of devices (i had a lot of problems with "pixel 5" ) and i tried newer versions of android
The solution that worked in most was using rootAVD + magisk there are many videos on TH-cam on how to install it
@@pratikpuri7079 agh yes but i believe youtube removed my reply, use rootAVD from git and dont use the pixel 5 device
I am trying to reply with my solution but youtube is removing my comment
This video is great and thank you so much, but I had one problem: when I installed rootAVD and then tried to restart the emulator, it would not start at all. Do you have a solution to this problem?
This kinda works for me (im root) but then i cant mount "/system" or "/" (to get burps CA there) and face lots of problems like getting /dev/block as read only
Any ideas? I read all stackoveflow and after spamming chatgpt i just resorted to just using other emulators that come rooted like genny...
There's a Magisk module that does all of the work of installing the burp certificate for you. I go over that process in this video if you want to try it: th-cam.com/video/R3ptGaFW1AU/w-d-xo.html
@@CorSecure Man you saved me, thank you so much, love the clear explanations and the help, really thanks x1000!
Hi, is this rootAvd is safe? That bat or sh file will fetch or delete our local file? I tried to check sh file its pulling many git repository and files. Can we use this rootAVD on local Mac?
For anyone that is getting a grey screen on his emulator after rooting it and trying to launch it again, the solution is to cold start it
Can i play pokemon go with this? I have a 2019 MacBook pro.. Will it work?
Umm what if I used the physical android devices?? It's still 10.0.2.2??
No. That is only for Android Studio emulators. To connect with ADB you should be able to just connect it with a USB cable and it should automatically be detected.
Thank you so much for the great videos I love your chanel
Thanks! I'm glad my videos can be helpful!
So can you play games on this emulator or will you get kicked out because you're running an emulator?
depends on the game. some games might have emulator detection, but any game or app that doesn't have emulator detection should work.
Hey most android devices aren't smartphones, like tv, vending machines,...
Could you do some tutorial on for example how to crash a vending machine with NFC noise, so the app crashes and you are in the main android.
Or how to update an apk to infect it with a backdor?
I don't really have any experience working with vending machines, but I do have plans to make some videos about other smart devices like TVs.
Error
emulator failed to connect within 5 minutes
Same here! Have you found a fix?
@@demonactivated6086 It was the structure of my pc, I literally cant do it. There are some troubleshooting stuff you can do but none worked for me...
@@demonactivated6086 did you find a fix?
for someone never used command prompt i barley understood your steps, plus you talk alllllllllot bro , just get to the point
and thanks for making this tutorial ;)
You have a video for android mobile without pc I need emulator with root for my phone but I have no pc
how could install version 27 , i see you content ??
[1] local stable '25.2' (ENTER)
[2] stable 27.0
27.0 not work, what could it be?
Every time I have done this, I have always used the local stable version. I've never actually tried using the stable 27.0 version, so I'm really not sure why it's not working.
@@CorSecure I understood, I was just in doubt because no video appears in local stable '27.0', and in the same file as below it appears in local stable '25.2', but it is working normally, thx
@@CorSecure so, i can't use higher version of Magisk? only 25.2 version?
nvm, i figured it out by using fakebootimg command
@@doffya4799 so i try to change file magsik 25 and add 27 but same problem . but how could he install 27 ??
this is so rad, thanks!
Hi! Thanks for the great video. Do you know if there is any way to unroot the device? Thanks!
Can you do this on windows 11?
Yep! I was using Windows 11 when I recorded this video
Hey man, Great vid!
I can't get my vm, kali, to connect to the emulator. Any ideas?
Is your VM network settings set to NAT? If it's an Android Studio emulator and the VM is set to NAT, then you should be able to connect to the emulator with adb connect 10.0.2.2.
@@CorSecure Yupp, they are. I can see both the vm and emulator are connected to local, but I still cant connect from to the emulator from my VM. Im using kali in VmWare Fusion and the Android Studio emulator.
That's very strange. I'm using VirtualBox, and I haven't personally used VmWare Fusion in several years. It's possible that there could be some weird networking setting Fusion has that isn't in VirtualBox, but other than that I don't know what could be causing this issue.
Your the best mobile pentester
when i tried adb connect 10.0.2.2 in the kali vm it didn't connect
were you able to resolve issue? I have the same issue.
same, kali terminal shows "failed to connect to '10.0.2.2:5555': Connection refused"
@@albertol4048 nope
I have solved this, I am downloaded Kali Linux Virtualbox version and it works. Hope it helps.
@@DonnyFaturrachman was it Oracl virtual box, and what androud studio did you use?
Solid!
GOD🤩