yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Android Development] ALiENr0x:
Hi, i just bought a note 3 ( online so it will arrive next holydays ), if that device will be with bootloader after MJ3 i cant do anything without void my warranty ? Thank you
[Galaxy Note 3 Android Development] !crazy:
Yes, that's what we have at the moment. It looks like they refuse to fix even hardware issues, what is beyond comprehension.

---------- Post added at 03:22 AM ---------- Previous post was at 03:12 AM ----------

I will probably wait until we get some good AOSP based ROMs, like CM (hopefully we get CM 11 nightlies which are stable like those for i9305.), even if all this bloatware really hurt my mind. So maybe I'll go for root only to remove all this useless sh*t floating around in RAM. It is not only that these apps take RAM but they also make unnecessary connections, and are really, really so useless.
[Galaxy Note 3 Android Development] antt00:
You can freeze app that you deem are bloatware without root you know.
[Galaxy Note 3 Android Development] !crazy:
No i didn't know that. Do you refer to 'deactivate' option in applications manager? If yes, then no it is not possible. It is possible only for small part of apps, and for newer versions, which don't have a status of a system app. That's my experience at least. Though thanks for suggesting that. At least some of them can be disabled like that.

If you know another, better way of doing it, which would work for all apps, please tell.
[Galaxy Note 3 Android Development] Mikrouwel:
I tried all the commands in the first post and none of them fix the permission denied error :(

Any ideas? Im running a N9005 rooted with Root de la vega.
[Galaxy Note 3 Android Development] manageri21:
Follow the instructions and you will see working fine, because here everything is working fine.
[Galaxy Note 3 Android Development] zroice:
have you tried all the 3 commands in op to remount your system writable?

Have you run them as root? (aka have you entered "su" before you did?)

Also make sure you give ADB superuser permission. (first time you enter "su" in adb shell it should ask on the phone)
[Galaxy Note 3 Android Development] Dingchow:
Thanks! zroice

I have a rooted X-NOTE v7.0 installed on my Note 3 and KNOX 0x0

I did delete the system/xbin and system/bin before rom-install.

The Camera was not working I had to install the fix here http://xdaforums.com/showpost.php?p=47097554&postcount=787

removebloat-cooolboy did not work.

Confirmation number:53873378HH0945615

If your getting permissions denied make sure you su
[Galaxy Note 3 Android Development] zroice:
Thanks alot!

What do you mean cooolboy remove bloatware script does not work? You gettin errors or not doin what it should?

Use su before all the commands (i forget too also at times hehe, and then things fail obviously)
[Galaxy Note 3 Android Development] Dingchow:
This what I get. Im root.

root@hltecan:/ # knoxout removebloat-coolboy
knoxout removebloat-coolboy
#####################################
# #
# kn0x0ut Toolbox v2.30 by z.ro-ice #
# #
#####################################

Mounting /system writable...

Removing all temp folder /data/media/kn0x0ut_temp...

root@hltecan:/ #

Welcome
[Galaxy Note 3 Android Development] zroice:
3 o's
[Galaxy Note 3 Android Development] Dingchow:
Do I need more o's?

Or do you mean oh oh oh?
[Galaxy Note 3 Android Development] c-pimp:
Im still wondering why the t mobile community has not done anything with this, I'm gonna have to give this a go around sometime this week. If any n900t users have dine this please tell me of your experience
[Galaxy Note 3 Android Development] Mikrouwel:
Thanks for the reply :)

Yes I have tried adding su but I get this error :/
[Galaxy Note 3 Android Development] and2:
No , he means cOOOlboy

Gesendet von meinem SM-N9005 mit Tapatalk 4
[Galaxy Note 3 Android Development] Mikrouwel:
I got it working by running su kn0x0ut.sh instead of sh kn0x0ut.sh :)

Thanks for the help :)
[Galaxy Note 3 Android Development] Dingchow:
It did have 3 o's. One must got deleted when I cut/past

root@hltecan:/ # knoxout removebloat-cooolboy

knoxout removebloat-cooolboy

#####################################

# #

# kn0x0ut Toolbox v2.30 by z.ro-ice #

# #

#####################################

Mounting /system writable...

Removing all temp folder /data/media/kn0x0ut_temp...

root@hltecan:/ #
[Galaxy Note 3 Android Development] Mwyann:
Installed X-Note ML2 over stock MK2, I also get Samsung's keyboad FC's. Even after doing clean-data. Disabled it for now but you have any idea why it's doing that?

Edit: Also Action Memo, S Note. Some of Samsung apps does FC. That's quite bad...

Edit2: Also tried to flash MK2 instead of ML2, same thing...
[Galaxy Note 3 Android Development] zroice:
su and the other command are two commands. first you type su, then enter, then the other. But do that stuff over adb shell not terminal better.
[Galaxy Note 3 Android Development] zroice:
hmmm, try factory reset please, since you already deleted the data anyway..

When I flashed the ml2 over my mj7 with kn0x0ut it went through without problems and I didnt even did anything on top (greenify crashed on first boot, but that was due to xposed not beeing installed anymore on the fresh flash).

But yea, the safe way is to upgrade with mobile odin and root injection and then use kn0x0ut to install the modded custom rom.

Also, did you use "rom-install" or just "install"?
[Galaxy Note 3 Android Development] zroice:
su is a standalone command if used like that.

You type "su" then enter and the current user will get changed to root. Then you execute the commands.. (really guys, is this NOT obvious that you gotta do this stuff as root?).

Su can also be used to execute commands, but then the syntax is: su -c <command>, so no idea how that should have worked what you typed there lol.

I guess I should add some general terminal advice to the op?

---

Uploading new version 2.31 - cooolboy removebloat script really wasnt working. (I was missing "o"s too lol)
[Galaxy Note 3 Android Development] Mwyann:
Finally ended flashing with Mobile Odin Pro (zip update, without data wipe, without replacing recovery, and keeping stock kernel), my knox is still 0x0 and everything is working again :)
[Galaxy Note 3 Android Development] and2:
What did you flash with MOP? The X-Note.zip renamed as update.zip or what?
[Galaxy Note 3 Android Development] Mwyann:
Just copied the X-Note_Aroma_Build_7.0_ML2_Public.zip into my internal sd-card (external works too, whatever), launched MOP, selected the zip with "OTA/Update Zip" and started flashing. No need for EverRoot (ROM is already rooted), and wipe dalvik is already done by the ROM installer.

Make sure you don't flash another recovery and choose to flash stock ML2 kernel and you're good :)

---------- Post added at 02:52 PM ---------- Previous post was at 02:36 PM ----------

In fact, I guess that as long as you're sure you'll not mess up with recovery or kernel, you can safely flash any custom ROM or any zip update with MOP.

Tell me if you tried/succeeded in doing so too.
[Galaxy Note 3 Android Development] and2:
WTH? Great, now i´m on X-Note ML2 and all is working. Thanks for your courage.
[Galaxy Note 3 Android Development] Mwyann:
Thanks for your reply :) Just to make sure, knox still 0x0 too?
[Galaxy Note 3 Android Development] and2:
YES, almost everything is working, except i can´t buy or rent moviesin the video hub. But i think this is rom related
[Galaxy Note 3 Android Development] Killberty:
So what u want to tell us is

If we flash stock fw ml2 with URDLV and use mop with a ml2 customROM knox wont be tripped ?

Omg if this is right im so sorry for [MENTION=3160325]zroice[/MENTION] putting so much work into this for (almost) nothing.

Grest respect from me and hope u enjoyed working on it anyway and improved your linux and adb skills anyway :p

hit 'thanks' if i helped you

SM-N9005 DBT-DMJ7 0x0

XDA Developers 4 premium app
[Galaxy Note 3 Android Development] Mwyann:
I think that's the case... You just have to :

root your device once with URDLV (with safe bootloader of course), or any safe rooting method

then if you're not on ML2 yet, upgrade to stock ML2 with MOP+EverRoot (I think this step is not mandatory but I guess it's safer, that way you're sure to get modem/recovery/kernel upgrades)

and finally flash whichever custom ML2 ROM with MOP (EverRoot not needed), WITHOUT flashing a new recovery AND KEEPING/FLASHING ONLY stock kernel (that's the only things that would trip Knox).

you can also flash any update zip you want that way, you just have to make sure it doesn't flash any (non-stock) kernel nor any (unsigned) recovery

(replace ML2 with latest firmware available of course ;))

kn0x0ut is still useful for the mods install scripts (even if zip updates can be made too), I guess.. but its main purpose is defeated by MOP. Or it can be the poor-man's rom-installer tool, as you don't have to spend money to use it... But I think [MENTION=631273]Chainfire[/MENTION] deserves its money :)
[Galaxy Note 3 Android Development] megatooth:
Make a video, :good:
[Galaxy Note 3 Android Development] Mwyann:
If it's for proving, I don't feel like flashing yet another time and losing my /system mods just for a video... next ROM update maybe ;)

If it's for having a tutorial, it could be simpler with screenshots/photos.
[Galaxy Note 3 Android Development] megatooth:
Tutorial, of course. :cowboy:
[Galaxy Note 3 Android Development] Mwyann:
Here you go ;)

http://xdaforums.com/showthread.php?p=48790506
[Galaxy Note 3 Android Development] evilvoice:
Think I'll stick with the free way.
[Galaxy Note 3 Android Development] antt00:
Wow the mop method really works. And it a more complete and safer way. Plus it support aroma. It seems MOP loads its own recovery to flash the roms thus the original recovery remains and nothing is tripped.

No offence to zroice for all his effort. I have learn alot from him on all the adb stuff. A big thanks to him.
[Galaxy Note 3 Android Development] vinokirk:
Wait wait, so we can flash custom roms with Mobile Odin Pro?

Can we just flash the custom rom straight off, or do we have to flash the stock rom then the custom rom?

And this keeps Knox?
[Galaxy Note 3 Android Development] Mwyann:
MOP backs up the original recovery/boot images, then flashes it's own recovery, reboots to it and first thing it does is restoring original images. So it's a "one-shot" recovery boot. I'm curious if we could also load another recovery like CWM or TWRP with the same method... would be a good idea to ask [MENTION=631273]Chainfire[/MENTION] about that.

You can flash the custom rom without flashing the stock rom before, but it's recommended to do so you get latest updates like modem too. But you can also upgrade it with another .zip update. Just stick with stock kernels and don't replace recovery, that's the only thing needed.

For example, I upgraded from stock MK2 to X-Note ML2 successfully (installed stock ML2 kernel along with the ROM). For next X-Note upgrades I'll not have to reflash stock, I'll just flash the new .zip and here we go.
[Galaxy Note 3 Android Development] sauron82:
So just to be clear, as long as I'm already rooted MOP will flash custom roms w/o tripping Knox. Do you do anything to the rom before flashing it? Is there anything we have to remove?
[Galaxy Note 3 Android Development] antt00:
Dont flash custom roms that comes with custom kernel. If prompted in aroma to select which kernel or recovery always select stock kernel and recovery.
[Galaxy Note 3 Android Development] evilvoice:
fastboot boot recovery.img

This will let you boot a recovery for one time use as it does not flash the recovery. I have not tried it in conjunction with Knox, but I do know it works in the case you want to keep the phones recovery intact.
[Galaxy Note 3 Android Development] Mwyann:
Interesting... do we have Fastboot on the Note3 ? Did someone tested this? (And how to?)

Thanks for the tip.
[Galaxy Note 3 Android Development] evilvoice:
I should have clarified my post a little. I have not tested this on the Note 3, so I do not know if it is doable. I used to do this on my EVO3D all the time. If MOP is using a recovery without overwriting the stock version, this is the only way I know of that it could be doing it. I don't believe Odin allows you to boot something without flashing. I could be wrong as this is my first non-Nexus Samsung device. The Nexus S 4G allowed fastboot.
[Galaxy Note 3 Android Development] millerboy3:
fixed
[Galaxy Note 3 Android Development] Mjoelnir77:
You are missing busybox - there is an installer in play store
[Galaxy Note 3 Android Development] siakgayyem:
Hi I tried backing up my efs folder but I get this message

View attachment 2478062

I am on stock n9005 rooted via kingo. I tried the 3 methods in 1st post but none of them worked. I wanted to make a backup of efs before I start to tinker with my device. Any help will be appreciated.
[Galaxy Note 3 Android Development] hey_joe:
Did you tripped knox when you get root?
[Galaxy Note 3 Android Development] millerboy3:
nope looking now

N900P

Samsung Official

Custom

0x0

0x0 <- knox warranty

so its fine no knox 0x1
[Galaxy Note 3 Android Development] millerboy3:
nevermind. remounted system in ES file explore and reran everything with terminal emulator. seemed to work well. then went back to ADB and worked a treat! However I have a few FC when i start. It seem to worrk at first, but i noticed the problem was maybe install deodex rom files on odex stock rom. How do i get around this? Everytime i run rom-install script it seems to boot fine but its not 100% functional. Then upon booting it tells me "Unfortunately, Direct pen input has stopped" Im thinking that somthing isnt install fully. I am will to test this plenty to get it to work 100% with the N900P if you are interested.
[Galaxy Note 3 Android Development] millerboy3:
i couldnt get this to work at all from stock MJ4 + Root using adb. so does this phone even have fastboot? i know my HTC phones did...
[Galaxy Note 3 Android Development] !crazy:
No fastboot for Samsung phones, except Nexus editions. There are Odin, mobile Odin, heimdall (Odin alternative, works on Linux too.), and recoveries available.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy Note 3 Android Development] Kuratko:
Unfortunately one day it will end up explaining how to turn on the phone

Odesláno z mého SM-N9005 pomocí Tapatalk
[Galaxy Note 3 Android Development] girron:
Are you trying to flash freezas deodexed stock rooted? I also have the same issue where it starts up fine experience what you are describing with the pen input and a few other force closes
[Galaxy Note 3 Android Development] millerboy3:
Yes as well as any other deodex roms.
[Galaxy Note 3 Android Development] girron:
I just tried by unzipping all the files and folders into the put files here folder and still no luck. I get Direct Pen input and samsung keyboard still stopping. I messaged freeza and he thinks it has something to do with the script. So close yet so far lol it is frustrating. Have you tried flashing any of the mods or running the debloat?
[Galaxy Note 3 Android Development] millerboy3:
I also tried freeza's stock rooted. That wont even boot. Doing any of the debloat scripts dont work well. mainly the zroice or w/e it will cause some apps to FC like Chrome browser which is strange. So i recommend you not try that either. The cooolboy debloat doesnt seem to do anything at all. As far as installing mods. I use Xposed etc. So i dont install specific mods
[Galaxy Note 3 Android Development] girron:
Yeah I noticed that the debloats didn't work. I am curious as to if it is device specific.
[Galaxy Note 3 Android Development] millerboy3:
Ill also not that i used the stock rooted deodex and odexed versions... Maybe this is. I was going to test a bit on my note 10.1 as well or my wifes S4. However the knox script seems to work ok.
[Galaxy Note 3 Android Development] zroice:
Sorry for not writing much here lately, been pretty busy and also saw that someone found out that you can just flash stuff with mobile odin safely as long as you leave out kernel or recovery.

(I wonder if this would allow to run custom recovery temporarily as well.. but I ended up tripping my knox counter to have custom kernels - **** samsung lol, but they said they honor warranty if its a hardware thing no matter what you do with the software.... and I'm not doin uncalculated bs with my device so whatever...)

Anyway, you can still use the knoxout toolbox for its mods or for cheap way to install custom rom, but I'm not gonna do much updates I think.
[Galaxy Note 3 Android Development] !crazy:
That works only for people with old bootloaders. Everyone who got phone with new bootloader has to trip knox, or enyoj Samsung's bloat decorated with TW.
[Galaxy Note 3 Android Development] Han Solo 1:
Wait a minute. How are we able to flash roms through regular Odin? I never heard of that.

I was able to root without tripping knox just yesterday. I did get mine from T-Mobile, so I don't know if that makes a difference.
[Galaxy Note 3 Android Development] Mwyann:
It's not regular Odin but Mobile Odin. Check out my signature.
[Galaxy Note 3 Android Development] !crazy:
There are stock based, usually completely stock ROMs, but rooted, which can be flashed with regular Odin. That was always one of the easiest, if not easiest method of rooting a Samsung's smart phones.
[Galaxy Note 3 Android Development] A30laa:
question:

i forgot to install a zip before i started to mess around with odin, so now i have no rom installed and i cant get into a recovery since i need safestrap to access my right recovery (note 3 At&T), my phone was rooted so if i send ADB commands to my phone to install kn0x0ut will this kinda help me out since i really cant do anything at the moment?
[Galaxy Note 3 Android Development] JimSmith94:
I see this working on relatively new builds, so would this work on a T-Mobile Note 3 (SM 900T) on the latest MK4 build, rooted with Towelroot, and KNOX 0x0?
[Galaxy Note 3 Android Development] Tiew9095:
Can I use Samsung pay when I install it ?
[Galaxy Note 3 Android Development] zroice:
I worked alot on the thing today but its not ready for updated release.

Played around to find a system to be able to make backups and also restore things, but for backup ill just try onandroid and then find a way to install the backup back onto the device (at least the system and/or data parts) so we can backup n restore stuff safely to test out roms etc.

Also made a new script / tool which can save file permissions and ownership to a runnable script file which restores the things back as they were when the permissions were saved (android missing a command for that, couldnt find a binary to replace it yet so I just made a script). Actually I wanted that to use for my own backup system kind of, but if im able to use nandroid backups that would be even better. But I'm sure this script will also come in handy for some things.

This still all is no rocket science and can easily be enhanced to do more tasks.

What I also want to do is to directly use the zip files instead of needing them already extracted.

If you flash a few things, the folders are getting a bit complicated hehe... (open for suggestions on the folder structure).

---

Last but not least, maybe I can even change it so that the script files can be just copied to system xbin or smth to make them easier to use in terminal and adb. (no need to browse into the directory etc) But this also would need to either store the folder location of the backups etc somewhere in a file too, or to require a certain location. (like on the internal or external sd in the kn0x0ut folder or smth).

Not sure when I will release the next version, but some feedback would be good. Or are you all chickens? =)
[Galaxy Note 3 Android Development] namfat:
Which kind of version your script support?

N9005 only or any version of Note 3?
[Galaxy Note 3 Android Development] manageri21:
Congratulations with your tools now I'm using the Xnote 5.1 with kn0x0ut.

---------- Post added at 01:56 PM ---------- Previous post was at 01:46 PM ----------

I'm not so lazy like you but I'm not a chicken, question if i want to flash a costum kernel, is possible with this tool with kn0x0ut? If yes can you show me.
[Galaxy Note 3 Android Development] arvin2212:
Nice.

How does this respond with ROMs with Aroma installer? Does it install everything by default?
[Galaxy Note 3 Android Development] zroice:
please read the manual / description guys.

This can't flash kernel or recovery and flashing kernel or recovery with odin or mobileodin will definitely trigger the knox flag afaik, so we stuck with stock kernel as long as we want to keep the warranty intact.

Aroma is not supported - this means only the "default" setup will be installed, the additional mods and so on have to be copied into the install folder and then you have to run the install command. But you gotta make sure the folder structure is correct (a data and/or system folder is expected in the "extract_files_here" folder. Usually you just have to copy the subfolder data and system of the aroma mod youre trying to install.

For single apks just use a file explorer and put them into the system directory. (fix permissions by hand or with the kn0x0ut toolbox afterwards though).

---
[Galaxy Note 3 Android Development] zroice:
Didnt get to work on the script today but I found out some things:

The init.d scripts would not run on my device so i tested around everything and the problem seems to be the logwrapper.

In the /system/bin/sysinit file (its a script) the logwrapper had to be removed to get it working again.

But I think I had it work even with the logwrapper before... not sure whats causing this. I guess logwrapper starts run-parts with too few permissions so that it ends up not running the init.d scripts correctly.

A fix will be included in the next version, until then you gotta delete the logwrapper from the sysinit file.

Some reports if your init.d scripts are running would be cool and if what the permissions of /system/bin/sysinit and /system/etc/install-recovery.sh are.

---

Also found out something else but forgot it again lol.

Ohh right: 1st: I'm using a n9005 but theoretically this is compatible with all devices out there, but that would need testing if there are any additional libs that need to be left untouched on other devices. The tool just works with files, no images or anything so since every android uses more or less the same file structure (but with different image sizes, partitions etc) knoxout should work.

Just look at the code, its just simply copy basically.. with some timesavers like automatic permission fixing etc.

---

LAst but not least:

People with kingo root or other root method other than root de la vega please try to mount system writable if you are in terminal or on adb shell.

type:

su
mount -o rw,remount /system

and tell me whether that works or if you get permission denied?

Why I need to know: I had two Note 3's so far - on the first I was so dumb to just flash stock odin image to debrand, including the new bootloaders. So I couldnt use RDLV and had to use Kingo Root instead. Well while I got root then, I couldnt remount system writable with the standard command but had to use a different one. Plus many root apps would fail to work because of this as well.

This couldve beein either caused by too old supersu binary OR is a problem with the other root methods OR is a side effect of the new bootloader.

So I need some data for this. But there is a workaround .. instead of remounting the system by name you remount the block device partition containing it.

mount -o rw,remount /dev/block/mmcblk0p23 /system
[Galaxy Note 3 Android Development] zroice:
new version 1.05. mainly includes some fixes (read the changelog) but also some new addons etc. Not everything thats there is also activated. Wanna make sure I test things before I release it as a command. But you can check out the tools folder.