FORUMS
Remove All Ads from XDA

[PORT] [TOOL] Carliv Touch Recovery for MediaTek devices

1,148 posts
Thanks Meter: 4,061
 
By yuweng, Senior Member on 10th August 2012, 03:40 PM
Post Reply Email Thread
7th October 2013, 04:26 PM |#501  
Member
Flag Ciputat
Thanks Meter: 8
 
More
Thank you for your answer Master Yuweng and Mister Praderj.
I will try it soon.
I will report the progress.

---------- Post added at 10:26 PM ---------- Previous post was at 10:18 PM ----------

Thank you for your answer Master Yuweng and Mister Praderj.
I will try it soon.
I will report the progress.
 
 
7th October 2013, 05:50 PM |#502  
Senior Member
Flag Bangalore
Thanks Meter: 176
 
Donate to Me
More
Quote:
Originally Posted by imaulana

Thank you for your answer Master Yuweng and Mister Praderj.
I will try it soon.
I will report the progress.

---------- Post added at 10:26 PM ---------- Previous post was at 10:18 PM ----------

Thank you for your answer Master Yuweng and Mister Praderj.
I will try it soon.
I will report the progress.

ya friend.. hope that you ll get the working recovery soon.. and don't forget to post your progree here..

Sent from my Celkon A97i
7th October 2013, 06:52 PM |#503  
superdragonpt's Avatar
Recognized Developer
Flag Lisbon / Taiwan / USA
Thanks Meter: 17,178
 
Donate to Me
More
Quote:
Originally Posted by sombritagl

Hi!
I've tried to port COT using the tool with both, a working CWM and a working TWRP, and I get this prompt: "your recovery has no root permissions". Can anyone help me out? Thanks in advance

Like said, first install the root "su" binary, an good tool for our phones SoC is the framaroot, you can check the framaroot thread here:

http://forum.xda-developers.com/show....php?t=2130276

then re-make the steps for installing an recovery

B.Regards
The Following 2 Users Say Thank You to superdragonpt For This Useful Post: [ View ]
8th October 2013, 04:53 AM |#504  
Senior Member
Flag Bangalore
Thanks Meter: 176
 
Donate to Me
More
Quote:
Originally Posted by sombritagl

Hi!
I've tried to port COT using the tool with both, a working CWM and a working TWRP, and I get this prompt: "your recovery has no root permissions". Can anyone help me out? Thanks in advance

Bro. Get the root access and the tool will work fine. And the easiest way to root your phone is by using mtk droid tools.. simple and easy when compared to others. When I'm not aware of this mtk droid tool I was using srs one click root.. it was also good but not good as mtk droid tools..

Sent from my Celkon A97i
The Following User Says Thank You to praderj For This Useful Post: [ View ] Gift praderj Ad-Free
11th October 2013, 01:29 AM |#505  
Member
Flag Ciputat
Thanks Meter: 8
 
More
Dear, Master yuweng

I did what you told me to do in the last post. And i got the new recovery.img, but when i want to repack it with your MTK Repacker, it said : Aborting, error been detected. Is there something that i missed? Or is there something i have to install in Windows before i use the tool?

When i do this for CWM v6.0.3.6 --> there's no such an error like this.

BTW, i use Windows 8 32 bit, Avira antivirus is OFF, Net.Framework 4.5

Oh yeah: one more: when i use MTK Unpack.bat --> it said: Error end offset is lower than start offset
11th October 2013, 12:33 PM |#506  
yuweng's Avatar
OP Senior Member
Thanks Meter: 4,061
 
More
Been very busy at work lately... Hmm, just now only tested the same 6036 script & it compiled out 6040 alright...

i think you didn't do the Menu 7 -> Cleaning up Build Environment which is a must before compiling on a new repo or a new device...


The Following User Says Thank You to yuweng For This Useful Post: [ View ] Gift yuweng Ad-Free
11th October 2013, 05:26 PM |#507  
Member
Flag Ciputat
Thanks Meter: 8
 
More
Quote:
Originally Posted by yuweng

Been very busy at work lately... Hmm, just now only tested the same 6036 script & it compiled out 6040 alright...

i think you didn't do the Menu 7 -> Cleaning up Build Environment which is a must before compiling on a new repo or a new device...



Thank you for your answer, master. i already do the Menu 7. But when i use this code:
Code:
cd ~/cm10.1 && rm -rf ~/cm10.1/.repo/manifests && rm ~/cm10.1/.repo/manifest.xml && repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1 && repo sync -f -j4
It always give me this in the terminal:
Code:
Your identity is: xdausers <xdausers@gmail.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/indra/cm10.1
Fetching projects:   0% (1/365)  From git://github.com/carliv/mtk6589_bootable_recovery
 + 185f2e2...d6af841 master     -> github/master  (forced update)
Fetching projects: 100% (365/365), done.  
info: A new version of repo is available


object e76efdd7b342577c40aa271fa5ded9d66a783a9b
type commit
tag v1.12.4
tagger Conley Owens <cco3@android.com> 1380645867 -0700

repo 1.12.4

gpg: Signature made Tue 01 Oct 2013 11:44:27 PM WIT using RSA key ID 692B382C
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.4'


warning: Skipped upgrade to unverified version
Deleting obsolete path /home/indra/cm10.1/device/ti/panda
Syncing work tree: 100% (365/365), done.  

bootable/recovery/: discarding 1025 commits
and then, when i use this code:
Code:
cd ~/cm10.1 && repo sync -f -j4
no matter which repo that i used, it always give me this :
Code:
Fetching projects: 100% (365/365), done.  
info: A new version of repo is available


object e76efdd7b342577c40aa271fa5ded9d66a783a9b
type commit
tag v1.12.4
tagger Conley Owens <cco3@android.com> 1380645867 -0700

repo 1.12.4

gpg: Signature made Tue 01 Oct 2013 11:44:27 PM WIT using RSA key ID 692B382C
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.4'


warning: Skipped upgrade to unverified version
error: Cannot remove project "device/ZTE/V967S": uncommitted changesare present
       commit changes, then run sync again
i really don't know why?
Any answer will be great.
Thank you
--------------------------------------------------------------------------------SOLVED----------------------------------------------------------------------------------------------------------------------------------------
I Keep trying and trying and suddenly it works but i don't know why and how. And right now i just have CWM 6.0.4.0 for my device, and it is fully working.
Thanks again Master yuweng
The Following User Says Thank You to imaulana For This Useful Post: [ View ] Gift imaulana Ad-Free
12th October 2013, 06:15 PM |#508  
BHARDIK's Avatar
Senior Member
Flag Rajkot, Gujarat
Thanks Meter: 541
 
More
Thumbs up
Quote:
Originally Posted by yuweng

Previous MODS


Added on Apr 23, 2013 - Port MT65xx CWM from boot.img
-------------------------
Added on Apr 25, 2013 - TWRP V2.4.4.0 for MT6573
-------------------------
Added on May 07, 2013 - CWM 6.0.3.0 for MT6575/ 77/ 89 Alternate link is here
-------------------------
Added on May 09, 2013 - TWRP 2.5.0.0 for MT6575/ 77/ 89 Alternate link is here. Increase recovery partition to 7Mb
-------------------------
Added on June 02, 2013 - CWM 6.0.3.2 for MT6573 Alternate link here...
-------------------------
Added on June 11, 2013 - Auto Port CWM for MT6575/ 77/ 89 Alternate link here...
-------------------------
Credits to spit85 when porting tool show adb not working...
-------------------------
Added on August 18, 2013 - Compile CWM for MT6575/ 77/ 89 from CM Sources
Master Shifu carliv is so kind to teach me & show me his github for the changes he make to the CM10.1 bootable_recovery sources to be able to compile out a fully working CWM 6.0.3.6 to my device...


Fyi, below are my experience & total time taken for each task...
1) Download, install Virtualbox (Approx 97MB) & setup - 45 min on my 5Mb FiberOptic Broadband
2) Download, install ubuntu-13.04-desktop X64 (Approx 800MB) & setup - 2 1/2 hour
3) Looking for guides on how to setup the Build Environment to compile CWM on CM Sources - Since the beginning of this year... There are so many guides scattered all over xda & the web, all different dependencies libs for each CM sources. Eg. CM9, JB, CM10.1, CM10.2 & Ubuntu 11.10, 12.04 LTS, 12.10 , 13.04
4) Download & install Build Environment - Approx 45 min
5) Sync CM10.1/ CM10.2 each - Approx 7 to 8 hours each using repo sync -f -j30 causing broadband connection on host PC crawling slow...
(On slower connection, it takes even longer, i've seen one feedback, it takes 3 days to sync... )
6) Setup Device tree & bootable_recovery & some tweaking - Approx 1/2 an hour
7) Compile CWM - 1 hour & 10 minutes (On older PC, it takes even longer... )

So please Thanks Master Shifu carliv if you use my tool to port his CWM 6.0.3.6 to your MTK device, it only takes less than 2 min to port but many many hours of downloading & tweaking to compile out a working CWM recovery & it takes less than 1 second to hit that Thanks button to show your appreciation...

Fyi, i still donno how to tweak CM10.2 to compile out a working CWM to my MTK device...
-------------------------
Master Shifu carliv is so kind to point me to the right direction again, i'm actually a n00b at compiling CM on Ubuntu...
Below infos are for users who would like to try out & compile CWM from CM sources for their MTK devices...



-------------------------
Added on Sept 1, 2013 - Compile CWM for MT6575/ 77/ 89 from CM 10.1 Sources on Oracle Virtualbox
i've wrote an AIO bash script for compiling CWM from CM10.1 Sources for MTK devices on ubuntu 13.04 x64 on Virtualbox...
So now anyone also can compile from source & you can proudly say i compile my own CWM for my MTK device...


Credits to Master Shifu carliv & nolinuxnoparty

Good Luck & Cheers....

-------------------------
Added on Sept 22, 2013 - COT Recovery for MT6575/ 77/ 89
Master Shifu carliv is so kind to share with us COT recovery, he has modded the source code so that it works on MTK devices & he has also compiled various screen size to support for different MTK devices too...


However, many users are not expert to be able to port it over to their device so i make a porting tool out of it....

Awesome Master Shifu, THanks Once again

Thanks
Hardy Ahir
The Following User Says Thank You to BHARDIK For This Useful Post: [ View ] Gift BHARDIK Ad-Free
13th October 2013, 09:29 AM |#509  
yuweng's Avatar
OP Senior Member
Thanks Meter: 4,061
 
More
Quote:
Originally Posted by imaulana

I Keep trying and trying and suddenly it works but i don't know why and how.

Code:
info: A new version of repo is available
Code:
error: Cannot remove project "device/ZTE/V967S": uncommitted changes are present

Based on your error log, i believe you must've manually deleted the ~/cm10.1/device/ZTE/V967S thats why you get all these error... Use Menu 7 first then delete ZTE/V967S & you won't get these error...

When encounter this problem, use below command to fix it then delete whole ~/cm10.1/bootable/recovery folder (it'll sync faster when deleted)

Code:
cd ~/cm10.1 && sudo make clean && sudo make installclean && sudo make clobber
Now use the 6036 script Menu 3 & it'll auto sync latest CM source & Master Shifu carliv's latest 6040 bootable/recovery repo...

And i'm sure you should have seen the below info too...

Code:
... A new repo command ( 1.20) is available.
... You should upgrade soon:

    cp /home/indra/cm10.1/.repo/repo/repo /home/indra/bin/repo
After you have use the above command, you won't get the upgrade soon prompt anymore...

Now that you've successfully compiled out a fully working 6040 its time for you to build your own device tree & compile a new one for it...

1) cd ~/cm10.1 && build/tools/device/mkvendor.sh (your device manufacturer) (your model name) ~/boot.img
e.g for your device : build/tools/device/mkvendor.sh Tinji Tinji_i9300 ~/boot.img

2) Unpack your MTK stock recovery.img & cross-reference it with Master Shifu carliv's ZTE/V967S particularly the BoardConfig.mk & recovery folder

3) lunch cm_Tinji_i9300-eng && . build/tools/device/makerecoveries.sh cm_Tinji_i9300-eng OR make -j4 recoveryimage

4) After completion, go to ~/cm10.1/out/target/product/Tinji_i9300 & your recovery.img should be there...

Cheers, you have compiled your own recovery with your own device tree...

The Following User Says Thank You to yuweng For This Useful Post: [ View ] Gift yuweng Ad-Free
13th October 2013, 08:29 PM |#510  
FaIzaL3040's Avatar
Senior Member
Flag DUNGUN , TERENGGANU
Thanks Meter: 946
 
More
Cwm for BM Mobile
HI guys...i need some help n sory if i aksing same question twice..

so i have A7000 BM Mobile with mediatek MT6577 .. my problem is this phone stuck at bootloop and wanna try format it with cwm recovery.
my phone is 100 % factory setting.. i know op already give a link for MT6577 cwm but i not sure if i can use it with my phone..

my device info is :

BB chip: MT6577
Modem Ver: MAUI.11AMD.W12.22.SP.V8.P2
Kernel Ver: 3.0.13 (root@abcde-desktop) gcc version 4.4.3
Android Ver: 4.0.3

tq..
14th October 2013, 03:16 PM |#511  
yuweng's Avatar
OP Senior Member
Thanks Meter: 4,061
 
More
Quote:
Originally Posted by FaIzaL3040

my problem is this phone stuck at bootloop and wanna try format it with cwm recovery

Bro, it might be too late already, you should have backup your Factory ROM with MTK Droid Tools first...

Try the stock 3e recovery -> take out & put back battery -> Hold Volume UP( if it doesn't work then try Volume Down ) don't let go, now press power until it boots into 3e -> navigate using the Menu, Home, Escape, Volume Up/ Down button -> Wipe Data/ Factory Reset

If still it doesn't boot then refer to here...
The Following User Says Thank You to yuweng For This Useful Post: [ View ] Gift yuweng Ad-Free
Post Reply Subscribe to Thread

Tags
custom recovery, mt65xx, mtk, porting tool, recovery

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes