Android Tablets Forum banner
1 - 20 of 42 Posts

·
Super Moderator
Joined
·
1,192 Posts
Two (or four) experimental tools. Flashed in recovery mode.
For making compatibility zips for Christian Troy's ROMs
and to convert stock into the bnmguy's CWM recovery.

Check also my other thread "Portable versions of custom recoveries, CWM and TWRP"
That version now also includes a converter so it is now a better way to test + install the CWM recovery.


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

The original thread of the CWM based recovery by bnmguy
http://www.slatedroid.com/topic/71985-cwm-recovery-updated-new-version/

The original thread of the TWRP recovery by Christian Troy
http://www.slatedroid.com/topic/91617-custom-recovery-twrp-v2630/

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

Stock2CWMconverter (CWM-recovery maker)

Converts tab's own stock recovery into bnmguy's CWM, which then
has the orig. kernel and uses it own modules.
That way it should be more compatible.

Needs a working system to install properly, i.e. rec, misc, system.

Download: http://yadi.sk/d/I0tjqlQQJBq2x

Custom Recovery Tester (for CWM and TWRP)

Flash this right after flashing a custom recovery.
It makes a custom recovery to revert back to stock
after its first boot. Stock file rec_bak.img must exist!

Can be also used later as a CWM remover tool. As a remover if system
isn't ok, then extract the zip inside and flash it normally yourself.
(or download it from here, Custom Recovery Remover: https://yadi.sk/d/Er8Ov0wNeYyWG )
(edit: above remover gives an error when flashed manually, but it works ok.)
(here is a new one, file rec_bak.img must exist! https://yadi.sk/d/8wRGbg1zmcTXV )

(I don't recommend flashing Ainol TWRP's to other
devices without modifying them first.)

Download: http://yadi.sk/d/S9LMIIPsJL7ah

Boot2CT's Boot Converter (Compatibility zip maker)

Tries to make compatibility zips for Christian Troy's ROMs,
It grabs values etc. from the current (stock) system, so it
must be runned before installing CT's ROM. The stock must
be version 4.2. Version 4.1 won't do.

The install order when using this tool (updated 14-03-18)

1. Install TWRP or CWM recovery
2. Flash Boot2CT's Boot Converter
3. Flash a CT's ROM (and the gapps.)
4. Flash Boot2CT's Boot Converter again
5. Do the factory reset

Download for CT's 4.2 ROM's: http://yadi.sk/d/4vhgriElJKrH6
Download for CT's 4.3 ROM's: http://yadi.sk/d/OtboNOfsJKrJD

Christian Troy's 4.2 ROM's: CM10.1 - AOKP (4.2)
Christian Troy's 4.3 ROM's: CM10.2 - AOKP (4.3) - ParanoidAndroid (4.3)

An example of more advanced usage
(see also http://www.slatedroid.com/topic/102857-compatibility-zip-maker-and-cwm-recovery-maker/?p=1185105)

The way it should work for Hannspad is this (hopefully).

A. Install the 4.22 stock firmware of your choice.
B. Extract following files from the Boot2CT's Boot Converter and edit them (Notepad++)
1. boot2ct-stockfiles.txt (remove all the comments (#comment#) from the file names)
2. boot2ct-add2build.prop (remove the comment (#) from the BT line's start)
3. boot2ct-otherfiles.tar (no editing)
C. Put the above three files to your internal memory (/mnt/sdcard/)
D. Put a Christian Troy's ROM (and the gapps.) to your external memory (/mnt/sd-ext/)
E. Put Boot2CT's Boot Converter there as well (to your external memory (/mnt/sd-ext/) )
F. Enter to recovery. Do the factory reset just in case. Do the flashing sequence below
1. Install TWRP or CWM recovery (if not already installed, reboot the recovery)
2. Flash Boot2CT's Boot Converter
3. Flash a CT's ROM (and the gapps.)
4. Flash Boot2CT's Boot Converter again
5. Do the factory reset
G. Enjoy your new ROM (and if you do, go ahead and click Mr.Troy's donate button)
(For CWM or TWRP see this thread 1st: http://www.slatedroid.com/topic/107322-update-now-includes-converter-portable-versions-of-custom-recoveries-cwm-and-twrp/ )

Before using any of these tools make sure that you have a backup or a working
firmware saved somewhere, and that you are able to restore it too! [email protected]


If you find these tools working, please post the the tablet info to this thread.
 

·
Super Moderator
Joined
·
1,192 Posts
Discussion Starter · #6 ·
The tools work, that I guessed already. Too bad the CM didn't.

Apparently if the tablet differ too much from those orig. Ainol tabs

the small changes the tool makes aren't enough.

Thanks for testing and for the feedback!
 

·
Super Moderator
Joined
·
1,192 Posts
Thanks for testing. (These tabs seem to differ even more than I thought... odd though..)

Good that there was an error. Better it than a ruined recovery.

What tab you have? Could you PM me the recovery.img?
 

·
Super Moderator
Joined
·
1,192 Posts
Discussion Starter · #10 ·
Boot2CT's Boot Converter updated (both of them). Download links are the same.

Added copying of touch configuration files which might fix some touch issues.

I also made the script a bit slower to avoid some errors.

Thanks for all the testing and the feedback!
 

·
Super Moderator
Joined
·
1,192 Posts
Do you mean the CWM or some ROM by Mr.Troy? (Probably ROM because there is already a CWM recovery for hanspree,
made by someone who probably used more time to remove bnmguy's name from it than changing the few modules in it.
Not very honest behaviour using hex editor this way, IMHO. Yes, I mean you "Mr" "fipsy" of xda...)
0_13a186_6c116091_L.jpg


Do you have a link for the firmware?
I would like to check it out, even that I most likely cannot do nothing more than the zip did...
 

·
Super Moderator
Joined
·
1,192 Posts
Discussion Starter · #15 ·
> CyanogenMod logo, the screen was weirdly stretched at the left side of the screen. (Oval logo getting out of the edge of the screen).

This is correct behaviour which CT refers as a "cosmetic issue of the boot in portrait". It should center itself after some waiting.

Converter of 4.2 used for a 4.3 ROM (and vice versa) or a forgotten factory reset makes it stick to the bootanimation.

Naturally there is other possibilities too. Like the copying of BT related files if they are found.

That approach wasn't a working idea and probably has messed the CM in this case.

(if bt is wanted the system files in Discovery comp zip(s) might work in Hannspree too)

Hannspree doesn't need the touch configs but some file from lib/hw dir might help the rotating, like "sensors.ATM702X.so"

I'll make a new one that lets user decide what files are copied from the stock if any...
 

·
Super Moderator
Joined
·
1,192 Posts
Discussion Starter · #16 ·
Boot2CT's Boot Converter updated (yes, both of them). Download links are the same.

Now it's run before and after flashing a ROM by Christian Troy.

Copying of stock files removed (still possible as "extra" feature).

Read the included README and example files for more info.

for Alv's tab...

to /sdcard/boot2ct-stockfiles.txt

/system/usr/idc/gslX680.idc

guesswork for Hannspree...

extract included boot2ct-otherfiles.tar file to sdcard
to /sdcard/boot2ct-stockfiles.txt
/system/vendor/lib/libbt-vendor.so
/system/etc/firmware/rt*
/system/lib/hw/sensors.ATM702X.so
 

·
Super Moderator
Joined
·
1,192 Posts
Thanks for testing. :good:

Usually one can enter to adfu mode by booting tablet pressing power and vol+(or home) at the same time.

Then the program should recognize the tab. If not then there is an update.zip at Chili Green's downloads

http://download.chiligreen.com/treiber.asp?s=Tablet&m=HT400&k=update

Edit: oops, it's just the fw files zipped. I see if I can find it elsewhere...

Hopefully it'll work in CWM. If it doesn't you probably can use my Images2partitions tool to write that misc + system back.

http://www.slatedroid.com/topic/68706-tablet-in-sleep-turns-off-then-huge-battery-drain/#entry933505

Edit2: No luck finding a ready made update.zip, but the tool above should do its job just fine.
 

·
Super Moderator
Joined
·
1,192 Posts

·
Super Moderator
Joined
·
1,192 Posts
Discussion Starter · #33 ·
So you could navigate when using the stock recovery...
Which one you flashed? This "cwm-maker" or the one made for Loewenzahn?
You could try the other one too if it works better...(flash over stock recovery)
 

·
Super Moderator
Joined
·
1,192 Posts
Discussion Starter · #35 ·
The one button usage is defined in the FW file but if it doesn't work
then it's also defined in drivers or in the recovery program itself.

The "cwm-maker" use your own drivers which might help, but if the tweak
is in the recovery then you'll probably just have to settle to the stock.

One more option is that you use CWM with ADB...

CWM-ADB-Commander (a batch file + some files possibly needed)
https://yadi.sk/d/R84lw4W5ZmXsK

ADB drivers
http://www.slatedroid.com/topic/70585-adb-drivers/
 

·
Super Moderator
Joined
·
1,192 Posts
Discussion Starter · #36 ·
One more thing you could try. TWRP test for MPQC784
https://yadi.sk/d/xLXiYkCMZmtqF

Used Discovery's package. I just changed its touch driver.
The screen size match, also rotations look promising to me.
But I can be wrong, as the rotations are quite difficult.
It could be that the touches materialize upside down...
 

·
Super Moderator
Joined
·
1,192 Posts
Discussion Starter · #38 ·
Well, you could try the CWM-ADB-Commander if it works in your tab.
Just unzip it to the same folder as adb.exe and run the batch.
CWM ADB Commander by CXZ

setup sendevent command (=toolbox)

[1] goes down (114,VOLUME_DOWN)
[2] goes up (115,VOLUME_UP)
[3] selects (116,POWER)

[4] (139,MENU)
[5] (102,HOME)
[6] (158,BACK)

[A] send any key code
[X] exit to command prompt

[S,1,2,3,4,5,6,A,X]?

There is change that the one button setting will interfere its function,
but the config.xml setting file indicate that it might work anyhow.

Other option is that you flash the stock recovery back using the PAD product tool.
(just recovery, no flash erase nor any formatting settings)
 

·
Super Moderator
Joined
·
1,192 Posts
Did you do the setup first? By default CWM doesn't come with the sendevent command which is needed.
(yes, some help file would be good). Actually it probably doesn't work anyway because you have only
one button/device unless there is two devices configured and it somehow handles them both...

In Pad tool select the "Advanced config" box and then you can unselect the options you don't want.
 

·
Super Moderator
Joined
·
1,192 Posts

·
Super Moderator
Joined
·
1,192 Posts

·
Super Moderator
Joined
·
1,192 Posts
Hmm.... The TWRP for Discovery did similar thing on my Crystal 2 too.

After I changed all its drivers+kernel to mine, it had mirrored touch screen but it worked.

Kind of - its screen was really really dark, so there is some issues that might

show itself even if the touch drivers happened to work ok.

Using the newest PAD Product toll I have flashed just Recovery with just it (+ Multiple Partition Image and Production) checked.

But earlier I have had some issues when the boot partition wasn't checked. So to be certain check

the "Production", "Multiple Partition Image", "Boot Partition" and "Recovery Partition". Uncheck everything else.
 

·
Super Moderator
Joined
·
1,192 Posts
Yet one more "bnmguy's CWM based recovery v6.0.3.3". A "fake-flash" version.
It doesn't change the orig. recovery, so it could be safer to test.
Download: http://yadi.sk/d/PBT5BnNAbgeHc

Usage: Just "flash" it and CWM recovery soon starts.
On older stocks adb might not work but otherwise it should be ok.
(Haven't really tested it much though. Works as well as the original.)
 
1 - 20 of 42 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top