Related
Note to users: I am NOT RESPONSIBLE for any damage done to your device. I did this on my phone and it worked just fine. Any damages done to the device is your fault. Please make sure to follow the steps carefully.
This is a guide on how to root the Samsung Galaxy J7 SM-J730F without TWRP. I've included a backup stock firmware in case you soft-brick your device.
BACKUP STOCK FIRMWARE FOR SOFT-BRICKED DEVICES:
In case you have soft-bricked your device by doing this tutorial incorrectly, download the stock firmware HERE and follow this guide to re-flash your phone, HERE. Do not attempt to root your device again unless you know what you're doing this time.
I also recommend completely backing up your device after successful root - click here to find out how.
WARNINGS:
1. You will have to WIPE ALL YOUR DATA in order to complete this tutorial.
2. You are at a very high risk of screwing up your device if you proceed ahead with this tutorial. Please make sure you know what you are doing, and that you have knowledge of re-flashing your phone. I am not responsible.
Requirements:
1. A Samsung Galaxy J7 SM-J730F device;
2. PC;
3. An USB cable;
4. Odin v3.12.7 - Download Here;
5. SuperSU .tar file - Download Here;
6. ADB - Download Here.
Instructions:
1. Download Odin on your PC from the link above, and extract everything from the archive to C:\ODIN (create a new folder);
2. Download the SuperSU .tar file from the link above and place it in your C:\ODIN folder. DON'T extract this archive;
3. Download ADB from the link above and extract the contents of the archive to C:\ADB (create a new folder);
4. Make sure USB Debugging AND OEM Unlock are ENABLED in Settings --> Developer Options on your phone. If you don't know how to activate Developer Options, check this out. After you've enabled these, connect your USB cable from your phone to your PC.
Note: If the phone tells you an access request is being received from your PC's fingerprint, accept it.
6. Open ADB on your computer by going to a Command Prompt, and typing cd C:\ADB;
7. Type adb devices to make sure your phone has been detected by ADB, like so:
{
"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"
}
8. In the Command Prompt, type adb reboot recovery and press enter to reboot your phone into Recovery Mode;
9. Once your phone has booted into Recovery Mode, select the Wipe data/factory reset, and then select Yes when it asks for confirmation:
(Note: THIS STEP IS MANDATORY. If you don't wipe your data, the encryption on your phone will remain and you will be unable to root your phone.)
10. After you've wiped your data, BOOT DIRECTLY INTO DOWNLOAD MODE FROM RECOVERY MODE. You can do this by holding down Volume Down + Home Key + Power Button WHILE STILL IN THE RECOVERY MENU.
Important Note: Ideally, you should still be in the recovery menu after doing a factory reset. Then do the instructions above to enter Download Mode. If you reboot AND THEN go to Download Mode, this method won't work, because your encryption will be put in place again and your phone will become unrootable. Please do the above steps with caution.
11. Hold the buttons down. If you did everything correctly, you should see a screen like this pop up:
12. Press the Volume Up button to proceed to the flashing section. You should see this screen:
13. Now, make sure that the USB cable is still connected to your phone. Open ODIN on your PC, and click on the AP button, then select the SuperSU archive that you downloaded. Make sure that your phone is detected, Odin has to say "Added!!" in the log to the right. If it doesn't say that, re-connect your USB cable to your phone, or switch the USB port on your PC. Then press Start to begin flashing SuperSU and rooting your phone:
14. After Odin has finished flashing your phone, it should say PASS! at the top left of the window, under it's name. Your phone will reboot automatically.
15. Once your phone has rebooted, you should be greeted by the usual setup screen that happens when you factory reset your device. Set up the settings as normal, and install SuperSU from the Play Store HERE once the phone is set up. (This is VERY important.)
16. After you've installed SuperSU, download Titanium Backup from the Play Store, and uninstall the system app "Knox" and everything with "Knox" in their name, and also uninstall "Device Security". They could mess with your boot and spam you with "Unauthorized Action" notification. You don't need them anyway -- once you're rooted, those two don't work anymore.
And that's it!
Your phone should be rooted now! I recommend installing Root Checker to see if you have done everything correctly. It should return this result if so:
Thanks for reading my tutorial! I hope it has helped you root your phone. If you did everything correctly, you should be rooted now. If you have soft-bricked your device and your phone is stuck on the Samsung boot logo, please download the included backup firmware and re-flash your phone, and do not attempt to root your phone again.
Hit the "Thanks!" button if my guide helped you!
Please leave any problems you might have in the comments, and don't be immature. I will not help people with a bad attitude. As I said, if you **** up, it's your problem and I am not responsible. But I will still try to help.
-----------------------------------------------------------------
Recommendations (Optional):
I recommend the following root-only apps to enhance your rooted experience.
1. Titanium Backup - Must-have app for rooted users. Useful in debloating your phone, freezing apps (hiding them from app drawer and disabling them - even system apps), backing up apps and more.
2. FlashFire - Useful for completely backing up your phone, flashing your phone with ZIPs, restoring backups and more.
3. Link2SD - Useful for moving apps to the SD card or to the Internal Storage, and more.
4. Greenify - Greenify working in root mode is the best battery saving app there is. It hibernates the apps that you don't use so that you can get the most out of your battery.
5. ES File Manager PRO - The perfect file manager. It lets you back up your apps, has a root explorer function, can let you see hidden files, lets you create shortcuts to any file on your home screen, and much more. There is a free version too, but I strongly recommend the PRO version.
Note: You guys can leave root-only apps in the replies as well, I didn't include a full list of them, obviously, so you guys can help people finding the apps they need to enhance their newly unlocked root experience.
If you want me to send you a list of safe to uninstall system apps, PM me.
Quick extra tip: To disable the ugly white frames for icons in the TouchWiz Home launcher, go to Settings -> Display -> Icon Frames and choose Icons Only.
Many thanks for this great guide.
I have two questions: if we root, do we lose the ability to encrypt our phones and use secure folders? Also, do we lose the ability to use NFC?
Antmcr said:
Many thanks for this great guide.
I have two questions: if we root, do we lose the ability to encrypt our phones and use secure folders? Also, do we lose the ability to use NFC?
Click to expand...
Click to collapse
If you root:
1. You lose Secure Folder
2. Please elaborate on "encrypt our phones"
3. NFC still works iirc
4. Your warranty will be void
Does this method work on galaxy j7 sky pro sm-s737tl
GOOD WORK
ROOT WORK AND EVERYTHING FINE
BUT THISE PROBLEM STILL COMING UP????AND I GOT CRAZY ?
ANY SOLUTION?
SEE THE ATTACHMENT PICTURE
Yes I told you remove Device Security and Knox with Titanium Backup, and then reboot your phone.
They don't work after you root your phone.
I did that but this problem still coming
And I also remove (secure folder)
Should I remove( device maintenance) also?
I think it's the message come.
Is it safe to remove (device maintenance)
ahmed10g said:
I did that but this problem still coming
And I also remove (secure folder)
Should I remove( device maintenance) also?
I think it's the message come.
Is it safe to remove (device maintenance)
Click to expand...
Click to collapse
Yes, it's safe, remove it, and if you want actual maintenance just get CCleaner app.
i started everything from the begining
1-i flashed stock rom again.
2- flashed the root as the steps as above.
3- i did not delete knox or device security or anything.
4- install titanum backup and i searched for (security log agent) then i freezed it.
root work great and no more error message coming like befor.
my device j730f
Root
Help me
I installed twrp and supersu successfully, but the audio did not work, how the solution, I use samsung j730g / ds
..thank you: D
Sahidicooy said:
Help me
I installed twrp and supersu successfully, but the audio did not work, how the solution, I use samsung j730g / ds
..thank you: D
Click to expand...
Click to collapse
try rebot the device
if not work flash stock rom again and try above step to root.
ScarXL said:
Note to users: I am NOT RESPONSIBLE for any damage done to your device. I did this on my phone and it worked just fine. Any damages done to the device is your fault. Please make sure to follow the steps carefully.
This is a guide on how to root the Samsung Galaxy J7 SM-J730F without TWRP. I've included a backup stock firmware in case you soft-brick your device.
BACKUP STOCK FIRMWARE FOR SOFT-BRICKED DEVICES:
In case you have soft-bricked your device by doing this tutorial incorrectly, download the stock firmware HERE and follow this guide to re-flash your phone, HERE. Do not attempt to root your device again unless you know what you're doing this time.
I also recommend completely backing up your device after successful root - click here to find out how.
WARNINGS:
1. You will have to WIPE ALL YOUR DATA in order to complete this tutorial.
2. You are at a very high risk of screwing up your device if you proceed ahead with this tutorial. Please make sure you know what you are doing, and that you have knowledge of re-flashing your phone. I am not responsible.
Requirements:
1. A Samsung Galaxy J7 SM-J730F device;
2. PC;
3. An USB cable;
4. Odin v3.12.7 - Download Here;
5. SuperSU .tar file - Download Here;
6. ADB - Download Here.
Instructions:
1. Download Odin on your PC from the link above, and extract everything from the archive to C:\ODIN (create a new folder);
2. Download the SuperSU .tar file from the link above and place it in your C:\ODIN folder. DON'T extract this archive;
3. Download ADB from the link above and extract the contents of the archive to C:\ADB (create a new folder);
4. Make sure USB Debugging AND OEM Unlock are ENABLED in Settings --> Developer Options on your phone. If you don't know how to activate Developer Options, check this out. After you've enabled these, connect your USB cable from your phone to your PC.
Note: If the phone tells you an access request is being received from your PC's fingerprint, accept it.
6. Open ADB on your computer by going to a Command Prompt, and typing cd C:\ADB;
7. Type adb devices to make sure your phone has been detected by ADB, like so:
8. In the Command Prompt, type adb reboot recovery and press enter to reboot your phone into Recovery Mode;
9. Once your phone has booted into Recovery Mode, select the Wipe data/factory reset, and then select Yes when it asks for confirmation:
(Note: THIS STEP IS MANDATORY. If you don't wipe your data, the encryption on your phone will remain and you will be unable to root your phone.)
10. After you've wiped your data, BOOT DIRECTLY INTO DOWNLOAD MODE FROM RECOVERY MODE. You can do this by holding down Volume Down + Home Key + Power Button WHILE STILL IN THE RECOVERY MENU.
Important Note: Ideally, you should still be in the recovery menu after doing a factory reset. Then do the instructions above to enter Download Mode. If you reboot AND THEN go to Download Mode, this method won't work, because your encryption will be put in place again and your phone will become unrootable. Please do the above steps with caution.
11. Hold the buttons down. If you did everything correctly, you should see a screen like this pop up:
12. Press the Volume Up button to proceed to the flashing section. You should see this screen:
13. Now, make sure that the USB cable is still connected to your phone. Open ODIN on your PC, and click on the AP button, then select the SuperSU archive that you downloaded. Make sure that your phone is detected, Odin has to say "Added!!" in the log to the right. If it doesn't say that, re-connect your USB cable to your phone, or switch the USB port on your PC. Then press Start to begin flashing SuperSU and rooting your phone:
14. After Odin has finished flashing your phone, it should say PASS! at the top left of the window, under it's name. Your phone will reboot automatically.
15. Once your phone has rebooted, you should be greeted by the usual setup screen that happens when you factory reset your device. Set up the settings as normal, and install SuperSU from the Play Store HERE once the phone is set up. (This is VERY important.)
16. After you've installed SuperSU, download Titanium Backup from the Play Store, and uninstall the system app "Knox" and everything with "Knox" in their name, and also uninstall "Device Security". They could mess with your boot and spam you with "Unauthorized Action" notification. You don't need them anyway -- once you're rooted, those two don't work anymore.
And that's it!
Your phone should be rooted now! I recommend installing Root Checker to see if you have done everything correctly. It should return this result if so:
Thanks for reading my tutorial! I hope it has helped you root your phone. If you did everything correctly, you should be rooted now. If you have soft-bricked your device and your phone is stuck on the Samsung boot logo, please download the included backup firmware and re-flash your phone, and do not attempt to root your phone again.
Hit the "Thanks!" button if my guide helped you!
Please leave any problems you might have in the comments, and don't be immature. I will not help people with a bad attitude. As I said, if you **** up, it's your problem and I am not responsible. But I will still try to help.
-----------------------------------------------------------------
Recommendations (Optional):
I recommend the following root-only apps to enhance your rooted experience.
1. Titanium Backup - Must-have app for rooted users. Useful in debloating your phone, freezing apps (hiding them from app drawer and disabling them - even system apps), backing up apps and more.
2. FlashFire - Useful for completely backing up your phone, flashing your phone with ZIPs, restoring backups and more.
3. Link2SD - Useful for moving apps to the SD card or to the Internal Storage, and more.
4. Greenify - Greenify working in root mode is the best battery saving app there is. It hibernates the apps that you don't use so that you can get the most out of your battery.
5. ES File Manager PRO - The perfect file manager. It lets you back up your apps, has a root explorer function, can let you see hidden files, lets you create shortcuts to any file on your home screen, and much more. There is a free version too, but I strongly recommend the PRO version.
Note: You guys can leave root-only apps in the replies as well, I didn't include a full list of them, obviously, so you guys can help people finding the apps they need to enhance their newly unlocked root experience.
If you want me to send you a list of safe to uninstall system apps, PM me.
Quick extra tip: To disable the ugly white frames for icons in the TouchWiz Home launcher, go to Settings -> Display -> Icon Frames and choose Icons Only.
Click to expand...
Click to collapse
Bro, Not work in J730G Binary 3, only show "Custom binary blocked due to remaining installment balance" Any idea for root this phone in binary 3 U3.. thx
I keep getting a error when I try to wipe data/factory reset on recovery mode
Error:
" E: Failed to find /misc partition "
Thanks.
First of all, thanks for this guide.
After rooting the phone, is it safe to encrypt it via settings - security - encrypt phone? Or will I get in trouble with bootloops or things?
Thank you very much for this guide
Can anyone please help a person who has a new J-730 what the status of rooting the phone is ........Does magisk break Knox ? Is there any way to reset a broken Knox ?
Does Samsung Pay, Secure folder etc work on a rooted phone ?
Thanks
ahmed10g said:
i started everything from the begining
1-i flashed stock rom again.
2- flashed the root as the steps as above.
3- i did not delete knox or device security or anything.
4- install titanum backup and i searched for (security log agent) then i freezed it.
root work great and no more error message coming like befor.
my device j730f
Click to expand...
Click to collapse
Brother r u sure its 100% works ?
Today i root j7 pro 730f model ,system roor but when i remove or un install system apps after i factory reset system in start enter play store account screen black show and stop here .....so you face this kind of issue or not????waiting for ur good reply.
Hello,
I do not get a connection between Samsung J7 phone and pc via USB? Tried several things: installation of W10 usb driver from samsung, USB configuration on phone (set to MTP), other USB port, other pc....
Anyone a suggestion? Thx in advance.
Help me
my phone is stuck on logo screen plz help
..
Android 9 Odin?
I have the Android 9 version of Samsung J7 Pro (SM-J730F) should I still use v3.12.7 of Odin or should I rather use v3.13.1 of Odin?
(RESOLVED)
How to fix:
Use fastboot to flash recovery.
1. Download Android Development Tools
2. Download TWRP
3. Put all files in a folder on your C drive named "Test"
4. Open cmd, type 'cd C:\Test\
5. Connect your phone to your computer
6. In the cmd prompt, type 'fastboot devices'
7. You should see a device listed.
8. Type 'fastboot flash recovery C:\Test\[Name of the TWRP file].img
9. Rebbot your phone into recovery mode.
10. Wipe your device
11. Install the ROM of your choice.
10. Issue resolved.
Hello all,
I had flashed my Nexus 5X with Lineage 15.1 and then rooted it with SuperSU and it worked perfectly; Until I flashed GAPPs (Apparently you are supposed to install GAPPs before rooting). My phone was freaking out after I flashed GAPPs (Apps that worked before just wouldn't open anymore, the camera couldn't take pictures or video, I couldn't use Google Services Framework, calls would disconnect after a minute, YouTube videos would stop after 8 minutes 16 seconds, etc. General mayhem). I tried all the tricks I knew to fix my issues (Rebooting, Uninstalling and reinstalling Apps, clearing cache via Custom Recovery, Updating, anything I could find to do). I eventually decided that I would just flash stock android. [NOTE: I had a 5x5 pattern lock. I didn't think this would be an issue, as I thought the encryption would be removed when I wiped the drive] So I booted into my custom recovery of choice (TWRP 3.2.3) and wiped my device, then sideloaded the stock Nexus 5X image. I boot into android and I am presented a 3x3 pattern. I thought that this must be some cached code, so I boot into the bootloader to see if I can clear dalvik/cache. But apparently, the custom recovery had been wiped (When I choose Custom Recovery in the bootloader, I just see an android figure on its back, its stomach open. It has the text 'No Command'.) I have tried to get ADB to work, but my device isn't recognized in any state (In the bootloader, in recovery mode, booted with the unencryption screen present).
General Information:
VARIANT - bullhead LGH790 32GB
HW VERSION - rev_1.0
BOOTLOADER VERSION - BHZ32c
SECURE BOOT - Enabled
DEVICE STATE - unlocked
TLDR: My phone is encrypted with a 5x5 pattern, but I can only enter a 3x3 pattern. I have no custom recovery, and no (Apparent) way to use ADB. Is there some other method of wiping everything from my phone that I haven't found during my hours of research, or is it perma-borked?
All in all, I messed up big time. I should have done more research before flashing GAPPs, and I should have removed the encryption just to be safe. I understand, if there is no way to wipe my phone. This is my last attempt before having to switch to a flip phone.
Thank you for your time and consideration. It is much appreciated.
Regards,
Draed3
Hi,this is the beginners guide in rooting the Galaxy J5 Pro.
First I want you to know that J5 Pro is the same as J5 2017.
You will need some files:
Opt verity Encrypt - http://download.highonandroid.com/file/Tools/Root/Samsung/no-verity-opt-encrypt-6.0-star.zip
RMM State Bypass Mesa - http://download.highonandroid.com/file/Tools/Root/Samsung/RMM-State_Bypass_Mesa.zip
Magisk 19.1 - https://github.com/topjohnwu/magisk_files/raw/master/canary_builds/magisk-release.zip
Magisk Manager 7.1.2 - https://github.com/topjohnwu/magisk_files/raw/master/canary_builds/app-release.apk
(Optional)(For Pie) Helios Pie Kernel - https://androidfilehost.com/?fid=1395089523397966358
(Optional)(For Oreo) Helios Pro Kernel - https://androidfilehost.com/?fid=1395089523397913077
(Optional) Promotheus One UI (Pie ROM) -https://androidfilehost.com/?fid=1395089523397940329
(Optional) Promotheus Lite (Oreo ROM) -https://androidfilehost.com/?fid=1395089523397887684
TWRP 3.3.0-0 - https://github.com/ananjaser1211/an...3.3_J7Y17LTE/TWRP-3.3.0-j7y17lte-20190417.tar
Odin - https://odindownload.com/download/Odin3_v3.13.1.zip
Stock ROM (In case of Soft bricking you can save your device) - https://s3.wasabisys.com/updatofw/GALAXYJ5/SM-J530F/BTU/SM-J530F_1_20190405203714_44wceovclw_fac.zip
Samsung USB Drivers - https://developer.samsung.com/common/download/check.do?actId=698
Copy the No Verity OPT Encrypt file,RMM State Bypass,What kernel u need,The rom u need,Magisk and Magisk Manager APK to ur SD Card.
Enable Developer options(Go into About phone,Software information,Tap several times on Build number until it says you are a developer.
Then go to Settings > Developer options > Check Oem UNLOCK and USB Debugging.
If you broke your device go to last lines(down)
If you already downloaded the files lets begin!
1.Turn off your phone and boot into download mode (Hold Volume Down,Home and Power and them press Volume UP)
2.Install Samsung USB DRIVERS on PC
3.Connect your Phone to your PC by USB Cable.
4.Open odin and load the twrp tar in AP slot.
5.Go to options and uncheck Auto Reboot
6.Click start
7.When in ODIN it shows PASS,Hold Volume Up,Home and power until the screen turns black then immiediately release and Hold Volume UP,Home and Power until the TWRP Screen Appears.
8.Tap on Keep Read Only and then Wipe and Format Data.Type "yes" without ".
9.Tap on Reboot and then Recovery
10.Tap on install then on Select Storage And Micro SDCard.
11.Press on No verity Opt Encrypt and swipe.
12.Press back button and Install RMM State Bypass Mesa.
13.Press back button and Install Magisk.
14.Tap on Wipe Cache and Dalvik and Then Swipe
15.Press the middle button(Home) and Tap on Reboot and then System.
16.Wait for the phone to boot and configure it.
17.Enable Developer options again and enable OEM Unlock and USB Debugging.
18.Disconnect Your Phone from the PC.
If you just wanted Root, You are Done.
Install Helios Pro Kernel to Stock ROM -
1.Go into recovery
2.Install > Select Storage > Helios Pro Kernel file
3.Swipe
4.Wipe Cache and Dalvik and Reboot to System.
If you dont pass SafetyNet :Go to Magisk > Modules > And disable BusyBox for Android NDK.
Install Custom Rom -
1.Boot Into TWRP (When powered OFF Hold Volume UP,Home and Power)
2.Go to Wipe and Select System,Data,Cache,Internal Storage and swipe.
3.Then click on Wipe and Format Data. (Recommended)
4.Go to Install and select what ROM you want to Install:
-Promotheus One UI (Pie ROM)
-Promotheus Lite (OREO ROM)
Click on First "Click to show content" for Promotheus One UI
Click on Second "Click to show content" Promotheus Lite
1.In Aroma Installer Click next and agree to the terms and conditions
2.Then click Full Wipe.
3.Select What Mods you want
4.Select what BloatWare you want.
5.Click Install.
6.After its done Reboot.
7.After ~15 seconds of the Samsung Logo Hold Volume Down,Home and Power then release when the screen turns black.
8.After it boots it will be laggy.Complete the setup and connect to Google and Samsung Account and update everything first ftom Galaxy Store then from Play store.Then reboot and it will not be laggy.
9.You will see that you dont have root, to fix this Reboot into Recovery (You know the procedure) and go to Install > Select Storage > MicroSD Card > HeliosPie Kernel 3.1 and swipe.
10.Wipe Cache and Dalvik and reboot.
11.After it boots you will have Root and a Pie Custom Rom!
12.If you do not pass Safety Net,Go to Magisk > Modules > And disable BusyBox for Android NDK.
You are Done! Now install your favorite apps!
1.Boot into Recovery
2.Install > Promotheus Lite A8+
3.In Arome click Next and Agree to the Terms and Conditions.
4.Select your Mods
5.Select your BloatWare
6.Tap on Install and Reboot to System.
7.After ~15 seconds of The Samsung LOGO and then Hold Volume Down,Home and Power and Release when the screen turns black.
8.After the phone boots it will be very laggy.Complete the setup and connect to Google and Samsung Account and update everything From Galaxy Store and Play Store.
9.You will see you dont have root.Boot into Recovery and Tap on Install > Select Storage > Micro SDCard > Helios Pro Kernel.
10.Reboot to System.
11.You are done
If you dont pass SafetyNet :Go to Magisk > Modules > And disable BusyBox for Android NDK.
If you Soft Brickes your device, open odin. Hold Volume Down,Home and Power until you are in download mode.
In odin select BL in BL box
AP in AP box
CP in CP box
CSC in CSC box (Important select CSC not Home_CSC)
Click Start and wait.
Your device will boot.
Finish the setup and enable developer option blah blah blah (Try Again)
If you dont see Oem unlock,You need to wait 7 days.
So thats it! If you have any problem reply!
victorAndrie said:
Hi,this is the beginners guide in rooting the Galaxy J5 Pro.
First I want you to know that J5 Pro is the same as J5 2017.
Click to expand...
Click to collapse
Samsung website on the j5 pro. Notice the model number
https://www.samsung.com/au/smartphones/galaxy-j5-pro-j530y/SM-J530YZKEXSA/
Gsm arena page on j5 (2017). Notice the model number.
https://www.google.com/amp/s/m.gsmarena.com/samsung_galaxy_j5_(2017)-ampp-8705.php
That info was readily available to anyone for about 2 yrs Also, you guys on the j5 2017 already have guides to do what you created a thread to do?
https://forum.xda-developers.com/galaxy-j5/how-to/samsung-j5-2017-sm-j530f-root-oreo-8-1-t3911794
palmbeach05 said:
Samsung website on the j5 pro. Notice the model number
https://www.samsung.com/au/smartphones/galaxy-j5-pro-j530y/SM-J530YZKEXSA/
Gsm arena page on j5 (2017). Notice the model number.
https://www.google.com/amp/s/m.gsmarena.com/samsung_galaxy_j5_(2017)-ampp-8705.php
That info was readily available to anyone for about 2 yrs Also, you guys on the j5 2017 already have guides to do what you created a thread to do?
https://forum.xda-developers.com/galaxy-j5/how-to/samsung-j5-2017-sm-j530f-root-oreo-8-1-t3911794
Click to expand...
Click to collapse
That is only root.
victorAndrie said:
That is only root.
Click to expand...
Click to collapse
Straight from post #1 of that thread. Notice the starred parts below.
After updating my J5 2017 J530F to the latest Oreo 8.1 I was having trouble getting root and all things working again.
Hours of waiting for installs then something going wrong after applying the CF-Auto-root or trying to install Magisk or something and having to install again, Hours spent waiting..
Trying to install the auto-root would cause a verification error and force a system erase but not work again.
Thought i'd found the solution with the EDOs rom but then realised I had no bluetooth and had problems with mobile data.
After many efforts i found a way by simply installing the excellent Helios PRO kernel and manually installing Magisk after.
So I offer you the way i found to root my phone with Stock Oreo 8.1
A step by step breakdown of the method I used to fully root the fresh stock rom install.
First download the needed stuff
Latest Samsung Odin software. (3.13)
https://samsungodin.com/download
Download Link:
https://samsungodin.com/download/Odin3_v3.13.1.zip
USB Drivers.
https://samsungodin.com/SamsungUSBDriver/USB_Drivers_1.5.27.0.rar
New Oreo 8.1 Stock ROM
https://www.sammobile.com/firmwares/galaxy-j5/SM-J530F/BTU/
Download Link: https://www.sammobile.com/firmwares/galaxy-j5/SM-J530F/BTU/download/J530FXXU3BRL1/252803
***************************************************
*************TWRP
*******************************
https://github.com/TwrpBuilder/andr...s/tag/TWRP-3.2.3-TwrpBuilder-2018-09-13_15-34
Download Link: https://github.com/TwrpBuilder/andr...2.3-TwrpBuilder-j5y17lte-2018-09-13_15-34.tar
**************************************************
The Helios Pro Kernel
https://forum.xda-developers.com/ga...velopment/kernel-refined-kernel-v1-0-t3675500
Note if you are not installing from fresh stock roms Helios kernel says...
If you have flashed Root through any means other than magisk, Please uninstall it (SuperSU>Full unroot)
Magisk , (All J5 roms kernels i installed that said they had magisk pre-installed never actually worked on my phone)
so I downloaded the files to manually install Magisk.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
I used the main zip file and the manager apk
https://github.com/topjohnwu/Magisk/releases/download/v18.1/Magisk-v18.1.zip
https://github.com/topjohnwu/Magisk/releases/download/manager-v7.0.0/MagiskManager-v7.0.0.apk
Note: developer mode and OEM unlocking need to be enabled for most of these steps but many of the steps undo the settings so will need to be reapllied at various stages.
enable developer mode on phone by going to Settings/About phone/Software settings and keep pressing "Build Number" till developer mode activates then go back to main settings page and select "Developer Options" and make sure developer mode is enabled and USB debugging (i guess) and "OEM Unlock"
Method...
1. unpack Odin software and right click Launcher icon and select properties
Go to Compatibility settings and select Vista (service pack 2) compatibility.
Click okay and launch the Odin program.
2. Install stock ROM
Unpack the Oreo 8.1 files and use the buttons in Odin to load the BL , AP, CP and CSC files into each slot
Put phone into "Download Mode" by powering off and holding volume down - , home, and power buttons together till the screen pops up telling you to now press volume up to go to download mode.
Then plug in USB to computer.
Odin should report "Added" if you have correct samsung drivers on PC.
Then press "Start" in Odin.
Stock roms should all download to phone then it reboots.
***************************************************
3. Flash TWRP
Boot up phone, log into an account and get it all running then enable developer mode again.
Once set copy the Helios pro kernel zip file and the magisk zip and apk files to the phones SD card.
Now power down the phone and put it in download mode again.
Load Odin again and now put only the TWRP installer .tar file into the "AP" slot then select the "Options" tab in Odin and uncheck the auto reboot option. then hit start and flash twrp.
***************************************************
Load TWRP an install helios kernel
After flashing TWRP hold down the phones volume-down, home and power buttons and as soon as the screen goes blank immediately change volume down for volume up while still holding home and power.
then TWRP should load
Go to Wipe and select "Format Data" type yes to proceed , then back to wipe, select advanced wipe and wipe internal storage.
then back to TWRP main page and select "Install", select micro-sd card and point installer to the Helios Kernel zip file and install.
Install Magisk Manager app:
After booting up i still had no root so i installed the Magisk Manager apk using the "My files" app and launching it confirmed still no Magisk installed.
(I cannot recall if i had to go through the "Enable developer mode" again at this point but check if you need to or not)
Last Step, Manually Install Magisk.
Lastly I powered down the phone and held volume up, home and power key to launch TWRP
There i selected Install and installed the Magisk.zip file from SD card.
Finally the system booted, everything was working and i had root via an installed and working Magisk
Hope this helps someone..
palmbeach05 said:
Straight from post #1 of that thread. Notice the starred parts below.
After updating my J5 2017 J530F to the latest Oreo 8.1 I was having trouble getting root and all things working again.
Hours of waiting for installs then something going wrong after applying the CF-Auto-root or trying to install Magisk or something and having to install again, Hours spent waiting..
Trying to install the auto-root would cause a verification error and force a system erase but not work again.
Thought i'd found the solution with the EDOs rom but then realised I had no bluetooth and had problems with mobile data.
After many efforts i found a way by simply installing the excellent Helios PRO kernel and manually installing Magisk after.
So I offer you the way i found to root my phone with Stock Oreo 8.1
A step by step breakdown of the method I used to fully root the fresh stock rom install.
First download the needed stuff
Latest Samsung Odin software. (3.13)
https://samsungodin.com/download
Download Link:
https://samsungodin.com/download/Odin3_v3.13.1.zip
USB Drivers.
https://samsungodin.com/SamsungUSBDriver/USB_Drivers_1.5.27.0.rar
New Oreo 8.1 Stock ROM
https://www.sammobile.com/firmwares/galaxy-j5/SM-J530F/BTU/
Download Link: https://www.sammobile.com/firmwares/galaxy-j5/SM-J530F/BTU/download/J530FXXU3BRL1/252803
***************************************************
*************TWRP
*******************************
https://github.com/TwrpBuilder/andr...s/tag/TWRP-3.2.3-TwrpBuilder-2018-09-13_15-34
Download Link: https://github.com/TwrpBuilder/andr...2.3-TwrpBuilder-j5y17lte-2018-09-13_15-34.tar
**************************************************
The Helios Pro Kernel
https://forum.xda-developers.com/ga...velopment/kernel-refined-kernel-v1-0-t3675500
Note if you are not installing from fresh stock roms Helios kernel says...
If you have flashed Root through any means other than magisk, Please uninstall it (SuperSU>Full unroot)
Magisk , (All J5 roms kernels i installed that said they had magisk pre-installed never actually worked on my phone)
so I downloaded the files to manually install Magisk.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
I used the main zip file and the manager apk
https://github.com/topjohnwu/Magisk/releases/download/v18.1/Magisk-v18.1.zip
https://github.com/topjohnwu/Magisk/releases/download/manager-v7.0.0/MagiskManager-v7.0.0.apk
Note: developer mode and OEM unlocking need to be enabled for most of these steps but many of the steps undo the settings so will need to be reapllied at various stages.
enable developer mode on phone by going to Settings/About phone/Software settings and keep pressing "Build Number" till developer mode activates then go back to main settings page and select "Developer Options" and make sure developer mode is enabled and USB debugging (i guess) and "OEM Unlock"
Method...
1. unpack Odin software and right click Launcher icon and select properties
Go to Compatibility settings and select Vista (service pack 2) compatibility.
Click okay and launch the Odin program.
2. Install stock ROM
Unpack the Oreo 8.1 files and use the buttons in Odin to load the BL , AP, CP and CSC files into each slot
Put phone into "Download Mode" by powering off and holding volume down - , home, and power buttons together till the screen pops up telling you to now press volume up to go to download mode.
Then plug in USB to computer.
Odin should report "Added" if you have correct samsung drivers on PC.
Then press "Start" in Odin.
Stock roms should all download to phone then it reboots.
***************************************************
3. Flash TWRP
Boot up phone, log into an account and get it all running then enable developer mode again.
Once set copy the Helios pro kernel zip file and the magisk zip and apk files to the phones SD card.
Now power down the phone and put it in download mode again.
Load Odin again and now put only the TWRP installer .tar file into the "AP" slot then select the "Options" tab in Odin and uncheck the auto reboot option. then hit start and flash twrp.
***************************************************
Load TWRP an install helios kernel
After flashing TWRP hold down the phones volume-down, home and power buttons and as soon as the screen goes blank immediately change volume down for volume up while still holding home and power.
then TWRP should load
Go to Wipe and select "Format Data" type yes to proceed , then back to wipe, select advanced wipe and wipe internal storage.
then back to TWRP main page and select "Install", select micro-sd card and point installer to the Helios Kernel zip file and install.
Install Magisk Manager app:
After booting up i still had no root so i installed the Magisk Manager apk using the "My files" app and launching it confirmed still no Magisk installed.
(I cannot recall if i had to go through the "Enable developer mode" again at this point but check if you need to or not)
Last Step, Manually Install Magisk.
Lastly I powered down the phone and held volume up, home and power key to launch TWRP
There i selected Install and installed the Magisk.zip file from SD card.
Finally the system booted, everything was working and i had root via an installed and working Magisk
Hope this helps someone..
Click to expand...
Click to collapse
Hi,I see you forgot to install no verity encrypt,rmm state bypass. I would not recommend this method in any way to beginners(coming from an intermediarre or how that word is i am not native english) because you will then have RMM prenormal and you cant remove encryption ( most magisk modules dont work)
j5
hello, please i need any md5 rom for j5 because i have a problem on my system everything has stopped and my power button not working i cant delete wipe and cache and when i download twrp from odin to my phone its fail and its blocked by frp please im really need help
Does not remove the DM-verity problem
ExtremeGrief said:
Hi,this is the beginners guide in rooting the Galaxy J5 Pro.
First I want you to know that J5 Pro is the same as J5 2017.
You will need some files:
Opt verity Encrypt - http://download.highonandroid.com/file/Tools/Root/Samsung/no-verity-opt-encrypt-6.0-star.zip
RMM State Bypass Mesa - http://download.highonandroid.com/file/Tools/Root/Samsung/RMM-State_Bypass_Mesa.zip
Magisk 19.1 - https://github.com/topjohnwu/magisk_files/raw/master/canary_builds/magisk-release.zip
Magisk Manager 7.1.2 - https://github.com/topjohnwu/magisk_files/raw/master/canary_builds/app-release.apk
(Optional)(For Pie) Helios Pie Kernel - https://androidfilehost.com/?fid=1395089523397966358
(Optional)(For Oreo) Helios Pro Kernel - https://androidfilehost.com/?fid=1395089523397913077
(Optional) Promotheus One UI (Pie ROM) -https://androidfilehost.com/?fid=1395089523397940329
(Optional) Promotheus Lite (Oreo ROM) -https://androidfilehost.com/?fid=1395089523397887684
TWRP 3.3.0-0 - https://github.com/ananjaser1211/an...3.3_J7Y17LTE/TWRP-3.3.0-j7y17lte-20190417.tar
Odin - https://odindownload.com/download/Odin3_v3.13.1.zip
Stock ROM (In case of Soft bricking you can save your device) - https://s3.wasabisys.com/updatofw/GALAXYJ5/SM-J530F/BTU/SM-J530F_1_20190405203714_44wceovclw_fac.zip
Samsung USB Drivers - https://developer.samsung.com/common/download/check.do?actId=698
Copy the No Verity OPT Encrypt file,RMM State Bypass,What kernel u need,The rom u need,Magisk and Magisk Manager APK to ur SD Card.
Enable Developer options(Go into About phone,Software information,Tap several times on Build number until it says you are a developer.
Then go to Settings > Developer options > Check Oem UNLOCK and USB Debugging.
If you broke your device go to last lines(down)
If you already downloaded the files lets begin!
1.Turn off your phone and boot into download mode (Hold Volume Down,Home and Power and them press Volume UP)
2.Install Samsung USB DRIVERS on PC
3.Connect your Phone to your PC by USB Cable.
4.Open odin and load the twrp tar in AP slot.
5.Go to options and uncheck Auto Reboot
6.Click start
7.When in ODIN it shows PASS,Hold Volume Up,Home and power until the screen turns black then immiediately release and Hold Volume UP,Home and Power until the TWRP Screen Appears.
8.Tap on Keep Read Only and then Wipe and Format Data.Type "yes" without ".
9.Tap on Reboot and then Recovery
10.Tap on install then on Select Storage And Micro SDCard.
11.Press on No verity Opt Encrypt and swipe.
12.Press back button and Install RMM State Bypass Mesa.
13.Press back button and Install Magisk.
14.Tap on Wipe Cache and Dalvik and Then Swipe
15.Press the middle button(Home) and Tap on Reboot and then System.
16.Wait for the phone to boot and configure it.
17.Enable Developer options again and enable OEM Unlock and USB Debugging.
18.Disconnect Your Phone from the PC.
If you just wanted Root, You are Done.
Install Helios Pro Kernel to Stock ROM -
1.Go into recovery
2.Install > Select Storage > Helios Pro Kernel file
3.Swipe
4.Wipe Cache and Dalvik and Reboot to System.
If you dont pass SafetyNet :Go to Magisk > Modules > And disable BusyBox for Android NDK.
Install Custom Rom -
1.Boot Into TWRP (When powered OFF Hold Volume UP,Home and Power)
2.Go to Wipe and Select System,Data,Cache,Internal Storage and swipe.
3.Then click on Wipe and Format Data. (Recommended)
4.Go to Install and select what ROM you want to Install:
-Promotheus One UI (Pie ROM)
-Promotheus Lite (OREO ROM)
Click on First "Click to show content" for Promotheus One UI
Click on Second "Click to show content" Promotheus Lite
1.In Aroma Installer Click next and agree to the terms and conditions
2.Then click Full Wipe.
3.Select What Mods you want
4.Select what BloatWare you want.
5.Click Install.
6.After its done Reboot.
7.After ~15 seconds of the Samsung Logo Hold Volume Down,Home and Power then release when the screen turns black.
8.After it boots it will be laggy.Complete the setup and connect to Google and Samsung Account and update everything first ftom Galaxy Store then from Play store.Then reboot and it will not be laggy.
9.You will see that you dont have root, to fix this Reboot into Recovery (You know the procedure) and go to Install > Select Storage > MicroSD Card > HeliosPie Kernel 3.1 and swipe.
10.Wipe Cache and Dalvik and reboot.
11.After it boots you will have Root and a Pie Custom Rom!
12.If you do not pass Safety Net,Go to Magisk > Modules > And disable BusyBox for Android NDK.
You are Done! Now install your favorite apps!
1.Boot into Recovery
2.Install > Promotheus Lite A8+
3.In Arome click Next and Agree to the Terms and Conditions.
4.Select your Mods
5.Select your BloatWare
6.Tap on Install and Reboot to System.
7.After ~15 seconds of The Samsung LOGO and then Hold Volume Down,Home and Power and Release when the screen turns black.
8.After the phone boots it will be very laggy.Complete the setup and connect to Google and Samsung Account and update everything From Galaxy Store and Play Store.
9.You will see you dont have root.Boot into Recovery and Tap on Install > Select Storage > Micro SDCard > Helios Pro Kernel.
10.Reboot to System.
11.You are done
If you dont pass SafetyNet :Go to Magisk > Modules > And disable BusyBox for Android NDK.
If you Soft Brickes your device, open odin. Hold Volume Down,Home and Power until you are in download mode.
In odin select BL in BL box
AP in AP box
CP in CP box
CSC in CSC box (Important select CSC not Home_CSC)
Click Start and wait.
Your device will boot.
Finish the setup and enable developer option blah blah blah (Try Again)
If you dont see Oem unlock,You need to wait 7 days.
So thats it! If you have any problem reply!
Click to expand...
Click to collapse
The TWRP recovery does not stay there.
When flashing the "No verity Opt Encrypt", it fails with an error message in red. Only genuine binaries can be flashed.
Is there a simple answer to this ?
I've re-installed my stock ROM for now, no Root or TWRP.
Thank you.
Nice custom roms
There are a number of generic installation guides for custom roms eg https://www.xda-developers.com/how-to-install-custom-rom-android/
However this one is specifically for the LG G6 and tested using the US997 model. It worked for me, but I welcome comments on how to improve it.
Create a folder on the PC for all the downloads and files
Download phone driver from LG website
https://www.lg.com/us/support/help-library/lg-mobile-drivers-and-software-CT10000027-20150179827560
Download ADB/Fastboot https://developer.android.com/studio/releases/platform-tools (You need to unzip once downloaded)
(I had an error "adb server version (31) doesn't match this client (41) killing". I searched my PC and found an older version which I had used for another phone and deleted the folders and reinstalled from the download)
Ensure the phone is backing up. (Google backup is working, you have all your photos music etc downloaded) the next steps will wipe the phone
Remove the PIN/Password/Fingerprints from the phone so it will boot without any security.
Unlock the bootloader
https://developer.lge.com/resource/mobile/RetrieveBootloader.dev
The phone will then reboot and do a complete wipe so you need to wait a while for Android to setup.
Telegraph has the latest news on LG G6 ROMs and Recovery. From here I got the links for SHRP recovery which seems more up to date for LG G6 than TWRP. (https://web.telegram.org/#/[email protected])
https://sourceforge.net/projects/pa-g6/files/Releases/SHRP/20.07.2020/US997/
I named the downloaded file "recovery" (You need the .img file not the ZIP)
There are lots of active ROMS for LG G6 I have Lineage installed on another phone which works really well, but Havoc seems the most popular on the G6.
Download the ROM and Gapps https://opengapps.org/ (I used Nano, remember G6 is 64bit)
You will also need to update the bootloader. This was the latest I found for the US997
https://androidfilehost.com/?fid=1899786940962575226
(I missed the bootloader the first time and Gapps will not flash, I was helped by the LG G6 community on Telegram https://web.telegram.org/#/[email protected])
Now you have downloaded all you need
Then connect the phone to the PC and ensured you have ADB debug on in developer options and boot the phone into fastboot
On the PC open a command prompt in the folder you have all the files:
adb reboot bootloader
To load the recovery to the phone :
Fastboot flash recovery recovery.img
YOU MUST NOW BOOT DIRECTLY TO RECOVERY. Do not reboot to Android as this will automatically reset recovery to the stock version.
Unplug the USB cable and reboot to recovery (hold volume down + power button).. continue holding until phone reboots...
As soon as you see the LG logo on the screen.. let go of the power button then quickly press it again (never letting go of volume down).
Keep holding until you see the Factory Reset screen. Click thru the factory reset screens using the volume buttons to move up/down and power button to select. Choose "Yes" twice (saying you want to reset the phone it should boot into your new recovery. Despite what the screen says it won't actually factory reset/wipe your data... as long as you've installed a custom recovery and have not booted into Android since then.
Most likely you will be asked the password to decrypt the data folder. I tried my phone PIN and other default passwords suggested on the internet. I eventually found that this is a known issue and you need for cancel out of this screen and go and "FORMAT DATA"
Reboot directly to recovery (select reboot recovery in Skyhawk), this time you should not be asked for the decryption password.
I recommend you backup your current setup before making changes. If you hit issues you can use the recovery to restore. My SD card slot is broken (Poor LG design) so I plugged a USB thumb drive into the USB C slot and did a full backup. (No data since I just formatted it).
Wipe the partitions before you flash
Full wipe ("The only option you ever need")
Select Advanced and wipe system partition.
FLASH (You need to put the ZIP files either on the USB drive as I did, or copy to your SD card, or you can use ADB sideloader from the PC to push the files to the phone). The USB drive seems the easiest since you can plug it into your PC to load the files then plug it into the phone to read them.
Flash in the following order
Bootloader
ROM
Gapps
After Installing wipe cache and Davik
Reboot
It will do lots of processing while setting up. Ensure it stays cool (remove case and leave it plugged in with the screen off)
Donate to the developer of your new ROM at the end when it works.
I have been running my LG G6 on Android 10 for a few weeks and thought I would share my observations, I am using Havoc 3.7 installed with Skyhawk, I did not root the phone.
Likes : Very smooth experience, phone feel like it is running much faster. Very stable, I had one surprise reboot in the time I have used it. No issues (so far) with installing or using any apps including banking. Much lower use of storage, I have 6GB free.
Same : Battery life is about the same as before.
Gaps : Cannot encrypt, VOLTE doesn't work (which may become a big issue for T-Mobile and AT&T soon), when being used the phone gets much warmer than it did before and the wifi setting randomly turns off.
Next Steps: I am going to try Lineage which has released some fixes for the WIFI issue and report back.
I'm trying to follow the instructions as per this guide for the tmo version of G6 (H87220g) and I'm running into a roadblock on the recovery flash:
[[email protected] tmp]$ mkdir skyhawk
[[email protected] tmp]$ cd skyhawk && 7z x ../SHRP_v2.3.2_us997-233920072020.zip
[[email protected] skyhawk]$ fastboot flash recovery recovery.img
Sending 'recovery' (36936 KB) OKAY [ 1.252s]
Writing 'recovery' FAILED (remote: 'unknown command')
fastboot: error: Command failed
Click to expand...
Click to collapse
I downloaded the Skyhawk zip from the PA download link, unzipped it and used the recovery.img file found inside the zip as part of the fastboot command. Is this incorrect ?
Yes, you need the recovery.img file to flash via fastboot. Have you successfully unlocked the boot loader? You cannot replace recovery without unlocking.
You also need to ensure you have the appropriate files for your phone I have a US997 but as you have H872 you would need skyhawk for the H872 in the notes above you are still using US997.
bootloader is unlocked as per:
https://forum.xda-developers.com/tmobile-g6/how-to/unlock-bootloader-tmo-t3578099
fastboot flash is failing and I'm not the only one it seems like based on comments here and reddit...
I gonna try out @runningnak3d guide and see if that works...
This guide is for the US997. The H872 has a much more complicated process to install recovery : https://forum.xda-developers.com/tmobile-g6/how-to/root-h872-to-including-11g-t3775518
Hi All,
With the recent launch of LineageOS 18.1 I decided to take the plunge and get it installed on my fully stock Videotron/Freedom H915. Since I had to smash together info from a half dozen other threads, I figured I'd gather it all together here for folks with a Canadian phone trying to make this work.
Since I knew absolutely nothing coming into this, I'm going to go a little more detailed on this write-up. If you've been flashing ROMs since the old days of Cyanogenmod you can probably skim half of this.
Disclaimer : I'm not responsible for any bricked phones or other negative outcomes. This is what worked for me, but I'm far from being an expert. If you continue past this point you agree to take your time, do your reading, be responsible for your own device/actions and not hold me or the forum accountable for anything that might go wrong. You've been warned.
IMPORTANT NOTE #1
If you've picked up an H915 on ebay and you are intending to use it on a network other than the one it's SIM locked on, make sure you do the whole SIM unlock process on the stock ROM either before you get started at all, or once you've reverted to the vulnerable stock ROM after Step 1 below.
I actually use Telus as my provider and I wasted a bunch of time trying to figure out why I couldn't get signal because only the stock ROM will prompt you for a SIM Unlock code. Lineage will just sit there dumbly and not allow you to enable data.
Once you've unlocked the SIM it will stay unlocked from that point forward, just make sure to unlock it and verify your SIM is working with LTE on the stock ROM before you get started.
IMPORTANT NOTE #2
Use LGUP's "DUMP" feature to take a backup of ALL partitions on your phone before you start. If you're reading this thinking "I just bought this phone off ebay, there's nothing on it I care about", take the backup anyway. You never know when you might need a copy of the modem partitions or other things from your phone's original build. It came in super handy for me in troubleshooting the process. So go do a backup!
Current Issues:
If signal is too weak to connect to a tower (or non-existent), the OS tends to crash with a modem error. Still trying to figure this one out.
I think I can get this working without first jumping to US996 but haven't had a chance to verify that. If I do I'll update the thread.
Download Prerequisites
Links working as of 2021-06-29
LGUP with patch
Link
Working adb/fastboot environment
Instructions
Download
Fastboot Drivers
Link
Universal ADB Driver
Link
Videotron/Freedom H915 Android 7 (Nougat) version E - H91510e_00_VTR_CA_OP_1205.kdz
Link
USA General US996 Android 7 (Nougat) version F - US99610f_00_1205.kdz
Link
APK for Terminal Emulator
Link or Alternate Link
LG V20 Root Package Original (v4?)
Link
Old TWRP for Root Package
Link
Videotron/Freedom H915 Modem Partition Image
Link
Lineage Install Zip for H910 (grab the latest, I'm using lineage-18.1-20210506-nightly-h910-signed.zip which is already out of date)
Link
MindTheGapps
Link
(Optional, for rooting) Magisk
Link
Different Boot Modes
For those not familiar with these phones, there are three different "modes" the phone can boot into. Here's a quick reference on how to boot into each one.
Download Mode
This mode is used for pushing KDZ files or individual partition backups using LGUP
Turn Off Phone
Hold the Up-Volume Button
Insert USB-C Cable with other end already plugged into PC
Bootloader (aka Fastboot) Mode
The H915 doesn't come with this mode by default. If you try it, you'll just get battery charging. We'll be temporarily converting the phone to a US996 in order to use the DirtySanta exploit to replace the bootloader partition with a leaked Engineering aboot.
This mode is used with the fastboot tool to load the TWRP utility into the Recovery partition.
Turn Off Phone
Hold the Down-Volume Button
Insert USB-C Cable with other end already plugged into PC
Recovery Mode
The recovery mode on a stock phone is used to perform a factory reset. We will be using the Factory Reset a couple times with the stock ROMs, then replacing the contents of the recovery partition with the TWRP tool that allows us to format partitions, load partition images, and sideload apps and LineageOS itself.
Turn Off Phone
Hold the Down-Volume Button
Press and hold Power-On (rear fingerprint sensor/button). When LG Logo appears, release power button for 1 second then press and hold again
When "Factory Data Reset" appears, release all buttons
Press Volume Down to highlight "Yes" then press power button to select the option
Repeat for the confirmation
Note about flashing KDZ files using LGUP
You can flash KDZ files onto the phone using LGUP from two places - either with the phone in "Download Mode", or with the phone booted into the OS with the USB Options set to "File Transfer" and USB Debugging turned on.
The difference between these two is when it performs the OS compatibility check.
In Download Mode it's the code of the Download Mode partition that does the check. In the OS, it's the OS that does the check before booting to Download Mode and bypassing Download Mode's check.
Why is this important? Because when converting from one phone to another (Say, an H915 to a US996 like we do below), you initially can't flash the KDZ using LGUP's "Upgrade" function. You can only use "Partition DL" to replace the contents of partitions with the contents of the KDZ. This kind of works, but ends up with a phone that will sometimes identify as a H915 (in Download Mode) but sometimes identify as a US996 (in the OS). To clean it up, once you've done the Partition DL method, you can do it again from the OS and use the Upgrade method to get a really clean install.
It works going back the other way as well when you want to return to stock.
If this doesn't make sense, don't worry. You don't need to fully understand it to follow the instructions below, I just found it to be interesting info that didn't seem to appear in other threads.
Process Overview
Revert the phone to an old/vulnerable stock Nougat ROM for Videotron/Freedom Mobile
Enable Dev Options
Dump contents of US996 KDZ partitions over top of existing partitions
Cleanup by re-flashing US996 KDZ partitions over top of existing partitions
Transfer files to the SDCard and install Terminal Emulator
Unlock the Bootloader using the DirtySanta exploit
Boot to old TWRP and install new TWRP
Boot to new TWRP, install LineageOS, Google Apps, and flash modem partition image
Reboot to LineageOS
Actual Process
1 - Revert the phone to an old/vulnerable stock Nougat ROM for Videotron/Freedom Mobile
We need to be on Nougat for this to work, so if you're on Oreo you have to downgrade to Nougat before we begin. I chose a Nougat ROM for the H915 that's vulnerable to the DirtySanta exploit because I know it works and because I'm hoping in the future to be able to skip converting the phone to a US996 if possible.
Boot phone into Download Mode
Launch LGUP with Patch
Select "Upgrade" radio button
Select bin file : H91510e_00_VTR_CA_OP_1205.kdz
Click Start
When finished phone will reboot
1.5 - Do this if Step 1 Failed... Otherwise continue to Step 2
Depending on what's loaded on your phone when you start, it might complain about doing Step 1. This should allow us to bypass the issue and allow Step 1 to work. You can use this step if you've already converted the phone to another model as long as it's not bricked.
Boot phone into download mode
Launch LGIP with Patch
Select "PartitionDL" radio button
Select bin file : H91510e_00_VTR_CA_OP_1205.kdz
Click Start
Click the "Select All" partitions checkbox and click OK. When done it will reboot.
If it hangs or loops on reboot, boot into "Recovery Mode" (which at this point will Factory Reset the OS)
The phone boots into the OS
Quickly go through setup wizard. Skip as many things as possible.
Go Settings - General - About Phone - Software Info - Make sure it identifies as H91510e
Change the USB Option mode to "File Transfer"
Then repeat Step 1, but from inside the OS instead of in Download Mode
2 - Enable Dev Options and File Transfer Mode
We need these enabled after every time we flash the OS so that our LGUP and adb commands will work. You'll get used to doing these steps a bunch.
Quickly go through setup wizard. Skip as many things as possible.
Unplug USB-C cable
Swipe down from the top and change from USB Charging mode to File Transfer mode
Settings - General - About Phone - Software Info
Tap on Build Number many times until it unlocks Developer Mode
Go back 2 menus and enter the new "Developer Options" menus
Make sure "Enable OEM Unlock" is enabled
Enable "USB Debugging" (will be greyed out if USB-C cable is still attached)
Go back to main screen
Plug USB-C cable back in.
A pop-up will appear asking to Allow USB Debugging. Check the "Always Allow" box and tap OK
3 - Dump contents of US996 KDZ partitions over top of existing partition
The Videotron/Freedom KDZ has no Bootloader/Fastboot mode. If you try to enter bootloader mode you'll just end up charging the battery. So we have to cross-flash the US996 KDZ to get a phone with a bootloader which we can then replace with the engineering version using the DirtySanta exploit.
Boot phone into download mode
Launch LGUP with Patch
Select "PartitionDL" radio button
Select bin file : US99610f_00_1205.kdz
Click Start
Click the "Select All" partitions checkbox and click OK
When the phone boots back into the OS, repeat all of Step 2.
Note: If it asks for a password on startup, follow the "Boot to Recovery" steps and since
we don't have anything loaded in the recovery partition it will wipe/erase the phone
and remove the password.
4 - Cleanup by re-flashing US996 KDZ partitions over top of existing partitions
As mentioned in the "Note about flashing KDZ files using LGUP" section above, after you use the PartitionDL method you get a kind of dirty phone image that doesn't always identify as its new model. To clean up, we repeat the process in Upgrade Mode, taking advantage of the fact that at least the OS now identifies as US996 even if Download Mode doesn't. After this, Download Mode will also identify as US996.
Starting booted into the OS with a USB-C cable attached (File Transfer mode, USB Debugging on):
Launch LGUP with Patch
Select "Upgrade" radio button
Select bin file : US99610f_00_1205.kdz
Click Start
When the phone boots back into the OS, repeat all of Step 2.
5 - Transfer files to the SDCard and install Terminal Emulator
We will need some files on the SDCard in the phone in order to install them, either inside the OS (in the case of Terminal Emulator), or later on from TWRP. The Terminal Emulator will be used for the DirtySanta exploit so we need to get that installed now.
Make sure the USB Connection is set to Data Transfer mode and copy the following files to the SDCard:
APK for Terminal Emulator
twrp-3.5.1_9-0-us996.img
h915freedommobilemodem.img
Enable installing apps from unknown sources by:
Settings - General - Fingerprints and Security - Unknown sources (turn it On)
Install Terminal Emulator:
Tools - File Manager
Choose "Allow" when prompted
Click the up-arrow next to "Internal Storage"
Choose SD Card
Scroll down and tap on jackpal.androidterm-1.0.70-71-minAPI4.apk
Install
6 - Unlock the Bootloader using the DirtySanta exploit
The US996 KDZ has a bootloader but it's locked. In order to unlock it we need to use the DirtySanta exploit to give us permissions to replace the Bootloader/Fastboot with a leaked engineering version.
Starting booted into the OS with a USB-C cable attached (File Transfer mode, USB Debugging on):
Settings - General - About Phone - Software Info
Verify that Software Version lists as US99610f
Copy the twrp-3.0.2-1-us996.img file into the folder containing the LG V20 Root Package
Open a command prompt window and change to the folder containing the LG V20 Root Package and run "Step1.bat"
It will push multiple files to the phone and apply some patches/exploits.
This proces will take 5 minutes and put you out at an "elsa:/ $" prompt
At this "elsa:/ $" prompt in your command prompt window type the following:
run-as con
chmod 0777 /storage/emulated/0/*
On the phone, launch Terminal Emulator and run the following:
id
Verify that the string which comes back contains the string "context-u:r:untrusted_app".
If not, run Step1.bat again, else continue forward
Enter the follosing command into Terminal Emulator (be very careful to type it properly):
applypatch /system/bin/atd /storage/emulated/0/dirtysanta
If that command came back with an error, close and re-open Terminal Emulator and try again
The command should begin to patch another file. This will take 5 minutes and will return you to the "elsa:/ $" prompt in Terminal Emulator when it has finished
Open another command prompt to the same folder and run "Step2.bat"
This step will download backup copies of the boot and aboot partitions from the phone then boot the phone into bootloader/fastboot mode.
You'll know it worked if the first line at the top of the phone screen appears in red
In the command prompt window, run Step3.bat
It will flash boot1.img and the TWRP Recovery image multiple times then restart the phone
The phone will hang, no matter how long it's left. Wait 5 minutes (at least until the logo re-loads once) then do the following:
Unplug the USB-C cable
Remove the battery from the phone to turn it off
Replace the battery
Boot into Fastboot mode and run the following commands in your command prompt:
fastboot flash boot bootbackup.img
Remove the USB-C cable and battery to turn off the phone. Then replace the battery and enter Recovery Mode
The phone will show a big red exclamation mark saying "Your device is corrupt". This is normal. It will go away after a few seconds then boot into recovery. This error screen is the result of the engineering "aboot" image that was flashed to give us an unlocked bootloader and will always happen on boot.
7 - Boot to old TWRP and install new TWRP
The old version of TWRP recovery will load. Don't ask me why we can't just go straight to new TWRP above, it didn't work well when I tried it.
If it asks for a password to decrypt data, click Cancel
Swipe to allow modifications
Install - Select Storage - MicroSD Card - OK
Install Image - Scroll down and tap the "twrp-3.5.1_9-0-us996.img"
Select the Recovery partition and swipe to confirm flash
Back to main menu
Reboot - Recovery
8 - Boot to new TWRP, install LineageOS, Google Apps, and flash modem partition image
The new version of TWRP will load:
Check the "Never show this screen during boot again" box
Swipe to allow modifications
Wipe - Format Data - type "yes" to continue
This is likely to fail the first time. Repeat it to properly format the data partition.
Go back to Main Menu - Wipe - Advanced Wipe - Select "Dalvik / ART Cache", "System", and "Cache"
Swipe to wipe
Back to main menu
Advanced - ADB Sideload
Plug in USB-C cable
Swipe to start sideload
In command prompt window on PC type the following:
adb sideload lineage-18.1-20210506-nightly-h910-signed.zip
When complete tap "back" and "ADB Sideload" and swipe again to apply another file:
adb sideload MindTheGapps-11.0.0-arm64-20210412_124247.zip
If you want to root the phone (completely optional, not necessary for this process), now is the time to do it. Tap "back" and "ADB Sideload" and swipe again to apply another file:
adb sideload Magisk-v23.zip
Go back to main menu - Install - Install Image - tap the h915freedommobilemodem.img file
Select the Modem partition and swipe to confirm flash
Remove USB-C cable
9. Reboot to LineageOS
Go back to main menu - Reboot - System - Swipe to reboot
References where I got the info to make this tutorial
Official Lineage 18.1 for LG V20 Release Thread
LineageOS Wiki for H910
DirtySanta Bootloader Unlock and Root Guide (Original)
H910 Rooting Thread (Cross-flash H915 then DirtySanta to US996)
H915 Root, TWRP using DirtySanta [WorkingSignals]
Noob Friendly Root TWRP using DirtySanta
General info about Modem Hardware, Firmware, Radio Interface Layer
[Reserved]
thank you so much. i need it
Great job for writing a complete how-to guide!
Thank You, You saved my old V20 H915
hi have you been able to find a better modem?
btw i'm not able to decrypt under twrp, can you?
Just want to confirm, it's only guide wich works for me. But I have issues with modem:
1. When I tried to change mode of modem, "prefered network type", phone stayed in the loop of the kernel panic "modem crash"
2. It were difficult to revert changes back. Finally, safe mode (in order to get it, you need to press volume up and volume down in the same time, during LinageOS booting process) helped me - when I disabled airplan mode, I had 2-10 seconds until next kernel panic. And in ~10 attempts, I were able to finally switch modem's mode to GSM/WDCMA/LTE
3. I used this phone 3 days, and once the kernel panic (because of modem) happened again
Any ideas what to do with modem? Also, the picture "Your phone is corrupt" is not fan Any ideas how to change it?
I did my best to follow all the instructions but after step 7's reboot I just get blocks full of static. I can tell it's trying to do fresh install setup though from what's peeking through the blocks.
Riot54 said:
I did my best to follow all the instructions but after step 7's reboot I just get blocks full of static. I can tell it's trying to do fresh install setup though from what's peeking through the blocks.
Click to expand...
Click to collapse
This is normal. Flash a kernel that's patched for dirty santa OR, cover the proximity sensor on boot and keep it covered until boot is complete.
That worked, thanks.
After multiple attempts going back and forth with step 6, I finally did it! I might switch to Lighthouse or Arros but I wouldn't have gotten this far without your guide.