yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] otcd:
updated file for I9505 FTP is missing
[Galaxy S 4 i9505 Android Development] phil.o:
I am on pre-rooted deodexed MKE and 6.00.7. Tried to mount my ext SD (64gb exFAT) within the recovery menu but it didn't work. Card wasn't recognized on my pc.

And making screenshots still doesn't work too.

Cheerz

°°° tapatalked °°°
[Galaxy S 4 i9505 Android Development] Ognjen123:
I have problem instaling recovery , i downloaded philz_touch_6.00.7-jfltexx.tar.md5 instaling it with odin 1.85 auto rebot and f.reset time is checked . Tryed also without auro rebot option . Cant get into recovery now at all , all screen black nothing hapens phone restart again and go into rom (stock rom ) . Can somebody help ? Does phone need to be rooted first ?
[Galaxy S 4 i9505 Android Development] Phil3759:
format it inside PC when you boot into ROM (using MTP)
[Galaxy S 4 i9505 Android Development] Uhu911:
I flashed i9505-cwm-recovery-6.0.3.2-4: and it does work
[Galaxy S 4 i9505 Android Development] Phil3759:
v5.04.3

http://d-h.st/users/philz_touch/?fld_id=16685#files

Hope you don't get sick like I am getting :p

As usual:

- start a backup

- as soon as you see the error, cancel the backup to spare your time

- Advanced / Report Error

- Attach here the /sdcard/philz_recovery.log

Thank you, I will revert to the shared exfat modules with /system for people having issues
[Galaxy S 4 i9505 Android Development] Uhu911:
Thank you. I will dl at as soon as its available
[Galaxy S 4 i9505 Android Development] SunSide:
So here we go,the next one ;)
[Galaxy S 4 i9505 Android Development] Phil3759:
It was a so stupid bug. Big thanks for the logs

v5.04.4

http://d-h.st/users/philz_touch/?fld_id=16685#files

As usual:

- start a backup

- as soon as you see the error, cancel the backup to spare your time

- Advanced / Report Error

- Attach here the /sdcard/philz_recovery.log

It is uploading, refresh in a few minutes if it doesn't show
[Galaxy S 4 i9505 Android Development] SunSide:
Here it is ;)
[Galaxy S 4 i9505 Android Development] victorator:
There's something funky goin on with this phone's recovery...

I'm getting an S4 soon, I will then adb logcat the hell out of it.

[MENTION=4666971]Phil3759[/MENTION]

Do you think an 'unmount system' command at the beginning could solve some issues? I think the problem is with write permissions. Something wrong with cache also... Can't tell I don't have your experience with recoveries. You're like the Jedi Master :)
[Galaxy S 4 i9505 Android Development] Phil3759:
You're so fast

Good news, it is fixed. Was a bad silly mistake on my side

Please, do not look at the next commit on my github :o

A very bad typo caused by some changes I did to a struct, forgetting to make them on next calls...

Oh, no, Koush, cm team and who are involved with them + twrp are.

Hard to say as I have neither an i9500 neither an i9505 or similar

When you boot into recovery, /system is mounted or unmounted?

You can see that by going under Mounts and Storage after recovery starts
[Galaxy S 4 i9505 Android Development] SunSide:
The text in recovery is"mount /system",so its unmounted i think :)
[Galaxy S 4 i9505 Android Development] Phil3759:
yes, so I do not see issues there...
[Galaxy S 4 i9505 Android Development] btemtd:
Sorry I meant Tar.. because of windows it shows it as a zip file.. I confused myself... What I meant is when I press the nandroid button it will have the option to backup entire CLONE into

1

folder x 5 files only and not a million little files

Recovery

boot

system

data

cache

I see here the option for Tar but when I do a backup more then 5 files come out of it , I think 12 files in total was what was sin the folder
[Galaxy S 4 i9505 Android Development] Phil3759:
Sorry, I am not going to implement this as you loose option to restore single partitions from a complete backup

Well, it could be possible but would need extra useless code

Add to that, you can no longer know what does your backup actually include as partitions unless you open the tar
[Galaxy S 4 i9505 Android Development] leeomendes:
thanks for spend your time with us hahaha...
[Galaxy S 4 i9505 Android Development] Phil3759:
believe me, it is not so funny
[Galaxy S 4 i9505 Android Development] leeomendes:
I know. Some time ago I even released a ROM for SII, I already gave up. It's freaking hard :/
[Galaxy S 4 i9505 Android Development] btemtd:
Makes sense, thanks for advising the advantages.
[Galaxy S 4 i9505 Android Development] AMDPOWERFIST:
A minor request Mr Philz

are you able to add some kind of version number system to your thread. So i and many of your devoted followers can see when a new version is up.

A date would do fine. No need for a version number.

Also send through any links to test builds, im back for some more log posting action !!!
[Galaxy S 4 i9505 Android Development] daniello8:
Hmm .. what's this "disable recovery flash" after I opt to reboot? I never select it because I don't understand it.

And .. fonts are really small .. can't find a setting to scale up a bit. Is there one?
[Galaxy S 4 i9505 Android Development] Phil3759:
No, or i will spend more time updating all the threads i support then working on the code

Subscribe to main thread which has date and version + relevant info
[Galaxy S 4 i9505 Android Development] Uhu911:
It prevents the stock recovery to reflash itself

Gesendet von meinem GT-I9505
[Galaxy S 4 i9505 Android Development] jcasares:
First time trying this. Really nice recovery I must say. :)

What I can't do and it seemed it is capable of, is doing a nandroid backup to external sdcard that is NTFS formatted. It failed. Is this known? Should I get some logging/error information, it was a mistake of me to believe it would work?
[Galaxy S 4 i9505 Android Development] Phil3759:
Try to re format card. It should work normally
[Galaxy S 4 i9505 Android Development] jcasares:
Re-format from where? I just formatted it on Windows that way.
[Galaxy S 4 i9505 Android Development] Phil3759:
seems you are right

the ntfs volume is in read only mode :p

Was it always that way?
[Galaxy S 4 i9505 Android Development] Ognjen123:
Can someone help mi with this please ? I cant menage to instal it at all am i doing something wrong i done it 100 times . It say Pass on end so its sucesfull instaled but nothing . Whan i try get into recovery by holding buttons i get : Recivery botting . . . black screen . . . phone probably restarts becouse i get a vibration and samsung logo and than it go to rom .
[Galaxy S 4 i9505 Android Development] gogua:
Use odin 3.04 or 3.09
[Galaxy S 4 i9505 Android Development] Ognjen123:
Oh didnt saw that is so much newer ver. out . Will try thank you . Where you put files in new odin i dont see pda?
[Galaxy S 4 i9505 Android Development] gogua:
PDA, of course.

Put this file into PDA: http://d-h.st/OUR
[Galaxy S 4 i9505 Android Development] Ognjen123:
Odin 3.09 doesnt have pda ^^ it has pit , bl , ap , cp , csc , ums ^^ but i gess ap is pda
[Galaxy S 4 i9505 Android Development] gogua:
BL = Bootloader

AP = PDA

CP = Phone

CSC = CSC

I prefer Odin 3.04
[Galaxy S 4 i9505 Android Development] Ognjen123:
Thank you will try new one if no i will try the 3.4. And one last question , 4.x.x.x versions not for ouer phone right ?
[Galaxy S 4 i9505 Android Development] gogua:
I don't know
[Galaxy S 4 i9505 Android Development] Ognjen123:
Damn still no luck . Cant get in recovery at all , tryed 3.09 odin , tryed diferent port , tryed without auto reset and direct going in recovery after and just getting : recovery booting . . . and nothing black screen restart . Btw first time after instaling now without auto reset got something like recovery boting . . . Than was writen something like recovery enforcing or not standard enforcing or something like that . . . and waranty something ^^ . wtf should i do . Whan i enter download mode and conect odin i have Write protection : Enabled and emmc burst mode enabled should that be like that ^^ ? Does the recovery work only for unlocked phones ? International ?
[Galaxy S 4 i9505 Android Development] degman:
Flash official firmware with Odin, make hard reset. First root your phone than flash recovery and try button combination. When you see blue writings release buttons.

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] bubba949:
Might be a stupid question but are you using the original cable?
[Galaxy S 4 i9505 Android Development] Ognjen123:
Its not original cable its the S3 one does it matter ? Will try original cable than i will flash official rom and try all again ^^ . Phone need to be rooted before instaling recovery ?

---------- Post added at 11:33 PM ---------- Previous post was at 11:29 PM ----------

Its not cuz of cable tryed the original one . What is the newest official firmware if u can show me thread please and the way to root it thank you .
[Galaxy S 4 i9505 Android Development] CarlM34:
Root not required to install recovery!

STOCK FIRWARE

ROOT
[Galaxy S 4 i9505 Android Development] Ognjen123:
Thank you will try .

Ok i instaled xxuemke firmware but cant get into recovery . . .I flashed the stock recovery but still cant get in it . i cant hard reset mine phone . Wtf is going on . . .

Edit : ok stock recovery is back after 1000 flashes and so is phill recovery .

Who got the same problem flashing stock rom , recovery and kernel than wipe factory and data in recovery , rot the phone with http://xdaforums.com/showthread.php?p=40819876 and than flash the recovery .
[Galaxy S 4 i9505 Android Development] jcasares:
I can't answer that as it's the first time I try to use it with your recovery.

The other two I tried didn't support NTFS.

On the OS (CM 10.2) I can write without any issue.
[Galaxy S 4 i9505 Android Development] timberwolf60:
In your phone does it read the ext sd card. (1) If yes, backup your data then used the phone to format it. Phone will format it to exFAT format.

After formatted and your mad should be recognised in win pc. (2) If no and shown error in the status bar then you just bring down the status bar and tap the error sd card icon. Phone will prompt you to format. Once done your card will be good.

First time to know that can format the sd card in mtp mode through data cable connection. Correct?

I will used mass storage mode to complete the format. Used phone to format the ext sd card was the best.

Send from my I9505 using Tapatalk Pro

ROM: I9505XXUEMKF_Knox 0x1

CSC: I9505OLBEMK3_STH

Modem: I9505XXUEMK9

Stock Kernel/Recovery
[Galaxy S 4 i9505 Android Development] timberwolf60:
Phil, flashed the latest version by sgs4 flasher and backup time 13min plus for about 4.5gb. Good. Online nandroud took me 11 plus minutes. Trying the restore now.

Restored from my online backup set took 10 plus minutes and testing my s4 now. Look Good on this 6.01.0. You are great. Cheer!

Send from my I9505 using Tapatalk Pro

ROM: I9505XXUEMKF_Knox 0x1

CSC: I9505OLBEMK3_STH

Modem: I9505XXUEMK9

Stock Kernel/Recovery
[Galaxy S 4 i9505 Android Development] degman:
I know this, but on my phone If I flash first custom recovery before root, nothing happens. Root then custom recovery and everything is fine.

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] elburo:
I had ur recovery installed.

I backup my slimbean rom and flashed a TW rom. Then I did a backup of my TW rom.

Then I wanted to go back to slim and restored my system.

Now the prob. My device stucked on samsung boot logo.

So after that I ve tried to restore my TW rom.

But it failed too.

Am I too silly to restore my rom.

Am I making any mistakes?
[Galaxy S 4 i9505 Android Development] Phil3759:
did you enable selinux?

Normally, on new version, it is enabled by default
[Galaxy S 4 i9505 Android Development] elburo:
Öö

I didn't enabled it.

I'll try it. Do need to enavle it before doing a backup ? Or do I just need to enable it before restoring?
[Galaxy S 4 i9505 Android Development] Phil3759:
you keep it always enabled

On last version, it should be by default, unless you changed it
[Galaxy S 4 i9505 Android Development] elburo:
Ok

Just updated to 6.01.0

So it should be fine.

I'll give it a try tomorrow.

If it doesn't work, where can i find the setting selinux ?
[Galaxy S 4 i9505 Android Development] kfallz:
For whatever reason backing up and restoring without selinux has worked just fine for me on 4.3 roms.. But I'll start using it just to be safe.

Although, it increased backup time yet again, this time by around 50%, from ~13min without to ~19min with, this up from earlier 5.x versions where it was 7min without selinux, all settings are the same, high compression and all stats hidden, and same sd-card.

So, something must have changed in the 6.x builds (flashed latest 6.0.1.0 before this backup to see if there was any difference, but no).
[Galaxy S 4 i9505 Android Development] hawkerpaul:
I've never been 100% certain on what to set the selinux context for backups.

My understanding is it's only needed on 4.3 with the new bootloader. Am I right in thinking this?

I'm still on the old bootloader and I always turn this option off. Is this correct? I've not had any problems yet doing this.

A month back a restored from mj5 back to mga and I lost my baseband. This had selinux selected as default. When I restored with selinux context turned off, I my baseband returned.
[Galaxy S 4 i9505 Android Development] HaTrED_:
I've restored mine, yesterday, FoxHound 3.2 ROM (4.3) with the old bootloader + SE linux context selected for this backup!

Everything went without a hitch/glitch (?) and at light speed... :good:
[Galaxy S 4 i9505 Android Development] spevil07:
For me the TimeBUG is back at latest version from philz, have tried the trick with the abyss kernel. It is NOT working. :(
[Galaxy S 4 i9505 Android Development] otcd:
Shouldn't FTP be updated with latest 6.01.2 version?
[Galaxy S 4 i9505 Android Development] ph3n0mII:
Where is this 6.01.2 you speak of?

and what do you mean by FTP?
[Galaxy S 4 i9505 Android Development] otcd:
On page first and header it says that current latest version is 6.01.2

now, going to the i9505 link thread and from there to the FTP downloads, there is no such version available. Unless im missing something with the process
[Galaxy S 4 i9505 Android Development] ph3n0mII:
Oh ok i get ya. Probably wont be long, its out for other devices already :)

BTW this is the i9505 thread and the FTP link is in the first post :p
[Galaxy S 4 i9505 Android Development] otcd:
TX
[Galaxy S 4 i9505 Android Development] Phil3759:
Want 6.01.2?

---> bother to read change logs

---> you'll know why you have no update

;)
[Galaxy S 4 i9505 Android Development] ph3n0mII:
No need for update yet anyway, last 9+ builds have been great for me

6.01.0 does load a tiny bit faster than 5.x.x on my device

GreaT to see my settings now being saved in builds 6.x.x

The scrolling sensitivity setting has never worked on any device i've used (setting it higher or lower has no effect) but thats irrelevant because its fine on default :)
[Galaxy S 4 i9505 Android Development] Phil3759:
scroll sensitivity: it is how much distance you need to move your finger before menus starts to scroll

It works perfectly on this recovery
[Galaxy S 4 i9505 Android Development] ph3n0mII:
Oh ok, well thanks for educating me there, i just tested it out and its fine :)

My error was wrongly thinking that it was related to actual scroll speed....definitely not the first time i've had a brain glitch :D

Love your work:good::good::good:
[Galaxy S 4 i9505 Android Development] dingila:
:good::good::good::good:
[Galaxy S 4 i9505 Android Development] Phil3759:
Update to 6.01.7 (07.12.2013)

Since release 6.01.0, there are no changes affecting i9505 in a significant way

So, no need to update if you are on 6.01.0, unless you like the latest :D
[Galaxy S 4 i9505 Android Development] Phil3759:
I want to update my S4 to a

stock

JB 4.3 MKE or later firmware

I am currently still on old 4.2.2 with Unlocked bootloader

- I want to flash the closest to stock thing: no deodex, zip align, removing of apps and any custom mod, just stock, eventually pre-rooted

- I want to be able to continue flashing recoveries in odin so that I can develop on the phone

- I do not want it KNOX VOID thing to trigger

That way, I can better debug recovery behavior on new stock ROMs

Is it actually possible to have such things?
[Galaxy S 4 i9505 Android Development] ph3n0mII:
You'll probably already know most of this, but anyway:

Unfortunately no, once you flash a rom with the new bootloader its irreversible, and from that point onwards, flashing ANYTHING ever will permanently trip knox counter.

Best you can do if you want to avoid knox-void is find an 'almost pure' stock TW rom with just knox components (including new bootloader removed), or pre-rooted too if you want.

Keep in mind that if you don't update to new bootloader, you cant use anything newer than the MH1 LTE modem or you will break wifi and sound, but you can still flash any GSM modem you like.

Maybe theres something you like here, but its a very messy unorganised page:

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

Other than that, I like Omega 'almost stock' rom, and Echoe rom is pretty good too. I do think they both would be close enough to stock for your testing if you cant find a proper knox-free stock 4.3
[Galaxy S 4 i9505 Android Development] muiacir:
is this the last and stable philz recovery for 9505?
[Galaxy S 4 i9505 Android Development] Phil3759:
LoL

I came from there and ended up with a head ache

I couldn't understand anything in there. I am only developing recovery on thi sphone, so completely not uptodate with the new security things

Well, I searched a lot since a few days, but my questions are very precise:

1- If I unpack the tar.md5 from samsung MKx, remove bootloader and flash the thing. Will this trigger the security? Will ROM work let's say after I flash older modem to fix wifi/data?

2- If flash a cwm stock repack, can I flash over it sammy boot.img only? Will it work?

If some one with a bit of knowledge / experience can answer these two, would be great
[Galaxy S 4 i9505 Android Development] ph3n0mII:
All I know is it's not that simple.

To remove knox from a stock rom, besides removing the bootloader, you also have to remove a few .apk's, remove knox from the kernel, and i think also modify some lines in another file or files.

I think if you do just remove the knox bootloader/s (im sure theres a primary and secondary bootloader) then you will be fine in regards to the knox flag, but the rom will behave badly and give constant warnings and maybe FC's unless you remove all the other parts of knox.

I'm pretty sure that without building a kernel yourself, Talexop kernel is the closest to pure stock kernel with only knox removed, and very few other modifications. Unfortunately knox is a big headache and has to be tackled on many fronts.

I'm also fairly sure in 4.3 you have to have a modified kernel to have root.

For now, I think your best bet would be to get in touch with Omega rom or Echoe rom dev's, and explain what you're trying to achieve.

Given your good reputation and contributions to the android community, I'm sure they would gladly help you/advise you on how to get a pure stock rom with only knox components removed and no other modifications (+ root).

Best of luck mate :good:
[Galaxy S 4 i9505 Android Development] tata_brada:
Simply, try stay away from new knox bootloader.

With new knox bootloader you can avoid trigger knox fuse only with custom kernel and knox free rom. And that is not stock rom, right?
[Galaxy S 4 i9505 Android Development] mom4ence:
On MK9 with stock kernel I have problem with wi-fi(don't want to turn on) when I restore my backup.Any Ideas
[Galaxy S 4 i9505 Android Development] Tanis64:
Hi Phil,

If you like to go on stock 4.3 and use this device for testing your great work, there will be no way around triggering the KNOX Warranty Void Flag.

CF-Auto-Root or flashing a Custom Recovery will trigger the KWV Flag to 0x1.

So I think all of your 'customers' which use your recovery and are on a stock 4.3 have an already triggered KWV Flag.

My Flag is already on 0x1 and the only disadvantage is that I cannot use the KNOX Software anymore.

I deinstall all KNOX relevant software with TB.

Regards Christopher

Send from the outback with my GT-I9505
[Galaxy S 4 i9505 Android Development] timberwolf60:
Flashed stock 4.3 EMK9 by odin and your wife problem will be solved.

Send from my I9505 using Tapatalk Pro

ROM: I9505XXUEMKF_Knox 0x1

CSC: I9505OLBEMK3_STH

Modem: I9505XXUEMK9

Stock Kernel/Recovery
[Galaxy S 4 i9505 Android Development] hawkerpaul:
Does EMK stand for Extraodinary Marriage Kounsellor?

:D
[Galaxy S 4 i9505 Android Development] Bejda:
Oops,same fun above and better expressed lol.
[Galaxy S 4 i9505 Android Development] mom4ence:
I want to restore my backup...Did you understand what I wrote...

My wife ? What about her?
[Galaxy S 4 i9505 Android Development] Phil3759:
You did not make a backup of your wife?

You really should. I will add in next update

:))
[Galaxy S 4 i9505 Android Development] DaF1974:
I just wanted to confirm that the latest PhilZ recovery worked with OMNIrom's ota delta updater even though they strongly recommend TWRP.

Well done, PhilZ!
[Galaxy S 4 i9505 Android Development] mom4ence:
Ha-ha-ha funny ,but I have problem.

I made backup from CWM and when I restore backup , Wi-Fi don't want to turn on with stock kernel.

Must flash custom kernel or to activate Se Linux Restore from CWM and after that to flash modem.bin , cause when I activate this option my modem is lost and IMEI is show null
[Galaxy S 4 i9505 Android Development] shoey63:
[MENTION=4666971]Phil3759[/MENTION] maybe you can get some ideas here

http://xdaforums.com/showthread.php?p=48257920
[Galaxy S 4 i9505 Android Development] _alex74_:
Hey Phil'z

all is explained to you, even shoey63 has pointed well thread for you.

You are asking something that lot of people will and some has never managed to work...

As a big respect and awareness of your talent and knowledge, as your name is well known, i think it is time you get in touch with Chainfire and maybe togheter look for a solution, that will remove/solve the knox warranty(that seems in Europe has no validity in warranty void)

You two guys are very talented, so i think you can achive that result:good::good::good:

you're da man Phil, thanks for your work till now, very appreciated:highfive::highfive::good:
[Galaxy S 4 i9505 Android Development] Phil3759:
nothing to do with recovery

It seems the new Knox issues
[Galaxy S 4 i9505 Android Development] Phil3759:
Thank you [MENTION=4675598]shoey63[/MENTION]

However, think I got my answer, I should fuse kill the thing

In any case, my next phone will be a Nexus. I hate all this ****
[Galaxy S 4 i9505 Android Development] Rosa Elefant:
Don't think other vendors will keep their devices free of limitations.
[Galaxy S 4 i9505 Android Development] Formhault:
How's your N7000 doing? :D

---------- Post added at 06:14 PM ---------- Previous post was at 06:07 PM ----------

It'd be great if Nexus line receives some PhilZ Touch Recovery love :D . But perhaps from the next Nexus onwards, eh? The N5 is kind of dissapointing with regard to some aspects...
[Galaxy S 4 i9505 Android Development] Phil3759:
but all google phones are supported/updated except the 5
[Galaxy S 4 i9505 Android Development] Broli@666:
Is it possible or will it be one Day possible to backup/restore to an extern USB stick with an otg cable?

Gesendet von meinem GT-I9505G mit Tapatalk
[Galaxy S 4 i9505 Android Development] Phil3759:
it is possible since a while...
[Galaxy S 4 i9505 Android Development] Phil3759:
meant nexus 5

All other google phone got an update
[Galaxy S 4 i9505 Android Development] shoey63:
Bricked it (again) ages ago:p
[Galaxy S 4 i9505 Android Development] Tamsy:
+1. Me too. Definitely!
[Galaxy S 4 i9505 Android Development] Tanis64:
I think sooner or later also Google will jump on the Enterprise Train, like Samsung and other vendors did.

I personal like TW much more then ASOP.

Regards

Send from the outback with my GT-I9505