yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] 360nitrous:
first off i'm jus tryna fix the recovery because only cyanogen6 will work, so obviously somethin is broke, i tried fake flashing, absolutely nothin works, an parts of cyanogen mod are missing because it wont fully install. i'm not sure what i can do to fix this....

been trying every method of fixing this but nothin so far... tried the unrevoked flasher an that doesnt work, everythin else gets aborted when tryna install other roms.
[Desire Android Development] AndroHero:
Teppic posted a great 1 click utility to downgrade froyo bk to eclair, if you run it it will return you device bk to stock, (recovery & hboot too) then just run unrevoked again and ul get root and an unmodified custom recovery :)
[Desire Android Development] mrbishi:
Just flash a recovery image through fastboot and the custom sizes will be removed. Make sure to do a wipe of everything after doing that and then install a fresh ROM. If you made a nandroid backup while using custom sizes they won't boot until you flash the same ROM over the top without a wipe :) instructions for manually flashing a recovery

Much easier than restoring everything back to stock and then rooting again, the best thing about S-OFF is being able to use fastboot :)
[Desire Android Development] daedelus82:
All you need to do is fastboot flash a new recovery. If you patched the recovery without having mtdparts file firerat's patch is configured to set system partition to 90mb, I did not bother changing this as I gave plenty of instruction to follow. This is why ROMs won't install/work as system is too small.

There is plenty of information on the Internet on how to use fastboot and install the android sdk.
[Desire Android Development] danarama:
Sorry to bump this, has anyone else who increased /cache seen any noticeable performance increase?
[Desire Android Development] JaymZ37:
Hello.

I just use it with DeFrost, works fine. But if i go into recovery, wipe/format all to revert back to original partition size, and i flash my rom or restore my nandroid, i'm getting FC or reboot.

What can i do if i want to revert my partition to it's original size, and getting my recovery original without any modification for the partitions ?

Thanks

Edit : apparently, i have to flash original recovery via fastboot to restore original size ? (after formatting all partitions) is it exact ?
[Desire Android Development] expl0de:
I resized my partition to: mtd 175 40. How can I save these values if I decide to flash another rom?
[Desire Android Development] danarama:
You have to flash the zip.every time you flash the Rom before booting into it
[Desire Android Development] danarama:
Sorry, this is going to sound stupid, but:

bravo-recovery-v1.5.3-CustomMTD.zip do we flash via recovery or fastboot?

I tried via recovery but not sure if I can patch recovery whilst using it. I hoped it would though, because I know nothing about fasboot.

The only thing that makes me think it may be fastboot is that after this step it states reboot into recovery.

Can someone please confirm? It didn't work for me via recovery. Everything said it was successful.

Format, Flash recovery patch, format, nandroid restore, flash boot. Boots fine, no change.

Defrost 5.8, btw

mtd 150 90

EDIT> Nevermind, just redid and redid and I eventually got it to work.
[Desire Android Development] postwarbreakout:
Works great, thanks mate!

Just have a few questions..

Everytime I install a new ROM or change the partition sizes, I just have to flash the last .zip?

And ROM Manager now tells me that Recovery isn't installed, but that's because it's modified now, isn't it?
[Desire Android Development] danarama:
Yes.

Rom manager doesn't use your flashed recovery. It puts update.zip on your SD card. Just boot into recovery normally
[Desire Android Development] jayk32:
Worked like a charm, I flashed Adam G's Oxygen Rom & on first boot up I had 343mb on my internal. (Wow) lol Thanks alot :-)
[Desire Android Development] secosan:
Ok, so these are my resized partiones

I selected 100mb for system(mtdblock3), i could have went with 85, is there anything else going in there in the future that would require an increase in size?

(mtdblock5) is for data

(mtdblock4) is for cache

What is tmpfs, im guessing it stands for temporary filesystem, but it seems we have 200+mb of unused space there.

Could someone explain it further?

I get it from wiki searches that is somewhat of RAM memory, but based on the internal "disk" of the phone, but from the terminal output it seems its not used at all.

source: http://en.wikipedia.org/wiki/Tmpfs

also judgind from the internal phone memory that ships with the phone, the 200+mb are internal memory, anyone care to explain further please. :)

just a passionate fan of these machines here, nothing more
[Desire Android Development] secosan:
also, THANK YOU for making it possible for us to install decent amount of data on our else limited internal space
[Desire Android Development] chareos12:
hi,

I'm interested in this.

I'm moving from OpenDesire to CyanoGen 6.1RC1, and found in need to have more space in data.

In this regard, I s-off'd my Desire and going to do something about this.

the N1Table looks somewhat easy to flash - still have to try my 1st sdk flash tough... brrr), yet 98M cache looks like an overkill to me, isn't it ?

I'd rather go for a 149/41

Now, in my understanding, Alpharev N1table flash would be "permanent", not needing to reflash anything in case I change rom (let's say from CM to Oxygen, or CM RC to CM Final), whiile your method REQUIERS reflashing a file (kernel related ?) after any later rom flash.

Am I correct for the above ?

There is no way to obtain a 149/41 table not needing to be reflashed and - that's my concern - taunting any kernel at all ?

many thanks

and sorry for the probably noobish questions... I'm very new to s-off opportunities !
[Desire Android Development] jercik:
Yes. Unless you hack Alpharev table yourself :P.
[Desire Android Development] danarama:
If you use this method, you have to patch boot of the Rom everytime you flash a new Rom.

It's easy enough Though. I have 120 system, 30 cache. Performs well
[Desire Android Development] chareos12:
Thank you all guys.

In final I decided to flash H1Table.

I found that following these instructions, dalvik cache gets moving in the 98MB /cache partition (which it now looks perfectly fitted) and leaves 201MB to /data for my apps.

If I just had known that dalvik cache would have been moved to /cache, I'd have had no doubt at all :-)
[Desire Android Development] danarama:
Id love to be able to do that
[Desire Android Development] teorouge:
Any chance we'll ever have something like a GPartED (maybe in Recovery?) to handle those "partitions"?
[Desire Android Development] patp:
Normal Sense ROM:

AlphaRev Sense partitions: 180M	90M	181M

I'm on a rooted stock Froyo Sense ROM

Am I right in thinking I can:

Nandroid backup /system and /data

S-Off using the Sense version of AlphaRev,

reflash Clockwork recovery

Nandroid restore /system and /data

And get an extra 30M of space on /data without having to reflash/reinstall a ROM?

30M is 30M, it's not as much as I'd like, but it would help.
[Desire Android Development] JaymZ37:
Hello !

I was trying to flash new radio on my Desire, using DeFrost and MTD Custom.

But apparently, there's no way to flash a news radio using recovery, only via fastboot (using adb) ?

so there's my question : what's the command line in adb to flash new radio ?

Thanks for your answers ;)
[Desire Android Development] teorouge:
fastboot flash radio radio.img where radio.img is the filename of your radio to flash. ;)
[Desire Android Development] JaymZ37:
Thanks a lot. Worked fine :)
[Desire Android Development] secosan:
So that was ram, i later discovered.

Nevermind.
[Desire Android Development] Pajorve:
Great Tópic, man

Perfect running fully for me!

Just gave the ADB commands and put the file N1 table site alpharev ... Not custumizei pq me the size is the ideal ...!

Created my own table and tbm worked very well… partitioned memory with perfection ... great topic!

congratulations!

:D
[Desire Android Development] kwaille:
I reconstructed my own partitions,everything is okay but now my device isn't reachable in fastboot...So i'm not able to flash radio or put the n1 table directly.

First question:flashing the hboot with alpharev's n1 table,will it make it customed forever (more than the two zips with txt mtd)?

Second one:can i flash new amon ra 2.0 recovery with custom partitions?

Third one:how to make my desire accessible via fastboot?

Fourth one:will i get advantage in having 96mb cache instead of 40?

Fifth one:if i just update my rom with no wipe,i just have to flash bravo-boot-v1.5.3-CustomMTD.zip after it?

Thanks by advance!

ps:why did you post in red?:)
[Desire Android Development] 10lexik:
Hi frenchie :p

1st : yes the n1 table is permanent unlike the Custom you do with the 2 .zip

2nd : Sure you can :)

3rd : You must have FASTBOOT USB marked, if not check if alpharev is always installed (i had this one time, i had to reflahs alpharev)

4th: No you won't, cache isn't use a lot (mine is used 5mb) but i read that for players you should set it to 30-35 Mb

5th : You have to flash the boot zip EVERYTIMES after installing a new rom or a nandroid restore

PS : same why in red ? :D
[Desire Android Development] kwaille:
Thanks froggie! ;)

The only way for me to use adb is in recovery mode (even if fastboot usb is in red on my phone)....:(

I updated my rom before,stuck at the bootscreen,then i flashed the mtd boot file and it worked,that's what you confirmed.This time,it does not the trick!

When you re-s-offed your phone,it was s-on again at fastboot screen?

Thank you!

edit:je pense que j'ai un peu fait ma merde avec adb/fastboot...I'ts ok!
[Desire Android Development] madd0g:
I have my dalvik cache on the /cache partition now, but since I got many apps, it's only 4.3mb free now. I used the N1 alpharev table. What will happen when there's no space left, no app installation possible? If that's so, I'll do a custom layout and move the dalvik cache back to /data...
[Desire Android Development] mad-murdock:
Exactly, you cannot install any more apps. perhaps my setup ril give you an idea:

I use n1 table with cyanogen mod. System dalvik cache goes by default to cache partition.ghats about 40 mb. Rest stays at data. All apps moved to sd-ext with firerat a2sd.

That setup works perfectly for me.

Swyped with HTC Desire. Excuse typos.
[Desire Android Development] madd0g:
Hm, so if there's no dalvik.vm.dexopt-data-only=1 line in build-prop, only system cache goes to /cache automatically (if the /cache is big enough) but no app cache ?

Because I use the DT a2sd+, and as I've set cache to be on /cache, but not on SD anymore, It recreated everything on /cache partition. Guess I'll have to look into that setting, that it leaves the data cache in internal space.

[edit] I've done it, a2sd nocache option for DT, then i wiped the /cache partition and /data/dalvik-cache and now its set. system@cache goes to /cache, data@cache is on /data. The only thing "bothering" me now is kinda unused space on /cache (54MB), I mean i could use that for the app partition :] So I think i'll go for the Custom MTD method.
[Desire Android Development] mad-murdock:
Nice that works for you. But remember, 30-40 mb of free cache speed up 3d games a lot. at least I was able to see the different with my naked eye.

I never read any explanation,.why this happens, but I can asure.you, it does happen...

Swyped with HTC Desire. Excuse typos.
[Desire Android Development] madd0g:
Yeah i was reading about this, so i decided to leave it N1 style, it's probably the best, specially because Gingerbread is soon to be released. 70MB internal + 200MB ext3 SD space is still enough for now :]

Thanks for the help !
[Desire Android Development] teorouge:
Any chance I could read some head-to-head with ext2/3/4 performances in Android? I'm using ext4 right now but I read it may not be the best choice, though they didn't say why.
[Desire Android Development] danarama:
Some roms don't yet support ext4 as its new although surely most do now

It's just because its new some people don't think its as stable.

If you have mo probs stick with it

--------------------

DeFroST FAQ... http://xdaforums.com/showpost.php?p=6622965&postcount=2
[Desire Android Development] jullejul:
got boot loop :P is it any ways to fix this xd
[Desire Android Development] danarama:
Did you flash both zips.in the correct order? The second one before you boot into your nandroid restore / Rom flash?

--------------------

DeFroST FAQ... http://xdaforums.com/showpost.php?p=6622965&postcount=2
[Desire Android Development] thornofcarrion:
Oh god I am so confuse. I am total newbie when it comes to Android and all that talk. I can try to follow whats been said in the OP. I do not get step 5. Also, what is it for actually? I am intending to use RCMixHD rom (NAND). Is it necessary for it?
[Desire Android Development] mad-murdock:
If you don't know what's this all about, stay the hell away from it.

Swyped with HTC Desire. Excuse typos.
[Desire Android Development] Jamsi:
Low internal storage after custom partitioning..

OK, i applied this mod on my Desire running the RCMixHD v0.13 (HD) rom.

I set the partition sizes: 300 40.

After the procedure my Quick System Info tells me:

Internal- Total:97MB, Free 10MB

System - Total: 300MB, Free 83MB

Cache - Total: 40MB, Free 36MB.

That 10MB of free Internal storage sounds awfully low to me?? Something I'm not gettin' here...?
[Desire Android Development] schiznik:
Looks about right to me, the desire has ~450mb of internal storage in total, which is what yours adds up to. You'll need to use apps2ext of some form, I don't know if your rom includes it, but if it does, create an ext partition on your sdcard and reflash your rom, you should be good to go then
[Desire Android Development] r0h1t:
Installed and working perfectly - have gone for the N1 partition sizes, for running CM 6.1

Many thanks daedelus82 !
[Desire Android Development] 10lexik:
You are gettin' it ! i'm going to tell you what's it is all about :

-Internal : tell you how many space you got for DATAS (app, etc)

- System : tell you the system size (you can set it to 230 or 240 to earn data space)

- Cache : it's the cache :D you can see that your rom don't take a lot of cache so i suggest you to set it to 20 or 25

You should set your mtd to : 240 20 (so the datas will be ~ 177 mb)

Hope it'll help :D
[Desire Android Development] skeptic1007:
The file mtdpartmap.txt has to stay on /sdcard at all times, or only when patching recovery images and roms?

Thank you.
[Desire Android Development] SneakerBBX:
Worked like a charm on my OpenDesire-4.0.36, thanks a lot.

Current setup:

/dev/block/mtdblock3 100.0M 94.5M 5.5M 94% /system

/dev/block/mtdblock5 307.6M 131.4M 176.3M 43% /data

/dev/block/mtdblock4 30.0M 22.5M 7.5M 75% /cache

Gained around 150MB to /data partition :-)
[Desire Android Development] Psychedelic-Squid:
All times - the patched rom itself reads the file on each boot to know where the partitions are.
[Desire Android Development] AznDrgn:
I just recently did this method as well as used firerat's method for a2sd... is this bad? after i performed this, it now says "cannot install this app as there is no more room" But on Quick System Info Pro it says i have 426MB free in A2SD Storage, 234MB free Internal, 3.88MB/125MB System, and 22.11MB/25MB Cache.... WHAT'S GOING ON?!

Help would be greatly appreciated!
[Desire Android Development] danarama:
Not sure there, I used this with Defrost and its in-built apps2sd+ support and it all worked fine for me.
[Desire Android Development] westernmg:
Is this method limited to the old ClockworkMod Recovery v2.5.0.7 ?

Or does it work with the actual 2.5.1.8 too ?
[Desire Android Development] coolexe:
Ya its worked with 2.5.1.8 too...
[Desire Android Development] wedib:
Well.. My desire has been bricked for 5 hrs. I tried to rearrange the partition of my phone. I followed all of the instructions in this article.

I had my phone non-secured. And... just followed. I used clockwork recovery mode, i tried it about 10 times, but i failed to see normal booting. But after using amonra mode, i succeed at once.

If anyone is trying to apply this, you SHOULD USE AMONRAMODE. I don't know if i have a strange desire.

My phone is starting now.... and.. it works.
[Desire Android Development] skeptic1007:
Summing up the partitions sizes as created in this way, we get 437 MB. The official AlphaRev images total 450 MB. Do we lose 13 MB, or I am missing something?
[Desire Android Development] isollo:
is it support SLCD screen?
[Desire Android Development] coolexe:
Yup its support slcd...
[Desire Android Development] outlokator:
Hi,

I am trying to follow the instructions in this thread but I don't know the values of my partition

I am on HTC Desire with original rom and left 11mb free over 160mb....

so I can no more install or update softwares.

What should be the values to be put in the mtd file as I would like to keep the original rom , I am fine with it?

On the other side, how can I flash the N1 table as it is a .img file.

Should I change the extension?

sorry for my basic questions and tks for your answers
[Desire Android Development] alpinux:
Anyone tried this with a pvt4-40000 desire?
[Desire Android Development] danarama:
This is diffrerent to the N1 table thing.

Go here for that:

www.alpharev.nl

In regards to custom, download Quick System Info. It will tell you the size of your system partition, data and cache partition.

See how much space is left over in system and work out how much you need. You need to look into this yourself really. Its all in the first post.
[Desire Android Development] Puenos:
Dunno about Stock Sense.. guess most ppl just reduce their cache to a minimum?

Flashing n1-table is rather easy... every info needed is on www.alpharev.nl just read the step-by-step directly under the SPL you can choose to download..

Setting up SDK is required though. Then simply flashing via fastboot, takes about 2 secs?
[Desire Android Development] danarama:
Stock partition is 250, but sure the rom doesn't fill that
[Desire Android Development] nagasgura:
Without Wipe

Is it possible to do this without wiping data and system? I'd rather not lose all my apps and have to go through the entire process of restoring my apps and settings.
[Desire Android Development] nagasgura:
I put in echo "mtd 125 5"

Will it still work, or will I have to redo it?
[Desire Android Development] nagasgura:
THis messed up my phone!!!!!!!!!!
[Desire Android Development] nagasgura:
What do you mean by radio? The two specified .zip's that you posted on the first page - do we flash them via fastboot or clockworkmod?
[Desire Android Development] Puenos:
That's what I think too, but need to check the size used by stock in system to see how far I'll resize.

Have just looked up alpharev's sense-table and found the cache size quite high, whereas again data++ "restricts" flashing radio only via fastboot.

Guess I'll adjust sizes similar to their values..

That's what the first post says..

So I guess the 2 zips are flashed via recovery, whereas radio should always be flashed via fastboot?
[Desire Android Development] danarama:
Its just a warning that you should flash radio's from now on via fastboot.
[Desire Android Development] Droidzone:
Thanks a lot for this. Would you consider adding the md5 for the files to the OP?
[Desire Android Development] th3:
Max /system I've seen used is 220-236MB on Desire HD ROMs (after 200 odd apps in). Stock HTC 2.2 generally stays around 220-225MB.
[Desire Android Development] Izeltokatl:
What are the original sizes?

System @ 250MB

Cache @ 40

-------updated-----

I am correct on stock numbers.
[Desire Android Development] Izeltokatl:
I did something similar, but using the following which seems relatively the same:

http://theultimatedroid.com/forum/i...ning-low-on-space/page__gopid__6666#entry6666

at one point I did end up in an almost endless bootloop cycle. Pull the battery, then go into boot loader, do a full wipe of data/cache, then flashed my rom back, and got everything working fine.

I also redid the whole process again, and somewhere between various attempts I got my phone back up to par.

good luck.
[Desire Android Development] Izeltokatl:
This worked like a charm! I've now got:

35 on Cache

160 on System

I'm on a CDMA phone (USCC)

I did use the nand restore option instead of flashing a clean rom, which if anyone cares, in my example I was using about 170MB of System Memory, so after restoring I lost 3 apps. So the system doesn't go corrupt, the restore just skips any last files that dont fit. I just install them back from the market and everything is working fine now. I guess I can move files back to the Data folder and see if I want to reduce the system folder now, but at 160, I'm happy.
[Desire Android Development] patp:
I want to use this but I've already flashed one of the alpharev custom hboot img. do I need to do anything before proceeding?
[Desire Android Development] Droidzone:
Any additional steps necessary to make it work while updating to a new recovery?
[Desire Android Development] aidfarh:
Hi! Would this work with all versions of ClockworkMod Recovery, including the latest version 3.0.0.5?
[Desire Android Development] :
works with GB, like CM7 nightly?

thx
[Desire Android Development] :
Yep. It works just fine. Posted reply to another thread so here is the link to my post.

http://xdaforums.com/showpost.php?p=10760735&postcount=375
[Desire Android Development] ed.dark:
use this command

df-h

in the terminal on the device or in adb shell
[Desire Android Development] MrDevil:
edit: nvm i took the plunge and got it working.

how do i change the partition map? edit the mtpartmap.txt and flash bravo-recovery-v1.5.3-CustomMTD.zip or just edit text file?
[Desire Android Development] ziggy1001:
Any ideas about this worked fine with CM7 nightly but after flashing the next nightly my data partition was about 30 Mb bigger and i can't work where it came from :(

On second thoughts i'm going to give this a miss for now yes it resized my partitions as per my mtpartmap.txt but on flashing the next CM nightly 30Mb was added to data and despite repeately wiping dalvk-cache with CW 2.5.0.7 and v3 deleting it with rootexplorer it just wouldn't go away so as i currently have 130Mb free space on data without this i'll maybe comeback when i run out of space or CM7 stable is upon us :)
[Desire Android Development] Nekromantik:
do I need to flash the patch again after flashing a a2sd script?
[Desire Android Development] Narfx:
Yep, works perfectly with 3.0.0.5.
[Desire Android Development] Nekromantik:
anyone?

do I need to flash the mtd patch after flashing a2sd?
[Desire Android Development] MrDevil:
I don't use a2sd but I don't think u have to.

Sent via homing pigeons
[Desire Android Development] Nekromantik:
thanks

I will try
[Desire Android Development] JonesWTF:
I don't understand why you would use a2sd if you are using custom partitions?

Sent from my HTC Desire
[Desire Android Development] bradputt:
question: from the above statement, does it mean that if i change kernel i have to manually patch it again by flashing the zip file?
[Desire Android Development] danarama:
You are only patching boot on the rom. Flashing kernels or add ons do not change boot so you don't have to repatch.

You only repatch if you flash a rom as this is the only thing that will overwrite the patched boot. Flashing a rom overwrites the entire /system partition but nothing else does.

I run both. Apps2sd+ on its own isn't always enough due to app cache filling the /data partition.

Similarly, without sacrificing too much of the /cache partition, your custom /data partition size alone may not be enough for the same reasons (adding of course dalvik cache into the mix too).

OK since I have AOSP, my /data is a fair size, but using both and since I have a big SD card, I choose to use a combination of the two. I never have to worry about space again.