yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] varadinum:
Many thanks,but there is nothing. Unfortunately I have to stop it. :crying: Without boot.img I can not continue. Thanks again for your effort. :good:
[Miscellaneous Android Development] varadinum:
I finally found! Original firmware SM-A920F! That certainly includes the boot.img. And I can go on with that. yippie! :laugh::laugh::laugh:

A920FXXU1ARKG_A920FOXM1ARKG_ATO.zip
[Miscellaneous Android Development] xda_forums_account:
CF-Auto-Root generation fails

https:\\desktop.firmware.mobi\device:51\firmware:5282\download\t0.cfar\queue

Download queued

The file you requested is being generated.

Current status:	ERROR

Estimated wait:	NOT APPLICABLE

Our servers only store files in their base format. If a file is requested in a different format or as part of a package, the download may need to be (re)generated. The result is cached for some time, but if you're seeing this message, it means a cached version was not available, and it needs to be recreated.

This page will refresh periodically, and the download will begin automatically once available.
[Miscellaneous Android Development] Delrin:
Noob here. Found the files needed to root my phone which is a Samsung Galaxy J6. The problem is that the model it's compatible with is SM-J600F but mine is SM-J600G/DS. Is it safe to continue rooting using these files or should I wait until the specific model number is available? Just wanted to make sure before I do something bad with my phone.
[Miscellaneous Android Development] ashyx:
Won't work, your device already has a root solution. Look in the J6 development section.
[Miscellaneous Android Development] jelabarre59:
The thing I have been trying to find here and elsewhere is *how* to pull a firmware image that can be worked on, edited, etc. Trying with two tablets, an Insignia (Digiland) ns-p10a7100 (from WorstBuy), as well as an XO tablet (built by Vivitar). Actually have a couple of the XO tablets that still work, but I managed to delete the keyboard APK off the recovery on one of them while trying to clear out the extraneous apps *and* drying to replace it's default shell.

The Insignia's default factory image is decently clean of the extra cr(uft) usually installed on tablets, but the device as a whole is horribly unstable.
[Miscellaneous Android Development] clintsss03@gmail.com:
Newbee

Will this work for my sm j727T1 ? I've been told this model is not rootable

Nevermind I found the thread that explains it thank u anyway
[Miscellaneous Android Development] billa:
Hi,

I have extracted the Samsung_N910P_VPU5DQI5_v6.0.1 (Sprint Note4) boot.img, cache.img.ext4, and recovery.img from the latest firmware and uploaded it to the firmware.mobi, but when I tried to flash the generated CF-Root file (with auto-settings), it has failed flashing with the error message below

Course I've tried multiple different computers, with different versions of Odin, still no go. Wonder what went wrong and if there's a fix for it.

I can't flash the VPS4DQF1 CF-Root because my phone is already on the Rev-5 firmware.

Here's the Odin v3.13.1 log:

<ID:0/003> Added!!

<ID:0/003> Odin engine v(ID:3.1301)..

<ID:0/003> File analysis..

<ID:0/003> Total Binary size: 45 M

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> NAND Write Start!!

<ID:0/003> SingleDownload.

<ID:0/003> recovery.img

<ID:0/003> cache.img

<ID:0/003> Unassigned file

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

<ID:0/003> Removed!!

<ID:0/003> Added!!

p.s. I have tried flashing the cache and recovery separately to see which one is the one that's failing, and it turns out to be the cache partition is failing, while the recovery goes through just fine.
[Miscellaneous Android Development] ashyx:
Just use Magisk manager to root your boot.img.
[Miscellaneous Android Development] billa:
RE: Samsung_N910P_VPU5DQI5_v6.0.1 (Sprint Note4)

Ok, will give it a go, but I'm still wondering why the auto-generated CF-Root flashing has failed.

I really don't need a full SuperSU manager running, just a rooted boot is enough to do some efs work.

If you don't mind pointing me to the Magisk manager archive.

Thanks.

p.s.#1 I have tried flashing the cache and recovery separately to see which one is the one that's failing, and it turns out to be the cache partition is failing, while the recovery goes through just fine.

p.s.#2 Finally figured out what's causing the auto-generated CF-Root fail to flash. Turns out that the auto-generator online incorrectly packs the cache.img.ext4 as cache.img (without the ext4 extension) therefore it fails in Odin. While the flashing now goes through without any errors (both recovery and cache flashes fine), the phone is still not rooted, in fact I don't get the CF-Root script running during the recovery process. So there's still something wrong online while auto-generating CF-Root packages. Thought I'd post this issue here, so others don't waste their time, just download the ready made ones at https://autoroot.chainfire.eu/
[Miscellaneous Android Development] ashyx:
Instructions to use Magisk manager are posted in the magisk thread.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Miscellaneous Android Development] grappas:
Phone: Samsung Xcover 4 SM-G390F

Firmware: M1AJQ.G390FXXU2BRH3

Downloaded bootloader and recovery. Flashed all with CF-auto-root. Phone is not rooted at all :(. Are there logs of some sort?
[Miscellaneous Android Development] iBowToAndroid:
Yes you can. Unless the kernel version was also incremented, bootloader version alone does not prevent you from flashing CF
[Miscellaneous Android Development] billa:
Thanks, the kernel was also incremented, but I did manage to compile a new one which worked fine.
[Miscellaneous Android Development] Diamonds8:
Xcover 4 root problem

Hi everybody,

I have Samsung Xcover 4 SM-G390F phone. Before i have succesfully rooted my Xcover 2,3 and 4 phones. But now i cannot root my phone. Odin shows no errors. I have noticed that i don't see the CF-Root script running during the recovery process either. I have tried CF-Auto-Root etc. without success.

Firmware is G390FXXU3BRL1.

CSC is G390FNEE3BRL1.

Version 8.1.0 (i have been problems rooting only this version, not under 8.1.0).

Anyone can help?

Thank you :)
[Miscellaneous Android Development] ashyx:
CFautoroot doesn't work on Oreo.
[Miscellaneous Android Development] Diamonds8:
Thanks for the reply. Is there any ways to root that phone right now? Sadly, TWRP is not officially supported. However, i have tried TWRP called: "TWRP-3.1.1_SM-G390F_by_nemo-nemo_.tar" which i have found. I can install that without problems and that TWRP seems to works fine too but when i reboot/go to system, i get DM-verity error. I have tried to fix that error with "Universal DM-Verity" zip file via TWRP but it won't work. I get that same error if i try to root via magic manager. I get that same error even if i use "Universal DM-Verity" zip file before using magic manager.

Edit: I just noticed that when i try to install "Universal DM-Verity" zip file via TWRP, i get following errors:

"Could not mount /data and unable to find crypto footer."

"Failed to mount ' /data' (invalid argument)" (four times!)

"Unable to recreate /data/media folder."

"Unable to mount storage"

"Unable to mount /data/media/TWRP/ .twrps"

Sorry my bad english and thanks anyway! :)
[Miscellaneous Android Development] ashyx:
Your data error is due to not formatting(not wipe) the data partition before flashing Magisk.

Format data (you will lose everything on internal storage) so backup.

Then install Magisk via twrp.

This should solve your issues.
[Miscellaneous Android Development] Diamonds8:
I don't know what to say... except of course that THANK YOU VERY MUCH, ashyx! Thanks to You, i finally did it! :) I'm so happy now! I was so sure that i will never get this phone rooted anymore but i was wrong! I hope this will help the others too who have same problems with Xcover 4! :)

Big thanks from Finland! Holy sh*t i'm so glad right now! :)
[Miscellaneous Android Development] ashyx:
Glad you got it sorted. :)
[Miscellaneous Android Development] Mehdi Izawa:
Root for Samsung SM-J610FN/DS

Please.
[Miscellaneous Android Development] ashyx:
Yes it does, correct. ;)
[Miscellaneous Android Development] Mehdi Izawa:
It exists !!!

Can you send me a link.
[Miscellaneous Android Development] ashyx:
https://xdaforums.com/galaxy-j6+/development/recovery-twrp-3-2-3-1-galaxy-j6-j610f-t3875150
[Miscellaneous Android Development] Mehdi Izawa:
Yeah

I knew that one.

But I don't want to change my Recovery for to TWRP now (because i think it would stop OTA Updates)

Besides it has Magisk I think and not the usual SuperSU app.

I want something like CF AUTO ROOT for my device.

Thank you.
[Miscellaneous Android Development] ashyx:
It's seems you're rather under a misconception.

Firstly, ANY modification at all will render OTA updates impossible. That includes root.

Second Supersu and hence cfautoroot has not been updated in a long time and is no longer compatible with current Android versions. Supersu is now a dead project and Magisk is far Superior and up to date.
[Miscellaneous Android Development] Mehdi Izawa:
I've heard online that Magisk isn't Safe.

Is that True?

And if it's Safe to use can't I Flash it with Odin ?

And why can't I have OTA Updates my phone doesn't have any Warranty anyway (it's an European Phone that was Brought here to my Country Algeria, it has Locked Sim but that's another Subject)

And if ROOT stops OTAs how do I Keep my Phone up to date (you know while Samsung still gives Updates to it, by the time it stops I'll probably switch to Lineage eventually IF my Phone survives to that time and I Keep it....)

I've had a Samsung S3 for a while with TWRP and Lineage OS 14.1

It worked fine for a while but suddenly it shut down and was stuck in the Lineage Logo forever.

So I'm used to LineageOS's Root

So I decided to buy a new Phone (J610FN/DS) and once You Tast the benefits of Root you can't stay without it.

But I don't want to Brick My New Phone, you see.

Thank you again.
[Miscellaneous Android Development] ashyx:
Magisk is no less safe than supersu. In fact due to its open source nature is considered safer than supersu as now many other developers can work on improving it.

Why would you want to install it with Odin (and you can) as there is no benefit?

Seeing as you're already aware of it then you must be aware that manual updates are available via ODIN or Smartswitch.

It's not really that easy to brick a Samsung device with a custom recovery or for that matter root unless you do something really stupid like flashing the wrong bootloader even then that's quite difficult to do.

Any device can suffer Emmc failure, this is hardware related not software. Seems like your S3 suffered emmc failure.

At the end of the day stock recovery is pointless and useless on a rooted device, so why not have the benefits of root and a custom recovery? The fact you can backup your firmware and in particular the EFS partition with TWRP is probably the most important thing you can do when modifying the device in any way.

Only fools play around without backing up first.

If you're not prepared to accept there may be a small risk in something going wrong when flashing mods or modifying your device then you should just leave well alone.
[Miscellaneous Android Development] Mehdi Izawa:
Thanks for this great informations.

So My S3 died overnight because of Hardware (EMMC) problem ?

I always thought it was a Flash / Recovery gone wrong.

You convinced me in some ways, But I'm still doubting the TWRP because it's still "Unofficial" on it's Beta state. I'll maybe do it when it's Official.

And regarding ROOT what's the one used by LINEAGE OS

it wasn't an independent App like SuperSU or Magisk or Kingoroot (by the way is Kingoroot / iRoot / dr. Fone roots safe ? )

It was like "embedded" in Settings (developers mode)

That's where you could grant/stop ROOT access or even Shutting it Down.

So still I have questions.

Like

How do I upload a new Update to my phone if doesn't get OTAs (I don't have a Warranty like I said so that's not a problem)

Do I Download Firmware from Sam Mobile?

Do I Use TWRP or Odin to Flash it to the newer version ?

Do I loose Recovery and Root if I flash with Samsung Official Firmware?
[Miscellaneous Android Development] ashyx:
Just to put you straight on the 'official' twrp point you mentioned.

I have no intention of making the recovery official.

I could if I wanted, but that would not make it any different to the version I linked to.

The recovery would be maintained by me still.

It seems many misunderstood what official means. It simply means that teamwin were able to compile a working twrp using the sources I provide.

I have compiled, many, many twrp builds for a lot of Samsung devices, none are official.

The recovery is currently fully stable. I always add the beta tag until I'm fully satisfied there are no issues.

So far no real issues have been reported.

You can update your device via odin by downloading the correct firmware for your device.
[Miscellaneous Android Development] Mehdi Izawa:
And would I loose Root and / Or Recovery (TWRP)

BY Doing it ?
[Miscellaneous Android Development] ashyx:
Both.
[Miscellaneous Android Development] sarzlds:
G6100

Please I need cf auto root for my Samsung g6100 android nougat (g6100ZHS2BRH1) sarzlds@gmail.com
[Miscellaneous Android Development] ashyx:
You don't.
[Miscellaneous Android Development] Mehdi Izawa:
Hi it's me again.

Just to Clear something's up.

1- can I install Magisk with "Direct Install" without having Root?

Because installing TWRP is to complicated

- Unlock OEM

- Going to Download Mode is hard enough for me (I'm used to the old method Vol Down + Home + Power)

Now it's Vol Up + Vol Down + Power + Connection to PC.....

- Flashing TWRP

- Not Letting the Device Boot to OS (which is the tricky part)

- Go to Recovery

- Flash RMM bypass zip

- Reboot to Recovery again

- Flash encryption disabler

- Format Data

- Root with Magisk.

Can You make an easier way?

2- in your post you said to install the latest "Beta" why not install the latest "Stable" instead?

3- Would TWRP IF i manage to somehow install it without bricking my Phone get Updates Via TWRP's app.

5- Magisk says that you can Get OTA's with their Root is that true?

6- How do I Back up the Boot.img ? Can I Download it from internet.

7- can you take a look at this

{Mod edit: Link to paid services website removed. Oswald Boelcke, Senior Moderator}

It has a Root file.

But I don't know if it Uses Magisk or SuperSU

Can You tell me if it's a good idea?

Thanks in advance.
[Miscellaneous Android Development] ashyx:
You can't use direct install without root. You can create a tar file and then flash with odin.

However you will still get issues.

Just follow the instructions to flash twrp and you'll be fine.

Why pay for root when it's free? It's probably stolen from xda anyway.
[Miscellaneous Android Development] Mehdi Izawa:
Before doing something I might Regret.

1- is the STOCK "boot.img" included in the STOCK Firmware?

Just in case something goes South for me.

2- INSTALLING Magisk doesn't STOP OTA updates according to their site Is That true ?

3- IF ota updates are stopped.

And IF I Update with a Newer version of the STOCK Firmware

Would I loose Root and/Or TWRP?

And would have to reinstall everything?

Please answer every point.

Thank you.
[Miscellaneous Android Development] ashyx:
You're panicking a little.

Everything you would need to recover from some sort of crash is in the stock firmware.

Where does it state OTAs are possible with magisk? This certainly is not the case with Samsung devices.

As I answered previously, updating will remove root and twrp.
[Miscellaneous Android Development] Mehdi Izawa:
It says right here

https://******************
[Miscellaneous Android Development] ashyx:
What sort of link is that? :confused:
[Miscellaneous Android Development] Mehdi Izawa:
Well I don't know why it came out this way

But it's the first site you find when you search Magisk on Google
[Miscellaneous Android Development] ashyx:
In reality what you're reading doesn't apply to Samsung devices, but AOSP devices such as the Pixel.

ANY modification to any part of the firmware on a Samsung device will render OTAs unflashable due to device integrity checking before the OTA is flashed.
[Miscellaneous Android Development] billa:
You have to decide which one is more important to you, root or updates.

Technically updates can be flashed via Odin just make sure you don't overwrite the boot.img, and don't use CS/CSC NON-home which will factory reset your phone, erasing ALL information. So either make a backup of all your important info onto an SDCard, or perform a full NAND Backup via TWRP (if your phone allows that).

If you don't feel comfortable updating manually, then just flash a full factory stock firmware and re-root your system again.

Just like Ashyx said, you seem to be panicking about a lot of things.

Just remember, can't have your cake and eat it too (well, sort of; -)

p.s. About your old S3, try re-flashing it with a factory stock firmware (4 files: AP, BL, CP, NON-Home CS/CSC). If that doesn't bring it back to life, then you're most likely are having an EMMC issue, which is not worth wasting time to fix, especially on an old phone like the S3.
[Miscellaneous Android Development] Mehdi Izawa:
About My S3 it was Mostly an EMMC problem (and I Already Sold it anyway, but thanks)

And about Root & Updates It's Nice to have Both.

I just was wandering If I would have to Flash Updates with Odin and would it affect Root and TWRP.

And How to Update with the Least number of "Operations"

What's a "Non Home" By the way?
[Miscellaneous Android Development] billa:
About updating while rooted, you may want to ask "ashyx" for more information.

"Non-HOME" CSC is one of the files in a 4-file Samsung flash package, which wipes everything once flashed. On the other hand the "HOME" CSC file does not wipe out the user data, therefore it's useful in case you're rooted. I usually flash the Non-HOME CSC file then re-root the system. Put it to you this way, rooting does not make updates easy. ;)
[Miscellaneous Android Development] Ali Al shamary:
هل اسطيع ان اعمل جذر الى هاتفي السامسونج
[Miscellaneous Android Development] eyeoflucifer:
Cool. Thanks. I'll try that out and also upload a few others.
[Miscellaneous Android Development] roirraW "edor" ehT:
Hi! Thanks as always for everything you do!

I've tried uploading definitely stock (pulled from the stock container myself) boot and recovery.img for the VS985 LG G3. I've tried in Chrome, Edge and Internet Exploder with the same result. I've tried both outside and inside a zip. I do initially get the queue screen but then within 20 seconds it turns to the following:

Current status:	ERROR

Estimated wait:	NOT APPLICABLE

Let me know if you'd like me to upload these IMGs to Drive.

Thanks!

Edit: I have a bunch of LG VS985 and LG VK810 images on Android File Host at https://www.androidfilehost.com/user/?w=settings-dev-files&flid=35380 for the VS985 and https://www.androidfilehost.com/user/?w=settings-dev-files&flid=28125 for the VK810. Unfortunately, my archives there include all the other partitions, plus they're in 7-Zip format, although I do keep the system partition in separate archives from the non-system partitions.
[Miscellaneous Android Development] eyeoflucifer:
[MENTION=631273]Chainfire[/MENTION] any way for me to link external full images like the ones done in the Pixel XL page?
[Miscellaneous Android Development] Chainfire:
It's probably something with the boot images it doesn't understand. I'll look into it.

Not right now, no. But if you have a collection I can link to... ?
[Miscellaneous Android Development] eyeoflucifer:
Hi, no collection right now. Just linking to the official sources. Also when i tried to upload the recovery for OP3, i got the same error as [MENTION=2560614]roirraW "edor" ehT[/MENTION]
[Miscellaneous Android Development] Chainfire:
If there are proper official sources (like download pages on the OEM site), I would like to automate scraping them.

As for the upload errors, every upload capability to a site is an attack vector. As a precaution, the parser is extremely strict in the files it accepts. As such I must collect valid images that don't work, analyze why the parser rejects them, and fix the problems.

Obviously the system does store error details, but it would be bad form (security wise) to display this information to the uploader, it might help hone the attack.

So if you have images that are being rejected that have not been linked before, please link them (uploads to drive are fine).
[Miscellaneous Android Development] rokah:
Hello here a noob with first time root, I hope a simple yes or no answer I can get in my struggle to find a answer. Hope you don't get irritated. Can anyone tell me if the cf autoroot works with G930FXXS1DQHN - Galaxy S7 SM-G930F PHN Netherlands. I Allready seen how rooting works with Odin and what to do. But this latest update and info on this forum confuses me.

Samsung s7 G930F exynox G930FXXS1DQHN - Galaxy S7 SM-G930F PHN Netherlands.

Ty in advance.
[Miscellaneous Android Development] Chainfire:
The earlier OP3 image you put on drive is an OTA image, not a firmware image, so that's not going to work either way.

You should upload both stock boot and recovery simultaneously, or if that doesn't work link me to them so I can take a look.
[Miscellaneous Android Development] eyeoflucifer:
Oh ok. I had tried to do both and then only the recovery image. i guess that's why it failed.

I tried again to upload the boot and the recovery images that i extracted. That too failed. Have also uploaded them in the drive.

Files names are recovery_op3.img and boot.img (did not change the names as per the instructions)

https://drive.google.com/drive/folders/0B0wyPrkY34xAcElCZU1CN3FzRnc?usp=sharing
[Miscellaneous Android Development] CaelThunderwing:
not sure if its something on your end or not or something still pissing in teh case of the SM-S327VL (using CROM Services 1.06 APK does seem to set the Bootloader to unlocked as we can now see FRP Disabled and get to fastboot/Bootloader,) but its stil failing Secure Check :/
[Miscellaneous Android Development] minhducsun2002:
Rooting without TWRP

Hello and many thanks as always.

I would like to have a simple question for my Chinese device.

It is possible for CF-Auto-Root to auto-generate root packages from uploaded images? I like being rooted, but...no custom recovery, and the "Magic…" stuffs doesn't work on my MT6580 Lollipop device.

Thanks in advance. :):D
[Miscellaneous Android Development] Wasim625:
Hi,

First of all thankyou very very much for your work, effort and time you put in for us. I will definitely donate.

i have a question that i am try to root my device which is Samsung on5 g5520 running on marshamallow from your root file that i got from your website. but everytime i try to root it Odin tool ends unsucessfully and my device says Security check fail : cache. what can the issue be or may be i am doing something wrong?
[Miscellaneous Android Development] shaggyskunk:
Sounds like either:

a) Locked Bootloader.

b) Reactivation Lock is Checked.

From Down the Rabbit Hole by:

My SM-G930W8 ??
[Miscellaneous Android Development] Chainfire:
Either your links aren't right or AndroidFileHost requires a login. Please upload some samples to Google Drive and link them to me, or somewhere else where downloads are don't require sign-up.