yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Daneshm90:
r2 is prolly gonna have compcache pre-enabled....n wifi working...
[G1 Android Development] johnnylicious:
Question: is it even possible to do a nandroid backup for Hero rom since all the "apps" are on the sd aka ext2

if so, do we just flash the boot.img / data.img / system.img

i know how to do it for regular G1 1.5 builds but Hero is a bit different.
[G1 Android Development] johnnylicious:
i agree, i'll wait for JAC to update the first post, and then i'll download and flash the new update.
[G1 Android Development] jaygajay:
You need to extract wlan.ko. Unzip it and push the file that is inside.
[G1 Android Development] h.nocturna:
I use the nandroid backup/restore from cyanogen's recovery and it seems to restore everything for me just fine.
[G1 Android Development] sullitf:
When I make a nandroid backup of a rom with app2sd I do the following...

mkdir /sdcard/nandroidapps
mkdir /sdcard/nandroidapps/app
mkdir /sdcard/nandroidapps/app-private
cp /system/sd/app/*.apk /sdcard/nandroidapps/app
cp /system/sd/app-private/*.apk /sdcard/nandroidapps/app-private

This makes a nandroidapps folder that contains all of the app and app-private .apks you had. To get them back when reverting to a nandroid backup do the following...

rm -r /system/sd/*
mkdir /system/sd/app
mkdir /system/sd/app-private
cp /sdcard/nandroidapps/app/*.apk /system/sd/app
cp /sdcard/nandroidapps/app-private/*.apk /system/sd/app-private

This has worked every time for me so far but I can't guarantee it with all roms, if the apps2sd does something funky during bootup it may boot loop. If that's the case you can go back to recovery and clear out the /system/sd, it should then boot back up with the backup. Of course all your apps will be gone, but after it boots you could probably copy them over via adb or terminal and see what it does
[G1 Android Development] johnnylicious:
thanks alot for this!! and the others who helped :D
[G1 Android Development] nolimit78:
sweet i've been wondering how to do this. You're the man!:cool:
[G1 Android Development] sullitf:
no problem. I've actually been thinking about trying to add the functionality to the recovery image's nandroid backup scripts, I'm just too busy/lazy at the moment :rolleyes:
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Oh well I guest I'll have to forget about 2.7.4r2 'till it's officially released. Until then I'll be rocking 2.7.4, thankful I have everything working. I even pushed Footprints, Stocks, Ringtone Trimmer, and Sound Recorder. And it's all running slicker than hair grease.:D
[G1 Android Development] Daneshm90:
Technically shudn't slowsd b faster since ur running apps off the internal memory which is faster than ur sdcard ?
[G1 Android Development] vr24:
Can anyone else make sense of what this post says?
[G1 Android Development] h.nocturna:
nope, internal memory is actually slower than a class 6 sdcard, however, the RAM is faster, two different things.
[G1 Android Development] Daneshm90:
Ah got u....thnx
[G1 Android Development] Drizzy Drake Rogers:
Technically no, apps to sd shouldn't even slow it down and if it does than maybe just by a hair not noticeable!

apps to sd is just for internal memory... able to add more apk's, media files etc...
[G1 Android Development] josg21:
where an i find the correct wlan.ko file?
[G1 Android Development] h.nocturna:
They're scattered throughout the thread, but seeing as its so long, and I don't think its able to search for attachments. I'll post it up again.

Note: THIS IS A ZIP FILE, YOU MUST UNZIP IT AND COPY THE WLAN.KO FROM WITHIN THE ZIP TO THE CORRECT LOCATION (/system/lib/modules/). Lots of people have been renaming it so I'm just pointing this out to anyone who uses this zip file.

He really should post this on the first page, but seeing as 2.7.4rs is right around the corner I can see why not...
[G1 Android Development] josg21:
how do you copy it there?
[G1 Android Development] DMaverick50:
do i paste it where i deleted the bogus wlan and then reflash? thats what i tried and got an error during flash, of course if theres another update on the way i suppose its no biggie...thanks
[G1 Android Development] sw20matt:
so i am way confused now. I have 2.5.something now, has rosie just been added or did they change to some kind of rom with hero skin? also why dose it say they took out the lock screen?

dont get it, I just want the hero rom w/ working bluetooth and led. That wold be perfect.
[G1 Android Development] h.nocturna:
Alright, flash the rom first (wipe, format, flash , whatever you usually do)

Then extract the file from wlan.zip to c:\android

then using adb type in:

adb push c:\android\wlan.ko /system/lib/modules

Turn on WiFi again.

Be amazed that it works!
[G1 Android Development] DMaverick50:
led and bt dont work, and may not in the near future. And i dont really understand your question, rosie has been around for quite a while...
[G1 Android Development] DMaverick50:
ok got it, im on the verge of doing it but i just know that as soon as i do r2 will be available and ill drop everything and flash it :rolleyes:
[G1 Android Development] nerv021:
First time post :eek:

Just wanted to backup the other's findings regarding compcache. Initially 2.7.4 did not have it enabled (for me at least) after copying over the provided userinit.sh and rebooting, the phone was noticeably faster.

As a side, I am a total sucker for eye candy, but the previous versions of this ROM were a bit too slow for my tastes (with a class 6 card). As of today I was considering a different ROM, but decided to double check for a new version (cause this is a great ROM otherwise IMHO). With compcache enabled this ROM is awesome!

Great work guys :)
[G1 Android Development] h.nocturna:
r2 hasn't changed in the last hour or so, I would just go ahead and flash. Come on, flashaholic, you know you wanna. You can't even stop yourself. Even now you're rebooting your phone into recovery to flash it... You know you wanna... :p

Anyways, 2 days, I reflashed 2.7.3 just for fun because I haven't flashed in so long... (3 whole days?!?!?!!!) am I addicted? mebbe...

You never know when r2 is going to be fully up, I would just go ahead and flash it now, cuz it might take till tomorrow or later.
[G1 Android Development] johnnylicious:
approximately how fast is the "new" boot load time on 2.7.4 using CompCache

just curious :)
[G1 Android Development] wasuup:
SlowSD this is by my observation could be wrong infomation but with using slowsd the linux swap file you made of the 3 primary partions on the memory card is shown as your internal memory when you go to setting/sd card & phone storage it gets used very slowly i can put all my apps and still have load of space and also the stability is very good that you dont want go back to cupcake 1.5 build also now with 2.7.4 you can switch to the superlite version by pressing home that was the only thing 2.7.3 was missing
[G1 Android Development] DMaverick50:
good point, although i flashed mytouch in the meantime and good lord is it amazing, i may play around with it for now. But you couldnt be more right, these last 4 or 5 days have been absolute hell, ive been flashing all sorts of ions ill never use just for the sake of flashing :D
[G1 Android Development] josg21:
what is CompCache? And how do you turn it on?
[G1 Android Development] h.nocturna:
I'm tired of explaining what compcache is, but I will however, help you install it.

PM me if you want.
[G1 Android Development] Daneshm90:
It takes me around a minute to bootup now...
[G1 Android Development] nerv021:
compcache appears to be a method for creating swap space IN RAM and then compressing the contents of that swap space.

At least thats what I took away from here:

http://code.google.com/p/compcache/

Go back several pages or look at this post:

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

Anyways, this is how I currently understand compache, please correct me if I am wrong.
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Please use the search tool or turn a few pages back.
[G1 Android Development] poe11371:
No wifi in 2.7.4? Or just me and I need to reflash?

I noticed after I posted about the wlan.ko ... my bad. I've been busy with work and haven't been keeping up. Just wanted to try the latest test build to see if it wouldn't bog down after three days and crash the phone every five keystokes. Doesn't matter for me, slowsd or app_s to sd, my luck with this Hero is not great. Guess I will have to give up and just wait for the official rom dumped off of the phone and ported.
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Please review the post above yours.
[G1 Android Development] AbsoluteDesignz:
need to push over wlan.ko from a previous build.
[G1 Android Development] DMaverick50:
you can adb push the wlan file form another build or wait for an update
[G1 Android Development] johnnylicious:
thanks alot. might try to flash this tonight.
[G1 Android Development] notxel21:
Flash this Johnny! It's blazing fast!! :)

I fixed wifi!

enabled compcache!

and set echo to 100!

Now it's fast and no load screens! :cool:
[G1 Android Development] johnnylicious:
LOL! well 2.7.1 is FAST TOO.

but well see =D
[G1 Android Development] DMaverick50:
100 echco, what is the default? i remember reading of people bumping it to 60 but i had no idea you could go that high, does it top out at some number and become counterproductive? thanks
[G1 Android Development] josg21:
dude, this sucks. I re flashed everything, and used the wifi file you just posted, and it still does not work. It keeps pausing for a long time then saying it can not start wifi, i have no idea what i am doing wrong.
[G1 Android Development] notxel21:
I feel ya!

You sitting stable right now and don't wanna jeopardize that for a chance at something better.
[G1 Android Development] h.nocturna:
PM me, I'll walk you thru it.
[G1 Android Development] wasuup:
mate to get the wifi you have to push wlan.ko by terminal emulater easiest way

su

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

cp /sdcard/wlan.ko /system/lib/modules

but before you start the terminal emulator you will have to reboot you phone then without turning on your wifi go type the codes on the term. emu. then reboot and happy days again if that helps
[G1 Android Development] notxel21:
I was just following this post when I changed mines to 100:
[G1 Android Development] johnnylicious:
indeed but i mean the fun part is always flashing and experimenting =D

so i might go for it later!
[G1 Android Development] DMaverick50:
nice ill give that a go once r2 comes along...
[G1 Android Development] kingskidd268:
My compress is 76%
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Interesting. Do I suppose to change the swappiness in the userinit or a2sd script or both?
[G1 Android Development] johnnylicious:
If anyone interested in a Ophone themed phone dialer for HTC Hero

Download it here.

http://xdaforums.com/showpost.php?p=4178455&postcount=100
[G1 Android Development] Dror520:
thanks! you don't need to remove the phone and htccontacts that already have in the phone?
[G1 Android Development] johnnylicious:
no prob, and no just push the files they will overwrite them.
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Even though this does not answer my question, I do find this theme quite riveting and I too shall download it. Thank you good sir.:)
[G1 Android Development] tmac12:
for the wifi fix can i just pack it in the update.zip and flash the rom or should I just push through adb? thanks.
[G1 Android Development] h.nocturna:
Packing it in the ROM works just fine. I did it with my update.zip and the WiFi worked right after flash with no pushing required.
[G1 Android Development] MortICi:
To those of you running at 100 swappiness, have fun, in about 45 minutes, your phone is gonna be slower than paint drying. The rules for swapping still apply.

Im using the defualt 24mb (25% of ram) and swappiness at 20, i haven't tested 32/30 yet but this does the job quite well for me.

Indeed with 100 you will see a significant speed up, but your forcing all activity to occur in the compressed ram swap now, its gonna tax the cpu. Its still better to allow apps to run in ram uncompressed, and only when its LOW on space to go into compressed ram swap.

But whatever, do what you wish :)
[G1 Android Development] h.nocturna:
Well gee thanks... now that I know better I have to re-re-edit my userinit.sh. Gawd thanks!

/sarcasm

thanks for the explanation.
[G1 Android Development] MortICi:
Haha, just giving you a heads up thats all. Don't want people running back hear yelling

"OMG COMPCACHE SUCKS MY PHONE IS SO SLOW OMG OMG OMG DEVS FIX THIS WAAA WAAAA WAAAA WAAAAAAAA SOB SOB SOB"

You know, its just not needed in this thread
[G1 Android Development] kingskidd268:
You are my HERO, it works like a DREAM....
[G1 Android Development] johnnylicious:
thanks but give the credit to g1junky he's the one that ported it :]

not mee lol just forwarding information how to get it!!

yaayya.
[G1 Android Development] alritewhadeva:
Way to make puns. Good job johnny + g1junky, love it
[G1 Android Development] kingskidd268:
thank johnny finding it and g1junky for the post. still my HERO's.
[G1 Android Development] g1junky:
haha no problem im gonna port another dialer so check johnnys thread
[G1 Android Development] MortICi:
Odd, It seems the people app tends to corrupt for some reason. Second time i started getting the .acore force close again. I dunno whats causing the corruption, but ddms is throwing a crap load of errors. :(
[G1 Android Development] The_Real_D/\SH:
i have the newest version installed and since the wallpapers were removed how do you change wallpapers on this rom..... everytime i go to settings/change wallpaper and try to scroll over touchflo crashes since they arent there anymore.... any ideas?
[G1 Android Development] Daneshm90:
when i do adb shell free...i notice tht swap is being used even though mem still has free space....is there a way to use swap only when ram is near 0...or is tht wht swapiness does ?
[G1 Android Development] h.nocturna:
adb shell free does not report the actual swapfile being used. Just look at it, the size doesn't even match the size of your partition.
[G1 Android Development] Daneshm90:
Oh i meant the settings in the userinit ....im guesisn thts for the compcache..it matches those settings...like my settings in userinit are 5mb for the size and 5 for the swapiness n i dont notice speed difference....
[G1 Android Development] johnnylicious:
wow are you serious? there are "other" apps to change the wallpaper on your desktop other than the touchflo interface.

SMH. :rolleyes:
[G1 Android Development] KNEX81:
im running on the 2.6.3, have my 3 partitions thru paragon and the cyanogen recov.....so i flash the 2.7.3 and it says complete with no probs till after the reboot and i keep getting all these foreclose pop ups......who has a clue what i'm doing wrong? some 1 out there HELP!!
[G1 Android Development] DMaverick50:
did you format your ext and wipe the system before flashing? if so try rebooting
[G1 Android Development] spiderman_anhvu:
This is seem that i should wait for the JAC 2.7.4r2 to make compcache install automatically and a working wifi, isn't it?

I read that you've talking about the jac 2.7.4r2 but i can't find the link! Has is upped? any idea?
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
It's here http://www.slackdev.com/justanotherdev/JacHeroSki2.7.4r2.zip but it's corrupt and useless.
[G1 Android Development] nwskier:
Missing Calls in locked Screen

Hey guys, listener most of the time but I'm trying to change that.

Has anyone noticed that while the phone is in locked screen you miss calls? During my own test calls only about 25% actually made it through.. the others went to voicemail after 4 rings....
[G1 Android Development] KNEX81:
so i have to reformat my ext....again? i'll giving it a shot right now. thx
[G1 Android Development] johnnylicious:
FYI, Move predictive text bar :)

Whoa, i just found out that you can move the predictive text bar higher or lower on the sms layout.

Screenshots.

pretty sure it works everywhere else =D pretty neat. i didn't know this haha.
[G1 Android Development] KNEX81:
when i repair ext filesystems, i get "error checking filesystems! Run ef2sck manually from console".....i don't know how from this point? any more words of wisdom?
[G1 Android Development] Dror520:
lol you didn't know that? that's one of the first things I noticed when using the vk .. :)
[G1 Android Development] johnnylicious:
lol i did not, i just typed away and never noticed trying it haha.
[G1 Android Development] :
I didnt either HAHAHA!!!!:o
[G1 Android Development] Dror520:
in 2.7.4 the weather doesn't work. How can I fix this? just push weather.apk to system/sd/app_s ? thanks!
[G1 Android Development] kingskidd268:
The weather apps htc big and little works on 2.7.4. for me.
[G1 Android Development] DMaverick50:
there are terminal commands at that point but honestly when i get that error i just move on and havent had any problems. formatting your ext and wiping is more important
[G1 Android Development] ComplexMinded:
man oh man and i thought this rom couldnt get faster!
[G1 Android Development] Dror520:
the weather app, the little and medium widgets crash and the big widget doesn't crash but it can't load the weather. What should I do? thanks!
[G1 Android Development] ComplexMinded:
restart the phone.. i had a couple force close issues that were resolved after i restarted
[G1 Android Development] Dror520:
I restarted the phone and it didn't help ... didn't someone in this thread said the weather is not working for them?
[G1 Android Development] KNEX81:
thx...got 2.7.3 up n running. i'll make sure i keep that in mind for future ones.
[G1 Android Development] Shaquiel Harris:
woot my g1 will be here in the morning hopefully! ;] and i have my sdcard with the ext3 and all the partitions yada yada yada already on it after i root then update to jf 1.5 and do the damn radio and spl i should be able to just install 2.72 with ease right? and in recovery terminal the commands ums_enable supposidly mounts the sdcard can anyone confirm for me and run the command in terminal please? never was able to mount the sd with that command i never tried it. only got 1 sdcard and no card reader i really dont wanna install that spl and radio then have to wait till my dad gets home to use his to drag the file over lol. Thanks.
[G1 Android Development] esouthatx44:
Ok so i tried cat /floc(or whatever it is)/ramzswap and it says file not found I seen people are pushing the userinit. To check if compache is working but than other people say jac says not to so do I? And if I do have to I don't have/use adb so what are the commands on terminal
[G1 Android Development] g1junky:
u can mount sd with this terminal

echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
[G1 Android Development] kingskidd268:
try resetting you phone. If not then reinstall updae but wipe 1st.
[G1 Android Development] devsk:
I am running everything latest using this ROM. I am getting a severe lag some of the times, most relevant and easy to see it is in the teeter game. swap is not in use.

I see lot of repeated messages saying "msm_i2c: Warning bus was busy (5)" in 'dmesg' output. does anybody else get this? Does anybody see freezes in teeter?

I don't see any such freeze or messages in cyano's ROM.
[G1 Android Development] Dror520:
what do you mean by resetting the phone? are all the widgets work for you?
[G1 Android Development] Chance Ill:
reflash and whip.....
[G1 Android Development] kingskidd268:
turn it off turn it on ......
[G1 Android Development] devsk:
why is that necessary? I just did a wipe and clean install.
[G1 Android Development] Dror520:
I restarted the phone and it didn't help. Should I reflash?
[G1 Android Development] devsk:
I am actually running the SuperLITE version of the ROM. I thought this would be faster. Is that correct?

Also, how do I know what speed is the processor running in this ROM? I could run powertop in Cyano's rom to find the actual frequency (which was 524 IIRC). Is it programmed to run at 384Mhz? May be that's the reason for slowness. How can I make it run 524Mhz when needed?
[G1 Android Development] Chance Ill:
it could be a number of things, but them type off errors r usually a result of something corrupted. instead of all the foot work, reflashing and wipe is last resort
[G1 Android Development] andonnguyen:
to check your cpu freq in terminal:

su

cat /proc/cpuinfo

look at the bogomips value, it should read 527.15 (528mHz)

I recommend setcpu, and setting the min and max at 528. The default 384mHz is just too slow, and I kept getting the loading screen, and I missed every phone call when my screen was locked.
[G1 Android Development] Dror520:
So by this should I reflash or not? ;)
[G1 Android Development] Chance Ill:
yes. it should help
[G1 Android Development] devsk:
Did that and verified Bogomips: 527. But the lag doesn't go away. Temp freezes all over. Easily seen in teeter. What's those Warnings in the dmesg?
[G1 Android Development] devsk:
another difference I notice from Cyano is that dalvikcache is not on the SD card. what's that cache about?

And one more final observation: This ROM is very easy on the battery. Better than Cyano.

I wish I could get rid of the severe lagging problem. Then, I don't have to go back to Cyano's.
[G1 Android Development] Dror520:
I reflashed 2.7.4 and still the weather is not working .... maybe I should try a different link? I've been using the second link. I'm going to try that

Edit: I just reflashed with the first link and now it works! thanks for your help guys!
[G1 Android Development] h.nocturna:
Is your compcache on? Its not activated by default. You need to push userinit.sh to /system/sd/

You can check with:

#cat /proc/ramzswap

You need to rename userinit.sh.txt to userinit.sh and then push.
[G1 Android Development] devsk:
Is wifi broken in 2.7.4?
[G1 Android Development] devsk:
Thanks for the tip! I have enabled it, let's see how it goes.
[G1 Android Development] yourtravelboy:
I think so. When I tried to turn on wifi, it says "Unable to start wifi" wasn't expecting that.
[G1 Android Development] h.nocturna:
Then maybe you should've read a few pages back... this problem has been asked several times and has been answered with a fix several times. The search feature was incorporated for more than just looks ya know?
[G1 Android Development] yourtravelboy:
I'm sorry. I just started from the last page ad was working my way to the older posts. Thanks for the info. Although I don't have the ability to setup adb . is there a way to do the fix through terminal?
[G1 Android Development] h.nocturna:
You can copy the file to your sdcard, then go to terminal and do this:

$su

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

#cp wlan.ko /system/lib/modules/

Then just restart the wireless and you should see it work.
[G1 Android Development] maxld:
Hey guys, sorry to interrupt, but is it just me or wifi is not working ?
[G1 Android Development] NguyenHuu:
edit: finally got it working. i had to also push over the two compcache files, doh! i thought it was automatically pushed over. i'm at 76% GoodCompress. is that good? haha. still notice a lag but i guess you cant get it perfect haha.
[G1 Android Development] h.nocturna:
OH GOOD GOD... I JUST ANSWERED THIS QUESTION... ON THIS SAME PAGE!!! DID YOU READ AT ALL?!?!

/rant

Its been answered at least 20times! Just use the search button, its not just cosmetic...
[G1 Android Development] yourtravelboy:
Thank you very much.
[G1 Android Development] goldenarmZ:
Just released a new lock screen for this rom for those of us who think the grey arc thing is just plain weird looking:

http://xdaforums.com/showpost.php?p=4180191&postcount=127
[G1 Android Development] alritewhadeva:
Nice golden :) Did you just edit the jpg or were there are other things you had to edit?
[G1 Android Development] MortICi:
or the easy way:

mount /sdcard

But hey, the more commands the merrier, and you don't need a second sd card, put the radio update on the sdcard, flash, adb push the spl update, flash, adb push the rom update, flash.

This is assuming your in recovery console (1.3.1) and the phone is already rooted. But hell make it all complex if you wish :).