[TouchPad Development] nevertells2:
OK, I think we are confusing each other trying to get straight what your instructions say and how I interpreted them. Guess my interpretation was about as clear as mud. For your method to work, your batch file ,the .bin and the uImage of TWRP needs to be somewhere on your PC since you set the path statement to find them anywhere on the PC. On the TouchPad, the Rom.zip, Gapps.zip and TWRP.zip in a folder named TWRP that is either on the /data volume or the /media volume. I'm not clear on where one finds the TWRP folder. I know for sure TPTB does not create a TWRP folder on the /media volume. What TPTB does during "Complete Data Reset" is completely deletes the TouchPad's old memory structure which removes WebOS and any old Android installations. It creates a new structure for Android, including the /boot volume and it installs Moboot. Let's clear up your question about /data and /media. Before Android, the /media volume is where most of the memory was allocated and where the SD card resided. Only about 1.45gb of memory was allocated to /data(internal memory) As newer versions of Android appeared, the devs adopted a new memory format for the TouchPad called data/media. Under this format most of the memory is now dedicated to the /data volume and the SD card now resides in the /data volume. A small amount of memory is left to the /media volume(sometimes called the legacy volume). So now we have two SD cards, the internal one located in /data and the external one located in /media. When Sullins creates TPTB, this is where he locates the ttinstall folder where he instructs everyone to copy the Rom, Gapps and recovery zips. When "Install Android" runs, this is where TPTB looks for the three files.

Here is where I am confused a bit about how your batch file installs android. When it starts, it launches TWRP from the PC and runs it in the TouchPads memory just like if it had been launched from the /boot volume. So now that TWRP is running, I am gathering that one uses the file manage in TWRP to move the Rom, Gapps and TWRP zips into the /TWRP folder on the TouchPad. This is where I am not clear on exactly where the /TWRP folder is and how it got there. But as long as the user of your method understands how and where they need to copy the three files to, I guess it does not matter. So, am I on the right track or way off base? I know that once the file structure is created on the TouchPad, it should be possible to use Windows Explorer to copy the files to the TouchPad, which is the way one does it if using TPTB to do the full Android install. TPTB mounts the /media volume which allows you to copy the three files to ttinstall. I have never used TWRP to do this, but I believe when TWRP is running, it either mounts the /media volume or has a way to mount it when you need to copy files to the /media volume.

What do you think?

NT

OK, I just ran a little experiment, I started TWRP and then plugged the Touchpad it into my laptop. I was immediately able to see both the internal SD card and the external card. I copied two files from the PC to the ttinstall folder to prove it could be done. The only glitch I ran into was while I was copying the files over, TWRP went to sleep and I had to perform a hard reboot, power + home buttons for around 20 seconds, to get it going again. But at this point the three files needed to install Android will be residing on the TouchPad and now you place the TP in WebOS recovery so you can run your batch file and start the install. So hopefully the only thing I am not clear on is how the /TWRP folder gets created and where it is created, on the internal or external SD card. Tell me again, where does your batch file look for the three files But wait, if TWRP is now running, the batch file and the .bin are no longer in control. So I would think that when you select Install Zip in TWRP, you would have to browse to where the three files are located, they could be just about in any folder, be it called /TWRP or /TTINSTALL. Am I right about this?