yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] HagbardCelineII:
Worked perfectly. Thank you!
[G1 Android Development] Impossible:
From what I have read, this is just a different set of system files being loaded on boot.

Using this image, I assume it will not reset my user data. Is this right?

Imp
[G1 Android Development] kunchok:
I'm in the UK and started seeing system update messages yesterday. Installed Jesusfreke's modified RC30 tonight (thanks!) but still getting the system update messages. "About phone" shows Build number kila_uk-user 1.0 TC5-RC7 112931 ota-rel-keys,release-keys.

I know the modded image is running because adb gives a root prompt and getprop ro.secure returns 0.

I'm puzzled that the build number didn't change and nor did the keys.

Have I missed something?
[G1 Android Development] kunchok:
Oops! Actually I hadn't installed the modified RC30 but only recovery_testkeys.mg and boot_nosecure.img.

If I *do* install the modded RC30 will my access to T-Mobile UK be screwed?

What are the differences between UK and US builds?

Thanks

KT
[G1 Android Development] kunchok:
(Replying to my own questions in the hope of helping others here).

According to g1-hackers mailing list

jesusfreke will be creating a UK rc8 modded update very soon (thankyou JF).

UK RC8 combines the fixes in RC29 and RC30.
[G1 Android Development] SGTDavePwnage:
Its already done :)

http://xdaforums.com/showthread.php?t=445544
[G1 Android Development] kunchok:
Debian and Android co-existing on G1!

Fantastic step-by-step guide to running anything from the debian repository on your G1. No reflashing needed, all the programs are installed on the mini-sd card.

Debian & Android together on G1 - Jay Freeman (saurik)
[G1 Android Development] kunchok:
Thanks for the UK update guys. Just rebooting the new image.

(And I need to avoid the 'google effect' of jumping into the middle of a thread without reading the topics list!).

Now for debian ... woo hoo!
[G1 Android Development] badaas:
ok, im a bit lost.

do i just plug my usb into the phone + pc, then just follow the steps with adb, etc.?

i dont need to run telnetd or anything else on the actual phone?

sorry to be a goob, just want to be sure!

thank you for all your work
[G1 Android Development] heldc:
I'm having a problem with installing the recovery image. when I try to su, or mount, I get the following error.

I've tried starting from a root shell, so adb's being run as root on my computer, but I get the same errors. I've got rc29 on my g1. Help please! I'm getting really tired of hitting update later every 5 minutes when I'm using my phone!
[G1 Android Development] neoobs:
Have you telneted in and created the su file yet?
[G1 Android Development] jashsu:
AndroidWiki has the following for the first line of the recovery image instructions:

Is it alright to exempt the filesystem type and device argument?
[G1 Android Development] JesusFreke:
If it works, sure.
[G1 Android Development] jashsu:
Yeah the modded recovery and getprop all worked, I was just curious why you specified the YAFFS2 stuff (as opposed to just letting mount autodetect it). That's another G1 rooted. Thanks for the work you've put into this =)
[G1 Android Development] JesusFreke:
Just different ways to skin the cat :)
[G1 Android Development] heldc:
Didn't know I needed to, hadn't seen that as instructions anywhere. I'll search for it, do that, and see if it fixes it. Thanks!
[G1 Android Development] jashsu:
su is not necessary; you should be root already on RC29 or earlier. Just follow the instructions here or here. There is some speculation that the terminal shuts down shortly after rebooting, either on a timer or because non-command typing on it screws it up. So perform the steps quickly after the reboot.
[G1 Android Development] badaas:
can someone help please?

if i just use adb on my pc with phone usb connected, i get cant create shell output on adb?

do i have to start telnetd from phone boot, then run android telnet client to localhost? then run adb from pc?
[G1 Android Development] neoobs:
yes that sums it up really
[G1 Android Development] humble:
telnetd is a different loop hole by("cd system, cd bin, telnetd, netstats)

then use the ip to connect to a root shell(You need a Telnet program)(and wifi runin)

adb is through the usb
[G1 Android Development] humble:
sorry for the double post
[G1 Android Development] badaas:
o, now im totally confused!

if i just plug usb and run adb:

C:\Android\AndroidMod>adb push recovery_testkeys.img /data/local/recovery.img

error: device not found

???
[G1 Android Development] npace:
Did you install the usb driver?
[G1 Android Development] badaas:
ok, all sorted!

copied the adb.exe + AdbWinApi.dll from the sdk/tools dir to /windows/systems32 sdk: http://dl.google.com/android/android-sdk-windows-1.0_r1.zip

installed usb drivers: http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware

rebooted pc

installed the terminal apk from here: http://www.helloandroid.com/

then follow instructions there to start telnetd

then netstat to get ip

then downloaded 'putty' and telnet into phone [ip + port 23]

then carry out option 5 on page, to copy 'su' to enable root from adb and terminal

go back to adb on pc, run 'adb shell' then type 'su' and you are at part two of the 'how to' in the first post of this thread! phew!

dont bother with the bootimage, use the update zip here which has the modified bootimage: http://xdaforums.com/showthread.php?t=445544

all done!! magic! thanks all for putting up with me not reading everything properly first!!

regards!
[G1 Android Development] jashsu:
An easier method for users who haven't already gotten adb running (for development or whatever) is just to hook up the usb and copy the recovery_keys.img to the microsd and cat from /sdcard.
[G1 Android Development] ohfawkitzlee:
i was wondering if anyone still have the modded recovery image? the file won't download anymore. I am currently running on rc19 and trying flash it to the modded rc30. thanks in advance
[G1 Android Development] jashsu:
Edit: Original post link working again.
[G1 Android Development] adnans:
uhg, i'm failing at this utterly. i set the sdk up in a winxp32 vm, adb device can find the phone, but that's about it. adb shell, push, etc just sit there doing nothing :/

so now i just copied the recovery_testkeys.img over and then telnet'd in to move it to /data/local/ and...

trying to get this done cause my 3 day old phone woke me up to begging me to apply rc30. and now i won't have time to try this again until i get back from work :/
[G1 Android Development] drak0:
adnans, try using 'cat' instead of 'mv'...

check out my post here:

http://xdaforums.com/showpost.php?p=2881470&postcount=24

I did the upgrade from the sdcard instead of using adb
[G1 Android Development] adnans:
i put my laptop together, which is an xp 32 machine, and was able to do it no prob, woot! :D
[G1 Android Development] mr_roboto:
Is it just me or is the original link not working? Anyone have a mirror?
[G1 Android Development] JesusFreke:
I just uploaded it to rapidshare. Link is fixed. Sorry :)
[G1 Android Development] mr_roboto:
Awesome! Thanks
[G1 Android Development] pangsam:
Hi,

I'm new to android and equipped with an un-locked G1 phone. Recently, got a huge billing with roaming SMS chages when i was in Singapore. And then found out it was because of Myfaves service sending a SMS request to 453 regularly. After reading the forum, knowing i can install a UK version in order to get away the Myfaves service.

I've followed "how to install a modified recovery and boot images" instruction. But when doing a "SU" commmand, then got a permission denied message from adb prompt. Help is needed.

Sam.
[G1 Android Development] neoobs:
What RC version are you? If you are on RC30 then you can not do this.
[G1 Android Development] pangsam:
yes, mine is TC4-RC30. Any workaround to remove MyFaves apps. ??

Thanks,
[G1 Android Development] Darkrift:
I wonder if you can block a number somehow so you are unable to send to that number.
[G1 Android Development] pangsam:
any tool and facility can achieve that ??
[G1 Android Development] nlpan:
i try to install the modded recovery image file, and when i try to type in the mount command. it says "mount: not found". what doest it mean?
[G1 Android Development] JesusFreke:
Good question. do a "ls /system/bin". Do you see a mount command?
[G1 Android Development] nlpan:
when i did "ls /system/bin", i saw the mount command in the directory, but it is a symbolic link to another directory "/system/xbin/busybox". i try to copy busybox application to the /system/xbin directory. it says " can't create /system/xbin/busybox: read-only file system. what do i have to do? please help
[G1 Android Development] jashsu:
xbin is cramfs; you can't write to it while it's live mounted.

Did you already install or attempt to install modified RC30 before? busybox is only available for modified firmware.
[G1 Android Development] JesusFreke:
are you sure xbin doesn't already have busybox? If it doesn't then something is wrong :). And you can't modify the contents of xbin at all. The files are stored in a compressed image to save space, and can only be mounted RO.
[G1 Android Development] nlpan:
no, jesusfreke, i don't have busybox in the directory /system/xbin. That is why i can't excute mount command. any solution for it. i know i messed up something big. thankfully, the phone is working fine but no root access.
[G1 Android Development] dorn:
will this work on a phone already updated to RC30 ?

Will this method work on a phone already updated to RC30 ?
[G1 Android Development] momentarylapseofreason:
Use the search button..... damn... not THAT hard to find with 300 idiots asking the same question in their own threads.
[G1 Android Development] tramane:
Im confused, do i need linux in order to get the modded image onto my G1 ??
[G1 Android Development] espinal424:
Help Please

Is there anyway you can do a youtube video showing step by step how to do all this please i am a total noob and have no idea what to do or how to do it. Or is there anyway to call me and explain ova the fone? either way is fine as long as i get this to werk. Thank You :confused:
[G1 Android Development] d0nkey:
even a total newb can handle these instructions... at least i would think so.

its not that hard.
[G1 Android Development] jashsu:
Follow the instructions in the first post under "To install the recovery image onto your phone:" The relevant files are linked at the top of the post. Afterward download the modified rc30 from the other thread and follow the instructions there to flash that.
[G1 Android Development] DizzyV6P:
I'll try to be more specfic, I think I have the same question as aad4321.

I'm trying to figure out where to stick the zipped file for androidmod.zip I have it downloaded onto my computer....I've mounted the sd card, so I can transfer from my computer.

Then where does androidmod.zip go? into the G1 root directory? or one of the sub-directories. Also, do I need to unzip it?
[G1 Android Development] DizzyV6P:
Hmm..this seems to be the best summary :)
[G1 Android Development] ronald11:
installed usb drivers: http://code.google.com/android/intro...devicehardware

C:\android-sdk-windows-1.0_r1>adb push recovery_testkeys.img /data/local/recover

y.img

751 KB/s (0 bytes in 1767424.002s)

C:\android-sdk-windows-1.0_r1>adb shell

$ su

su

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

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

# cd /system

cd /system

# cat /data/local/recovery.img > recovery.img

cat /data/local/recovery.img > recovery.img

# flash_image recovery recovery.img

flash_image recovery recovery.img

#

2. worked
[G1 Android Development] :
Hmm, it seems that the page was removed, yet the download link for the driver still works.

Download
[G1 Android Development] ronald11:
thanks i got it from another forum,

thanks anyways,
[G1 Android Development] ronald11:
no i have RC30 but i don't firmware 1.2v did i miss some ?
[G1 Android Development] vr24:
When typing in the first line "adb push recovery_testkeys.img /data/local/recovery.img"

I just get "error: device not found"

anyone?
[G1 Android Development] jashsu:
Probably need to install the usb driver.
[G1 Android Development] slevin.yu:
Thank you very much!
[G1 Android Development] 3rdGenEfini:
yea im sorry. but trying to just uprage to rc30 with your explaination is very confusing. do ya think you can simplify some of it for me? email is Triadz4life@gmail.com
[G1 Android Development] rynosaur:
Hold up . . . what is your current build? TC4-RC##

Then we'll know whether we can help you.
[G1 Android Development] andyandrwew:
HELP!!

i can not get into recovery mode whats happening
[G1 Android Development] tactics:
ok i have got everything to work i think, when i turn off my phone and press the on key and home key then alt + l it say at the top usein test key E:cant open /cache/recovery/command

home+back

alt + L

alt + s

alt + W

when i pick alt +s

it tells me

E:cant open /sdcard/update.zip

(no such file or dircectory)

and i have installed the usb drivers

and body know why? it wont let me get in to the sdcard
[G1 Android Development] jashsu:
Download the zip file from the first post here. Rename it update.zip (make sure your operating system isn't set to hide extensions) and put it on the microsd. Then reboot into recovery and press Alt+S.
[G1 Android Development] rdfry:
Make sure the file extension has only one .zip after update. If you rename it update.zip it may rename it update.zip.zip
[G1 Android Development] tactics:
silly me it was named update.zip.zip it is installin now lets she if i got it this time
[G1 Android Development] wyinsz:
I replaced recovery partition just by putting modded recovery.img under /system and restart. then I deleted recovery.img under /system, and in recovery mode it always shows "using test keys" and " E:Can't open /cache/recovery/command".

It seems it's not necessary to keep recovery.img under /system ? and I can't find any recovery.img under /system in the original RC29.

I have a backup img for my old mtd2 (recovery), if I want to restore the original recovery partition, just flash that img back, right?
[G1 Android Development] bhang:
if im reading correctly...

I did my mod with the original JF image 1.0? but have since upgraded to 1.2, so my recovery.img is the 1.2 version correct?

or do I have it all wrong and have to redo the recovery.img cause I have an old version?

I have also flashed the dev bootloader

like I said I think its fine but I just want to be sure, im all up-to-date...

bhang
[G1 Android Development] jdwme:
Ok, how do I use this file? I think maybe the problem I've had is my boot partition is messed up since I can't boot into recovery mode
[G1 Android Development] computerkid23:
help plz XDA!!

to install the recovery image is the in CMD or root on the phone? what is (D:)

is that pertaining to the drive im so stuck at this point
[G1 Android Development] slackwaresupport:
have a delima..

ok.. so when i put the .img to /system there isnt enough space left. any ideas??
[G1 Android Development] sergebl:
I had the same problem. I did free up some space by erasing some apps in /system/app
[G1 Android Development] Sk8erAndroid:
):

I keep getting thrown into the SPL mode ( Multi-colored screen )..

I did everything in your post exactly...

Maybe I am getting the last part wrong, where you stated Make sure to place Recovery.img into /system.

If I am correct, you do not show us how to do this?

Do I need to add another command to do this, or is it already done in your steps?

Should I do

adb push recovery.img /system

Thanks in advanced.

PS: Anyone is free to help me with this please.

edit:---

Or is anyone willing to make a step-by-step guide on how I can get this working correctly.

edit2:---

Can someone please help soon? I have a bad feeling that I don't have too many times to deny

the Google OTA Update script. [[ I don't want to loose my root ): ]]
[G1 Android Development] andyandrwew:
Help

ok i cant do any part of this

-first off im srry but i cant even get past the first line

-- i put AndroidMod.zip on my microSD

---then i went into terminal and typed D:\Android\AndroidMod>abd push recovery_testkeys.img /data/local/recovery.img and i get "D:AndroidAndroidMod: premission denied"

(notes:) i am not connected via usb, i have tried many times
[G1 Android Development] bhang:
keep reading before sumthin goes wrong, read on deleting the ota cert. that way you wont get upgraded by mistake, that will give you the time you need to read up on the process...

you dont need adb or to be connected by usb I did mine with a usb micro sd card reader and the term, you use 'mv' in the terminal to move the stuff where you need to, after remounting the fs as RW(read/write) with either the command line or the droid sans tweak app from the market...also its the contents of anrdoidmod.zip you need on the sd not the whole zip.

keep reading your almost there, seems like your just mixing up the different ways there are to skin this cat.

bhang
[G1 Android Development] andyandrwew:
??

can you walk me through it??
[G1 Android Development] Sk8erAndroid:
Nevermind guys, got it working.

Turns out I was booting my phone into Boot mode or some other mode

(Camera + Power).

The correct one was (Home+Power).

Thanks for this guide :)
[G1 Android Development] sawlwin:
How can I install this while the phone is still locked by T-Mobile?
[G1 Android Development] Sk8erAndroid:
Do you have RC29- (or lower) / Modded RC30?

If not, then you can't.

Use this guide.
[G1 Android Development] necromancerr:
i ran the following code;

$su

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

# cd /system

# cat /sdcard/recovery.img > recovery.img

i get error saying "Write:no space left on device"

now when i try to boot into recovery by pressing Home + power button, my phone freezes after tmobile G1 screen. I also cannot reset my phone to factory settings, same thing happens... help please....

even though it said "write: no space left on device" i ran the following code;

# flash_image recovery recovery.img

i had a mod RC 30, and i was using recovery image before, i could easily boot into recovery mode and i saw "using test keys" on my recovery screen. Help please...
[G1 Android Development] sawlwin:
Hi,

I think I have RC-29 or lower. by Refer the following from JesusFreke:

"I've found a way to register the G1 in the initial registration screen that comes up the first time you boot the phone (or after you wipe the phone). It will allow you to register if you don't have a sim card at all, or if you have a sim card but no data plan.

First, You must have either RC29 or earlier, or modded RC30. It won't work with official RC30, sorry. If you don't know for sure what version you have, but you know you haven't installed a modified RC30 build, then the easiest way to check is to reboot the phone, and once it starts up and is showing the "click the android to begin" screen, or the "no sim card" screen, then type the following on the phone keyboard

<enter>reboot<enter>

If it reboots, then you have RC29 or ealier. Otherwise you have RC30."

Now my concern is even if I follow the guide "How to register the G1 without a sim or data plan", will the phone be SIM unlocked? Currently, each time I switch on the ph, it promped me to key in "SIM network unlock PIN".

Does it mean the phone is locked by T-mobile? Am I right? I had contacted them they said they can't give me the unlock code since i bought my phone from eBay, not from their authorized distributor.

Please help!
[G1 Android Development] JesusFreke:
yep. sounds like you flashed a bad recovery image. Plus you didn't really need to flash it. If you were running mod RC30, you already had a recovery image that was using test keys.

just put recovery.img somewhere on your phone. (/sdcard, /data/local, whatever, doesn't matter), and re-flash it with flash_image. i.e. flash_image recovery /sdcard/recovery if you put it on the sdcard. or flash_image recovery /data/local/recovery if you put it at /data/local
[G1 Android Development] necromancerr:
I am trying it right now... i'll let you know if it works.. i was trying to install the themes and dev engineering loader thingy....
[G1 Android Development] necromancerr:
I did the following and it didnt work;

$su

#mount -o remojunt,rw /dev/block/mtdblock3 /system

#cd /system

flash_image recovery /sdcard/recovery.img

when i boot into recovery mode, it still freezes....
[G1 Android Development] jashsu:
Check MD5 of /sdcard/recovery.img. Hopefully it matches one of these:

03eac939d7199e3422594142bac60089 *Recovery/recovery_RC30_xda-dev_v1.1.img

8d055734022496906244b71f849a6b6d *Recovery/recovery_RC30_xda-dev_v1.2.img

3fdf1b45754539229e5bf616c74a164c *Recovery/recovery_RC30_xda-dev_v1.3.img
[G1 Android Development] JesusFreke:
did you get any errors when you ran the flash_image command?

Also, make sure the recovery image isn't corrupted. type busybox md5sum /sdcard/recovery.img

If it's the recovery image from the zip in this thread, then the md5 should be 03eac939d7199e3422594142bac60089
[G1 Android Development] necromancerr:
how do you check that? i dont know... can you please guide me here.. Greatly appreciated
[G1 Android Development] necromancerr:
Its the same one... and i dont get any errors..

i did

#flash_image recovery /sdcard/recovery.img

and i ended up with this

# (just my regular "#" sign)
[G1 Android Development] JesusFreke:
try this:

su

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

rm /system/recovery.img

flash_image recovery /sdcard/recovery.img

then try to boot into recovery mode.
[G1 Android Development] necromancerr:
The one i am trying to flash has this "03eac939d7199e3422594142bac60089 *Recovery/recovery_RC30_xda-dev_v1.1.img"

the one on my /system/recovery.img has none of the above.
[G1 Android Development] JesusFreke:
Wait! I know what the problem is.

Do this:

su

cat /dev/zero > /dev/mtd/mtd1

flash_image recovery /sdcard/recovery.img
[G1 Android Development] necromancerr:
Tried this, and still doesn't work.
[G1 Android Development] JesusFreke:
It's not actually flashing the recovery image, because it checks the header of the existing recovery partition against that of the file you're trying to flash. In this case, you had flashed a truncated recovery image. So the header matches and it doesn't flash.

The fix is to clear the recovery partition first (that's what cat /dev/zero > /dev/mtd/mtd1 does), and *then* flash the image with flash_image.
[G1 Android Development] necromancerr:
when i run this code;

cat /dev/zero > /dev/mtd/mtd1

it says Write: no space left on device
[G1 Android Development] JesusFreke:
That's no problem. go ahead and do the flash_image command now.
[G1 Android Development] necromancerr:
WOW !!! WOW !!! WOW!!!!

it booted into recovery mode.. and using test keys.... it says E: can't open /cache/recovery/command.....

but i dnt think thats a problem it is????

WOW, you are awsome......

Damn i am so happy.... WOW>....just amazed....
[G1 Android Development] necromancerr:
Does this mean that i can try and install Engineering bootloader now?
[G1 Android Development] JesusFreke:
No, that isn't a problem. And sure, you can install the bootloader.

You might also want to grab my latest update :)
[G1 Android Development] necromancerr:
already did, and love the new recovery screen. AWSOME...!!!:):):)
[G1 Android Development] rsfaze:
When I run netstat to get the IP of my phone, I can't figure out which ip address is the phone. I've tried them all with and without :23 at the end of the ip.

Is it going to be a LAN or WAN ip that I'm looking for? Thanks
[G1 Android Development] jashsu:
Just get the Telnet client from Koush's site or Market and telnet into localhost.
[Redmi 9C Questions & Answers] XtremeTHN22:
Hello, I downloaded the redmi 9c stock rom 12.0.10 and there was a flashing error

It was something like Preloader flash error

Now it doesn't turn on anymore, when I hold down the power button and connect it to the computer it recognizes it but disconnects after a few seconds (like 15 seconds or more)

I would appreciate any help, since the cell phone is not mine, it belongs to my brother xd