yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] sisterchick:
FYI...this ROM is no longer under development. You will not find an all-in-one-here-is-how-to-do-everything set of instructions. And frankly, have you ever heard the expression you will catch a lot more flies with honey than with vinegar??

That said, here are some basic instructions. You will still have to do some of your own looking and learning.

The OP says:

Requirements:

SPL: 1.33.0013d (hboot)

RADIO: 2.22.27.08 / 28.25

EXT 4 PARTITION

What does that mean? You need to install SPL 1.33.0013d and radio 2.22.28.25. Instructions are here: http://xdaforums.com/showthread.php?t=831139

Your SD must be formatted with an ext 4 partition to flash stock FBL (or you will get a boot loop). You can either do that in recovery or with GParted on your PC.

The stock kernel with this ROM has a battery drain problem. Many are flashing either ezterry's or farmatito's kernels on top after installing the ROM. You can find farmatito's kernel here: http://xdaforums.com/showthread.php?t=1010932 Be sure to get one for Froyo, not Gingerbread.

So, once you have your radio, SPL and SD ready to go, download the ROM and your kernel to the SD card. Reboot into recovery, flash the ROM and the kernel back to back and restart. To enable App2EXT go to Settings/Extras/Application > Allow moving > Install Location > sd-ext

Good luck!
[G1 Android Development] azrash:
this is the link of the email .apk, push it to system/app

edit: file is attached here View attachment Email.apk
[G1 Android Development] edward0119:
i am using the laszlo 5.2-modified by chinese guy.

everything is fine but one question,when i get into the contacts,the phone number shows as 1-000-000-0000,not 10000000000.

it brings some trouble to me,I tried to change the langue,but it did't work.

Does anyone know how to solve it?

Thanks!
[G1 Android Development] ExDr:
How to change color of call details (time of call, duration etc) which are available by tapping record in call log? Color of type of call is white, but details are black.
[G1 Android Development] golfslicer:
Thanks that helped, got it working.
[G1 Android Development] drjat:
i am already running this rom and having problem with battery drain. if i want to flash farmatito's kernel.....what would be the process?
[G1 Android Development] azrash:
you have already highlighted it;), and it has been stated a few times. download the kernel .zip file, put it to sd. reboot to recovery, nandroid backup first, then flash the kernel .zip file
[G1 Android Development] drjat:
is that nandroid+ext backup or just nandroid?

do i need to restore this backup even if the new kernel is flashed without problems?
[G1 Android Development] azrash:
if you have apps in sd-ext partition, do a nandroid+ext. doing a nandroid backup is just as a safety if you feel like reverting back to the original kernel.

hence after flashing new kernel, no need to restore nandroid.

but if you prefer the original kernel, restore nandroid.
[G1 Android Development] golfslicer:
So if i use farmitto kernel in your link, both froyo kernels are discontinuied. Do i use one of those since i don't see anython else but gingerbread kernels that are recent.
[G1 Android Development] sisterchick:
Yes, use the non-BFS Froyo kernel.
[G1 Android Development] golfslicer:
Thank you very much, I got it all installed. Did get a FC from the market the first time, is this normal. Thanks for the help.
[G1 Android Development] DorianX:
Have the same problem, help us please
[G1 Android Development] sisterchick:
Market is routinely a little flaky for me from time to time. Not ROM specific. Might not hurt to fix permissions. You can do that either in terminal emulator or in recovery. In recovery, choose Fix Application UID Mismatches. To do it terminal, open terminal, type SU, allow super user, then type fix_permissions and let it go.
[G1 Android Development] sisterchick:
Do you have a theme applied - or have you applied a theme in the past?
[G1 Android Development] ExDr:
No theme have been used at all, only "reset UI tweaks to default" was performed after first boot as recommended by OP.
[G1 Android Development] DorianX:
I don't have any theme applied it's a fresh installation, I think it's something on phone.apk, contacts.apk, maybe something on framework-res.apk?
[G1 Android Development] DorianX:
Same here.....
[G1 Android Development] askrulous:
I have a magic 32b/192mb ram with a 4gb sd card, and wondered if somone could please tell me the ideal set up regarding sd card partitioning with regard to this rom.

Should I have 0 swap, 32 or 64 etc, etc.

Any advise or tips would be much appreciated.
[G1 Android Development] d12unk13astard:
Tbh this rom runs perfectly fine without any swap or CC enabled, I only partition my sdcard to have apps2ext. Size of the ext only depends on if you plan on installing lots or little apps/games(usually 512mb is more than enough)

I'm sure others will tell you to use swap or cc but it really just depends on what you plan on using the rom for.
[G1 Android Development] askrulous:
Thanks for your reply. Mybackup tells me I have about 140 app items, plus I have a couple of map apps which take up a lot of space. I've actually gone with a 192mb swap this install just to see if makes any difference - I guess I can change it in settings so not major prob
[G1 Android Development] mrtausif2004:
how to change boot animation... because i want to use my own custom boot animation...???
[G1 Android Development] azrash:
rename your custom boot animation .zip file to bootanimation.zip.

push it to /data/local/

or you can use a simple script than you can run in gscript or terminal. put the bootanimation.zip at the root of sd card. useful if you like to change the boot animation frequently

cp /sdcard/bootanimation.zip /data/local/
[G1 Android Development] sisterchick:
Since Froyo, some have said that more than 32 MB of swap will actually slow your phone down.
[G1 Android Development] mrtausif2004:
this time it worked....thanks
[G1 Android Development] sisterchick:
I'd say it is in framework-res. I currently have a theme installed and don't have any text/background color issues in the call log. To retain the stock look, I'd recommend using the Minimal Green metamorph theme and see if it doesn't fix you up. See www.sisterbird.com/android-themes
[G1 Android Development] d12unk13astard:
192mb swap is too much, i'd suggest using either 32mb or 96 and setting swappiness real low around 10-30. I like using firerats AIO patch and using options 2,4,10,11 for when I plan on installing lots of apps/games without taking much; if it all internal space. I'd also reccommend auto memory manager to keep things speedy!

That AIO patch can be found in this development thread probaly 2-3 pages back def read up on that.
[G1 Android Development] askrulous:
Lol, I can confirm 192mb of swap is way too much - my magic froze then wouldn't go past the magic screen when I tried to reboot it. I'll try no swap now....

Update: Reflashed rom with no swap and it seems to be the best option

Its wierd but mybackup accessed root and did a restore no problem, yet titanium says it can't as I haven't rooted my phone...I know I don't need ttm with mybackup, it just bugs me when something like this occurs.

.......Simple delete and install from market fixed the titanium issue.
[G1 Android Development] ZaneChua:
I found a way to run a script on every boot for this rom. Apparently laslzo has done this for us. Just place your script named userinit.sh in /data/local. The script will be loaded on boot. For instance i loaded the memory script from : http://xdaforums.com/showpost.php?p=13977709&postcount=1642

#!/system/bin/sh
# Values are given in 4k units!
# Foreground App, Visible App, Secondary Server, Hidden App, Content Provider, Empty App
echo "2048,3072,5120,7680,10192,25600" > /sys/module/lowmemorykiller/parameters/minfree

Code to check if the above script is working

cat /sys/module/lowmemorykiller/parameters/minfree

I have confirmed that this works. Thanks to tom0769 for providing the original script and the code to check if it's working.
[G1 Android Development] DorianX:
Can I add something like: "renice -18 `pidof com.android.phone`" just after?
[G1 Android Development] azrash:
i have the same question as well. i have tried putting renice -18 `pidof com.android.phone` into the script. and i chmod 755 the userinit.sh after putting it in datal/local/

but once i powered it off and turned it on, the check renice script states that the renice script is not working. any steps that i miss here? or is userinit limited to echo command only?

this is the script that i placed

#!/system/bin/sh
rm -f /data/local/download/*
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
renice -18 `pidof com.android.phone`
[G1 Android Development] b1czu:
I believe that to change priority of some process, this proces must be running. When booting, probably the userinit.sh is executed before com.android.phone starts, so pidof cant take process'es id, and renice cant change it's priority.
[G1 Android Development] DorianX:
How can I check if renice it's working? I want to try this

# this is towards the end of userinit.sh
setPriorityLater()
{
# sleep for 2 minutes
sleep 120

# phone and all processes should surely by up by now
renice 20 `pidof com.google.process.gapps`
renice -20 `pidof com.android.phone`
renice -20 `pidof mediaserver`
}
setPriorityLater > /dev/null 2>&1 &

or this

## conf.
targets="com.android.phone"
target_prio="-18"

for process in $targets; do
count='1'
while [ $count -le 24 ]; do
sleep 5
target_pid="$(pidof $process)"
if [[ ! -z $target_pid ]]; then
renice $target_prio $target_pid	&& count='24'
fi
count=$((count+1))
done
done
[G1 Android Development] azrash:
ah, no wonder. any other way we can initiate these scripts without using an app?

Edit: found a simple way of doing it here, it is a simple approach, all we need to do is put any .sh files into data/local/scripts/ , will report back the result.

this is the script

cat /proc/`pidof com.android.phone`/stat | cut -d ' ' -f 19

if it returns back -18, renice is working. if it returns back 0, it is not working
[G1 Android Development] DorianX:
Thanks! waiting for your results
[G1 Android Development] azrash:
i could not get it to work.

this is the script that i placed

#!/system/bin/sh
su
rm -f /data/local/download/*
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
renice -18 `pidof com.android.phone`

i have tried chmod +x and chmod 755 as well.

anyone has a clue? i will ask darkguy2008 later. in the meantime, we can use an app called scriptmanager from market that can run script on boot

btw @DorianX does the first method of your two scripts works? if it works, i will just use that :P
[G1 Android Development] tuthan:
Hi all!

I notice that my Gmail App is not auto sync, it didn't notify new email like other rom I tried. Any i dear ... I use Gmail alot and i don't want to miss important email. :rolleyes:

Thanks!
[G1 Android Development] Sik-1:
since its now in the market, wen u download it u have to go into settings>accounts and sync>select ur email and make sure the gmail box is checked
[G1 Android Development] rschirin:
excuse me, how can I add a new ringtone for sms and calls?
[G1 Android Development] DorianX:
Nope it's not working... :(
[G1 Android Development] sisterchick:
Two choices:

A. Save to SD card: /sdcard/media/audio/ringtones or /sdcard/media/audio/notifications

1) Create a directory on your sd card called media, with a subdirectory called audio.

2) Inside audio, create subdirectories called ringtones and notifications. Place your mp3 or ogg files there.

B. Push to system/media/audio/notifications or ringtones with ADB.

Either way, reboot after adding the files and the media scanner should detect the files and make them available for selection in your apps.
[G1 Android Development] askrulous:
In case of just wanting stock media - open up terminal emulater, then write 'su', then click return then write 'addons'. Options then appear for downloads.

Just thinking now I have it running smoothly ....what a superb rom.
[G1 Android Development] diskok:
Wow, very fast, really nice lookin ROM too, keep up the good work.
[G1 Android Development] rschirin:
i think it's a great rom but i've a doubt: why the resolution of the screen seems lower?
[G1 Android Development] sisterchick:
From OP:

addons - Can download for You Email.apk, switch fonts to stock aosp/cm, download stock media pack; Requires INTERNET CONNECTION!

changedpi - Allow to change dpi (140,160,180)

switchgallery - Switch Gallery 2D/3D

In terminal emulator, type su, then changedpi. You can choose your resolution from there.
[G1 Android Development] thisishoot:
is there something i could use to make the dpi stay at a certain number? apologies if its been asked already but i havent ran across it yet
[G1 Android Development] thisishoot:
And one more thing, im going to do a clean reflash of the rom but before i do, could i use winrar to extract the rom and replace the apk's and use my own? could someone point me to a link with some instructions if possible. thanks!!
[G1 Android Development] tom0769:
It's not that simple, but far away from beeing complicated.

Here's what you're searching for, i guess:p

http://xdaforums.com/showpost.php?p=5626292&postcount=1
[G1 Android Development] xamievilx:
my clock isn't showing up in the upper right hand corner...just a black empty space...

just installed the ROM like 5 mins ago...everything else is working...

any ideas?

edit: nevermind...just missed it in the first post...all good...
[G1 Android Development] azrash:
or you can flash the rom as usual and change the APKs using adb or using android commander(A GUI approach to adb)
[G1 Android Development] tom0769:
Look at this from the 1st post::D

At the moment color of clock, date and ticker are black after wipe installation to fix it go to Settings/Extras/UI/Tweaks Extras & Reset UI Tweaks to default You don't neeed to reboot.

Sorry!
[G1 Android Development] thisishoot:
yeah i know lol i figured i could add them in and flash right away instead of having to remove apps and add in apps later but thanks though!
[G1 Android Development] thisishoot:
anyone got any clue i tried editing the build prop to display at 180 per this :http://xdaforums.com/showthread.php?t=763772

but it seems to have reverted back to 160 any clue why?
[G1 Android Development] ZaneChua:
Sorry I haven't posted back. I'm not too sure how the loading of the user script works because I wasn't the one who coded it. All I know is that a Userinit.sh place in /data/local will be executed. I have an idea about your script though. Is it possible to code a script to execute another script after a certain amount of "boot" sequence?

@thisishoot

It's possible if you have the apks and they are going in system/app. If they are gonna go in /data, don't ask me. I'm gonna post a short how to and I'm gonna assume you know how to do this.

1. Download the original rom

2. Place your apks in /system/app using winrar and use the "store" function.

3. Download SignAPK

4. Rename the rom to the .apk extension

5. Use SignAPK to sign the renamed .apk rom

6. Once signed rename the extension back to .zip

7. Flash in recovery
[G1 Android Development] bluetop111:
finally I solved the language problem of this rom

I really like this rom, and I want to keep this rom forever for my G1 till I change to another phone. But One thing I did not like was the language problem, and I searched searched many times, and I failed many times, too. But finally I solved the problem. Here is the easy way to fix, and I could fix the superuser problem too.

Go to the terminal emulator

and write su, and then enter.

then write fix_permission then enter.

That's all, then write addons then enter

If you want to fix fonts, then type y for process.

then you can fix the langauge problem easily.

then I downloaded locale apps from market...

Now I can type and I can read Korean.~!!

HBOOT-1.33.0013d

Radio-2.22.28.25

rom- froyobylaszlo-5.2
[G1 Android Development] tman7510:
titanium backup not working

love this rom but when I try to use titanium backup to restore all my apps it runs through but I dont see any of the apps in the app drawer???:confused:

I'm sure there is a simple fix but I can't find one
[G1 Android Development] ldrifta:
does titanium backup also backup the ext partition? sometimes the apps are stored there by default so it might not back them up properly...
[G1 Android Development] tman7510:
titanium backup

Titanium works on every other rom that I have used so I don't think it is an issue. Maybe it is how lazlo is implementing magpie/apps2sd
[G1 Android Development] tman7510:
I repaired my ext partition using ra-recovery and titanium backup works fine now :D
[G1 Android Development] GZFan:
Love this ROM, but there is something strange: My message-app can't count higher then 200.

The thread with the messages to my girlfriend does show 200 now for a week, but we still sent more and more messages... :D
[G1 Android Development] MetaBolic0:
Hi Guys, i install this ROM about 2hours i already search here and i cant understant what is the problem for this: I make a EXT4 partition, i go to"Settings/Extras/Appliacation > Allow moving > Install Location > sd-ext" to active App2EXT, i have a 8Gb card with 64, 1034, rest for FAT-32 and when i use the Titanium Backup Pro to restore all application none of the applications go to the EXT partition and the phne say "Low Internal Battery" the only applications on "SD-EXT" in application manager is Titanium Backup and More Locate 2 that was the ones that i download from market!

What im doing wrong can some one explain me plz?!

BTW: I use More Locate 2, i install stock fonts, i put my Location as Portugal but i steal have the phone in English some one knows if is possible put it in Portuguese?

Thanks in advance
[G1 Android Development] Maxamillion:
Are you sure you have an ext4 partition? If not ur going to have to repartition your sd card with an ext4 parition
[G1 Android Development] DorianX:
Go to message-app, menu, settings, unselect: (delete old mesages), enjoy more than 200! :p
[G1 Android Development] MetaBolic0:
I format the G1 again, i use Ohsaka-SuperWipe_v2, FastBoot Reset, Wipe all from Amon RA just to Sure, then i made partition of my SD like that: Swap-64MB, EXT2-1524MB, the rest FAT32, after that i put EXT2-EXT3 and after i put EXT3-EXT4.

Zip the ROM from SDCard and Copy for it the files that i backup on PC, then i turn on the phone, make sync with google, i set the SD-EXT location on Extra in settings and install Titanium Backup and Set Portugal (that goes to SD-EXT), i make restore application from Titanium Backup and for 2 times my phone reboot and now again says:"Low internal space"

On SD Card & phone storage settings i have:

SD Card

Total-6,11Gb

Available-4,42Gb

SD-Ext

Total-1,34Gb

Available-1,24Gb

Internal phone storage

Total-91,75Mb

Available-9,83

So i need put all application on SD Card with Titanium Backup?! Or i need install all again from market?!

Some one know what could be the problem!?
[G1 Android Development] DorianX:
If you have too many apps on your backup the most probable it's when apps are restoring dalvik-cache becomes full (this is internal memory) you should try "Firerat 'all in one' patch" options: 2,4,10 to move dalvik-cache to sd-ext also to "increase" internal memory: "Firerat custom MTD Partitions" "mtdpartmap.txt 75 2" (I have 70 2 but i delete some system apps)
[G1 Android Development] MetaBolic0:
Well i did that but the problem keeps the same when i try to restore or install more them 4 or 5 aplication on same time they dont go to SD-EXT and the phone reebot and say "Low Memory" :S

Im trying this ROM in last 48h and is very fast and smoth but i think my battery drain faster then when i use BifMod 2.1.1.
[G1 Android Development] Inceptron:
I rebooted this morning, and for some reason I can't turn airplane mode off, it just says enabling wireless connections, and if I go back to home, and then to wireless/network settings again, it just shows the airplane mode ticked with 'enabling wireless connections' no longer appearing.

I tried repairing my ext4, fixing apk mismatches, and fix_permissions in recovery (and in terminal emulator with su), but none helped. Everything was working fine earlier.

Logcat here

I've also been constantly getting problems with this ROM (and others) while running the 2.22.28.25 radio with 1.33.0013d hboot on a Rogers Dream, like bootloops occuring after a week of using the rom.
[G1 Android Development] d3adbroke:
Is there any way to get this running on my HTC magic 32a with 3.22 radio
[G1 Android Development] Dukenukemx:
I have the same problem. I went from 100% to 60% in 4 hours, and I did the usually settings to conserve battery life. This sucker drains power like crazy, and I haven't even used it for phone calls, just from idle.

As a G1 owner, would installing pershoots kernel help in battery? It's such a fast rom, I'd love it to be conservative in battery life.
[G1 Android Development] Dukenukemx:
For some reason, files come up with boxes in the file name in Estrongs file Manager. Anyone else getting this problem?
[G1 Android Development] johnson8cyl:
Orginal AOSP/CM font pack: http://goo.gl/w1z82

Orginal AOSP media folder: http://goo.gl/eE6Cm

FAQ:

Q: How can i enable App2EXT?

A: Settings/Extras/Appliacation > Allow moving > Install Location > sd-ext

Q: Can i remove LauncherPro FREE?

A: Of course You can, just go Application settings and remove it as any other app! Remember to have a replacment!

Q: I've setted over 614 MHz and my G1 stuck at bootscreen/currently menu!!

A: Reflash ROM.

Q: I have boxes instead of text!

A: If You don't like it, you must to manually replace the fonts. Posted above.
[G1 Android Development] cloths55:
Hey thanks for the cook! Runs smooth with mtd and I like the mix of gb with the froyo.
[G1 Android Development] MattDrumz:
This ROM is actually one of the best for me as far as battery life goes.. I do have a MT3G though. Whenever I connect my phone to my computer, I reboot my phone afterwards. You've probably already heard of that USB charge bug already, and I'm not quite sure if that bug is even in this ROM.

I would at least try that though, if that could be the problem.
[G1 Android Development] plumppp:
can you upload the kernel and attach it to the first post? :D

or just provide a link? i would like to try it with the 307 nighty
[G1 Android Development] falcaraz:
Anybody else having trouble with ROM manager? It just won't run no matter what. I've uninstalled and installed over and over again but no dice. Wipe and fresh install don't work either. I'm using pershoots kernel.

*Nevermind I figured it out*
[G1 Android Development] :
Actually, this problem seems to have cropped up around the .35 build of the linux kernel. Multiple forum posts show anecdotal evidence of users flashing a .34 kernel and getting back older battery behavior.

I'd like laszlo's opinion on this.. do you recommend flashing of a .34 kernel on top of this ROM? If yes, any particular one. I dont want to lose the performance that this ROM provides.
[G1 Android Development] bluizzo:
How do you replace the fonts manually?

Sent from my HTC Dream
[G1 Android Development] LuckyJ26:
I can't wait to flash this rom. I was going to wait till Biffmod comes out with an update but that doesn't look like it's going to happen so I'll flash this one instead!
[G1 Android Development] paradix:
French fresh user!

Hello,

I will have a HTC Dream this evening and I prepare the update to have a nice phone! Because of my new situation (first Android device ever!), I have a question : when you mention a "EXT 4 PARTITION" prerequies, what do I have to do? I format my SD card and what else?

Also, is it possible to add french location to your Rom?

Congratulations and thanks a lot!