• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[ROM][G986U1]SamPWND.R3.v1 1ZTJA

Search This thread

elliwigy

Forum Moderator / Recognized Dev / Dev Relations
Staff member
XDA App Taskforce
Hello!

Please forgive me as it's been a long time since I made/posted a stock based ROM as I have been mainly doing security research and dealing more with source code last few years.

Most seasoned Samsung users on here probably already know me and work that I have done so I won't waste time posting any "about me" stuff.

DISCLAIMER:

This ROM is still WIP (although fully functional) and based on Android R Beta 1ZTJA for G986U/U1/W. An unlocked BL is required to flash this ROM!

Features:

- Based on Stock R Beta 3 Build aka 1ZTJA.
- This is a full ODIN flashable tar (got tired of messing with update zips.)
- Disabled vbmeta
- Pretty heavily debloated
- Deknoxed
- Removed pesky recovery-from-boot.p which could cause boot loops.
- Currently only has SPR csc mods (will mod others in next build)
*Native call recording
*App Lock (forgot to push the app though so will fix in next build)
*Few others.. will post more specifics and give creds since I used the csc mod for exynos as a basis..
- Probably forgetting something but thhis is an initial build so will add more as time goes..

Instructions:

Note: The zip contains an instructions.txt that is more detailed.
Note 2: Zip contains the full firmware tar file which includes everything to be fully updated/on ztja. This means all bl files, modem, boot, recovery, super etc. so you can start from and build. Zip also contains files and instructions on how to obtain root.

- Backup your data if you must since this will wipe device!
- Put phone in dl mode and extract zip to pc somewhere.
- Open ODIN (INCLUDED IN ZIP) and in AP slot navigate to SamPWND.R3.v1-G986U1.tar and flash it.
- Device will reboot into stock ZTJA recovery where you will wipe data and reboot.
- Set up device and win?

Root Steps (optional):

Note: Since theres no sources for R yet theres no custom recovery. Also, Q based recovery will not work on R bootloaders as well as R there is no more /sbin so root needs to be flashed at this time.

- After you have flashed rom and everything is set up reboot back into DL mode.
- Open included ODIN and in AP slot navigate to the 1BTIF_BL_Files_and_LOS_Recovery.tar. Make sure auto reboot is NOT selected. Flash it.
- Once thats flashed hold vol down and power until screen turns off then immediately hold vol up and power until LOS recovery loads.
- However you want to flash magisk (I included Magisk.v21.0.zip) flash it.
* I do adb push magisk.zip /... Then select Install Update then install from root and select magisk zip...
- Reboot back into DL mode.
- In ODIn, select AP slot then navigate to 1ZTJA_BL_Files_and_1ZTJA_Stock_Recovery.tar and flash it.
- Device will boot back into ROM and you will now be rooted!

***TWRP RECOVERY***
- Download listed below
- I suggest you follow all the steps above and make sure it's up and running before installing TWRP.
- Basically extract the .tar from the .gz archive and flash in ODIN!
- adb works
- file manager and other tools work
- If follow above steps first as recommended, data will be decrypted.
- mounts work
- flashing works
- backup/restore works
- no issues found so far?

Steps are really quite simple if you have ever used ODIN.

It took a bit to put this together since all we have are update zips so I had to do a bit of trickery as well as had to build some binaries/tools to manually patch from 1BTIF to 1ZTJ3 to 1ZTJA to be able to have all the firmware images.

I will create a Telegram ROM support group soon where you can ask all the questions you want there (I am not at liberty to discuss unlocking bootloader on XDA so questions about this on here will either be ignored or will say I cant discuss. More info as to why will be posted in the support group or you can read the imcluded instructions.txt wink.wink).

ENJOY!

Shout Outs:
@topjohnwu for Magisk of course
@jesec for LOS Recovery
@afaneh92 base TWRP
@Mentalmuso for direction on how to get TWRP to work on R!

More shout outs coming soon!

SamPWND ROM Support and Other Support Telegram Group CLICK HERE

Downloads will be in post 2.
 
Last edited:

Misterxtc

Senior Member
Jul 11, 2019
235
96
Syracuse
feel free to use it as a base to work ur rom magic lol! u kno how my roms are.. bare bones lol

Thanks, that will be a big help getting me back into building roms again. I haven't had the time at all lately except for some minor phone stuff plus I'm waiting for computer parts to come in and put together a 10th gen Intel system. Then I can get started again.
 

Zavon

Senior Member
Aug 8, 2012
72
59
That being said, how do we get this going for the 988U1? I have root working for R on the 988U1. Although attempting to boot into stock recovery on ZTJA sends it into a boot loop still working on that.
 

elliwigy

Forum Moderator / Recognized Dev / Dev Relations
Staff member
XDA App Taskforce
That being said, how do we get this going for the 988U1? I have root working for R on the 988U1. Although attempting to boot into stock recovery on ZTJA sends it into a boot loop still working on that.

i have toake rom for g988u/u1..

and thats bcuz it needs to pull recovery from boot which it xan only do on stock boot.img
 

mkurzum

Senior Member
May 25, 2009
113
25
Just flashed this last night, seems to be running beautifully, no issues so far, battery is looking good. Removed a dozen more useless apps, root is working great.

Running on a G986W with a Canadian Sim, everything seems to be working fine with my carrier (WiFi calling, LTE+...)

Thanks brother! Keep up the good work
 

elliwigy

Forum Moderator / Recognized Dev / Dev Relations
Staff member
XDA App Taskforce
Now that the FE has TWRP, any idea if these will work on that?

as i stated already a few times the answer is no.. this is for g986u/u1. the rom has g986u/u1 bootloaders and everything.. its not a twrp flashable zip.. if u try and hard brick thats on you.