yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Android Development] thereassaad:
U can flash from both sd or internal card

Enjoy life. It comes with expiry date.
[Galaxy Note II Android Development] aniruddhavispute:
Sorry for my noob questions.

I'm using Cm11 with an older version of philz cwm on n7100. I want to ask that can i directly flash the new philz cwm. Zip? is there any need to wipe data or cache? Flashing new cwm zip won't delete my data And I won't loose my root permissions right?

Sorry for my noob questions... As I'm new into flashing the recoveries.
[Galaxy Note II Android Development] zscomp:
No worries. Flash it directly. :)
[Galaxy Note II Android Development] aniruddhavispute:
Thanks Mate.
[Galaxy Note II Android Development] szunyi77:
Edited:

I tried the philz v. 6.58.7!

It's all right, it will automatically mount the sd card! super

Thank you!

Sent from my Galaxy note 2. Rom:Liquidsmooth Kernel:Agni
[Galaxy Note II Android Development] szunyi77:
Hello

I currently use my v.6.58.7 philz.

So far, everything was fine.

I tried to flash a rom Sideload.

Sideload rom.zip ... adb command window says that the device is not visible!

What is the problem? Someone has this same problem?

Download mode and also provides space for the PC, with no problem, right driver ..
[Galaxy Note II Android Development] bijoy91:
hello amit bagaria. i tried philz 6.58.7 and i am a big fan. i found a flaw. i tried to flash agni kernel using 6.58.7 for more than 5 times and in different roms. the set permission part in the end always failed. then when i flashed 6.48.4 and flashed agni kernel it worked. i dont know the reasons , just letting u know.
[Galaxy Note II Android Development] amit.bagaria:
will it be possible for you to send me the recovery logs (when it fails)?
[Galaxy Note II Android Development] szunyi77:
No problem Agni kernel, Philz v. 6.58.7 ! Wipe preload and then flash the kernel. Turn off the Agni control :PreloadSWAP. Then there will be no problem!

Sent from my Galaxy note 2. Rom:Liquidsmooth Kernel:Agni
[Galaxy Note II Android Development] bijoy91:
Dear sir i formatted preload and flashed since first . im not a newbie to this. here is the log

.
[Galaxy Note II Android Development] bijoy91:
lol how wud u turn off preload swap unless u install agni kernel first :D i was mentioning a set permission error fail to the developer during the initial flashing of the kernel. and yup agni pre load swap is by default off after first flash.
[Galaxy Note II Android Development] Diamantes:
Fornatting preload did not work for me.

Facing same issue of bijoy91.

Not able to make recovery logs now.
[Galaxy Note II Android Development] szunyi77:
Hmmm, do not know what the problem is. Working on the format preload Philz 6.58.7. Liquidsmooth rom and kernel Agni. Try TWRP or other recovery flash the rom again and then the kernel of Agni. If you are working so, turn off the PreloadSWAP. The 6.58.7 works perfectly, all functions except the ... Sideload. ( Sideload mode does not recognize the device to the PC! Odin mode, MTP, etc. all other work will recognize the device and the PC.) Someone with the Sideload? thank you .. here is the picture format preload.

[MENTION=4084072]amit.bagaria[/MENTION] thanks for the update again, and I hope you do not stop, and will be followed by an update too! (^_-)

Sent from my Galaxy note 2. Rom:Liquidsmooth Kernel:Agni
[Galaxy Note II Android Development] bijoy91:
We are talking about touchwiz agni of n7100 eh. Liquidsmooth is cm.
[Galaxy Note II Android Development] szunyi77:
.. I think we need to work with a stock rom wipe preload too! I think no matter what ROM AOSP or Samsung stock ...

Odin tried to reflash stock rom? Then flash recovery and Agni kernel?

Sent from my Galaxy note 2. Rom:Liquidsmooth Kernel:Agni
[Galaxy Note II Android Development] bijoy91:
Infact I noticed a set permission failure even whil flashing certain roms.
[Galaxy Note II Android Development] gregsoir:
dude, stop spamming every thread..
[Galaxy Note II Android Development] szunyi77:
[MENTION=4084072]amit.bagaria[/MENTION], Ask such a thing does not fit, but will be updated later Philz recovery?

Sent from my Galaxy note 2. Rom:Resurecction Remix Kernel:Agni
[Galaxy Note II Android Development] simona70:
choose revovery

Actually I user Phoenix rom 18.5 (not updated to 18.8) and agni kernel 4.3.3r3. I ask what are stabile release of phil recovery.

A use a Samsung Galaby Note II model 7100 (no lte)

I found a little of concufusion.

My last old was. 6.46.3 and was original firsrt developer philz

I have found the laast 6.68.7 that as issue with aroma of agni kernel installer so i i have installed twp 2.8 to upgrade kernel.

Now I wound like to return to phil recovery but, what release install?

6.46.3?

6.48.7?

6.58.7?
[Galaxy Note II Android Development] Notna_01:
I personally use 48.7 here https://goo.im/devs/philz_touch/CWM_Advanced_Edition/n7100/philz_touch_6.48.4-n7100.zip. However that has issues with the latest agni kernel (i.e kicks you out of the Aroma installer and reboots recovery when trying to install it)

Other than that: works like a charm
[Galaxy Note II Android Development] davcbr:
where to get zip files

Where do i can get last philz zip file?
[Galaxy Note II Android Development] vagsvag:
Check md5, it is in the same folder

https://mega.co.nz/#F!3NsG2JZJ!bJiLLMiQ-K4bdxEsPkFDyA

Sent from my GT-N7100
[Galaxy Note II Android Development] Bolumstar:
I love Philz because of the recovery lock and many advanced features but I couldn't use v 6.48.4 but I couldn't use it to install Angi kernel on CyanogenModX

5.1.1 had to revert to CWM but will really love to have Philz back, the version that can install Angi kernel with Aroma installer.....

Please someone help

...
[Galaxy Note II Android Development] Ravanraj:
Hello,

Unfortunately, as of this time, the main portions of goo.im have been disabled. Due to a finance issue, our CDN account has been suspended, and all files stored on it are effectively non-accessible. What to do guys???????????
[Galaxy Note II Android Development] vagsvag:
I had noticed this problem at some aosp roms. The installation was stopping at 40%, if I remember well was possible the installation only at fresh installed rom direct after installing the rom without reboot between installation rom gapps and Agni kernel.

Sent from my GT-N7100
[Galaxy Note II Android Development] Bolumstar:
Well, l flashed Philz v 6.58.7 and used it to flash Angi 4.4

After dirty flashing CyanogenModX June 3rd release.

I still want to try a clean flash to See if the Angi kernel

Will be flashed by Philz without issues....
[Galaxy Note II Android Development] sheyden:
I'm having the same problem on goo.im. So could somebody sent me a link or point me into the direction of where to download Philz 6.58.7
[Galaxy Note II Android Development] yogesh324:
Scroll back a few pages u ll find the link
[Galaxy Note II Android Development] Vuska:
Can anyone mirror Phil 6.48.4 please...

Thank you
[Galaxy Note II Android Development] vagsvag:
Go up post #1455

Sent from my GT-N7100
[Galaxy Note II Android Development] szunyi77:
6.58.7 better! Attach the SD card too!

http://xdaforums.com/showthread.php?p=56197223
[Galaxy Note II Android Development] aria_n1474:
Q

Does this flash unlock bootloader too?
[Galaxy Note II Android Development] maswood:
please

need link for N7105
[Galaxy Note II Android Development] Toug:
Hi,

I would recover 1 file from a CMW backup, from /data partition. I have these 3 files in my recover folder:

data.ext4.tar.gz (0 Ko)

data.ext4.tar.gz.a (900 Mo)

data.ext4.tar.gz.b (226 Mo)

How can I extract something usable with windows?

Thanks.
[Galaxy Note II Android Development] freedom367:
Hi, I accidentally messed up my Note II N7102 & wanted to re-root again.

Unfortunately, I lost the PhilZ Touch 6.46.3 file in MD5 format.

Do you still happen to have this file in this format?
[Galaxy Note II Android Development] thehawk73:
Hi friend, Im going to update from a previous version of Philz touch 5.15.0.

I need only to flash the 6.58 zip file to upgrade or i have to do something else ?

Thanks
[Galaxy Note II Android Development] thehawk73:
Can anyone help me ?

Thanks
[Galaxy Note II Android Development] brokenaxe:
Yes , just flash. Why are you not using TWRP?
[Galaxy Note II Android Development] thehawk73:
I prefer philz touch .Why TWRP shoud be better ?

Someone can give me philz_touch_6.58.7-n7100.tar.md5 ?
[Galaxy Note II Android Development] brokenaxe:
It's up to your preference, but TWRP is more updated and more devs recommend it.
[Galaxy Note II Android Development] zscomp:
You are in a philz thread.

You should do that in a private message.
[Galaxy Note II Android Development] black.marque:
Guys.. This link to download the recovery does not seem to be working. Can you please update it.
[Galaxy Note II Android Development] bluntman420:
Is it possible to compile this for i317/i317m? It would be very appreciated. Thanks!
[Galaxy Note II Android Development] Phil3759:
Do not use versions from post 1. I did not update it yet. There is a 3.65R3 version a few posts above that fixed any potential issue with external sd if it is in exfat format
[Galaxy Note II Android Development] viruz82:
I'm unable to backup to ext. sd. It always ends with "Can't mount /preload!". :confused:
[Galaxy Note II Android Development] jitin02:
Tried the version u mntnd R3

Seems wrking (improved) but

1. When tryd flash via extrnl sdcard_it says no zip found whereas I have 3 zips in it

2. Tryd backup to extnl sdcard_ it said no much space found (sumthing like that) whereas I have 3x gb free

Its only with me ? Or its known sir Phil3759

---------- Post added at 10:02 AM ---------- Previous post was at 10:00 AM ----------

Try vrsn R3

From xda mbl app its on page 12
[Galaxy Note II Android Development] viruz82:
Still the same problem with R3. "Can't mount /preload!".
[Galaxy Note II Android Development] Phil3759:
Does your phone has a preload partition?

Can you post your original recovery.fstab file, the one that comes with your ROM?

I can make preload backup optional if it gives trouble to many here, but normally it should work. Nandroid backups were tested by some users before release and they were reported to work include the preload backup
[Galaxy Note II Android Development] Phil3759:
I edited post 1 with download links for 3.65R3 + special thanks and credits to whom helped a lot in fixing it (exfat and aroma file manager support)

I wanted to push next update directly for n7100, but I am busy with real life things and it will be a little delayed, so for now, I make 3.65R3 official
[Galaxy Note II Android Development] Tkbf:
Is 3.65R3 LK7 compatable? Thanks~
[Galaxy Note II Android Development] simplelife:
T889 base N7105 rom with V3.65 R3 everything work fine ( flash ,wipe ..etc ), exfat & fat32 can see in CWM now but when i try to backup keep show CANT MOUNT / PRELOAD and when try to restore show MISMATCH MD5 . Everything back to business when go back to Chenlu 6.01.5 .

Thank for your hard work , Mr.Phil.
[Galaxy Note II Android Development] Phil3759:
Maybe 7105 uses a different /preload partition volume path

I already asked for STOCK recovery.fstab from a stock ROM/Recovery installation to verify the path

After that, putting a fully working version for 7105 will be quick

Until then, you are advised not to use it for n7105. If recovery.fstab volumes are not the same, you can go into trouble!!
[Galaxy Note II Android Development] viruz82:
There's a /preload but it's empty. I'm on Omega 8 but can't find a recovery.fstab. Where can I find it?
[Galaxy Note II Android Development] Phil3759:
Post the STOCK recovery.img from a stock rom (n7105) tar you extract manually in winrar.

Please upload to anything except hotfile.com and specify the ROM/kernel version you extracted it from
[Galaxy Note II Android Development] Phil3759:
Mount USB Storage

I need the ums lun path to add the mount usb storage

If anyone can help:

While in recovery version 3.65

R3

:

adb shell
ls /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun0/file
ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file
ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file
ls /sys/devices/platform/msm_hsusb/gadget/lun0/file

Only one of these should return a file name exists, let me know which one it is

Once you find it:

type in adb shell

(replace the /sys/devices/virtual/android_usb/android0/f_mass_storage/lun0/file part with the path you found above)

echo "/dev/block/mmcblk1p1" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun0/file

This last command should mount your external sd to pc through usb while in recovery. Let me know if it mounts as expected

After the feedback, hopefully next update will support this feature
[Galaxy Note II Android Development] bluntman420:
Don't know if you seen my post. Is it possible for an i317/i317m build. It is almost exactly like 7100/7105. Thanks
[Galaxy Note II Android Development] Gillion:
I only did the first part as I didnt get a obvious result... see attached screenshot.

I assume you dont have to be in recovery but a shell will do ?

I have a feeling I am wrong.
[Galaxy Note II Android Development] Phil3759:
I am now focusing on features and code optimizing. Experience showed that on every new device there are few glitches to fix and I do not have time to update and debug new devices. Feel free to ask in a few weeks

No, I am mainly interested in results from recovery
[Galaxy Note II Android Development] jitin02:
Tried above 5 commands But only "no such file found"
[Galaxy Note II Android Development] viruz82:
Sorry but why from a N7105. I have a N7100. :confused:
[Galaxy Note II Android Development] Phil3759:
Can you try this one

/sys/class/android_usb/android0/f_mass_storage/lun0/file

If not, try to browse in aroma under /sys/class/android_usb or /sys/... for a lun file path

Also make sure you are under 3.65R3 version
[Galaxy Note II Android Development] Phil3759:
Thought you are on n7105. It could be some issue relsted to not using stock rom, repartition...

Nandroid backup was reported to work here. To make it more universal across roms/phones not supporting preload, that part will be optional on next relesase
[Galaxy Note II Android Development] viruz82:
Okay, thanks for your reply. Then I have to wait for future releases. Untill that I will use Chenglu's recovery - with this nandroid works fine. :)
[Galaxy Note II Android Development] Phil3759:
I see you missed to test one important path

/sys/devices/virtual/android_usb/android0/f_mass_storage/lun0/file

Any one can test it in addition to this one:

/sys/class/android_usb/android0/f_mass_storage/lun0/file

Make sure to be under 3.65R3 version. If no luck, can you browse the /sys/deviced for a lun file path?
[Galaxy Note II Android Development] The_Steph:
Phil3759,

I'm having the preload issue as well. It is impossible for me to backup to Internal SDcard :( Which I think is consistent because of a preload issue.

/preload exists and is empty. You'll find in the zip file attached, fstab and recovery.fstab.

Hope you'll find what is wrong.
[Galaxy Note II Android Development] Phil3759:
Nothing wrong there, /preload is not a standard across many phones/roms

In soon to be released major next update, if /preload backup or restore fails, it will skip and continue remaining process.

edit: the nandroid /preload backup and restore was also tested before first release by dr.ketan. It was broken on early private betas and I waited it to be fixed before release. So it should work, at least on stock ROMs

What you can also do is to format /preload in recovery and see if it fixes things

I am still waiting a last confirmation to release 3.80 with new cwm 6.0.2.3:

adb shell
echo "/dev/block/mmcblk1p1" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun0/file

That should magically mount external sd while in recovery. Can you test it please?

If it doesn't work, can you follow above instruction so that I know the lun0 file path for n7100/i9300 ?
[Galaxy Note II Android Development] The_Steph:
Phil3759,

I installed Chenglu's recovery to see if it was working and it is the case. I am now in the process of moving to a new extralight ROM.

Once ROM is properly set, I'll do the tests :)

But I'm a bit scared of formatting preload partition :mad:
[Galaxy Note II Android Development] Phil3759:
It is empty and not used on n7100 following reports. AOKP/CM do not use it

Samsung uses it to put system apk files while symlinking them to /system/apk on phones with small /system partition for jellybean (i9300, i9100, n7000...)

If it is empty, you do not have any fear and in the worst case it would be restored on a fresh rom install.

There is also a wired thing

Here's the recovery.fstab from cm10 sources

# mount point	fstype	device
/efs	ext4	/dev/block/mmcblk0p3
/boot	emmc	/dev/block/mmcblk0p8
/recovery	emmc	/dev/block/mmcblk0p6
/cache	ext4	/dev/block/mmcblk0p12
/system	ext4	/dev/block/mmcblk0p13
/data	ext4	/dev/block/mmcblk0p16 length=-16384
/preload	ext4	/dev/block/mmcblk0p10
/modem	emmc	/dev/block/mmcblk0p7

/sdcard	datamedia /dev/null
/external_sd	vfat	/dev/block/mmcblk1p1

and the one from stock recoveries:

# mount point	fstype	device	device2
/efs	ext4	/dev/block/mmcblk0p3
/boot	emmc	/dev/block/mmcblk0p8
/recovery	emmc	/dev/block/mmcblk0p9
/cache	ext4	/dev/block/mmcblk0p12
/system	ext4	/dev/block/mmcblk0p13
/data	ext4	/dev/block/mmcblk0p16	length=-16384
/preload	ext4	/dev/block/mmcblk0p14
/sdcard	vfat	/dev/block/mmcblk1p1	/dev/block/mmcblk1
/modem	emmc	/dev/block/mmcblk0p10

as you see there are differences that won't trigger in normal circumstances but that are scary, mainly /preload in cm10 sources being the /modem on retail phones :eek:

This issue will cause a stop on /preload operations as you cannot backup and restore that way the /modem partition. I manually edit the recovery.fstab from sources to avoid the issues and also it is fixed by using stock ramdisks.

Now, I do not know if while playing on stock cm10 recoveries or ROMs you can get things broken as I never tried it, which explains this /preload issue some are getting

As I said, I already made it non vital in the code I will push for the next update. If it won't be enough, I'll add a toggle for it
[Galaxy Note II Android Development] The_Steph:
Phil3759,

This path is the only one existing (I carefully tested all the others) on my Note2 when on recovery "/sys/devices/platform/s3c-usbgadget/gadget/lun0/file". I assume it is what you need then :)

However, I do not get the purpose of your command. As my card is already properly mounted at recovery boot, how can your command succeed?

I boot on recovery without having my sdcard to have it in error and then I inserted my sdcard and launched the command echo "/dev/block/mmcblk1p1" > /sys/devices/platform/s3c-usbgadget/gadget/lun0/file. The file is properly created but "external_sd gets empty :(

Let me know if I did something wrong or guide me for new experimentation ;)

I think tomorrow will be the big day for me, I'll finally move my SDcard to exFAT as I have successfully tested large files access on a smaller SDcard I own :D

Edit: Thanks for your /preload explanation, I won't do anything else on that subject then.
[Galaxy Note II Android Development] Phil3759:
The aim is to mount the external sd card on the PC while in recovery. In other words, you can directly access the external_sd from PC as if it was an usb key, while you are in recovery.

You need for now my recovery 3.65R3 and the command I told you above

/sys/devices/platform/s3c-usbgadget/gadget/lun0/file won't be available in recovery I fear, you can test, but I do not think it will work, only while in booted ROM

I feel

echo "/dev/block/mmcblk1p1" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun0/file

is the good path.

Now, after that, you will have external_sd mounted on pc (your phone must be connected to pc with usb cable while in recovery)

I need confirmation for that path
[Galaxy Note II Android Development] The_Steph:
Phil3759,

As said in an earlier post, /sys/devices/platform/s3c-usbgadget/gadget/lun0/ is the only path available when booted in Recovery R3, the other ones does not exist.

For additional information, I use Total Commander and ADB plugin (a plugin that can read Android file system) and when exFAT card is properly mounted in recovery, I can access in read and writes mode in Total Commander. I still don't get what the command will do more :confused:

However I tested the command you asked and now I am enlightened seeing it working. I get a new drive letter in my Windows Explorer that I can use without my Total Commander plugin trick! Sorry to have bothered you with that but I think I was fooled by my Windows habits. I did not found any lun0 folder in /sys/devices/virtual/android_usb/android0/f_mass_storage and there was one in /sys/devices/platform/s3c-usbgadget/gadget. Anyways, tested and working Sir ;)
[Galaxy Note II Android Development] Phil3759:
That's great, :good: (out of my 8 thanks today)

New recovery is ready and all code submitted to github

I have still one enlightenment to ask before compiling for n7100/i9300:

the command that did the trick was:

#command 1
echo "/dev/block/mmcblk1p1" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun0/file

#Or command 2:
echo "/dev/block/mmcblk1p1" > /sys/devices/platform/s3c-usbgadget/gadget/lun0/file

Please put the exact path so I do not have to push a fix after release

Many thanks again for all the support you gave. Thanks to you, many features could be added
[Galaxy Note II Android Development] The_Steph:
Phil3759,

To have my drive mounted on my PC, I issued command #1:

echo "/dev/block/mmcblk1p1" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun0/file

Waiting for new release then :D

By the way, I'm kind of disappointed with my newly exFAT formatted SDcard, it is working really weird compared to when formatted in NTFS. In particular, I was unable impossible to properly copy files on it when accessing it via Total Commander. But it seems to be related to ROM I use though, as when on recovery everything ran fine.

That is all for today... or not ;)
[Galaxy Note II Android Development] Phil3759:
Thanks a lot for all your help. I will release the big update tonight maybe.

For exfat, happy to know it is ok in recovery
[Galaxy Note II Android Development] mijnie:
Thank you

Very good work. Thank you!!!
[Galaxy Note II Android Development] Phil3759:
PhilZ Touch v3.81 Recovery (CWM 6.0.2.3 based)

Download:

http://www.mediafire.com/file/tghwcf3i1d0hi31/philz_touch_3.81-n7100.tar.md5

http://www.mediafire.com/file/y24i2g784sw7cy1/philz_touch_3.81-n7100.zip

Enjoy, and again, a huge credit to The_Steph: he helped a lot in debugging exFat, aromafm and mount usb external storage support
[Galaxy Note II Android Development] The_Steph:
Updated to 3.81 (and signature as well) and tested backup. Everything is fine, no more preload error :victory:

By the way, I forgot to add, Chenglu's recovery is hanging at Aroma installer and yours is not since 3.65R3 :p

I can now safely delete all recovery images I have except yours :D
[Galaxy Note II Android Development] Phil3759:
Thank you a lot,

I put you in the credits + Big thanks. You really helped a lot here

By the way, updated op with main new parts:

Screenshots updates with new features parts:

Special Backup and Restore

Misc Nandroid Settings
[Galaxy Note II Android Development] brolee93:
thanks for update bro :)

---------- Post added at 01:22 AM ---------- Previous post was at 12:59 AM ----------

but it is take a lot of time for enter in recovery mode :) can you fix this please