yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Santhosh M:
Hi master [MENTION=4478781]yuweng[/MENTION] Great tool and quite simply an awesome contribution :cowboy:

I had been trying to port the Philz recovery released for Micromax A116 for my device ( A117 ) and was unsuccessful. Got excited by the prospect of this tool ! :D

I saw in the default.prop of that A116 that it was ur compilation from bbqlinux destro and i could see the same files being replaced by this tool in ramdisk ! :p

After some lot of trouble shooting i managed manual port to work and generated the philz recovery. But its not booting & just restarting logo again and again. Also tried manually flashing the recovery through SPFT and still the same error.

My device uses a MT6589T chipset which doesn't hold much of diff from 6589. What could be the fixes ?

PS : I deleted all the binaries that you had mentioned. Only then i was able to pass the oversize error
[Android Software/Hacking General [Developers Only]] shoxxy:
attach The non working port i take a look On it :)

Shoxx

Gesendet von meinem ME173X mit Tapatalk
[Android Software/Hacking General [Developers Only]] yuweng:
One does zero trouble-shooting while the other one does many but miss out the issue describe here <- most bottom, res fix . . . :cool:

Or it may be this solution too . . . :good:
[Android Software/Hacking General [Developers Only]] Santhosh M:
Thanks :) Here s the non working ported Philz.
[Android Software/Hacking General [Developers Only]] Santhosh M:
Thanks for the reply master ! I didn't miss out that :p Just didn't give importance to that ;) Will try res fix today and revert !
[Android Software/Hacking General [Developers Only]] agismaniax:
Hi yuweng,

It's me again. Right now I'm trying to port PhilZ Touch 6 for my ZTE N986. The recovery can boot, backup and restore but I'm not happy with the mount point.

recovery.fstab

# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

# INIT mount points
#<src>	<mnt_point>	<type>	<mnt_flags and options>	<fs_mgr_flags>
/dev/bootimg	/bootimg	emmc	defaults	defaults
/dev/recovery	/recovery	emmc	defaults	defaults
/dev/uboot	/uboot	emmc	defaults	defaults
/emmc@android	/system	ext4	ro,noatime	wait
/emmc@cache	/cache	ext4	noatime,nosuid,nodev,noauto_da_alloc	wait
/emmc@usrdata	/data	ext4	noatime,nosuid,nodev,noauto_da_alloc	wait,encryptable=footer

# SD-Card Mount For MT65xx
#/devices/platform/mtk-msdc.0/mmc_host/mmc0	auto	auto	defaults	voldmanaged=sdcard0:8	#internal-SD Mounting Point
/devices/platform/mtk-msdc.1/mmc_host/mmc1	auto	auto	defaults	voldmanaged=sdcard1:auto
#/devices/platform/mtk-msdc.0/mmc_host/mmc0	auto	auto	defaults	voldmanaged=sdcard0:auto

fstab.mt6589

# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/mtdblock0 /system ext4 ro,barrier=1 wait
/dev/block/mtdblock1 /data ext4 noatime,nosuid,nodev,barrier=1,nomblk_io_submit wait,check
/dev/block/mtdblock2 /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check

# SD-Card Mount For MT65xx
#/devices/platform/mtk-msdc.0/mmc_host/mmc0	auto	auto	defaults	voldmanaged=sdcard0:8	#internal-SD Mounting Point
/devices/platform/mtk-msdc.1/mmc_host/mmc1	auto	auto	defaults	voldmanaged=sdcard1:auto
#/devices/platform/mtk-msdc.0/mmc_host/mmc0	auto	auto	defaults	voldmanaged=sdcard0:auto

But the mount point looks like this. How to hide /uboot, /bootimg and /data/media? Do you have any suggestion?
[Android Software/Hacking General [Developers Only]] yuweng:
Personally, i have no problem with that b'cos when you select Format, PhilZ Touch will ask Yes -> Format & if you still select Yes then it will simply do what you ask . . . :laugh:

Coincidently your bro also ask the same question here . . . :cowboy:

IMO, custom recovery should give Full Control to users & not limiting it & according to Phil3759 cm might scrap CWM since they have develop the new CM Internal Recovery & guess what, its exactly like your stock android 3e recovery . . .
[Android Software/Hacking General [Developers Only]] princemouli:
Thank you very much....

succesfully ported the recovery to Celkon A97i ( MTK 6575) .....

working fine.........

no bugs....

super recovery thank you very much.....

will post the recovery soon....
[Android Software/Hacking General [Developers Only]] NoobieExtraordinare:
Any luck

Installing this on a doogee phone? I've ordered a DG800 and was wondering if someone had luck installing on it or a different doogee phone.
[Android Software/Hacking General [Developers Only]] shoxxy:
I could not realy follow.... Give more device specific "short+clear" infos. and i guess your chance is better that someone gives support.

Greets

Gesendet von meinem ME173X mit Tapatalk
[Android Software/Hacking General [Developers Only]] 29y6145:
tools build good

but not work on xperia C because xperia C lock bootloader :(
[Android Software/Hacking General [Developers Only]] farhantahir:
Update for philz recovery.

Hello [MENTION=4478781]yuweng[/MENTION] philz recovery has been updated to 6.41.8 any way of updating by using a dummy recovery or any other way. I have also found many times that you created twrp recovery port toll also can't find that pls send me the link to thread.
[Android Software/Hacking General [Developers Only]] shoxxy:
twrp

i could not find the posts at moment, but here is an link to yuwengs dev-host where you found twrp porting tool...

LINK
[Android Software/Hacking General [Developers Only]] 29y6145:
not work on oppo r827
[Android Software/Hacking General [Developers Only]] yuweng:
its already mentioned here -> CLICK TO SHOW CONTENT

Again, it is also mentioned here . . . :rolleyes:

There is even the latest 6.42.2 but it has absolutely no benefit b'cos MTK devices don't use F2FS then no point updating it.

If you really want it then you can always learn to compile it yourself, its not that hard, really . . . :cowboy:

You are at the wrong thread asking for TWRP & i've mentioned it here so go hunt for it yourself . . . :cool:
[Android Software/Hacking General [Developers Only]] andrman1:
why antivirus software detected this tool as virus ?

also how to understand if my bootloader of device is locked ?
[Android Software/Hacking General [Developers Only]] yuweng:
That is called False Positive which is already explained at this thread a year ago . . . Someone has just scanned it here only 5 out of 53 Anti-virus detect it as a real threat & if you still think its not safe then don't use it . . . :cool:

Someone has even scanned MTK Droid Tools & it got a score of 16 out of 50 . . . :cowboy:

Its already explained at the previous post & you asked again . . . Refer to here & here . . .
[Android Software/Hacking General [Developers Only]] 29y6145:
tks reply

i build for oppo R827 (find5 mini) not work ???????????
[Android Software/Hacking General [Developers Only]] andrman1:
I have Alcatel and I got error "Sorry your device not supported".

How to port manually I don't want to use custpack on my Alcatel
[Android Software/Hacking General [Developers Only]] iZLeeP:
Thanks for this bro! Great work!
[Android Software/Hacking General [Developers Only]] yuweng:
Below is the compiled version & i donno what you have, refer to here & i presume you should've know how-to unpack/ repack it with your kernel . . . :cowboy:

Cortex-A7 with new lun path for latest MTK devices

Cortex-A7

Cortex-A9

Arm11
[Android Software/Hacking General [Developers Only]] andrman1:
Thanks but my recovery is 6mb I can't use.How to reduce size of after creating new recovery he's up to 6.5mb?
[Android Software/Hacking General [Developers Only]] iZLeeP:
Refer to here and here. On my phone, the ported recovery was bigger than 6mb, so phone hanged while rebooting to recovery. I've managed to trim it down under 6mb by reducing the .png sizes.
[Android Software/Hacking General [Developers Only]] Kalpesh Sharma:
file_contexts

I have ported TWRP 2.7.0.1 ...

Can Anybody tell me how to correct file_contexts in TWRP
[Android Software/Hacking General [Developers Only]] hanuma:
Recovery is found PhilZ Touch 6.47.7 Recovery KitKat for ZOPO ZP998 http://www.needrom.com/mobile/philz-touch-6-47-7-recovery-for-zopo-zp998/
[Android Software/Hacking General [Developers Only]] Sk.D:
[MENTION=4478781]yuweng[/MENTION] :I tried porting this recovery to Micromax A120, but it doesnt boot. This is what i did.

1] I managed to get ported philz recovery img.

2] I deleted all the files you mentioned [Parted ,adbd etc...]

3] i resized all the images except stitches.img and download that stitches.img from the guy that shared it.

4] The tool recompiled it after saying "Flipped recovery"

5] The output size was 5.6 mb

Edit : Here is the recovery [MENTION=5480061]Santhosh M[/MENTION] , thanks for the concern
[Android Software/Hacking General [Developers Only]] Santhosh M:
Could u upload me the recovery.img generated. I could help you :)
[Android Software/Hacking General [Developers Only]] SevenMaxs:
У меня еще есть и для ZOPO ZP990+ ;)

I also have for ZOPO ZP990+
[Android Software/Hacking General [Developers Only]] noxxious:
flipped aroma filemanager

hi i was able to port this to my device with a flipped screen. the main recovery is now right side up but when i access aroma file manager. aroma file manager is upside down...
[Android Software/Hacking General [Developers Only]] yuweng:
Always refer to the Main Thread for all the details regarding PhilZ Touch & starting from here for all regarding MTK & what you ask is already answered here . . .
[Android Software/Hacking General [Developers Only]] droiddeb:
Hi Yuweng,

The download link is not working, can you please see? Can you mirror the file?

The link http://xdaforums.com/devdb/project/dl/?id=6123&task=get is dead.

EDIT :

Ok, the URL is live again. I could download the file.

Will try porting...
[Android Software/Hacking General [Developers Only]] Milandas01:
recovery.img after flashing feels fresh
[Android Software/Hacking General [Developers Only]] KunalKene1797:
boots sometime

This updated version of philz...loads sometimes...there is 40% chance that it will bootup!!! or we have to use the usb cable to plug in and then boot in recovery...why is this happeneing please HELP:confused:
[Android Software/Hacking General [Developers Only]] yuweng:
if this is the first time you booted up PhilZ Touch & experience this then . . .

its already explained at the OP meaning its not compatible with your MTK . . .

i've tested it on 4# MTK, only 1# have this problem (the one with the res problem but at least now it boots with the correct res) & as Popey900 said, at least it works . . .

if previous version works & only this version have this problem then . . .

most probably b'cos i've resize all the images using EnerJon's technique . . .

Reason is this . . .
[Android Software/Hacking General [Developers Only]] KunalKene1797:
Okhe...

Yeah thx...i will keep using the previous Philz beccause it works perfectly on my Device! :p
[Android Software/Hacking General [Developers Only]] princemouli:
deleted
[Android Software/Hacking General [Developers Only]] yuweng:
Updates

Fixed by Phil3759 . . . :good:

Found out it was AOSP codes started from here onwards & this affects ONLY a few MTKs so i guess you'll have to live with it or do as Kunal.Kene.1797 above . . . :cowboy:

It's a huge code changes & i donno what/ where causes it not to reboot to recovery but as mentioned at least it boots to recovery using cold reboot . . .

Its easier to reboot to recovery with the USB cable attach to your PC or charger to catch that particular period . . .

Steps

With the USB cable attached, shut down, take out the battery, wait a while then put it back

Wait until you see the charging icon, NOW hold Volume Up or Down, don't let go then press the Power button until it boots up PhilZ Touch

Tested this on the only 1# of MTK that i have, that doesn't warm reboot recovery & it works every time with above technique. . . :cool:

All my other MTKs doesn't have this problem . . .
[Android Software/Hacking General [Developers Only]] Vishesh:
Can someone port this recovery for micromax canvas HD plus a190?
[Android Software/Hacking General [Developers Only]] yuweng:
As the title says, its device specific & can't be ported to others, ask your dm if there is one or you can also DIY, its not that hard, only need your . . . :cowboy:

Willingness to learn, READ & continue trying . . .

Refer to the compatible BoardConfig.mk & build CWM first

When CWM boots then refer to here . . .

Good Luck . . . :cool:
[Android Software/Hacking General [Developers Only]] princemouli:
Thank you very much brother...

succesfully ported the new recovery version 6.56.2 to celkon A97i...

your tool worked like a charm

Thank you very much brother.......:good::D
[Android Software/Hacking General [Developers Only]] droiddeb:
I could flash the new 6.52.2 FTR very easily in my Spice Mi-504 (MT6572) but failed to flash in Xolo Q3000 (MT6589T). The AROMA Filemanager in MT6572 is flipped, otherwise it's perfect.
[Android Software/Hacking General [Developers Only]] macmx:
Hi master [MENTION=4478781]yuweng[/MENTION]

I tried many tutorials, many tools and many combinations and nothing seems to work, so i came here with the hope of get another chance but it finished as far as when i read "...does not support MTK Alcatel devices with /custpack partition"

First of all, the evil: an Alcatel alpha or Alcatel 6032a or TCL S860. All that models are the same phone. The phone has a MT6589 soc.

So i've tried with your CTR tool, the tutorials of master [MENTION=5186178]carliv[/MENTION] and then reading in one of his posts, i fall then in the last restriction for having a decent recovery.. carliv wrote something like the recovery will not work on devices without external sd-card.

So i think i dont have another option. Do you guys know something different or an alternative? can you just point me to the right direction?

If i miss to mention something my stock boot.img, recovery.img and scatter files are:

h**ps: // drive.google.com/file/d/0B2y9zSqK4eTQM0FrV1p6NF9QZkU/

Thanks in advance!
[Android Software/Hacking General [Developers Only]] yuweng:
Your scatter.txt shows that you have a recovery partition of 20Mb then most probably TWRP will work . . . :fingers-crossed:
[Android Software/Hacking General [Developers Only]] FeyoMx:
any clue how to solve this problem

Thanks in advance.
[Android Software/Hacking General [Developers Only]] yuweng:
Use below adb command to find out your MTK lun file path, may be i use the wrong one for MT8127 . . . :o

On Windows:

adb shell ls -R | find "lun0"

On linux:

adb shell ls -R | grep "lun0"

Updates

[MENTION=5087169]FeyoMx[/MENTION] Compile a new update.zip for your MTK, if it doesn't install then no choice but to unpack the earlier ported PhilZ Touch, extract res & sbin from this update.zip to replace it, repack & let it auto-install . . . :cool:
[Android Software/Hacking General [Developers Only]] Vishesh:
Guys can someone port this recovery for my mtk device?. I tried this tool but it always shows that asb shell is not working in my pc, I have already installed drivers but stil no luck.. I can send u the related files for porting.. Could someone help me..
[Android Software/Hacking General [Developers Only]] FeyoMx:
thanks try and the result is:

[CODE]./sys/devices/platform/mt_usb/musb-hdrc.0/gadget/lun0:
.sys/devices/platform/mt_usb/musb-hdrc.0/gadget/lun0/power:

[/CODE]

who and where you have to modify master?

on the other hand. replace the files you sent me on the upgrade and the result is that it starts correctly, but no change and I still can not install anything. . I really appreciate your attention and you'll keep trying to tell me.
[Android Software/Hacking General [Developers Only]] yuweng:
[MENTION=4974379]Vishesh[/MENTION] Refer to here . . .

[MENTION=5087169]FeyoMx[/MENTION]

i've compiled with this it seems to work with both the old & new lun path, credits to RD chrmhoffmann future porting tool will be less complicated . . . :laugh:

Back to your case, either its your X.Stock.1.4.zip or recovery.fstab problem . . . :cool:

First, its already mentioned here if your adb shell cat /proc/dumchar_info doesn't contain fat then you can't use it . . .

/devices/platform/mtk-msdc.0/mmc_host/mmc0 auto vfat defaults voldmanaged=sdcard0:[B][COLOR="blue"]R[/COLOR][/B] [COLOR="Red"]<- there is no partition no starts with alphabet [COLOR="blue"][B]R[/B][/COLOR] on [B][COLOR="Black"]MTK[/COLOR][/B]. Remove this line[/COLOR]
/devices/platform/mtk-msdc.1/mmc_host/mmc1 auto vfat defaults voldmanaged=sdcard1:auto

Also try to toggle /data/media to /data/media/0 see if it works ( can't see this menu on my 4.1, try every menu)

Try other update.zip to confirmed whether its your X.Stock.1.4.zip problem or all also having this problem . . .
[Android Software/Hacking General [Developers Only]] FeyoMx:
Thanks that what I have achieved. and I can see my two memory cards without problem. I still have the problem of installing any zip. I can at least make a backup and successfully open the Aroma file manager.

No where this problem but keep trying you comment me any solution.
[Android Software/Hacking General [Developers Only]] r0c0:
did you try flashing any other zip? can you upload your recovery?
[Android Software/Hacking General [Developers Only]] FeyoMx:
If you try and the result was the same. already few post back.

If you know how to flash it without pc?

I hope your comments.
[Android Software/Hacking General [Developers Only]] r0c0:
yes, that app is like mobileuncletools, i might give it a try though. but as yuweng said, it might be the pureperformance zip, have you tried any other zip? can you do any ''wipe'' like cache? also what did you change for it to work with both sd card and aroma file manager?

Might have no relevance but (from 1st page troubleshooting):

''To identify your internal sdcard partition no. -> adb shell cat /proc/dumchar_info & look at fat partition block /dev/block/mmcblk0p6 & update it accordingly''

fat /dev/block/mmcblk0p8 user /dev/block/mmcblk0p6 <------our device has fat partition 8, user partition 6..

fstab.mt8127

so : devices/platform/mtk-msdc.0/mmc_host/mmc0 auto auto defaults voldmanaged=sdcard0:8 ?
[Android Software/Hacking General [Developers Only]] FeyoMx:
achieves this is how to mount the partition of the sd. making that change in recovery.fstab and fstab.mt8127

if you look to other zip with the same result.
[Android Software/Hacking General [Developers Only]] KunalKene1797:
MT6572 7MB Recovery MOD!

MediaTek MT6572 7MB Recovery MOD!​

Hello Guys...Does it say recovery image is bigger than the partition Size No Worries...(Other than MT6572 Users Refer to Previous Posts by [MENTION=4478781]yuweng[/MENTION])

Lets Get Started...

There is a very Simple Trick to use this MOD....Most MTK Devices comes with 4.5MB Boot Partition

(Decompile and Recompile your Boot IMG to Get the Perfect Size of your Recovery)

Soo What we are going to do is, The Boot partition is of 6MB we will reduce it to 5MB...and then increase Recovery Partition from 6MB to 7MB
​

-:Things Needed :-

MT6572 Scatter File

Notepad ++

A Noob Brain!​

-:INSTRUCTIONS :-​

#1.Open your Scatter File with Notepad ++ for editing...

#2. Locate Recovery and Boot partition Info!

(Underlined RED are the Things we have to Deal With!)

#3 Change :-

BootIMG Partitons

Partition Size from 0x600000 > 0x500000

Recovery Partitions

Partition Size from 0x600000 > 0x700000

Linear Start Address

Now Subtract 0x100000 from the linear Start Address ex.- 0x2980000 - 0x100000 = 0x2880000

#4 That's It Now save the Scatter File and Flash the ROM with the New Scatter!

VOILA!!! 7MB Recovery Partiton:cool:​

Thanks to [MENTION=4478781]yuweng[/MENTION] for the Support :highfive:

PRESS THANKS GUYS THAT WILL HELP...I DON'T HAVE ANY IDEA HOW! :D​
[Android Software/Hacking General [Developers Only]] nigerman:
Well it works but when I tried flashing any recovery bigger than 6mb,it will flash but refuses to boot to recovery! Is there any fix for this? Thanks for the tutorial bro.:rolleyes:
[Android Software/Hacking General [Developers Only]] KunalKene1797:
Well Yeah I am Trying to find a fix for this...This Issue is there in many devices! I Guess i'll have to take a look at the EBR1 File!:cowboy:

Thx!
[Android Software/Hacking General [Developers Only]] shoxxy:
A time ago i try different ways , to manage this on my mt6589 . i could flash recoverys up to 8mb, but like you said recoverys dont Boot.
[Android Software/Hacking General [Developers Only]] razkal1:
what do i use to flash the mtk tools back up i made with the modded scatter file?
[Android Software/Hacking General [Developers Only]] KunalKene1797:
SP! Flash Tools:good:
[Android Software/Hacking General [Developers Only]] razkal1:
thanks forgot to convert to sp flash in mtk tool all good now
[Android Software/Hacking General [Developers Only]] johnnybra:
hi all

yuweng, I must thank you for this wonderful tool. Including patches, resolution, etc is a great idea that makes our port work easy.

But I have a little problem with this tool. I'm not a windows user, but I have a partition with W8.1 x64 for using some windows tools. Inside windows, I can't recompile kernel or recovery from my Elephone P8 (mt6592 device). The only way I'm able to do this is under linux, with mtk master tools. And with your tool this sadly happen. All the process is going well and then... Abort, can't repack...

Do you hace any idea of what happen? I would like to save the moddified recovery unpacked in order to repack it manually later, but the process is really fast and it erase all files before I can copy/paste files.

Thank you in advance :)
[Android Software/Hacking General [Developers Only]] yuweng:
i've built-in an emergency stop for debugging into the porting tool . . . :cowboy: Press Ctrl + Alt + s & it'll stop . . . :laugh:

Hey, why don't you just borrow any PC, get it ported over since you only need to do this once or if you are adventurous enough to try this . . . :cool:
[Android Software/Hacking General [Developers Only]] dhampire:
Thanks

Hi, Master yuweng.

I'd like to report you that "work & no problem" with pleasure.

Easy Magic PhilZ Touch Installer for MediaTek Devices ONLY 6.57.9

Device : Lenovo S930 Kitkat 4.4.2 MTK6582

TKS a lot !
[Android Software/Hacking General [Developers Only]] yuweng:
A little free over these whole week so i installed Vbox on my Nix Box & both the porting tool works fine so i presume it must be something wrong with your setup then . . . :cowboy:
[Android Software/Hacking General [Developers Only]] daoodshah:
Works flawlessly for My Micromax Cavas fire A093 mtk6582..:)
[Android Software/Hacking General [Developers Only]] BZzzz3:
TCL Idol X MTK6589 4.4.2 does not work
[Android Software/Hacking General [Developers Only]] shoxxy:
compile from source ;) its very easy for beginner when using yuweng tutorials ;)

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

Gesendet von meinem Nexus 5
[Android Software/Hacking General [Developers Only]] yuweng:
its already mentioned here & if you're interested to get PhilZ Touch to work on your MTK Alcatel then pm me with your link to your boot & recovery.img then i'll mod the porting tool to support it . . . :cool:
[Android Software/Hacking General [Developers Only]] hanuma:
Boot & Recovery 4.4.2 TCL Idol X/Alcatel 6040D http://d-h.st/bCz
[Android Software/Hacking General [Developers Only]] NFound:
Hi. Collected through the MTK-PhilZ 6.58.0 for my Alcatel S960 Idol X+, it works, but when you try to wipe cache hangs on the scroll bar. After the reboot section is overwritten and you have to restore through SP FlashTool. The sample was fixed a wipe cache ...Thanks.