[Android] ext2 and haret questions - Touch CDMA General

Would someone write a tutorial on installing Android on ext2? I thought I understood how it works, but realized I was only booting from haret, and not installing onto the ext2 partitions I had made. I went back and reread a lot of the old threads, but find it hard to figure out when to push vol down or hit end. Also, I prefer to boot into 320 x 480 so I can see the whole Market. This makes the print so tiny, I'm not sure what I'm seeing. (I did manage to get it on to my ext2 partition, I think. How do I know for sure.) Thirdly, the choices when booting are different, depending on whether you want to install for the first time or not. So, could someone tell us what the correct selections are if you are:
1. Installing onto ext2 partitions for the first time.
2. Just wanting to change resolution.
3. Wanting to change builds completely from say, Donut to Eclair.
Also, I understand that you can backup your data.img. But how do you go about reusing it if you are wanting to go back to a version of Android you've used in the past?
Lastly, if you are moving from, say Donut to Eclair, (moving to a completely different build), must you use a backup app to take your apps, settings, ringers, wallpapers and so on, to the new build?
If someone would write a tutorial addressing these questions, I'd be forever grateful and I'd imagine it would help those who want to try Android for the first time. Having all this information in one place would really help.
Thank you so much.

Not a pro by any means, I am still trying to figure everything out myself but here is how I understand it...
To install on ext2, you need to partition your SDcard into 3 partitions, 1 FAT32 and 2 ext2. When you run haret, it will detect the partitions and ask you to "upgrade". If you choose yes, it will install on the ext2 partition. If you choose to back up your data, it will create a backup of your data.img file and then upgrade. If you press End, you have the option to wipe the data file before you install.
You can verify if it installed to the ext2 partitions by browsing your SDcard. You should not see a data.img file on your FAT32 partition and you should see a backupsystem folder with the system.sqsh file in it.
If you want to change the resolution, all you need to do is change it in your default.txt or startup.txt file.
Don't have any advice going from one build to another as I normally just wipe my data file and start over to ensure I am starting clean.

Thanks, it helped me too...
But; I made 2 partitions, 1 Fat32 and 1 EXT2. I'm running haret now, he didn't ask anything about updating... Now it hangs on a black screen, but the backlight is still on. I didn't see any linux penguin neither like the last times (without ext2).

Related

Partition question

I'm running Cyanogen's 4.2.7.1 already but wish to partition my sd card to take advantage of swap, ext3 etc, Do i need to re flash the ROM after the partion is created for the ROM to recognise the partitions and use swap etc or can this be done after the rom is loaded.
Sorry to be a tard but still fairly new to this game, hope this all makes sense!!!!
You should be able to do it after the fact or before. It really shouldn't matter. I used AmonRA's recovery image and the options to partition your card are right on the recovery screen. They are standard settings if you want to change them (ie. ext3 to ext4 or amount of swap) you'll most likely need to run the SDK from your computer. I used a little program called sdparted. I know they make an app for swap space, but you can change it from the SDK also. Hope this helps.
I'm using Amon Ra's recovery so AFAIK sdparted is intergrated into it. So do I uninstall all my apps then redownload they, Will they install in the the right partition? Not exactly sure I fully understand the concept as yet...

Guide REQUEST! apps2sd

I read, and read, and read. Most of the chefs cook this mod into their ROM's but i am using the desire from modaco, so i`m left out.
As far as i understand, you have to create 3 Partitions on the SD Card:
- swap
- Ext2/3?
- FAT32
After that you do some shell editing and that's about it.
I`m sure some are wondering as i do if:
- Can i create the partitions in Windows and then place the card back into the phone?
- If i install apps2sd is backup still required? Or will a new ROM Flash automatically use the installed apps?
So this is an appeal to someone with the heart and knowledge to help us out with a guide.
Thanks
Found this thread, so basically it should work after flashing that ROM on top of the current OS.
You do not need the swap partition... just an ext partition (size your choice)... the rest vfat... and you partition it using Amon_RA's recovery...
And when you flash a new ROM, you might need to re-enable App2SD in that ROM to see the apps installed in the sd ext partition...
a related question.... can the files of the existing apps be moved from /data to the new partition /sd and still function.....or do they need to be reinstalled?
I highly doubt you can just move them...
britoso said:
a related question.... can the files of the existing apps be moved from /data to the new partition /sd and still function.....or do they need to be reinstalled?
Click to expand...
Click to collapse
tried this... was not successful!
I can't even get the "SD Secondary" to show up?!?
I've wiped everything
partitioned:
swap 0
ext 640
then installed a fresh rom I copied over and no "SD Secondary" showing up on the phone... any ideas?
I followed these steps exactly... (minus the memory number difference)
part 1: http://www.youtube.com/watch?v=_P3T2mf5Pu8
part 2: http://www.youtube.com/watch?v=FdKBmWU-ALg
Guys,
If you want to use A2SD. Enothmer's new ROM seems to be the easiest at the moment, BUT many smart devs are putting efforts towards this.
Basically.
Copy your SD to your computer.
Partition it via Recovery.
512mb 96 swap our my settings
do an EXT2 to 3
I did a 3 to 4, you can use 3 though.
Re copy your stuff from computer BACK to your SD.
WIPE everything via recovery. factory, EXT partition, battery, davlik.
Flash Enom's 1.7.1 rom, Log in, Go into spare parts, click disk mgmt, check A2SD stuff, reboot. Your good to go. Use titanium back up, download, whatever.
Again, other good versions should be coming out soon. I think of the current models Enom's seems to be the easiest.
Yeah I pretty much gave up on it for now... it will be more worth it in the future when I get a larger SD card and my list of install apps goes up. For now I just don't go download a ton of apps...

[GUIDE] 8 Minute Linux for Android Users

Greetings!
Here are the next two installments of my Android Video Tutorials.
I call these "8 Minute Linux" since it explains how to set up and use a linux virtual environment in well under 10 minutes.
The first video explains in very easy to follow steps how to install VirtualBox and set up a simple Puppy Distro Linux that will allow the most novice of users to get a working linux without having to disrupt their Windows environment.
http://www.youtube.com/watch?v=Pkk9EGFe7lo
The second video assumes that you followed the first one and set up Puppy Linux. Then, it walks you through how to partition your micro sd card and create FAT32 and EXT partitions. This will allow you to create directories on the EXT partition that are necessary to be able to use some of the newer features of Dexter's (and others) builds.
http://www.youtube.com/watch?v=6z1Tu9l8WNc
As usual, I will answer questions when possible, and also...
IF YOU ARE NOT COMFORTABLE DOING THIS, THEN DON'T!
More to come!
so after creating the partition, will dexter's ROM automatically do the shifting onto SD card on boot? what's the next step to taking advantage of the .ext capabilities?
It actually depends on which apps 2 whatever program you want to use. My objective with the video was to give you the tools to be able to create ext partitions. What you do from there is your decision. I personally, just created an "APP" folder and then let the patch move my apps to it. I have also tried link2sd, and after I made the folder on the ext partition, i booted up the phone and downloaded the app, link2sd, and it moved my apps into that folder. I stopped using that and started over though when I tried to use link2sd to move my dalvik cache, even though I had already created a folder for it on my sd card, link2sd tried moving it again and all hell broke loose.
I didn't specify any one process for doing this since there are like 5 different apps/processes to choose from and not everone wants to do it the same way.
thanks for your info! If i were to choose the same method as you, how do i go about doing it? i know Mioze7Ae has a patch for dexter's 1.3 that is. But for a novice user like me, how do i go about doing this? I tried searching google for the answers but it's kind of too complicated to understand! Maybe u can direct me to a guide for one of these methods?
earthsword said:
thanks for your info! If i were to choose the same method as you, how do i go about doing it? i know Mioze7Ae has a patch for dexter's 1.3 that is. But for a novice user like me, how do i go about doing this? I tried searching google for the answers but it's kind of too complicated to understand! Maybe u can direct me to a guide for one of these methods?
Click to expand...
Click to collapse
If you do it my way, then make a directory called APP on your ext partition, and also a directory called DALVIK-CACHE. Then put Mioze7Ae's patch in the OPENRECOVERY/UPDATES directory on your FAT partition. Boot into OpenREcovery, and select run update, and chose the update. You don't have to unzip the file, just put the zip file in the updates directory. When you reboot, it should move your cache, and start using the app directory on your ext partition.
Thank you so much reverendkjr
you just forget to say that you have to install the virtual box extension pack to use usb.
But i succeed to create my directory in my ext3 partition! (I used the gparted disk but we can t explore...)
but thank you very much for this first step in the linux world....
What's th point of partitioning it with ext#?
I see a lot a post regarding it.
rationalthinker1 said:
What's th point of partitioning it with ext#?
I see a lot a post regarding it.
Click to expand...
Click to collapse
Makes app2ext or Link2sd work, otherwise you'll run out of internal storage if you have abunch of apps.

[Q] CM7 SD Boot - Can you expand EXT4

I've had a lot of success creating a bootable CM7 using the size agnostic preparation instructions. (Here) I want to keep the Nook at stock, for a variety of reasons. Anyway, I created a very nice installation on a 16gb uSD card and did a lot of work setting up LP+ and my hundred-odd android apps. (I also have an Evo 4G). I was fortunate enough to get a 32gb uSD at a great price and want to move my installation over to that. The most successful by making an image with the Win32DriveImage and flashing that back to the 32gb uSD card, which leaves a large area of un-partitioned space. I've tried a couple downloaded tools but have been unsuccessful. Is there a command I can use in Terminal Emulator to to do that? I know I can use the agnostic procedure to start from scratch, but I'd really hate to do that.
The only thing that would make starting over is if someone can point me to instructions that would allow me to have an installation that boots from uSD and has fully functional CWR and Rom Manager. I love how it works on my EVO to download and install updates with a couple clicks. (Everything I've tried there seems to mess with the core Nook).
Thanks a lot!
Rob
Use Minitool Partition Wizard, or another windows partition manager to expand the last storage partition.
LBN1 said:
Use Minitool Partition Wizard, or another windows partition manager to expand the last storage partition.
Click to expand...
Click to collapse
Thanks for the suggestion. I tried a few partition managers and run into the same problem including with MiniTool. It will start the process of expanding or copying and expanding in one step, but it will eventually say "file system error" just before it finishes. It suggests repairing the file system, but none of the tools can do this with the ext4 partition. Still trying though. Gonna give the Acronis partition manager a whirl.
bitbearmi said:
Is there a command I can use in Terminal Emulator to to do that? I know I can use the agnostic procedure to start from scratch, but I'd really hate to do that.
Click to expand...
Click to collapse
You can edit partitions with fdisk from the terminal emulator. I suggest googling, it's a pretty old school tool and isn't very friendly. You should easily be able to resize your "sd" partition with that. Actually more accurately you should be able to delete that last partition and then create a bigger one in it's place. won't keep your data, but you can just copy it over to your computer and resize, then copy back.
Another option would be gparted which comes with basically every live linux cd ever. That one can actually do true resizes and should handle ext4 partitions easily (it is a linux file system after all)
bitbearmi said:
The only thing that would make starting over is if someone can point me to instructions that would allow me to have an installation that boots from uSD and has fully functional CWR and Rom Manager. I love how it works on my EVO to download and install updates with a couple clicks. (Everything I've tried there seems to mess with the core Nook).
Click to expand...
Click to collapse
You don't need to start over. Get a new uboot.bin for your cards boot partition from here.
Then get the clockwordmod kernel and ramdisk from the zip at the end of this post. Put the uImage and uRamdisk on the sd card as uAltImg and uAltRam.
Now when you choose sd:alternate from the boot menu it will boot you into clockwork.
Thank you so much. I think that will do the trick.
..rob
ylixir said:
You don't need to start over. Get a new uboot.bin for your cards boot partition from here.
Then get the clockwordmod kernel and ramdisk from the zip at the end of this post. Put the uImage and uRamdisk on the sd card as uAltImg and uAltRam.
Now when you choose sd:alternate from the boot menu it will boot you into clockwork.
Click to expand...
Click to collapse
OK. All is well and the dual-boot solution is super-convenient. But I'm a little perplexed as to how to work with CWM in this environment. Ideally I'd like this to work just as it does on my EVO, Rom Manager lets me know there is a new version, I select it, it downloads asks if an want Gapps and backup (yes please) then it does its thing. Maybe that is way too much to ask. If so, then the main things I need to know are how to instal an updated build that I download separately? Do I just copy it to the root of the boot partition.
Sorry for being such a n00b with the nook. Its funny but I'm much more confident messing with my phone, which if bricked, is pretty catastrophic. (LOL)
The instructions for updating CM7 for the agnostic build is in the OP's post for that build.
"How to update to a new build:
put the new build you want to try on the first partition. (the name must be update-cm-*.zip or cm_encore_full*.zip or just update-*.zip)
Boot from the SDcard in the recovery mode (see above) and the new snapshot would be installed.
The partition layout would be preserved, filesystems are NOT reformatted, so your data should be safe."
Also, Easeus Partition Manager is supposed to be able to resize partitions w/o destroying data. YMMV, of course. I used it to extend ext 4 but prior to putting anything there.
Didn't have any luck with easus either, but ended up using a gparted boot which worked great. Normally I would use recovery nandroid to backup the rom before installing the updated, but when I did that by booting into alternate, I ended up backing up the nook rom to the root partition, so I think the safest thing to do is to use win32diskmanager to image the entire sd card.
ylixir said:
You don't need to start over. Get a new uboot.bin for your cards boot partition from here.
Then get the clockwordmod kernel and ramdisk from the zip at the end of this post. Put the uImage and uRamdisk on the sd card as uAltImg and uAltRam.
Now when you choose sd:alternate from the boot menu it will boot you into clockwork.
Click to expand...
Click to collapse
So, just to make absolutely sure, if I already have CM7 installed on an SD card, which I've been using as a daily driver, installing apps, downloading Kindle books, PDFs, and the like, but I want to put CWMR onto the SD card, the steps you outlined should be OK?
NOTE: I know, I know, if I'm confused I probably shouldn't be screwing around with things...But the size-agnostic SD CM7 method was so bloodless that I thought the other stuff would be pretty easy to do. For whatever reason, adding stuff like the OC kernel and CWMR has been a little confusing.

Set-up micdoSD for Android Partition ext3 - Help Pleease.

Hi,
how are you today? For me good, thanks for asking, ha ha ha hanb
It's alredy my second thread for today, all problems, wow.
So I will try to explain, like in the thread before, I got HTC HD2 and I have Mdeejay eVo on my sd card and I launch Android from WM6.5.
The Android which I use have already the data_1024 folder, inside data.IMG file which it use for storage the Androids apps, but from my research I find the news to some how edit my microsd card and set-up a Partition which be the sobstitute of the data_1024.
I will be glad to know HOW?
Like I said, I got my Android on sd and I try for a week to find the solution with no success, I try to make a ext3 partition on sd of 2048mb but the android do not see that partition. I can't flash anything because on my ROM is WM 6.5.
I also will be glad to make another data_2048 folder with inside data.IMG file, if the Partition can't be done.
Please guys let me know how do I have set-up the partition for the Android?
Thanks.
hmmm not really sure here, but you can make a back up of your SD card then use minitool partition to partition & create EXt3/ Ext 4 / Fat 32 partitions, try the links below they might help
mengfei said:
hmmm not really sure here, but you can make a back up of your SD card then use minitool partition to partition & create EXt3/ Ext 4 / Fat 32 partitions, try the links below they might help
Click to expand...
Click to collapse
before post here I already saw your thread and like I said I do not have MALGDR on my phone or CWM, also I don't know which type of partition need my Android but I am sure is not the last type of Androids which they have the folders; kernel, META-INF, sdcard (inside NativeSD) and system folder. My Android is whit rootfs.img with external data_1024 folder for storage system.
I used Gparted live and I made a partition of 2048mb of ext3 partition but the Android do not see the partition because somehow I can't make a link to it.
I want more storage for my Android and delete data_1024 folder so I try to figure out, with some help, how to do that?
Any ideas?
Use toporesize app on pc to expand your present data img size without losing present data. . To get more space. .No need for ext 3 and all
Search for topo resize
If youwant to use apps 2 sd or link 2sd app from market to use ext 3.. Then you can move apps to sd ... That is for nand installs. . You don't need that on sd builds. ...
You try native sd builds. . Fastest ever.sd builds. . You can boot from wm also . You need ext4 partition for it. ..
sent from my galaxy note 2 (7100)
pakure said:
Use toporesize app on pc to expand your present data img size without losing present data. . To get more space. .No need for ext 3 and all
Search for topo resize
If youwant to use apps 2 sd or link 2sd app from market to use ext 3.. Then you can move apps to sd ... That is for nand installs. . You don't need that on sd builds. ...
You try native sd builds. . Fastest ever.sd builds. . You can boot from wm also . You need ext4 partition for it. ..
sent from my galaxy note 2 (7100)
Click to expand...
Click to collapse
Thanks mate, this is something great!
So I do not need a special partition for my android, good to know.
I know the last Nand Androids are good but I have old phone with old Android and he work fine, I try to put Native SD Android on my sd but too complicated and I do not have so much time. At the moment I find Mdeejay very fast and good, I tryed AmeriCan Android, CM7 and 10 and really I am not comfortable with them like with Mdeejay, so it's ok like that. ! problem solver, I just try to update my kernel - http://forum.xda-developers.com/showthread.php?t=1976835 - and I am ok.
Thanks.
pakure said:
Use toporesize app on pc to expand your present data img size without losing present data. ....
Click to expand...
Click to collapse
End of the Party, Guys, I was happy to soon!
I used toposize to made data.img for my android but I got problems.
If I resize data.img system partition, first of all, I got the error on e2fsck (see the pic) and i have to click ok to compleate the operation and after that I put the data.img into Anrdoid forlder and I replace the original (backups before) but the Android do not turn on, he stuck in HTC Logo.
If I made a clean data.img with ext3 system partition and I replace the data.img into the Android folder, he do not turn on and he stuck in Android logo.
If I use the original data.img from the package the Android turn on normally.
Do I forgot to do something? Do I missing something?
sorry, I forgot the pic.... here we go...
eclyptos said:
sorry, I forgot the pic.... here we go...
Click to expand...
Click to collapse
you are keeping data .img in a folder?...data.img should be in android folder..no further subfolders...and delete that stupid ext3 partition..you dont need it.
try native sd..it is very simple (for you to dual boot with windows mobile):
you need ext4 partition..use minitool partition manager to create it
then put selected rom zip (like pacman hd2 rom..."the best rom") on sd card
put 4ext recovery folder on sd card..open it , click clcrad and haret inside...follow screen instructions to install rom
Reboot and boot the ROM by executing the usual clcrad and haret stuff inside the NativeSD folder.
thats it.
pakure said:
you are keeping data .img in a folder?...data.img should be in android folder..no further subfolders...and delete that stupid ext3 partition..you dont need it.
Click to expand...
Click to collapse
ohh, well, yes, the data.img is in Android folder, not subfolders or external folders, I said so because in my package of Mdeejay are 2 folders, Android and data_1024. The data_1024 is all ready done to make a fast boot instantly but if I do not use it Android make the clean data into his root folder.
About the partition you get confused a little bit because when I used toporesize to made a clean data.img file to use it in android folder, the app ask me in which system the file have to be, ext2, ext3 or NONE. So no 1 of this data.img worked.
I hope I clarifide, I do not have ext3 partition on sd, is the data.img. that's all.
pakure said:
try native sd..it is very simple (for you to dual boot with windows mobile):
you need ext4 partition..use minitool partition manager to create it
then put selected rom zip (like pacman hd2 rom..."the best rom") on sd card
put 4ext recovery folder on sd card..open it , click clcrad and haret inside...follow screen instructions to install rom
Reboot and boot the ROM by executing the usual clcrad and haret stuff inside the NativeSD folder.
thats it.
Click to expand...
Click to collapse
I don't know about that, currently I have a working Android (not jet set-up like I want too) but I will see if I sholud do all this stuff. I am not so deep in this stuuf and just reach when I reach now, get me tired. So I take in the consideration you advice but now I have to have 1 android working well.
Ok, some bad news:
I did in different way to set-up my storage image, I let Android to made a clean data.img into his folder, after he finished installation and start running well I take the data.img of 1GB and with toposize I resize the image to 3GB. Like I said before, he give me this crap error but I really do not understand why? If Android made a clean data.img in his folder which errors can be made?
So I click ok anyway and made this file and I replaced the 1GB with 3GB with unclarifide done error fix.
He works for feew hours, smooth and fast, I start installing appps and games. Like many games they ask for downloading some updated files so I start downloading 450mb for 1 game and after 20 minuts Android crashed and he do not turn on anymore, he stuck in Android logo.
Are you sure this crap "TOPOSIZE" working? or it's just ME?
Guys, please help, I get confused and I don't know how to do it.
Today I also try install on my android Chainfire and i can't install plugins for low storage so after few hours of serching I find this thread http://forum.xda-developers.com/showpost.php?p=16457164&postcount=14723 but after read what they saying I do not understand anymore which system file I have to resize to get more space AND to make working chainfire which I really need right now for few games!
Someone can tell me which files I have to resize? How? or Post the right thread? please.

Categories

Resources