[EOL][RECOVERY]CarlivTouchRecovery v2.7(4.2.2) for port to MTK phones[EOL]

Status
Not open for further replies.

bluefirebird

Senior Member
Mar 23, 2013
1,027
5,025
0
carliv.eu

mt6572, mt6575, mt6577, mt6589, mt6582, mt6592 and all the other variants up to mt6592, except AndroidOne project.

The version 2.7 is the final version for Jellybean kernels (or older). This is the end of the road for it. Won't be more updates. Instead for newer kernels (kitkat, maybe lollipop) you should check my new version.
DISCLAIMER:
Rooting your phone and using custom Recoveries and ROMS have risks and may result in bricking your device, and has nothing to do with Google or the device manufacturers. In case of any mishap I am not responsible if you brick/ruin your phone in any way.
Basic computer skills are required and minimal knowledges about phones and phones utilities too.
Make sure that whatever you do, you are doing it at your own responsibility.

It is a CWM based recovery and is compatible with it. In this version I used Napstar-xda's full touch module as base. The navigation it is posible by touching the menu item. In long display menu (as choose zip from sdcard) for scroll page down Swipe Right and for scroll page up Swipe Left. For Go Back also Swipe Left.
If the Swipe doesn't work (usually if your phone is multitouch but has only 2 points of touch), use bottom virtual navigation keys or volume buttons Down for Scroll down, Up for Scroll up, and the back button for Go Back.

Version 2.7 update (11-dec-2014):

- rebuilt from base (cwm 6.0.3.7) and add improvements on top.
- reintegrated bottom virtual navigation keys, to compensate the non-function of swipe in some phones
- better compressed backups integration - pigz support from cm-11
- new "nvram backup/restore" menu functionality: the nvram partition will be backed up in clockworkmod/backup/.nvram/nvram-xxxxx folder as nvram.img. This will help if you lose IMEI and other communication features. It will work only if you have the nvram partition defined in recovery.fstab. If the nvram partition is damaged (as in flashing an oversized recovery) this will not help you, and you need SPFlashTools to reflash with format your phone official firmware, and after that flash this recovery, boot in recovery and restore nvram.
- the recovery has now an increased stability, many issues are solved
- the content of the backup folder will contain only what an usual clockworkmod backup contain, and that will make it easy to restore backups made with older versions.
- new GUI images, very light (the difference between non-touch modded cwm and this one is only 14 Kb, for 720x1280 resolution)
- some other changes.


You can flash in recovery the attached AromaFM_installer.zip, and the aromafm.zip will be placed at its place, so you can use aroma fm menu.

For port follow my new guide from here. If you want to use the automated method, that works only for older versions at my friend yuweng's thread.

Currently there are two lunfile paths in the world of mtk devices. This will make your USB Mass storage to work in recovery or not. Search that path in your device to see what you have.
  • Lunfile path 1 (old): "/sys/devices/platform/mt_usb/gadget/lun%d/file" - this can be found in many devices mt6572, mt6589, mt6589T, and other old ones.
  • Lunfile path 2 (new): "/sys/devices/platform/mt_usb/musb-hdrc.0/gadget/lun%d/file" - this is related to new devices mt6582, mt6592...
Find where is your path and download the image to port from correct section.
There are two sections, corresponding to those two lunfile paths, with 15 images each. These 15 images are corresponding to different resolutions. Choose the one that match exactly your phone resolution. If your phone has the resolution 720x1280, then take an image with "720x1280" in name. There are few landscape versions for tablets with landscape format, so don't confuse "720x1280" with "1280x720".

IMPORTANT:[/B]
These are compiled recoveries for porting purposes only. DON'T take any of them and flash it in your phone as it is. It won't work, they include a dummy kernel. You need to port it to your device as I show in my guide, to make it work.[/COLOR]
CREDITS:
- Napstar-xda - for touch module;
- Philz-cwm6 - for get partition size method;
- xiaolu - for the new fonts;
- C3C0 - for initial mtk tweack hint - Unused now;
- Koush and all CWM team for the recovery;
- bgcngm for unpack/repack utils;
- sk8erwitskil for aromafm menu

RULES for posting your ports!
If you manage to port this to your device, add proper credits in your thread, post or article.
If you want that to be posted in a list with working devices, then post here a link to the thread or the post on xda (only on xda). Why not a free hosting link, like google drive, dev-host, mega-coz or other? Because if in the future you will port a new version, you have to replace it in that thread or post and the link from list remain the same.

ATTENTION:
There is a possibility that the touch feature to not work in all phones. It was tested in many phones, and in some of them it doesn't work. There isn't a switch, a toggle or other method to make it to work, it depends on your phone touchscreen capability from recovery. If this doesn't work in your phone, I'm sorry, it happens, and my advice is to try something else.

Few clarifications:
  • I provided all necessary infos to help you to port it to your devices.
  • It is ment to be ported to all MTK devices, but this doesn't mean it will work in all.
  • In some devices with a cheap screen display (usually those with anly one or two points of touch) there is a big chance to not work, or to work only partial.
  • If the recovery has the screen flipped, you need to use the non-touch version, and to compile it by yourself from source, or to ask a developer from your device to do it, with BOARD_HAS_FLIPPED_SCREEN true flag in device BoardConfig.
  • This recovery is compiled in CM-10.1 environment (android 4.2.2) and is proved to be working in devices with kernels up to Android 4.3. For kitkat use my new version.
  • The main purpose for this recovery was to keep it under 6Mb, to fit in that small recovery partition that was used in these MTK phones.
  • If your phone's kernel is bigger than 4.3Mb and the recovery size is 6Mb, don't botter to try it. It won't work, because it will exceede those 6Mb.
 
Last edited:
S

SuperDroid-BOND

Guest
CTR Recovery Ported to Canvas 2 / A110/ Noir Q10/Cynus T2

Master @carliv

Master,
Once Again a Masterpiece of yours is on XDA & So, Once again this disciple of yours has done this first.....

Here is My Thread for

CTR Recovery & CWM Recovery 6.0.4.0 for Micromax A110.

Thanks a ton for this again & again. Don't know how to thank you for all of your work. but I do remember my words and waiting for that to thank you once.
 
Last edited:

dnle71

Senior Member
Nov 9, 2011
914
194
0
thanks for your efforts! :)

edit: ported the 720x1280 ver. for my device and it seems to be working all fine but the log info seems to be blocking the navigation button. I guess that's just it, thanks again!
 
Last edited:

bluefirebird

Senior Member
Mar 23, 2013
1,027
5,025
0
carliv.eu
thanks for your efforts! :)

edit: ported the 720x1280 ver. for my device and it seems to be working all fine but the log info seems to be blocking the navigation button. I guess that's just it, thanks again!
No. it shouldn't be that way. This has something to do with some values from default_recovery_ui. I put those values arbitrary because I don't have your phones. It's not really blocking, only visual, but the buttons still work. I guess it looks like in the old AmonRa recovery with touch buttons.
I will take that in consideration for future improvements. For other phones with same resolution, may be different.

It will be really helpfull if you post here your phone res and the maxX and maxY values from settings.ini from cotrecovery folder, if you had that installed before.
 
Last edited:

dnle71

Senior Member
Nov 9, 2011
914
194
0
No. it shouldn't be that way. This has something to do with some values from default_recovery_ui. I put those values arbitrary because I don't have your phones. It's not really blocking, only visual, but the buttons still work. I guess it looks like in the old AmonRa recovery with touch buttons.
I will take that in consideration for future improvements. For other phones with same resolution, may be different.

It will be really helpfull if you post here your phone res and the maxX and maxY values from settings.ini from cotrecovery folder, if you had that installed before.
touch is working even if it was somewhat blocked or something but the touch could extend above even if im not actually touching the nav buttons.

cot settings here.
;
; COT Settings INI
;

[Settings]
Theme = hydro ;
SDTheme = 0;
ORSReboot = 0 ;
ORSWipePrompt = 1 ;
BackupPrompt = 1 ;
SignatureCheckEnabled = 0 ;
BackupFormat = 0 ;
maxX = 742 ;
maxY = 1278 ;
touchY = 1067 ;
Language = en ;
 

bluefirebird

Senior Member
Mar 23, 2013
1,027
5,025
0
carliv.eu
touch is working even if it was somewhat blocked or something but the touch could extend above even if im not actually touching the nav buttons.

cot settings here.
;
; COT Settings INI
;

[Settings]
Theme = hydro ;
SDTheme = 0;
ORSReboot = 0 ;
ORSWipePrompt = 1 ;
BackupPrompt = 1 ;
SignatureCheckEnabled = 0 ;
BackupFormat = 0 ;
maxX = 742 ;
maxY = 1278 ;
touchY = 1067 ;
Language = en ;
Can you download and port again your resolution 720x1280? I changed some settings and it is updated to 6.0.4.0
Tell me if it works to re-compile all res again.
 
S

SuperDroid-BOND

Guest
still the same.. also notice my finger, the nav button detects it.
The Touch is something similar like the Graph (of Mathematics).
Its based on X,Y positions like - X10 & Y 10 but in this there is no negative numbers.
So notice one thing. When ever you will click above any navigation key you will find it clicks the navigation button coming parallel to it.
Its not completely like TWRP or CWM Touch Version. But yes as we know Master @carliv can port the CWM touch version also for CTR Recovery. Then only we can get everything on touch based.
 

praderj

Senior Member
Jun 26, 2013
251
177
0
Bangalore
www.getcooltricks.com
Awesome brother.. hats off.. expecting a full touch recovery soon from you...

Update
Successfully ported the recovery and its cent percent functional..btested every single options.. touch is working fine.. thanks for your suppport brother.. and I'm uploading the file now.. after that I'll update it here brother..

Sent from my Celkon A97i
 
Last edited:
  • Like
Reactions: mrd.macdonald

bluefirebird

Senior Member
Mar 23, 2013
1,027
5,025
0
carliv.eu
I forgot to write. I made it this way, to be full screen touch. You can navigate up, down by swipe up/down in button area. For select you have to touch the screen in select button area. What is bothering me is log overlaping the icon menu. In my phone doesn't...
I will study that and maybe I will find an universal solution.
-----------------------
Ok, I figured out. I have to reduce MAX_ROWS.

I will rebuild every res, and the new one will be on 6.0.4.0 base.
 
Last edited:

praderj

Senior Member
Jun 26, 2013
251
177
0
Bangalore
www.getcooltricks.com
I forgat to write. I made it this way, to be full screen touch. You can navigate up, down by swipe up/down in button area. For select you have to touch the screen in select button area. What is bothering me is log overlaping the icon menu. In my phone doesn't...
I will study that and maybe I will find an universal solution.
Brother here is the link.. and thanks for your awesome releases..and bro it didn't take even 2 mins to port it.. thanks for your guides..

http://forum.xda-developers.com/showthread.php?p=45347902
Sent from my Celkon A97i
 
Last edited:
  • Like
Reactions: bluefirebird

bluefirebird

Senior Member
Mar 23, 2013
1,027
5,025
0
carliv.eu
All done. All updated to version 2.2. All recoveries compiled again with new version.

In attachment are ported recoveries for Canvas4 A210, Cubot A890, Star B6000, Star S9500, Star N9500, Zopo ZP820, UMI X2, Blackview JK809, Alcatel One Touch X'Pop 5035D (with custpack).

If you share one of these recoveries on your site, or other sites and forums, please use the name I gave it Carliv Touch Recovery, not Recovery Touch or CWM Touch (which is Koush's touch recovery name) or anything else. After six months of hard work I deserve that, and wasn't an easy job. Thanks!
 

Attachments

Last edited:

dnle71

Senior Member
Nov 9, 2011
914
194
0
All done. The source is adapted to 6.0.4.0 version of CWM. All resolutions recoveries compiled again with new version, and I hope the overlaping issue is gone.

In attachment are ported recoveries for Cubot A890 and Star B6000.
thanks! it's fixed now. will patiently wait for the updated features of this recovery :)
 

xhxx

Member
Jun 12, 2013
47
22
0
Crema
All done. The source is adapted to 6.0.4.0 version of CWM. All resolutions recoveries compiled again with new version, and I hope the overlaping issue is gone.

In attachment are ported recoveries for Cubot A890 and Star B6000.
Thanks Again Carliv, This Carliv Touch Recovery v.1 do Work!
I've thanked you! :D

PS: I put the recovery in my thread, as I did with the COT, and I also Quoted you and this 2nd post, okay?
 

praderj

Senior Member
Jun 26, 2013
251
177
0
Bangalore
www.getcooltricks.com
All done. The source is adapted to 6.0.4.0 version of CWM. All resolutions recoveries compiled again with new version, and I hope the overlaping issue is gone.

In attachment are ported recoveries for Cubot A890 and Star B6000.
Bro @carliv I've ported this new recovery and its very good.. but a little problem with it is after finished installing the zip updates it never returend to the main menu.. to go out of recovery I'm removing the battery.. even the volume and power buttons also failed to work.. this problem shows up rarely and rest of the time it was good... and brother I'm moving my tjread for celkon here
http://forum.xda-developers.com/showthread.php?t=2473641

Please update it brother. The old thread is discontinued.. and one again a tons of thanks for you recoveries...

Sent from my Celkon A97i
 
Last edited:

bluefirebird

Senior Member
Mar 23, 2013
1,027
5,025
0
carliv.eu
Bro @carliv I've ported this new recovery and its very good.. but a little problem with it is after finished installing the zip updates it never returend to the main menu.. to go out of recovery I'm removing the battery.. even the volume and power buttons also failed to work.. this problem shows up rarely and rest of the time it was good...

Sent from my Celkon A97i
That's because the recovery doesn't exit from zip updater-script. Ask who write that script to do it better, with necessary unmount and clean up entries.
 

praderj

Senior Member
Jun 26, 2013
251
177
0
Bangalore
www.getcooltricks.com
That's because the recovery doesn't exit from zip updater-script. Ask who write that script to do it better, with necessary unmount and clean up entries.
Brother I myself wrote it and it has correct format as you said.. it unmounts all the mounted partitions and also cleans up the temp files.. when I tried to flash the same recovery again the process went good.. ssometimes it stuck in the flashing screen and never returns.. it occured twice of my 13 tries..:D..

Sent from my Celkon A97i
 
Status
Not open for further replies.