[Q] how to make two partition's for TRINITY rom - HTC Pico (Explorer)

i wanna know in what format do i have to make two partions for TRINITY OC rom
means ext2,3,or 4
and for sd-cache which format...?????
thanks in advance!!!

u need 2 partitions
First one should at least 500Mb(minimum) <---------
System
Second minimum .5gb i recommend 1 gb <--------
Data/cache

Related

[ROM] ownheredesireHD v1.6 base on DHD, newSense|DATA2EXT|CAMERA|SUPERFAST

I like to share my DHD ROM for Desire, it is base on DHD HK RUU.
This rom use my script DATA2EXT, it is superfast.
DownloadLink:
multiupload:ownheredesireHD_v1.6_101205.zip
Additional:
HtcLaputa(Location,Navi):http://u.115.com/file/f5dd099cc, use this resolve carpanel and repeat download map issues. mirror:http://rapidshare.com/files/435169937/HtcLaputa.apk, thanks to uridium_uk
original framework-res.apk(for battery icon):http://www.multiupload.com/VRAF74HTX7
Notice:
1.This rom will be format your 2nd partition automaticlly, so you need backup your 2nd partition first.
2.I don't like deodexed system, because it will change apk's signatur, that I can not upgrade my system app for new update. And deodexed system will take more time for first booting time:every app need dexopt.So I use stock odex system.
3.Don't setup Google account until your TitaniumBackup restore job finish.
4.Some say this ROM will destroy the SD card, I have not encountered, and if SD card is not recognized in Windows, you can use Windows Computer Management -> Disk Management, assigned a drive letter for SD 1st partition, so you can see fat32 partition
5.put bootanimation.zip and shutdown.zip on /data/local will be replace BootAnimation and RebootAnimation.
Optimization Suggestion:
1.use fast SD card, class 4 or higher.
2.format SD 1st partition(fat32) with 32K cluster.
3.use setcpu overlock to 1113Mhz
4.use static wallpaper
5.use ADW Launcher
Requirement:
1.SD card with 2nd partition, 2nd partition is not less than 512M, recommend 1G for large app space and super fast. The second partition can be in any format.
2.Bravo Stock MTD(system:250M,data:150)
Installation:
use RA or ClockworkMod recovery, or ROMManager flash ownheredeisreHD_v1.6_101205.zip.
the first boot take long time(about 5-15 mins).
Feature:
1.ownhere's data2ext, get large app installation space,special for /data/data, which leave in phone memory with a2sd/a2sd+. You can install many many app with data2ext with out memory full warning.
2.ext4 loop device in ext4 partition, speed up IO.
3.kernel base htc 2.6.32.15, add BFS,GPU+,SDFIX,UnderVolt,OverClock,LZMA, thanks to richardtrip and all kernel devs. I disabled HAVS, cause of it lead phone not stable.
4.google maps 4.7.0 ownhere MOD, base on brut17 (thanks to brut.all), internationl navi.
5.ROM base on DesireHD HK RUU 1.32.832.1
6.kernel module:cifs,nfs,utf8,nilfs2,reiserfs,tun...
7.You can replace framework-res.apk with mod version(signed by testkey), because I've resigned some core app/lib for personalize battery-icon.
Known Bug:
1.720p recording
Update Note:
v1.6
Code:
1.enable EXT4 journal, more stable after reboot or lost power.
2.remove some paid app(sorry to author)
Thanks to:
snq-
robocik
sibere
enjoy it.
ownhere said:
I like to share my DHD ROM for Desire, it is base on DHD HK RUU.
This rom use my script DATA2EXT, it is superfast.
Requirement:
1.SD card with 2nd partition, not less than 512M, strongly recommend 2G for large app space and super fast.
2.Bravo Stock MTD(system:250M,data:150)
enjoy it.
Click to expand...
Click to collapse
2nd partition, ext2, 3, or 4?
1st partition fat32?
coutts99 said:
2nd partition, ext2, 3, or 4?
1st partition fat32?
Click to expand...
Click to collapse
Yes, it's right.
coutts99 said:
2nd partition, ext2, 3, or 4?
1st partition fat32?
Click to expand...
Click to collapse
+1.
I want to know too.
based from a dhd rom, what have you added or taken from it? or is this just purely just a speed increase rom?
just curious.
but aside from that, is this simply a straight flash-able rom? (provided the card is partitioned) or are there other steps involved?
thanks.
ownhere said:
I like to share my DHD ROM for Desire, it is base on DHD HK RUU.
This rom use my script DATA2EXT, it is superfast.
Requirement:
1.SD card with 2nd partition, 2nd partition is not less than 512M, strongly recommend 2G for large app space and super fast. The second partition can be in any format.
2.Bravo Stock MTD(system:250M,data:150)
Thanks to:
snq-
robocik
enjoy it.
Click to expand...
Click to collapse
I found that there is stock and location patch file in your other post
hXXX://bbs.gfan.com/viewthread.php?tid=348528&extra=page%3D1%26amp;filter%3Dtype%26amp;typeid%3D171
Is it included in this version or we need to download it separately.
BTW, this is very good ROM. thanks!!
"The second partition can be in any format."
Pretty sure that means ext2-4.
02xda1 said:
based from a dhd rom, what have you added or taken from it? or is this just purely just a speed increase rom?
just curious.
but aside from that, is this simply a straight flash-able rom? (provided the card is partitioned) or are there other steps involved?
thanks.
Click to expand...
Click to collapse
Partition your SD card and flash the zip file.
There is no other step involved.
Just simple and easy.
Dose it work well with my kingston class 2 8G card?a light user from gfan.com
Sent from my HTC Desire using XDA App
michaelmai88 said:
Partition your SD card and flash the zip file.
There is no other step involved.
Just simple and easy.
Click to expand...
Click to collapse
thanks for clearing that up, but in regards to the other part of the question, is it a standard dhd rom or are there any extra's worth noting?
02xda1 said:
thanks for clearing that up, but in regards to the other part of the question, is it a standard dhd rom or are there any extra's worth noting?
Click to expand...
Click to collapse
standard dhd rom with totaly diffrent disk layout, very smooth, very fast
How do I create 2 partitions on my sd card
Sent from my HTC Desire using XDA App
is there JAVA in this ROM and rotation?any pictuers
ownhere said:
standard dhd rom with totaly diffrent disk layout, very smooth, very fast
Click to expand...
Click to collapse
Thank you for your effort. Could you upload to dropbox? Estimated download time on megaupload is over 8 hours.
Thanks in advance.
Im sure many were waiting for this release.
Can you confirm sd partition - swap =0, ext = 1 gb , convert ext 2 to 3 and then 3 to 4 ?
sorry for noob question
ps - i have to wait 22 hrs for the whole file to come in....
ownhere said:
standard dhd rom with totaly diffrent disk layout, very smooth, very fast
Click to expand...
Click to collapse
cifs / sdcard fix / chargemod fix / etc / what kernel ?
give us more details
02xda1 said:
thanks for clearing that up, but in regards to the other part of the question, is it a standard dhd rom or are there any extra's worth noting?
Click to expand...
Click to collapse
When you flash this ROM, you will get data2ext automatically.
It means that how big you size your 2nd partition, you get the same size internal memory. It's just the Desire user needs.
can anyone mirror this somewhere else please?
megaupload are really really slow for me at the moment, i'm getting speeds of around 5.1-5.7KB/sec
says i've got over 10 hours to go
we need more info ...
screenshots ... kernel ... apps
then we can try it ..
+1 for Mirror ... whats up with Megaupload ... it should be called Microupload ...8)

A few questions about roms+kernels

Okay, I have a few question about roms and kernels and ext 4 actually.
When flashing a new kernel, what needs to be wiped?
When going from one CM 7 to another what needs to be wiped?
What is the point of making an ext partition. If I don't have one, do I need the EXT 4 "hack" that makes io faster?
Which kernel is known for best battery life?
James_Caliber said:
Okay, I have a few question about roms and kernels and ext 4 actually.
When flashing a new kernel, what needs to be wiped?
When going from one CM 7 to another what needs to be wiped?
What is the point of making an ext partition. If I don't have one, do I need the EXT 4 "hack" that makes io faster?
Which kernel is known for best battery life?
Click to expand...
Click to collapse
All of your questions and more can be answered here except the ext partition one.
James_Caliber said:
Okay, I have a few question about roms and kernels and ext 4 actually.
When flashing a new kernel, what needs to be wiped?
When going from one CM 7 to another what needs to be wiped?
What is the point of making an ext partition. If I don't have one, do I need the EXT 4 "hack" that makes io faster?
Which kernel is known for best battery life?
Click to expand...
Click to collapse
EXT Partitions Vs EXT hack are two different things.
An EXT3-4 partition on your SD card will allow you yo setup apps2sd or dalvik2sd which would free up space on your internal /system/ partition an possible make your phone run faster (possibly).
The EXT4 hack remounts your /system/ with perameters that remove certain safeguards that protect data. Removing these safeguards allows for better I/O speeds.

[Q] Cant boot any type of Rom with an ext4 partition, why?

As the title says i've been using custom roms for almost 2 years now, im currently on 4.1 sense and i could never make the roms work with an ext4 partition, i always end up reverting to an ext 2 or 3 partition, nor am i able to boot with the new OC kernel versions with any kind of partitions. Is there info on the subject?
i saw a post saying that certain memory increasing scrypts+kernel3+ext4 could result in bootloops, but even without memory scrypt i end on bootloop. Would it work i i flashed a 2.6 kernel on an ext 4 partition?
noobexplorer said:
As the title says i've been using custom roms for almost 2 years now, im currently on 4.1 sense and i could never make the roms work with an ext4 partition, i always end up reverting to an ext 2 or 3 partition, nor am i able to boot with the new OC kernel versions with any kind of partitions. Is there info on the subject?
i saw a post saying that certain memory increasing scrypts+kernel3+ext4 could result in bootloops, but even without memory scrypt i end on bootloop. Would it work i i flashed a 2.6 kernel on an ext 4 partition?
Click to expand...
Click to collapse
new oc method doesn't work on every pico..I tried everything but no luck, make partition through recovery it's the best option & use mounts2sd. works for me.
noobexplorer said:
As the title says i've been using custom roms for almost 2 years now, im currently on 4.1 sense and i could never make the roms work with an ext4 partition, i always end up reverting to an ext 2 or 3 partition, nor am i able to boot with the new OC kernel versions with any kind of partitions. Is there info on the subject?
i saw a post saying that certain memory increasing scrypts+kernel3+ext4 could result in bootloops, but even without memory scrypt i end on bootloop. Would it work i i flashed a 2.6 kernel on an ext 4 partition?
Click to expand...
Click to collapse
Kernel 3 has some mounting problem with ext4 filesystem type partition.. you can try with kernel 2.6.. but for performance .. kernel 3.. anyday.. If I were you , id change my partition type to ext2.. its supposed to be faster than ext3..
Need urgent help
i had rooted my pico months back and was on different custom roms......now i want 2 get back to the stock rom which i have downloaded Odexed Stock ROM Flashable Zip (With Link2SD Support)(Revision 3)(http://forum.xda-developers.com/show...4&postcount=76) and i have flashed this rom 5 - 10 times and everytime i reboot after flashing the rom..(i have an 8 gb class 4 sd card which has an 512 mb ext3/4 partition)...i am stuck on htc boot logo.....can u plssssss help
scripts
noobexplorer said:
As the title says i've been using custom roms for almost 2 years now, im currently on 4.1 sense and i could never make the roms work with an ext4 partition, i always end up reverting to an ext 2 or 3 partition, nor am i able to boot with the new OC kernel versions with any kind of partitions. Is there info on the subject?
i saw a post saying that certain memory increasing scrypts+kernel3+ext4 could result in bootloops, but even without memory scrypt i end on bootloop. Would it work i i flashed a 2.6 kernel on an ext 4 partition?
Click to expand...
Click to collapse
Backup and partition your SD card using the latest CWM or TWRP recovery. Restore your data to the fat32 formatted partition. Then follow this tutorial: http://forum.xda-developers.com/showthread.php?t=2389501 (The int2ext script works on most custom roms, s2e doesn't support 4.3 roms yet).

Data2SD Tf700 - exact steps to do - please help!

Hi,
I used my TF700 for several month, and I am very dissatified. At the moment I use a cleanrom, without external SD. As I am allready rooted an unlocked, I am not able to send it back to my seller ...
So, my last chance to get the device a little bit faster, is to install cromi rom and use data2sd. But after reading hours in several forums, I am not sure, which steps I should do to install it and which files I actually need.
I bought a class 10 microsd card, partitioned into a fat32 and an ext4 partition.
So , whats next? (It never mind, if i loose my internal sd-card)
1. I have to flash an data2sd kernel, right ? Which one?
2. I have to wipe the sd-card?
3. Install the cromi-rom ... right? Which one? I downloaded CROMi-Xenogenesis ODEX 4.7.0_Signed.zip. Or is there a special Rom for Data2SD?
Are there any further steps?
Thanks for your help!
ThePhantom
ThePhantom79 said:
Hi,
I bought a class 10 microsd card, partitioned into a fat32 and an ext4 partition.
So , whats next? (It never mind, if i loose my internal sd-card)
1. I have to flash an data2sd kernel, right ? Which one?
2. I have to wipe the sd-card?
3. Install the cromi-rom ... right? Which one? I downloaded CROMi-Xenogenesis ODEX 4.7.0_Signed.zip. Or is there a special Rom for Data2SD?
Are there any further steps?
Thanks for your help!
ThePhantom
Click to expand...
Click to collapse
1) You should flash the lastest cromix rom here http://forum.xda-developers.com/showthread.php?t=2425383
2 Kernel, you have 2 choices:
a) Hund's custom kernel http://forum.xda-developers.com/showthread.php?t=2143093
b) _that modified stock kernel http://forum.xda-developers.com/showthread.php?t=2230059
3) I alway wipe everything if go from one version to the next, but from cromi v4 to cromv5 you don't have to, just verify that you have the latest bootloader mentioned here http://forum.xda-developers.com/showthread.php?t=2425383
4) Good luck!!
ThePhantom79 said:
Hi,
2. I have to wipe the sd-card?
ThePhantom
Click to expand...
Click to collapse
you have to do a bit more than that:
you need to make 2 partitions on your sd-card using Gparted Live CD as explained in the data2sd thread
http://forum.xda-developers.com/showthread.php?t=1962507
first partition: formatted as FAT32
second partition: formatted as EXT2 or EXT4 (i use EXT4)
both partitions need to be primary partition.
if you don't do this right, it won't work and the kernel will likely switch to internal memory (it happened to me
i always flash the twrp zip always first before i do anything else in recovery.
i have a 64gb class 10 card, my first partition is 8GB FAT32 so i can make backups to this partition and place the ROM files so they don't get lost after wiping, the remaining 56GB is formatted as EXT4 and used as internal storage.
I use the latest cromi, _that's kernel, data2sd, fsync disabled and cache2sd turned off.
It makes the TF700 a lot more usable, but (sorry to say) it's still not the machine it should have been....
first partition: formatted as FAT32 boot flag?
second partition: formatted as EXT2 or EXT4 (i use EXT4) boot flag?
kehadamus said:
first partition: formatted as FAT32 boot flag?
second partition: formatted as EXT2 or EXT4 (i use EXT4) boot flag?
Click to expand...
Click to collapse
The boot flag is irrelevant. Just make sure that both are primary partitions.
Sent from my ASUS Transformer Pad TF700T using Tapatalk 4
_that said:
The boot flag is irrelevant. Just make sure that both are primary partitions.
Sent from my ASUS Transformer Pad TF700T using Tapatalk 4
Click to expand...
Click to collapse
Curious, if one were to have made the mistake of having both partitions created as logical vs primary - what's the best way to resolve?
Fix and reboot?
Fix and re-flash and wipe cache?
Does this require a data wipe to work?
What's the best way to validate it's working correctly post boot?
Thanks!
amenic said:
Curious, if one were to have made the mistake of having both partitions created as logical vs primary - what's the best way to resolve?
Fix and reboot?
Fix and re-flash and wipe cache?
Does this require a data wipe to work?
What's the best way to validate it's working correctly post boot?
Thanks!
Click to expand...
Click to collapse
In gparted you can convert logical to primary. Or wipe everything and start again.
As for knowing, you'll have a /datai folder where your old apps are stored as well as a new /data folder for new stuff. First boot will act like a clean install as well.

[Q&A] 2 GB External Data -- Hefe Hook Kernel and others

The Hefe Hook kernel allows you to mount a partition of your microSD as /data, getting 2 GB (or more) for your apps and their data.
Please ask your questions here about installation, use, or general approach.
This is great @jeffsf and can u show me how to re-partition the "real internal" storage? I mean expanding the /system since u put the /data out of it. Thanks man
Sent from my GT-N7000 using Tapatalk 2
daothanhduy1996 said:
This is great @jeffsf can u show me how to re-partition the "real internal" storage? I mean expanding the /system since u put the /data out of it.
Click to expand...
Click to collapse
Yes, you've hit on another of the reasons I've been exploring using the microSD for "live" storage. It's one thing to use potentially slow storage for photos that you basically write once or "app to SD" where you read the APK at boot time, make sure your ODEX in the Davlik cache is good, then generally read from the internal-flash cache. It is another when that memory is being read and written "constantly" when your phone is running.
The good thing is that once /data is not part of the internal flash filesystem, you don't have to worry about one ROM (kernel) thinking it begins at one place and another saying it starts at another. Previously, if one ROM had one /system size and another and a different one, the next partition, /data, would look to be corrupt when you swapped ROMs.
As a warning, not all users have fast microSD cards. Some that say "Class 10" on them really are dogs, especially for small reads/writes. The "Class" ratings are for sustained writes, as you would have with a camera recording video. If your ROM is "external /data" only, or even defaults to that, be prepared for a slew of "Your ROMs sucks. It is so slow." complaints.
You'll also need a way to automate formatting the card. It can be done on the phone, as long as you aren't trying to preserve any data.
As I recall, the layout of the MTD partitions is done in drivers/mtd/onenand/samsung_galaxys4g.h I would be careful not to move the partition boundary for efs, as you'd have to move the data it contains in your updater script. Repeating the warning about not moving the boot and recovery partitions is probably a good idea as well!
Your build tree may need some of these values, or at least think it needs some of these values. For example, device/samsung/aries-common from the CyanogenMod/cm-11.0 (KitKat) branch calls out NAND page sizes, partition sizes, and flash block sizes. I haven't looked in detail at your build tree so I can't comment on how it might handle things differently than the CyanogenMod one.
itzik2sh said:
Hi
I hope I don't ask anything silly, but please let me know if any of my assumptions is wrong :
1. I take FBi's251's AOKP milestone 6 (ICS 4.0.4)
2. 8GB SDCard was formatted to FAT32 (4GB) and EXT3 (4GB) using TWRP kernel
(Beastmode's proton kernel to be exact).
3. I would flash this kernel and it would move apps and their data to the sd-ext
without any special additions.
Thanks. I read the thread, but unfortunately 8GB SD is what i have and I think it should be enough.
Thanks again.
P.S - it's for 2 guys I already sold them my SGS4Gs. I want them to be happy...
Click to expand...
Click to collapse
AOKP should be fine. I haven't tried it recently, but it was the tree in which I did the early Hefe Kernel development.
As I understand it, you have a microSD with
partition 1: 4 GB FAT32
partition 2: 4 GB ext3
So that can work, but will need some tweaking of the init-on-fs.sh script. I intentionally didn't use the second partition as so many scripts gobble that up as sd-ext and do who knows what to it.
My first preference would be to reformat the cards, perhaps:
6 GB FAT32
1 MB ext2/3/4 (Yes, 1 MB, a sliver, choice of ext2, ext3, ext4 up to you)
2 GB ext4
since then the script will work without modification and if they install a third-party script that uses the second partition, it won't corrupt their data.
If you were to keep the formatting the way that it is now, you'd need to edit the mount commands in the script to look something like:
Code:
/system/xbin/busybox umount /data
/system/xbin/busybox mount -t ext3 -o noatime /dev/block/mmcblk0p2 /data
(removing the sd-ext mount)
I'm not sure what your expectations are, but all that the kernel and that script will do is mount a different disk partition on /data -- you need to manually move the data over (or restore from something like Titanium Backup). There may be some trickery in renaming that could be used with TWRP backups to restore from data.yaffs2.win to the new /data partition, but I haven't tried that at all.
Hi Jeff
Thanks for your quick reply, and sorry again for not seeing the Q&A thread.
I think making it :
partition 1: 4 GB FAT32 (sdcard)
partition 2: 2 GB ext3 (sd-ext)
partition 3: 2 GB ext3 (data)
partition 4: 1 MB (spare)
would be better and handle data as well. don't you think ?
Would it be worth doing with a "Team" micro-SD card (class 6 I believe) ?
Thanks.
I haven't tried a Class 6 card, but my gut feeling is that it will be dicey. I didn't "commit" to using /data on microSD until I had tried it for several days using Titanium Backup's ability to move both apps and app data to the external card. I would try that first, especially as the phones in question aren't going to be in your hands (I consider you an expert user, able to manage things outside the UI with ease).
I've attached some testing I did a while ago with Transcend and SanDisk cards. When you look at them, realize that the speed scale changes between them. I have a feeling that the real "performance" on a device is going to be related to relatively small reads and writes, not the ability to stream video to the card. I also don't know much about the Team brand, but I found that even some well-known brands didn't have the performance of the Transcend or SanDisk in the same category.
However you configure your cards, I would definitely recommend a journaling filesystem of some sort. I've had my microSD come loose inside the phone. The journal will at least help to reduce any filesystem corruption should that happen.
You don't need the fourth partition -- I have it there to be able to keep rsync backups for fast ROM swapping.
.
Regarding the apps data, have you tried exploring the Mount2SD script ?
sent from me
I've tried a couple of the scripts out there in the past. Since backing up my data is very important to me, I trust the scripts in Titanium Backup to work well with its backup/restore strategies.
Mounts2SD looks like it has gotten a lot more sophisticated than it was when I tried it in the past. It sounds like something worth trying in its current state. At a quick glance (and not looking at the code), I'd personally make some different choices about features; enabling journaling, and being concerned about why lost+found was filling up (things should only appear there if the file system is found to be corrupt).

Categories

Resources