yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] graphdarnell:
Thanks for the reply. Is there a streamlined procedure posted somewhere regarding this? I can see how easily this might confuse someone new to the game. Like when you flash ROM2SD, how the sd card should be partitioned; or when you flash all on the external card when the internal wholly empty; or when you need to use _that's method and for what, etc...

Again thanks to all the wizards for the guidance.
[Asus Transformer TF700] _that:
Clarification: There is only one kernel image (I think I wrote that already in the OP). By flashing the kernel after rom2sd1, the only relevant change will be the modules in the external /system/lib/modules.

rom2sd2 contains modules for the -that6 kernel, so it's preferred to flash your preferred kernel as usual, then run rom2sd1, then flash it again to install the modules to the external ROM. In this case there is no need to reboot in between because the kernel image in the boot partition is the same for both anyway. Of course, you could also simply mount both /system partitions somewhere and copy the modules manually without flashing any zips. [MENTION=518363]sbdags[/MENTION]: maybe that would be a nice add-on - a zip that copies kernel modules from internal to external /system?
[Asus Transformer TF700] dilfred:
Just a quick question. How do I make link to data directory on the internal installed ROM that can be read on SD stored ROM.

Reason for question is Google musicplay only looks in couple of places and is not seeing music already stored on internal SD ROM music directory
[Asus Transformer TF700] _that:
You can make /sdcard of the external ROM point to the internal one if you modify two files in external /system/boot/ramdisk a bit:

In fstab.cardhu, add a line for the internal /data partition on mmcblk0p8. You can copy the line from the real /data on mmcblk1p2 and change the device to mmcblk0p8 and the mountpoint from /data to /datai.

In init.cardhu.rc, in the section "on post-fs-data", add:

mkdir /datai/media 0770 media_rw media_rw

and change the line for "service sdcard" to ("datai" instead of "data"):

Note that it is in your responsibility to ensure that the apps in your internal and external ROMs are compatible enough to be able to share the data on the emulated sdcard.
[Asus Transformer TF700] dilfred:
Thanks, but that was not quite what I had in mind, I apologise for not explaining clearly.

I was thinking more of a symbolic link ln -s command so that I could goto /data/media/0/Music and inside there would be a directory which is actually a link to the original data stored at /datai/media/0/Music directory

ln -s creates a file not a folder when I examine the ls -l details and also when I look at it in ES file explorer

Therefore it would appear as a folder as normal within /data.....

For windows I would simply type

MKLINK /J ./data/media/0/Music/newfolderrepresentingMusici ./datai/media/0/Music
[Asus Transformer TF700] _that:
The emulated sdcard does not support symlinks by design. So it's either all or nothing - or somebody modifies the sdcard daemon.
[Asus Transformer TF700] XabiX666:
I did that by CM 10.2 is in a reboot loop. Not sure why as I run several times the all process.

What's the best way to uninstall ? so I get back to CROMIx 5.2.3 ? (except to remove the SD card every time).

I did 3 primary partitions as FAT32, EXT4 and EXT4. Put all the rom2sd zip in the FAT32 partition and follow the exact process described above with the latest stable from CM10.2.

If I recall the first time I run rom2sd1.zip I got a message like couldn't create /data/media but when i redid all the process again no complains.

I am running the 1st kernel from cROMIX which I think is _that v4 (without OC)

Thanks

XabiX
[Asus Transformer TF700] XabiX666:
Hi,

I ve tried to change TWRP to CWRP but the same. I have tried to wipe the cache and the david... also.

I am in a reboot loop when I try booting on CM 10.2.

I tried to connect with adb logcat but nothing get displayed.

not much ideas. It seems I am the only one with issues :) maybe i am too noob for this dual boot solution :)
[Asus Transformer TF700] _that:
"Reboot loop" = the tablet tries to boot, then reboots immediately to the bootloader? (and not "hangs endlessly on the boot animation")?

In this case, when it reboots again, hold down Volume-up to get to the bootloader menu, then enter recovery, then adb pull /proc/last_kmsg. Read that file for clues or post it for help.
[Asus Transformer TF700] Thibor69:
Is this still the best way to get a CM 11.0 ROM to dual boot with CROMI-X ??

Thanks
[Asus Transformer TF700] sbdags:
Haven't tried cm11. But yes you should try thus method.
[Asus Transformer TF700] XabiX666:
Thanks _that for that :)

There seems to be a kernel panic that implies a reboot which ends up in a device rebooting endlessly.

See the file in case you can find the issue.

Merci
[Asus Transformer TF700] _that:
Looks like a bug that is triggered by filesystem corruption.
[Asus Transformer TF700] XabiX666:
i checked the md5sum of the CM 10.2 ROM and is correct. CROMIx boots just OK when I don't insert the SDcard s which filesystem is corrupted?

What should I do? I did several times the all procedure for dual booting installation so strange that I always get a corrupted partition?

I will try maybe with the different ROM than CM 10.2 if it could make any difference?

thanks
[Asus Transformer TF700] berndblb:
I am running CM 10.2 stable as ROM2SD with CROMi-X 5.2.3 on the internal successfully for 20 minutes now! :victory:

It took me a lot of tries (and during some I admit to stupid brain f**ts)...

At first I think I somehow messed up the partitioning in Gparted. It took three attempts formating the card before I successfully installed CROMi-X as ROM2SD.

Since I now had confirmation that the card was ok, I made another attempt tonight at installing CM and this is what worked for me:

1. Flashed _that v6 to internal and rebooted

2. Flashed rom2sd1 and did a factory wipe of external

3. Rebooted again

4. Flashed rom2sd-data2sd-intmedia-shell-that1

5. Flashed rom2sd1

6. Flashed CM 10.2 stable

7. Flashed gapps

8. Flashed rom2sd2

9. Rebooted and set up

In previous attempts I had skipped (or forgotten about) flashing rom2sd-data2sd-intmedia shell-that1 and rom2sd2. I just double flashed the kernel: once to internal and again to external after flashing the rom. That did not work....

When I finally re-read the OP (dohhh!!) I realized that rom2sd2 writes v6 kernel modules to the external.

Since I believe you have to run the same kernel on both installations, I flashed v6 to internal and did everything else as described above.

I fully expect a lashing from the master, hopefully accompanied by some enlightening information why my attempts at double flashing the kernel were just totally stupid :D

I seem to remember _that recommending that procedure in some thread - but I now think, that strategy only works if you run a CROMi rom on both external and internal. Maybe???
[Asus Transformer TF700] sbdags:
You should be able to start at step 4 if you are running CROMi-X with thatv7.

You just add a wipe after flashing rom2sd1 ;)
[Asus Transformer TF700] _that:
Apparently the /data partition on your microSD card needs repair (fsck) or reformatting.

Yes, and it also extracts the ramdisk from the new kernel and modifies it for Data2SD+System2SD. I assumed that if you install CROMi-X instead of CM, it is already prepared correctly for running from the microSD by sbdags if you set the correct option in the installer.
[Asus Transformer TF700] sbdags:
Yes if you are running CROMi-X and install it to ROM2SD no further mods are needed.
[Asus Transformer TF700] worhello:
So if you install Cromi to the rom2sd, and cm to the internal memory, it'll work? Without any other modifications?
[Asus Transformer TF700] worhello:
Never mind, being a bit thick :P I'll try another few things out :)
[Asus Transformer TF700] berndblb:
It's the other way around. You must have CROMI on the internal - then you run CM on the card.
[Asus Transformer TF700] worhello:
I'm trying that out at the moment. I've installed Cromi normally on the internal, and more I'll flash the int media and rom2sd1 files, flash cm and gapps, and fleadh rom2sd2. Hopefully that'll work.

That worked. I now have CROMI 5.2.3 and cm11 dual booting. My only problem is that the Wifi seems broken on cm, while it works fine on Cromi. That might be because it's a nightly though ;P
[Asus Transformer TF700] sbdags:
I haven't tested cm11 yet. It may not work with that'sv6 WiFi modules. Cm 10.2 works fine though.
[Asus Transformer TF700] worhello:
I'm trying to install cm10.2, but it's not working for me. The error I'm getting is to do with the ro.build.product line. I've seen that I should upgrade my recovery, but first I'll try with twrp 2.5.0.0. Atm I'm using 2.6.3.1, which supports kitkat. I'll try it out tomorrow.
[Asus Transformer TF700] _that:
rom2sd2 installs the kernel modules for then -that6 kernel. If you are using any other kernel, you need to replace the modules in (external) /system/lib/modules with matching ones.

Oh, for the TF300T you need to use bcmdhd_29.ko instead of the default one, and modify the rc file in /system/boot accordingly. I think I mentioned that somewhere in this thread.
[Asus Transformer TF700] XabiX666:
i have redone all the steps and even tried with kernel thats_v7 after having rebuilt all the partitions.

The only thing that may differ is that I use MiniTool partition magic instead of gparted. All partitions are set as primary with fat32, ext4 and ext4.

At some pt I got the the Android upgrading message with a finish message but then reboot.

Something is really strange with my device or my tries. :cowboy:
[Asus Transformer TF700] _that:
Many people had problems with using MiniTool for Data2SD. Maybe it doesn't format ext4 correctly. Use gparted, as described in the OP.
[Asus Transformer TF700] sbdags:
That is the issue. Minitool is known to cause issues and can damage the card. Try gparted. The instructions are in post 2 of my thread.
[Asus Transformer TF700] XabiX666:
I have started all from scratch with Gparted (aligned to MiB). See below's screenshot to show you what I did.

After I copied the files (md5 checked) to the FAT32 partition and I installed CROMIx 5.2.3 on the internal normal install with that_v7 kernel.

After I followed post31:

* Flash rom2sd-data2sd-intmedia-shell-that1. This adds files into /system/boot, so you need to re-flash this if you re-flash your internal ROM.

* Flash rom2sd1.zip - this will change the device nodes to the external card. All following actions in TWRP will affect the external partitions until you reboot or re-execute rom2sd1.zip.

* Flash your "external" ROM, e.g. CyanogenMod, and do NOT reboot

* Flash rom2sd2.zip - this will extract the ramdisk from the new ROM's kernel in the staging partition to (external) /system/boot/ramdisk and then overwrite the header so that it is not flashed by the bootloader. It will also patch the ramdisk files for Data2SD and add the required wifi kernel modules for the -that6 kernel to /system/lib/modules.

Will add the log I could get when rebooting to recovery in a sec.

Could it be my SDcard?

Thanks
[Asus Transformer TF700] sbdags:
You didn't say which version of CM you flashed. 10.2 I assume?
[Asus Transformer TF700] XabiX666:
Yes this is correct.

Initial thread http://xdaforums.com/showpost.php?p=48539603&postcount=87

last_kmsg doesn't really help. Any other idea? or file that could be usefull?
[Asus Transformer TF700] _that:
The partitions look correct. Did you put the correct modules for the -that7-tcptest kernel into external /system/lib/modules (remember rom2sd2 installs modules for -that6, maybe they are incompatible)?
[Asus Transformer TF700] XabiX666:
No I didn't, I thought that this was compatible as several people mention using CROMIx directly with CM 10.2 in dual boot without mentioning importing modules.

What is frustrating is that the log doesn't really give hints so I believe that the SD card should be faulty otherwise I don't understand why I always get reboots :(
[Asus Transformer TF700] evilnick:
I'm wanting to test out CM11 using this, how would I get the correct modules for that kernel so that wi-fi works?
[Asus Transformer TF700] _that:
You can extract the modules from the flashable zip files for the kernel.
[Asus Transformer TF700] evilnick:
Hmmmmm, so for the dullard in the class (me), would it go something like this?:

0) Partition the external card (FAT32, Ext4, Ext4)

1) Flash any ROM to internal storage (I don't care about that ROM, don't plan on using it)

2) Install a _that kernel from http://xdaforums.com/showthread.php?t=2230059

3) Install rom2sd-data2sd-intmedia-shell-that1.zip

4) Install rom2sd1.zip so that the external card is mounted as internal

5) Install CM11 (to the external card because of 4)

6) Install GApps (to the external card because of 4)

7) Factory Reset (the external card because of 4)

8) Extract, replace the contents of /modules from rom2sd2.zip with the contents of /modules from the kernel chosen in 2, (change the .sh file - if necessary, haven't checked this yet) then repack rom2sd2.zip to reflect the kernel chosen in 2

9) Reboot
[Asus Transformer TF700] _that:
Should work like this. If you repack rom2sd2.zip, do it before you start with the installation so that you have it ready when you need it. Just replace the kernel modules inside the zip with the ones from your chosen kernel. Then flash your modified rom2sd2.zip in step 8.
[Asus Transformer TF700] evilnick:
Thanks for your help - using the modules from kernel-10.6.1.14.10-that7-oc.zip means that CM11 wifi works :)
[Asus Transformer TF700] Drewman294:
Delete
[Asus Transformer TF700] XabiX666:
I couldn't get it working myself. Not sure if it was the sdcard or the fact that I didn't rebuild the zip file extracting some modules etc.... I posted my procedure but maybe I was missing something.
[Asus Transformer TF700] sbdags:
I'll have a go later - oh hang on don't you need a special bootloader / recovery for CM11? Ah just read the CM11 thread - just CWM required. OK I'll give it a shot.
[Asus Transformer TF700] _that:
There is no newer bootloader provided by Asus than the one we know (10.6.1.14.10), so we have to work with what we have. In addition, the binary (GPU) drivers in our 4.4 ROMs are still from the 4.2 stock ROM, which required some workarounds on the CM side.

For flashing a KitKat ROM, you need a recovery that has these features:

- The (recovery) kernel must support ext4 security attributes. If not, installation will fail at "set_metadata_recursive".

- The recovery's init must be linked with the KitKat runtime library. If not, "assert" statements in updater-scripts that check for build properties will fail (if the update-binary in the ZIP is built for KitKat) because the in-memory format has changed.
[Asus Transformer TF700] berndblb:
Supposedly TWRP 2.6.3.2 works with CM11. Haven't tried it myself though
[Asus Transformer TF700] sbdags:
Well flashing the latest nightly now with a modded rom2sd2.zip for that v7 so we'll see how it goes in about 10 mins :)

Booted fine to setup screen :)

Use this Rom2sd2.zip with CROMi-X on that v7 on internal if you want to try CM11 on SD ;)

http://www.androidfilehost.com/?fid=23269279319202490

---------- Post added at 10:01 PM ---------- Previous post was at 09:06 PM ----------

Right been running CM11 as Rom2SD for 30 mins. Performance mode - feels quite sluggish which is strange as I was expecting it to be fairly snappy. Quick quadrant just for quadrants sake - 5299, second run 5437. Lot's of nice options available though but the lag would drive me mad. Needs optimizing via trickster mod for our tabs or at least B2R script I feel. Anyway you can try it out for yourselves now :) Don't forget to flash the gapps package as well.
[Asus Transformer TF700] sbdags:
Yes it could be related to the stock kernel - true.
[Asus Transformer TF700] _that:
If CROMI on the same kernel doesn't lag, it's unlikely to be a kernel issue. :)
[Asus Transformer TF700] sbdags:
I think I'll have to load CM11 internally to see if there is any difference. It does feel quite laggy on ROM2SD which I'm surprised as kitkat should be faster right?
[Asus Transformer TF700] _that:
Have you tried the new ART?
[Asus Transformer TF700] sbdags:
Yes and as it warns when you enable it cm11 does not support it. Although I haven't tested it enough to notice a difference.
[Asus Transformer TF700] johnnytraveler:
If I run cm 11 on my internal, will it see both the emulated 0 and extSD I am running for rom2sd? I thinking of giving cm11 a looksy.

Sent from my KitKat Galaxy S3.

---------- Post added at 09:14 AM ---------- Previous post was at 09:11 AM ----------

On my galaxy S3, art only works with about 20% of the custom roms. People are staying away since there is no xposed on art or app crashes with art.

Sent from my KitKat Galaxy S3.
[Asus Transformer TF700] lj50036:
Once I flash the rom2sd-data2sd-intmedia-shell-that1.....Do I need to reboot back to recovery?? Thx lj
[Asus Transformer TF700] sbdags:
No. That flashes the system/boot pre-init scripts. But if you don't have a kernel capable of using them it won't do anything. So you can put CROMi-X (you should try it sometime ;) ) on internal then you can flash CMB to external ;) using this method.
[Asus Transformer TF700] lj50036:
Liquid Silk

That what I am doing been running CROMi-x 5.3 ODEX for a few hours now....WOW the browser is INSANELY FAST!!!!:good: On _that's OC kernel, very nice so far... Liking what Im seeing.. That installer in very nice also....Thx for your help and your very nice rom!!!!:silly:
[Asus Transformer TF700] sbdags:
Put the browser 2 ROM init.d script in your ROM ;)
[Asus Transformer TF700] lj50036:
Wifi Issues

Ok got it up and runing... Seems to be verry nice dual boot setup CROMIx on internal and CMB4.4.2 on ext/sd

I am just having issues with wifi and the CMB4.4.2.. It just will not even turn on at all...Would a logcat from boot up be helpful..As what I can tell this is a kernel issue?? Just let me know what you need from me to help out or maybe I missed something.. Thx as always lj
[Asus Transformer TF700] berndblb:
Check out post 116+ in this thread. Salvation is near ;)
[Asus Transformer TF700] _that:
Post #1 should also be helpful. :)
[Asus Transformer TF700] lj50036:
Well Im am not sure what Im doing wrong.. I have the correct modules, in the correct place... I would like to think im not a tard LOL:p.... I just cant get wifi????? On the sd card rom....
[Asus Transformer TF700] _that:
Run lsmod in a root shell - does it show cfg80211 and bcmdhd?
[Asus Transformer TF700] sbdags:
Reflash but use the rom2sd2.zip I posted in #126.
[Asus Transformer TF700] workdowg:
Here we go... Pretend I'm stupid (not too far from the truth, sometimes).

1) I flashed the "newest" TWRP (2.6.3.0) from the OP in OMNIrom thread because bryce09 said that is the one he uses.

2) Booted to recovery and flashed rom2sd-data2sd-intmedia-shell-that1

3) Flashed rom2sd1.zip

4) Went to flash the OMNIrom and low and behold my internal sd is gone. (Because it is switched with my microsd, but not really...)

Question is : How can I move on if I can't get the files to flash from my internal? Edit: Move them to the fat32 patition?

I will try to see if it normally sees my microsd...

I'll keep it this simple and supply more info as needed....

Edit: When I try to select install from, I only get internal before and after flashing rom2sd1.zip. That is after a successful reboot into CROMi 5.3. Is something wrong with TWRP (2.6.3.0)?

Edit2: Flashed the bootloader/twrp from the CROMi thread and it sees both now... We will see if omnirom will install. Sorry for cluttering up another thread ;)
[Asus Transformer TF700] sbdags:
Could be - you should have a FAT32 partition on ext_sdcard that TWRP sees. Mine works like that so even after flashing the rom2sd1.zip it still behaves the same way.
[Asus Transformer TF700] workdowg:
We replied at the same time I think... It is fine with twrp 2.6.1.0,. But now I get this error after flashing rom2sd1.zip:

E:error opening '/data/media'

E:error: no such file or directory
[Asus Transformer TF700] berndblb:
I'm not totally sure I get your question, but I hope this helps.

TWRP will always see the fat32 partition on your microSD as "external microSD" and that is where you have to put your Rom zip.

Flashing rom2sd1 reorients TWRP. It will now treat the first ext4 partition on the card as /data, and the second ext4 as /system (and your internal SD does not exist anymore for TWRP). Until you reboot - then everything is back to "normal".

So each time you want TWRP to act on the ext4 partitions on your card (as opposed to those on your internal), like making a nandroid, wipe or install, you have to flash rom2sd1first. Unless you flash CROMI-X to external. sbdags built it into the installer.
[Asus Transformer TF700] sbdags:
Yeah you may now be suffering the TWRP bug that hides /data/media for some reason.
[Asus Transformer TF700] workdowg:
Yeah, that I know... The problem was the newer twrp did not see any ext4 partitions on my microsd. _thats zip did its job because that happens at the command line level. So it switches them, but the new twrp did not see it. Now my problem is this no /data/media error. I may just have to flash omni on the internal to see how it looks and feels...

Thanks!
[Asus Transformer TF700] sbdags:
If omini is 4.4 based you'll need to either switch to the latest CWM or risk TWRP 2.6.3.2
[Asus Transformer TF700] _that:
If you just created your external /data partition, there won't be a /data/media directory yet... I think you can safely ignore this error.
[Asus Transformer TF700] workdowg:
I thought so also... But when I tried to flash omni I get the same error. At least it isn't his set_metadata_recursive error which I got a while ago when I tried to install to internal...
[Asus Transformer TF700] gads1:
Odd partition device names via GPARTED

hello -- just used latest gparted on bootable USB via unetboot.

I was somewhat confused when I realized that PARTITION device labels on SD card as follows (as displayed in gparted, left-to-right):

/dev/mmcblk0p1 == .. p3 == ... p2

I was following the build suggestion below and confused why was receiving the "running out of space" when I clearly had followed build instructions (but incorrectly assumed partitions labeled sequentially .. 1, 2 , 3).

Why would gparted create partitions but have device ID's not in sequential order (like slices in HD under SVR4, etc)? Is this effectively a bug in display -- or something else?

any insight would be appreciated. -GA
[Asus Transformer TF700] berndblb:
The same mistake drove me up the walls too, and if I remember it correctly, gparted labels the partitions in the order they were created not necessarily sequentially. So you do have to create fat32 first, then the /data ext 4 and the /system ext4 last.

I think mine got mixed up because I went back, deleted and re-created a partition - can't quite remember now....
[Asus Transformer TF700] _that:
The partition table has space for 4 entries. The location (block range) of the partitions on the medium need not be in the same order as the partition table entries.
[Asus Transformer TF700] adelancker:
Guys, I have a question!

I have installed CRomI-X on my internal and CM11 on my external, everthing works, except my wifi on CM11! Upgrading CM11 to its latest nightly, or installing from scratch doesn't work. Can anyone help?

FYI: I first tried TWRP, but after flashing the rom2sd1.zip twrp didn't recognize any of my own directories anymore... So I am now using latest Philz.
[Asus Transformer TF700] _that:
Have you read the OP?
[Asus Transformer TF700] adelancker:
Yes, I have :)

Like I said, both roms are working, but wifi isn't on CM11. Is this a known issue somehow? Or is this something I must have done wrong?
[Asus Transformer TF700] sbdags:
DId you use the rom2sd2.zip I made for thatv7 and CM11 earlier in the thread? That should fix your issues.

http://www.androidfilehost.com/?fid=23269279319202490