yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ccyrowski:
if you have the money to pay my bills whilst I quit my day job and can wait several months. Then yes.

It takes TEAMS of people that get paid a **** ton of money MONTHS to develop a ROM from the ground up.
[G1 Android Development] ccyrowski:
Scratch that. If you have the money to pay every cooker here for several months then yes it could be done.

EDIT: I'm only talking for myself and JAC, but a lot of the stuff JAC or I include in our builds we built from the source at http://android.git.kernel.org/
[G1 Android Development] r_dub:
Not a bad idea we could all pitch in and have all the hero devs work togeather on a fully functional G1 Hero build LOL just kidding :D
[G1 Android Development] phaze478:
im gonna nandroid backup and flash... will post results
[G1 Android Development] paulobrien:
It looks like we have some known issues for me to fix tomorrow... no G-Sensor, Compass or (worringly) sound! biggrin.gif

If any chefs have come across these before and have any hints, let me know! wink.gif

P
[G1 Android Development] dhruvzz:
hey i have bricked my phone i trieed to update my radio to install this rom after completing it when i rebooted my phone now i onli see a photo of a box and a arrrow cuming out of it indicating to phone i cant even power on my phone cant even go to recovery mode..............please help...
[G1 Android Development] ~~Tito~~:
This one, with the cynogen upgrade in the first post. :confused:
[G1 Android Development] kingklick:
Try doing

$su
#cp /system/bin/user.conf /sdcard/user.conf

then make the changes you want then,

cp -f /sdcard/user.conf /system/bin/user.conf
[G1 Android Development] ~~Tito~~:
When I do that it says:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Tito>adb shell
# su
su
# cp /system/bin/user.conf /sdcard/user.conf
cp /system/bin/user.conf /sdcard/user.conf
cp: cannot stat '/system/bin/user.conf': No such file or directory

WTH is going on? Like I said this worked just fine on JACskis roms, with rwsystem.

EDIT, I can apparently copy back. . .

I think it works with the "-f' code.
[G1 Android Development] kingklick:
OK Tito! I may be able to fix it for SURE!

Try this command :)

$su
#busybox mount -o rw, remount /system
[G1 Android Development] kingklick:
well if u can copy back if I were you I'd edit the attached file and use the following command:

$su
#cp -f /sdcard/user.conf /system/bin/user.conf
[G1 Android Development] ~~Tito~~:
I put the -f in the coping to the sdcard and it works. . What does -f stand for? I know that -o and stuff stand for something I just cant remember what.

EDIT: Now let me copy back. . . then reboot to see if swap starts.
[G1 Android Development] kingklick:
It forces the file to copy over the existing user.conf in /system/bin

you shouldnt have to edit the attached user.conf i set it up for you :cool:

P.S. your welcome :D
[G1 Android Development] ~~Tito~~:
Oh thanks :D, but I have tried this all before(when I was having problems with the script and swap) but I didn't know you had to put a -f . . .to force it in.

Edit: Swap is still not on. . . .Same problem as before. . .
[G1 Android Development] kingklick:
if your swap is set up correctly it should work, although with that user.conf i gave you i enable compcache and backing swap, not swap.
[G1 Android Development] ~~Tito~~:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Tito>adb shell
# free
free
total used free shared buffers
Mem: 97928 94848 3080 0 160
Swap: 0 0 0
Total: 97928 94848 3080
#

Ive been seeing this the whole time I've run this rom. . . .:confused::confused:

I used the one with my settings, I do want CC and backing swap, but it doesnt want to work! When I mean swap I mean its not using anything.
[G1 Android Development] kingklick:
Please try using my user.conf i attached a couple posts up without editing it. :cool: let me know if that does it ;)
[G1 Android Development] ~~Tito~~:
I don't think the system is even recognizing the user.conf?:confused::confused:
[G1 Android Development] kingklick:
unzip the file i gave you, put it in your root and use the -f command to get it into your system, then reboot.

dont change it!
[G1 Android Development] ~~Tito~~:
Its not doing anything!

# cp -f /sdcard/user.conf /system/bin/user.conf
cp -f /sdcard/user.conf /system/bin/user.conf
cp: cannot create '/system/bin/user.conf': File exists
# su
su
# rm /system/bin/user.conf
rm /system/bin/user.conf
rm: remove '/system/bin/user.conf'? y
y
rm: cannot remove '/system/bin/user.conf': Read-only file system
#busybox mount -o rw, remount /system
#cp -f /sdcard/user.conf /system/bin/user.conf
# reboot
reboot

C:\Documents and Settings\Tito>adb shell
# free
free
total used free shared buffers
Mem: 97928 96540 1388 0 144
Swap: 0 0 0
Total: 97928 96540 1388
#

:confused::confused::confused:
[G1 Android Development] kingklick:
is that with your phone running? running a few apps and wat not?

also make sure your swap partition is good, try making a new one
[G1 Android Development] ~~Tito~~:
Yep, its on the home screen. :confused:

Like I said maybe the phone is not recognizing the user.conf.

EDIT: When I use the code to enable swap temporarily it works.
[G1 Android Development] kingklick:
well I am just glad i could provide you with the temporary codes :D. They work all the way until you reboot
[G1 Android Development] sasa3791:
how can i do wipe EXT3 partitions only?

what's the command?
[G1 Android Development] ~~Tito~~:
Yes but that enables linux-swap, and I don't want that.
[G1 Android Development] ~~Tito~~:
JACxHEROSki-v2.1 - Kernal Update for 2.2

(Thanks ccyrowski for your help)

I added in order to improve functionality in this rom:

- The JACxHEROSki-v2.1 BFS 211 Kernal

- Files nessasary to run swap

- Boot Sound is now on

- rwsystem

- rosystem

- radiooptions

- tune2fs

- resize2fs

- uis

- I also added Wifi Tether 1.5.2 from JACxHEROSki-v2.1

Use nandroid back up just incase.

Tested on a clean fresh flash of 2.2. Everything formated. All you need to do is set up 64 or 96mb of swap, since I edited the user.conf to the recommended settings.

I made 2 versions one with the kernal only with the Wifi Tether, and one with everything:

Links

SEE POST 215
[G1 Android Development] kingklick:
o ok, because earlier you just wanted swap :rolleyes: anyway I helped you a lot too!!!
[G1 Android Development] kingklick:
ok go into your 1.4 or whatever recovery console you have and enter the following:

$su
#parted /dev/block/mmcblk0

then once you are in parted partition manager do

rm 2

this will wipe your ext2/3 partition, you will then have to make a new one, let me know if you need help.:cool:
[G1 Android Development] citydog5:
first time MoDaCo 2.2 experience

I came from CM 4.1.9.2 and JacSki 2.1 and so far I'm very happy w/ MoDaCo 2.2. I have CC enabled w/ backing swap of 96MB. The following is my user.conf settings:

cc_disksize=32	# Ram swap disksize - any number between 1 to 95 should work

cc_memlimit=16	# Limit the memory usage for backing swap (cc .5x known issue-defaults to 15% of total RAM)

cc_backingswap_en=1	# enable(1) or disable(0) backing swap

cc_swappiness=60 # default 60

dirty_expire_centisecs=4500	# default 3000

dirty_writeback_centisecs=750	# default 500

dirty_background_ratio=5	# default 5

dirty_ratio=10	# default 10

scaling_min_freq=383000	# default 383000

scaling_max_freq=528000	# default 528000

sampling_rate=3000000	# default 2000000 depending on kernel version

powersave_bias=0	# default 0, (200 since CM3.9.6+ )

up_threshold=30	# default 40, percent cpu usage before going up a speed step

I also have CM 4.1.6 kernel patch installed to take advantage of BFS. So far my phone response time is pretty much same as the MoDaCo 1.5.1 experience documented by this video - http://www.youtube.com/user/EmoGamer

I've been playing with it last night and this morning and not a single FCs. Pulling up dialer is fast and as is gallery, camera, google map, contact, etc etc. This is with calendar, contact, message, settings widget enabled.

The only issue I seem to have so far is w/ GPS. It's enabled in settings but not used when I bring-up google map.

Is anyone else experiencing this?
[G1 Android Development] kingklick:
well, I dont have this build on right now, however I will say a lot of Hero builds had problems with GPS, assuming this Modaco 2.2 isn't different.

P.S. Is that my user.conf I uploaded a few pages up ? :D
[G1 Android Development] ~~Tito~~:
When I meant swap I meant the read out in the "free" command.

That post was made for something else, but I do appreciate your help :cool::D.
[G1 Android Development] kingklick:
o ok. good glad to hear man :D. are you using swap or compache atm?
[G1 Android Development] ~~Tito~~:
I am redownloading, there is a .01mb difference between the 2.2 on my computer and the 2.2 I'm redownloading. Maybe somethings were missing? :eek:

I wanted to run CC and backing swap with a swappiness of 80 like I do on all hero roms for maximum speed.
[G1 Android Development] kingklick:
Yah, thatts exactly how i run my Hero ROMS... Perhaps. My Backing swap shows up when I use "free" :D
[G1 Android Development] ~~Tito~~:
Hmmm, Hey can you test my kernal patch I made in the previous page? :D
[G1 Android Development] kingklick:
Well I am on 1.5.4 atm, don't really want to flash this one :( sorry
[G1 Android Development] ~~Tito~~:
Ahh, Np. :cool:
[G1 Android Development] ~~Tito~~:
Just to clarify, linux-swap works, but for me compcache doesn't . . . Maybe I should try again now that I got linux-swap working.
[G1 Android Development] citydog5:
compcache support in 2.2 is good but I did have to make a few changes to the v0.1.5.3 userinit.sh file taken from thread - http://xdaforums.com/showthread.php?t=542899 in order to make it work. I can provide the modifications I made if anyone is interested.
[G1 Android Development] ~~Tito~~:
Bring them on up :D.
[G1 Android Development] ~~Tito~~:
I got it working!!!!

CC and backing swap works! All you have to do is flash original rom, then this update.zip!

Link: Taken DOWN See Page 26

Thanks ccyrowski and miketaylor00 for your help!!!

USE THIS ONE INSTEAD OF THE CYNOGENS BFS! :cool:
[G1 Android Development] kingklick:
ooo very nice! that is the kernel patch that would make all of your lives easier :cool:
[G1 Android Development] citydog5:
Assuming you already have v0.1.5.3 userinit.sh and user.conf under the /system/sd folder. Just push the attached files as such:

adb push userinit.sh /system/sd
adb shell chmod 755 /system/sd/userinit.sh
adb remount
adb push a2sd /system/bin

You can simply run the userinit.sh from a terminal to test or just reboot and compcache should work. This is assuming you do have compcache enabled in your user.conf file.

FYI - the changes I made to userinit.sh file was for the insmod, rmmod, and modprobe path from whatever they were to the following:

insmod="/system/xbin/insmod"
rmmod="/system/xbin/rmmod"
modprobe="/system/xbin/modprobe"

I then added the following codes to end of /system/bin/a2sd script to call the userinit.sh file:

if [ -e /system/bin/userinit ];
then
/system/bin/userinit;
fi;

Hope it helps.
[G1 Android Development] ~~Tito~~:
Thanks to ccyrowski and miketaylor00, they where helping me figure out things that where missing and wrong.

Should I make the original rom with the fixes and kernal already in them?

Also, this rom to me seems extremely fast!
[G1 Android Development] prince.siraj:
so compcache and/or linux swap will just work if i flashed this patch on top of 2.2 and then move my user.conf over? i've got compcache running... back on cyanogen's 4.1.10.1 for now.
[G1 Android Development] prince.siraj:
if i wanted to make the cc disksize 0 and memlimit 18 do i push my user.conf to /system/sd or /system/bin?

EDIT: would you call this faster than 1.5.1?
[G1 Android Development] ~~Tito~~:
Faster :D, and pushing it should work in /system/bin.

Just test it out, it is really really fast for me!

CC and backing swap are enabled by default with 80 swappiness. Some other things are changed too, but you can change anything.

Repartition or format then flash the original rom, then apply my update.zip. Then tell me what differences you feel.
[G1 Android Development] prince.siraj:
ok... if you say so... yeah i would rather max out the G1 at 528mhz minimum and also change compcache settings a little... but definitely will do. lol nandroided cyanogen's 4.1.10.1 just in case something goes wrong. although i have like 1.5.1, 2.2 and 4.1.10.1 all on the sd so i've got a full backup in case anything goes wrong ;)
[G1 Android Development] ~~Tito~~:
Mostly everything works like camera sound and contact search and lots of things that would fc don't. I did get some random touchflo fc but I haven't had any in a while so I think its gone. Text correction also works. :cool:

Just post you happenings here.
[G1 Android Development] prince.siraj:
oh ok will do :) starting to get excited about this... if it beats donut then i'm in... cuz donut's way fast and that's about it. if this can get some major performance too then i'm sticking with this.

EDIT: the 2.2 update: what's it called? cuz i got a few different files on the desktop and SD and can't figure out which one's the 2.2... i have the kernel upgrade one though
[G1 Android Development] kingklick:
lol im actually flashing this with the kernel/userinit... ill let you know if I think its faster then 1.5.1/1.5.4 with the correct user.conf settings.
[G1 Android Development] kingklick:
yah post your bugs here, however it seems modaco is out of the G1 Hero scene now for the most part.
[G1 Android Development] ~~Tito~~:
This still needs to be optimized aswell huh? Well if someone does want to pitch in do so :D. It will be so much faster than it is, probably equal the speeds of hero!
[G1 Android Development] prince.siraj:
k cool. um what's the original 2.2 file called? eh nvm i'll just download again to be safe
[G1 Android Development] ~~Tito~~:
Which kernal are you using? Use mine, it has BFS and some fixes that enable compcache for sure.

And, modaco aka:Paul on the modaco forums(one of the admins there) made this post to explain in detail why he is leaving
[G1 Android Development] kingklick:
yup I am going to use the JAC kernel you linked Tito
[G1 Android Development] ~~Tito~~:
Cool, its pretty fast. Just try it with 64mb swap, and don't change the user.conf yet. Test it out. I have already edited the config, but if it doesn't work for you its always there to change.
[G1 Android Development] kingklick:
So the user.conf and userinit belong in the /system/sd and NOT /system/bin?
[G1 Android Development] prince.siraj:
userinit is always in /system/sd... but the a2sd and swap are in /system/bin as far as i know.
[G1 Android Development] ~~Tito~~:
That's where they work in the /system/bin with this kernal.:cool:
[G1 Android Development] prince.siraj:
ok if you say so... booted now
[G1 Android Development] kingklick:
so when i flash the JAC kernel you provided, they belong in /system/bin correct?
[G1 Android Development] ~~Tito~~:
You dont have to add them, I have allready added them in that update. You don't have to do anything other than flash the 2.2 rom, and the JAC kernal update.zip.
[G1 Android Development] prince.siraj:
yes: i opened the zip and it says the userinit, a2sd, swap, user.conf etc are all in /system/bin
[G1 Android Development] kingklick:
o WOW thats nifty bro. So the user.conf is ready to be edited the conventional way with your kernel compilation?

impressive work
[G1 Android Development] prince.siraj:
finally trying this and it's WAY fast... although i will try putting my user.conf tweaking... and see if it makes a difference
[G1 Android Development] ~~Tito~~:
Yep, look through it you will see.

Also can you please turn off led notify in the user.conf I think that's whats causing my touch flo force closes.
[G1 Android Development] ~~Tito~~:
Yes I compiled the update.zip with the help of ccyrowski miketaylor00.

Also, I will have to update the update.zip since this rom is missing the browser! :eek:
[G1 Android Development] prince.siraj:
oh ok lol good one. well hey it's good and running well... now i'm rebooting with my user.conf and seeing if it makes a difference with 40 swappiness and 528mhz min/max clocking... and changing memlimit to 18. it boots way faster than any other hero build to date :D
[G1 Android Development] ~~Tito~~:
Yea I noticed that too. Hows the rom speed?

I also think thats whats causing the touch flo fc.
[G1 Android Development] prince.siraj:
oh ok. well yeah it's way fast. i think you're right on the 80 swappiness... 40 is lagging more... but i'm keeping the higher overclock and adjusted compcache...
[G1 Android Development] ~~Tito~~:
Cool, right now I am testing the update.zip and I have to wipe and reflash since it didn't want to update so it could be a bit before you get the browser working lol.
[G1 Android Development] prince.siraj:
that's fine lol as long as it's running smoothly until then :D just wondering: what is the best cc memlimit setting? 18 or 32?

and also where can i get the T-Mobile APN settings to get this to work... :(
[G1 Android Development] kingklick:
the browser worked fine for me, just didnt get any internet other then wi fi... back to 6.0 twisted we go :(
[G1 Android Development] ~~Tito~~:
I fixed the browser problem!!

And klingkick you might need to install your carrier's apn!! :eek
[G1 Android Development] kingklick:
your right, twisted does have a very fast ROM though anyway, and he has the no wipe updates...
[G1 Android Development] ~~Tito~~:
Fixed Browser

I got it working!!!!

CC and backing swap works! All you have to do is flash original rom, then this update.zip!

Link: See Page 27

Thanks ccyrowski and miketaylor00 for your help!!!

USE THIS ONE INSTEAD OF THE CYNOGENS BFS! :cool:

Fixed browser
[G1 Android Development] citydog5:
I tried to apply the "JACHEROSki Kernal- Update.zip" but got the following error:

E:Failure at line 4:
copy_dir PACKAGE:data DATA:
Installation aborted.
[G1 Android Development] miketaylor00:
Either it didn't download properly or you didn't wipe.
[G1 Android Development] ttc_smokee:
GPS Problems

I dont know if anyone is having gps problems with this build + JACs kernel.

But if you did I just pushed libgps.so from JAC 2.0 to /system/lib. and now it works.

edit: i'll attach the file so you dont have to redownload. just extract the zip.. and

adb push libgps.so /system/lib/
[G1 Android Development] kingklick:
wow, if this really works this is kind of a big deal lol... your sure "GPS" works? like google maps could locate you? Sometimes GPS is "on" but it isnt functioning...
[G1 Android Development] ttc_smokee:
yup like when i first flashed i would turn gps on to no avail, no maps not even gps status worked..

but after I pushed the new lib the gps worked perfectly.. from a cold start it look less then a minute to find my location in google maps.. also works in copilot
[G1 Android Development] kingklick:
wow great job man! Definately going to push this into the next released hero build that doesnt have GPS! :p
[G1 Android Development] ~~Tito~~:
If anyone can confirm I will update the jac update.zip with that file.
[G1 Android Development] prince.siraj:
i can't confirm cuz i haven't used GPS but i would say to rather err on the side of it being useless...
[G1 Android Development] ~~Tito~~:
Going to test right now, I have GPS on but it wont use the gps(Only location triangulation lol). If it works I'll roll that in aswell.

Hows the rom so far?
[G1 Android Development] ~~Tito~~:
GPS works 100% with that file. Going to update the update.zip.
[G1 Android Development] prince.siraj:
i would say snappier =D and working flawlessly. the user.conf is perfect although i go for maxing out the processor... that might not be the smartest idea but i like it snappy. everything is good though
[G1 Android Development] kingklick:
once u do that, i wonder if I could flash the kernel over the one on twisted's ROM....I am currently on his ROM. BTW tito i tried reconfiguring the T mobile APN settings and it still didnt work. :(
[G1 Android Development] prince.siraj:
i can't get it working either...
[G1 Android Development] ~~Tito~~:
Link: Taken down see page 38

Thanks ccyrowski, miketaylor00, and ttc_smokee(for the libgps.so gps fix) for your help!!!

USE THIS ONE INSTEAD OF THE CYNOGENS BFS! :cool:

Fixed GPS
[G1 Android Development] ~~Tito~~:
This isn't rom specific, so it should work.

BOTH:

I got my APN settings to work?:confused:

Did you save the settings with menu, save?
[G1 Android Development] ttc_smokee:
Great glad to hear it worked for you. I'm just glad to finally give something back to a board that's given me so much
[G1 Android Development] ~~Tito~~:
:), that's how a community works, one gives then one takes or one takes then one gives.

Thanks for the fix. :D
[G1 Android Development] citydog5:
This kernel update is not a full rom so I thought I could just apply w/o wipe. If I do wipe/factory reset, wouldn't I lose everything?
[G1 Android Development] ~~Tito~~:
I thought so too when I made it but I had to wipe. Try the new one, GPS is fixed.
[G1 Android Development] citydog5:
I'm currently on 2.2 + cm-4.1.6 kernel. I do want to go JACSki 2.1 kernel if it's much improved performance wise. JACSki 2.1 is newer then cm-4.1.6 even though usually kernel dev is newer/faster on the CM side.

Would it be too much work to come up with just a kernel/modules/libgps update and no wipe? I'm not sure if it's worth the effort if cm-4.1.6 kernel is fast enough but thought I would ask.
[G1 Android Development] ~~Tito~~:
Your going to have to wipe repartition then flash the 2.2 rom then flash this rom, since you have the 4.1.6 kernal. This does improve alot of things, it fixes the no compcache problems, and its blazing fast.
[G1 Android Development] citydog5:
I went the manual adb push and fastboot route and yes the JACSki2.1 kernel is snappier than 4.1.6 and with animation all tweaked to fast almost no lag at all.

The libgps.so also works like magic w/ google map. This ROM looks to be rock stable so far. Thanks all!
[G1 Android Development] ~~Tito~~:
I just turned on the sound for the animation :p.
[G1 Android Development] weid83:
Works beautifully

Works great, has camcorder audio and contact search doesn't fc anymore! Was on 1.5.1 but this feels faster. So far one of the best yet, thanks!
[G1 Android Development] gohaneri:
To have a fastest g1 rom hero based i have to flash 2.2 modaco then ? what i have to do?
[G1 Android Development] Loccy:
Have to say, this is a great combination - Tito's implementation of the Jac kernel and Modaco 2.2.

Did a bit of hacking to get it working on my Magic, as Tito unfortunately broke Modaco's cross-device compatibility - I had to put a init.sapphire.rc in Tito's boot.img. I also decided to ethnically cleanse any sort of A2SD from the startup scripts before first boot (A2SD, I mean, *why*??!). But the job is now a good 'un. My Magic is a better Hero than the Hero now.

The question is, will this be the Hero ROM that stays on my phone for more than a day or two before I revert to Cyanogen?
[G1 Android Development] gohaneri:
i flash 2.2 modaco the nthe tito's update but i have many loading screen of htc touchflo when i return to home
[G1 Android Development] Loccy:
Answer: no.

Just tried calling it twice.

First time, it took about four rings before the ringtone kicked in.

Second time, the call just didn't get through and bounced to voicemail.

This ROM makes a beautiful PDA and handheld internet browsing experience, but unfortunately I need a phone as well.
[G1 Android Development] horrorwolf:
Tried to flash this, but after install, for some reason it will not save or allow me to change APN settings. After menu,save...its shows a blank apn screen and all I can do is reset to the default TelKila APN.

Anyone know whats going on??? :confused: