yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] snowhk:
Excuse me. I'm just a newbie and going to buy a G1. You said G1 may be bricked during update without a PVT board. How can I check what the board is to avoid? and what's HardSPL?? Thanks a lot.
[G1 Android Development] milesukaoma2010:
Are you formatted to FAT32?
[G1 Android Development] elzee:
Youneek thanks for your reply,

Always at the step where I have downloaded the dreamimg file to the SDCard > shutdown the phone > then restart it holding the camera and power on buttons.

The grey 'bootloader' screen comes up, does a configuration check then flashes up the "not allow" message and dumps to the multi-coloured screen. At that point I have to pull the battery out to restart.

I'm going to go out today and purchase another SDCard. This one is a Sandisk 1mg card and I've read that certain Sandisk cards will not comply with 'rooting' instructions.

Cheers, elzee
[G1 Android Development] elzee:
Yes.

I'm going out to buy another SD Card to see whether it makes any difference.

Cheers, elzee
[G1 Android Development] whitemonster:
I have most of the important tutorials all up at 1 spot... includes all this and also how to do your splash screen and more... check it out... scan the barcode for the url... (no spamming now :P)... enjoy! plenty of files for everyone....
[G1 Android Development] willworkforart:
Yes, I had a replacement phone just sent to me and I had to re-root last night - so yes, I tested and it was perfect.
[G1 Android Development] PeDe7:
im kinda confused on how to partition my sd card... i dont get the whole 8166 if i have an 8gig bcuz my sd card is a 7.5 so how do i go about the whole partitioning thing??
[G1 Android Development] youneek:
You have to figure out how large your card is and then do the math. If in doubt, always shoot for less.

For example, according to google:

7.5 gigabytes = 7680 megabytes

8 gigabytes = 8192 megabytes

I have an 8 gig card but mine was only 8166
[G1 Android Development] phillipbroberts:
Slow, force closes, freezing

Hey guys... I am fairly new to this phone stuff, although, know linux and have some pretty good technical background.

I flashed my phone with the JACHero 2.7.4r2 ROM, very nice ROM, however, my phone is slow as can be, freezes up periodically, and I am getting a ton of Force Closes. I have a class 6 SD Card, and even bought another class 6 SD Card thinking the problem might be that, however, I am still seeing the same problems.

Any suggestions, hints, idea's?

Thanks,

pbr
[G1 Android Development] PeDe7:
thanks for the help i appreciate it alot
[G1 Android Development] 3rob3:
I just cannot get this to work. I think the problem is at step 16 (When the yellow sign appears click alt+s on the keyboard. When it's finished hit Talk, Menu and Power to reboot the phone.) The progress bar never goes all the way, it reboots and I see a quick flash that looks like a memory chip, another reboot and quick flash that looks like a white box, then another reboot. It then goes into Android but just doesn't seem to have root.

Any ideas?
[G1 Android Development] turboyo:
How do you delete a typo in console!! twice ive messed this up trying to partition i keep making a typing mistake
[G1 Android Development] chevycowboyusa:
No Root?

When your phone boots up, go into your app drawer. Run terminal/telnet if it is there. if so, type in "su" (without the quotes) wait for a few and you should get a screen that pops up and will ask for root permission. select always allow.

when you are in terminal, the first cusor symbol is $ when you type su it will turn into #.

if you can get that, you have root.

sorry if this doesnt help, i have not tried this method yet.

@turboyo there is supposed to be a "better terminal" that will allow you to delete and use the track ball. I cant remember where I found that though. "Search button..." Lol
[G1 Android Development] chevycowboyusa:
Your Welcome!

Your welcome.

How did it go for you? I have a friend that is going to root his g1, and this thread looks a lot easier than when I did mine...
[G1 Android Development] chevycowboyusa:
Fix_permissions

Look on the first page of the rom your using, (yours is a rom related question) and it might say something about fixing permissions. I always read the most recent posts in the thread of the rom im using, and searching for key words usually helps.

try this

reboot phone into recovery and go into console alt-x

press enter

type "fix_permissions"

type "reboot" (no quoatation marks needed)

good luck
[G1 Android Development] sillyshy:
Instead of using the ROM provided in the insturction's JFC can I use another ROM like cyan?
[G1 Android Development] 3rob3:
Thanks for your help. Spent 3 1/2 hours last night trying and retrying this and the other root how-to. I never got a pop-up asking for root permission, everything i typed there was "permission denied". It was a really frustrating night to say the least.
[G1 Android Development] :
I want to thank youneek for his great job, this is really a helpful thread ! I tried flashing JacHero rom without it, unsuccessful. After following this guide, it works ! ^^

3rob3=>When following step 16. Did you hit alt+S or did you hit alt+L ( the command that show the menu) then alt+S. In my case, when i first tried to root the phone I had only hit Alt+S, and what arrived to you exactly happened to me. Right after, I tried Alt+L then Alt+S and that worked ! Hope it will help ^^
[G1 Android Development] chevycowboyusa:
3rob3

Did it work? The post above this one should help...

Good luck!
[G1 Android Development] 3rob3:
Yeah, I tried the Alt-L also. It showed more info after Alt-S'ing then told me to Home&Back to reboot. It would reset itself a few times then boot to the home screen. Either it didn't actually work, or there was some other problem when I went to Terminal.

Could it have anything to do with me being unlocked (and on AT&T)?
[G1 Android Development] :
No, unlock have nothing to do with it. Mine was unlocked (and on Bouygues Telecom) before doing all this.

Have you tried to redo all from the start ? If yes, i don't know what you can do..
[G1 Android Development] youneek:
Yes, you can install whichever rom you like. Hero has some extra steps that other roms don't but I change which rom I use almost daily to test out everything people come out with. If you were running hero before another rom, I recommend using the tip at the bottom of the first page that says how to wipe your ext partition BEFORE flashing another rom. Otherwise you will get stuck in boot loops.
[G1 Android Development] :
3rob3 => I just start following the guide from Radio flash so I don't know if it comes from the root part.

Try following this one to root your phone :

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

Here is a video if you need it :

http://www.youtube.com/watch?v=tS9l2XVG0iY
[G1 Android Development] grlddawkin:
stuck

im typing telnetd and it continues to say tenet not running
[G1 Android Development] chevycowboyusa:
Phone software

It really doenst matter what provider you are using. Your playing with software that controls the hardware. it's like changing windows versions. has nothing to do with the network provider.

so you have jf 1.5 on the phone now? what is happening exactly now?

when you type in terminal and you type SU, what happens? or can you get that far?

Download a telnet client app from market, and try again.
[G1 Android Development] bored2nite:
problem

could my problem be (the reason it can't find the image (update.zip)) is beacuse i have WinRAR and it greats a rar file or a gz file instead of a zip???

cause when i download an inmage and rename it to update.zip or just update it won't find it, and this is my only possible explanation
[G1 Android Development] chevycowboyusa:
zip zip zip....

It's a good possibility... (If possible) Plug your phone into your computer and select mount on your phone. open windows explorer and look at your removable drive (your phone sdcard) find the update.zip and right click on it and select properties from the context menu. it should state the full file name. Like "update.???" you might try to re-download the file... and make sure there are no spaces in it like "update .zip" (that got me once)

*also CM Recovery 1.4 you can flash any zip file without renaming it! An absolute plus!!!

Good Luck!
[G1 Android Development] MUSICMOGUL:
I followed all these steps on partition sdcard and i got the cynogen recovery...ok....now i get to where im in the console and i type the first line command (enter)....next print....sh: print file not found...or something like that what am I doing wrong I have root and I have jf 1.51 if thats any helpful info...NNEEEDD HHEELPPP:eek:
[G1 Android Development] ThR1LL:
I followed a different guide here on xda that didn't involve the root.apk Does mean I'm not totally root?
[G1 Android Development] chevycowboyusa:
This is on the opening page....

Please carfully read the opening pages of these threads.

They usually have the answer to your questions right there.

And please try to search first.

This is from the opening page!

this is for an 8 gb sdcard

press enter... (from recovery console)

parted /dev/block/mmcblk0

print (to verfiy we know what size card we are dealing with. Mine was 8166 read below if yours is different)

rm 1 (if you had more than 1 partition you would want to rm them as well)

mkpartfs primary fat32 0 7622

mkpartfs primary ext2 7622 8134

mkpartfs primary linux-swap 8134 8166

quit

upgrade_fs

reboot

if you can go into the terminal app and type SU and it turns the cursor from a $ to a # then you have root.

Good Luck!
[G1 Android Development] MUSICMOGUL:
i have a 1gb card (i know it's not much but i would still like to partion it...) I read the steps very carefully and im aware that this is for an 8gb card but is there not a way for a 1 gb...?
[G1 Android Development] MUSICMOGUL:
and i have windows vista 64 bit
[G1 Android Development] ThR1LL:
Thanks for clearing that up for me. I seem to have used one of the only guides that doesn't seem to use the root.apk and got scared lol

Just change the numbers around. I partitioned my stock 1GB card fine. I think my numbers are something like fat32 0 728, ext3 728 991, and linux-swap 992 1016
[G1 Android Development] chevycowboyusa:
1 gb card is ok

Seems that sdcards differ slightly. The print command will tell you how big your card is.

I have a 16 gb (this was crazy, but worked)

When you get the nuber from the print command, do the math.

Subtract 32 mb from that number for linux swap, then 500 mb for your ext2, the rest is fat32.

Or you can use the same numbers as ThR1LL and you should be golden!

I did a 512 mb card just for fun. Now its a rescue card.
[G1 Android Development] fabioccoelho:
HTC Dream G1

Hi all, i have a doubt. My HTC have a Firmware 1.5, kernel version 2.6.27-00393-g6607056, build number CRC1. What´s RC i can download? RC29 for US or RC27 for UK?

Best Regards.

:)
[G1 Android Development] youneek:
Which version of cyanogen are you running?
[G1 Android Development] youneek:
Try just naming it update instead of update.zip
[G1 Android Development] youneek:
No, you probably just did the steps manually. This helps automate some of it.
[G1 Android Development] youneek:
Are you in the us, or the uk?
[G1 Android Development] sillyshy:
OTA updates

If I install over the air updates using t-mobile software updates will I have to re do the whole hero install?
[G1 Android Development] :
I don't post that often, though i read alot on here. I had to reply to this wonderfully written how to, it is the best i have ever seen on the subject.

Well done to the OP.
[G1 Android Development] fabioccoelho:
So, i´m from Brazil.

Sorry, i don´t know what cyanogen. I buy my G1 last week (in Brazil), and my phone have two languages: Germany and English.

My G1 are original settings.

See my image.
[G1 Android Development] bored2nite:
thank you thank you thank you thank you

thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you

see it was one thing to get the newest and coolest thing for the g1 just for fun (i have a windows phone, a blackberry 8900, and a g1)

NOW that i finally got Hero up and running, am i the only one noticing that Hero rom takes the cake against every one. I don't need the touch pro 2 anymore, this has facebook, twitter, exchange and htc touch flo design all built in one fantastic user friendly rom.

WOW

thank you thank you thank you thank you thank you thank you thank you once again for this work thru little bumps in the road but it worked great!!!
[G1 Android Development] 3rob3:
Thanks for the updated instructions! After starting over I was still stuck. Flashed JF 1.51 and everything now works!
[G1 Android Development] chevycowboyusa:
OTA after root

After you have rooted your phone, and modded it with the hero ROM you will not, (as i know of now) receive OTA updates.

I don't get OTA notifications any more since I flashed a rom different than the Cupcake build.
[G1 Android Development] Rockstar_Mentality:
Help

Im not sure if this goes here, but I recently had superhero v3 and switched to a cyanogen 3.9 rom with hero theme. I would like to go back to hero, would i just delete the update file and replace it with the v3 file and rename/apply or do I have to take any extra steps.
[G1 Android Development] chevycowboyusa:
CM-recovery 1.4

If you have updated to the new cm-recovery 1.4 image, you only need to put the file (v3) un-renamed in your root dir on the sdcard (unless you ADB) and boot into recovery, wipe first, fix your file system, then select flash any zip file. And you should be good. Go read the http://xdaforums.com/showthread.php?t=523558 very good info!

This is a relly great thread guys! Great work compiling @youneek!
[G1 Android Development] youneek:
I think I'm going to re-write the whole thing using as few steps possible. Has anyone heard of a wiki for this stuff? It would probably save this forum from all the questions and let the dev's make some progress... Maybe I'll put one up on g1upgrade...
[G1 Android Development] bored2nite:
quick question

so i don't want to mess my phone up by any means so this is why i am asking, i am going to the store as we speak to pick up a 8gig sdHC card. from experience i can only imagine a high capacity card would make this run smoother, cause the 1 gig isn't doing the job.

What i need to know is, what part of the process do I need start at, when bringing in a new card. At the partioning, or further back? (remember i have already gotten Hero on my phone)

Second question, what is peoples consensus on the linux swap the higher the better or keep it at 32??

Thank you in advance, hopefully i have an answer when i get back :)
[G1 Android Development] youneek:
Just make sure you get a class 6 sd card. That's what will make it faster. They are also releasing a new hero today that should be MUCH faster.

Once you have the new SD card, you just need to partition the card and install hero.
[G1 Android Development] bored2nite:
and....

i got that message a little to late lol.... i got a class 4 didn't know, so big difference between a 4 and 6???
[G1 Android Development] SCqt4U24:
i'd be able to do this if i didn't have the CRC1 build with firmware 1.5

i keep looking for a thread to help me get past this because everytime

i mount the phone to my computer and go to right click 'format'

it disconnects me completely.
[G1 Android Development] tuto0503:
nice tut very helpful and easy to follow
[G1 Android Development] youneek:
So i just did the whole process with a brand new g1 and got it rooted. There were a few things I had to do...

1.) I couldn't format the card on the computer because it would disconnect instantly. I just ignore this step and continued on.

2.) I had to install JF because of the permission issue before cyanogen.

3.) Instead of doing the radio, spl, hero, etc seperate I put them all on the card and used the new cyanogen option that let me select which to install first. I did them in the right order and it worked great.

4.) First time I installed hero it was in a boot loop. I went back, fixed the ext using cyanogens recovery, then re-installed the update. Everything working smooth...
[G1 Android Development] bigchi2000:
whenever I try to download the rom to my partitioned sdcard it tells me that the file is too deep... what does that mean?? and whenever I try to copy the update directly to my sdcard, it needs to be reformatted which will erase my partitions, where did I go wrong?
[G1 Android Development] youneek:
The files need to be in the base directory. Don't put them in folders, etc.

Which step are you on?
[G1 Android Development] jakeyywales:
problem partionting sd card

hey i live in the UK

ive used loads of different Roms and trying to start a fresh to get my g1 to work faster

i cant partion my 2Gb sd card

i have got cyanogen recovery 1.3.1

when i enter "print" after typing "parted /dev/block/mmcblk0", it comes up "Error: /dev/block/mmcblk0: unrecognised disk label" :confused:

help would be much appreciated.

thanks
[G1 Android Development] bigchi2000:
I'm on the very last step, sdcard is partitioned fat32/ext3/linux-swap on a 4Gb sdcard, ready to flash JAChero 2.7.4 to my G1, downloaded it, renamed it and cant place it on the root of my sd... "path is too deep" or "error in I/O", somebody HELP!!
[G1 Android Development] youneek:
@jakeyywales Install the latest version of cyanogen and try again.

@bigchi2000 Did you use ums_enable to mount your phone for transferring the files over? There shouldn't be any other files/folders in there if you just partitioned everything.
[G1 Android Development] jakeyywales:
thanks for your reply

but the same thing is coming up :/
[G1 Android Development] bigchi2000:
yea tried that too, my laptop froze everytime midway thru, with the same error of path too deep or error in I/O, tried using the sd adapter and my laptop tries to format the card, making it impossible to copy the update to my partitioned sd... so close yet so far
[G1 Android Development] fabioccoelho:
"Error - Not Allow"

Hi all...

I try flash DREAMING-RC7 and DREAMING-RC29 but, both display this on update screen:

"Error - Not Allow" :(

My SPL = 2.22.19.26I

My Kernel = 2.6.27

CRC1

White Android G1.

Somebody know resolve this problem?

Regards.
[G1 Android Development] jakeyywales:
solved

ive solved it by switching memory cards.

thanks anyway :)
[G1 Android Development] fabioccoelho:
Hummm....my sdcard have a 4GB class 4.

What´s sdcard you switch? Say me please.

Ah, my phone is made by germany, because my keyboard have germany settings.

Regards.
[G1 Android Development] bigchi2000:
Will this work?

Since I couldnt add Jachero to my partitioned sdcard I added it to another 1gb sdcard and flashed the rom to my phone, unmounted the sdcard, and put the partitioned sdcard in, noticed that apps2sd isn't working and the rom is laggy, but will this work? are there ways to now tweak apps2sd now that my phone is up and running? Or should I start over?? <<<<<< noob
[G1 Android Development] youneek:
That means your card is not formatted right.

Go to the recovery console and enter "parted /dev/block/mmcblk0" without the quotes, press enter, type print and write the results here. Type quit to leave parted and reboot to restart the phone.
[G1 Android Development] bored2nite:
i feel like a little kid at a candy store

and it is loading up the rom as we speak... updating DATA... im super stoke u guys collabin is like superman and batman lol u figure out who's who
[G1 Android Development] bigchi2000:
I partitioned it right im sure of it, first time around, print gave me back my 3 partitions and their sizes, quit, recovery reboot, then my card either needs formatting by laptop or path is too deep by way of ums_enable, just figured it out, thanks bro, my sd card is corrupt, tried it wit another sd card and the file transferred easy....thanks again
[G1 Android Development] msff:
First of all, thanks for the great guide!

My first time flashing a custom rom and everything went fine.

But, ive had the latest JAChero for few days and it runs VERY slowly.

So, i want to go back to lets say "CyanogenMod [UPDATED 8/4 - v3.9.6]"

Should i start the whole process again and just flash the cyanogenmod instead of JAChero?

What kind of preparitions before this? like formating SD-card for example?

Thanks for the help!
[G1 Android Development] jaron7_11:
I'm getting a error saying that the closest location we can mange is 512kb to 65.5kb. I have a 8gb sd that is total 7948 and I changed the numbers and I get that error when I type in the first primary what do I do
[G1 Android Development] youneek:
I just ignored the error on my last SD card.
[G1 Android Development] youneek:
If you don't like the speed of hero (should be WAY faster with the latest version) you can try http://xdaforums.com/showthread.php?t=543621 instead. That's what I've been running the last couple days. Very fast.
[G1 Android Development] msff:
Yeah okay I might try that rom.

But I was hoping to get a little bit more spesific answer about

What to do now BEFORE I try to install any other rom.

I have the 1.4 recovery, newest SPL and Radio.

And my sd card partitioned to fat, swap and ext.
[G1 Android Development] jaron7_11:
After that error came up it asked me yes or no and I hit yes and it said poration to big/small?
[G1 Android Development] NeoBlade:
You're all good to go. Just download the ROM and slap it on the root of your SDCard. Boot into recovery mode and select "update from any zip" and pick the ROM you've just copied over and flash it.
[G1 Android Development] youneek:
The very latest one is much faster. Tested on a friends g1 and it was the fastest yet. No matter how much they optimize hero, it will still occasionally lag because it was designed for a phone that has twice as much ram. If you want to speed it up a bit, remove all the htc widgets. The weather widgets use the most memory and make things hang so try only adding the widgets you think are necessary.
[G1 Android Development] youneek:
I uploaded a new copy of the latest hero to http://g1upgrade.com/update.zip it's not listed anywhere on xda yet, just on drizzy's twitter feed. This one is EXTREMELY fast for hero.
[G1 Android Development] youneek:
The latest hero is LIGHTNING FAST! I am very very surprised at how fast it is. It is faster than my friends stock cupcake. Every once in awhile it lags but overall it's impressive!
[G1 Android Development] vcivilen:
After the 3nd steps in root.apk, then reboot, press Home + Power, my phone returns in rainbow and:

DREA100 PVT 32B

HBOOT-0.95.0000

CPLD-4

RADIO-1.22.12.29

Sep 2 2008

Serial10

I cannot press alt-L or alt-s

Please help me.

Thanks,
[G1 Android Development] OFinch:
I have a question that hopfully someone can help me answer. I have been hearing soo many different ways to wipe the ext3 when flashing a new ROM.. which is it. this is how I do it.

# mount -o rw /dev/block/mmcblk0p2 /system/sd

# cd /system/sd (this is the one thing left out. what does it do?)

# rm -rf /system/sd/*

# reboot recovery

BUT below is what I keep seeing people do.

mount /dev/block/mmcblk0p2 /system/sd

rm -r /system/sd/*

reboot recovery

the bottom code is what this article tells you to do. is the top one working?
[G1 Android Development] tramane:
GREAT Tutorial!!
[G1 Android Development] captsammy:
Problems running the tutorial. I go thru fine to these steps

When I try to start the phone holding home + Power I just get an exclamation point in the triangle.

Rinse repeat.

I try to start telnetd, but I dont think something is right. I hit enter, then enter, type telnetd, telnetd is spelled out in the contacts, hit enter and I dont see anything that suggests anything happened.

If I dont finish this fast wont the phone update itself?

Thanks for the help.

OOPS!! I didnt read far enough to see the "yellow sign" part. User error, trying to move on, sorry for the inconvenience.