yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ulyssesclark:
i just found a fix for this...download lindas manager...download the .sh file to root of sd....find in lindas manager...and rename it from there....you should know the rest
[G1 Android Development] g2crx:
Come on PEOPLE...

This is the FASTEST HERO OUT!!!! Make sure you...

Format card SD card with linux-swap
[G1 Android Development] RussianSolja:
im a newbie when it comes to things like this... is there a video tutorial on how to do this? :confused: sorry for being such a newbie.
[G1 Android Development] notxel21:
Thanks just got it to work. (I'm using windows 7)

I had file extensions hidden.

I opened the text file and clicked file, save as, and made sure "save as type" was ALL FILES vice txt file. After that I was golden and all the commands worked! :cool:

*Edit* Got 77% hope that's good!
[G1 Android Development] blackfire1:
I did format ti and I have comcache and linux swap and its still slow..
[G1 Android Development] jinx10000:
Went back to launcher/home, and it is extremely fast.
[G1 Android Development] ulyssesclark:
now i need help enabling compcache (ramzswap)..its not compressing
[G1 Android Development] chrisrj28:
Dude this is very easy to setup. I just started using Linux-swap and I must say this is just as responsive as OEM. Im blown away by it. PM me your gmail and I can help you get it set up
[G1 Android Development] RussianSolja:
Someone needs to make a youtube video on how to install this rom and make it run at its fullest preference :) plz?
[G1 Android Development] cronin4392:
Okay i have 2.7.3 up and running but i have a question about swap. I have three partitions on my sd card so does swap get enabled automatically? i thought i read somewhere it did with jachero, but as i go through this thread i see people talking about pushing the userinit.sh file to the phone.
[G1 Android Development] RussianSolja:
i sent you a message.. :-) add me on gtalk.
[G1 Android Development] The_Real_D/\SH:
thanks for the response will look into the old way through file manager and see how that is done (just got device) and as for the other i try but everytime i swipe i get a touchflo error and it crashes.... the other wallpapers were taken out... is there nay way that you can add wallpapers to that directory so i can add some and see if i can find em? dont get me wrong i like the wallpaper but doesnt mesh well with the htc default theme and clock. any ideas?
[G1 Android Development] soba5150:
somebody walk me thru because this is the first jachero rom that lags for me..... I reformatted everything, repaired alt +f then i wiped and flashed and set everything up....then i moved the userinit.sh <named properly> to system/sd what am i missing?
[G1 Android Development] Daneshm90:
Nah u dont need to have linux-swap...the compcache swap file is large enough so u wont b seein the loading screens....im running without linuxswap...n its speedy as ever
[G1 Android Development] jamizzal:
ummm ive been away for a few days and i lost track of the thread....any1 mind filling me in about anything important and the big hype around compcache what exactly is it....?
[G1 Android Development] esouthatx44:
whats the command for that? is not the upgrade_fs
[G1 Android Development] cronin4392:
From what i got from the first post you are not supposed to push a userinit.sh file because it is done automatically.

Have you made all three partitions on your sd card correctly?
[G1 Android Development] soba5150:
yes i have paragon....now this guy is saying i don't need linux swap compache is quicker...so do i delete the linux swap partition?
[G1 Android Development] tonymoreno23:
it's a compression tool used as an alternative to linux swap, as to avoid the eventual wear done from constant file swapping between the phone and the sd card. It's claimed to be faster by some , but even after enabling the userinit.sh file via adb, and clarifying the 77% compression i'm not noticing anything significant, but don't take my word for it, noob here.
[G1 Android Development] soba5150:
so i delete linux swap? how do i check compression?
[G1 Android Development] tonymoreno23:
To see if it is working enter: cat /proc/ramzswap in the terminal console app on the phone. You should have a XX% GoodCompress listed if it is working properly.
[G1 Android Development] ulyssesclark:
how did you manage to get that much cause mines is at 0
[G1 Android Development] cronin4392:
Yeah, JAC could you put something in the FP talking more about this? I feel like tons of people are going to post questions about this and the answers will just get buried in all these posts.
[G1 Android Development] tonymoreno23:
we're not suppose to push userinit.sh?

i did becase i got " no such file" when cat /proc/ramzswap.
[G1 Android Development] soba5150:
my good compression is 76% i guess thats good.....whatever the swappiness is set at im not having luck with it im going to change it
[G1 Android Development] cronin4392:
I dont know, I said that because on the first post JAC posted this:

so...
[G1 Android Development] jinx10000:
I believe that was meant for 2.7.3 version. There are probably going to end up being different directions for 2.73 vs 2.74.
[G1 Android Development] tonymoreno23:
i guess the real word we should pay attention to is "experimental" lol...

also, i was going to remove the linux partition until i read

"Uses the same swap linux-swap method as 2.63 (this will stay unless otherwise noted on future builds)"

and stopped in my tracks.
[G1 Android Development] ulyssesclark:
nvmd its working fine now...75% good comp
[G1 Android Development] VGPOP:
I've asked this question in the past, but I have not gotten a clear, precise response.

I am running 2.7.3 with linux-swap.

People are saying that you need to format ext3 partition. How do you format ext3? Can you format through console? What is the script?

The way I am doing everytime there is a new ROM, i just delete the whole thing and start from scratch (like page 1 says)

rm 1

rm 2

rm 3

mkpartfs primary fat32 0 xxx

mkpartfs primary ext2 xxx xxx

mkpartfs primary linux-swap xxx xxx

end

#upgrade_fs

That's what I do everytime a new ROM. But I think I've read here that it may corrupt or damage SD card.

What is the correct way, then? (To format these partitions (or ext3 only) to install a new update)

Once and for all.
[G1 Android Development] jinx10000:
I believe this is referring to 2.73 version and not the 2.74 which I believe uses compcache rather than swap partition.
[G1 Android Development] ulyssesclark:
need help changing swappiness size
[G1 Android Development] soba5150:
VG what i usually do is go into recovery and do the following

mount system/sd

rm -r /system/sd*

then i do alt +f

then alt +w

then alt +s

then your all set as clean as a whistle
[G1 Android Development] Daneshm90:
Well i followed the userinit.sh for cyanogen tutorial...changed the swapiness from 60 to 20....saw i didnt need the linux swap cuz compcache was good enough...so deleted tht partition...n now it runs amazin....
[G1 Android Development] notxel21:
followed this:

Download the userinit.sh.txt file attached here then: http://xdaforums.com/showpost.php?p=4141394&postcount=1

Rename it to userinit.sh

create a directory c:\userinit

copy userinit.sh to c:\userinit

open CMD prompt

adb push c:\userinit\userinit.sh /system/sd

adb shell chmod 755 /system/sd/userinit.sh (not sure if needed being safe)

adb shell reboot

After reboot I opened Terminal and entered

su

cat /proc/ramzswap in the terminal console app on the phone. You should have a XX% GoodCompress listed if it is working properly.

I was at 77% after this! :cool:
[G1 Android Development] cronin4392:
is this for 2.7.3 and 2.7.4? and do you need a swap partition for this method?
[G1 Android Development] tonymoreno23:
So, before you deleted the swap partition it was lagging, yes?
[G1 Android Development] soba5150:
i just want to know what to type into terminal to check what my swappiness is set at....i know how to change the swappiness just not how to spot check it
[G1 Android Development] notxel21:
This is for 2.7.4

As far as needing a swap partition I'm trying to find this out. I still have my swap partition. :cool:
[G1 Android Development] VGPOP:
Perfect.

Nice, simple and to the point. That's all I needed to know.

Thank you.

Now I can do this from now on.
[G1 Android Development] Daneshm90:
Nah i didnt notice a difference in speed....
[G1 Android Development] soba5150:
VGPOP typo

its

rm -r /system/sd/*
[G1 Android Development] Shaquiel Harris:
so they did add compcache i knew they would lol. well my g1 will be back tomorrow yay!!!!
[G1 Android Development] crr127:
so from what i've been reading you guys are not seeing a huge difference in speed?? we should just start a poll.. cause i run pretty smooth now as long as i give her a good reboot once a day.
[G1 Android Development] alorayou:
Flash Player 9 Support only for AS2 content

I found my own answer already, I pubish in case somebody else is interested:

Basically the new Flash Player 9 support is still limited to running AS2 applications, i.e. no AS3 based applications will run on this version...

----

"However, the initial version won't match Flash Player 10, the current version for PCs, which can run programs written with ActionScript 3. Instead, the Android version will handle ActionScript 2 applications written for Flash Player 9 chores, Adobe said. HTC is participating in the Open Screen Project to bring Flash Player 10 to mobile phones through over-the-air updates, though, so Adobe expects fuller Flash support eventually."
[G1 Android Development] jamizzal:
would all the force close errors matter ??? especially if what ima do is shut the phone down then reflash 2.4 to see if that was the problem...because now with the 2.4 the was last uploaded it lets me get to the gmail sign in but now it force closes while trying to sign in.
[G1 Android Development] Lou2serious:
Has anyone installed that last upload???

Any changes??
[G1 Android Development] Jason Syn:
You can't format the card from Terminal because it's auto apps2sd, the card will be in use and not format properly. You'll probably corrupt your card...

Just drop into console from boot loader, type in the code I gave you, check the ext file system, wipe and flash.
[G1 Android Development] jamizzal:
cool gonna try that now...
[G1 Android Development] Lou2serious:
Not sure I never done it that way
[G1 Android Development] jamizzal:
ok quick question i dnt have the cyan recovery....it says to do it put the img on ur sd card and then run the command (flash_image recovery /sdcard/cm-recovery-1.3.1.img)

that means that is done from the terminal right ?

im really lost right now never had the need to move from JF 1.42 recovery till now....the console on that wouldnt let me type those commands
[G1 Android Development] djdeviance:
Yes you can do that from the terminal. Just don't forget to reboot in to recovery to make sure it's done correctly. You should see cm 1.3.1 + jf 1.42 at the bottom.
[G1 Android Development] Lou2serious:
It is done through terminal, put cyan's recovery img on the root of your sdcard and use these commands

flash_image recovery /sdcard/cm-recovery-1.3.1.img
[G1 Android Development] Lou2serious:
sorry double post
[G1 Android Development] Jason Syn:
You don't really need to though, just rename the zip file update.zip and flash it like a ROM.
[G1 Android Development] jamizzal:
thank you going to do all of this now will report back
[G1 Android Development] g1junky:
can i flash 2.4 without a wipe or no?
[G1 Android Development] Lou2serious:
Definitely wipe and start with a clean ext partition
[G1 Android Development] Jason Syn:
It depends on what you're coming from but with any Hero ROM I recommend it, just because each dev has their own way of optimizing it, apps2sd, etc.

Also wipe your ext partition.
[G1 Android Development] g1junky:
ok thanks gonna flash now
[G1 Android Development] jamizzal:
ok wiped my ext2 even went ahead and upgraded to ext 3 no luck at all...idk what to do no more...this time the option to even select google account on the initial setup was greyed out and not selectable im lost idk what to do.....?????? any help i just cant sign into google wtf....
[G1 Android Development] jamizzal:
does anyone have the slow sd version ???? i have a feeling that will remedy my problem...i have been racking my brain for nearly 3 hrs......
[G1 Android Development] justanothercrowd:
okay last time..sorry for the late night confusion. the otehr 2.4 was good but not the final..got my head out of my ass and uploaded it...has about 5 more mins left...slowSD has about 30
[G1 Android Development] jamizzal:
thank you....omg i was dying in my bedroom bout to go crazy im praying i can sign into google...thats all everything else works flawless....
[G1 Android Development] VGPOP:
Thanks. I've noticed.
[G1 Android Development] CPR123:
Do either A or B to format your extension partition

A)

Boot into recovery

Press ALT+X (Terminal)

Press enter (as it says)

type: mount -o rw /dev/block/mmcblk0p2 /system/sd

Press enter

type: rm -rf /system/sd/*

Press enter

Type: reboot recovery

Press Enter

B)

Use ADB

rm -r /system/sd/*

and your good to flash your next ROM
[G1 Android Development] VGPOP:
Thank you very much.

I'm pretty sure this is very helpful for a few people here.

Wonder if the creator can put this info on the 1st page (As a reference).
[G1 Android Development] soba5150:
whats everybody set at my compache is 77% so thats all set i still have my linux swap at 32mb but obviously thats not being used...i changed my swappiness to 20 and that seems to help but different people report different results as if 60 swappiness is good for some SDcards and not for others i have an 8gb class 6 anybody had any luck finding the perfect set up
[G1 Android Development] ulyssesclark:
thanx its great now
[G1 Android Development] Diceman4:
I have a 128mb swap partition. JAC is using swap as a backup to compcache in case it runs out. I pushed the userinit.sh file from the cyanogen compcache setup, but changed the swappiness to 60. Since my swap partition is so large, I have found it to benefit the speed of my system to increase swappiness to 60. As a result Hero seems to effectively use both the compcache and the swap partition.

To answer all of the questions JAC is running the swap partition through the a2sd script in system/bin and the userinit seems to be the easiest way to configure the compcache (Please correct me if I am wrong about needing the userinit.sh but I can't seem to get compcache to run without it)

The a2sd script also runs userinit.sh before it configures the swapper so it would appear to also run in the correct order.

I hope my config helps someone :D but I have been using my g1 pretty much consistently for the past hour or so testing to make sure swapper being set how it is doesn't slow my system and I have yet to see a loading screen and it is running snappy.
[G1 Android Development] ulyssesclark:
for everyone who wants amaizng speeds and i seriously mean lag free, try this. first you must do the whole compcahe thing. then set your echo to 100. so dont delete your linux-swap. if you dont know how to change your echo then type this in terminal.

su

echo 100 > /proc/sys/vm/swappiness
[G1 Android Development] tonymoreno23:
it's flying now, wow!
[G1 Android Development] xyrcncp:
Nice to see more progress is being made :)

I guess 2.6.3 will be it for me until I get a 16GB class 6, since I won't run apps2sd or any partitioning with my class 2.
[G1 Android Development] notxel21:
Thanks for the commands! Gonna try this now! :cool:
[G1 Android Development] johnnylicious:
Keep in mind guys, 2.7.4 is an "EXPERIMENTAL" build so im assuming all you guy who flashed it already are "test rats" for this build :]

ill waitin until this comes out of experimental into an official build.

looks promising though =D
[G1 Android Development] Diceman4:
It is promising! The main UI issue I've found is that Weather doesn't work and it really takes some user modification to a2sd and userinit to get running perfect
[G1 Android Development] notxel21:
Always on the sidelines huh Johnny!! lol :D

What's good? :cool:
[G1 Android Development] johnnylicious:
Lol! well for this build i am because im content with my G1 running 2.7.1 very smoothly so i don't wanna fix something thats not broken so gotta wait to see how things play out with this new build.
[G1 Android Development] cronin4392:
so does this work on 2.7.3?
[G1 Android Development] johnnylicious:
NOOOOO. 2.7.3 doesn't have ComeCache included why do you "think" JAC released 2.7.4 :confused: cmon.......

READ READ READ !!!!!
[G1 Android Development] notxel21:
I've only tried this on 2.7.4 so I can't say really. Someone chime in if you've tried this on 2.7.3

*Edit* Thanks Johnny!
[G1 Android Development] esouthatx44:
so do i need userinit. to check if comcache is working properly, or how would i do it?
[G1 Android Development] cronin4392:
Alright, I was pretty sure it didnt work on 2.7.3 but with all this talk about it I didnt think that that many people were using 2.7.4
[G1 Android Development] cronin4392:
in terminal:

To see if it is working enter: cat /proc/ramzswap in the terminal console app on the phone. You should have a XX% GoodCompress listed if it is working properly.
[G1 Android Development] The_Real_D/\SH:
hello anyone know how to change the wallpaper on this rom? whenever i try to scroll over it crashes touchflo since they took the wallpapers out of there.... do i have to upload them to my album and try from there? just wanna get a different background..... i went to settings/change wallpaper right above the change lockscreen option
[G1 Android Development] jugg2000:
How do you "rename" userinit.sh.txt when it already shows up as that name when you download it? The format is a .txt but I can't switch the format... it keeps it as an .txt file.
[G1 Android Development] tonymoreno23:
uncheck 'hide file extensions' in tools, and edit thereafter.
[G1 Android Development] ulyssesclark:
yes do you know how to do it

go to terminal

su

cat /proc/ramzswap

your good comp should be around 75%
[G1 Android Development] vr24:
Is there a tutorial for CompCache for Hero roms or anything?

Is this something you just upgrade to 2.7.4 and it just works, or does it need to be set up?

It would be really helpful if someone would create a thread for setting up CompCache/Swappiness on 2.7.4
[G1 Android Development] ulyssesclark:
the easiest way is to download linda file manager and rename it through there...guaranteed to work
[G1 Android Development] wasuup:
Quick advise on rom Jacheroski 2.7.4 basicaly i havn't done the Compcache userinit.sh still on linux-swap it as fast as JacHero 2.7.3 SlowSD which was the faster of the 2.7.3 also now you have all the features of 2.7.3 superlight along with the memory eatting rosie build. I found out if you bring the weather widget on the 2nd screen on your left add a full size calender on the 3rd screen on the left on the 3rd screen on the right (bookmarks) delete that widget completly you are now running even faster also on the terminal emulator adding the wlan.ko 100% works inc. MMS no multi touch, but is that realy going to make you want to stay with 2.7.3 also didnt repartion my sd card before I updated to 2.7.4 all that happens is all your app will be installed after you update and do a wipe. One more thing I noticed is it dosn't matter if your sdard a class 6/ultra because the standard 2gb card works faster on heroes then my 8gb ultra class 6 try it if you think it a joke.

My recomondation is if you like the jachero build then you should update with no worries.
[G1 Android Development] jugg2000:
I get "no such file or directory"

And I followed the steps...
[G1 Android Development] tonymoreno23:
Weather def. not working for me, and as a result Weather/Clock the same!
[G1 Android Development] VGPOP:
I've followed this and when I attempt to do this command:

adb push c:\userinit\userinit.sh /system/sd

It says

cannot stat 'c:\userinit\userinit.sh' : No such file or directory

I have adb running, I created folder, I put file inside folder. (I didn't have to rename it, it was already renamed userinit.sh)

So, what's wrong?

At the beginning I thought with new ROM you didn't have to do these steps, I thought it was already included, unless I did something wrong when I flashed. (I did wipe)

Anyone?
[G1 Android Development] ulyssesclark:
userinit.sh

1. Download userinit.sh.txt

2. Download linda's file manager

3. Run linda's file manager and rename userinit.sh.txt. to userinit.sh

4. Go to terminal and type in the following commands:

-su

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

-cp /sdcard/userinit.sh /system/sd

-chmod 755 /system/sd/userinit.sh

5. After typing in the commands, restart phone (this is very important or it will NOT work)

6. Go back to terminal and type in the follwing:

-su

-cat /proc/sys/ramzswap

7. Good comp should be around 75%

There you go:)

------------------------------------------------------------------------------------

This part is for testing purposes only, so its not necessary (works extremely fast with no lag seriously) do this at your own discretion.

1. Make sure you still have your linux swap (mines is at 92 mb)

2. If so, go to terminal and type the following(your changing your echo value)

-su

-echo 100 > /proc/sys/vm/swappiness

3. You will experience lag when you return to home screen, and after the initial lag, you will experience no more lag:)
[G1 Android Development] jroid:
wow so all I had to do was just push the userinit.sh and it worked.. got 76% good comp.
[G1 Android Development] jroid:
I dont understand why Jac released this rom with compcache without it being enabled??

we still have to enable it manually. Good thing its just as easy as pushing one file
[G1 Android Development] cronin4392:
My swap partition is only 32mb but i have my swappiness set @ 100. Should i make my swap partition bigger? and if so, how big?
[G1 Android Development] Gorguts:
Sms mms failure

Only on jachero I get an error that shows up just after google sign in. My sms mms force closes and stays that way even after rom is loaded. I installed handcent and that works, but if I click messaging I get the force close. Once again, only on this hero build.
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Do anyone know what's the deal with JacHeroSki2.7.4r2.zip. It's 41.6 MB. Is it corrupt or did JAC decide to pull it?
[G1 Android Development] AbsoluteDesignz:
you need to wipe ur ext2/3 partition
[G1 Android Development] josg21:
wlan.ko.zip not making my wifi work

I copied the wlan.ko.zip file like instructed, but when i try to turn wifi, it says "starting" for a while, then it saus "unable to start wifi" any thoughts anyone?
[G1 Android Development] VGPOP:
I even tried using terminal commands.

I put file in my SD card.

After typing this (terminal)

# cp /sdcard/userinit.sh /system/sd

I got

cp: cannot stat '/sdcard/userinit.sh': No such file or directory.
[G1 Android Development] johnnylicious:
it probably currently being uploaded... cmon you should know the drill :rolleyes:
[G1 Android Development] johnnylicious:
you need to remove the .zip part and have only the wlan.ko and make sure you push it into the right directory /system/lib/modules/
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Hehe I know the drill and it is up http://www.slackdev.com/justanotherdev/ It's 9th from the bottom. And it has been there for at least 40-50 minutes.

P.S. Just because I don't comment all the time doesn't mean I don't lurk.
[G1 Android Development] ulyssesclark:
you dont have to but i would recommend at least 64
[G1 Android Development] komposure85:
have you tried recently because i'm downloading a 81.7mb file?
[G1 Android Development] josg21:
I did, before i pushed it
[G1 Android Development] Gorguts:
Ill try it, thanks. Still, strange that it only happens with this build.
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Yes. Just tried it's still at 41.6 MB. I've tried downloading it in Ubuntu and OS X, no dice. Thanks for the advice though.:)
[G1 Android Development] robpet2:
this time your right... the file is about 41mb
[G1 Android Development] h.nocturna:
same here, downloading a 41.6MB file (JACHero2.7.4r2)