Jump to content


Photo

Portable versions of custom recoveries, CWM and TWRP

custom recovery CWM TWRP experimental tools

  • Please log in to reply
48 replies to this topic

#1 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 26 October 2014 - 05:25 AM

More experimental tools. As usual, no guarantee of any kind.

Use at your own risk.


------------------------------

Updated portable custom recovery versions are in this post
http://www.slatedroi...twrp/?p=1280178

The original thread of the CWM based recovery by bnmguy
http://www.slatedroi...ed-new-version/

The original thread of the TWRP recovery by Christian Troy
http://www.slatedroi...ery-twrp-v2630/

------------------------------

bnmguy's CWM portable

Some time ago I made a portable, fake-flash or non-installing version of bnmguy's CWM.
It doesn't/shouldn't modify the current recovery in any way. One just flash it in recovery
mode and the custom recovery soon starts. Fixed the 1970's backup date bug, and now
the "mount USB storage" should work too. (my older installer packages are also updated, 2015-01-27)

For more information, read the included readme.txt inside the main zip file.

Download: https://yadi.sk/d/PBT5BnNAbgeHc

------------------------------

bnmguy's CWM touch portable

Now I made a bnmguy's CWM recovery that has the touch screen enabled.
In that, one first have to define three spots on the screen that then
can be used for going up, down and selecting. It too is a portable version.

For more information, read the included readme.txt file.

Screenshots (define spots and spots defined): https://yadi.sk/d/euawdcVecHxag
Download: https://yadi.sk/d/GnxYmrZIc93xS

------------------------------

TWRP by Christian Troy portable

I also made a similar package for the TWRP recovery by Christian Troy.
It needed much more work and testing than CWM. (Big thanks to LuckyMe
for patient testing.) Especially the touch screen rotation is problematic,
only four options, so it might not work on all devices out there.

Like the above CWM touch version it tries to find the correct touch screen driver
unless the touch module file is in the root of the internal or external storage.
In that case it's used. It also contains all the TWRP's default themes and tries to
use the one that suits best. Read the included readme for more information.

Screenshots (selecting the touch screen rotation): https://yadi.sk/d/cyciqsDZcHxeN

Download: https://yadi.sk/d/3BgifXkdbucet

Static-path version 2015-12-29, see the edit below.
https://yadi.sk/d/NdluduwMmaowV

------------------------------

Later, I might make "stock 2 custom recovery converter" for them... Done!

edits:
Updated 2014-10-27. Both touch versions should be more compatible now. Thanks to Filipitripi for testing + feedback!

Updated 2014-10-31. All versions now have the permanentize.zip inside the main zip file.
Extract and flash it in a working portable recovery to make custom recovery permanent.
You can also run "permanentize" in terminal to do the same thing. (Read also the readme.txt.)

Updated 2015-12-29. A version that has a static (not serial based, shorter) backup path.
/sdcard/TWRP/BACKUPS/--date--backup-name--
/emmc/TWRP/BACKUPS/--date--backup-name--

Updated 2017-02-12. Updated versions for all portables. Now they support SDKv3.6.
Also the old CWM touch portable is now fixed so it starts when flashed over the stock recovery.

Important! Use stock recovery as the one to be permanentized. Otherwise it might fail.
Also just in case do not permanentize if you have tried these over each other.


For an example of using the TWRP portable, see this very good and detailed report by AmberCorsica!
http://www.slatedroi...twrp/?p=1246954

Another permanentize zip for those who want to use CWM/TWRP when flashing stock firmware updates.
Custom recovery then uses the same properties as the stock.
https://yadi.sk/d/YE07RlRZmcQAC

Stock Recovery Restorer (in case needed): https://yadi.sk/d/8wRGbg1zmcTXV

------------------------------

Edited by cxz, 12 February 2017 - 11:02 AM.

  • Filipitripi, LuckyMe and iBullRay like this

#2 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 26 October 2014 - 05:26 AM

Screenshots above taken using my Recovery Screenshotter (for ARM7) (for some ARM7)
downloadable from here: https://yadi.sk/d/69Hebysgc5KVo
(please read the included readme.txt file for usage instructions)

Edited by cxz, 29 May 2015 - 02:53 AM.


#3 Filipitripi

Filipitripi

    Member

  • Jr. Member
  • PipPip
  • 17 posts

Posted 26 October 2014 - 06:59 AM

Hi CXZ a lot of thanks for your work :D

bnmguy's CWM touch portable Give me an error at final and dont convert my recovery.....

TWRP by Christian Troy portable Stuck on "TWRP recovery starts..." and dont reboot or convert.....

If i can help in something more just tell me...Like test or logs ......

 



#4 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 26 October 2014 - 07:06 AM

Thanks for testing.

Yes, they don't convert the stock.

Some questions

Did you flash in the stock recovery?
What kind of error CWM touch (portable) gives?

TWRP (portable), could you try again...

Flash the first one, CWM (portable) without the touch.
If it works, I might have to use the older,
more brutal way to force recovery to restart.

Edited by cxz, 26 October 2014 - 07:18 AM.


#5 Filipitripi

Filipitripi

    Member

  • Jr. Member
  • PipPip
  • 17 posts

Posted 26 October 2014 - 07:11 AM

Yes the first one...your original stock CWM converter  work for me.....
I test the recoveries from stock....i will try with CWM now....



#6 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 26 October 2014 - 07:19 AM

I meant the first one of these new portable ones.

#7 Filipitripi

Filipitripi

    Member

  • Jr. Member
  • PipPip
  • 17 posts

Posted 26 October 2014 - 08:52 AM

Hi one more time :D

- The first recovery of the post work good....When install .zip at final reboot to CWM, after reboot recovery is stock again....
- The second recovery of the post...bnmguy's CWM touch portable  give me this error:

IMAG0106.jpg
- The third recovery stuck on a message "TRWP starts..."

I use stock recovery and 4.2.2 FW to test the recoveries...
If i use CWM to flash TWRP dont work either.....

i hope this can help you in your work :D

 


 

Attached Files



#8 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 26 October 2014 - 09:26 AM

Thanks! It tells me that I still have some work to do.  :crazy: 
Good at least that the first one worked...
 
I wonder..could it be that the Actions's touch module detector doesn't recognize your touch driver?
Has any new *.ko files emerged to your internal or external SD card?
 
If not, then what is the result of flashing this module detector?
http://www.slatedroi...odule-detector/
 
If it doesn't recognize the touch driver, you can bypass that problem by copying
the touch module (ctp_*.ko/touch*.ko) from the misc/modules folder to your sdcard
with name CWMportable+touch.ko or TWRP-portable.ko depending which one you flash.
 
edit: CWMportable's ko file name corrected. Thanks Filipitripi for noticing!

Edited by cxz, 26 October 2014 - 11:50 AM.


#9 Filipitripi

Filipitripi

    Member

  • Jr. Member
  • PipPip
  • 17 posts

Posted 26 October 2014 - 10:01 AM

You are right Actions module detector dont work....i dont have any new *.ko on sdcard or sd-ext...
If i use your module detector only detect g-sensor....
I have ctp_zet6221.ko touch panel module....

If i use ctp_zet6221.ko or rename to TWRP-portable.ko to sdcard or sd-ext i have a fail...
"dont find /sdcard/TWRP-portable.ko".....

 



#10 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 26 October 2014 - 10:16 AM

The "dont find /sdcard/TWRP-portable.ko" is default message, just a possible candidate what went wrong.

But it must be failing because of some other reason.

I'll PM you some more questions...



#11 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 31 October 2014 - 05:06 AM

Updated, bugs fixed and a converter (or a "permanentizer") added...

#12 ali2163235

ali2163235

    Newbie

  • Jr. Member
  • Pip
  • 1 posts

Posted 15 November 2014 - 01:30 AM

Hi can you tell me how I can fixed mashup on xbmc


Sent from my iPhone using Tapatalk

#13 insomniacno1

insomniacno1

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 42 posts

Posted 04 January 2015 - 11:34 AM

Great work:)

 

Any chance this can be made to work on Allwinner A20 7" tablet with touchscreen volume up/down - I have been looking for TWRP for a long time now, but not had any luck finding something that works without causing harm to the tablet(Brick).

 

There are recoveries outhere but mostly for tablets with hardware volume buttons, not many for the touchscreen kind:(

 

With kind regards

 

JBJ


  • cxz likes this

#14 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 04 January 2015 - 01:49 PM

Thanks! I still don't have any experience about Allwinners... ;)

If you have found otherwise working CWM (same partitioning etc.) for your device,
you can try if my CWM ADB Commander works with it: http://www.slatedroi...-2#entry1226762

I image that the touch spots can be used similar way in a A20 CWM,
but without a device it would be quite a guess work really.

Now searched again but only found some Minami M-750 firmware: http://www.ant.ph/sh...ead.php?t=18903
Correction: The firmwares there are A20 but not necessarily for Minami's. Last one has similar modules though.

edit:
Okay insomniacno1, I have checked these Allfines a bit more. If yours is similar, it might be possible
to convert you a TWRP. Upload your recovery partition somewhere and I'll try it, or if bad connections,
PM me and we continue from there. No promises though...

Edited by cxz, 05 January 2015 - 03:24 PM.


#15 insomniacno1

insomniacno1

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 42 posts

Posted 08 January 2015 - 03:03 PM

Hi, I have sent you a pm with the link to my recovery image:)

 

JBJ



#16 insomniacno1

insomniacno1

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 42 posts

Posted 08 January 2015 - 03:28 PM

More about this tablet here:

 

http://androidfragme...ase/v/dr/656187

 

 

Attached is a screenshot of the partions

 

 

 

List of Modules:

cdc_ether 2906 0 - Live 0x00000000

rtl8150 8154 0 - Live 0x00000000

mcs7830 4947 0 - Live 0x00000000

qf9700 5167 0 - Live 0x00000000

asix 12313 0 - Live 0x00000000

usbnet 12504 4 cdc_ether,mcs7830,qf9700,asix, Live 0x00000000

sunxi_csi0 28580 0 - Live 0x00000000

gc0308 10968 1 - Live 0x00000000

gc2035 12910 1 - Live 0x00000000

camera 39005 1 sunxi_csi0, Live 0x00000000

videobuf_dma_contig 3816 1 sunxi_csi0, Live 0x00000000

videobuf_core 15283 2 sunxi_csi0,videobuf_dma_contig, Live 0x00000000

gslX680 739497 0 - Live 0x00000000

ft5x02 45455 0 - Live 0x00000000

ft5x06_ts 168678 0 - Live 0x00000000

inet_ctp 1690 3 gslX680,ft5x02,ft5x06_ts, Live 0x00000000

rtk_btusb 20038 0 - Live 0x00000000

mma865x 6255 0 - Live 0x00000000

bma250 6919 0 - Live 0x00000000

mali 184282 40 - Live 0x00000000 (O)

ump 30088 13 mali, Live 0x00000000 (O)

hdmi 22078 0 - Live 0x00000000

lcd 4334 0 - Live 0x00000000

disp 258280 14 mali,hdmi,lcd, Live 0x00000000

nand 132612 8 - Live 0x00000000 (O)
 

Attached Files


Edited by insomniacno1, 08 January 2015 - 03:32 PM.


#17 Steve30x

Steve30x

    Member

  • Jr. Member
  • PipPip
  • 20 posts

Posted 19 January 2015 - 09:55 AM

TWRP portable works no problem with my Hannspad T71 but when I permanantize it my tablet no longer boots into recovery> What I done was extracted the permantize zip and ran it. It says all is ok and reboots but hangs at the hannspree logo


  • cxz likes this

#18 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 19 January 2015 - 11:30 AM

Thanks for testing!

Some questions:

1. Did you flash it over the stock recovery?
2. And you didn't possibly try the CWM portable before the TWRP?
3. Which one of the four possible touch rotations worked in Hannspad?

#19 Steve30x

Steve30x

    Member

  • Jr. Member
  • PipPip
  • 20 posts

Posted 19 January 2015 - 11:57 AM

Thanks for testing!

Some questions:

1. Did you flash it over the stock recovery?
2. And you didn't possibly try the CWM portable before the TWRP?
3. Which one of the four possible touch rotations worked in Hannspad?

1) No I have Flipsys CWM installed

2) I tried CWM portable first and didn't like it. The text size is too small and I kept touching the wrong thing I wanted to use.

3) I dont understand this question.

 

It would be nice if I could have TWRP as my default recovery though. Ive been using TWRP in my Acer A500 with a year and a half now and much prefer it over CWM



#20 cxz

cxz

    Advanced Member

  • Moderator
  • PipPipPip
  • 1,091 posts

Posted 19 January 2015 - 12:17 PM

Try using the stock recovery under it and don't test any CWMs before it.
I assume then the first rotation was the right one. You didn't see the rest.

>The text size is too small and I kept touching the wrong thing I wanted to use.
Seems you have tried the CWM touch version. No much use if you have working buttons.
Again you might try using the stock recovery under it, although cannot say if it helps the size issue.





Also tagged with one or more of these keywords: custom recovery, CWM, TWRP, experimental tools