yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] aracy:
can't make the f2fs + d2sd to work.. always get encryption error :\

tried to do it with f2fs + r2sd and i get the same result.

formated microsd card and followed instructions in both threads.. i'm lost.

any suggestions? has anyone made it?

what does the encryption error means? that the external data is not f2fs or the system is not f2fs?

thanks in advance

edit:

Ok i did it all over again from scratchs and it work ! ( i think ;) )

how can i confirm i'm using data2sd? just by speed?

edit2:

scored 6943 on quadrant with that9 kernel f2fs and d2sd
[Asus Transformer TF700] johnlgalt:
No, I'm getting the exact same thing that you are.

On top of that, I'm now getting errors enabling ART whether I install internal, Data2SD, or ROM2SD using ext4.

I'm seriously wondering if I am missing something, other than the fact that the rom2sd that sbdags ahs posted in the OP is different from the one that Praetorian posted in he F2FS thread OP....
[Asus Transformer TF700] sbdags:
Yep found the error! :o

In the fstab.cardhu file on internal /system/boot/rootfs_data2sd

can you edit it to remove the discard option for /dev/block/mmcblk1p2 from

# INIT mount points
/dev/block/mmcblk0p1 /system ext4 noatime,noauto_da_alloc,nodiratime,barrier=0,ro wait
/dev/block/mmcblk0p2 /cache ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,errors=panic wait
/dev/block/mmcblk1p2 /data f2fs noatime,nosuid,nodev,discard,nodiratime,errors=recover wait,encryptable=footer
/dev/block/mmcblk0p8 /datai f2fs noatime,nosuid,nodev,discard,nodiratime,errors=recover wait,encryptable=footer

to

# INIT mount points
/dev/block/mmcblk0p1 /system ext4 noatime,noauto_da_alloc,nodiratime,barrier=0,ro wait
/dev/block/mmcblk0p2 /cache ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,errors=panic wait
/dev/block/mmcblk1p2 /data f2fs noatime,nosuid,nodev,nodiratime,errors=recover wait,encryptable=footer
/dev/block/mmcblk0p8 /datai f2fs noatime,nosuid,nodev,discard,nodiratime,errors=recover wait,encryptable=footer

Try that - it should get you booting :)
[Asus Transformer TF700] johnlgalt:
Kewl. I'm reinstalling default now, so I'll go back and give that a shot.

Can I edit this directly in the ROM so it will always be OK?
[Asus Transformer TF700] lmmohr4:
Benchmarking

Speaking of benchmarking using Quadrant, I've lost confidence in it's absolute validity. I keep coming back to 5.4, Internal, Data2Sd, fsync off and force gpu with only a measly <5600 compared to other setups showing almost 8000, . and it's perceptibly faster, super stable and mostly bug free. (I'm still waiting for kk to get to "charlie", the next step from "beta") (;>

Anyone else seeing that?

lmm
[Asus Transformer TF700] noclue41:
Worked for me

I have been playing w/ Crombi-kk for about a month. Really liked it, but I was having the same problem with f2fs+Data2SD. Tried a bunch of times to get it to work, including formating internal to f2fs and back to ext4 again. I was about to give up until i saw this post. You could say I know enough about ROMs to get myself in trouble. I was not sure how to edit the fstab.cardhu file, so i copied it to the sdcard and edited it in notepad in Windows (although the file was empty, but i pasted the code and saved). Then replaced the file on the tf700. Bam, the 0505 version finally booted for me (internal & data2d are f2fs). the ONLY thing right now is I can't see the fat32 partition of the sdcard once booted. I can in recovery, but not in ESFile browser. It wont mount in system settings either. Not a biggy, I pushed my backups through USB, but thought it could be related. Thanks to all!
[Asus Transformer TF700] AxpStoli97:
A couple of noob questions:

What is the best way to grab /proc/last_kmsg from the tablet?

Since I have to reboot the tablet again after this happens (to get rid of continuous error message), will that impact the content of the /proc/last_kmsg?

Thanks!
[Asus Transformer TF700] realgy:
Screen battery drain

A friend of mine flashed my tablet to CROMBi-kk about 2 weeks ago, on standard ASUS ROM wifi used to drain about 50-60% of battery on each discharge cycle, since the upgrade to CROMBi-kk the wifi drain problem has disappeared, it uses about 4% on each cycle now however, the screen is now using about 60-70% of battery on each cycle. I use the tab to surf the net, to read books, some youtube but that's about it.

Yesterday I charged the battery until 100%, terminated all background apps, turned on Aldiko (book reader), turned the screen brightness to minimum brightness and just left the tab, it was out of battery in 4 hours and 10 minutes. Of that, the screen took 73% of battery consumption and the rest of the apps consumed less than 6% of the battery.

During the flash I did set resolution to the highest at 1900*1200, will the resolution have such an impact on battery drain?

Is this an isolated problem to my tab?

Thank you.

EDIT: that's all without the dock.
[Asus Transformer TF700] _that:
You can safely ignore these statistics, as they are based on incorrect numbers or wild guesses.
[Asus Transformer TF700] sbdags:
None - the kernel writes the last_kmsg from the current kmsg (which is the kernel log) on every reboot.

http://xdaforums.com/showthread.php?t=1520508

---------- Post added at 07:30 AM ---------- Previous post was at 07:28 AM ----------

Looks like I'll need to do one more maintenance release to fix it all.
[Asus Transformer TF700] bongmasta:
my tab always shuts off at 60% akku left :( same without dock, strange
[Asus Transformer TF700] _that:
Let it run empty, leave it for a few hours, then charge fully. From time to time the battery gauge needs this to correct its estimates.
[Asus Transformer TF700] bongmasta:
thx! i will do that!
[Asus Transformer TF700] acraigl:
I'm coming up on 2 years of having the TF700, and while this team has done remarkable things to keep the dream alive, I'm getting the itch for new gear. Mind you, I don't really need it, I'm just at my cycle point, if you know what I mean :)

Any suggestions for my next tablet? Sorry for the OT, but I really trust this group of folks. Thanks!
[Asus Transformer TF700] sparksd:
Android system restart problem

In my earlier post I noted the problem where I was seeing an Android system restart when pulling down the notification bar when a notification was present (Apex launcher, 5/5 build installed on internal, _that kernel). I also see a restart when I select an app from the app window and try to uninstall it. Logcat attached.
[Asus Transformer TF700] whatsisnametake2:
hi folks, firstly congrats on a great rom sdbags. really nice. couple of questions about data2sd to make sure I understand what is happening correctly.

I formatted my sdcard as suggested, one fat32 partition, one ext4 partition. am I correct in thinking the following:

sdcard1 - is my fat32 partition on my sdcard

sdcardi - is my internal storage (any data here has nothing to do with the current ROM install and can be deleted?)

0 - is my ext4 partition

the /data folder and the 0 partition are both on my ext4 partition, but the /data folder is hidden when I look in my 0 partition in my file explorer?

if all that is correct, what's the theory behind the partition sizes you create on yr SD card? if I have a 64gb card and format most of it as ext4, then I cant access that when the card is in my card reader on my pc, so I'm inclined to make the ext4 say 10gb for the /data folder, then the rest fat32. is that a slower option than using the ext4 partition for storage pics movies etc?

also when used androbench to check my data2sd install the random write score was insane, like 100mb or so, where as it was .02 before data2sd. does that seem weirdly high?

thanks
[Asus Transformer TF700] ariadnejro:
Hi sbdags,

I have finally managed to make my data2sd f2fs setup work with 20140505 version. I extracted the relevant fstab.cardhu file from the zip, edited it to remove the discard option and after flashing and rebooting to let the new kernel install itself I copied the modified file to /system/boot/rootfs_data2sd.

Before making the copy I saved the previous fstab.cardhu file. Here it is. Although I selected data2sd f2fs, all the mountpoints are ext4.

Again, thank you for your efforts.

# Android fstab file.

# <src> <mnt_point> <type> <mnt_flags> <fs_mgr_flags>

# The filesystem that contains the filesystem checker binary (typically /system) cannot

# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

# INIT mount points

/dev/block/mmcblk0p1 /system ext4 noatime,noauto_da_alloc,nodiratime,barrier=0,ro wait

/dev/block/mmcblk0p2 /cache ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,errors=panic wait

/dev/block/mmcblk1p2 /data ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,errors=panic wait,encryptable=footer

/dev/block/mmcblk0p8 /datai ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,errors=panic wait,encryptable=footer

# VOLD mount points

/devices/platform/sdhci-tegra.0/mmc_host/mmc2 auto auto defaults voldmanaged=sdcard1:auto

/devices/platform/tegra-ehci.2/usb1/1-1/1-1.2 auto auto defaults voldmanaged=usbdisk0:auto

/devices/platform/tegra-ehci.2/usb2/2-1/2-1.2 auto auto defaults voldmanaged=usbdisk0:auto

/devices/platform/tegra-ehci.2/usb1/1-1/1-1.1 auto auto defaults voldmanaged=usbdisk1:auto

/devices/platform/tegra-ehci.2/usb2/2-1/2-1.1 auto auto defaults voldmanaged=usbdisk1:auto

/devices/platform/tegra-ehci.2/usb2/2-1/2-1:1 auto auto defaults voldmanaged=usbdisk1:auto

/devices/platform/tegra-ehci.2/usb1/1-1/1-1:1 auto auto defaults voldmanaged=usbdisk1:auto

/devices/platform/tegra-ehci.2/usb1/1-1/1-1.3 auto auto defaults voldmanaged=sdcard2:auto

/devices/platform/tegra-ehci.2/usb2/2-1/2-1.3 auto auto defaults voldmanaged=sdcard2:auto

# Recovery only

/dev/block/mmcblk1p1 /external_sd auto defaults recoveryonly

/dev/block/mmcblk0p3 /misc emmc defaults recoveryonly

/dev/block/mmcblk0p4 /staging ext3 defaults recoveryonly

/dev/block/mmcblk0p9 /recovery emmc defaults recoveryonly

/dev/block/mmcblk0p10 /boot emmc defaults recoveryonly
[Asus Transformer TF700] loner.:
This comes out in June, looks interesting. [emoji41]

http://m.theinquirer.net/inquirer/n...buts-in-the-asus-memo-pad-8-but-only-in-japan
[Asus Transformer TF700] sbdags:
Sorry I don't understand the last bit:

Surely they need to be f2fs for it work with that partition type?
[Asus Transformer TF700] ariadnejro:
I was trying to show you the actual file that is copied by the installer when data2sd f2fs is selected.
[Asus Transformer TF700] sbdags:
Right - yes I found the bug in the installer thank you! It was copying the rom2sd f2fs files when the user selected data2sd! No wonder it hasn't been working properly.

I'm fixing it up now as well as a few other updates.
[Asus Transformer TF700] ariadnejro:
Happy to help
[Asus Transformer TF700] loner.:
http://www.kitguru.net/laptops/mobi...64-bit-google-android-media-tablet-announced/

http://thenextdigit.com/5779/64-bit-google-nexus-8-android-4-5-arrive-months/
[Asus Transformer TF700] sbdags:
OK folks the next release is up - this tidies up and completes all the data2sd and f2fs issues we have had recently - apologies for that! :cyclops:

I've also updated a few more gapps and apps as well as added a cool theme I like.

Change Log

Enjoy! :angel:
[Asus Transformer TF700] loner.:
View attachment 2737215View attachment 2737219View attachment 2737220View attachment 2737221View attachment 2737227
[Asus Transformer TF700] loner.:
View attachment 2737230View attachment 2737231View attachment 2737232View attachment 2737233View attachment 2737235
[Asus Transformer TF700] ariadnejro:
There is something wrong with the data2sd1.zip file and twrp. Aparently it works, since after flashing it the /data partition points to the MicroSD, but I can't make a nandroid. If I select /system and /data the nandroid stops immediately.
[Asus Transformer TF700] Ozark_8125:
Does twrp show a file size when you go to backup under your system and data partitions?
[Asus Transformer TF700] ariadnejro:
Yes, twrp shows the right sizes. Old rom2sd1.zip allows to make nandroids, although /system and /data have to be saved independiently and of course I get an error about /system not being mounted (easy to understand since I'm in data2sd)
[Asus Transformer TF700] sapiora:
sbdags is there a posibility to add Asus Launcher in yout KitKat Rom?
[Asus Transformer TF700] sbdags:
No it doesn't work. Asus Launcher is part of the Asus Framework and SystemUI and we don't have that here. Sorry. However you can make Apex or Nova pretty much behave and look the same way if you want.

---------- Post added at 09:56 AM ---------- Previous post was at 09:55 AM ----------

Hmm let me check that - maybe I'm unmounting /system by accident in the script :)

ok in the updater-script of data2sd1.zip (inside the meta-inf folders) can you comment out or delete this line and save the zip with the updated file and try again please.

unmount("/system");
[Asus Transformer TF700] houtx2:
Worked for me, I just did a backup yesterday. Completely uneventful.
[Asus Transformer TF700] bongmasta:
again shutdown at 60% akku, cant get lower than 60 as it wont let me start until i charge it for 5min. :( using rom2sd, disabled xposedframework now
[Asus Transformer TF700] Mackis:
Honestly don't have a clue. Must be ARTS that don't do well with rom2sd. I'm back to installing to internal to see if i get the same scores as before.
[Asus Transformer TF700] sbdags:
I'm on _that's kernel on rom2sd and art doesn't stick. Getting 6700 in quadrant but memory and 2d scores are only 60% of where they should be.

Let me try switching to the cm11 kernel.
[Asus Transformer TF700] guliver365:
[MENTION=1784706]sdba[/MENTION]gs

Thank you so much finally I got rom2 sd working but got performance below 6000 right now my internal is mini cromi installed according to the instructions. Can I instal KK on internal and have duo boot KK internal & external?

how can I get better performance with KK rom2 SD ? > 8000
[Asus Transformer TF700] Mackis:
Can't reproduce the scores again. And ART doesn't stick. I'm reformatting everything again to start clean and se if i can kickstart ART again, and maybe reproduce the scores. I was on _Thats kernel with the 8500 scores so something gets mixed up with rom2sd or remnants of previus install hinders ART.

I will let you know what i find in my further trial and error investigations.
[Asus Transformer TF700] sbdags:
I just switched from that's kernel to cm11 kernel on ROM2sd, enable art in developer settings, reboot and bam! 7900 points in quadrant!

The good thing is, it is locked to 1500 (I know how to fix) and memory seems to be a bottle neck. Once I fix those 2 I think everyone will be getting over 8000. :)

You can't currently run rom2sd if cm11 is on internal. Must be a CROMi-X base.
[Asus Transformer TF700] Mackis:
If you can manage to make it go up to 1700 or 1800 then speed will be at the 8500 that is what i got previus. Thats good news i almost thought it was some error in quadrant. :) there seems to be some potential in this build. The force is with us my dear Jedimaster :)
[Asus Transformer TF700] Essentrix:
Congrats fellas; ROM2SD working a treat! One issue at this point; calendar not syncing with Google servers. Anyone else? Cheers
[Asus Transformer TF700] vampyric_blood:
Not sure if anyone else had the issue, Im going to probably reflash and see if it happens again but after i used TiBu and restored all my apps i started getting this message "Unfortunately, the process android.process.media has stopped." Sometimes it is constant, other times it take a bit for it to show up. Here is the logcat though. Just courious if it is something from me restoring TiBu or not since I have never changed between CM or CROMi based roms. And it took a little bit of work to get TiBu to the pro version, i had to redownload my key from play store but i saw someone mention it had issues seeing their backups on the SD card which i had that same issue too but was able to fix it.

On a side note, when I connect to my computer it says it fails to install the drivers but i can still connect to ADB to pull the logcat. :confused:

I had to compress the logcat due to size... :eek:
[Asus Transformer TF700] sbdags:
Try clearing data on calendar app
[Asus Transformer TF700] marmo_wk:
power button

hi again,

I have the prbolmen with power button. it does not work some time after reboot.

does anyone have the same?
[Asus Transformer TF700] vampyric_blood:
Its seems that I have that problem too.. haven't tried it before seeing your post. I have been too busy checking out features and settings.
[Asus Transformer TF700] guliver365:
after reinstalling rom2sd, picked the first kernel CM11Stock kernel instead of the one below but ART does not stick after reboot and reverse to Dalvick!
[Asus Transformer TF700] Mackis:
What do you run on internal?

If its kitkat then you will not be able to do it.
[Asus Transformer TF700] guliver365:
No I checked it again, it is miniCROMI on internal
[Asus Transformer TF700] sbdags:
Hmmm so the issue could be somewhere else......
[Asus Transformer TF700] acraigl:
[MENTION=518363]sbdags[/MENTION] -- thanks for continuing to help troubleshoot the network connection issues I have been seeing with my Asus desk dock. I believe that Tasker has a lot to blame here and may not be optimized for KK (last update was in January). That said, I have disabled it completely and have noted the following:

When placed on the dock, it does properly disable wifi and enables the ethernet connection.

Screen timeouts and/or daydream mode are impacted by the charging state. Once the tablet is fully charged, it 'stops' charging for some period of time when it resumes again. There is some in-between state that it is neither charging, nor is it reporting a battery % value. As such the settings (daydream, or always on while charged) are not honored, because there is too much time in between to sustain that 'on AC but not charging right now' state. In all cases, this causes the screen to shut off.

Lastly, and probably the most challenging, it seems that any app or service that requests a wifi connection reverts the network back to wifi even if an ethernet connection is present. I did not see this behavior in CROMi-X, so not sure if it's a result of KK, the fact it's no longer stock, or the apps themselves are not yet working 100% with kitkat.

Hope that's helpful, and happy to continue testing. This is some amazing stuff! (thank you, too, [MENTION=5123642]lj50036[/MENTION] :))
[Asus Transformer TF700] Mackis:
Sbdags does rom2sd install use some files from internal? How doeas the 2 installs depend to eachother?

I think it was me wiping systempartition on internal that made freq go up and art get enabled.

But that was totaly on internal without rom2sd.
[Asus Transformer TF700] sbdags:
Holy smoke!! :o

How's this for performance ;) On ROM2SD with fsync disabled and data journaling disabled :D A new record!

Here is what happened.... All dirty flashes. CROMi-X 5.4 deodex running on internal.

1. First flash was that8 oc kernel to rom2sd - art would not stick, performance mode goes to 1800 = getting about 6700 in quadrant

2. Second flash was cm11 kernel to rom2sd - art now sticks but performance mode only goes to 1500 = 7800 in quadrant (promising!)

3. Third flash was that8 oc kernel again to rom2sd - art has remained and performance mode goes to 1800 = getting 8800 in quadrant!!!!!!

WOW!

Now to work out why the first flash was bad?

Flash 1 6700

Flash 2 7800

Flash 3!! 8800!!
[Asus Transformer TF700] acraigl:
I'm running the same config, with the exception of internal, and was getting 5900. ART was not sticking after reboot for me either. Reflashed (hoping for the same magic above) and but settings still listed Dalvik as the current runtime (and no change in score). Reflashed again, this time using the CM11 kernel. but still can't get ART to stick. Any thoughts? Clean install, maybe?

Note: Typo in the installer... summary reads "-Sotfware Rendering disabled"
[Asus Transformer TF700] Essentrix:
Problem still there. Might go back to 5.4 for the time being until its sorted. :(
[Asus Transformer TF700] acraigl:
Tasker is crashing with this 11-May rev. Most other apps seem fine but unfortunately, I need tasker to work. I tried a clean install with the same result. Restoring my Nandroid to the previous build got it working again. Any idea if the CM source created an incompatibility with this (or other apps for that matter)?
[Asus Transformer TF700] sbdags:
The source for the May 11 release is the same as the last 3 versions; 20140427

I haven't changed anything in the rom other than the rom2sd / data2sd / f2fs compatibility and the app updates.

Provide a logcat after the crash and it may help us understand why tasker crashes.

---------- Post added at 12:28 PM ---------- Previous post was at 12:27 PM ----------

Did you completely drain the battery over a 48 hour period and then recharge it to full?
[Asus Transformer TF700] acraigl:
Will do... I panicked and restored quickly :). I'll do the upgrade again today and get one to you. Thanks sbdags.
[Asus Transformer TF700] Peter234:
The tablet is getting really hot. KK is installed with the default settings.
[Asus Transformer TF700] acraigl:
Logcats attached. I provided one from the previous build where tasker comes to the foreground successfully, and other on current where it crashes (and restarts on it's own, but crashes again if repeated).

Thanks!
[Asus Transformer TF700] sbdags:
Looks like it is crashing because of art - you have lots of art errors.

What is the tasker apk called in /data/app?

net.dinglisch.android.taskerm-2.apk?

net.dinglisch.android.taskerm-1.apk?

Does it work without art enabled? Did you restore tasker or install it and restore your profiles?

---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

That means it is doing something - which could be anything...

You'll need to provide more info - like a logcat, or look at battery consumption details of apps, or use an app like trickster to see if cpu is sitting at 100%, etc ...
[Asus Transformer TF700] acraigl:
I believe the APK is net.dinglisch.android.taskerm-2.apk. Rebooting now and will verify.

Odd because I was running ART on the previous version too, no issues. I did a dirty flash, no restore. When I did a clean install, I simply installed the app and tried to run it without any of my data and it still crashed. When I reset to Dalvik, it crashes as well.
[Asus Transformer TF700] sparksd:
Posted this and a logcat back in pot #2364 but got no responses. Anyone? I'm getting Android system restarts when trying to uninstall apps or, on occasion, when pulling down the notification bar. Instability is driving me nuts. Thanks.
[Asus Transformer TF700] bongmasta:
Did you completely drain the battery over a 48 hour period and then recharge it to full?[/QUOTE]

with drain, u mean let it off for 48h when its shutdown with 60?
[Asus Transformer TF700] sbdags:
I've had one with the notification pull down - left hand side. We need a last_kmsg from /proc. A logcat won't help as it is too late.

I forgot to take one :( I'll see if I can make it do it again.
[Asus Transformer TF700] sparksd:
I had posted one back in #2337 but got this reply from _that:

This is from a clean reboot from the recovery. So what you experienced was not a reboot (a reboot means that you see the bootloader screen and - in case of my kernel - the penguins), but probably a restart of the Android system only.
[Asus Transformer TF700] sbdags:
Yep see my post above - that fixed it - so basically it's Google's fault for changing maps and Tasker's fault for being dependent on a .jar file that is no longer being used.....

But I have it fixed for you.

Flash this and all will be well again :)

DOWNLOAD TASKER FIX

---------- Post added at 05:58 PM ---------- Previous post was at 05:57 PM ----------

Ah yes mine didn't reboot either it just restarted android so does a logcat maintain what happened? I wonder if it is to do with the notification icons - did you enable the wifi, bluetooth, sound etc to be present in the lefthand pull down.

I can't make mine restart now....