yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] WiseManWhite:
Can you tell me how you removed this? I'm also using cyanogenmod and I'm stuck on the white screen. I tried using the FR-remove file but it isn't working either. So scared

Thanks in advance!

***Update***

I fixed the problem. After I flashed the FR-remove style I wiped everything again, flashed the boot file that I had when I first rooted my Hero, wiped data, wiped cache, wiped dalvik, flashed my backup ROM with Sense and then it was all good.
[Hero CDMA Android Development] vinnypel2ella:
All you have to do to get rid of this is to flash or re-flash a recovery(ex. Clockwork, amon-ra, godspeed)

Sent from my HTC Hero - AOSP 2.3.1 Gingerbread - Decafuct #589 768 - Firerat's mod -
[Hero CDMA Android Development] everydaysince87:
i had a typo in the txt file name lol but started back from step 1 and got it working great thanks for the mod firerat its amazing!
[Hero CDMA Android Development] Firerat:
for the future I plan to have much better feedback printed in the recovery UI

e.g.

print configured system, cache and data size

print success / failure
[Hero CDMA Android Development] :
works on liquidsense :D no problems
[Hero CDMA Android Development] ahecht:
When I do df -h, it shows my cache as being 46.7MB used (37%). Will setting it to 4MB, as most people here suggest, affect performance?
[Hero CDMA Android Development] 24601:
S-Off and Firerat MOD

I think I may have messed up my firerat partition MOD. I flashed the .27 radio zip in order to get S-Off capability per regaw's method. I then flashed the S-Off zip and flashed back to the .29 radio. I have s-off capability but now cannot get the firerat partition MOD back. I tried 3x, following the partition MOD instructions, but I only end up with 8mb of remaining space. Everything else works fine. Does s-off not play well with the partition MOD, or did I fail to do something in the correct order? I've been reading for a couple hours trying to find some answers, but have come up empty. Any suggestions?

*EDIT*: After a couple more hours searching and reading and nandroiding back 2-3 older ROMS with no luck, I figured out my mtdpartmap file had been cleaned. DOH! It was completely empty. Added my space settings and everything is good. Now to start using s-off.
[Hero CDMA Android Development] lohp75:
S-off plays fine with cMTD. You may need to read on how to remove and then re-install it with your back up. You should be fine after that. Good luck!

Sent from my HTC Desire CDMA
[Hero CDMA Android Development] 24601:
Thx. I now discovered a new and potentially more crippling issue. Neither CWM recovery or Amon RA will make a nandroid for me. In CWM the backup gets to "Backing up system . . ." and just pulsates. I left sit for over 10 minutes, then battery pull. In Amon RA, the dots just go on forever, again let it sit for over 15 minutes. I can open the backup folder using root explorer and the system folder is completely empty. It appears I may have something in the system folder that is not letting the recovery access the system and make a backup. Anyone hear of this issue? I've searched for a couple days now and haven't found a solution.
[Hero CDMA Android Development] hotaru:
format system and then reinstall your rom... that should fix it.
[Hero CDMA Android Development] 24601:
Thx, man. I've tried that a few times, at least I've tried nandroiding back to a saved ROM. I've not yet tried to install a new one. I'll give that a go and see what happens.
[Hero CDMA Android Development] lohp75:
Remove cmtd completely, flash a fresh rom let it boot up and skip through the setup. Then reboot recovery and try a backup. Now in case you didn't know, when using cmtd rom manager doesn't work any more because we are using a custom recovery so use quickboot from the market or if the rom u install has reboot recovery in the power bar. Then if that backup works, reinstall cmtd and do a fresh install of the rom u like. I have trouble with my radio when I restore a backup and have to flash the boot patch so much.

Sent from my HTC Desire CDMA
[Hero CDMA Android Development] 24601:
Thx. Interesting, I did downgrade my radio to install s-off. Perhaps that what started this. What's the best way to remove CMTD? I've read just installing another recovery will do it, but I also heard of a .zip that will do it, but I can't seem to find the .zip. I did install jaybob's dec 31 ROM using CMTD and I was able to boot into recovery and make a backup. I haven't yet tried to flash a backup :eek:
[Hero CDMA Android Development] tps70:
Trying this for the first time tonight.

I saw in the OP that to determine the size of your /system partition, you should run df -h to get a percentage of current use. I tried this from the shell & it didn't work. Then, I tried it without the -h and I got the following:

# df

df

/dev: 97596K total, 0K used, 97596K available (block size 4096)

/mnt/asec: 97596K total, 0K used, 97596K available (block size 4096)

/system: 174080K total, 83416K used, 90664K available (block size 4096)

/data: 163328K total, 106760K used, 56568K available (block size 4096)

/cache: 133120K total, 3904K used, 129216K available (block size 4096)

/mnt/sdcard: 3410308K total, 1787984K used, 1622324K available (block size 4096)​

I'm going to assume that the entry I'm looking for is the /system line (in bold above). Assuming this is correct, I should be able to set my mtdpartmap.txt file to read: mtd 90 2, correct?

Again, I'm sorry for sounding like a noob! :D I've been playing with flashing ROMs/themes for a little while, but this is my first journey into "adb".

Thanks in advance!
[Hero CDMA Android Development] 808Bill:
90 should be good for the system, you may want to initially set the cache to 10.
[Hero CDMA Android Development] oostah:
I use terminal and do "busybox df -h" I get a better look at what you need. I set mine at 5 above what it says till I get everything settled. Like 75 12.
[Hero CDMA Android Development] tps70:
Thanks for the input guys. I'm gonna give it a try. I don't have Busybox installed, so I think I'm gonna give the "mtd 90 10" a try to see how it goes.

I'll post an update either tonight or tomorrow sometime.

:D
[Hero CDMA Android Development] tps70:
UPDATE

Worked great for my phone! Everything went as it was supposed to... smooth as silk. :cool:

Ended up going with "mtd 102 10" for my mtdpartmap.txt file. Judging by the following df response, I think I can cut it back a little further.

# df

df

/dev: 97596K total, 0K used, 97596K available (block size 4096)

/mnt/asec: 97596K total, 0K used, 97596K available (block size 4096)

/system: 104448K total, 86096K used, 18352K available (block size 4096)

/data: 355840K total, 87756K used, 268084K available (block size 4096)

/cache: 355840K total, 87756K used, 268084K available (block size 4096)

/dev/cache: 10240K total, 1160K used, 9080K available (block size 4096)

/mnt/sdcard: 3410308K total, 1764388K used, 1645920K available (block size 4096)
​

If I understand this process correctly, I should be able to edit my mtdpartmap.txt file to read something like "mtd 90 4", correct? That would still give me about 4MB wiggle room.

BTW, this includes my ROM, gapps, & my theme. :D

Any feedback? :confused:
[Hero CDMA Android Development] oostah:
What rom are you using
[Hero CDMA Android Development] 808Bill:
Looks like you got the idea. Glad it worked out. It is a cool idea.
[Hero CDMA Android Development] tps70:
I'm running aospMod v0.9.9.2.

After all 33 of my previously installed apps were restored I still have 223MB of room - I used to have around 35MB. :cool:

Check out the screenie:
[Hero CDMA Android Development] oostah:
Cool with asop you can do the "busybox df -h" I have asop it works for me if you need it.
[Hero CDMA Android Development] tps70:
I appreciate the offer oostah, but I don't think I'm to the point where I need it. :o I have only a month to go with my Hero, then I'm most likely going to jump to the HTC Evo Shift 4G.

Thanks, anyway! :D
[Hero CDMA Android Development] oostah:
That's cool just wanted you to no that they put busybox in the rom so if you ever need it its there.
[Hero CDMA Android Development] tps70:
Ok, NOW I get what you were attempting to tell me! Wow, sometimes I wonder how dangerous I could be if I actually USED my brain! ;)

I used the command in Terminal Emulator today & saw the percentages. Looks like I could cut back a bit more, but I'm already quite pleased with my results. I can't imagine that I could fill up 220+ megabytes in just a month. I'm due for an upgrade in February, so I think my Hero's getting retired.
[Hero CDMA Android Development] :
what if i utilize my system 100%?
[Hero CDMA Android Development] SweepinJR:
I'm running the same ROM and my MTD Part Map reads 75 2. I have 383mb of internal storage. You should be able to run 70 2 and have 388mb, I just wanted a little extra space.
[Hero CDMA Android Development] SweepinJR:
Nandroid backup, resize with the scripts a little larger, and instead of flashing a new rom, restore your nandroid backup.
[Hero CDMA Android Development] :
someone else mentioned this, but yes df -h is alot easier to read than just df. The -h stands for something like 'human readable output'. Just puts stuff in MB and GB and such instead of bytes ... math sux ;)

df -h

or

busybox df -h

I use 63 2 on 0.9.9.2 aospMod with the gapps included on the first page, if anyone cares. ;)

My current system use is 61.6MB / 63MB. I think I deleted something, as it used to be 62 something.
[Hero CDMA Android Development] thatdudepoops:
something im missing

As for as i understand this i:

Download and place the FR-boot-v1.5.3-CustomMTD.zip (i also tried the v1.5.60)...and the FR-recovery-v1.5.3-customMTD.zip on my sd card

make a file on the sd card called mtdpartmap.txt...i have mine 65 2(asop)

i fact/reset, wipe dalvic

flash the Fr-recovery-v1.5.3-custommtd.zip

fact/reset, wipe dalvic

reboot recovery from adb (at this point it say i should see it formatting at the bottom, but i never see anything, it just loads recovery as usual.)

i nand restore

flash the Fr-boot-v1.5.3-custom mtd.zip

reboot

i reboot and my internal phone mem still sits at 53.45..

what am i doing wrong here???
[Hero CDMA Android Development] stayclean:
What are you using Clockwork or RA? Also, you probably shouldn't see formatting at the bottom, I think it stopped doing that a while ago with an update. You did flash the fr_boot zip after flashing the fr-recovery, rom, etc, right?
[Hero CDMA Android Development] 808Bill:
After you flash Fr-recovery-v1.5.3-custommtd.zip, reboot into recovery, THEN wipe.
[Hero CDMA Android Development] thatdudepoops:
yes i flash the boot.zip before i reboot into the rom, but after nandroid right?i seen that it might not say formatting but i thought that was on the 1.5.6, which i also have tried.

im using RA-darchdroid-v1.7.0
[Hero CDMA Android Development] aiwetir:
you probably have to use clockwork recovery and wipe system and all the rest instead of the recovery you are using.
[Hero CDMA Android Development] thatdudepoops:
I flashed clockwork mod and still no mod...tried both versions too.
[Hero CDMA Android Development] :
You must have skipped the big red text on the first post.
[Hero CDMA Android Development] laie1472:
Wanted to ask what's the highest amount of internal mem anyone has been able to achieve. Running a nightly or CM6 stable themed, and not themed and what were the mtd text settings. The reasons I ask is Ive been running 1.5.3 for like ever. I just snatched up 1.5.7 and Im wondering if I can squeeze more out with the updated version. All of my nands, and I have like 10 are set @ 102 3 which gives me a total of 320 on a nightly and 318 on stable. After my apps are installed I end up with 302 on stable and 304 with the nightly. But if I can get more I would like to. Any feed back would be greatly appreciated. Thanks in advance And BIG THANKS to you Firerat this is by far one of the best mods I've come across since I've had my Hero keep up the good work thanks

Root-Hack-Mod-Always™
[Hero CDMA Android Development] :
I recall firerat saying the only changes in his newer versions are support for more devices.
[Hero CDMA Android Development] aiwetir:
If you want more room try asop's froyo rom as it's only about 64mb instead of your 102mb
[Hero CDMA Android Development] Firerat:
v1.5.8 has support for 'fine tuning' , meaning you can set system and cache size in divisions of 128k ( 0.125mb ).

tagged as beta, and I have not 'officially' posted about these changes

https://github.com/Firerat/CustomMTD/tree/v1.5.8-Beta
[Hero CDMA Android Development] oostah:
Is V1.5.3 the most up to date right now? I have seen you talk about an update. I have been watching the 1st page for it.
[Hero CDMA Android Development] Firerat:
no v1.5.7 is the most up to date on the stable branch

and v1.5.8-Beta is the latest on the unstable branch ( which tbh should be merged into stable soon )
[Hero CDMA Android Development] oostah:
Well lol ok the 1st page still has download v1.5.3 so I need to fallow the link on 1st page to get the v1.5.7?

I have been fallowing the thread to try and stay up to date so I wouldn't have to ask. Sorry for missing it.
[Hero CDMA Android Development] laie1472:
Yup just hit the link and it'll take you to the download page were you can get it

Root-Hack-Mod-Always
[Hero CDMA Android Development] laie1472:
My rom isn't a 102mb, my mtd text is. CM6 I believe is like 56 or 57 mb.

I had my mtd @ 90 and 2 but was having trouble flashing themes. That's y I wanted some opinions.

Root-Hack-Mod-Always
[Hero CDMA Android Development] laie1472:
Sup Firerat a forgive the noob???.

But I'm wondering what's your recommendations for CM6 stable and nightlys with your updated version,for the most internal mem and still be able to have wiggle room to flash themes and mods???? Also if I change my mtd partitions will I be able to still use my nands even though they were setup using a different partition???? Thanks for the great mod and hard work.

Root-Hack-Mod-Always
[Hero CDMA Android Development] thatdudepoops:
How does this pertain to the installation of the mod?
[Hero CDMA Android Development] aiwetir:
You yourself said you had your partitions set at 102, I'm just repeating you. I have asop set at 64 and I believe it can go lower than that, I just don't care to do it over.
[Hero CDMA Android Development] unCoRrUpTeD:
I would probably do 80 for system. The actual size of each theme will differ depending on how much the images are compressed. I personally do not see a need for much more data space than you have right now. You could restore the nand but if you changed the sizes you will need to flash the boot one again to change you boot.img to the new sizes.

The nand is only a copy of your partitions and not the physical address of where it was.
[Hero CDMA Android Development] Vandelay007:
You can always set it slightly higher than you think and run df -h to see how lower you can go.....just remember if you change your mtdpartmap that you will have to start over...
[Hero CDMA Android Development] laie1472:
Thanks for the feed back. So you mean set the partition @ 80 and cache @ like 2 or 3 ??? That would be lower than I had it. I was having boot loop city @ 90 2 . Do you think I will have the same problem??? Thanks for the help.

Root-Hack-Mod-Always
[Hero CDMA Android Development] laie1472:
You know I really never got the hang of the df-h thing dosent make sense to me lol. The whole break down is confusing to me. I've read many post on how to do it, I just never could get the hang of it. Once it booted up I just ran with it lol. But when I read a few users getting 380 or more I'm like ok time to get a better understanding so help would be appreciated thanks.

Root-Hack-Mod-Always
[Hero CDMA Android Development] laie1472:
So am I to understand that the 64 is what the mod believes is the size of the rom?? Thanks for the feedback.

Root-Hack-Mod-Always
[Hero CDMA Android Development] aiwetir:
Oops didn't mean to thank you, but the button is right there.

Here's what I have but I've messed a little with system and can't recall if stock is smaller or larger, you should check the thread I know it's in there. Yeah so mine's actually at 68 because I'm too lazy to change it to 63.

/dev/block/mtdblock3 68.0M 62.1M 5.9M 91% /system
[Hero CDMA Android Development] laie1472:
I just tried 80 2 and got stuck @ the htc screen gonna try 88 2 will see if that works thanks for the feed back and it's ok to thank me lol

Edit no go boot loop city so I'm guessing the lowest I can go is what firerat said on the post which is 90 2. Oh well it was fun trying to get more ram But my phone says no dice thanks for the help everyone
[Hero CDMA Android Development] aiwetir:
Mine bootlooped many times before it settled in, I think it had something to do with cache size while apps re-installed themselves automagically from the market, although I haven't read anyone else having this happen.
[Hero CDMA Android Development] laie1472:
What do you have your cache set @ ???
[Hero CDMA Android Development] aiwetir:
I guess I have it at 4, I changed it at some point while flashing a radio.

At some point I ran df -h and it showed cache 100%, this was while the phone was prone to bootlooping and it was set at 2.

After it settled in was, and has, basically stayed at 1.1, again I'm too lazy to change it:

/dev/block/mtdblock4 4.0M 1.1M 2.9M 28% /dev/cache
[Hero CDMA Android Development] laie1472:
Thanks for the help but I'm gonna stick with the 90 2 until I starting boot loops again. But I've been using the theme injector to save on internal memory so I'll see how that goes once again thanks.
[Hero CDMA Android Development] laie1472:
I was able to boot 98 2 but my nand was missing all of but 3 apps and it had like 16 installed. So for my case when I changed my partitions it screwed up ma nands, and I tried 4, all with the same results. So the whole thing of your nands will restore if you change your partitions is false in my case. I thought I would put it out there in case anyone wanted to know. Had to go back to my original 102 2 and all of my nands restored fine. This gives me a total of 356. Im pretty sure the 64 is only for Gb. Well thanks for the feed back

Root-Hack-Mod-Always™
[Hero CDMA Android Development] Firerat:
it really isn't complicated

ensure that the partition sizes are no smaller than the used size.

add 1mb as a safety margin

to find the used size use

su
busybox df -h
[Hero CDMA Android Development] laie1472:
Ran that in terminal and it says 98% system used does that seem about right???? And what am I exactly looking for??? If you don't mind and you have time would you give me a step by step break down of what I'm supposed to do. I mean I have your mod working and it works flawless, but I want to be able to understand it. It does'nt have to be today but if you ever have the time thanks.

Root-Hack-Mod-Always™
[Hero CDMA Android Development] Firerat:
honestly, I fail to see what needs to be explained

it is very simple

you have a selection of glasses

each glass is the same width but varies in height

you fill a tall glass with water, if you had more water you could fill it up quite a bit more.

now you look at the other glasses, you notice that you have a glass which could hold all the water , without spilling any

so now you pour the water into that glass

here is your tall glass

busybox df -h

Filesystem Size Used Available Use% Mounted on
/dev/block/mtdblock3 90.0M 75.3M 14.7M 84% /system

think of Size as the height of the glass, and used as the height the water reaches

you need a glass which is at least 75.3 tall

76 tall would be good as you have less risk in spilling the water without the glass being over tall.

Can't remember exactly when I figured out this logic , it probably involved playing with water or sand, It would have been a long time ago.

It is quite literally "child's play"
[Hero CDMA Android Development] :
My restores always work, granted there is enough space to restore. Just wanted to put that out there.

I thought the OP's post did a great job explaining this. Pizza works really well.
[Hero CDMA Android Development] laie1472:
Your key words tell it all if there's enough room meaning if you keep your txt file the same. If you change it, then Im guessing your backups would not restore accurately. And have you ever tried flashing CM6 with your mtd partitions at 64??? If you ever get bored try it. Thanks for the response

Root-Hack-Mod-Always™
[Hero CDMA Android Development] laie1472:
Thanks for the break down I appreciate it, but I still don't get it. But what I do get is I have 356mb of internal memory and when I first got my hero I had like 120 so that's all that matters in the end. So once again thanks for the time and break down. Ill leave the "childs play" to more smarter guys like you. Thanks for the hard work and great mod

Root-Hack-Mod-Always™
[Hero CDMA Android Development] Firerat:
it is simple, if your system size is larger that the size of your backups system it will fit.

there is no need for posts like this

keywords?

wtf are you on about

if you change size, then the txt file is not the same,

your guess is wrong

if you are able to use the logic which a child can use, then you would resize correctly

65.5 is the lowest I have flashed CM6 on a G1

to do that you must modify the CM6 zip

But, seeing as you are having difficulty with basic logic, don't try it, you will fail.
[Hero CDMA Android Development] laie1472:
Wow lol really??? Ummm don't have a g1 I have a hero. And y not state the lowest you flashed on a hero???? This is the hero section in case you didn't notice and like I wrote --- he said it and you just said it to ---- adjust accordingly ---- and if there's enough room--- learn to read like a grown up and not a child maybe that's your problem playing in sand and with warter grow up dude.

Root-Hack-Mod-Always™
[Hero CDMA Android Development] laie1472:
And like I wrote In my case let me type it again in bold letters so you can read try to focus. --IN MY CASE--

When I changed my text file from 102 2 to 100 -2 still would not work right when I restored my nands. And every hero and g1 is different and will respond and work different no matter the hack or mod what works with one phone is not guaranteed to work on another.

Not suprised though your child like thinking would forget huh b easy

Root-Hack-Mod-Always™
[Hero CDMA Android Development] Firerat:
I have a G1, not a Hero

the logic is the same regardless of the Phone
[Hero CDMA Android Development] Firerat:
I fixed your post

or was this what you wanted?
[Hero CDMA Android Development] laie1472:
Dude logic and outcome are two different things. We all know in theory how stuff is supposed to work but with any kind of computer hardware or software it does not always work out that way.

Root-Hack-Mod-Always™
[Hero CDMA Android Development] laie1472:
Man this went all wrong but thanks anyways

Root-Hack-Mod-Always™
[Hero CDMA Android Development] Firerat:
your argument is flawed , since computers are all about Logic.
[Hero CDMA Android Development] laie1472:
Come on dude you can't be serious lol. Logic and hard ware often clash since the invention of the computer.

Example some phones can boot @ 768 some can't. Some Os's run great on some computers and not on others and I can go on and on but for what you have to already know this. This is the reason for nightlys and the difference between 1.53 and 1.57 right. You figured out a way to make it better, run more effective and added more options. Don't tell me you didn't use users feed back. Why because every phone is diffrent even g1's therefore the logic maybe the same but the out come will be different how is this flawed???? Your mod will not work the same on every phone.

Root-Hack-Mod-Always™