yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jinujosein:
Thanks [MENTION=4899305]ashyx[/MENTION] for this wonderfull work.

I have flashed TWRP and Magisk as mentioned in the OP .

I am new to android. Still I was able to root my first android device (SM-A750FN)

When i followed the instruction first i was not able to flash the RMM bypass zip. it gave an error something like /DATA partition mount failed.

When i Formated the /DATA partition using the FORMAT DATA button in TWRP i was able to flash RMM bypass zip
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
RMM is Remote monitoring and management.

Basically your device contacts Samsung servers and locks you out if you attempt to modify it.

You have to wait for a period of 7 days before you can flash again.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
RMM bypass shouldn't need data formatting first.

What error did you see after installing the zip?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] BetoCisternas:
Thank you

then to wait seven days ...

:D:D:D
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] pipop62:
hi [MENTION=4899305]ashyx[/MENTION], today got another a7 in my hands and adb is not working there aswell, screen in not broken in this one , so let me know if i can help you further, thanks!
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
What is the response to:

adb devices.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] pipop62:
no device shown, neither offline or unauthorized or recovery. Both on linux and windows, while my other devices are shown, even j4 with your recovery.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
OK. So it seems adb doesn't start at all.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
The problem with this device as with some other recently released Samsung devices is that they have moved from the sysfs interface to configfs which it seems twrp does not currently support.

To hopefully get this working I need to play with the init files to get the usb gadget working.

However it seems there isn't much info out there and I'm trying to figure this out.

I've got an idea of what needs to be done, but it will take time to work it out as it's difficult as I don't own a device that uses configfs.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jinujosein:
Thanks for the reply.

I don't remember the exact error. something like /DATA partition mount failed.

For first flash i have selected the "zip signature verification". The verification failed too. Can this be the cause of flashing failure?

second time i did not selected this option and flashing succeeded
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
The data partition mount errors are normal due to encryption, but not related to installing RMM bypass as this doesn't need data to be mountable.

You should disable zip verification otherwise this will prevent unsigned zips from installing.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Hijacks:
Still Bootloop

OK. I've tried it more than 10 times. Maybe I explain what i've done and you can tell me what i did wrong.

1. After fail with bootloop installed stock firmware with odin. After that system boots fine.

2. Power off device then hold volume up and down together and plugged in usb cable -> download mode.

3. In Odin flashed TWRP in AP slot, unticked Auto Reboot before. All fine -> pass.

4. Hold volume down and power for 7 seconds phone reboots.

5. Immediately hold volume up + power -> boots into TWRP.

6. Flash RMM.zip (from SD Card). Went back to TWRP home screen and select reboot -> reboot to recovery.

7. Back in TWRP went to wipe (didn't wiped anything !!!) ticked format data.

8. Reboot into TWRP again and made my settings, because now it remebers settings.

9. Select reboot to system.

10 Bootloop !!!

What i did wrong?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Erecik:
Try flashing magisk after step 8, it removes forced encryption. It should help

edit2:

You may also try swaping step 6 and 7
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
You didn't install magisk.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Ok made some config changes to init to include the USB gadget config for configfs. Hopefully it helps.

https://androidfilehost.com/?fid=1395089523397905813
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] johandeuscht:
Great

Working 100% for me in phone a750G

thanks.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] LONG01:
Thanks for your job. Working on android 8.0 R16NW.A750FNXXU1ASB2
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Guys can you both remove your quotes. It's unnecessary to quote the entire OP and it breaks XDA rules.

Thanks.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] menevseeyup:
I can't seem to download RMM-state bypass it shows me 410 gone error can you re-upload it please?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Make sure you're using your browser and not the xda app to download.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] rogersrafols:
Please help.

My samsung a7 2018 was already rooted & installed TWRP using the procedures in the OP for a month now. Later decided to install twrp_3.2.3-1_sma750_3319.tar, made a TWRP backup then restore it but got logo stuck/bootloop.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Did you back up and restore system_image and vendor_image?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] menevseeyup:
Thanks for your work! Lots of love <3
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] rogersrafols:
No sir. I only used the default settings to wit: Boot, Data & System. Is there really a need to include system image & vendor image?

BTW sir, i'm lucky enough to kept my previous backup using Twrp_3.2.3-1_a750_251218.tar (using its default options), i flashed again that file, restored the backup & boooommmm -- successful.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
So backup is successful just not restore?

You are certain only boot, system and data are restored?

Is is it possible to try again and then flash each partition individually starting with the boot image then reboot after each partition restore and see which one actually causes the failure?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jayanthl:
Is the the recovery kernel custom compiled or a prebuilt stock one?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Always source built.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jayanthl:
Thank you for your response

I actually built kernel from source and included the kernel image into boot.img and flashed

The problem is that the device is not booting the custom kernel if i replace the stock kernel in boot.img then the device boots

The toolchain used ubertc and android ndk gcc

Currently on pie gsi,

What might be the problem ? I built arm64 bit image.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Have you tried to boot with the zImage from my source compiled kernel?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jayanthl:
I'll try!
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jayanthl:
Wow your kernel worked, the device booted!,

Don't know why mine didnt!

Can you just let me know which toolchain you used and

And terminal commands which you used it to compile?

What I did

Download kernel source from opensource.samsung

Untar

Ubertc toolchain

export ARCH=arm64

export CROSS_COMPILE=/toolchain/path/aarch64-Linux-android-

export ANDROID_MAJOR_VERSION=o

make exynos7885_a7y18lte_defconfig

make -j4

Image file generated

Copy to boot.img and rename it.

Flash

Didn't work!

Thanking you!
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Commands look fine, but I use the same standard Android toolchain Samsung uses.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jayanthl:
Can you just let me know which toolchain ? and link please.

The make command generates Image not zImage, is it OK?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Image is zImage just make sure your image is more or less the same size as the stock image.

I don't know off hand which toolchain. Check the kernel document text or the build script.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jayanthl:
Thankyou for your response, now I successfully booted the kernel, but I lost baseband version and IMEI number

With your kernel I didn't have this issue, Imei and baseband were still there when I flashed your kernel

What might be the problem?

Did you use different kernel source or tweaked it to have baseband and IMEI stuffs?

Please do let me which kernel source you used,

There are two zips in opensource.Samsung website.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
I just used whatever was the latest release at the time.

I will need to check my sources to confirm which one.

Nothing special was done to ensure the baseband works.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] blazzer12:
I am so alarmed right now!!!

After I flashed the file with Odin I restarted the phone. Not the phone keeps restarting (vibrating after every start) after the boot logo. Don't know what to do. It is still continuously restarting. Wonder if it will harm the phone and the vibration motor. Someone please help.

EDIT:

Ok. Some relief. What to do:

1. Plug the phone to a PC using USB cable.

2. Keep "Vol Up" + "Power" pressed until it boots to recovery.

3. Reboot -> Power off.

If I charge the phone it doesn't charge keeps boot looping. If I turn on the phone it keeps boot looping.

Although I can enter TWRP I can't complete step 4 because when I issue "adb devices" nothing gets listed.

Someone please help me out of this boot loop! ;_;

EDIT: I loaded the "RMM bypass zip" to an sdcard and flashed it but it fails to load "/data". I found out I can't even wipe /data no matter what. It says "Failed to mount /data. Invalid argument."

PS: Before this I tried to flash a firmware for India and my phone soft bricked with the screen "connect to PC and use Smart Switch App". But the smart switch app just freezes. So thinking if I have a recovery I have wipe stuff and start over I tried to install this TWRP and all the above mess started to unfold.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] rogersrafols:
Yes sir, only backup is successful not restore.

I will find time to try it again to see which causes the failire. Thank you sir.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
You're not paying attention to the instructions. It CLEARLY states not to wipe /DATA but to FORMAT using the FORMAT DATA button.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jayanthl:
Can you please let me know the kernel source and link?

This would help me a lot

Thank you!
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
A750FNXXU1ARIC is the source I used.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Can I get some feedback from someone regarding the status of ADB/MTP working or not in this build?

https://androidfilehost.com/?fid=1395089523397905813
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Erecik:
I will try it out tommorow if you can wait ?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] LuanTeles:
Hey can someone send me the OMC/CSC folder

and etc folder too?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] JoostA:
I am busy making backups so I will try today or later this week. I presume this built is meant to solve the MTP problem (no connection on PC whilst running TWRP - however working correctly when phone is restarted )?

---------- Post added at 11:02 AM ---------- Previous post was at 10:11 AM ----------

Installed and tested. This version (by the way: no indication about build number) is working properly, however the MTP problem still is there. By that I mean: you cannot access your phone (internal and external SD card) from TWRP. You can however access it when rebooting your phone (as it used to be). In short: I cannot see any difference with the previous version. The only thing I did not do was reformat /data (that had been reformatted before, so I could not see a good reason to wipe all my files again).
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Erecik:
My phone pooped itself. I can't try anything out for now. Sorry
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Thanks for testing. Will have to go back to the drawing board. :(
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] blazzer12:
Will this work for firmwares from other regions like SM-A750GN?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Should be fine
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] blazzer12:
Can confirm. TWRP installed fine on Singapore firmware (A750GN).
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] droidchixx:
Flashed my samsung but...

So I followed the steps took me 2 tries to get things right everything working no more boot loop but now I cant manage to create a secure environment on a custom rom the Samsung secure folder and some other app called island both failed :/
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Knox apps don't work once tripped.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Marble Madness:
Firmware Question

Hi all,

So, it has been confirmed, that the device in use is from Taiwan, via Samsung in Malasia. Some research was done, and the firmware version numbers were able to be ascertained, for this device. The question is, do you think that the firmware will work, from Sammobile.com, in case of a soft brick? Please note: All the firmware numbers match up, to each other, from both the phone and sammobile.com The model number is listed as: SM-A750GN on sammobile.com and this model number is under Samsung A7 2018, and it is from the Taiwan section. On the phone, the model number is listed as, SM-A750GN/ DS. The only difference are the letter AP and PDA. For example

AP: 12345 . . .

PDA: 12345 . . .

AP is what the phone lists, and PDA is what sammobile lists.

Here is a picture showing Sammobile firmware on the top and the phone's firmware, on the bottom.

https://imgur.com/a/kGprWyZ

If someone wouldn't mind sharing some knowledge, I'd really appreciate it!
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] JoostA:
[MENTION=4899305]ashyx[/MENTION]. As you know I have been testing your new version of TWRP. This weekend again for a couple of hours, thinking I had discovered a working version of Lineage for our Galaxy A7 (2018) on some Russian site, for which I would need TWRP of course . Alas, it turns out there is not yet any working version of Lineage fo the Glaxy A7 (2018) as far as I know now.

However the thought of installing a new Lineage ROM made it necessary to experiment a little bit with TWRP. I can confirm definitely now something I discovered earlier. The "March-version" of TWRP has some kind of flaw that *may* result in a non starting phone. In that case it just keeps showing you the blinking lights "Samsung" and gets to nothing (a long wait doesn't help you either). . The only thing you can do get your phone working is to re-install the TWRP version of last December.

I have been testing quite some time now and in one instance (only) I succeeded in rebooting with the new version correctly. It then gave me no further problems at all. However, it did not solve the MTP problem either - as I reported already. So, given the fact that you may run into boot problems with the new version, I think it is better to stick to the December version of TWRP for the moment. Maybe this gives you a a clue to something?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Are you saying that simply installing twrp prevents the device from booting?

Or do you mean after a restore?

I'm not quite sure how twrp can prevent the device from booting as the two are not interrelated.

Also the modifications to the latest test build shouldn't really affect anything except usb functionality.

Can you give me more details of what you did?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] menevseeyup:
Firstly, thanks for your work again and I have a question. I rooted my phone and installed TWRP successfully. So now I can't install software updates through OTA, right? Are there any other ways to update my device?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
You need to use odin to update as ota doesn't work on modified devices.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] kartik619:
Will this root will work on pie ?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Cakzemprongzzz:
Well it will
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] kartik619:
Thank you for replying

Have you tried it on pie?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] AmanDevil77:
When I try to install this on official pie update, the system always get bootlooped :confused:
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Cakzemprongzzz:
Well my phone is GN so no pie
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] kartik619:
I rooted my device on pie

My device is A750F
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] AmanDevil77:
Same device here but mine one start in boot loop after I reboot from twrp :crying:
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
You followed EVERY step? There are no shortcuts.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] g0didit:
Device SM-A750FN

TWRP: twrp_3.2.3-1_sm-a750_3319.tar

2 times I fail to install twrp. (1st post order)

3 times... in a row succes this order:

1. After fail with bootloop installed stock firmware with odin. After that system boots fine.

2. Power off device then hold volume up and down together and plugged in usb cable -> download mode.

3. In Odin flashed TWRP in AP slot, unticked Auto Reboot before. All fine -> pass.

4. Hold volume down and power for 7 seconds phone reboots.

5. Immediately hold volume up + power -> boots into TWRP.

6. Back in TWRP went to wipe (didn't wiped anything !!!) ticked format data.

7. reboot to recovery

8. Flash RMM.zip (from SD Card). Went back to TWRP home screen and select reboot ->

9. reboot to recovery.

10.flashing magisk

11. Select reboot to system.

xx time all OK. (i try without flashing magisk - NO BOOT)

7 and 8 not nessesary... (all go well without reboots between steps)
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] yshaka:
can root be done on a locked samsung devices with samsung account? lost my A7 2018 and A6+, was still on the list of https://findmymobile.samsung.com for a week and track it. but today A7 2018 was gone. A6+ is still there. both were using 1 samsung account.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Al3xI98O:
This works on Android 8 or 9?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] jsarina:
Both...
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] NickDeveloper:
Testing on SM-A750FNXXU1ASB2

Will this TWRP recovery work if I follow the instructions on A750FNXXU1ASB2/ASA4? :rolleyes::rolleyes: As I mentioned, there is no kernel source for this version, only for A750FNXXU1ARIC/ARK4. :crying:
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ErayBalyemez:
Nice it worked i had to format it after flashing bypass.It gave me error so i formated it and re installed and it worked.after reboot i installed magisk manager and realized it did not installed so i installed it to sd card and re flash it now it sees and it works thanks man.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] dlsygaco:
Ota pie on a750gn was recently out. So will this work on a750gn pie just following the steps?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Skypciak:
Can't flash it on android pie (german) gives out an can't flash error in download mode. In download mode it says that both locks are off. No option to unlock on android pie. Unlocked before updating on oreo. My phone is a750fn/ds:confused:
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] blazzer12:
Does not work with OREO. Bootloop. Any solution?

Edit: I thought I could flash Magisk later but that is not the case. You cannot continue without flashing Magisk ("Continue with the instructions below to prevent the data partition becoming re-encrypted." Will re-encryption mean boot will be prevented?).

Flash magisk and it boots alright.

So if you decide to install TWRP you also should root your phone.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Step 5 clearly states not to boot to the OS before rooting. :rolleyes:
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ErayBalyemez:
i didnt booted to os i flashed magisk file and booted but after installing magisk manager i found out it didnt installed so i installed in the app and flashed the zip it worked :p but i did not booted to the os before finishing theese steps (btw ik it was for oreo but i tryed for pie wich is 9.0 thats maybe why it happend. :D
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Sorry quoted you by mistake. :silly:
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] dlsygaco:
Just a quick question. Would this probably work on pie a750gn? I got limited data so i cant download stock rom for now for backup and i really need to root because of some games lol
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] Kindablu3:
Hello!

I'm a newb in terms of trying to set up custom recoveries for phones. While trying to boot to recovery after flashing the TWRP I think I ended up booting to OS instead. Now I am stuck at the Samsung Galaxy a7 logo screen. I try to boot into safe mode or download but all I can seem to do is reboot the phone for it to be stuck at the logo screen again. Can anyone tell me what's wrong and how can I fixt it? Thanks in advance.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
I have no idea until someone reports. In any case all you need do is reflash the recovery not the whole firmware.

Recovery can be downloaded below:

https://desktop.firmware.mobi

A750fn recovery should work fine on GN model.

My guess is that TWRP will boot fine.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] dlsygaco:
Alright thank you!
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] nikkali25:
Gn is working fine
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] IgorDzakovic:
Magisk is not installed

Ok,can you help me with something here than,I installed TWRP I followed instructions and all functioned fine.But when I install MAGISk nothing happens.There is no magisk on my phone,no matter what I do or how many times I install it.Can you give me some hint what to do.

My phone is A7 2018 Galaxy a750FN
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ashyx:
Just install the magisk manager apk and you should be good.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] IgorDzakovic:
I installed manager but again nothing,I have that Install button and I have two option download zip and other one is patch boot image file...I dont have that boot image file,and again that zip I installed via TWRP is not showing me app when I turn on my phone,like its not rooted,and again Im getting like notification from phone security like unauthorized access or try something like that.

Can u help me at least with that patched boot image

---------- Post added at 01:22 PM ---------- Previous post was at 01:12 PM ----------

Sorry,it worked now,its all good ,thank you so much
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] ErayBalyemez:
It works on a750f pie im not sure about gn model tho.but you can try what ashyx says.
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] rogersrafols:
It works fine on my A750GN/DS PIE...
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] dlsygaco:
Pie?
[Samsung Galaxy A7 (2018) ROMs, Kernels, Recoveries] s.hossein:
does anyone rooted android pie on A750? If yes please explain here