Need some assistance. - G1 Android Development

I can get root access. I have RC29. I am trying to install the custom firmware.
This is where i am having the problems:
Install JF's ROM
Download JF's RC30 v1.41 ROM for US users or JF's RC8 v1.41 ROM for UK users or JF's ADP1.1 v1.41 ROM if you have an ADP1 to /sdcard and rename it to update.zip (when you are done it should be "/sdcard/update.zip").
Download the modified recovery and unzip it. Place the file "recovery_testkeys.img" in /sdcard
In the terminal you opened earlier (with root access) Enter the following commands in to flash the modified recovery
mount -o remount,rw /dev/block/mtdblock3 /system
cd /system
cat /sdcard/recovery_testkeys.img > recovery.img
flash_image recovery recovery.img
Reboot your phone (completely, do not enter recovery yet or your neighbors dog might die)
Once fully rebooted, power off your phone (hold power and select "Power Off"), and hold down home while you turn the power back on.
When you enter the recovery console (which should say "using test keys" if your modified recovery was flashed correctly) hit "alt+L" and then "alt+S" on your keyboard. This will flash the update.zip file that you downloaded and placed there. If you have any problems with this step you missed something above.
I type in all that stuff in telnet and reboot.
Then when I hold the home button and power on I dont see the "using test keys" I see a White triangle with an (!) in it. and a phone. My phones working fine I just cant seem to get the custom JF rom to install.
Please help me out. Thanks in advace.

is anyone havin this problem?

open your keyboard and push "Alt" + "L" when you see the triangle. You should see a menu, then push "Alt" + "S".

wow, it was that easy... i feel like an idiot. sorry for the trouble...

Related

Step by Step How-To get Modify RC30

I would like to give thanks to JesusFreke who helped me to understand this process !!!! Please show him some love and make good gestures for his work….. Also to all the other people and sites who made this possible including Koush !!! I take no credit for this just posting it to help people like me, who dont know to much about this.
First…. You need to install a google android usb driver so you can use the adb program. (It lets you push and pull files to/from the phone, and you can open up a shell with it to).
Download the driver file (http://dl.google.com/android/android_usb_windows.zip) and
unzip it to the desktop.
On ur G1… Go menu > Settings > Applications > Development then enable the
USB debugging button.
Then connect your Android device via USB. When the Found New Hardware Wizard
appears, you'll be asked if you'd like Windows Update to search for software,
select No, not this time and click Next. Select Install from a list or specified location
and click Next. Select Search for the best driver in these locations. Browse and
select the unzipped file (android usb windows.zip). Click Finish.
Second…. Setting up the SDK
Go to http://code.google.com/android/download_list.html and download the
SDK
Unzip the file to the desktop and rename the folder to sdk
Open your command prompt (Windows Key and R)
Type “cmd” (Without the quotations)
Then "cd desktop"
Then “cd sdk”
Next “cd tools”
Now type “adb devices
After that it should say some thing like… List of devices attached HT845GZ21370
Device. If u see this abd sees your device.
Third…. Writing JesusFreke’s Recovery image
Download the zip file from this thread... http://forum.xda-developers.com/showthread.php?t=443041)
Unzip the files to the SDK tools folder
Now, in the command window, type
"adb push recovery_testkeys.img /data/local/recovery.img"
(This will copy the recovery image files to the phone)
Fourth…. Get Root working on ur G1
Download the Android Telnet Client from the Market or get it here…
http://www.koushikdutta.com/2008/11/android-telnet-client.html
Turn on your phone's WiFi. This gives your phone an IP you can reach it at.
Restart your phone
Once restarted type telnetd at the home screen and press enter – Yes….. it will
start up a Contact search, do not worry about this, just type “telnetd” and press
enter (the enter button on the keypad).
Now press connect to localhost……. (You now have root!)
Now put in this command….
“mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system”
Then “cd /system”
Then “cat /data/local/recovery.img > recovery.img”
Finally “flash_image recovery recovery.img” (Your Recovery Image is now writen)
*To make sure your Recovery Image was written…. Reboot your phone in Recovery
mode and press Alt+L. At the top it should say "using test keys" If so its written. Go
ahead and Reboot your phone by pressing the Home and Back buttons.*
Fifth…Apply JesusFreke’s modified RC30/RC8/ADP1
Go here http://forum.xda-developers.com/showthread.php?t=475381 and Download the ZIP
Now once the ZIP is downloaded rename it to “UPDATE”
Put it on the storage card
Last but not least Power off your G1 and Power it on by pressing the home key and power key
Press Alt+L (to turn on text)
Press Alt+S (to update)
And Bam you have yourself a modded RC30 G1 !!!!!!!!
ANOTHER Step by Step How-To get Modify RC30
Per user- "brandenk"
I think you need root to make the changes which is why you need to downgrade from RC30 to RC29 to take advantage of the root bug.
To downgrade using this NBH file: http://android-dls.com/wiki/index.php?title=Root_For_RC30
To gain root access: http://android-dls.com/wiki/index.php?title=Rooting_Android
To flash the recovery and install modified rc30: http://android-dls.com/wiki/index.php?title=Keeping_Root
Engineering bootloader for G1: http://forum.xda-developers.com/showthread.php?t=455860
Follow those steps, for #2 you dont need to do the beatbox mod and for step #3 use JKv1.3 instead of 1.2, then I added a step, flashing the Engineering Bootloader. Once you do those steps you will be good to go, I did this for the first time ever last night following those directions and it worked for me, and thats with my changes to the process. It took me reading through the directions like 50 times before I tried it but I went slowly and carefully and it went flawlessly.
Complete instructions for RC30 -> JFv1.3
Per "JesusFreke"
"I saw someone post this over on saurik's G1-hackers mailing list, and thought it would be useful to some of you.
It gives complete step-by-step instructions (all 23 of them ) for going from RC30 to JFv1.3.
http://www.webnetta.com/2009/01/02/t...rc30-to-jfv13/
__________________
"Whether You Think You Can or Can't, You're Right"
--Henry Ford
T-Mobile G1 - modified RC30 with root access !!!
Thanks for the step by step instructions. Been looking for something like this!
would i get brick if i unlock it with a code for ATT?
step three link should be the following:
http://forum.xda-developers.com/showthread.php?t=443041
thanks for the walk through
also the link for the modded RC30 is:
http://rapidshare.com/files/162035634/update-RC30-fullupdate-modified-testkeys-v1.1.zip
I did this last night and upgraded to RC30 but the problem is right before I started the original RC30 was downloaded and it was asking me to update my phone but I declined. So now after everything is done, is there a way I could tell if I have the modded RC30 or the original RC30?
will this work even if your phone has already been updated to the stock rc30?
i dont think so. because they patched it
johnny13oi said:
I did this last night and upgraded to RC30 but the problem is right before I started the original RC30 was downloaded and it was asking me to update my phone but I declined. So now after everything is done, is there a way I could tell if I have the modded RC30 or the original RC30?
Click to expand...
Click to collapse
yup "open a command prompt however you like (telnet, adb, terminal emulator app, etc.) and type "getprop ro.secure". If it says 0, then you're running the modified boot image. Otherwise, if it says 1, you're still running the."-JesusFreke
Still at risk??
A bit of a noob here... but check my thinking:
True/False:
1. Flashing the new recovery image will prevent any further OTA updates from being loaded unless they are signed with the test keys.
2. If 1 is true, then Google/Tmobile can still push a forced update to us if they sign it with test-keys?
If both above are true, maybe we need to look at disabling OTA updates altogether?
anyone want to make a how-to for ubuntu/*nix users?
I just tried all this (havent flashed mod rc30) and rebooted into recovery mode and I see:
Android system recovery utility
"Using Test Keys"
E:Can't open /cache/recovery/command
Is this correct? Is it supposed to say "E:Can't open /cache/recovery/command"? When I do "getprop ro.secure" I get 1. I'm afraid to try the flash like this. Im going to leave my phone off until I can figure this out...dont want a forced rc30 or a brick.
Can anyone help me??
xavier6303 said:
I just tried all this (havent flashed mod rc30) and rebooted into recovery mode and I see:
Android system recovery utility
"Using Test Keys"
E:Can't open /cache/recovery/command
Is this correct? When I do "getprop ro.secure" I get 1. I'm afraid to try the flash like this. Im going to leave my phone off until I can figure this out...dont want a forced rc30 or a brick.
Can anyone help me??
Click to expand...
Click to collapse
yes that looks right. you still get a 1 because you still need to do STEP 5. that is flashing with the modified RC30. Looks like you are set up to go. GL
it will always say that E:Can't open /cache/recovery/command i believe. just ignore it.
mack said:
yes that looks right. you still get a 1 because you still need to do STEP 5. that is flashing with the modified RC30. Looks like you are set up to go. GL
it will always say that E:Can't open /cache/recovery/command i believe. just ignore it.
Click to expand...
Click to collapse
ahh...thank you so much for the reply!
UPDATE: performed the update to rc30 and I now get a 0 for getprop ro.secure
Thanks, I just updated to the mod RC30 with a breeze. Anyways, to make sure, how do I confirm that I'm on the modded RC30?
xavier6303 said:
ahh...thank you so much for the reply!
UPDATE: performed the update to rc30 and I now get a 0 for getprop ro.secure
Click to expand...
Click to collapse
congrats...you now have modded RC30
donutman said:
Thanks, I just updated to the mod RC30 with a breeze. Anyways, to make sure, how do I confirm that I'm on the modded RC30?
Click to expand...
Click to collapse
A quote for a quote
"open a command prompt however you like (telnet, adb, terminal emulator app, etc.) and type "getprop ro.secure". If it says 0, then you're running the modified boot image. Otherwise, if it says 1, you're still running the."-JesusFreke
What are the modified recovery image and modified RC30 update? What it the difference? Why the original onces do not work?

recovery not coming up

I have rc28 g1, was trying to install new recovery image to phone. First reboot i held down home and power and released (didn't hold down till i got recovery triangle....forgot)
Now I hold down home and power together but recovery doesn't come up.... just loads the phone (phone works fine). Recovery screen did work before, I restored phone to defaults before activating.
If i hold down camera, the three colors screen does come up.
Be kind and help a bro out...
thanks
If you still have root, just reflash the recovery.img
1. Extract recovery.img from RC28 update.zip or get modified recovery.img
2. Copy recovery.img to the microSD using usb mount or external usb reader. Make sure to unmount the usb device before disconnecting.
3. Get root prompt somehow (telnetd+Telnet.apk or adb)
4. Do the following:
Code:
# mount -o remount rw /system
# cd /system
# cat /sdcard/recovery_testkeys.img > recovery.img
# flash_image recovery recovery.img
5. Turn off the phone completely by holding down red button.
Recovery should now work. Hold down Home+Red until it appears.
got recovery back
I guess its important to unmount usb before ejecting.
thanks jashsu

Rooting G1 Help.

Hi. I have tried the tutorial on this site (http://forum.xda-developers.com/showthread.php?t=442480) and a different one (http://www.telesphoreo.org/pipermail/g1-hackers/2009-January/000291.html), but I can't get it to work. I always complete the tutorial with no errors or such, but when I finish, it still says I have RC29. If there are any common mistakes people make, or a different tutorial I should try...I would appreciate any help basically.
Thank you very much!
Edit: I rethought this, and my problem actually is not with rooting. It is with the section "What to do know that you have root". I can't get it to update to RC33.
EDIT 2: I found the problem, when i do the thing where you hold home and power "e:can't open /cache/recovery/command" comes up at the top of the screen.
What exactly are you doing after you are rooted?
Answer
I do this step:
Now that you have root, you will want to apply "Hard SPL" to your phone. HardSPL is what will allow you to apply flash images from other regions (like UK on US phones, and vice versa), create full backups of your phone, install the latest build from the Android source, and usually resurrect your phone if it is "bricked". You have already downloaded the file to your SD card, so now you can apply it.
1. Power off your phone.
2. Start up in recovery mode by holding home and pressing power.
3. You will now enter recovery mode. You should see an exclamation.
4. If you do not see a menu on screen, press Alt-L to show the menu.
5. Press Alt-S to apply the update from the SD card.
6. After the update is complete, hold Home and press Back to restart.
And now, the last step! You are still running an old version of Android, but you want to upgrade to the latest and greatest update! You can do this, and not lose root by downloading modified versions of the updates.
First, choose a modified image from the list below:
ADP1.1: (md5: bacc58302e0b239d66c7bcc8db6c434b)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/01/jesusfre...mages-are-out/
RC33: (md5: f24b6c237775147cb4bc42efc2393973)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/02/new-rc33...om-jesusfreke/
RC8: (md5: de2d0d34adbb4015ee3aa5e4e7ca3c07)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/01/jesusfre...mages-are-out/
1. Download the image.
2. Rename it to update.zip.
3. Copy it to your phone's SD card.
4. Turn your phone off.
5. Start up in recovery mode by holding Home and pressing Power.
6. Press alt-W to wipe your device. (You need to do this, or the device may hang at the flashing Android screen)
7. Press alt-S to apply the update.
Click to expand...
Click to collapse
There are no errors or anything that I experience during it...I just go to about phone after and it still says RC29.
If you want to upgrade to the newest RC, you'll need to download one of the links from the last two "sections" (below)
ADP1.1: (md5: bacc58302e0b239d66c7bcc8db6c434b)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/01/jesusfre...mages-are-out/
RC33: (md5: f24b6c237775147cb4bc42efc2393973)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/02/new-rc33...om-jesusfreke/
These are the files that would upgrade you to RC 30/33 , ADP1.1.
Once you download the file, save it as update.zip.
Turn off the phone, and hold the Home key when you turn it back it.
When it boots to the bootloader, go ahead and update your firmware. It'll change to whatever RC you choose when you get back to the UI
Thanks...
Thanks...but the reason I posted it is that I do the steps you listed, and it still says I have RC29.
The only thing that might help is "e:can't open /cache/recovery/command" comes up on the screen (when you press home and power)
Are you sure you followed the previous instructions (prior to upgrading to RC33/30)?
For example,
1) mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
then you need to make sure you correctly flashed the recovery image.
try putting in the recovery image again, and re-flashing (step 3: flash_image recovery recovery.img ) as root
Thanks, I think I'll try starting over. Is there any way to erase what I have done on my phone so far? Or if I start back on step 1, will that not matter even though I have already done all the steps?
Just type off here what you see in:
Settings > About Phone
Firmware Version = ____
Kernal Version = ___
Build Number = ___
Just need to know, so I can tell you were to approximately start again from.
Regards,
Firmware Version =
1.0
Kernal Version =
2.6.25-01843-gfea26b0
[email protected] #6
Build Number =
kila-user 1.0 TC4-RC29 115247
ota-rel-keys,release-keys
clefky10 said:
Firmware Version =
1.0
Kernal Version =
2.6.25-01843-gfea26b0
[email protected] #6
Build Number =
kila-user 1.0 TC4-RC29 115247
ota-rel-keys,release-keys
Click to expand...
Click to collapse
Ok thanks. Start from the bold:
Instructions:
1) Download recovery.img and copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone's SD card).
2) Download the Hard SPL and copy the zip file to the SD card.
3) All files must be on the root of your SD card.
4) Restart your phone. Wait for your phone to start up fully and show the home screen.
5) After your phone starts up, type "telnetd" and press enter. (Yes, it will start up a contact search, don't worry. Just type it.)
6) Download an Android "Telnet" application from the Market and connect to localhost.
7) If you connect successfully, you will have a root prompt "#".
8) Type the following into Telnet (these commands will give you root access easier in the future):
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img
Thanks, I'll update with the results.
Edit: I do not extract the file, and I should leave it named update correct?
Thank you so much for your help!
Sounds good. If any errors come up (beside Can't open /cache/recovery/command) lemme know.
EDIT : Correct. Leave the file zipped
Btw : Make sure that you have recovery.img on the SD card also, as you'll need to when you flash the image.
My mistake - I should have just said start it all over again.
Here are the steps I did
Download recovery.img and Hard SPL (still in zip format) to sd card (all I did was drag them into the E folder in my computer).
Safely remove and reboot phone.
Type in telnetd enter.
Go to telnet and type:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img
I had two ## in front of each line.
I then turned off phone and did the home and power button thing, then pressed alt s.
Downloaded RC33 from http://android-dls.com/forum/index.php?f=24&t=241&rb_v=viewtopic
Turned off phone after safelty removing.
I then put this on the sd card and did not delete the other two files currently on there (I named this update.zip).
Then did the power button home thing after I turned off phone and pressed alt s.
Then turned phone back on and had the same things in about phone that were their previously.

Multiple Update.zip's? Is it possible?

I like to change theme roms a lot, Sapphire Google Build/HTC Build and JF1.41 RC9/RC33
But i have to put the roms as update1, update2 etc and then rename then before i flash them
I was wondering is there a way maybe a code n the recovery terminal to flash an update.zip not called update.zip
Just a suggestion
iirc, you can specify the update file to flash from the terminal, but i may be wrong; i'll have a look for the command, it's on this forum somewhere.
Echo "boot-recovery
--update_package=SDCARD:foldername/update.zip" > /cache/recovery/command
Reboot phone and hold power + home
Replace foldername with directory of desired update
SDCARD must be uppercase
beagz said:
Echo "boot-recovery
--update_package=SDCARD:foldername/update.zip" > /cache/recovery/command
Reboot phone and hold power + home
Replace foldername with directory of desired update
SDCARD must be uppercase
Click to expand...
Click to collapse
Just a note that this method does not currently work on the Haykuro builds because the reboot command is "not permitted!"
That is why you must do a manual reboot. As soon as the screen goes black press and hold power + home until it starts the recovery console. It works if you follow that proceedure.
Or alternatively boot to the recovery console press alt+x then enter the commands at the prompt and then type "reboot recovery" without quotes at the end.
just use a file manager to rename before reboot

{HOW TO}[root][recovery][roms][unbrick][LG OPTIMUS NET][LG P690]

HII GUYS THIS THREAD IS ALL ABOUT LG P690:-
FIRST
/////////////////////////////​ROOTING:-​/////////////////////////////​
Code:
http://forum.xda-developers.com/showthread.php?p=21348926
2)Custom Recovery for LG Optimus Net - Clockwork 5.0.2.7
DOWNLOAD ALL THESE FILES:-REQUIREMENTS​FLASH_IMAGE
RECOVERY IMAGE
ADB RUNNING
http://developer.android.com/sdk/index.html
The Recovery can be installed as follow:
•Download recovery.img from the link attachment
•IMPORTANT: Check MD5SUM - This is to ensure that during the download / copy the file is not corrupted
•Copy recovery.img to the SD
•download Flash_image, unzip and copy it to SD
Now you must install the recovery through ADB (the commands must be entered one by one in the shell, waiting a couple of seconds between one and another.
Code:
$ adb shell
# su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
# cat /sdcard/flash_image> /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
# flash_image recovery /sdcard/recovery.img
# reboot recovery
Note: the command
Code:
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.
WILL GIVE YOU SOME ERROR IGNORE IT
If all goes well, the menu with a cheerful hat ClockworkMod background confirms that the boot recovery occurred in CW.
Also ignore the error below: "E: bad boot message" is not a real error.
The recovery functionality is simple:
- The volume keys to scroll
- The back button to go back
- The power button to select a menu item.
If you have problems, you can select Advanced / Error Reporting. This will generate a log into SD (recovery.log). You can use it to understand the problem.
/////////////////////////////
[HOWTO] Flash original firmware on P690
http://forum.xda-developers.com/showthread.php?t=1483192
[HOWTO] Flash DOWNLOAD firmware on P690
http://forum.xda-developers.com/showthread.php?t=1483180
/////////////////////////////
///////////////////////////////
[ROM] DarDroidXD_0.3 [LGP690]
http://forum.xda-developers.com/showthread.php?t=1483206
//////////////////////////////
This guide works 100% , just used it now waiting for custom recovery to download.
Majestic36 said:
This guide works 100% , just used it now waiting for custom recovery to download.
Click to expand...
Click to collapse
Doesnt work for me, recovery just freezes at the LG screen
Need to understand what is recovery and custom installation
May I know what is Custom Recovery for LG Optimus Net - Clockwork 5.0.2.7 and what it do?
and what is installing cyanogenmod 7.0 is it a custom rom and is it better then stock rom?
Hi guys,
I have problem. I rooted my LG P690 and installed CWM bootloader. During installing custom ROM my phone bricked and rebooted after LG initial picture. I was able to enter only RECOVERY MODE by pressing PWR+BACKARROW+VOL_UP. But that was all, I couldn't also repair phone through HDZ_FW_UPD.exe , because problem with USB drivers. I tried everything, but without success. But I was able to connect to phone via ADB commands, downloaded update.zip, added it near fastboot.exe file, run fastboot and install that update.zip. I removed SD card to other phone, connected, uploaded some CyanogenMod 9 and moved SD card back to LG P690. Now I was able to enter BOOTLOADER (BUT I DON'T REMEMBER COMBINATION OF BUTTONS DURING SWITCHING PHONE !!!), and installed CyanogenMod9. Everything looks OK, but after rebbot and entering new Android OS my touch screen isn't working. I don't know why, but I think that problem is in that CyanogenMod9 version - it doesn't recognize touching screen. It reacts to pressing Vol UP/DOWN buttons (setting volume), pressing BACK button or long pressing PWR button. But that's all. I can turn off the phone by remobing battery. When it's ON and I connect it via USB, I cannot use ADB.exe or FASTBOOT.exe commands because PC donesn't recognise device
So now the question - how to enter bootloader during power ON sequence? I tried all combinations:
- pressing and holding PWR+VOL UP
- PWR+VOL DOWN
- quick pressing of VOL UP
- quick pressing VOL DOWN
- pressing PWR+BACK+VOL UP
- pressing.....and so on and so on
I don't know why I cannot access bootloader becasue before I did it without any problem....Can you please write me detailed "butto n sequence" for entering bootloader on LG P690 Optimus Net? Or am I LOL?
Thank you very much
Rado
SOLVED -> entering bootloader works with pressing HOME+VOL_DOWN+PWR_ON

Categories

Resources