yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Chainfire:
Requirements and requests

The the CF-Auto-Root project currently supports the following base boards:

- Samsung Exynos4

- Texas Instruments Omap4

- Qualcomm MSM8660

Other boards will probably be added soon. Currently only Samsung devices are supported, but I'm looking to expand into other devices soon as well.

To be able to make CF-Auto-Root for a device:

- The device needs to have (and use) separate kernel and recovery partitions

- The kernel and recovery format must be the boot.img standard (no zImage support)

- I need the recovery.img file, so post it in this thread if you need support for a new device :)
[Android Software/Hacking General [Developers Only]] Chainfire:
Devices and threads

The full list of all supported devices is always available and always current at the CF-Auto-Root homepage.

Most supported devices have their own threads here on XDA, you can find the thread for your device in the device listing on the CF-Auto-Root homepage as well.

I will not be maintaining a secondary list in this post, as it would be double work.
[Android Software/Hacking General [Developers Only]] RegueiraMD:
Newbie Question

First of all, wasn't sure if it was allowed to post on this thread (it's odd, 4 days old and no post), as I've seen nothing saying I shouldn't, here I go.

Newbie question here:

1) Is it possible to flash CWM Recovery with this root?

2) I'm willing to flash it, should I then just root using CF-Root(non-auto) as it already comes with CWM?

3) The version of CWM on CF-Root (non-auto) is already outdated, would it be a problem if I just flashed the new version over it with ODIN (download it from clockworkmod.com/rommanager and flash)?

I ask this because I want to keep my phone as stock as possible, but want to be able to perform a Nandroid backup and flash some ZIPs (if there's a way to perferm/restore Nandroid backups and flash ZIPs w/o CWM please tell me how :) )

Thanks.
[Android Software/Hacking General [Developers Only]] Chainfire:
This thread is pretty much quiet because most of the supported devices have their own threads ;)

(1) Root is a separate thing from CWM. CF-Auto-Root does not include CWM, but if your device has a CWM build you can certainly flash it. The "ROM Manager" app will be able to install it if your device has an "officially" supported CWM build from Koush himself.

(2) If a CF-Root (non-auto) is available then it's probably outdated. I do not maintain any CWM builds anymore, but others do for most devices, so you should be able to find one.

(3) You can do that no problem.

I use Mobile ODIN for flashing ZIPs, but it does not do backup/restores (yet *wink*). For my other backup needs, I use Titanium Backup.

But to each their own. Some people prefer CWM, some people prefer TWRP, some people like me prefer stock so we can keep the counters at 0/official, etc. CF-Auto-Root keeps all our options open. It doesn't prevent you from anything, though it does also not include anything like that.
[Android Software/Hacking General [Developers Only]] RegueiraMD:
I thought this should be the reason, as I still can't post on dev's forum I found this topic where I can post :D

Thank you very much for you quick reply.

after you posted I found out Online Nandroid Backup on play store, so I'm going to use it to create nandroid backups, Mobile ODIN to flash ZIPs (don't worry, I'll buy you a beer :) ), and galaxy S3's stock recovery for restoring nandroid backups (guess this is possible).

again, thank you for your reply :)
[Android Software/Hacking General [Developers Only]] snowman77:
Thanks sounds awesome :)
[Android Software/Hacking General [Developers Only]] YLNdroid:
Chainfire, will there be a CF-Auto-Root implementation for the Samsung Galaxy Note GT-N7000?

:)
[Android Software/Hacking General [Developers Only]] Chainfire:
No, as it doesn't have a separate kernel/recovery partition, my automated system can't work with it. I am still considering manually creating a CF-Auto-Root-like project for these devices (S2, Note1, older Tabs) but not sure yet if I will.
[Android Software/Hacking General [Developers Only]] svs57:
SGS3, 4.1.1

I flashed CF-Auto-Root-m0-gti9300.tar.md5 via mobile Odin

I don't see supersu after reboot.

If I install supersu from market got "device status custom"
[Android Software/Hacking General [Developers Only]] vipsavior:
Support for SC-02E Note 2 ?

Hello chain fire

I was wondering will you be able to support the Docomo SG Note 2 SC-02E version if so the image links are below

I looked hi and low in japanese forums ,but no luck I also tried the international note 2 version of the root ,but no dice . If there is any more info you need let me know .I have no problem of adding a donation for your service .I paid for your apps before and they work great .

BOOT.IMG

Recovery.img

OS: Android 4.1.1 Jelly Bean

CPU: Samsung Exynos 4412 Quad-core 1.6GHz

GPU: Mali-400MP

RAM: 2GB

ROM: 32GB
[Android Software/Hacking General [Developers Only]] Grant Barker:
+1 for the SC-02E, please.
[Android Software/Hacking General [Developers Only]] Dreamweaver:
I have a question concerning AutoRoot and CWM.

Now I have a Stock-Rom with AutoRoot on my GT-I9300. If I want to make backups with CWM I have to install Rom Manager and install the CWM manually. Okay. But a very important thing is: can I change back to CF AutoRoot with flashing via Odin/Mobile Odin? Or will I loose my data?

Thanks! :good:
[Android Software/Hacking General [Developers Only]] Chainfire:
Try this one, let me know if it works:

http://download.chainfire.eu/285/CF-Root/CF-Auto-Root/CF-Auto-Root-sc02e-sc02e.zip

Simply flashing AutoRoot does not wipe data.
[Android Software/Hacking General [Developers Only]] vipsavior:
I will give it a shot i think i had auto reboot checked let me run it again
[Android Software/Hacking General [Developers Only]] Grant Barker:
Cool. I'll try too. Thanks.

---------- Post added at 02:26 PM ---------- Previous post was at 02:09 PM ----------

It's getting late, I must sleep.

Is this pretty much the procedure to follow tomorrow (using your CF-Auto-Root-sc02e-sc02e)?

http://www.youtube.com/watch?v=p-NHohy0PPU
[Android Software/Hacking General [Developers Only]] vipsavior:
Well I tried 8x today but no dice. 4x manual recovery and 4x with auto reboot with a clean stock rom with a full factory flash in odin.I practice the recovery mode with the stock rom and i can get it everytime ,but when i apply the cf auto root it seems there is no recovery.I tried for about 30 mins to get in recovery but nothing.The phone will boot normal you just can't get recovery no root or SUbinary.i also did not get the red android. I tried the international version of the root with cwm and everything installed fine .i have cwmr installed cf SU ,but i still get no binary installed.
[Android Software/Hacking General [Developers Only]] dacc:
Hi Chainfire !

Any chance to see CF auto root for GS3 mini ?
[Android Software/Hacking General [Developers Only]] Grant Barker:
I just got home from work (10pm). Based on your results, I'll hold off for now and try at the weekend when I'm feeling braver and have more time to get out of trouble.

Was your procedure similar to the video posted a couple of posts up?
[Android Software/Hacking General [Developers Only]] epicnegro:
Flawless

This works flawlessly! First Attempt. Muchos Gracias CF!
[Android Software/Hacking General [Developers Only]] any_body:
Dear Chainfire;

I use this project before on my tablet and it look like supported in projects website, too!..

It is really the best way to root our device and thank you so much for that!...

But, isnt it support Galaxy ACEII (GT-I8160)?

It looks like "not!" as projects website but thought i can do it successfully on my ACEII

Could you please try it and if the answer is positive, can you add ACE2 to projects websites Offically Supported Device List?

Thanks a lot...
[Android Software/Hacking General [Developers Only]] haxor:
Will it work on Note 2 android 4.3 unroot since i purchase as i heared that knox is major problem in android 4.3 so after root counter would go up if i root ?
[Android Software/Hacking General [Developers Only]] sjsharksfan420:
Hey ChainFire, HUGE fan of all your work, thank you for all that you do for us here in flashaholic anonymous.. I mean flashaholic land.. I mean the xda forums. ;) I had a quick one for you. Is there any CF-AutoRoot that is universal across android devices? If not, is there one already for the gTab3 7" (SM-T210R)?

I havent rooted mine yet, and I wanted to make sure that I root the BEST way possible :)

sj

Sent from my Revolutionized v2 E4GT - SPH-D710 using Tap@Talk Pro
[Android Software/Hacking General [Developers Only]] D-Trixxx:
Will this work on the SGH-I317M?
[Android Software/Hacking General [Developers Only]] miroesq:
OTA

I have been an iPhone user since the 1st gen iPhone and this is my very first Android, a Nexus 5. I rooted it using CF-Auto-Root when my phone was on official 4.4.1. I now got an OTA update notification for 4.4.2. How does one update once you root your device using the CF-Auto-Root method? I have purchased and installed all the major rooting utilities; SuperSU Pro, TiBackup Pro Key, Greenify (Donation Package) and App Ops X.
[Android Software/Hacking General [Developers Only]] saintsatinstain:
Nexus 7, KitKat 4.4, build KRT16S root not discussed for it

it seems to me. I read all the threads but no where the specifics of my Nexus is discussed. I simply want to root it and keep to stock as much as possible. Unobstrusive ads I dont block, but there is a big banner ad on my desktop won't go away.
[Android Software/Hacking General [Developers Only]] D-Trixxx:
Disregard this question, I found my answer.
[Android Software/Hacking General [Developers Only]] sjsharksfan420:
I could be wrong, but im pretty sure you cannot take official updates while rooted.. if it does download & install, most likely you will end up in a bootloop (soft brick) in which you would need to restore a nandroid backup or factory reset anyway..

So, my suggestion to you is, if you want to update with the official pushout, you mught need to factory reset to stock unrooted, then update..
[Android Software/Hacking General [Developers Only]] miroesq:
I was already on 4.2.1 rooted. I downloaded the 4.2.2 update, went into recovery node, used adb to sideload it and rebooted. Everything went fine, but I lost root. I rerooted using CF-Auto_root and that went fine.
[Android Software/Hacking General [Developers Only]] Tungsten c:
Build PUEMK2

Guys

DOes it matter that my build is PUEMK2?

Thanks
[Android Software/Hacking General [Developers Only]] Godswrath:
Is this true? You can't do OTA updates if unlocked/rooted?
[Android Software/Hacking General [Developers Only]] ink0gnito:
i'm throwing my hat in for the SM-P605, too.

hope there would be an easy way to root my device. i don't care about knox, but would prefer to keep that flag untouched ;)

thank you Chainfire for all the hard work you've done in the past and contributions you've made!
[Android Software/Hacking General [Developers Only]] xmen25:
Yes it will work. Flash TWRP and flash the SU update zip.
[Android Software/Hacking General [Developers Only]] Valiante:
I can't seem to find an auto root .tar file for the Korean S2 (shw-m250s), is there one floating around?
[Android Software/Hacking General [Developers Only]] :
Hi Chainfire

happy newyear!

congratulations and thanks for all your work

(which I benefit from since years)

The Samsung Galaxy Express 2 (SM-G3815) is a nice device for which

I wonder if CF-Auto-Root might work.

SamMobile provides stock ROMs

(G3815XXUAMJ1_G3815VFGAMJ1_PRO.zip)

Samsung provides Linux kernel source

(SM-G3815_JB_Opensource.zip)

If you cannot find them I can gladly give them to you (e.g. via ftp).

You can have my email address via PM.

Here are some XDA threads about it.

http://xdaforums.com/showthread.php?t=2516980

http://xdaforums.com/showthread.php?t=2517153

Various rooting methods FAIL.

Some more details:

G3815XXUAMJ1_G3815VFGAMJ1_PRO.zip

Model: SM-G3815

Country: Belgium / Luxemburg

Version: Android 4.2.2

Changelist: 1756122

Build date: Tue, 01 Oct 2013 05:09:23 +0000

Product Code: PRO

PDA: G3815XXUAMJ1

CSC: G3815VFGAMJ1

MODEM: G3815XXUAMJ1

my CWM env (note wilcoxlte)

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.1.2

TARGET_PRODUCT=full_wilcoxlte

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.12.4-gentoo-x86_64-with-Ubuntu-13.10-saucy

HOST_BUILD_TYPE=release

BUILD_ID=JZO54K

OUT_DIR=/root/g3815/out

partitions:

/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot

/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system

/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata length=-16384

/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache

/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery

/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1

/efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs

/modem emmc /dev/block/platform/msm_sdcc.1/by-name/modem

/preload ext4 /dev/block/platform/msm_sdcc.1/by-name/hidden

I can also provide PIT (ascii or binary) from heimdall.

I have only Linux computers (no MacOS or Windows) which limits me to

adb, fastboot and heimdall.

Worst case scenario I can find some Windows computer in someone

else's home. But I guess heimdall talks odin just fine.

Thanks!
[Android Software/Hacking General [Developers Only]] :
SM-G3815 recovery.img.gz

recovery image attached (at least I hope so...)

... hmmm I cannot download my own upload, something wrong

and I cannot delete this post either

... I guess I am stupid or I qualify baby-xda user
[Android Software/Hacking General [Developers Only]] bongobill:
cant get root on new 4.3 i9305

hi i have just installed the new

DBT-I9305XXUEMKC-20131212142433.zip for the i9305:silly:

4.3 update from samsung and tried to use your auto root technique, but it gets nowhere. i mean it goes through the process and odin says success, but there is no su.

do you have any ideas?

thank you
[Android Software/Hacking General [Developers Only]] timberwolf60:
This was due to knox problem which block su. Updated su to latest and tried to use application manager to disabled knox related apks. After a while it worked for me.
[Android Software/Hacking General [Developers Only]] aureljared:
[MENTION=631273]Chainfire[/MENTION]

Here is the recovery image for SM-G3815 (Samsung Galaxy Express 2):

Download link
[Android Software/Hacking General [Developers Only]] terminal23:
recovery.img

here is the recovery for SM-G3815 https://www.mediafire.com/?da3e5r9h09q6kxk
[Android Software/Hacking General [Developers Only]] MrMike2182:
Yeah I used octopus box .. After you're done flashing the downgrade are you doing the factory reset right after it's done flashing? If not then stop Odin from auto rebooting the phone and after the flash hold the volume down and power button at the same time until the screen turns off and when it comes back on just select factory reset and let it finish.
[Android Software/Hacking General [Developers Only]] droidzer1:
Thanks, I did actually think of doing something like that. I'll give it a try although in the mean time I did find that Package Disabler Pro does take out much of the bloatware and does work with 7.0 Nougat unlike the other two apps I had been using for that purpose.
[Android Software/Hacking General [Developers Only]] MrMike2182:
Yeah that Package Disabler Pro is a good app but I wouldn't go crazy killing everything possible with it because it can either end up being detrimental to the battery because I noticed on MM, while using the ENG root kernel when I ran logcat it started flying by the screen so fast that it was impossible to read anything it was saying but after I stopped it I seen an app that was starting up and then Package Disabler was shutting it down so it was basically on, off, on, off but at a speed that was crazy!! Or the other thing that can happen is it won't boot past the Verizon boot screen and there's no way to stop it since you can't even get passed the Verizon boot screen so you'll end up having to reboot in safe mode which isn't fun since it changes everything and then you have to set it all back up again.. Whenever you try to do a downgrade a factory reset is needed to get it to work correctly.
[Android Software/Hacking General [Developers Only]] droidzer1:
Thanks for the additional info. I just used that disabler to get rid of a few things I'm fairly sure won't be a problem - mostly VZ apps and junk like 'VZ Protection and Support', CVS Pharmacy, NFL football and a few system apps I've checked out with lists of "ok to disable apps". Interesting thing I noticed about the battery on Nougat. It was still sitting at 100% after a couple hours here on Nougat but the percentage was far higher than it would have been in MM at this voltage (read using androsensor). I've heard people say the Nougat update gave them better battery life. I think Nougat did an Apple trick - calling the battery 100% charged when it's probably a lot closer to 90-95% at most - I've got a lot of background with Li-ion and similar batteries I'll try validating my theory sometime with some same model phones that have different OS versions by battery swapping to see if the percentages change a lot depending on which OS they are running under.

---------- Post added 6th May 2017 at 12:16 AM ---------- Previous post was 5th May 2017 at 11:32 PM ----------

MrMike2182 - Thanks again! That worked doing the factory reset immediately after flashing MM BQB1. :highfive: That is something I missed along the way of all there is to learn here. And now that we know Chainfire's reason that the CF auto root is up on his site I don't feel any need to want Nougat. Last I looked there were over 450 downloads of that CFAR and yet it seems there is no way to unlock the bootloader (yet anyway) and apparently no Developer Editions of this model. Despite his notice on the site that the CFAR's won't work on a bootlocked loader it looks like at least 450+ people have believed there is a reason it's there. Maybe there is still hope the BL will get unlocked sometime.
[Android Software/Hacking General [Developers Only]] markmessier8888:
Hi! I used the TWRP 3.0.2.0

I think i will just install Marshmallow 6.0

If I install Marshmallow 6.0, is the TWRP 3.0.2.0 the correct version for Note 4 N910K korean version?
[Android Software/Hacking General [Developers Only]] shiko2007:
hello guys ,

can i flash cf-auto root for nougat 7.0 on latest firmware of marshmallow on s6 model :g920f without any problem ?

thx alot
[Android Software/Hacking General [Developers Only]] plrodrigo:
Why the s6 edge plus 928a at&t is impossible to root? Other AT & T phones with bootloader blocked if they can be rooted
[Android Software/Hacking General [Developers Only]] force70:
Not newer samsung devices, no way around the BL lock

Sent from my S8 plus, Note 7, S7 Edge or S6
[Android Software/Hacking General [Developers Only]] shiko2007:
anyone guys ?
[Android Software/Hacking General [Developers Only]] droidzer1:
Yes it's right there on Chainfire's page if you mean the SM-G920F - here is the link to d/l :

https://download.chainfire.eu/733/CF-Root/CF-Auto-Root/CF-Auto-Root-zeroflte-zerofltexx-smg920f.zip

However you may want to search around here for details on this as I am not familiar with that situation other than seeing the file being available on Chainfire's page. Apparently he is now posting CF auto roots that may or may not work depending on whether the b/l is locked. In my attempt with a locked b/l it didn't work on the VZ Note 5 but it didn't cause any harm either.
[Android Software/Hacking General [Developers Only]] breaker911:
Does anyone know if this works for sm-g920v (Verizon s6) running stock nougat? I see this is available on Chainfire's page, but with a locked bootloader, I have doubts this will work.
[Android Software/Hacking General [Developers Only]] .::Alien::.:
Thanks a lot for covering SM-N9208 running android N.... Working Like a charm.... Thanks a million!
[Android Software/Hacking General [Developers Only]] rakotonirinaT:
Hello guys,

I was trying to use the CF-Autoroot method to root mine, since I encounter issues to us f.lux or CF.Lumen on Magisk.

However, attached is the screenshot error I've got when flashing the .tar.md5 file.

What do you think is the reason, and what shall I do?

Thanks,
[Android Software/Hacking General [Developers Only]] MECH_TECH:
Is there any plan on root for the SM-G920W8 Canadian now that 7.0 is out?
[Android Software/Hacking General [Developers Only]] kakabakk20:
rooted my phone through CF auto

can i flash TWRP through flashify now? will it cause bootloops?
[Android Software/Hacking General [Developers Only]] ashyx:
TWRP app?
[Android Software/Hacking General [Developers Only]] kakabakk20:
no, twrp for my device galaxy s6( i have downloaded just need to flash it)..

that's why i am asking will flashing it cause boot loops?
[Android Software/Hacking General [Developers Only]] ashyx:
Then use the twrp app.
[Android Software/Hacking General [Developers Only]] ashyx:
Bit of a problem, I tried this and it worked, however the resulting patched sepolicy is massive compared to the original? Original is 751kb and the patched version is 4.62mb.

I have dumped the patched sepolicy with --dumpav and it shows each entry has been changed to "permissive", but why the massive change in file size?

Thanks.
[Android Software/Hacking General [Developers Only]] Chainfire:
Probably a bug in the handling. Two of those have been fixed in the development version since last release. New release should be out soon, try again then. Or attach the file here, maybe I can take a look.
[Android Software/Hacking General [Developers Only]] FTL_Ian:
Has anyone gotten this to work for G920VVRS4DQD1, Nougat 7.0 on Galaxy S6 SM-G920V?

As I understand it, this phone is impossible to root, so I was surprised to see this available for it.
[Android Software/Hacking General [Developers Only]] ashyx:
Do you mean the latest release of SuperSU?

I'll post up the files for comparison. There seems to be many additional entries.
[Android Software/Hacking General [Developers Only]] Chainfire:
Yes. There were two bugs that could create absolutely massive files.

It does add a great many rules though. Individual SELinux domains can be set to permissive in the policy, but some firmwares (including Samsung) have disabled this functionality. To work around this supolicy attempts to simply give each and every domain all the permissions. This can increase the number of rules by a factor.

The CFAR creation script uses this exact command:

supolicy --file infile outfile "permissive { init init_shell shell recovery adbd }"

Which performs this magic only for the init, init_shell, shell, recovery, and adbd domains
[Android Software/Hacking General [Developers Only]] Tarasantan:
I have a phone LYF F1 (LS 5505) ,this device is powered by qualcomm 615 1.52 GHz processor and runs with android marshmallow 6.0.1.I think this device is made in such a way that this device will never be rooted,no one will be able to extract the stock rom,since qpst tools can not switch the device to download mode (the state column of the phone is always being uncomplete in qpst configuration tool),and even if we get any custom recovery for this device,we will not be able to flash it since this device does not respond to any of the fastboot commands (FAILED (remote: unknown command)).I am very very tired now in trying to root this phone.
[Android Software/Hacking General [Developers Only]] Noflexing:
there is a chainfireauto file for the galaxy note 5 from verizon the sm-n920V model. The boat loader is locked tho? Will the root be a success even tho chainfire has the file? I noticed chainfire also had the file for the galaxy s8 already for the us model sm-950U
[Android Software/Hacking General [Developers Only]] force70:
And?

They are automatically generated builds...old news

Sent from my S8 plus, Note 7, S7 Edge or S6