yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Android Development] Phil3759:
Your help is so great.

Sadly I am getting stuck without a phone to test.

Chenglu recovery adds /external_sd device volume to /etc/fstab which is very easy to do.

However, in your report, my edited fstab file still fails to mount

Also, I use exact exfat modules as chenglu which are from alj1. Ramdisk content is also the same

On i9300 which has same structure and hardware it works without even external_sd in fstab. However an fstype of auto will fail

I have a last query.

Can you try again but edit vfat to auto for external_sd in /etc/fstab file (using notepad++ in unix format!) and try again mounting volumes in adb shell with and without insmod loading of modules?

I will play a bit more with modules on i9100 to get the point of it before next trial.
[Galaxy Note II Android Development] Phil3759:
Hi,

Can you test again above steps with this new fstab pushed to /etc/fstab like above steps?

I reverse tested it in my phone and I can mount even without any entry in fstab for my external_sd. On the i9300 it is the same, they can mount without entry in fstab. With my phone, I can mount with auto or vfat, while in i9300 auto fails and we do need vfat. Chenglu did also that for i9300

On n7100, he put auto, so maybe it will fail for your phone if it specifies a wrong value.

The new fstab uses auto as fstype

This is one of my last trials to fix it for n7100. I also asked Chenglu for support, hope he helps me. Sadly reaching the limits without a phone to test. Next build could be based on new cm-10.1 branch, and 6.0.2.1 new cwm.
[Galaxy Note II Android Development] The_Steph:
Tests are set for tomorrow morning French time, it is currently family time :p
[Galaxy Note II Android Development] Phil3759:
PhilZ Touch 3.65R3

Huge hopes I put on this one. The_Steph gave a major help here. Gonna put a huge credit once I am done fixing. His logs and tests limited the issue to /fstab generation vs loading of exfat modules. This time I changed the kernel base to match the exfat modules.

This should work, hopefully. It is built on 6.0.1.9

Download links:

http://www.mediafire.com/file/1hx15fi9h5k7lex/philz_touch_3.65R3-n7100.tar.md5

http://www.mediafire.com/file/huv878rrikj41g7/philz_touch_3.65R3-n7100-XXALJ1.zip

If it fails (no, no, it shouldn't :crying:), please try above post suggestion and steps again in adb shell
[Galaxy Note II Android Development] The_Steph:
vermagic issue ? ;)
[Galaxy Note II Android Development] geovas77:
I have good news, tested your last version and it mounts my 64 exfat card without an issue.

I run omega v.7.0 with redpill 0.10 and I couldn't mount my exfat on your previous releases so it looks like you managed to solve it.

Thanks so much for your work and also thanks to those that helped debug the exfat issue, we can finally move on to 6.0.1.9 CWM.

I will be upgrading to omega v.8 tomorrow hopefully without any problems.
[Galaxy Note II Android Development] Phil3759:
This very very good news, thanks a lot for the early confirmation

@The_Steph: yes, your last tests put me on it. It's a killing blind guess and try game without a phone to debug. But hopefully there's always someone willing to push it to a good end, like for n7000, i9300 and now n7100.

Anyone can now test aroma file manager on this build?

it could be same issue caused both bugs
[Galaxy Note II Android Development] geovas77:
I also tested aroma file manager, it works without an issue.
[Galaxy Note II Android Development] Phil3759:
Haleluya :victory:

I can move to adding features now like mount external as usb storage and many others

Will update op later + credits
[Galaxy Note II Android Development] The_Steph:
Phil3759,

Glad that I could help :D and of course thanks for your hard work.

For the record, I had a vermagic issue when I try to create a goldcard once and I struggled so hard to have it fixed that I always have a look at it when it is about to load modules. You never forget what you learnt the hard way ;)

I will install it tomorrow and will do some tests before changing my sdcard format type. By the way, I read a lot about NTFS vs exFAT and it seems that exFAT reading speed is slower than NTFS. Is someone able to confirm or invalidate that info?
[Galaxy Note II Android Development] Phil3759:
Can you try this one:

Attached in post
[Galaxy Note II Android Development] zscomp:
Just flashed it.

The phone just boots normally.Cannot boot in recovery.

I will flash a tar version later to revert as I am not at home.
[Galaxy Note II Android Development] Phil3759:
Well, try to reboot into recovery using an application maybe

recovery partition cannot cause this. It is your bootloader or the way you enter recovery

If recovery is broken, it hangs or bootloops. The bootloader decides where you go

This version reverted changes I did to kernel. So, I hope it is fine
[Galaxy Note II Android Development] Phil3759:
No one giving feedback about above attached version?
[Galaxy Note II Android Development] zscomp:
Just tried with application and now i am in a bootloop.
[Galaxy Note II Android Development] erickwill:
Same here, tried through Titanium and got a bootloop.
[Galaxy Note II Android Development] Emus:
Bootloop here too. I'm on MJ5 bootloader.
[Galaxy Note II Android Development] Phil3759:
Well, I spotted something

The recovery.img size seems out of range

However, for some reason, the builder doesn't warn on it and also my repacker failed to warn

I recompiled a smaller one to fit your partition. Let's rule out the recovery.img size first, even if odin would have warned and failed if it was teh case for real!

Attached beta

If it still fails, I will try to force permissive selinux and see if it fixes your issues

Are you all on new bootloader and selinux enabled ROM?
[Galaxy Note II Android Development] zscomp:
I ll try it at home as I was without phone 4 hours until I find a pc for odin flash :(

Of course new bootloader and selinux enabled.
[Galaxy Note II Android Development] The_Steph:
Phil3759,

I read all the work you did on the recovery during the last day. Thanks for the hard work.

Unfortunately I will not have access to any computer until Monday. As I would not be stuck on a bootloop and not being able to recover I won't be able to test it. If some tests are still needed on Monday I will be ready to do them but in the meantime I will pass on tests.
[Galaxy Note II Android Development] Phil3759:
Thank you all

Sure, the sooner the better, so that I can move on...

If this fails, I will try selinux permissive mode

Also, please, upload your stock recovery.img and boot.img from the latest selinux firmware

Maybe the bootloader requires new offsets
[Galaxy Note II Android Development] zscomp:
Ok.

That did the trick :good:

Allready installed a zip from external exfat card and now i am backing up my rom in external. :cowboy:
[Galaxy Note II Android Development] Phil3759:
**** it up all :good::good::good:

Why the hell all the size warnings failed, both in cyanogenmod compiler and my repack script

I will dig into the failed guards and update all

Big big thanks. You and The_Steph were one of the first to help porting to n7100 and you're still here to make it possible to continue :good:
[Galaxy Note II Android Development] zscomp:
Well, you deserve any help i can provide :cowboy:
[Galaxy Note II Android Development] ripnard:
Just a quick possible word of warning. After flashing this on a UK N7100 - my phone will no longer detect any SIM card (tried three different SIMs)! Might be me. Will now try flashing via odin back to an older version.

Edit:

Nope :( Neither an Odin flash back to 6.07 or using 6.12 using Odin 3.09 with tar.md5 files worked. Likely not this then. Looks like my phone just decided in between to start failing :,(
[Galaxy Note II Android Development] The_Steph:
That the least we could do compared to the work you achieved.

Thanks for the quick resolution and keep up the good work :good:
[Galaxy Note II Android Development] zscomp:
Its just a coincidence.
[Galaxy Note II Android Development] ripnard:
Agreed. :)
[Galaxy Note II Android Development] king.larry:
It's NOT! That happens to many users and also to me!

The baseband modem is destroyed and you must go back to an older CWM and reflash the baseband modem ... then it works.
[Galaxy Note II Android Development] andrew.mackew:
[MENTION=643734]Philz[/MENTION]

Please, feel free to tell me if I can test a version for t0lte.. it'll be a pleasure to collaborate.
[Galaxy Note II Android Development] Devinda:
Thank you so much for your hard work and i'm using Philz_touch 5.15.0 everything works flawless but today i tried flashing 2 android 4.4 kit kat (Pro bam 4.4.2 for gt-n7100 and Linaro 4.4.1 for gt-n7100) and both roms failed to flash giving me the error of :error status 7, i searched and found that if i have to use twrp to flash those roms or update cwm to flash those roms, i clearly wouldn't want to use twrp so i was hoping to update my current recovery and flash those roms, So if i flash this new version u have posted would i be able to flash these roms i want? and i saw that some has posted saying the new version gives boot loops and loose signal and all .. but the above link you have posted is another updated version as i know so may i know if the bugs are fixed? im not sure if i'm clear enough .. but some answer would be awesome

thanks in advance :)
[Galaxy Note II Android Development] Phil3759:
All Note 2 variants updated on goo.im

Just re-download 6.12.8

You'll notice the much smaller size :)
[Galaxy Note II Android Development] Devinda:
thanks, will try now

---------- Post added at 08:31 PM ---------- Previous post was at 08:27 PM ----------

you mean 6.12.8 6.9mb version right ?

okay flashing now

do i have to do new nandroid backup after this ? or is it possible to restore my old nandroid using this ? :)

---------- Post added at 08:37 PM ---------- Previous post was at 08:31 PM ----------

Problem

i installed rom manager about an hour ago and it told me that cwm update is available and i did the update but didn't know that it automatically replaces pheliz recovery with normal cwm

now when i go to recovery it brings cwm 6.0.4 recovery,

is it possible to go back to pheliz recovery ?

can i still use my old nandroid backup to restore if anything goes wrong ?
[Galaxy Note II Android Development] zscomp:
Just flash the philz.

Yes you can restore your previous backup.
[Galaxy Note II Android Development] Devinda:
thanks,

Flash successful :)

Phone booted, no errors :)

trying the 4.4 rom flashing now

---------- Post added at 09:00 PM ---------- Previous post was at 08:50 PM ----------

okay finally i can flash 4.4 roms

just flashed linaro 4.4 rom and getting full signal +data connection

awesome work philz.. you rock and thank you too ZSCOMP
[Galaxy Note II Android Development] erickwill:
Thank you PhilZ for such excellent work! :good:
[Galaxy Note II Android Development] zurg95:
I would like to flash the latest Omega v22 (4.3 Samsung based ROM). I'm currently running old bootloader, JB 4.1.2 and philz 5.08 .

Should I flash philz v6 latest recovery or stick to philz v5 to flash a 4.3 ROM and keeping the old bootloader?

I'm not sure to understand if v6 is only for 4.4 rom and/or new bootloader?

If I have to stick to philz v5, mediafire lync in 2nd post gives access to v5.00.5 so where to find 5.15?

Thanks for your answer
[Galaxy Note II Android Development] Phil3759:
It doesn't matter what bootloader for now

New version will fail to flash zip files using obsolete scripting though
[Galaxy Note II Android Development] zurg95:
Omega is using Aroma installer, so I don't know if there is any obsolete scripting here.

Reading Omega tread, it seems it is ok to stick to Philz 5.15 or move to TWRP. I would like to stay with Philz but I'm stuck in finding philz v5.15.

Links in post one goes to v6 and link in post 2 goes to v5.00.5. Can you provide a link for v5.15?

Thanks for all your hard work philz and for your answer.
[Galaxy Note II Android Development] Phil3759:
New CWM versions are based on KK kernels.

Aroma installer is broken for many, maybe because of missing permissions or not well formatted scripting.

Also, Aroma uses its own update-binary. If it wasn't updated for kitkat, it will fail to work on any new CWM because it will be replaced by recovery on flash and miserably failing

There are fixes that can be implemented by ROM using faked update-binary. However, most prefer the easy solution: not dig into the issue and advice fall back solutions. From recovery developers, ROM builders, and AROMA dev, the ROM makers are who should first look into these because they are probably the only ones owning the device they develop on.

If a ROM dev is interested in making it work on CWM, he can contact me. But it could be it will never work on new KK kernels until AROMA dev updates his sources

But at least, every user is happy, you have a recovery for every one needs. Old PhilZ, TWRP, stock CWM, new PhilZ: it depends on your needs.
[Galaxy Note II Android Development] zscomp:
Thats happening because the vast majority of rom "developers" are just winzip-ers.They know nothing.
[Galaxy Note II Android Development] Devinda:
Aroma installer has some serious issues with Philz recovery v6

i was about to flash ditto n3 rom and aroma installer stucks every time , then i checked and most users have commented that they also have the same issue with this version and we have to go back to philz 5.15 to flash using aroma installer.. can fix this and make the latest v6 able to flash using aroma? would it be possible?

thanks :)

Is it ok to flash philz v5.15 using odin over v6 i already have ? would it do any harm ?
[Galaxy Note II Android Development] myaslioglu:
Just go for it. No problem

---------- Post added at 03:16 PM ---------- Previous post was at 03:08 PM ----------

There is no stock kitkat for note 2. And therefore perhaps the recovery is not fully competable. Mounting takes a bit longer for sdcard1. Dont know why this happens anyway. Perhaps again it may be related to KK directory structure, but still could not understand why.. maybe i lack that kolind of knowledge anyway..

My biggest issue with newest version is aromafm. As i happen to use it i realized the problem is mostly about mounting again. After a while aromafm gets stuck, log gives error of ."unable to mount this and that"

Well one way or another i am pretty happy with ur recovery. Thanks for hard work since u have been building and compiling many recoveries for many devices. Moreover you are supporting them consumes a lot of time
[Galaxy Note II Android Development] DVB-T:
Confirmed here that there is some mounting lag with sdcard1. If it occur - PhilZ Touch will stuck for a moment, then got black screen for a moment and PhilZ is after a while back to main menu, looks like without completing last task. Got this when doing full wipe to install new ROM or when trying to install ZIP from sdcard1 - but always only for first time, only once. If I get through this - all further operations are flawless.

Also see some E: in logs related to sdcard1 mounting when doing factory reset.

Anyhow cannot confirm Aroma problems here - lately installed two fresh ROM's with Aroma installer, both many times as I did some modding and need to reflash both ROM's for many, many times (for sure more than 20 times). First was Android Revolution HD, second was Hurricane ROM - Aroma did not failed with latest PhilZ 6.12.8 even once - always 100% success when flashing.

As I can live with external sdcard mounting lag - I'm staying with latest PhilZ :good: Thanks Phil3759 for Your support and that You still help N2 users ;)

If it would help - I can try to catch some log, just need help how to do that ;) Can catch log from black screen when going into Instal ZIP (cannot do now factory reset again for some time - need working phone, but I suspect that in fact in all these cases this is one & the same bug)

EDIT: Readed FAQ, got some log, not sure if it got anything interesting inside
[Galaxy Note II Android Development] sebden206:
I have the same "problem", my advice: first of all after boot to recovery is a click on "install from sdcard1", the reocvery reboots and everything is not just fine, it is also very fast!

Of course, for aroma users this helps nothing :/

Thanks to Phil for this awesome recovery :)
[Galaxy Note II Android Development] Phil3759:
Seems a recovery crash affecting some note 2 users only. It is probably related to both kernel and sdcard

What format and size is it?
[Galaxy Note II Android Development] DVB-T:
I got 32 GB card - Samsung Class 10: http://www.samsung.com/uk/consumer/...s/MB-MSBGA/EU?subsubtype=micro-sd-accessories

It has got written on back:

MB-MSBGA

MBMSBGVEOBGA-SH

SN3NX3N9N150

Much filled with files, mostly MP3 (nearly 3000 files, but not in root folder)

DiskInfo app says:

Space: 29,2 GB (all), 23,1 GB (used), 6,2 GB (free)

File system: vfat

Mount point: /storage/extSdCard

Block size: 32 kB

Partition name: mmcblk1p1

Partition number: 17

Device: SD Card (mmcblk1)

Kernel - stock: N7100DDUENA1 (build 7.01.2014), this is from Android 4.3 - N7100 got no stock 4.4.

At older PhilZ Touch (5.x) there was no such lag - it started from 6.x (as far as I remember - at all 6.x builds for N7100).
[Galaxy Note II Android Development] Phil3759:
minivold doesn't seem to like fat big cards

Try to format to exfat and let me know

You can do in recovery
[Galaxy Note II Android Development] sebden206:
Hey, my Card was exfat before with newest Philz. There was no reboot but the described mounting lag. Sometimes mounting failed and recovery frozen. SanDisk 64GB.

Gesendet von meinem GT-N7100 mit Tapatalk
[Galaxy Note II Android Development] Phil3759:
Probably a kernel issue with some sdcards on N71xx family

A few are affected, have no big idea why
[Galaxy Note II Android Development] zscomp:
This is also happening to friend of mine with 4.3 stock deodexed rom.

The card is fat32.

When i meet him again i ll switch my card with his to check, as my exfat card doesnt have any issue.
[Galaxy Note II Android Development] Phil3759:
Interesting

A dev sent me a few time ago an issue about some phones messing up with external storage

Basically, it gets mapped to /dev/block/mmcblk1 and not mmcblk1p1

Now, if you can try his card on your phone, it will be of great help

That way, if his card can be mounted in your phone under recovery, than, definitely, something related to bootloader/device or some partitioning ****ed up by crappy roms

Let me know if you can try it
[Galaxy Note II Android Development] jasminedd:
Hi... Could fix permission be get available again in philz recovery?

Thank you :)
[Galaxy Note II Android Development] zscomp:
Dont expect it to happen.
[Galaxy Note II Android Development] Devinda:
So now i'm on stock 4.3 rom and i rooted using CF auto root and removed knox using aroma and installed pheliz 5.15 also? and everytime i flash something and click reboot , it says that i have a problem with root and ask me if i want to fix it or No, i always select no and i haven't faced any problems with the root or recovery and my question is.. what would happen if i click YES when it ask me to fix the root? i don't want to loose my root, and i'm planning to flash Pheonix rom soon.

thanks in advance
[Galaxy Note II Android Development] Phil3759:
Update recovery or disable the check in settings (but maybe a newer version is needed if you miss the setting!)
[Galaxy Note II Android Development] erickwill:
Awesome!!! New update! :) Thanks PhilZ
[Galaxy Note II Android Development] pwned_me:
I have CWM recovery as my default one on my Note 2 (N7100) ATM

can i just flash the philz recovery going to recovery .?
[Galaxy Note II Android Development] zscomp:
Yes you can
[Galaxy Note II Android Development] erickwill:
Looking forward to see the new update for our N7105 :) Thanks for all PhilZ.
[Galaxy Note II Android Development] andrew.mackew:
[MENTION=4666971]Phil3759[/MENTION] is there any chance for us (t0lte) to have your latest recovery? I saw you already released a new version. I am looking forward to have your latest improvements. :angel: Thank you very much. :good:
[Galaxy Note II Android Development] yogesh324:
[MENTION=4666971]Phil3759[/MENTION]

can pls add f2fs support to ur new build whenever possible

Thank u....

also 1 more thing I have to report is that aroma installer are not working with ur latest release

e.g when I run aroma file manager using ur latest recovery phone freezes and I have force restart it.... I was runnin 1.91 version of aromafm whuch works perfectly with ur 5.15 version

thanx once again
[Galaxy Note II Android Development] Phil3759:
I released the libtouch

Now devil kernel dev can freely modify it and add f2fs

Aroma author should update for kitkat and new graphics overlays probably
[Galaxy Note II Android Development] toughmenot:
Hi phil,

My note 2 runs on stock 4.3 unrooted. Will I be able to flash philz recovery through odin even if I am not rooted.? Please reply
[Galaxy Note II Android Development] zscomp:
Root its not a requirement to flash through odin
[Galaxy Note II Android Development] toughmenot:
Failed..

Philz not loading via odin.

After flash is completed it directly boots into android and the recovery remains stock

Tried disabling auto reboot

Nothing changes

Please help

I run on stock android 4.3 unrooted

N7100

:crying::crying:

---------- Post added at 02:40 PM ---------- Previous post was at 02:31 PM ----------

Not working pal. The recovery remains stock even after flash. What could be the reason.
[Galaxy Note II Android Development] mat9v:
I was wondering, in OP there is a link to main Philz thread for various phones. In the log in that thread there is a f2fs support added in V5 and there are mentions in V6 log of f2fs too. Does it mean that f2fs support was pulled in V6 or is it missing only in Note2 ?

Yes, I can use Devil recovery :)
[Galaxy Note II Android Development] erickwill:
Thanks for update Philz ;)
[Galaxy Note II Android Development] silentvisitor:
Possible solution :

1) UNTICK Auto reboot in ODIN

2) Flash PhilZ

3) Take out battery when ODIN says PASS

4) Boot into Recovery manually (Vol up + Home + Power)

5) Flash SuperSu (download it from Chainfire's thread and place it already on your SDCard)

6) Boot system

7) Through some Root Explorer delete file called "install-recovery.sh" from /system/etc (or you can do it through Aroma File Manager through Recovery itself)

8) Now test Recovery. PhilZ should stay ;)

Last I remember PhilZ recovery was automatically doing this (removing that file).

Good luck :good:
[Galaxy Note II Android Development] andrew.mackew:
Hi Phil3759.

May I kindly ask you to update t0lte recovery to the latest version?

I just noticed that in our recovery the version is 6.19.2 instead of 6.19.3 .. but anyway, a 6.19.6 would be great.

Thank you very much.
[Galaxy Note II Android Development] smeet.somaiya:
Hey,now are you able to make the philz recovery stay on your phone?

Would be great if you could give me your about device screenshot because i am also on stock 4.3 unrooted n7100 and wanting to flash philz to flash dn3 rom.
[Galaxy Note II Android Development] toughmenot:
See the attachment.
[Galaxy Note II Android Development] smeet.somaiya:
Oh thats great. I am one version behind than you on ML4.

Just a quick question.

Which method did you use to root?
[Galaxy Note II Android Development] toughmenot:
I am not properly rooted even now. I was advised that root is not needed to flash a custom rom via custom recovery. Thanks to [MENTION=3931450]dr.ketan[/MENTION] . I haven't done that yet due to few personal issues. Looking forward to flash dr.ketans custom rom or phoenix in some time without root. You could try the same. If you are very particular to root the device, i think the following thread is the most apt.

http://xdaforums.com/showthread.php?t=2642480
[Galaxy Note II Android Development] smeet.somaiya:
Exactly the thing I was thinking of..!

There r so many issues to root stock 4.3..

So I thought I will just flash philz recovery,wipe everything(all partitions) and just flash DN3 zip from recovery.

Wht say?:D