yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] MortICi:
It runs MUCH better.

The music app is usabale, doesn't lag the system at all.

Here are the changes i would make.

I take no credit for this others have already written userinit.sh scripts to do this on CM 3.6.7.1.

To make it work i had edited the a2sd.sh script to do it at the same time a2sd runs, im not sure if there will be a speed boost, depends if a2sd is ran first or userinit.

Either way, this seems to work.

This is how my a2sd.sh script currently looks. Im keeping the swap partition just in case, but hope to phase it out in the next flash.

Those lines (minus the if statements) can be put into a userinit.sh script.

How to do that is covered in this thread -> http://xdaforums.com/showthread.php?t=537236
[G1 Android Development] hypnostick:
Can u upload ur a2sd.sh script plz ?
[G1 Android Development] ccyrowski:
You still need to partition your sdcard.

Three partitions actually.

fat32

ext3 or ext2

linux-swap
[G1 Android Development] _Kyros_:
Can I ask why if not for lag reasons because I've flashed both SuperHero v2 and JACHero without a partitioned SD card.
[G1 Android Development] ccyrowski:
Really? the linux-swap is an alternative to the swapper app. It doubles as more RAM. You'll get a lot more stable build by making sure you have three partitions. You don't need the third partition, but it's recommended. You could always download the app from the market. But then you run the risk of corrupting your SDCARD if you mount without killing the swapper app first.
[G1 Android Development] _Kyros_:
Okay thanks for the info and quick response, I'll try and find a way to partition my Nokia 2 GB SD card without Paragon P.M.
[G1 Android Development] hellogadgetman:
What do you suggest will be the right amount of each partition in a 8 GB card

7GB data

600 MB ext3

rest Swap file

When I insert the card in the phone I will apply the apps to sd from the recovery and the fix filesystems and then apply your update or what...

How the build understand my swap file
[G1 Android Development] ccyrowski:
freshly format your sdcard into three partitions:

FAT32 ~ 7.3GB

EXT3 < 600MB

linux swap = 32MB

put the update.zip on your FAT32 partion.

Boot into recovery mode. Data wipe. Apply update. Reboot. And your done!
[G1 Android Development] _Kyros_:
Sorry but I've never partitioned a SD card before so I wouldn't know the answer to that question and it's not my build it's ccyrowski's.
[G1 Android Development] shazzy84:
The best Hero rom ive tried so far

This has to be the best Hero rom so far. Still some lag in opening apps and closing them and switching from screen to screen but this rom is amazing. I would say that its almost good to keep and use day to day. Love it! :D
[G1 Android Development] samethsom:
Hey ccyrowski, i just flashed 1.1 and i only have 34mbs, my sdcard is partitioned, with fat32 and ext2...how do i partition linux swap??
[G1 Android Development] ccyrowski:
Yea, I modded JAC's a2sd.sh until he or I figure out a way to put appstosd without the apps becoming corrupted and slowing down the phone.

I only know how to partition a linux-swap with a program.

I use gparted in linux. I would recommend paragon. Sadly, you may have to reformat and flash. But you can just delete the ext2 parition and divide it into ext2 and linux-swap... good luck!
[G1 Android Development] samethsom:
Err.....well, after removing unnecessary files/widgets/apps i have 34mbs. And just got everything the way i wanted it to....this rom is the fastest hero rom ive had, and ive tried all of them....thanks.
[G1 Android Development] PsychoKilla666:
does anybody know how old the latest build is, I want to upgrade to it but with recent developments I think there might be a drizzyjac update to this ROM very soon, I Hope! ^_^
[G1 Android Development] bigballa:
dude this thing is beastly

been running it since last night

and it is super fast

i have not had one freeze yet

running the clock widget which includes weather and when i slide to unlock my screen the clock doesnt freeze my phone while its trying to update all fancy with that flipping

and now it looks nice doing it

i can slide through my screens right after a long sleep and slideing to unlock no wait times

i dont know what you did but you did an amazing job

now all thats got to be done is the incoming call lock ups

still having some trouble on that

ive got a 47mb swap

512ext3

16gb-whatever above fat32

and also i didnt even download an overclock widget till this mornign and it was still running very smoothly

the overclock widget is not even necessary i think in this build :-O

great job
[G1 Android Development] PsychoKilla666:
I really want to update to the 1.1 of this rom, I ran 1.0 and it was smooth

I just dont want to have to update again if c.ski adds the drizzyjac features
[G1 Android Development] michagol2:
Whats that one called.... The drizzyjacski hero 1.0
[G1 Android Development] PsychoKilla666:
since Drizzy is helping JAC optimize his build I assume JacHEROski 1.2
[G1 Android Development] ccyrowski:
I'll be cookin tonight after work. The girl us gone. and I finished all my work.
[G1 Android Development] PsychoKilla666:
great news, take you time, have fun, and then cook to your hearts content, lol

Great work, looking forward to the new build, glad you let us know, now we can let our F5 keys rest too, hehe
[G1 Android Development] mrfrenchfry:
Rom works great and all but I'm just wondering if theres any way to check to see if autp swap is working? I tried the 'free' command and it says swap is 0.
[G1 Android Development] ccyrowski:
Are you sure you have three partitions on your sdcard in this order:

FAT32

EXT2 or EXT3

linux-swap (NOT linux-swap2)?
[G1 Android Development] smsrat84:
LAG

Flashed this last night, messed around with it, my biggest problem is when you hit home, it takes up to 3 minutes to show the home screen.....So, flashing back to Cm3.6.6 until the lag issue is fixed. But other than that I like it, it is a lot fast than SuperHero or jacHero, but the home screen issue blows.
[G1 Android Development] ccyrowski:
you probably don't have linux-swap set up properly.
[G1 Android Development] alritewhadeva:
You're joking...you must be doing something wrong
[G1 Android Development] MortICi:
Let me pull it real quick.

I would have to say that it would be faster to have it in a2sd than to call another script to do this. But meh, let the devs sort that out.

EDIT: Here ya go, remove the .txt before you push it to your device.

Make sure to mkdir /system/sd/modules

And move the two .ko files that i posted in the zip earlier into this folder.
[G1 Android Development] smsrat84:
This?:

Do I do this from terminal, or are there ADB commands?
[G1 Android Development] alritewhadeva:
You do it in cyanogen's latest recovery.
[G1 Android Development] smsrat84:
THen please, do help. I wiped, flashed, set up the phone, let it sync, havent set up the swap, I dont think, anyway, that may be where I messed up. Do I plug those commands into a terminal from the phone, or can I do it from adb?

(same ? as above, sorry)
[G1 Android Development] smsrat84:
Right on, thank you

:cool:
[G1 Android Development] smsrat84:
ok, in recovery now, cyan's 1.3.1, and :

mkpartfs primary fat32 0 7584

sh: mkpartfs: not found

Help....
[G1 Android Development] Nismo300zx:
hit me up on gtalk ill walk u thought it
[G1 Android Development] smsrat84:
i cant if im in recovery lol

edit....Im an idoit, lol rickt84@gmail
[G1 Android Development] alritewhadeva:
type this in recovery console (dont type stuff in < >)

parted /dev/block/mmcblk0

rm 1 <removes fat32 partiton>

rm 2 <removes ext>

rm 3 <removes linux-swap>

mkpartfs primary fat32 0 xxxx

mkpartfs primary ext2 xxxx yyyy

mkpartfs primary linux-swap yyyy zzzz

quit

reboot recovery

<console, alt+x>

<press enter>

upgrade_fs

<wait>

reboot recovery <once upgrade_fs is done and you get another /#>

<alt+f>

<alt+w>

<alt+s>

done
[G1 Android Development] smsrat84:
so, this seems like a retarted question, bc I think I know the answer:

Am I formatting the sd card completely?
[G1 Android Development] alritewhadeva:
yup. rm1 , rm 2 and rm 3 remove all partitions. Your sdcard is blank after you complete those steps. rm 1 isn't necessary though
[G1 Android Development] smsrat84:
alright, glad I keep everything backed up on the HD lol, thanks guys, I will get back to you in a few with results
[G1 Android Development] smsrat84:
One more question, the xxxx, yyyy, zzzz are MB? What would be optimal for 8GB card? It is class6, the partitions b4 went

FAT32: 6gb

EXT3: 1GB

Linux: 500MB or so
[G1 Android Development] smsrat84:
and instead of ext2 can I use ext3?
[G1 Android Development] zgmf-x322a:
hope that ccyrowski could give us some new updates.......rather than waiting for a whole week with no updates at all......

im still waiting for ur updates everyday.......

keep up the good work
[G1 Android Development] MortICi:
You wanna keep swappiness to 60 with compcache, it seems to get really laggy later on with 100.
[G1 Android Development] hypnostick:
Thx u , i try now ! I have to delete my swap partition ???
[G1 Android Development] smsrat84:
ok, reflashing ROM, so far so good, but TouchFlo keeps force closing. Any fix to this? Right now, just letting the phone sync, then going to reboot, and set it back up

1. How do I audio mod? or is the mod already on here?

2. Is there anything in lucid that I NEED to do to help apps2sd run any more smoothly? (symlinks, dalvic-cache moved, etc)

3. And for Debian......:confused:
[G1 Android Development] hypnostick:
I have make a build with compcache integred but i have a big problem , it doesn't work... I don't know why but i haven't swap when i tape #free in console...
[G1 Android Development] smsrat84:
Another quirk that I have had with and Hero ROM, and maybe someone can help me. I love the People app, problem is, when I go to import contacts from SIM to PHONE, it only copies 16 random contacts, and thats it. If I go to manualy move them, it does not work, if I go to import again, it stays at 0/75 and closes.....anyone else have this problem, and is there a fix?
[G1 Android Development] smsrat84:
does this ROM have flash player?
[G1 Android Development] alritewhadeva:
yes 10 char
[G1 Android Development] smsrat84:
right on, and any idea on my previous post
[G1 Android Development] alritewhadeva:
never ran into the problem :cool: Don't know how to fix it :o
[G1 Android Development] smsrat84:
see, and I have run into it on EVERY hero rom, hmmmmm idk
[G1 Android Development] alritewhadeva:
shouldnt ur contacts automatically sync with gmail?
[G1 Android Development] smsrat84:
they do, but along with like 150+ emails that I would rather not go thru and delete, bc they will just add back when I send out emails. So, I was trying to import contacts from SIM to PHONE, only 16 are transferred. Cant manually change the type of contact (google,phone,sim) either.
[G1 Android Development] smsrat84:
Is there a way to stop the email sync, so that all the email addresses I send out to dont become part of my contact list
[G1 Android Development] MortICi:
do you have the files in /system/sd/modules

do you have the a2sd script in /system/bin?

Without the proper files it doesn't work.
[G1 Android Development] smsrat84:
nm, i fixed it, stupid question.

For anyone wanting to know how:

Settings>Data sync>google
[G1 Android Development] bmk789:
ok, ive tried installing this rom about 4 times, wiping before each, formatted my old ext4 partition to ext3 just in case, and im still getting an error when trying to apply the update.zip.

cant chown/mod /system/xbin (no such file or directory) E: failure at line 14: set_perm_recursive 0 2000 0755 0 6755 SYSTEM:xbin

the only thing i could think would be causing this is my SPL, ive looked for a newer one but havent found anything. mine currently shows SPL10.95.3000 not compatible? where would i get the other?
[G1 Android Development] ccyrowski:
That's the OLD spl. The new one is linked at the top of JAC's thread.
[G1 Android Development] bmk789:
crap, i was just at that page too, guess i looked at the numbers wrong, thanks
[G1 Android Development] juangil:
have you made any changes yet? I am following you on this but I noticed that my swap partition of 32MB with swappiness of 60 is using the whole 32MB leaving pretty much zero... any advice?
[G1 Android Development] zole2112:
Don't know if anyone else is having this issue, I am on ATT so maybe that's it, when someone calls my number it rings about 5 times before my G1 starts to ring then I hear about 3 seconds of ringtone and it goes to voicemail.
[G1 Android Development] ccyrowski:
do you have linux-swap set up properly?
[G1 Android Development] zole2112:
Total used free shared buffers

Mem 97908 96360 1548 0 116

Swap 32360 32204 156

Total 130268 128564 1704

format got messed up in my message
[G1 Android Development] ccyrowski:
do you have a have a userinit.rc file on your /sdcard?

which file did you download?

have you been messing with companche?
[G1 Android Development] zole2112:
I dl'd JacHEROskiv1.4c_a2sd....I had userinit.rc but I forgot to copy it back after formatting the last time....don't know what companche is.

Thanks for your help, I love your rom!
[G1 Android Development] ccyrowski:
good deal. For future reference, it shouldn't be eating up your linux-swap that quickly.
[G1 Android Development] zole2112:
I've been reading about userinit.rc and I don't understand what I need to do yet or how it works, I'll keep on reading til I figure it out...thanks
[G1 Android Development] MortICi:
Yes you are correct for disksize_kb=32000 swappiness 60 is too high you want it at 30 60 is good for 64mb or 96 but that's pushing it with compcache.

I actually switched to the new java to test speeds and they have done a great job. I am trying to get compcache to work on it. But I'm unable to modprobe cause the kernel was built without a depmod. And modprobe in busybox 1.8.1 doesn't support forced mod loading. So either the kernel needs to be rebuilt or a newer version of busybox with forced modprobe breeds to be built. I think with compcache the new Rom would be brilliant I see no reason as to why jacheroski can't be as flood :)
[G1 Android Development] ccyrowski:
hahaha, I'm going to release a new MyTouchski update tonight. Will get to Hero hopefully later in the day...

I do owe you guys an update, sorry ;)
[G1 Android Development] bmk789:
Is anyone using compcache on this build? Is it included or how can I set it up?
[G1 Android Development] zole2112:
Apparently I had my swappiness set too high, it was at 60, I moved it to 40 and it is much better also now I have

Swap Total-32344 Used-7204 Free-25140
[G1 Android Development] ccyrowski:
congrats! that was it!
[G1 Android Development] ccyrowski:
So NEWS FLASH!!!!!

JAC and I have teamed up to bring you the best of both worlds because there is no reason to have you flash two different ROMS. We'll be able to get more done and you'll have to flash less!!!!!
[G1 Android Development] JaboJG:
Sweeeeet :)
[G1 Android Development] h.nocturna:
I was looking forward to jacHEROski2.0 too... I guess I'll just go ahead and flash 2.73 now... I'm just wondering whether you collaborated with them on this release or will you start collaborating starting with the next release because I really do love the speed of your ROMs (tried 2.6.3 and had to come back to this one cuz it wasn't as fast =/)
[G1 Android Development] juangil:
yeyyyy!! when? tonight? :D:p
[G1 Android Development] Mikey:
Good luck on your new ROM, we are all looking forward to it :)
[G1 Android Development] mrfrenchfry:
Yeah. I just tried the script over at your 'auto swap extention' thread and it worked.

Had to do

'mkswap /dev/block/mmcblk0p3'

first though.
[G1 Android Development] big nu:
sms/mms?

Whats up "ski",

Do you know if there's any known issues w/ sms/mms? i just flashed back to JACHero's 2.3.2 but im looking for more speed and battery life.. Im definitely in trested in what your build has to offer.. Thanx :)
[G1 Android Development] ComplexMinded:
I did miss a MMS today but no problems with SMS
[G1 Android Development] ccyrowski:
I haven't noticed any issues so far. I've had this Hero build for more than 24 hours, which says something! 1) It's good and 2) I'm lazy!
[G1 Android Development] ccyrowski:
I've got a pack of cigarettes, an energy drink, and a couple free hours: cookin time.
[G1 Android Development] samethsom:
When can we expect an update ski??

And can you make next build apps2sd with 2 partitions??
[G1 Android Development] Freddy2Fred:
How do I make the apps to my sd card cuz I have low space on my phone?
[G1 Android Development] ccyrowski:
Try lucid Rem's method or delete your browser cache.

I'm seeing if appstosd is ready for the primetime right now.
[G1 Android Development] samethsom:
^^ Ski, Do you think i can move apps2sd using cynogen's recovery method?
[G1 Android Development] Freddy2Fred:
Yea.. I have 31mb free in my phone. How do I do the Apps2SD on the rom? isint automatic?
[G1 Android Development] ccyrowski:
It only moves some apps, ones that won't slow down the build.
[G1 Android Development] h.nocturna:
COME ON!!! FINISH UPLOADING DAMNIT!!! 1.2C! Been waiting for this new release since the JACHero 2.3.6 came out... I'll flash it as soon as its done and comment on how its doing. Thanks ccyrowski!
[G1 Android Development] michagol2:
just flashed....booting right now!
[G1 Android Development] h.nocturna:
just wondering, what is the correct file size or md5 so I can check if its actually finished cuz you still have "hasn't finished uploading..." next to the link.
[G1 Android Development] samethsom:
Is apps2sd automatic on the new update?

Also if it isn't automatic, will the apps2sd from the market work on your build?
[G1 Android Development] ccyrowski:
It should be 77.8MB (previous post), and apps2sd is automatic, but it only moves the apps I put in the correct folder to move. I would recommend Lucid Rem's method. I'm not sure if the one from the market works. Try it!
[G1 Android Development] samethsom:
I have no idea on how to do lucid's method....is there a link where you can point me to??

plus using the work computer no adb..
[G1 Android Development] engagedtosmile:
booting up 1.2 now. 1.0 was running really slow for me but couldn't flash to anything else. this time I reformated all my partitions and everything, hopefully it runs smooth.
[G1 Android Development] big nu:
Ski,

Do you know if this method would work w/ this rom? it's the a2sd.sh/e2fsck files:

mv /sdcard/e2fsck /system/bin/e2fsck

chmod 777 /system/bin/e2fsck

rm /system/bin/a2sd.sh

mv /sdcard/a2sd.sh /system/bin/a2sd.sh
[G1 Android Development] michagol2:
V1.2C: the speed is very good, fastest yet

bug: takes 5 attempts to pull widget or shortcut off of rosie homescreen (remove)
[G1 Android Development] ccyrowski:
I think that's just on the first boot (everything is syncing, loading, and all of the optimized apps/widgets take time to come into memory). After that it should be a snap.
[G1 Android Development] ccyrowski:
I'm testing the lucid rem method now. Get back to you.
[G1 Android Development] ccyrowski:
Here is Lucid Rem's method:

NEVERMIND - THIS DIDN'T WORK FOR ME.

1. First, download lucid.txt from here http://files.lucidrem.us/jf/system/bin/lucid.txt

2. Create a folder called "tmp" on your sdcard and place lucid.txt there.

It will only allow you to move media and data to sd.

Then

$su

#mount -o rw,remount /dev/block/mtdblock3 /system

#mkdir /sdcard/tmp

#cd /sdcard/tmp

#busybox cp lucid.txt /system/bin/lucid

#chmod 755 /system/bin/lucid

#busybox chown 0:0 /system/bin/lucid

#lucid -d -sd

#lucid -m -sd

#reboot (though that doesn't work, so use adb or turn phone off, or take battery out and reboot).
[G1 Android Development] h.nocturna:
Guys... ccyrowski... I'm sorry to say this but... GPS works perfectly fine for me... lol. :D The only thing that I know that I did that might have had an effect on this is that I used Backup for Root Users to backup apps2sd data-system (from JACHero2.3.5) and then restored after installing this ROM (btw, this also worked on the last release based off the 2.3.5 JACHero) and I checked using GPS Status as well as Google Maps and it located me just fine. I also backed up SMS, APNs, and User Dictionary but I don't think that would have an effect... Just wanted to let you know if you had no other leads...
[G1 Android Development] michagol2:
Ccyrowski, I'm still having an issue....apparantly after 30 min of use this Rom is working disturbingly FAST can anyone help cuz I can't keep up!!!

with gps and multitouch we totally got a winner here

Thanks for all ur hard work
[G1 Android Development] Adidas Reborn:
The Best One As Of 7:56 PM CT USA

The SUPERHERO V3 was the best rom for speed and TouchFLO, but this ROM does not have this everytime it force closes. I like this ROM the best because all the apps work, unlike SHV3, great ROM. Good work.
[G1 Android Development] big nu:
Sorry ski, im confrused are you sayin this "lucid method" dosent work??:confused:
[G1 Android Development] ccyrowski:
I'm experimenting, be back shortly.
[G1 Android Development] iDavey:
I dont get the multi touch deal. Multi Touch works fine on mines. I can use it in the browser and Email (when I actually have an account)
[G1 Android Development] iDavey:
Oh...and could someone tell me how to get the Cyanogen Recovery on my G1.

I did the update.zip way...

But when I do home+power...I still get the regular screen.
[G1 Android Development] ccyrowski:
Youll get the regular screen the it will go to recovery mode. (hold both buttons for like 7 seconds).

Also, on his thread he explains how to do it through terminal on your phone (just download the recovery.img file)
[G1 Android Development] ComplexMinded:
hmm the touchflo doesnt work in this build? weird it was working fine on the last... and MMS is still not coming through but thats a known issue in JacHero too although some are getting them. Could the touchflo be due to the apps to sd? Im not the hugest fane of TouchFLO anyway but it would be nice to have.
[G1 Android Development] ccyrowski:
It worked fine for me. Let me see it may be corrupted. I run all my builds before I upload them.
[G1 Android Development] ComplexMinded:
It worked when I firest pulled it up.. Then I let my phone go to sleep and clock was stuck at 00 00.. So I removed and tried to add it again and got a force cloase. I am rebooting now and running the weather app first to config and try to add it again.. will post results
[G1 Android Development] samethsom:
anything on the lucidrem method of apps 2 sd?
[G1 Android Development] ComplexMinded:
That must have fixed it
[G1 Android Development] mrfrenchfry:
Works fine for me too, also auto-swap works for me now too so yeah.

Apps2Sd works fine too.
[G1 Android Development] Breakthecycle2:
Same thing happened to me. Reinstall Cyanogens recovery or downgrade to a previous version.
[G1 Android Development] Falling Awake:
Hmm

Well unfortunately for me when I flashed my phone began to loop continuously at the boot screen animation. I have used Acronis software to partition the SD. Ran the little tool in the cyanogen mod but stated that there was no "space" or more so of it that it didnt exist. Not sure why this is happening but would sure love some help!
[G1 Android Development] horrorwolf:
FYI: I keep getting force closes when trying to disable the HTC ime. I prefer the real keyboard.
[G1 Android Development] ComplexMinded:
GPS is working for me... Have you guys actually tried it? lol It takes a second for it to pick up... you just have to wait for a sec
[G1 Android Development] ccyrowski:
Doesn't work on my build.
[G1 Android Development] ComplexMinded:
Hmmm... What do you get when you try to enable it?
[G1 Android Development] h.nocturna:
Works for me using your build the jacHEROski v1.2C uploaded today... also worked on your previous build the 1.1...
[G1 Android Development] samethsom:
Still trying to figure out apps2sd, i only have 35mbs on internal after using the apps2sd from market.... any ideas?
[G1 Android Development] ccyrowski:
check first post. Will require wipe and reflash (just for you you persisent bast*rd ;) jk )