yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] Fireplug:
Hmmm. Not sure if this is an issue or not because I've never tried this before. In preperation I used gparted to wipe my Sandisk 64 ultra clean then created primary partition on full size and finally formatted as ext4. Gparted shows that 1.8 gigs or so are used with the rest free.

Took card out of computer and put into tablet which is still running stock JB. The tablet tells me there is an external storage inserted, but I can't mount it and it doesn't show up in any file manager. Also TWRP didn't seem to see it correctly either. Is his normal at this point?

I mean, is the normal JB stock ROM not able to mount an ext4 formatted external card? Just want to make sure I didn't jack up the card prep before I try the mod, and wanted to run a benchmark on the external card in stock JB too before doing the mod.

---------- Post added at 09:05 AM ---------- Previous post was at 09:02 AM ----------

And if I did jack up the preperation of the card, can someone tell me where I might have gone wrong? created primary partition, formatted ext4 and saw there are no flags set in gparted for the card.

---------- Post added at 09:08 AM ---------- Previous post was at 09:05 AM ----------

Partition is identified as mmcblk0p1 in gparted if that matters, and used space is 1.11 gb
[Asus  Eee Pad Transformer Prime] craigacgomez:
Yes, ext4 cannot be mounted by default... mmcblk0p1 is the /system partition...
[Asus  Eee Pad Transformer Prime] Fireplug:
Do I have to do something with "create a partition table" first? Previously I had fat32 on the card.
[Asus  Eee Pad Transformer Prime] craigacgomez:
The mount point external SD (which will now be mmcblk0p8) won't be used by most apps.... most will use /sdcard which is /data/media...
[Asus  Eee Pad Transformer Prime] Theshawty:
[/COLOR]

Alright, thanks.

Lol, creating two ext4 partitions takes ages on this craptop.

EDIT: Got any tips to how I can somehow "cover" the sdcard slot? I'd hate to accidentally pull the sdcard out..
[Asus  Eee Pad Transformer Prime] Fireplug:
Did a buttload of reading and I think I answered my own question that prime can't normally see ext4 on external SD card.
[Asus  Eee Pad Transformer Prime] Theshawty:
Okay, took the plunge and flashed that blob.file after creating two ext4 partitions. Let's hope it worked because I have no NVflash.

EDIT: It rebooted thrice for me, but I know it didn't get stuck. If I remember correctly, it does reboot three succesive times after wiping dalvik when it's set to be on an external medium. At least that was the case when I had data2sd on my old Nexus One.
[Asus  Eee Pad Transformer Prime] Fireplug:
OK my plan now is to format micro SD card back to original exFAT then run all my benchmarks, then try the mod with only data moved, not cache and run benchmarks again. Will take longer, but I want to be able to make sure the mod is even desirable for everyone.

UPDATE:

Too impatient to wait for Windows to excruciatingly slowly format as exFAT since exFAT isnt an option with gparted. So instead going to gpart it to FAT32.
[Asus  Eee Pad Transformer Prime] HyperShad0w:
I would like to try this rom but I don't have NVflash and would like to keep TWRP as recovery. I have some experience flashign roms but I'm not a dev and I don't know what a blob is. What's my recommended course of action?
[Asus  Eee Pad Transformer Prime] Theshawty:
Ok, that was odd. During the setup, my Prime rebooted like five times, at completely random times during the setup. Will see if it reboots during normal use as well.

EDIT: ODD, ODD, ODD!! When I try to add my Google account, the Prime bugs out and reboots? :eek:
[Asus  Eee Pad Transformer Prime] Bastaerd:
Do a factory reset and flash again.
[Asus  Eee Pad Transformer Prime] Theshawty:
Nvm. I reflashed the system, root, recovery and the four tweak zips. Before doing all of that I removed my SD and reformatted it to NTFS and sent over everything necessary to my Prime through twrp and ADB push.

I'll look into data2sd again sometime. I'll leave it to mature a bit before. It's like with a Whiskey, the older it is the better it is. :D
[Asus  Eee Pad Transformer Prime] Tempie007:
Whats the fastboot command to flash Data2MicroSD ?

tried it an hour ago but ended up with encryption errors in android , didnt boot, and i lost twrp recovery .. i probably failed big time with the command ... recovered with nvflash..
[Asus  Eee Pad Transformer Prime] kr338r:
those aren't the correct commands for ADB; those commands are to be used in Terminal Emulator from the tablet (once you've given it SU permissions).

just out of curiosity, what did you do to make this blob?

i tried it, and it didn't work at all.

unable to compile compile my own blob, but i think maybe something isn't right here.
[Asus  Eee Pad Transformer Prime] whycali:
Its not you, its not that. I have d2sd'd every rom since this mod came out. dd if=/sdcard/(modified)boot.blob of=dev/block/mmcblk0p4 bs=1 to flash then dd if=/sdcard/(original)boot.blob of=dev/block/mmcblk0p4 bs=1 to get back to onboard. Works every time...until I did it with Loccy's post 289 blob for hairybean1.2. I had not tried to revert from hb1.2 because I planned on (and did)flashing craigs rom to get the 201 bootloader. I flashed the rom+su then went through the arduous task of getting the modded twrp loaded the hard way so that I could use it to flash back to hb1.2 which I did without issue. Then I ran the command from hb1.2 to data2sd. Since it was the same undisturbed sd card, all of my data was intact so it was as if I had never left and I had a shiny new tf201 base.

Then somebody in the thread said hey I dont like this, how do I flash back. I told him and he said no matter what he could not get his rom to stop looking for his sdcard and he had encryption unsuccessful. I of course thought he was nuts. So I set off to return to onboard data. Oops, I ran the command in the dock, I think its a no no but I have never done it before so I cant be sure. I booted up and bang encryption unsuccessful. hmm this cant be good. Tried it again nothing. One thing you can count on when you set your system either way to or from the sd card you will get the blue bar at the splash screen to show the new boot. However this is not happening any more. You can go all the way back to the begining and reinstall craigs rom, su, and twrp then install hb1.2 but so far I have only been able to use the original card to do data2sd for hb1.2 or craigs anything else throws errors. Its as if my sd card is suddenly married to my prime.

---------- Post added at 04:48 PM ---------- Previous post was at 04:38 PM ----------

Craig, I tried this via adb and it told me there was no unmount command. I actually went into mounts on twrp and unticked the data in order to get this to work.

Edit:AH HA nice catch flumpster, doesnt like that command either way
[Asus  Eee Pad Transformer Prime] Tempie007:
i tried again, the Data2MicroSD, this time from terminal with the dd= command ...

Same effect: encryption error in android, no more twrp ...

recovered with nvflash again.
[Asus  Eee Pad Transformer Prime] Fireplug:
Hmmmm. Was just ready to try it after running all the "before" benchmarks, but I think i will wait now until someone smarter than me figures out what is going on.
[Asus  Eee Pad Transformer Prime] whycali:
which rom are you trying it with?

---------- Post added at 06:32 PM ---------- Previous post was at 06:15 PM ----------

Makes you sound like a quitter;)

---------- Post added at 07:02 PM ---------- Previous post was at 06:32 PM ----------

Werent the google play movies blocked to rooted users before? Not any more.
[Asus  Eee Pad Transformer Prime] mythoc:
Just installed rom,mods and Data2sdcard+cache. (does cache make a difference being in sd?)

One question, i installed all mods before i used data2sd, are they transfered or i need to reinstall them? stupid question but i'm really tired after formatting and installin jb on 3 primes...
[Asus  Eee Pad Transformer Prime] whycali:
pretty sure those are system changes, still functioning. Craig said earlier that a factory reset wouldnt touch any of them.
[Asus  Eee Pad Transformer Prime] Fireplug:
For me, and others here who might never have actually had to use nvFlash to restore yet....

So if I do try the data to sd mod and decide it doesn't work too well or if everything turns to crap, since I enabled nvFlash earlier please confirm that we should be able to use these steps, using Windows 7 64bit, to go back, right? (assuming our Naked drivers have already been set up previously)

1. Since the Prime wants to automatically turn on when you connect it to the computer this is what I do... Plug Prime into computer while on then shut down Prime.

2. Now, with Prime off, place a microSD card in the Prime with us-tf201-jro03c-10.4.2.15-stock-deodexed.zip and Superuser-3.2-arm-signed.zip from Craig's first post here.

3. Hold down power + vol up on Prime until you feel the tablet vibrate, release power and volume up and immediately press volume up for about 3 seconds, then release volume up. The screen will remain blank but will be in nvidia apx mode.

4. Plug prime into computer with usb cord.

5. Make sure the files we created during the enable of nvFlash are in the same folder as the wheelie executable. Download twrp-2.2.2-jb.img from Craig's first post here and place in same folder.

6. Open a command prompt in that folder.

7. Type: wheelie --blob blob.bin wait for it to finish.

8. Type: nvflash -r --download 5 twrp-2.2.2-jb.img wait for it to finish.

9. Reboot Prime into recovery by holding volume down and power at same time and when the icons show up press the volume up button (which will choose RCK which is recovery)

10. In TWRP Recovery Press wipe button then wipe Dalvik Cache, Cache and Factory Reset.

11. In TWRP Recovery press Install button, select "Using External SD" and then flash the two zip files we downloaded in step 1.

12. Reboot and it should work, correct?

Update: Answered part of my question. Went ahead and tested steps 1 - 8 and after reboot it booted up my ROM again which had no original problem. Was a bit concerned by wheelie telling me that it had installed a new bootloader, but everything seems to have worked OK. I guess my only remaining concern now is if for some reason reflashing Craigs ROM wouldn't fully happen because of the partition locations being moved with the data 2 sd mod. Pretty sure it should all work because I can fiddle with mounts in TWRP if necessary to see the SD card and the zip files stored there which I want to flash.
[Asus  Eee Pad Transformer Prime] whycali:
tbh, I have done this at least 20 times now and this scenario seems like over kill but its nice to be prepared.
[Asus  Eee Pad Transformer Prime] Fireplug:
Thanks!

I answered part of my own question by trying it. :)

Went ahead and tested steps 1 - 8 and after reboot it booted up my ROM again which had no original problem. Was a bit concerned by wheelie telling me that it had installed a new bootloader, but everything seems to have worked OK. I guess my only remaining concern now is if for some reason reflashing Craigs ROM wouldn't fully happen because of the partition locations being moved with the data 2 sd mod. Pretty sure it should all work because I can fiddle with mounts in TWRP if necessary to see the SD card and the zip files stored there which I want to flash.
[Asus  Eee Pad Transformer Prime] craigacgomez:
Flashing the ROM zip over the reversed partitions... remove the blob and manually flash the boot blob... else it will move everything back to default
[Asus  Eee Pad Transformer Prime] b.huss2:
Wow how many pages of data2sd talk? No offence but that's way off topic guys. There's a thread about that already. I would like to stay subscribed to the thread in case there's information pertinent to the rom.
[Asus  Eee Pad Transformer Prime] whycali:
I agree and disagree. It has reached saturation but, every rom is a little different in implementation of this tweak and folks seem interested. Plus if the OP is responding he probably wants to make sure its properly understood.
[Asus  Eee Pad Transformer Prime] Fireplug:
That was what I was hoping. That I could easily go back to default if I didn't like the way the reversed partitions performed.

Ok Ready to flash and benchmark this for you...

one last question.

What is the actual command line using fastboot?

Is it fastboot -i 0x0b05 flash tf201-jb-boot-data.blob Or is there a specific partition it is supposed to go in?
[Asus  Eee Pad Transformer Prime] whycali:
you dont need to flash the rom back to revert, you just need to execute the original blob with the instructions pointing back the original home.
[Asus  Eee Pad Transformer Prime] wwjoshdew:
I wish there was a way to go FULL ON STOCK Jelly Bean after you've unlocked... Would be fun to do the whole unlocking process again. Does this overwrite the AndroidMobi bootloader?
[Asus  Eee Pad Transformer Prime] craigacgomez:
I don't understand what your are trying to say... once unlocked, you will always remain unlocked even if you upgrade to JB... and yes, you can go full stock... which is pretty much what this ROM is... yes it does overwrite the AndroidRoot bootloader...
[Asus  Eee Pad Transformer Prime] craigacgomez:
fastboot -i 0x0b05 flash boot tf201-jb-boot-data.blob
[Asus  Eee Pad Transformer Prime] wwjoshdew:
Sorry, wasn't trying to confuse you. I meant like so stock that it's 100 percent stock. lol. Is there a way to make it towards flashing this doesn't overwrite the custom bootloader? AOSP roms (from what I've heard) do NOT overwrite it.
[Asus  Eee Pad Transformer Prime] craigacgomez:
If you want 100% stock, download the full ROM zip via the Asus site and flash it... but there is no way to use official Jelly Bean or any future ROMs using the official Jelly Bean kernel with the custom AndroidRoot bootloader... the new 3.1 kernel needs the new bootloader... no options!!
[Asus  Eee Pad Transformer Prime] louvass:
Question

where do you get Nvflash is it the same one from back in July that is posted here ? I have flashed in the past and used NV flash also but deleted it in error and need to get it again. Thank you.
[Asus  Eee Pad Transformer Prime] craigacgomez:
I will personally test and verify my Data2SD and DataCache2SD mods by this weekend... I have a really busy week (and may not be here much)... My tests will, however, be simply from a functional standpoint... that these mods will not break anything if flashed correctly... from a performance standpoint, I can offer no valuable input... and here's why...

My internal storage benchmarks [image] outweigh my Class 10 Polaroid SD card benchmarks [image] (I know it's not the fastest SD card)
[Asus  Eee Pad Transformer Prime] Fireplug:
Ok Flashed data only mod with no bootloops or crashes at all and at first glance running very quickly.

The internal storage area, however, is not being seen when connected by MTP (only the "Internal Memory" which is actually on the microSD now.) When I use Asus File Manager it only shows what it is calling my internal memory (again which is on the external card). If I move back up the file tree it does show me two folders... Removable and sdcard... but if I then try to pick Removable it says no files. If i try to copy a file into there it says I don't have permission so i am thinking I will need to change the permissions in Root Explorer perhaps?
[Asus  Eee Pad Transformer Prime] craigacgomez:
Hmmm... I guess it's because I use /storage/sdcard1... I probably should have use /Removable/MicroSD... could you try this... in a terminal or adb shell, enter this command and see if things work...

$ su
# mount -o bind /storage/sdcard1 /Removable/MicroSD

If it does work, create a init.d script with that code so it maintains it after a reboot... I will make the change as soon as possible...
[Asus  Eee Pad Transformer Prime] Fireplug:
Sorry, you are speaking over my head. :) I can nvFlash, fastboot and adb somewhat, but not sure if I need to adb with tablet booted into some special mode or if I can do while normally booted. Also never created an init.d script. Sorry to be so lame. I will try above commands with Android Terminal Emulator app.

More info. When i open Solid Explorer and go back up the tree it shows Internal and sdcard1. If I click to look at sdcard1 then Solid asks for superuser before it will show me. After that I can look at it and it has one directory inside it, media, which is empty. Does this mean nothing can access the media folder right now?

---------- Post added at 10:09 PM ---------- Previous post was at 09:59 PM ----------

Tried above in Android Terminal Emulator app and was able to gain superuser but then mount -o bind storage/sdcard1 /Removable/MicroSD returned mount: No such file or directory
[Asus  Eee Pad Transformer Prime] hanlence:
It's only me or some1 else that the browser not sync with google account?
[Asus  Eee Pad Transformer Prime] Fireplug:
Well this is a bit weird. After doing all my updating after the install (and running your script above) I rebooted the tablet and now I have a notification which i don't remember being there originally:

External Storage inserted

Storage name: MicroSD

Total space 0.00B

If I click the notification it sends me to File Manager but that still only shows my Internal Storage.

Gonna run some benchmarks now to see where it is at. My initial FEEL is that stuff is running slower. No anr's but there does seem to be a bit of lag on some program openings but that easily could be stuff still settling so I plan on running this mod for a while to give it a good test.

First benchmark impressions are that there is a nice boost in speed. Will do an extensive writeup tomorrow.
[Asus  Eee Pad Transformer Prime] dagrim1:
Basically used the info from this thread:

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

http://xdaforums.com/showpost.php?p=29532041&postcount=15

using info from: http://www.freeyourandroid.com/guide/extract-edit-repack-boot-img-windows

Have made working versions in the past so perhaps missing something easy. Didn;t work here either after creating the partition with gparted so guess the blob is bad indeed.
[Asus  Eee Pad Transformer Prime] Tempie007:
this rom :o

gonna try once again.. but think it will fail on me again..

edit: this time no encryption errors.

redownloaded the data2microsd blob, maybe this has fixed it ..

steps done;

Instructions [Data2MicroSD]:

1. Format you microSD card as a single EXT4 partition and insert it into the slot

2. Enter TWRP recovery and wipe data/factory reset and wipe internal storage

3. Download tf201-jb-boot-data.blob

4. Reboot and enter fastboot mode and flash tf201-jb-boot-data.blob via fastboot

fastboot -i 0x0b05 flash boot tf201-jb-boot-data.blob

5. Reboot your device.
[Asus  Eee Pad Transformer Prime] blaxican25:
best rom for the prime to date everything works and runs smooth im happy with my prime now;.) also using browser2ram browser super fast.

get browser2ram here http://mark-tech.blogspot.com/2012/06/browser2ram-fixes-transformer-prime.html
[Asus  Eee Pad Transformer Prime] whycali:
I do not mean i have done nvflash repairs, that is under glass in case of emergency type stuff. I mean i have run that mod back and forth over and under and have not had one actual disaster that required such drastic measures.
[Asus  Eee Pad Transformer Prime] wwjoshdew:
I was wondering that! So with TWRP recovery you can flash the official update and it will be a completely stock device? Recovery, bootloader, everything?

Thanks for the info, I had no clue it wouldn't work. IN your HONEST opinion, would you run with it, or just stay on CM10 or AOKP JB for the time being?
[Asus  Eee Pad Transformer Prime] craigacgomez:
I guess Asus completely overwrote the storage daemon with this whole /Removable/" stuff... and it shows up as 0B because it is EXT4... I will need to make some modifications to make it work properly....

Well, the update zip uses the blob approach which will work fine with TWRP... CM10 for the new bootloader and kernel is already in the works... rayman and the AndroidRoot team have already started updating the AndroidRoot git repo with the new JB stuff...
[Asus  Eee Pad Transformer Prime] KingDavid63:
so after we do this process everything is as it should be i have bootloader back to tf201 version... correct?

Sent from my TF201 running Jellybean/hairy
[Asus  Eee Pad Transformer Prime] hanlence:
NeVer mind. Just jb abandoned this feature.

If I copy the browser from cm10 and replace this one, will it works?
[Asus  Eee Pad Transformer Prime] craigacgomez:
No... not unless you downgrade to the ICS bootloader... CM10 for the new bootloader is still in the works!!

Try to copy ChromeBookmarksSyncAdapter.apk from a Google Apps pack to /system/app and check!!
[Asus  Eee Pad Transformer Prime] wwjoshdew:
Thanks for the confirmation! I downloaded THIS and I'm about to install it! I need to do a video on how to root via an unlocked bootloader but no root or custom recovery anyways! :)
[Asus  Eee Pad Transformer Prime] craigacgomez:
Might take me a while to get a WW version... maybe only after Asus releases the update zip.... It's quite a time-consuming process to get it done without a full update zip.... move back to WW ICS, get dlpkgzip file & flash, create nandroid backup, deodex file, create update zip, test and retest...
[Asus  Eee Pad Transformer Prime] Hawke84:
Thank u so much for this man!once flashed is it possible to go back, I'm worried keyboard config won't be there for UK..
[Asus  Eee Pad Transformer Prime] flumpster:
No problem mate. Even tho WW would have been better this will do me just fine until you get your hands on an update.zip to get one made.

Thanks once again for your work.
[Asus  Eee Pad Transformer Prime] craigacgomez:
UK dock keyword will work fine... I changed the layout to UK and my keys worked like the UK keyboard... (example, Shift+2 is not @ but ')
[Asus  Eee Pad Transformer Prime] jemberton:
Just flashed this. Seems to be working well! Thanks loads for all your work:thumbup:
[Asus  Eee Pad Transformer Prime] andy_rose:
Let me know if it worked going from the Hairy Bean over to this one :)
[Asus  Eee Pad Transformer Prime] craigacgomez:
Should... and reportedly does... http://xdaforums.com/showpost.php?p=32155665&postcount=11
[Asus  Eee Pad Transformer Prime] Wextercz:
Very GOOD job! Waiting for WW! :)
[Asus  Eee Pad Transformer Prime] djkinetic:
using the latest CWM Touch to apply the update zip but it doesnt update my BL or Recovery after installing, this is after I used NVFlash to go back to ICS after HarryBean...

Edit: I got it to install and boot, although a bit more work was involved, if you are like me and went back to ICS from Harrybean 1.2 and cant get the CWM zip to update the bootloader, recovery, etc which in turn doesnt let you boot the rom follow these steps.

1. Open up us-tf201-jro03c-10.4.2.15-stock-deodexed.zip extract the blob file, use blobunpacker to get these three files blob.EBT, blob.LNX, blob.SOS

2. move these files to you nvflash directory. start up your prime in fast boot mode (Vol+Up)

3. boot into nvflash wheelie --blob blob.bin (your original blob.bin file from nvflash)

4. flash the three files with these commands:

nvflash -r --download 4 blob.EBT (new bootloader)

nvflash -r --download 5 blob.SOS (stock recovery)

if you want custom twrp download http://d-h.st/JMk and flash with nvflash -r --download 5 twrp-2.2.2-jb.img

nvflash -r --download 6 blob.LNX

5. next nvflash --resume --go it will get stuck trying to boot press and hold power button, then volume+down then choose RCK (recovery mode with volume up.

6. Wipe System, wipe cache, wipe dalvik cache, wipe data (factory reset)

7. now install us-tf201-jro03c-10.4.2.15-stock-deodexed.zip and Superuser-3.2-arm-signed.zip

8. reboot and wait a couple minutes and it should boot into JB, also notice the BL Text at startup is now device is unlocked instead of Androidroot.mobi
[Asus  Eee Pad Transformer Prime] RucaNebas:
+1.
[Asus  Eee Pad Transformer Prime] craigacgomez:
I heard CWM 5.8.3.4 has some issues... but I think it should work with CWM 5.8.2.0... definitely works with TWRP...