yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] Foo_Blyat:
dsMA, do you mind organizing your thoughts a little bit more effienctly instead of posting 15 seperate replies.

I plan on editing the First post with more accurate instructions for the Hero CDMA shortly.
[Hero CDMA Android Development] dsMA:
Sorry about that, I usually just reply to a post when I come along it, never really occurred to me to reply to multiple posts in a single posting.
[Hero CDMA Android Development] dsMA:
I don't think this mod has anything to do with the amount of ram used to run apps, I believe what this mod does is allows you to free up more internal storage on your phone. The benifet of this would be to allow you to install more apps to your phone before having to resort to a program like apps2sd.

Other than that I don't know of there are any performance benifts or not
[Hero CDMA Android Development] laie1472:
Thanks for the feed back I had previous done that already I was just seeing if I could free up even more I like to push a little u know to c what all I can or can't do I'm also wondering I'm running cm6 rc1/ bx theme / uncapped kernel /with this mod as well am I able to flash the latest nightly build right over this without running into any probs help would b appreciated thanks
[Hero CDMA Android Development] Firerat:
well

its even easier than that tbh

use clockwork advanced restore, and don't restore cache

and you can just use and empty dir instead of /cache with the other one
[Hero CDMA Android Development] :
Hi, please read the big red text on the first post. You can't miss it. Actually, you probably should have read it before trying this.

Fix: Reflash your recovery, and don't try again.
[Hero CDMA Android Development] jcj77d:
i just did a nandroid restore, & now most of my apps on my sd card wont load, & when i go to manage applications they are listed, but when i click on one, it says not installed on system
[Hero CDMA Android Development] Vandelay007:
If you are using this mod then why even bother with a2sd? You should have tons of internal space....
[Hero CDMA Android Development] jcj77d:
do we have to repeat the whole process over again to resize the partition, or can we just change the txt file w/ the size we want, & just flash the boot file?
[Hero CDMA Android Development] jcj77d:
b/c less apps on phone, makes phone run faster imo, still didnt answer my question
[Hero CDMA Android Development] revcp:
Yes, one must repeat the entire process if resizing mtdpartmap.
[Hero CDMA Android Development] revcp:
Twenty or one hundred runs the same to our perception. Apps are likely not loading because mtdpatmap is too small and the nandroid installed incompletely. remove a2sd (wipe completely and reinstall rom not nandroid) and install everything internally.
[Hero CDMA Android Development] hexskrew:
Quick question.. Does the scripts happen to work on certain sets of android devices or android devices in general (yes i know has to be rooted)?

Reason being is because especially on the cheap (and even the expensive) tablet front, the manufacturers are giving jack crap for app space, so I was wondering if anyone could confirm that these scripts work with tablets. I know clockworkmod is a prereq.
[Hero CDMA Android Development] someonenewhere:
Hey Firerat I been trying to resize my partition again but I keep on getting this after I do reboot recovery in command prompt..

can you help me out?

c:\android-sdk-windows\platform-tools>adb shell

~ # reboot recovery

reboot recovery

/sbin/sh: reboot: not found

~ #
[Hero CDMA Android Development] jcj77d:
how do we uninstall this mod if we dont want it anymore, i saw a FR-remove.zip tool, but its for v1.5.6, & i installed v1.5.3.
[Hero CDMA Android Development] xBryan:
this works great finally got time to do it, 318mb free on my hero running aosp's 2.3
[Hero CDMA Android Development] 24601:
Flash a different recovery.img and reinstall a nandroid backup with the new recovery.
[Hero CDMA Android Development] tps70:
I'm pretty sure this worked for me:

instead of the "adb shell" command, try "adb reboot recovery"

I think I had the same problem you're having because I don't use adb regularly.

Good luck!
[Hero CDMA Android Development] unCoRrUpTeD:
Firerat. Have you considered adding the reboot file to your zip and adding a script just to reboot back into recovery. I've done it with my project and didn't have any problems.
[Hero CDMA Android Development] :
Clockwork Recovery has a 'reboot recovery' option the advanced menu that works just fine.
[Hero CDMA Android Development] acheron1502:
Question

Hey guys,

Having some issues where my phone won't boot past HTC splash screen. Will not boot into recovery either. I can get into HBOOT and FASTBOOT modes.

Tried running the 2.31.651.7 RUU and still won't go past HTC splash screen.

When I try to manually restore my data partition thru FASTBOOT, it says (remote: data length too large)

Is there any way to resize the partitions thru HBOOT or FASTBOOT?
[Hero CDMA Android Development] systemshock869:
Hi, I have a quick question. If I want to flash a new rom with different table settings, do I need to re-do the whole process or just flash the rom and the boot file?
[Hero CDMA Android Development] stayclean:
As stated over and over, yes, you will need to redo the process.
[Hero CDMA Android Development] systemshock869:
Sorry, didn't feel like reading through 100 pages to find an answer. OP was unclear.

Thanks for answering so fast
[Hero CDMA Android Development] Firerat:
recovery patcher changes the mtd map of the recovery to the one in mtdpartmap.txt

boot patcher changes the mtd map of boot to the one recovery uses

if you don't format/erase system, cache and data (aka userdata) when you have resized recovery things may go wrong.

so , yes

you have to do the 'whole' process over again, which is a trivial task once you have done it a few times.
[Hero CDMA Android Development] revcp:
Agreed. I just resized for the latest aospgbmod. Nandroid, redoing of process took no more than five minutes, and most of that time was spent just waiting for the nandroid back up to complete.
[Hero CDMA Android Development] systemshock869:
Yea, not a big deal.. I'm away from my computer though so I was hoping not to have to use adb.
[Hero CDMA Android Development] Firerat:
you don't need adb

I don't use it adb for customMTD

I just use clockwork's partition formats

edit mtdpartmap.txt ( ok, I use adb for that, but you can do it in a ROM with terminal )

boot to recovery

nandbackup

flash recovery patcher

format system, data and cache

reboot to recovery

nand restore ( or flash new ROM )

flash boot patcher

done

Edit:

eventually I hope to be able to skip the need to reboot

for this to happen the msm_nand needs to be compiled as kernel modules, and support mtdparts cmdline ( modules don't currently support this )

I'll get round to that one day, unless someone else does it for us..
[Hero CDMA Android Development] acheron1502:
Help Please

Was able to pull some more info from my phone. Attached are screenshots from the following commands:

fastboot oem listpartitions

fastboot oem readconfig

and

fastboot oem boot <-- at the end of this it says FAILED (status read failed (Too many links))

I am at a loss on how to fix this. Any help getting my phone up and running again would be greatly appreciated...
[Hero CDMA Android Development] ebrgt62:
Thanks to Firerat for this mod and Foo_Blyat for the hero-specific writeup! It worked well and has freed up tons of space on my phone but I've noticed one problem: after partitioning and doing a clean install of CM6.1 + gapps, certain apps not longer show up for me on the market (e.g. Shazam, Weather Channel, et. al.). It's certainly not enough of a deal breaker to make me undo the mod, however it does make me go hmmmmm.

Anyone have an idea why this is happening?
[Hero CDMA Android Development] systemshock869:
Thanks guys! I figured out that it works fine to just power the phone off and turn it back on with the home button pressed. I really don't like clockwork, this worked fine for ra
[Hero CDMA Android Development] aiwetir:
I don't suppose it would help to put this in the first post? I mean people will still ask even if you put it there, but I wouldn't mind having it there for reference.
[Hero CDMA Android Development] Firerat:
feel free to put it in the first post
[Hero CDMA Android Development] aiwetir:
I'm not the OP or a moderator, and now that I mention it neither are you.
[Hero CDMA Android Development] Firerat:
the penny drops ;)

it is in my OP, and as been since the beginning ( wording is slightly different )

tbh, I mean to get round to making a full post in the Generic Android section.
[Hero CDMA Android Development] oostah:
Im on the hero cdma The last time I used this it was 1.5.3 I have been using data2ext I didnt like it at all. I have been reading through both threads. Then went to downloads and see that there's 1.5.7 and 1.5.7b. I don't remember seeing any thing that said what the differences are in the two. And to recap with the 1.5.7 I Nan wipe cache/data flash recovery 1.5.7. boot back to recovery flash Nan flash boot 1.5.7 reboot. So we don't have to do a full wipe and clean after flashing the recover. Just want to be clear so I don't have to ask 999 questions later. Thanks for your time and work and of most your patients and help.
[Hero CDMA Android Development] stayclean:
I believe earlier in the thread firerat mentioned 1.5.7b being compatible with a few more devices or something.
[Hero CDMA Android Development] androidnoob111:
I know this is a dumb question but how do i Create a text file and name it mtdpartmap.txt
[Hero CDMA Android Development] aiwetir:
This is NOT for you then.
[Hero CDMA Android Development] METHOD1911:
I use root explorer. To create a txt file.
[Hero CDMA Android Development] Foo_Blyat:
Ill go ahead and edit the OP when I get to my laptop.
[Hero CDMA Android Development] aqualls:
I only use 1.5.7b. Have been for months. Seems to give me less issues, but it could all be in my head.
[Hero CDMA Android Development] aqualls:
FYI, just make it mtdpartmap but make it .txt format. I made it say mtdpartmap.txt at first and it wouldn't take because it would show up as mtdpartmap.txt.txt.
[Hero CDMA Android Development] aqualls:
You can also change partition sizes with astro or other file manager. By the way, Firerat, I love this mod since I am an app junkie.
[Hero CDMA Android Development] SweepinJR:
Just a note, I'm still using 1.5.3 to make my adjustments. With aosp 2.2.1 with some apps removed ive gotten the system partition down to 62mb giving me 394mb of internal storage.

Also, ive been able to flash tge recovery zip, wipe everything, and then reboot into recovery without using adb. I simply power it off, then use the home button plus power button to boot into recovery. It boots to the formatting cache message every time.

Also as a note I use the RA 1.7 recovery, not a clockwork mod fan.
[Hero CDMA Android Development] noskoviak:
Just wondering if this will work with the newest rom releases for heroc? I'm using the most recent gb for my hero.
[Hero CDMA Android Development] stayclean:
Yes, it works with aospGB, it's in the wiki for it too.
[Hero CDMA Android Development] :
This mod is ROM independent, assuming you allow enough room in /system to fit the entire ROM, of course.
[Hero CDMA Android Development] kwahomba:
On aosp's recent gb rom, you'll need at least 125 2.

Sent from my Gingerbread Hero on XDA App!
[Hero CDMA Android Development] kfreshx:
trying to uninstall the partition and an earlier poster said

if anyone can clarify on flashing a different recovery image?

what i basically did was use clockwork mod 2.5 and reinstalled the nandroid with standard partition configurations -- is this the correct way to remove firerats?
[Hero CDMA Android Development] vayman:
Flashing a new recovery has always worked for me but I use RA not CWM. YMMV ;)

Sent from my Super Hero w/ some sweet Gingerbread!
[Hero CDMA Android Development] Firerat:
if you look at the original thread I provide a zip that will remove cMTD

( any version will work, it is basic in what it does )

all it does id reflash the current recovery.img excluding the kernel cmdline

but you can just flash an unmodified custom recovery

in any case, you must still format cache , system and data

I may add partition formats if remove is used, makes sense as it is required . will probably kang EzTerry's confirm function for updater-script, will also need to include an erase_image for people that still use RA recovery.. tbh I don't understand why people who don't have a hw keyb still use RA, CWR is much better,I use it even though it doesn't support my hwkeyb ( but I do have an RA flashable Auto cMTD on my sdcard, just in case )
[Hero CDMA Android Development] johnsonjs:
I haven't installed this mod but using the df -h command in adb I found this:

C:\android-sdk-windows\platform-tools>adb shell

# df -h

df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 95.3M 0 95.3M 0% /dev

tmpfs 95.3M 0 95.3M 0% /mnt/asec

/dev/block/mtdblock3 170.0M 106.8M 63.2M 63% /system

/dev/block/mtdblock5 159.5M 102.7M 56.8M 64% /data

/dev/block/mtdblock4 130.0M 98.1M 31.9M 75% /cache

/dev/block/vold/179:1

7.4G 941.6M 6.5G 12% /mnt/sdcard

Is it normal to have 95.3M unused in tmpfs?

Thanks! :o
[Hero CDMA Android Development] kfreshx:
thanks for your help.

flashing the latest CWR3 img is fine i assume, thats what i did.

what is happening when we flash a recovery.img that restores the partition to its default? just trying to understand -- anyone who knows can respond thanks =]
[Hero CDMA Android Development] caliboy99:
is there any instruction on how to get rid of firerats? I want to get rid of it... From the post above it sounds like if i just reflash CWR 2.5.0.7 it should wipe out firerats??? its been so long how much memory should be in there without firerats when i check??
[Hero CDMA Android Development] aiwetir:
if you go to the mediafire page with the downloads, there is a 'remove' zip that you can flash also. However I think that just flashing a different recovery does it.
[Hero CDMA Android Development] caliboy99:
found the remove.zip flashed it reformated system,data,cache then flashed fresh got stuck on white HTC screen.. Did i do something wrong?
[Hero CDMA Android Development] stayclean:
Haven't used the remove zip, but reflashing the recovery removes the mod, as stated in the thread multiple times.
[Hero CDMA Android Development] revcp:
Probably not. just remove battery and boot into recovery.
[Hero CDMA Android Development] 24601:
Been using this mod for some time on Sprint Hero with aospGB ROM. Started with cwm 3.0.0.5, and recently converted to cwm 2.5.0.7. Surprisingly, I did not lose my firerat settings when I flashed 2.5.0.7. Strange. That was fine with me as I didn't have to redo the whole setup.

*EDIT* BTW, I am just reporting this as an anomaly. If you flash a new recovery image you are likely to lose your settings.
[Hero CDMA Android Development] caliboy99:
I had to flash RA recovery then back to CW recovery to wipe out Firerat
[Hero CDMA Android Development] Pyr0TeK:
I used to have this working and then I flashed the CWM v2.5.0.7 and obviously broke Firerat's mod. I have been trying for 2 days to get it back working. Before I go into any technical jargon about what I have done and tried to do... let me ask a simple question. At the point where you are to flash your rom and gapps etc... can a nandroid restore be used there or will that just not work? I would love to be able to restore a nandroid backup I have from a couple of days ago but not sure if that overwrites something that is not allowing me to get this implemented again? or do I HAVE to install a rom from scratch and start over?
[Hero CDMA Android Development] revcp:
Yes, you can use a nandroid as long as your mtdparmap settings are large enough to accommodate it.
[Hero CDMA Android Development] Pyr0TeK:
Thanks... after all of the issues I have had trying to get it set back up I finally got it. I think I am going to write up a "Dummies Guide" for doing this because depending on which thread and post you follow, it is very confusing as to what exactly you need to do in recovery to get this implemented. Lots of people have had issues so I am going to streamline it and post it up I think. Of course I'll search to make sure there isn't one already but the way I will write it will be dummy-proof. :)
[Hero CDMA Android Development] stayclean:
The OP is really clear about things as is. The nandroid issue is mentioned a lot in the thread too.
[Hero CDMA Android Development] systemshock869:
I thought it was pretty straightforward..
[Hero CDMA Android Development] METHOD1911:
Can someone please post the files I need to use with gingerbread I cannot download from my phone
[Hero CDMA Android Development] vayman:
+1. I thought it was pretty straight forward too.

Here are the files that you need. My settings are 112 4 for aospCMod 2/10 w/ a batt mod and 1/20 GApps. df -h told me /system was 105 and cache was 1.1 w/ just ROM and GApps. After flashing batt mod /system was 107.
[Hero CDMA Android Development] METHOD1911:
Thanks man
[Hero CDMA Android Development] METHOD1911:
Can someone help me with this. I have a nandroid of gingerbread rom with the darkhorse theme. I'm trying to use firerats mod. I tried it with the mtd at 105 2 and 110 4 but I'm getting error in the cache and not enough space on device error. What I'm I doing wrong. I hope this isn't confusing.

BTW I have about 68 apps installed to.
[Hero CDMA Android Development] aqualls:
Reboot to recovery via adb. I get that message in recovery if I don't.
[Hero CDMA Android Development] vayman:
My /system is already @ 107 w/ just the stock ROM and a batt mod. I'm not sure how much space to leave for the theme, but I would maybe start w/ 120 3 and if it boots up then do df -h in terminal and see where you're at. If need be then you can change your mtd settings and do the process again. As you can see it's a trial and error process. ;)
[Hero CDMA Android Development] Firerat:
hmm, let me think.. maybe the nandbackup's cache is too big..

use advanced restore ( clockwork ) and only restore system, data and boot

don't forget to flash the boot patcher
[Hero CDMA Android Development] METHOD1911:
Thanks firerat going to try that
[Hero CDMA Android Development] zanywood:
where

How do you find out if this is installed on my phone? I flashed everything and rebooted but don't know if its installed. Sorry I'm a fish.
[Hero CDMA Android Development] stayclean:
If you can't tell its installed, this isn't the mod for you...l
[Hero CDMA Android Development] 808Bill:
From terminal, type:

su

Busybox df -h

You'll see your partitions.
[Hero CDMA Android Development] vayman:
Sorry Method, I wasn't clear in my post. The advice I was giving was for starting over w/ a fresh install of GB not for your nand backup. Sorry about that.
[Hero CDMA Android Development] METHOD1911:
Oh man its cool I totally understood
[Hero CDMA Android Development] PMDColeslaw:
# su
su
# df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.3M 32.0K 95.3M 0% /dev
tmpfs 95.3M 0 95.3M 0% /mnt/asec
tmpfs 95.3M 0 95.3M 0% /mnt/obb
/dev/block/mtdblock3 110.0M 110.0M 0 100% /system
/dev/block/mtdblock5 347.5M 185.3M 162.2M 53% /data
/dev/block/mtdblock5 347.5M 185.3M 162.2M 53% /cache
/dev/block/mtdblock4 2.0M 1.1M 884.0K 57% /dev/cache
/dev/block/vold/179:1
6.9G 2.6G 4.3G 38% /mnt/sdcard
/dev/block/vold/179:1
6.9G 2.6G 4.3G 38% /mnt/secure/asec
#

What are the tmpfs blocks for? It says there's 3 of them with 95.3 mb each and only 32kb is being used. Just curious.
[Hero CDMA Android Development] vayman:
Cool, just wanted to clarify. ;)

Sent from my Super Hero w/ some sweet Gingerbread!
[Hero CDMA Android Development] hakujin:
Hello folks, need to instlal this mod as Froyo's native move to SD simply isnt' cutting it anymore (slow, and running out of space on internal memory). 1st page is still the most up to day and effective way of going about this? Also, is it possible to install this, and not lose apps that are presently installed?

Thanks!
[Hero CDMA Android Development] Vandelay007:
Yes, follow the directions in the OP and then after you read them you should read them a 2nd time......

And no, you will not lose your apps because you flash your nandroid backup at the end before flashing the boot.zip file

.....sent from my pimpin' echo!
[Hero CDMA Android Development] aiwetir:
and of course you've backed them up with titanium backup onto your computer (not just the card)
[Hero CDMA Android Development] METHOD1911:
Pyrotek here's the screen shot my bad
[Hero CDMA Android Development] hakujin:
ok, read 1st page and totally get the jist. correct me if I'm wrong though... firerat has nothing to do w/ apps2sd. it merely allone the re-appropriation of /system, /data/ and /cache to better fit more apps in internal memory.

this methodology seems beneficial as apps boot and load faster from internal memory (footnote: I've never used anything but 2.2's native ability to move apps to SD or install there by default), buuut, question is do you folks use this on top of apps2sd or data2ext?
[Hero CDMA Android Development] aiwetir:
Not sure you get the gist then, it's so you don't have to use it.
[Hero CDMA Android Development] vayman:
This is completely separate from apps2sd or data2ext. Yes it does exactly that, it re-partitions /system /data and /cache to obtain more space for apps in internal memory.

I've never had the need to use either as this gives me more than enough space and it seems that data2ext is merely for higher benchmarks which don't really mean much of anything anyway. ;)

Edit: Aiwetir beat me to it! :p
[Hero CDMA Android Development] systemshock869:
Anybody having GPS problems? My phone always ran perfectly on CM 6.1 until I installed this mod, it seems. Nothing is going too wrong, but I have noticed that GPS doesn't work nearly as well as it used to. I never connected the two until I read in the GB thread that people using firerats were having more problems. I am wondering if the tiny cache size has any connection to poor GPS (or just Google maps) performance. Any thoughts? I'm running 113 2
[Hero CDMA Android Development] aiwetir:
I'll try a larger cache, see if it helps.

posted via tapatalk
[Hero CDMA Android Development] systemshock869:
I just nandroided and changed to 112 13

I'll post the results!
[Hero CDMA Android Development] systemshock869:
Ok so now it seems to be working flawlessly. After a 5 minute test drive, I flashed the tweaked build.prop, as you can see in my sig, and it's still working great. I did run df -h while maps was working and it said I was only using 1.1 of cache, but I wonder if switching to terminal killed the map cache, cause it had to re-find my position when I switched back.

I don't know if this is what fixed it, maybe someone who knows more can set me straight, but it seems to me that having a larger cache partition fixed my GPS issues.
[Hero CDMA Android Development] 24601:
Didn't work for me. See here. Thx for the tip, though.
[Hero CDMA Android Development] laie1472:
I've used this mod for a while before I switched to data2ext and yes it made my hero faster in app loading searching with web browser,file downloaing etc. But when I switched to data2ext I have 0.94gb of internal mem and my hero is twice as fast. I also have 40 apps running from internal mem with the option to move to sd if I chose. In real world performance having 0.94gb of internal mem on top of kifno 187 mod and dec's #589 768 my phone flies like never before. I used to have to run 768 all the time but with the data2ext I get the same performance but I clock down to 710 to surf and 691 to save battery still performs twice as fast vs firerats mod. Im not saying you'll get the same results but I think after running this mod load up data2ext and compare for yourself. If you need help with it just pm me.

Something.About.Me.U.Dont.Like

Its.Cool.I.Understand.

.AWAH.
[Hero CDMA Android Development] Firerat:
twice as fast is a bold claim

post a youtube with before and after