yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] laie1472:
You load it up and try it. 1gb partition, ext2,0swap rest fat.

Kifno build prop and dec's #589 768

16gb sd card. CM6.2 187 RA 1.7. Overclocked with set cpu on performance 710 surfing 691 battery save. Run that setup and compare.

I've used your mod for a long time with ever rom,theme and kernel I've loaded up and my phone can handle 768 with no prob. Your mod runs great but the most mem I was able to get was 316 or 317 depending on how many apps I've used. But with 0.94gb of mem my phone runs twice as fast. Like I posted you run it and conpare

Something.About.Me.U.Dont.Like

Its.Cool.I.Understand.

.AWAH.
[Hero CDMA Android Development] Firerat:
I have already you fool

you claim twice as fast, now I would like to see this, post a youtube as proof or stfu
[Hero CDMA Android Development] laie1472:
LMAO ohhh struck a nerve. Now there's no need for name calling is there???? Have a good one dude. Like I told dude after he runs your mod to load it up and compare.

Something.About.Me.U.Dont.Like

Its.Cool.I.Understand.

.AWAH.
[Hero CDMA Android Development] laie1472:
Hold on man you have a g1 right so how could you have run my setup hummmm??? Well if you have a hero run my setup and compare. Have a good one. Thanks for the great mod.

That I no longer use, a it was fun but time to move on. Thanks again.

Something.About.Me.U.Dont.Like

Its.Cool.I.Understand.

.AWAH.
[Hero CDMA Android Development] Firerat:
lol, idiot

you think your special build.prop is the secret to your twice the speed bs.

look it is simple, post video evidence if you are so confident

it is not a nerve you have struck, it is the fact that you are miss leading people

if it did offer twice the speed it would be used in all roms,

it is not as it just gives a little boost to i/o , but android isn't i/o intensive ( unless you are benchmarking i/o ) so it is more or less pointless.

custom MTD is not about improving performance , it is increasing storage capacity.

I realise you are suffering from a placebo effect , which is why I ask for video evidence.

I want to see before and after with no 'cuts'

so we see that you did not cripple the 'without' with poor config

is this too much to ask for?

if you don't do it then we can only assume you are just bs'ing
[Hero CDMA Android Development] Macanage:
Wow, awfully early to start this. I have run both and twice as fast might be a lot over the top! For those that are reading your post should keep in mind that more r and w to your SD card is likely to give it an early retirement. Not to mention most do not have a class 6+ card and do you really need a Gig for your apps? It is a good mod and another good alternative for those who download a million apps, but there are pro's and con's to each mod. As for me, Firerats mod is the best fit and works very well.
[Hero CDMA Android Development] dburg84:
why bash a dev for providing with you free solutions for your phone? It took Firerat TIME and EFFORT to even have this an option on heroc. Firerat does not make a salary from this. Respect the devs. this is ridiculous.
[Hero CDMA Android Development] laie1472:
Really man what's up with name calling. Wow seemes like your suffering from a period effect. Get off the rag man its ok. And no not one mod is a key to performance its a combation of mods read dude..

And your asking me is it to much to load a video, I ask you the same is it to much for you to load my setup and compare??? And read my whole post not what you want to. Geezze stop being so sensitive. Lol

Something.About.Me.U.Dont.Like

Its.Cool.I.Understand.

.AWAH.
[Hero CDMA Android Development] laie1472:
I agree I just told the dude to compare and as you stated there are pros and cons to every mod. I posted and I quote " not sure if it will give you the same performance but load up and compare. And as far as needing a gig for apps its all user preference

Something.About.Me.U.Dont.Like

Its.Cool.I.Understand.

.AWAH.
[Hero CDMA Android Development] laie1472:
Were is bashing ???I gave dude his respect for his work and mod just read. Dude the one with the fools and idiots lol weres the respect in that?????

Something.About.Me.U.Dont.Like

Its.Cool.I.Understand.

.AWAH.
[Hero CDMA Android Development] dhero1:
I followed the wiki ...

and I'm fine. Here's my setup:

ro.fl.believe.and.it.will.be.so.enable = 1

ymmv :)
[Hero CDMA Android Development] androidnoob111:
just wanted to say i did figure it out .... and thanks to all the ppl willing to help me.... i may be a noob somewhat but nobody learned to walk n talk there first day
[Hero CDMA Android Development] noobie100:
AWESOME!

I just did this on my rooted stock Hero (just the regular ol' 2.27.651.5 RUU) and went from about 9 mb free to 125mb.

P.S. I didn't flash a new ROM (obviously). I just restored a Nandroid and it worked like a charm. Thanks Firerat (from a complete noob at this).
[Hero CDMA Android Development] noobie100:
I forgot to tell you my settings. 182 4
[Hero CDMA Android Development] :
Still at it I see. Terrible Sig and all. /sigh.
[Hero CDMA Android Development] laie1472:
AWAH and you must be bored with your life huh. Get one dude. Do you cuz. Stop following me. Learn to lead.

Something.About.Me.U.Dont.Like

Its.Cool.I.Understand.

.AWAH.
[Hero CDMA Android Development] lohp75:
Anything not on OP is worse than 90210 :€

Sent from my HTC Desire CDMA
[Hero CDMA Android Development] noobie100:
Even better

Well, I changed my settings to 165 4 and got an error message regarding cache and not enough space on the device. I tried to nandroid restore and got everything back except my screens had no widgets and everything was reset to factory. I tried to Titanium restore. Finally, I wiped, flashed recovery, rebooted via adb shell (not into recovery), rebooted into recovery, flashed the boot zip, rebooted, and (almost) everything appeared just like a nandroid restore should (Handcent is completely devoid of data, but I don't need to save my texts). I now have 168mb, and have 46 apps running.
[Hero CDMA Android Development] :
I wish I make out what you are trying. to. say. with. all of. those. periods.

Learn to lead? Please tell me where should I start! I'm so excited to learn this Android thing.

Glad you got it working, It's not that hard once you get used to it. Trial and error is a great learning tool.
[Hero CDMA Android Development] noobie100:
Alright, maybe I spoke too soon. The FB app is not working to update things (although it has all of my friends in it) and I cannot download anything from the Market. Kinda useless having all this space if I cannot fill it up!

I think I saw something earlier in this thread about the market and downloading after this mod, so I will take a look. But if anyone would like to point me in the right direction, I would truly appreciate it.
[Hero CDMA Android Development] noobie100:
Strange. All I found was the possibility that the system and/or cache was set too low. I don't think that is the case, as I set them at 165 4. Well, now to keep digging through these forums. . .
[Hero CDMA Android Development] noobie100:
Well, I guess that is why I am called Noobie. I cycled the phone and was able to download from the Market. Not real worried about the FB app (it was doing that before I ran firerat's mod).

This mod is killer. Titanium Backup says I have 304 mb with 182 free. As I said before, this mod was done on the stock Sprint rom (RUU 2.27.651.5).
[Hero CDMA Android Development] androidnoob111:
thats awesome.... congrats
[Hero CDMA Android Development] aqualls:
I have mine at 160 4 without the bloat but left room for a battery mod and flip animations.
[Hero CDMA Android Development] aqualls:
I always reboot recovery via adb because I get that error in recovery if I don't.
[Hero CDMA Android Development] noobie100:
I could probably go a little lower once I get more of the bloat off here. In any event, great mod, and it works on the stock rom.
[Hero CDMA Android Development] caspertodd:
Worked perfectly for me. Easy instructions. Thanks for posting!
[Hero CDMA Android Development] noobie100:
Thanks a lot. Yes, trial and error is a great teacher.
[Hero CDMA Android Development] ccrunnerli:
Firerats

Does anyone know if this mod will work on the LG optimus S?
[Hero CDMA Android Development] Firerat:
flash the test zip

http://www.mediafire.com/?u8k1uhx1juazm

and then read

/sdcard/cMTD-testoutput.txt
[Hero CDMA Android Development] ccrunnerli:
test output

These are my results. Can you tell me what it means?
[Hero CDMA Android Development] Firerat:
I will have to make some changes for it to work

[ 2.926813] Creating 9 MTD partitions on "msm_nand":
[ 2.931771] 0x000002820000-0x000002f20000 : "boot"
[ 2.937424] 0x000002f20000-0x00000ab40000 : "cache"
[ 2.942078] 0x00000ab40000-0x00000b240000 : "recovery"
[ 2.947166] 0x00000b240000-0x00000b380000 : "splash"
[ 2.952058] 0x00000b380000-0x00000ba80000 : "FOTA_STO"
[ 2.957123] 0x00000ba80000-0x000015900000 : "system"
[ 2.962114] 0x000015900000-0x00001fde0000 : "userdata"
[ 2.967218] 0x00001fde0000-0x00001fe60000 : "misc"
[ 2.972021] 0x00001fe60000-0x00001ffe0000 : "persist"

It will kind of work, .. but it won't

'normally' userdata comes after /cache, but here it comes after system.. and cache is between boot and recovery

now, the problem is I don't think we can make use of cache , as shifting recovery will more than likely prevent it from booting

About the the only thing I can see atm is swap cache out with system, we can then shrink cache (what was system ) and shift that saving onto userdata

so, system size would be 124mb

and cache + data = 323 ( about 320mb data )

which.. is a pita , but doable

I will have to either make a separate version, or have some kind of detection in the script to decide which method to use.

currently the script will work, but you will loose a 124mb chunk, so its not worth it

what is the current used size of your system? will it fit 124mb?
[Hero CDMA Android Development] ccrunnerli:
Yes. System data used is 120.95 mb. And thank you for your time.
[Hero CDMA Android Development] Firerat:
Ok, I'll start working a hack in , atm I think I will just look for thunderc , and go from there.. in terms of configuration only the cache value will be used ( since I don't think we can resize this awkward partition )

Later I will better integrate it to detect other devices with the same awkward ordering.
[Hero CDMA Android Development] unCoRrUpTeD:
Firerat, could you help with something. Sort of a similiar thing to what your doing by moving system to cache. I tried to change the cache partition to system on an evo and it never boots. Logcat just hangs on waiting for device.

Sent from my dual-booted liquidsense 2.1
[Hero CDMA Android Development] Firerat:
and how did you change cache to system?

two ways to do it

one is to alter the partition mapping

and the other is to modify the boot.img's init.rc to mount the cache partition as system, to get this to work you need to modify the updatezip to flash system files to cache instead of system..

tbh, I don't see why you would do either of these on an Evo, as you can just use cMTD to resize
[Hero CDMA Android Development] Firerat:
OK, I've hacked it in

tbh, this is not the best place for this post, had a quick look and there is no dedicated forum for the Optimus S

let us know the best place to post info about this

I've only tested against the dmesg you gave me, cos,, I don't have a THUNDER Sprint board (LGE LS670)

https://github.com/Firerat/CustomMTD/commit/f3ec0fdcd6823e674cd3bc81267db6a482eaa39a

http://www.mediafire.com/?ryke4qqx8b584

I have no idea if it will work

depending on the bootloader it may not even let you write to the recovery partition

system and cache should be swapped over

system will be 124mb ,

you must config mtdpartmap.txt in the usual way, but the system size will be ignored

depending on the rom, the bindcache script will deal with cache being too small

if its not supported by the rom, have cache large ( 60mb cache will get you an extra 90mb data )

If everything goes wrong.. fastboot should get you out of trouble

fastboot erase system -w

fastboot flash recovery recovery.img

but, in all honesty I do not know what bootloaders can and can't do that on the Optimus S

based on a 2mb cache, the cmdline should look like this

--cmdline

mtdparts=msm_nand:7168K@0x000002820000(boot),127104K@0x000002F20000(system),7168K@0x00000AB40000(recovery),1280K@0x00000B240000(splash),7168K@0x00000B380000(FOTA_STO),512K@0x00001FDE0000(misc),1536K@0x00001FE60000(persist),2048k@0xBA80000(cache),329088k@0xBC80000(userdata)

you can see that cache is now starting where system was

data is starting where cache ends, and it ends where misc begins

329088 * 1024 = 336986112 ( hex 0x14160000 )

0x14160000( the size of data ) + 0xBC80000 ( the start of data ) = 0x1FDE0000 ( which is where misc starts, so all looks ok )

don't blame me if it bricks :)
[Hero CDMA Android Development] cordell12:
We don't have fastboot for the Optimus S. Our bootloader is locked down tight! I have flashed your mod (G1 version) on the S and recovery did not move, I lost access to my recovery. I was able to restore with a command line program, not quite a RUU because it doesn't replace the recovery. My recovery was still rooted but the rom wasn't. I ended up nandroid restoring a old rooted boot image which gave me root on the stock rom. That in turn mounted mtd5 for me to flash recovery. I was a PIA! Lol, I am glad to see you wrote script for the S, I will try this within a day or two. Still a little shook up from my flash of 1.5.7 for G1 :)

Thanks

edit...we also have a cm7 for the Optimus S, system size as you know is considerably smaller than the 120 the stock roms are. All the roms for the LGE LS670 are based off stock, besides our CM7.
[Hero CDMA Android Development] Firerat:
the v1.5.9-preAlpha has a horrid flaw, in that recovery can only be patched once

I can probably resolve that while adding the better detection for none consecutive system,cache and data
[Hero CDMA Android Development] cordell12:
O forgot to add what a couple errors were when booting to recovery. Both stated "can not find E recovery. And can not find E cache. This is on 1.5.7 not the new script made for Optimus S, I have yet to try that. I have a replacement phone coming Monday so I will play once it arrives. This phone has bad LCD, may be a brick when they get it back though, lol.

Thanks
[Hero CDMA Android Development] cordell12:
OK, I flashed the recovery, did the required wipes and everything was looking good, until reboot recovery that is. I got the same errors as when flashing 1.5.7

E:cant find MISC:

E:cant find PERSIST:

E:cant mount CACHE:recovery/command

E:cant find MISC:

E:cant mount CACHE:recovery/log

E:cant open CACHE:recovery/log

E:cant find MISC:

This is what I got before, I am attempting to flash rom now but will prob get error. Once I comfirm install I get E:cant find MISC: the install appears to go through though, gonna flash boot and try to first boot. It told me boot was patched and I am sitting at splash screen. Yeah, not looking good, lol. Sitting at splash now 5 minutes. My guess is our bootloader is not allowing what your script is trying to do. We are working at unlocking bootloader and have a .tot file that has a hackable bootloader but no way to flash the .tot file :(

Gonna restore to stock, this takes 1 1/2 hours, but is worth the testing to get this mod to work :)

Thanks!

Took 1 hour this time, must be getting better, lol
[Hero CDMA Android Development] Firerat:
Well, tbh I'm stumped

I would expect it to, not do anything or have trouble mounting cace or/and data

where are misc a persist mounting to?

can you mount manually?

well, until such a time as I have access to a device with a similar setup , I shall have to detect and bail out.

I'll have to look at how much influence the atag has on partitions
[Hero CDMA Android Development] laie1472:
Humm thought it would work the same on every phone huh. Lol

Yea it's me Again. With the

Modified .HERO.
[Hero CDMA Android Development] laie1472:
Huh and I quote

Yea it's me Again. With the

Modified .HERO.
[Hero CDMA Android Development] laie1472:
All simple huh Childs play Ha really. Thought it was all so simple.

Yea it's me Again. With the

Modified .HERO.
[Hero CDMA Android Development] stayclean:
What are you even talking about?
[Hero CDMA Android Development] noobie100:
Well, when you have actually contributed to everyone's knowledge here instead of picking at one of the guys who has actually provided a mod that works really well, you can talk.

Otherwise, your posts are just a waste of space.
[Hero CDMA Android Development] noobie100:
Firerat, I have a stupid question. I hope you don't mind answering this. I have looked around and can find nothing about fastboot. You suggest rebooting that way rather than from the reboot menu on the phone. Is fastboot a tool that is included in the Android sdk? I have a file named fastboot.exe in the /tools folder. How would I run it? I would not have to adb if it is resident on my computer rather than the device, right?

Anyway, thanks in advance for taking the time to answer a stupid question from a noob.
[Hero CDMA Android Development] noobie100:
Alright, just forget it. I found the fastboot menu by running fastboot command from the cmd prompt.

Please ignore my last post.
[Hero CDMA Android Development] Freeroot:
Stunned

This is absolutely unbelievable. I have literally every app that I want and I still have 150 mb of space. Incredible. Thanks so much for this!
[Hero CDMA Android Development] METHOD1911:
If I change my mtd values all I have to do is flash my nandroid then flash the fr boot.

Hijacked aospCMod DarkHorse GB Hero
[Hero CDMA Android Development] revcp:
Is that a question? If you change your values I believe you have to flash fr recovery to activate the new values.
[Hero CDMA Android Development] aqualls:
Yes. You have to do the whole process again.
[Hero CDMA Android Development] 24601:
Not sure where this is (I searched this thread and can't find it), but I copied these instructions a while ago for what to do when changing your partitions sizes. It has always worked for me.

*EDIT* These instructions are from the firerat wiki. Thx Vayman!!

1. (where *** * is the new partition size you want to use)

echo "mtd *** *" > /sdcard/mtdpartmap.txt

2. reboot to recovery

3. nandbackup

4. flash recovery patcher

5. format system, cache and data (either with clockwork or fastboot erase system -w )

6. reboot to recovery

7. nandrestore

8. flash boot patcher

9. reboot
[Hero CDMA Android Development] cordell12:
Sorry I havent gotten back to you sooner, been a little busy lately. We now have a CM7 port of 2.3 (runs smooth!) the test flash you read earlier was from a "stock" rom. All our roms were stock based, bloat removed with a few tweaks. Anyway I have a pastebin HERE of the test flash, not sure if anything will be different besides system sizes. Its worth a shot though. Our main forum for this phone is over at Android Central, I am hoping they open one here as this phone is pretty popular, lots of Hero users have went to the Optimus S. To answer your question above, I wasnt able to mount manually, nor did I spend much time trying. I was in a hurry and needed to get phone back up and running. I am attaching the most used recovery, a port of clockword mod, maybe this has something to do with those errors...

Thanks!
[Hero CDMA Android Development] revcp:
Yes, this is my understanding and pretty close to my process. Prior to #4, however, I usually wipe everything I can wipe, although that may be redundant.
[Hero CDMA Android Development] 24601:
Lol, yeah, it seems more wiping can't hurt. If I am flashing a new ROM altogether, I usually fully wipe before the recovery patcher; then again after the recovery patcher; then again after rebooting just before installing the new ROM. Now, I know that's overkill, but there was a dude in another thread that had data hanging around after rebooting, and it was causing bootloops . . . the 3rd wipe took care of it.
[Hero CDMA Android Development] METHOD1911:
Thanks fellas I appreciate the answers was stumped. I just didn't want to start all over.

Hijacked aospCMod DarkHorse GB Hero
[Hero CDMA Android Development] METHOD1911:
24601 ok my mtd is on my sdcard. Before I do anything I first type this in terminal. Su enter then echo mtd /sdcard/mtd?

Hijacked aospCMod DarkHorse GB Hero
[Hero CDMA Android Development] revcp:
I've never used TE or CMD. I just put mtd on sd and go through the process on OP (sorry about all the shorthand!). The FR Recovery uses your mtd to set everything, and then FR Boot has to be flashed after any ROM or system change.
[Hero CDMA Android Development] METHOD1911:
Ok cool ill just do it all over to be safe.

Hijacked aospCMod DarkHorse GB Hero
[Hero CDMA Android Development] 24601:
Either way will work. On TE, type the following (replacing *** * with the new size settings you want to use):

echo "mtd *** *" > /sdcard/mtdpartmap.txt

This will change your mtdpartmap.txt file to *** * size.
[Hero CDMA Android Development] METHOD1911:
Oh ok cool. Thanks man

Hijacked aospCMod DarkHorse GB Hero
[Hero CDMA Android Development] mattynealo:
Can someone help me out. It says I can increase the size of the mtd changing the text file and re flashing FR-boot When I tried that I had to wipe my phone and reinstall my rom. Is there a way to increase the size without needing wipe my phone?

Thanks
[Hero CDMA Android Development] aiwetir:
the last few posts above yours answer this question directly.
[Hero CDMA Android Development] aiwetir:
Last night after installing CM7 nightly, I couldn't install any apps, the phone would reboot. I don't know if it's something incompatible with firerat's and CM7 but chowning some stuff fixed it.

chown system:system /data/app /data/app-private
[Hero CDMA Android Development] mattynealo:
Found it sorry for the redundant post
[Hero CDMA Android Development] vayman:
This is posted in the firerat's page on the WIKI. Maybe that's where you saw it?

+1 I always do the fastboot erase and then RA wipes at least 3 times for each install. Sometimes you don't get the dingleberrys on the first wipe. :eek::eek::eek:
[Hero CDMA Android Development] 24601:
Thx. I'll go back and give proper credit :D
[Hero CDMA Android Development] vayman:
No problem! That's the only place I remember ever seeing it, but would be very surprised if it's not in here somewhere too.

Sent from my Super Hero w/ some sweet Gingerbread!
[Hero CDMA Android Development] aiwetir:
It's a simple shell command that echos what's in the quotes into the file, no reason to credit anyone really. You can do the same on any text file including your build.prop
[Hero CDMA Android Development] ubunix:
I just followed AOSP's instructions from his AospCMod Gingerbread Repo website, it used firerats 1.5.6 version. Now I keep getting download unsuccessful everytime I try to install something from the market!

Can somebody please help me?
[Hero CDMA Android Development] revcp:
There's a "market fix" for that in the gb wiki.
[Hero CDMA Android Development] ubunix:
THANK YOU! I complely overlooked that! :p
[Hero CDMA Android Development] picklerick:
never mind found it
[Hero CDMA Android Development] c00ller:
I am considering trying this great mod, however I didn't see anyone talking about the newest version, 1.5.8 released Feb 20

http://www.mediafire.com/?lifib6a9ptj5j

These files are not phone-specific and should work, right? Any help is greatly appreciated.
[Hero CDMA Android Development] aiwetir:
I use them all the time.

sent via tappa tappa tappa
[Hero CDMA Android Development] c00ller:
Were you replying to me? I couldn't tell. And by "them" do you mean, the newest version recovery and boot zips?
[Hero CDMA Android Development] aiwetir:
Yeah I was, I forgot to hit "quote" on the phone. By "them" I mean the 1.5.8-boot, and 1.5.8-recovery zips.
[Hero CDMA Android Development] c00ller:
Cool, thanks :)
[Hero CDMA Android Development] vayman:
I have been using v1.5.3 since I started using this mod. Are the market issues w/ GB present no matter what version you are using. I'm assuming so based on the fact that the newer versions are just support for more devices.