yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] Juppehup:
Okay guys, I´ve really lost it...

I´m trying to install 5.4 with F2FS and Data2SD.

I had Cromi-KK running with (only) Data2SD. So I managed to format my SD with the nessecary partitions (Fat and Ext4).

Problem is I''m a bit lost in all the options (formatting partitions, internal, external, etc...).

Is there is simple step to step wizard to achieve a F2FS + Data2SD install for 5.4?

Thank you in advance.
[Asus Transformer TF700] lartomar2002:
Man, I would love that also. Sometimes it can sll become a little confusing with my old feeble mind. I am no where near as knknowledgeable as many of the members here and anything that could simplify this process for 5.4 or/KK would be gratefully accepted.
[Asus Transformer TF700] _that:
The next version of the preinit scripts makes it harder to get wrong, and also the upcoming version of TWRP will simplify things a bit.

Keep in mind that Data2SD, ROM2SD and F2FS are advanced options and you don't need them for a working ROM. If you want more flexibility you have to deal with additional complexity.
[Asus Transformer TF700] LetMeKnow:
A very good point...:good:

You made things more complicated than it should be...haha...:silly:
[Asus Transformer TF700] Juppehup:
Well, I know what the names f2fs, data2sd etc mean, but I can't seem to be able to find out what the several zips from the OP actually do. Rom2sd1.zip doesn't tell me anything about the content or what it does. It would be helpful to have an explanation about that.

I came this far, rom2sd1.zip sets another location for /data in the recovery, but that's it....

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Asus Transformer TF700] sbdags:
rom2sd1.zip changes the /data and /system nodes to your external sdcard preformatted to ext4. So that recoveries like TWRP now see you external /data nad /system as internal.... I.e., they are fooled into flashing normal stuff to rom2sd....

Equally backup and restore now sue the external partitions as well. It is all reset back to normal on a reboot or another flash of rom2sd1.zip
[Asus Transformer TF700] Juppehup:
Thanks for explaining, but to be honest I already figured that out (most like wasn't very clear in my previous post), although the /system part ìs new to me.

This still leaves me with some more questions.

The script in crombi-x does the same doesn't it? And this script doesn't exist in 5.4 right?

And, what do the other 2 zips do?

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Asus Transformer TF700] sbdags:
ok let's cover the 3 scripts.

rom2sd1 resets to external nodes

rom2sd2 extracts the ramdisk from a the staging partition (where a kernel is flashed to) and copies it to a folder in external /system/boot - this can be copied over to / later if you wish to boot from a rom on sd ;) aka rom2sd.

the rootfs_media file installs a preinit script to internal /system/boot that gets triggered by the kernel init so that it can do stuff before the kernel boots the rom.

CROMi-X does all of the above for you (kind of as I simplified it)

CRMOBi-kk runs a full version of the above with a bit more complexity
[Asus Transformer TF700] Juppehup:
So basically to install crombi-kk with data2sd and f2fs you simply just need to:

1) flash a f2fs compatible recovery;

2) format sd card with one fat32 and one f2fs partition;

3) format data in recovery (just to make sure....;)

4) simply flash the rom zip (in aroma choose for data2sd and f2fs for both positions). No need to flash any specific zips, because the aroma installer runs the necessary scripts.

Correct, right?

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Asus Transformer TF700] sbdags:
No CROMI-X doesn't understand f2fs currently so you need to follow the instructions to install it in the f2fs twrp dev thread.
[Asus Transformer TF700] allendj81:
Quick question. Do we have to have fsync on or off in order to use DATA2SD? Does it matter?
[Asus Transformer TF700] sbdags:
No in fact I would recommend that with data2sd you don't need it.
[Asus Transformer TF700] allendj81:
Asus weather's broken in 5.4? Can't manually or automatically set my location. I have all location settings on. Im coming from version 5.1 and it was broken then.
[Asus Transformer TF700] sbdags:
Works fine here.
[Asus Transformer TF700] allendj81:
I've never been able to use when on Cromi. It work fine when stock.
[Asus Transformer TF700] NapalmDawn:
Sometimes with a few of those types of options like switching keyboards and such, it requires you dirty flash the rom again. Try setting everything you need to for the weather and the location. Boot into recovery and flash the rom again with all the same options.
[Asus Transformer TF700] allendj81:
Great idea! I will give this a shot when I get some extra time.
[Asus Transformer TF700] lovey08:
Just a quick question. Does our tablet have multi window? Or an app that could have multi window? Thanks!

Sent from my ASUS Transformer Pad TF700T using Xparent BlueTapatalk 2
[Asus Transformer TF700] berndblb:
You could try "floating apps" - which mostly suck IMHO. Or flash Omni rom, which has a multi window feature - but other drawbacks compared to a stock based rom. Especially concerning keyboard functions... Gotta decide what's more important for you.
[Asus Transformer TF700] corey113888:
Actually the XhaloFloatingWindow xposed module works great for me. Lots of options and is still being supported. I use it on my HTC One Max and the tf700. Check it out and give it a spin!
[Asus Transformer TF700] johnlgalt:
Any other things like that that work without using Xposed?
[Asus Transformer TF700] keener31:
quick question:

im coming from stock 10.6.1.14.8 (manually installed), and im am going to install cromi-x tomorrow. following the instructions, i have used the asus official apk to unlock the bootloader and i have used motochopper to gain root (this is why i manually installed x.14.8 and not x.14.10). - i then used goomanager to install TWRP.

so far everything is working as expected. however, the instruction on the main page are a little confusing so i wanted to clarify before i move ahead.

should it say "OR" between install TWRP and install scott's recovery? - i ask because it looks like scott's recovery is, well, a recovery... and i dont know why i would want to flash over TWRP since i just installed the latest version of it. - i just want to clear up whether i should still do both (TWRP already and then scotts also)... or if maybe im misunderstanding what scott's tool is doing.

so, do i skip installing scott's recovery or do i install it even though ive already installed TWRP?

and while im here... is there any issue with having used 10.16.1.14.8 as my base ROM as opposed to x.14.10? will that affect the rom in any way, or is there a reason/way to push x.14.10 as my bootloader while keeping it unlocked? just trying to see if it matters at all.

thanks in advance for all the hard work on this package, im super pumped to start using it.
[Asus Transformer TF700] _that:
It says "Scott's Recovery Install Tool". That's not a recovery, it's an installation tool. If you have TWRP 2.7.x already installed, you should skip this step.

No, the only change in the bootloader was the version number to match with the ROM build number.
[Asus Transformer TF700] LetMeKnow:
If you already installed TWRP, then you can skip the scott's recovery. The Asus firmware version 10.16.1.14.8 is working fine with the Cromi X. One quick question, you said you have installed TWRP but do you know the version of the TWRP? If your TWRP version is compatible with the JB bootloader, then you are good to install the Cromi X...;) and good luck...:fingers-crossed:

Edit: I always one step behind you, _that and sorry for double post...:o
[Asus Transformer TF700] keener31:
thanks _that and LMK for your quick responses.

ill go ahead with the installation and skip the recovery install tool as recommended.

@ lmk: im running TWRP 2.7.0.1 or .1.1, i forget which. it was whatever the latest one that goomanager grabbed and so far it seems to be functioning just fine (ive booted into it and out of it without issue). - i will be trying the install of cromi-x tomorrow.

again, thanks for the help and hard work.
[Asus Transformer TF700] lyrelai:
A side question. I seem to remember that CROMi-X used to support to set tf700t to lower resolutions, i.e. 1600x1000, instead of the native 1920x1200. I am looking for pointer to do that on my CROMi-X 5.4 installation. Or do I miss that in the installation screens? Try to lessen the strain on my old eyes. :)

Lyre
[Asus Transformer TF700] sbdags:
I took it out as it was buggy but then fixed it subsequently in CROMBi-kk. You can still re-enable it from the kernel installer zip in post 2.
[Asus Transformer TF700] _that:
You don't want a lower resolution, you want to set a higher dpi (in build.prop) so that everything becomes bigger without becoming blurry.
[Asus Transformer TF700] lyrelai:
Thanks for the suggestion. Higher dpi probably will solve a lot of my problems. But I might still need to lower resolution for some of my app like remote desktop. Imaging reading a 1920x1200 Windows desktop on a 10.1 inch screen. Unless I can find a way to "scale" down my remote desktop app resolution or I will have to scale down the whole tablet resolution.

Lyre
[Asus Transformer TF700] _that:
I don't know which app you're using for accessing your desktop, but I'd expect any app for remote desktop on mobile devices to have scaling features, due to the very different physical resolutions. If yours doesn't, find a better app.
[Asus Transformer TF700] bgtex:
_thats 10 on Cromi-X 5.4

I've downloaded _thats 10 kernel zip file.

Can I just flash it from recovery (TWRP 26_thats) or do I need to re-flash the rom?

I need it to update the latest version of Cromi-kk rom2sd.

Thanks for any help.
[Asus Transformer TF700] sbdags:
Download the latest crombi-kk, i included the kernel as an option ;) just released an hour ago.
[Asus Transformer TF700] bgtex:
But I'm running Hunds on my Cromi-X 5.4 internal.

Don't I have to change it to Thats?

When I flash Cromi-kk and choose _thats10 will it install for Cromi-X?

I read your post on the new install and it answered all my questions.

Flashed the new 0617 kk zip chose "Yes" to install _that's 10 and I'm up and running the latest Rom on rom2sd.

Thank you for the help AND the ROM
[Asus Transformer TF700] johnlgalt:
I've never changed my resolution from 1900 * 1280 on the tablet, and my native resolution on my Windows box is actually 1680 * 1050.

Using XtraLogic's Remote Desktop App, there is an easy method to 'magnify' any area that you want to see, and still be able to use navigation, including the touchpad, as well as other features like an onscreen KB, special keys, etc.

I used it all the time in order to make my mouse clicks more accurate so I would not accidentally open or close something.

However, that app is not cheap (I got it on sale for a lot less than 14.99 USD....)

I've also installed the Microsoft RDC for Android, but I Haven't played around with it on my system thus far. I'll play tonight and see if it has something similar.

Very true.
[Asus Transformer TF700] sbdags:
You can only really have one kernel. It will install thatv10 for both CROMi-X and CROMBi-kk. ;)
[Asus Transformer TF700] allendj81:
My current set up is thatv8 kernel, fsync off and data2sd; is it safe or would I see any benefits from using Lagfix? If its safe, what should I trim? System, data or cached? I bought the app a while ago and used it before using the data2sd mod with good results
[Asus Transformer TF700] sbdags:
Just use it on /data. Just make sure it finishes if you do reboot it.
[Asus Transformer TF700] bgtex:
_thats v10 problems

Is anyone else having issues with Cromi-X 5.4 after flashing _thats v10 kernal?

The main problem for me is powering on, after pushing the power button it takes about 10 to 15 seconds for the screen to come on. I didn't realize this at first so I would push it again and inadvertently turn it off.

I am going to restore my nandroid backup of Cromi-X 5.4 w/ Hunds kernel, was running great.

I only flashed _thats 10 to run the newest version of Cromi-KK rom2sd, but it's not worth losing my stable Comi-X.
[Asus Transformer TF700] _that:
Logcat please.
[Asus Transformer TF700] sbdags:
Did you flash _that's kernel on top of hunds?

Or did you reflash the rom with _thatv9 or the kernel installer package with _thatv8 first? I don't think hunds will clean up very well if you flash another kernel over the top.
[Asus Transformer TF700] bgtex:
Yes I did flash _that's on top of Hunds.

I did ask if that was OK to do and got this answer

"You can only really have one kernel. It will install thatv10 for both CROMi-X and CROMBi-kk."

I have already Recovered my backup of Cromi-X so I can't get a Logcat.

Should I do a full wipe of my Cromi-X 5.4 w/ Hunds and flash Cromi-X 5.4 with _that's kernel then flash Cromi-KK Rom2sd and choose _that's

v10 option?

Or is there a _that's v 10 kernel option with Cromi-X 5.4?
[Asus Transformer TF700] sbdags:
I gave you that answer but I was answering a different question I thought :)

If you are running hunds and want to upgrade you need to reflash CROMi-X again (no wipes just install over the top) with _that's selected. Let it boot. That will get you _that v8 and running CROMi-X on internal.

Then install CROMBi-kk wiith the rom2sd option and then it will ask you if you need to upgrade your internal kernel to v10 - say yes ;)

That will now get you _thatv10 on internal and external (that is the bit about running one kernel) and both should work fine.
[Asus Transformer TF700] bgtex:
I'm not sure what forum to put this in but I did as you instructed and Cromi-X is running fine w/ _that 10 (thank you).

But I'm getting a boot loop when I boot to the micro SD card w/ Cromi-kk rom2sd. It was working before reflashing as above. How would I wipe the SD card without wiping my internal ROM.

I reformatted the SD card with GParted, reflashed Cromi-kk booted up and starting from scratch.

Checked Cromi-X and everything looks good.

Thanks sbdags for all your help and for the constant support you give us all.
[Asus Transformer TF700] sbdags:
Did you try reinstalling CROMBi-kk as rom2sd?
[Asus Transformer TF700] bgtex:
Yes I did but I kept getting the boot loops. I figured it was something left over from the Hunds kernel issue.

So I just fired up my Linux box unmounted the two ext4 partitions and formatted them again.

This saved all data on the fat 32 partition.

Flashed KK rom2sd w/ Cromi-X 5.4 _that v10 on internal.

Going to flash Asus apps zip, fingers crossed. (I know rom2sd1.zip first)

Thanks again
[Asus Transformer TF700] Hannes_HD2:
Hi sbdags,

Thank you for your amazing ROM. Could you kindly provide that10 with f2fs for this ROM, as you did with thatv9? That'd be great!

Thanks again,

Hannes
[Asus Transformer TF700] kansasboy001:
If I am not mistaken that v10 has f2fs built in.
[Asus Transformer TF700] Hannes_HD2:
Yes, but it doesn't recognize my f2fs data partition while sbdags zip works flawlessly
[Asus Transformer TF700] madsul:
keyboard
[Asus Transformer TF700] sbdags:
dock?

What do I win? :D
[Asus Transformer TF700] Hannes_HD2:
Hi sbdags,

Sorry to bother again - could you provide that10 for this ROM? It'd be much appreciated.

Edit: with f2fs, I forgot..
[Asus Transformer TF700] _that:
You can grab the preinit stuff from CROMBi-kk that modifies the fstab for f2fs if it detects an f2fs partition, then you can flash the kernel from my thread.
[Asus Transformer TF700] Hannes_HD2:
Hi _that,

Thanks your advice!

So I downloaded crombi and found a file 30fstab-f2fs. I think you are referring to this, right? However, I found no preinit-folder/file on my installation of cromi 5.4. So where to put the file? Will copying it "there" (where?) and then flashing that10 work? I am lost, unfortunately.

Best,

Hannes
[Asus Transformer TF700] _that:
You need a directory "/system/boot" with the following contents:

preinit

busybox (from static_busybox in the installer)

preinit.d/30fstab-f2fs

Make sure you set the correct permissions (0755) for all those and for /system/boot.
[Asus Transformer TF700] madsul:
Sorry mate. Xda wouldn't let me delete the post. My @ and ' keys are reversed on the keyboard dock and I was trying to search for a fix for it.
[Asus Transformer TF700] Hannes_HD2:
Hi _that,

Thanks again. As I'd like to create a flashable zip file to share with the other cromi-users, I added the files you mentioned to your kernel zip and changed the update-binary like this:

ui_print "Installing kernel: kernel-that10"
ui_print "Extracting blob to staging partition..."
/sbin/unzip -p $zipfile kernel-that10.blob > /dev/block/mmcblk0p4
ui_print "Mounting /system..."
mount -o rw /system || [ -f /system/build.prop ]
ui_print "Installing kernel modules into /system/lib/modules..."
/sbin/unzip -o $zipfile modules/* -d /system/lib
ui_print "Setting module permissions..."
chown root:root /system/lib/modules/*.ko
chmod 0644 /system/lib/modules/*.ko

[B]/sbin/unzip -o $zipfile boot/* -d /system
chown root:root /system/boot
chown root:root /system/boot/*
chmod 0755 /system/boot
chmod 0755 /system/boot/*[/B]

cd /
ui_print "Unmounting /system..."
umount /system || echo Warning: could not unmount /system
ui_print "DONE! Please reboot to finish installing the kernel."

Is that correct? If there is no obvious flaw, I will test it tonight and upload it here if it works. Thanks again for your help!
[Asus Transformer TF700] _that:
The above will miss changing the file inside the preinit.d subdirectory. Better use the -R switch for chown and chmod.
[Asus Transformer TF700] Hannes_HD2:
Hi that,

I did like you advised, but there is something wrong. TWRP gave me an error in the update-binary, but I rebooted and it correctly identified my data partition as f2fs (this is your new preinit script, I suppose). But android wasn't able to load the partition and gave me an encryption error. So i flashed back to that9 and it works again, but where is the error? The files and folders are still present where they should be. (system/boot and even /preinit)

Here is the update-binary:

#!/sbin/sh

# Kernel ZIP installer for ASUS Transformer TF700 by _that@xda

# thanks to Koush and Chainfire for the idea of using a shell script here. :)

# fail on errors

set -e

#apilevel=$1

fd=$2

zipfile=$3

ui_print() {

echo -n -e "ui_print $1\n" > /proc/self/fd/$fd

echo -n -e "ui_print\n" > /proc/self/fd/$fd

}

ui_print "========================================================"

ui_print "Kernel Installer V2.0 by _that@xda"

ui_print "This will install that10+f2fs-detection"

ui_print "========================================================"

ui_print "Installing kernel: kernel-that10"

ui_print "Extracting blob to staging partition..."

/sbin/unzip -p $zipfile kernel-that10.blob > /dev/block/mmcblk0p4

ui_print "Mounting /system..."

mount -o rw /system || [ -f /system/build.prop ]

ui_print "Installing kernel modules into /system/lib/modules..."

/sbin/unzip -o $zipfile modules/* -d /system/lib

ui_print "Setting module permissions..."

chown root:root /system/lib/modules/*.ko

chmod 0644 /system/lib/modules/*.ko

/sbin/unzip -o $zipfile boot/* -d /system

chown -r root:root /system/boot

chown -r root:root /system/boot/*

chmod -r 0755 /system/boot

chmod -r 0755 /system/boot/*

cd /

ui_print "Unmounting /system..."

umount /system || echo Warning: could not unmount /system

ui_print "DONE! Please reboot to finish installing the kernel."

ui_print "========================================================"
[Asus Transformer TF700] sbdags:
The dock has defaulted to the American layout and presumably you want the British one. On the stock asus rom you could choose the asus keyboard and make sure it was UK English and it would fix the issue.

Not sure how you do that in CM11 as it is not very dock savvy - have you investigated the keyboard manager options I supply with the rom? I don't have a dock unfortunately.
[Asus Transformer TF700] _that:
Just "error" with no details? More info is usually available in /tmp/recovery.log.

Did it output the line about "preinit script framework"? If not, it's just the output of the init binary inside the ramdisk.

I said -R, not -r. Yes, that can make a difference.

If you still can't get it to work, post the output of

ls -lR /system/boot

after installation.
[Asus Transformer TF700] Hannes_HD2:
Hi that,

Thank you for your patience. Now it installs without an error. So that was that. And yes, it says preinit script and correctly identifies /data as f2fs (and /data on microsd and sd as not present, which is correct, I suppose?)

However, android starts with encryption unsuccessful and wants a factory reset.

<some time later>

I found another possible mistake by me: I probably took the wrong preinit.cfg. So I now set data2sd and system2sd to 0 and removed the overclocking.

Still encryption error.

Back to that9.

ls -lR /sytem/boot shows the mentioned files, belonging to root, -rwxr-xr-x for all of them, drwxr-xr-x for preinit.d

Help please? :) Somehow, I can't upload the zip here directly.
[Asus Transformer TF700] _that:
OK, that looks correct so far. Looks like the auto-detection script doesn't modify the fstab correctly.

You should be able to connect via adb while it displays the "encryption unsuccesful" message. The message means that it couldn't mount the data partition, so it assumes it to be encrypted, but decrypting didn't work (since it's not an encrypted ext4 but an unencrypted f2fs partition).

Run "adb pull /fstab.cardhu" and post the resulting file.
[Asus Transformer TF700] sbdags:
Adb doesn't work for me when the encryption message is displayed. I had to use minimal adb to pull the fstab.

I'll try and have a look at what needs to be done to bring cromix up to speed with f2fs tomorrow.
[Asus Transformer TF700] sbdags:
[MENTION=2477415]Hannes_HD2[/MENTION] this file will update the internal setup of CROMi-X to use the new _that v10 kernel and init10 preinit scripting.

I have set it up so it should recognise ext4 or f2fs partitions.

It will temporarily disable rom2sd and data2sd although they can be easily enabled if needed.

Can you test it for me please. :victory:

DOWNLOAD HERE - _THAT V10 KERNEL for EXT4/F2FS FOR CROMi-X

d192b12abbc3c493cf069e590a5f24f0

NOTE TO OTHERS: IF YOU ARE NOT RUNNING CROMi-X/ASUS STOCK 4.2.1 ON INTERNAL DO NOT INSTALL THIS. DO NOT INSTALL IF YOU ARE ON CROMBi-KK on ROM2SD or DATA2SD AS IT WILL BREAK YOUR INSTALLATION (FOR NOW)
[Asus Transformer TF700] Hannes_HD2:
sbdags,

Kernel works like a charm. Hooray! Thanks to both of you! :) With Cromi 5.4, this tablet works like it is supposed to. Great work.

Best,

Hannes

---------- Post added at 02:05 PM ---------- Previous post was at 01:47 PM ----------

Benchmark (Quadrant): Cromi 5.4 + that9 + fsync off + f2fs: close to 6400 points. with that10: 6601. Nice work!
[Asus Transformer TF700] woodsonmh:
[/COLOR]:):D:cool:;):sly:

6500 new _that's

Browser is smoking

Thanks thanks thanks

Hats off to the master Sbdags

Woody

---------- Post added at 04:45 PM ---------- Previous post was at 04:42 PM ----------

"Wifi Connection Fixer" on Play works for me.

Woody
[Asus Transformer TF700] krispy521:
My Infinity's slowness is really driving me crazy. I am stock, fully updated with Asus, and am rooted. Can someone give me a run down of the order of stuff I need to do flash cromi-x and have it running smooth?

Also, does anyone know of a video out there that shows a comparison of stock vs cromi-x
[Asus Transformer TF700] DuckDodger70:
thanks again for all the work everyone. love this ROM right from the get go.

dont know if anyone else is copping this but i seem to be getting the dreaded battery drain again, charged my table and dock this time yesterday and today tablet is at 54% and dock is at 0%

i should also mention that my tablet aint actually charging to the full 100% seems to get to about 85% and just sits there...

i am using 5.0.1 but im just downloading 5.0.2 and will do a full wipe, but just thought id bring it up.

Cheers