yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] ch1naski:
try erasing system through fastboot usb and reflashing cwm and then go thru the fr install process again. for me, after doing all that, i found i STILL needed my cache set at 30 (for jaybob's aosp gb). no big deal, still ended up with 300mb of space.
[Hero CDMA Android Development] PRGUY85:
Used 30 on cache and still nothing.
[Hero CDMA Android Development] chalan30:
what goes wrong? or where does it go wrong? what steps are you taking/ skipping for the sake of convenience, if any?
[Hero CDMA Android Development] PRGUY85:
Formatted boot, system, data, cache. Then flashes the recoveryFR file. Fornatted everything again. Reboot recovery. Flashed the ROM. Flashed boot FR file. Got the txt file in sdcard
[Hero CDMA Android Development] chalan30:
Which ROM are you flashing?

Are you using FR 1.5.8 recovery and boot? or an earlier one (or the 1.5.9 beta)?

So you can get the partitions to stick but the ROM wont flash right? IDK man thats weird.
[Hero CDMA Android Development] PRGUY85:
ROM: The AOSP rom with 2.6.35 kernel

Using FR 1.5.8 boot/recovery.

Partitions won't stick.
[Hero CDMA Android Development] 24601:
@PRGUY-

Did you try the steps I posted for you in JB's thread? They worked for the other dude.
[Hero CDMA Android Development] Majin101:
im the other dude =) try it out prguy
[Hero CDMA Android Development] ch1naski:
Try it. His nick is actually his android iq.

nandroids are for

sissies
[Hero CDMA Android Development] 24601:
Sorry Majin, I was too lazy to scroll back to JB's thread; henceforth you shall be christened "other dude."

lol. Maybe if you divide by 800 or so. :D
[Hero CDMA Android Development] crazyd1721:
I used to use this mod on my hero... since then I moved to the shift but miss this mod.. any way I can implement this on the shift??
[Hero CDMA Android Development] NineInchNails:
Its been used on other phones so I dont see why not. Procedure should be the same as when you used the hero.
[Hero CDMA Android Development] ch1naski:
The day that I find it necessary to install firerat on my 3d is the day I should be banned from the market.

Nandroids are for sissies.

Bang.
[Hero CDMA Android Development] NineInchNails:
Yea..... some day... some day
[Hero CDMA Android Development] stroobach:
is this also possible on the htc hero g2 touch?

if yes how? if no can it made possible?

(sorry if this quistion is asked before but 162 pages of posts are a bit to much to read thru it)
[Hero CDMA Android Development] NineInchNails:
Uh.... try it and see.
[Hero CDMA Android Development] hexskrew:
I would say yes but... Proceed with caution is all I can really say. Make sure you know how to use your recovery and adb. If you don't know how to do these things, don't do it, and wait for someone else to do it or search around to see if anyone else has and how they did it.

-==You brick, Your fault. Know your tech==-
[Hero CDMA Android Development] il Duce:
Jeebus hexskrew you're still around :)

good to see for sure. You should get a shooter.
[Hero CDMA Android Development] hexskrew:
Lol! I'll take a shot *gulp*. Yeah after a hyatus for various reasons I decided to come troll about a little bit. Just flashed the Wildheroc ROM and DAMN! I been out of the game for too long. Last one I flashed was one of the earlier AOSPGB Roms and was so happy with it, I decided to just keep it!

Well, the end of my Hero wielding career is ending soon (as my contract with CS which means redo contract, get a new phone :) I am troubled though... Dunno if I should keep rolling with the hero till CS comes out with a dual core android phone, or just go with the Droid X... But I really want an htc phone. They are probably holding out till they get 4G anyways, and I am not going this far just to get a Desire. I mean the Desire is a great phone *with dire need for firerat support fyi* but it's been kicked around like the hero, and I want something with a dual core proc and dedicated video. I think with that I can be extremely happy for quite a while (not saying that will stop me from rooting though. hahaha!)

Glad to be back :D
[Hero CDMA Android Development] rast4man:
I'm using this MOD on my TeamHeroC-2.3.5-01SEP2011 and went with 102/10 which gave me 10mb for /Cache, 193mb for /Data but only 102mb for /System which is now at 0mb not allowing me to run any of the V6 Supercharger Scripts.

What would be a better partition setting in order to get my /System up a bit so i have space to run the scripts I need? TIA!

Regards,

rast4man
[Hero CDMA Android Development] 24601:
Try 120 18. That seems to work.
[Hero CDMA Android Development] rast4man:
Okay, I'll give that a shot now that my day has officially ended. I'll wipe and start over and report back. Thanks for the reply.

Regards,

rast4man
[Hero CDMA Android Development] moosc:
Looks interesting will this work on the Bionic
[Hero CDMA Android Development] Drunkpilot:
The 1st number in: mtd 102 2 is your system, so when you do your df -h, and it shows that you have 0 room, you should boost up that number. I use 105 2, the "2" is the cache size. I usually will go little bigger to use different boot animations or something. Remember that you are just reorganizing the sizes of the different partitions from stock. I think that is mtd 170 130, hence more room in data when reconfigured to 105 or 110 2 or 18. A cache that is 18 or higher well allow you to use the market without s0be's excellent fix.

You think Meth is bad? Try being a flash whore with a Gingerbread habit and a legacy device! It ain't pretty.
[Hero CDMA Android Development] dankdank11:
lost root access ?

ok i will break this down

so with this set up i can the extra space,but no gapps will flash completely. and no chance of getting into start a new google account.

but when i go to run "root" apps i get root not there{or something more technical. but what am i doing wrong?

and would it be a good idead to flash cwm 2507? cause been looking for zip cant find so tried fastboot and still no luck?

all help would be appreciated

thanks

rom: teamheroc1sep.

recovery(as of this hour} cwm 4015

heroc xc eng s-off

radio : 2.24.01.04.27

h-boot : 1.46.2000

and a side note im going to lose job number 2 cause of this phone,its really my crack addiction,first hit and geeked out all day over this
[Hero CDMA Android Development] NineInchNails:
Your not allowing room for gapps to fit.
[Hero CDMA Android Development] blakeatl:
I saw that someone asked about using this on the evo shift but no solid answer came about. Anyone tried it and got it to work on the shift? I miss this hack.
[Hero CDMA Android Development] Hammerfest:
this really doesn't qualify as a hack...

pure and simple this is partitioning in its most base form on the HeroC...

theres an EZ tool on my HD2, and the source code is available as well, while it works with both the WinBlows/BootLoader/ADB/Android side, I cannot help but wonder if it cannot be adapted (again, since the source is released) to make repartitioning, er Firerats "mod" also as EZ mode as it is for the HD2...

~
[Hero CDMA Android Development] Robbie_G:
Does anyone know if there are any issues sharing the new mtdpartmap.txt made in version AutoPatch-v1.5.9-Beta2-CustomMTD_S.zip between phones? I WA going to help a friend set this up, and it would save some steps just putting mine on his phone versus editing the new one it would make with the new system/cache sizes. I noticed it has the md5 of the recovery. Will there be issues if this doesn't match up?
[Hero CDMA Android Development] AndDiSa:
No, there should not be any issue. The md5sum is so the script can figure out if it needs to patch recovery or boot, the md5sum will be re-written.
[Hero CDMA Android Development] gunfromsako:
Deleted... Wrong place..
[Hero CDMA Android Development] bluezr1:
So are you saying that this should work on the evo shift?
[Hero CDMA Android Development] Hammerfest:
As I do not own an Evo Shift, I wont even make an attempt at saying it will or wont...

also, as it stands, I mentioned the EZ Mode tool option for the HD2 because I have yet to utilize this for myself, I have been too spoiled by GUI's and CMD/PowerShell and OFC tools like the HD2 toolkit to even begin to experiment with my HeroC...

IE: I am an update whore (flash aholic), running the latest CWM, CM based rom, and have downloaded the latest Firerats 1.5.9 BETA, but since the 1.5.9 folder doenst have the boot.img as described I am (literally just now as I am typing this) going to try and read the last 10 pages (custom view of 50 posts per page to cut down on total page count, I see 33 pages for this thread in total) before outright asking wtf to do (since this is currently not asking outright... oh hell... FUBAR...)...

LOL! Go Me!
[Hero CDMA Android Development] PS4AndroidHacker:
Just a quick question. Will this work on Moto Droid1(A855)? I don't have an unlocked bootloader and I've tried Data2Ext but that doesn't work. Just wondering if you guys may be able to share some insight on this with me? Thanks In Advance!
[Hero CDMA Android Development] protoadies:
I could use some help I have everything installed correctly, 120 / 18.

I have read about 10th pages back, I still can't get market working. I am running team hero 2.3.7 I have tried multiple gapps I did that code thingie with terminal emulator, I have used root explorer to make a download folder in cache. Any ideas on what to try next.
[Hero CDMA Android Development] 24601:
Which version of F/R did you install? 1.5.9? Have you tried s0be's fix?
[Hero CDMA Android Development] protoadies:
I have done sobe's fix twice, weird i tried for a third time and now it works... I guess first 2 times was operator error.
[Hero CDMA Android Development] moisaal:
Im running jaybobs latest rom 2.3.7 and tried this and upon rebooting it did not change anything. I had no problems but also no improvement in data capacity.
[Hero CDMA Android Development] Drunkpilot:
It didn't work then. Make sure that your mtdpartmap.txt is not named mtdpartmap.txt.txt because it won't read it then. Basically, don't put .txt in the name. Also, you need to follow the steps to a t. Reboot recovery under advanced in cwm recovery. I use mtd 105 2 after deleting a few things in system apps before flashing.

You think Meth is bad? Try being a flash whore with a Gingerbread habit and a legacy device! It ain't pretty.
[Hero CDMA Android Development] waqasr:
Guys I have a question,

I have not tried FR yet but I was able to move 98% of all my

user apps to system/apps with the help of root explorer and

at this time I am at system partition 50MB free, User partition 100MB free.

I am using Hero Deck 1.3 Rom so my question is, Have I kind of achieved

the same result that people achieve with FR or I am totally off track and

got this all wrong.

I also use TitaniumBackUP to merge all the updates for my apps back into

the system/apps folder so everything seems good plenty of space for apps

on both system and user partition at the moment.

Regards

Waqas
[Hero CDMA Android Development] moisaal:
the CWM version seemed to be the problem. I was using the latest unofficial version and it would not let me reboot within recovery. However, is there any way to do a nand restore while running firerats?

---------- Post added at 12:24 AM ---------- Previous post was at 12:08 AM ----------

FireRat's MTD worked wonders for resizing my internal storage however my HOME button is not working. Im sure this had something to do with the script but are there any quick fixes without having to remove the firerats? I really need my HOME button.
[Hero CDMA Android Development] hockeyfamily737:
yes, you are basically doing the same thing, however you're not gaining use of the extra cache memory available, and it's a lot more effort on your part to move all of the apps to /system and restore the data especially if you flash often.

After restoring a nandroid and before booting into your rom, flash the Firerats boot patch .zip. As far as your hard keys go, Firerats shouldn't have done anything to remap your buttons. You can find your hard key mapping in system/usr/keylayout/heroc-keypad.kl. By assigning key 102 (working from memory here, haven't had a hero in 4 months...but you should be able to google it) to any of your hard buttons you can remap it to be your home button. If that's too much for you, there are button remapping apps available in the market, but I can't vouch for how well they work.
[Hero CDMA Android Development] waqasr:
Thank you for answering my question, I really appreciate it.

I want to try FR but when I read the guide I get confused,

Specially the problems I see people run into while trying to

install FR throws me off. I am not that tech savvy and I do flash

quite often and I have heard with FR even flashing different roms

becomes a little more complex.

For installing all the apks when I try a new rom I came across this

http://xdaforums.com/showthread.php?t=1310742

I am going to try it soon and let you know how it worked for me.

It lets you install all apks to system/app folder at once.

Regards

Waqas
[Hero CDMA Android Development] moisaal:
Got it working however now the market seems to forceclose when ever i want to download an app from it. I was able to get adb over wifi running in order to apply s0be's fix:

1. adb shell

2. su

3. mkdir /cache/download

4. chown system:cache /cache/download

5. chmod ug+rwx /cache/download

6. chmod a+x /cache/download

however im not sure what im doing. I opened the adb shell in Command but after i copy and paste each command in one after the other?, but still the market does not download. Ive also downloaded asopMF.bat and placed it in my adb folder along with a few other fixes. Im running CM 7.1 and im hoping someone can help me figure this out

asop.bat : http://xdaforums.com/showpost.php?p=11781304&postcount=8718

another fix that did not work:

http://xdaforums.com/showpost.php?p=11987847&postcount=9573
[Hero CDMA Android Development] Drunkpilot:
You can either change the cache size in your mtdpartmap to 18 so you don't need to use the market fix, or do the market fix from the terminal emulator instead of adb. Just start with "su " instead of adb shell.
[Hero CDMA Android Development] moisaal:
I just happened to figured that out before I read your post. But you were exactly right. It was as simple as changing the cache value in the .txt file. Thanks
[Hero CDMA Android Development] cityneversleepz:
if you have troubles with the market, go into root w/ root explorer or another root file explorer & go to cache, & in cache make a folder called "download".

thats how i got my market to download right[/QUOTE]

Holy Toledo!!!

I have been looking for a solution that works and that did like a magic wand. Easy as could be. Got Deck 1.3 with 82811 gapps and for the life of me, could not get the android market to work. Now it does. Thanks very much...
[Hero CDMA Android Development] blakeatl:
When I was still on my hero, I used 114/32 and the 32mb fixed the issue completely. For the guy stuck on 1.5.9.....use 1.5.3.
[Hero CDMA Android Development] power_tennis:
I finally took the plunge

After struggling/juggling to keep a paltry 15-19 megs free of internal memory, I took the plunge. Holy Bat Guano Batman! On my little Sprint Hero, I'm getting 170 megs free now on Jaybobs Nov Rom 120 18 partition setup. Awesome job guys. thanks!:D
[Hero CDMA Android Development] Zin0:
So do i have have to use either CM 6 or a sense ROM (for step 4) to use this?
[Hero CDMA Android Development] Flagmax:
No, those are just examples. I would do the fine running from the start. This way you will get it right the first time.
[Hero CDMA Android Development] Zin0:
I don't mean to sound dumb but how do i find the mtd for my ROM?
[Hero CDMA Android Development] Flagmax:
:

You just open Terminal Emulator, type df and hit enter. Look for /system and /cache partitions free space. You round off those numbers to three digits. Add about 5 to both. Then you create a mtdpartmap.txt in root of SD card with those numbers on a single line. Then you flash the recovery file, reboot the recovery. Format Boot, System, cache and data. Now flash from zip your Rom, gapps, and/or kernel. And flash the boot file. Reboot system.

The first number is how big you want your /system partition to be. The second number is for cache.
[Hero CDMA Android Development] ch1naski:
df -h in terminal.

/troll :)

Ever thus to deadbeats.
[Hero CDMA Android Development] Drunkpilot:
+1. df -h ( you need to do "su" 1st to get root access in the terminal emulator) will give you the numbers in mb's which is a lot easier to read than bytes or whatever just "df" does. You might need to do busybox df -h depending on the Rom you are running.
[Hero CDMA Android Development] bluezr1:
TWRP

Is there any chance of this working with Edify scripting so it'll work with twrp 2.0? I love using this script, but would like to use it with their recovery as well.

Thanks for bringing this to our phones (evo 4g.)
[Hero CDMA Android Development] dastin1015:
It's already is Edify scripting. TWRP is just a different structure for recovery and 2.0 is closed source, but idk how to get it working.
[Hero CDMA Android Development] Zin0:
Another basic question

I assume for step 8, he meant wipe data instead of dalvik?
[Hero CDMA Android Development] ajrty33:
If you dont understand what this Modification is doing, why it needs to be done, or what possible benefits come from it, then...

PLEASE DO NOT TRY THIS MOD.​

This is the reason this was included in the original post. You have 1654 posts to read.
[Hero CDMA Android Development] Zin0:
Sorry..i found the answer while reading the bottom of the op. Obviously i understand what its doing or i wouldn't asking these questions on how to do it. No need to troll. I edited my post as well if you want to take the time to answer it..
[Hero CDMA Android Development] ajrty33:
NO! Any mistake would have already been pointed out in the 502 days or 1654 posts since the original post!
[Hero CDMA Android Development] Zin0:
Ah..well thank you kind sir. No need to be *****y. I was just wondering since my recovery mentioned that i should wipe data, but never mentioned wiping dalvik. Every went good, i started with 160 mb and ended with 298 mb. :) I don't suppose that I could bump it to 300+ mb?
[Hero CDMA Android Development] dsMA:
is it possible to resize partition without reflashing the ROM

Is it possible to change the partition sizes without flashing a new ROM?

I flashed firerat's recovery

rebooted into recovery

I flashed ROM

I flashed firerat's boot

installed all my apps

I now want to resize the system partition without having to reflash and install all my apps again; is this possible?
[Hero CDMA Android Development] bigmoneygrip23:
I'd recommend just taking backup of your existing ROM in your recovery. Then, to re-setup firerats:

edit your mtdpartmap.txt file

flash new recovery

run firerats recovery mod

reboot into recovery

wipe cache, data, system, boot, and dalvik (might not be necessary, but if youre restoring a backup, it shouldn't hurt anything)

restore nand backup

run firerats boot mod

reboot
[Hero CDMA Android Development] trip187:
No it's not possible. You can change the mtdpartmap.txt file all you want but the only way to make it take effect is by formatting everything and flashing the recovery file. As stated above you can flash a nand backup instead of a Rom but there's no getting around the formatting step
[Hero CDMA Android Development] CrashV2010:
I'm also having problems naning my stuff.... Any Ideas ?
[Hero CDMA Android Development] bigboidomo:
Darktremor is old way of a2sd. Second native a2sd dose not work well with all apps like darktremor example: Widgets

Sent from my Sprint Htc Hero

CM6 Froyo 2.2

Firerats recover mod

368 Internal Memory!

Uncapped Kernal

Overclock to 710

Collin_ph battery tweak

Steel my elegance Theme

I LoveMy Phone
[Hero CDMA Android Development] Big-O-Devil:
I think the problem. Is if you are running a a2sd... this happened to me... now I'm on native froyo and it works great...
[Hero CDMA Android Development] CrashV2010:
Great tip, thank you..
[Hero CDMA Android Development] james33440:
I am running cm6 and the mtd size I added was 182 2. In order for me to change this do I have to reflash my rom and all files? Or can I simply change to 102 2 and reboot or what's the process?
[Hero CDMA Android Development] bigboidomo:
Cm6 with lite gaps u can push mtd 90-92 2

Sent from my Sprint Htc Hero

CM6 Froyo 2.2

Firerats recover mod

368 Internal Memory!

Uncapped Kernal

Overclock to 710

Collin_ph battery tweak

Steel my elegance Theme

I LoveMy Phone
[Hero CDMA Android Development] james33440:
Alright but once I change that txt file is there anything else I have to do? I don't want to wipe and have to reinstall everything.
[Hero CDMA Android Development] CrashV2010:
Somehow I have lost the lock screen....
[Hero CDMA Android Development] Firerat:
if you want to resize

you must edit the mtdpartmap.txt

you must backup nand

you must flash the recovery patcher

you must do a *complete* wipe with fastboot erase system -w

you must restore nand

you must flash the boot patcher

if you do not understand why any of the above is required, you *must not* attempt to use CustomMTD
[Hero CDMA Android Development] Firerat:
settings => CyanogenMod Settings => user interface => Screen lock settings ( bottom two options )

if you not using CM , you are on your own...

( consider a signature with _basic_ info, or at least detail the basics in your posts, mind reading is fun.. but often futile )
[Hero CDMA Android Development] james33440:
Thanks. I just wasn't sure if I had to do the complete process again.
[Hero CDMA Android Development] SammyM00782:
I used it on Fresh 2.3.3. running JIT. JIT usually makes my phone go wacky for a while anyway so it's a poor comparison BUT it works. However, I tried to flash the Aria port and that's a no go. Phone sat there for an hour at the white HTC screen regardless of what I did.
[Hero CDMA Android Development] SammyM00782:
How do I go back to my old stuff? I've read through 13 pages and unless my sleepy eyes missed it I didn't see anyone ask for such info. I wanna try the Aria port for the Hero and it doesn't work with this recovery patch. Sigh, something told me I should've spent the 6k for Linux training :-\
[Hero CDMA Android Development] Firerat:
spending money on training is a waste, unless you have something to start with already.

the Aria port should work fine, ...

but anyway..

what do you think would happen if say, you flash a normal recovery and didn't patch it?

( make sure you do a

fastboot erase system -w

before booting back to recovery to ensure you don't get hangover data )
[Hero CDMA Android Development] CrashV2010:
Thank you sir......
[Hero CDMA Android Development] SammyM00782:
In theory it probably should but it's not working for anyone at the moment. I'd thought about just reflashing RA but it doesn't hurt to ask so I don't miss something. The training would've came years ago when I took my Microsoft courses but they were in battles over Java then and it was dropped from my course. They offered me either a refund or they'd send me to a different building to learn Linux, Java and Novell. The state still used Novell at the time but I took the 6k in my pocket instead. Now I couldn't get a job around here doing IT anyway so I don't feel that bad. Thanks man, good work.
[Hero CDMA Android Development] Firerat:
hmm, well there are two things that could make a rom incompatible

the first is trivial, these days most g1 people are using CM Based ROMs which run scripts in /system/etc/init.d/ , so if your rom doesn't 'run-parts' that directory you will have to execute that script each boot for the market to behave ( or figure out how to make your ROM auto run it on boot )

the second is not so trivial, if the kernel was compiled without mtd part cmdline parsing, then the 'stock SPL ' table would be used, and yeah that would be a big fail.

I have not seen any kernels that don't used cmd line parsing for mtd

do

su
zcat /proc/config.gz|grep MTD_CMD

that will tell you if your kernel is compiled with it or not