yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] bovirus:
What do you to add this instruction to help to flash custom recovery first time

- Download the following files and save them to your PC http://www.mediafire.com/?4dx982z93w8z7wk

- Downlaod the TWRP recovery

- Extract the Fastboot.zip file and place the extracted files inside a single folder. You should acquire 4 files, namely:

adb.exe

AdbWinApi.dll

AdbWinUsbApi.dll

fastboot.exe

- Expand TWRP recovery archive file and rename the downloaded TWRP file as recovery.img (for easier reference).

- Copy or move the recovery.img file to where fastboot.exe is located. You should have a total of 5 files by now.

- Switch off your tablet.

- Boot into Fastboot Mode by pressing and holding down the [Power] and [Volume Down] buttons until you see the message “Press Vol Up to enter RCK”.

- Release the buttons when you see this message and wait for about 5 seconds. A new menu appears. Press the [Volume Down] button to select the USB icon, then press the [Volume Up] button to confirm your selection within 10 seconds, or else your tablet boots into Normal Mode.

- Connect your tablet to your PC via USB cable. Pelase check theat tehd evice is right rcognzied (you should install Asus USB driver)

- On your PC, go to the Fastboot folder and open a command prompt window. You can do this by pressing the Shift key on your keyboard and right-clicking on the empty white space inside the folder, then selecting “Open command prompt here” from the context menu.

- Enter the following command at the command prompt to install TWRP Recovery.

fastboot -i 0x0B05 flash recovery recovery.img

- After installing, disconnect your tablet and reboot.

fastboot reboot
[Transformer TF300T Android Development] ne0zone75:
[MENTION=637263]bovirus[/MENTION]

Good morning,

Have you successfully tried this solution for yourself ?!

Now ! Before posting any external download link in MY thread, PLEASE refer to me over PM before doing so ! :angel:

Thank you !

Sent from my GT-I9195
[Transformer TF300T Android Development] ne0zone75:
Yes ! GRIMLOCK is a must have kernel for your tablet and AFAIK [MENTION=2158597]hardslog[/MENTION] is always building it with Linaro GCC (compiler) so there should be only one edition for each version : the latest one v5 is for use with lollipop custom ROMs, while previous one v4 is for use with kitkat ones. Anyway, you will find all you need to know about this custom kernel in this thread...

I am glad that you did find previously linked thread interesting BUT do not forget to thank [MENTION=5693610]das chaos[/MENTION] because informations in it are coming from him !

Regards

Tapatalked from my D821
[Transformer TF300T Android Development] EpicLPer:
Hello,

Thanks for your reply once again. Yeah, I saw that thread already but he provides a "Mirror 1" download link which has 2 different versions, one being the Linaro and one being the non-Linaro version. I'm just asking myself if that has something special to do with the tablet or thing that's installed on it (to not have a potential bootloop/softbrick).

http://xdaforums.com/devdb/project/?id=3448#downloads

Hope you can once again help, you've been a good pal today and I can't give you enough Thanks heer on XDA ;)
[Transformer TF300T Android Development] ne0zone75:
Just search for the reason of sharing two edition of the same kernel version (standard vs. Linaro) from inside previously linked thread...

I do not know why it is so...

Anyway, IMO you can safely flash one edition or the other because if Linaro one is not booting for you, you will still be able to flash standard edition over it...

Good night !

Tapatalked from my D821
[Transformer TF300T Android Development] hardslog:
2 versions are the for fun and because no 2 tablets are created equally. Theoretically the "Linaro" build uses a "more optimized" toolchain to compile the kernel, therefore leading to better performance in the kernel. The regular Grimlock kernel is using the tried tested and true (but older) toolchain so in theory may not have quite the same performance. I created the 2 just to see if there would be any real world difference and releasing them out in the wild can give me feedback from the users :)
[Transformer TF300T Android Development] lj50036:
[MENTION=5280400]ne0zone75[/MENTION]

We should open this thread back up ....

I have a build that would be a very good addition for all ..... :good:

I will be here to help and build and even release these builds if need be ....

The source is all on git so thats not an issue ...... :p

Let me know ..... Thx Josh
[Transformer TF300T Android Development] ne0zone75:
Good evening Josh,

Since official TWRP support is back for Transformer devices, i think that it is useless for me continue to offer updates to this project as is... i started it because there was not official support...

Furthermore i do not own a TWRP enabled Transformer tablet anymore (i do own a TF701T) which is the secondary reason that made me stop this project recently...

Nevertheless you are more aware than me of Transformer users needs so it will be a great pleasure to let you re-continue this project ! Just let me know how you do want to proceed : you can take ownership of it if you want to or you can start a new one of course...

Kindest regards

Tapatalked from my XT1068
[Transformer TF300T Android Development] lj50036:
http://xdaforums.com/transformer-tf300t/development/recovery-twrp-t3046479

Started a new one .... :p

Thx Josh
[Transformer TF300T Android Development] ne0zone75:
Allright,

Good luck with it !

All the best

Tapatalked from my D821
[Transformer TF300T Android Development] skooter32:
Don't work with me170c K017 any ideas??
[Transformer TF300T Android Development] AndyYan:
Installing on a totally different and incompatible device is your fault.

Sent from Google Nexus 4 @ CM12.1

[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
[Transformer TF300T Android Development] bovirus:
I posted the link because is not relative to teh subject of the forum (it's adb driver).

I tested it sometiems ago with a old version of CWM recovery.

But teh provcess is universal for eacjh recovery,

Tomorrow I will reiceive a new TF300T (stock) and I will test it with your recovery (2.7.1.0).

A good idea could be also to add as backup teh srock original recovery...
[Transformer TF300T Android Development] ne0zone75:
Yes ! I do agree with you that it is not another TWRP build BUT i wanted to point out that i do not know anything about the origin of this file, that is all ! Furthermore, this solution is for 'Windows' based PCs ONLY...

Regards

Sent from my GT-I9195
[Transformer TF300T Android Development] bovirus:
If you like I can packed the adb tool (updated now to 1.9.2) and send you it and you decide how to distribute it.

Yes of course the explanation about first recovery mod flash is just for Windows.

But probably Windows it's the most sued platform for pc used with USB and phones.

It's a start point. In the first thread there isn't any detail about it and I believe that many suers don't knnow how to make the fisrt flash for recovery mod.

I tested it with a new TF300T. It works.

I prepared a batch file that with ADB tools (adb.exe/fastboot.exe) make all things

restart the device in bootlaoder mdoe (fastboot)

flash the recovery in fastboot mode

restart the system in normal mode

restart the system in recovery mode (to etst the recovery)
[Transformer TF300T Android Development] bovirus:
[MENTION=351685]Ne0[/MENTION]one75

Could you post the configuration file (BoardParameter) that you used to compile TWRP?

I want to try to compile myself.

Thanks.
[Transformer TF300T Android Development] ne0zone75:
Hello and sorry for having being long to reply,

Yes ! If you are still interested in my TWRP build flags, i could post them here...,

Just let me know...,

Kind regards
[Transformer TF300T Android Development] bovirus:
Yes. I'm very interested. Thanks.
[Transformer TF300T Android Development] afzalarsalan:
Is there anyway to format to f2fs with the dev recovery? I've tried formatting but it only goes to ext4

EDIT: I found the menu, but it doesn't seem to be able to format properly? Is this patch included?
[Transformer TF300T Android Development] ne0zone75:
Hello, it is quite strange because it has always worked for me...

Anyway, as it has been already announced, my TWRP projects over xda are quite freezed BUT not discontinued... i will work again on them this summer...

Does the formatting process complete successfully for F2FS (and which is / are your target partition / s...) ?!

Regards
[Transformer TF300T Android Development] ne0zone75:
I will update post #1 with corresponding build flags as soon as possible...

Nice evening
[Transformer TF300T Android Development] afzalarsalan:
Primarily data since that's the only partition that's working with f2fs kernels at the moment. When I change the file system, the recovery is unable to find the partition even after reboot. Just get a 0mb large partition
[Transformer TF300T Android Development] ne0zone75:
I will look at it as soon as possible. Thank you for reporting back and for your patience...

Yes ! Both STABLE and DEV branches are including this patch from OmniROM, otherwise /boot and /recovery would not expose themselves correctly at all (whatever filesystem is used...).

Regards
[Transformer TF300T Android Development] das chaos:
FYI:

I deinstalled your dev TWRP because it didn't mount/show my microSD. I reverted back to Geass' TWRP which can format /data with f2fs also.
[Transformer TF300T Android Development] ne0zone75:
Hello and sorry for having freezed all my projects in the hurry a little bit. FTM i will not offer any updates to my TWRP projects (Trasfomer Pad & S4 mini) because i have almost no time to update them !

I will let you know when i will ˋunfreezeˋ them ;)

My very best regards

Tapatalked with my TF701T
[Transformer TF300T Android Development] ne0zone75:
TWRP for TF300T will be updated today ;)

Good morning,

I will release today a significant update for this project : among many other things the 'take a screenshot from recovery' feature will now be included in the STABLE branch because it has been merged upstream :good:

Stay tuned !

UPDATE

: TRYOUTS builds released ! :cowboy: :good: -> everything is updated and explained in post #1 ;)
[Transformer TF300T Android Development] ne0zone75:
It's me again ;),

If anybody take some screenshots from recovery with latest tryouts, it would simply be really great ! I will include them in corresponding tab of this project... ;)

Have a sunny day !

Tapatalked from my TF701T
[Transformer TF300T Android Development] ricktendo:
Tryouts did not work for me, the menu buttons were all out of whack, could not take screenshots for you
[Transformer TF300T Android Development] ne0zone75:
Good evening and thanks a lot for your precious feedback,

I will carefully recheck my TWRP build flags -> TWRP source code has been modified a lot since June 2014, so its build flags need to be adjusted a little bit i think.

Anyway thank you a lot, did you try to boot the recovery image like i described into post #1 or did you installed it as usual ?

Have a pleasant evening ;)

Tapatalked from my TF701T
[Transformer TF300T Android Development] ricktendo:
Flashed it via TWRP as usual, when reverting to previous stable put the latest stable zip in cm updater and use that automated install (because could not do it via TWRP)
[Transformer TF300T Android Development] ne0zone75:
Allright, so you do have a working build from STABLE branch isn't it ? You did manage to revert from TRYOUTS... that is just fine ! :good:

INFO

: according to [MENTION=5623700]ricktendo[/MENTION] feedback, it seems that current TRYOUTS build is broken ! Anyway i will update it very soon BUT please consider the safest method described into post #1 (booting recovery image WITHOUT flashing it at all onto your device) instead of regular flash procedure. Besides, its image is flashed to the staging partiton of your tablet, SO it will not harm your Transformer Pad in any case (if it happens someday for you to be stucked somewhere while having flashed any of my TRYOUTS build, then simply power off your tablet and power it on back) => /staging is cleared and you will be ready to go again :good:

Kind regards
[Transformer TF300T Android Development] das chaos:
Same here. Double screen. No working surface.
[Transformer TF300T Android Development] ne0zone75:
Hello there and good morning to you,

Thank you for having tested latest TRYOUTS build ! :good:

New one is building and should work as intended because i've just recovered from a data disaster on one of my build boxes and restoration messed my Android sources up a little bit :X

Besides, my sources are now properly restored and i am currently building current weekly (7.4) for TF300T/TF201 AND new TRYOUTS recovery which should go to the STABLE branch... ;good:

Again, sorry for the inconvenience with current TRYOUTS recovery,

My very best and kind regards

Tapatalked from my TF701T
[Transformer TF300T Android Development] ne0zone75:
New TRYOUT is online !

Good afternoon,

Post #1 is updated for this new build which should work well... :fingers-crossed: (Dev-Host ONLY for the moment; xda downloads tab will be updated later...)

Execution / Installation / Upgrade lis the same as previous TRYOUT build ;)

Does anybody could take screenshots of this build running please ? I would like to update the screenshots section of this project a little bit, thanks !

As usual feel free to post any comment / feedback here...

Nice day to all of you :D
[Transformer TF300T Android Development] das chaos:
New Tryout dev running fine this time; probably faster than other TWRP builds..

Except: Screenshot function doesn't seem to work. On pressing power +vol up TWRP makes sort of flashing and clicking but there is no /Pictures/screenshot directory on my miniSD. Didn't find screenshots on other locations.

Edit: doesn't work fine! Tryout doesn't recognize Internal storage showing 0 MB. In terminal there is no /storage mounted. Probably TWRP tryout doesn't recognize f2fs partition. Msg: "unable to mount E:/data"
[Transformer TF300T Android Development] ne0zone75:
Allright,

You are absolutely correct : current TRYOUTS does not handle F2FS partitons at all -> besides, this is planned ;) You can format any partition to F2FS with it BUT these builds cannot mount them at all ! (kernel side not implemented yet...)

I am not surprised that they are fast because they have been compiled using Official Linaro GCC toolchain 4.7 (kernel) + 4.8 (executables) with O2 optimizations of SlimKAT ! :good: Thank you for confirming it :D

Anyway, since your device's screen blinks shortly while pressing power + vol. up, that means that scrrenshot feature is working BUT it cannot store the screenshot anywhere (mount issue) => default location is microSD AND if not available, it will go to tmp directory OF the running recovery...

My very best greetings
[Transformer TF300T Android Development] das chaos:
Keep on going!

... but you render me puzzled: how can you format a partition f2fs if you cannot mount it?
[Transformer TF300T Android Development] ne0zone75:
There is a mkfs. f2fs executable embedded into the recovery which can run it (ramdisk) BUT its kernel is not F2FS enabled at all. So 'converting' any filesystem to F2FS works BUT if your partition is already F2FS formatted then mount command will fail and mkfs.f2fs will not even run.

Thanks for your support ;)
[Transformer TF300T Android Development] ne0zone75:
New TRYOUT build is released !

Good morning,

TRYOUT download link has been updated on post #1 (AndroidFileHost from now on...) => it is compiled with UBERUTILS GCC 4.7 + 4.8 (

it should be very fast

...) AND the TWRP fstab file is completely new !

So

if you decide to test it or install it then please report back

=> hoping all partitions will mount properly (theorically any filesystem supported by the recovery [EXTx,FAT,exFAT] can apply to microSD and Dock SD : meaning you should be able to mount your SD cards from inside the recovery, whatever supported filesystem is used with them...) :good:

All the bast

PS : i strongly recommend that you do use the 'fastboot boot...' method [NO INSTALLATION] when playing with TRYOUTS :cowboy: :cool: ;)
[Transformer TF300T Android Development] das chaos:
Fail! Again distorted screen on TWRP tryout. Cannot use!
[Transformer TF300T Android Development] ne0zone75:
Good evening,

What is the kind of the distorsion please... can you describe it please or even better, please take a picture of it and post it here if you can, thank you !

All my apologies for this, i did not make any changes to my TWRP build flags (only a fully rewritten twrp.fstab is the change here...) AND i am a bit confused... maybe the problem is that my TWRP build flags should have been modified in order to follow some changes in TWRP upstream source code...

Anyway, tomorrow i will try to clarify the situation by asking for assistance to [MENTION=912474]Dees_Troy[/MENTION] (TWRP DEV team).

Thank you for your patience,

Please stay tuned !

Tapatalked from my TF701T
[Transformer TF300T Android Development] das chaos:
Good evening

Same as we discussed at post #40 and before. In post #41 you announced a new tryout and there the problem was fixed.

1. There is no startscreen of TEAMWIN, only bluyish-black screen.

2. After seconds there comes the initial screen of TWRP but the buttons are triple size and overlapping. They don't follow touch. The screen is sensitive but presumably on the locations where the buttons correctly are supposed to be.

3. Sreenshot function is not working.
[Transformer TF300T Android Development] ne0zone75:
Allright, thank you for your detailed description. I think that i will report back to [MENTION=912474]Dees_Troy[/MENTION] today finally.

My best regards

Tapatalked from my TF701T
[Transformer TF300T Android Development] ne0zone75:
Good afternoon,

Today i released two TRYOUTS : TRYOUT1 is built with a particular TWRP build flasg and TRYOUT2 is built without it. I am pretty sure that this build flag is involved in recent display issue present in my latest releases. (download links updated in post #1)

Thank you for your cooperation, please boot each recovery without installing it by the procedure described in post #1 and just let me know which one os OK, huge thanks !

Sorry for the inconvenience,

Have a nice day !
[Transformer TF300T Android Development] das chaos:
Chaos reporting back:

TRYOUT1 has broken screen

TRYOUT2 works fine - but: no f2fs support: /data will not be mounted -> no screenshot.
[Transformer TF300T Android Development] ne0zone75:
Good afternoon and thanks for having tried both : so i have to compile without this TWRP build flag... let it be !

Now, i will setup F2FS because as you might have already guessed, the kernel of this recovery it fully F2FS enabled... i just have to tune the ramdisk for TWRP to be able to mount this filesystem. :victory: cool: :silly:

Anyway, are your sdcards mounting correctly ?! Does the screen blink when try to take a screenshot from recovery ?

Be well
[Transformer TF300T Android Development] das chaos:
Good afternoon.

ext_sd card is mounting, emulated of course not, screenshot blinked. Tried to mount /data manually on tab 'Mount' - no success.

I like the fast loading of your TWRP, GEASS'es loads for almost a minute.

Maybe the buildflag you used was for your tf701; remember you have a better screen resolution than we poor tf201 and tf300t owners.
[Transformer TF300T Android Development] ne0zone75:
New TRYOUT is currently building !

This time, everything should be fine (including F2FS support [/data ONLY !] and screenshot)... :fingers-crossed: :silly: :good:

BTW, here is the data writing scheme for the screenshot feature :

New file will be available for download in a few moments !

[MENTION=5693610]das chaos[/MENTION] : Thanks again for your unvaluable assistance ! :good:

EDIT

: TRYOUT3 is released, please focus about F2FS feature (available for /data ONLY !); if it is OK, then screenshot feature will work as intended...
[Transformer TF300T Android Development] das chaos:
So sorry: TRYOUT3 reports: unable to mount E:/data screenshot is flashing but cannot save (also on /tmp there are no .jpg files).
[Transformer TF300T Android Development] ne0zone75:
Allright, in TRYOUT3, i am using a script which modify ramdisk's fstab dynamically in order to have only one recovery file for use with /data as EXT4 or F2FS AND this one fails. I will offer now two versions of next TRYOUT with static fstab, i do know it will work BUT EXT4 version will not handle F2FS over /data at all and reciprocally...

Stay tuned !

EDIT : [MENTION=5693610]das chaos[/MENTION], your /data is F2FS formatted right ?!
[Transformer TF300T Android Development] ne0zone75:
New TRYOUTS are online ! Please check post #1 out !

Regards
[Transformer TF300T Android Development] das chaos:
TRYOUT4 for F2FS working now!:good::good::good:

see screenshots

....but very slow loading this time (allmost one minute)
[Transformer TF300T Android Development] ne0zone75:
Finally there are some good news ;) Please note that /data encryption should be fully supported by each version... :silly: :cool: :good:

Nice evening
[Transformer TF300T Android Development] das chaos:
First slow loading was on tf201

This time I flashed on tf300t: only a tad faster (32 sec) but not as fast as before. Mounting f2fs seems to cost time.
[Transformer TF300T Android Development] ne0zone75:
[MENTION=5693610]das chaos[/MENTION] : Thank you for providing screenshots, i do think i will attach some of them to the corresponding tab of this project ;) :good:

Have a nice day
[Transformer TF300T Android Development] ne0zone75:
Both STABLE & DEV branches will be updated this weekend...

Good afternoon,

I will release updates of both STABLE and DEV branches this W.E. :

-> EXT4 TRYOUT will go to the STABLE branch with some improvements over it (ramdisk) : every current feature of TWRP will be working (including handling of encryption of /data)

-> F2FS TRYOUT will go to the DEV branch with some improvements over it (ramdisk) : every current feature of TWRP will be working (

excluding

handling of encryption of /data because F2FS is not friendly with it...).

-> ALL TRYOUTS will be removed then... !

Stay tuned !
[Transformer TF300T Android Development] z1022:
How can I format /data from f2fs back to ext4?

Thanks
[Transformer TF300T Android Development] ne0zone75:
Good morning,

Boot into a F2FS recovery, then from menu 'wipe/advanced wipe' select the button at the bottom of the screen and from here do the same steps you already did for converting /data from EXT4 to F2FS BUT this time go back from F2FS to EXT4...

Once previous step is done, flash a standard EXT4 recovery and you are done, ! :) => you are now able to format /data as EXT4 or restore it from a NANDROID backup (only if /data was EXT4 when backed up...)

Regards
[Transformer TF300T Android Development] z1022:
Thanks

Which F2FS recovery I can use ??
[Transformer TF300T Android Development] ne0zone75:
Any TWRP F2FS build would do the job...

BTW, it should also work if you proceed with first step by using a standard EXT4 TWRP build directly !

Good luck !

PS : If you decide to use TWRP for this, please use an up to date one... (2.7.1.x)
[Transformer TF300T Android Development] z1022:
Thanks

Can I use this F2FS recovery to format /data back to ext4 ?

-> Custom TWRP v2.7.1.x JB/KK enabled for TF300T/TF201 [without any device checking] | F2FS TRYOUT (2014-08-27) <= For use if your /data is F2FS formatted !

Thanks
[Transformer TF300T Android Development] ne0zone75:
Yes ! It should work... please do remember that this build is a TRYOUT AND that you should be able to do the whole thing by using a standard EXT4 TWRP build !

Be well !