SD Card Reader Bad! - G1 Q&A, Help & Troubleshooting

I recently dropped my G1 from a fairly high location, luckily it still works (for the most part). It seems that my SD Card reader is malfunctioning. I have tried 3 different card 2 x 1GB & 1 8GB card, I've gone through all three cards making sure they are recognized by the PC and have reformatted them and still nothing. I've also tried taking out the battery for awhile and restarting the phone with no SD Card and then inserting a card after the phone boots, no luck. Also I have not been able to mount from console, so I'm left to believe that the reader is toast. I believe I can get my phone replaced from T-Mobile using their warranty service, but I am apprehensive about sending in a phone that's been modded. So I'm wondering if it is possible to restore the original SPL and software without a SD Card, possibly using adb or some other method?

is there no physical damage to the case from the fall? If there is tmo will call it abuse and call the HTC police.

No, no physical abuse from the fall, I had purchased the body glove case that surrounds it and it did it's job. Phone still looks new, and the white dot near the battery is still white. So I believe they'll exchange

I'm still tryin to figure this out. I'm thinking that I may be able to do this with fastboot, but the only nandroid backups I have were made with cyanogen roms and themes. Does anyone have the defualt sytem.img boot.img & userdate.img files so I can test this theory??

Unrooting/Restoring G1 Without An SD Card
Well after quite a few hours of searching I ended up successfully Unrooting/Restoring my G1 for warranty purposes without the use of an sd card. I found quite a few posts regarding the same thing, but none with the answer. So I decided to share what worked for me with anyone else who may come across the same problem. My terminology may not be exactly proper but bear with me.
*** I take no responsibility for what you do with you're phone, theese steps worked for me, but I cannot guarantee you the same resulsts***
*** I had Haykuro's SPL installed and was able to use fastboot by booting into the bootloader using camera + power. You need to have a bootloader that has fastboot either Hard/Engineering/Haykuro (Danger) & be able to use fastboot on your PC, see here if you need help setting up fastboot to work on your PC ***
Some of these steps are redundant but I did it this way because without the use of an SD card I wanted to make sure I still had access to a modified recovery or fastboot incase something goes wrong.
1) Download the necessary files from here
*If you were wise and created a NANDroid backup before you started installing custom ROM's (which I wasn't). You can skip the download and use you're own files.
Nandroid Recovery Folder contains system.img, recovery.img & boot.img from freshly rooted G1
Original Recovery Folder contains just that, the original recovery image shipped with the G1
Original SPL Folder contains you guessed the original SPL
2) Open up your terminal of choice and change directory to ~\G1 Restore\Nandroid Backup\ from the archive you just downloaded
Now run each of theese commands
Code:
fastboot flash system system.img (enter)
fastboot flash boot boot.img (enter)
Optional: This will overwrite your recovery with Cyanogen's Recovery Image, you can skip this if you already have it, or if you are using Amon_RA's and do not want to switch over to Cyanogen's
Code:
fastboot flash recovery recovery.img (enter)
At this point I rebooted my phone to make sure that everything loaded properly. If everything starts up move on to the next step
*Note at this point you still have Cyanogen's recovery and your SPL incase of failure
3) Now that we're happy that the original system has loaded up boot back into your bootloader (SPL (camera + power)) and it's time to overwrite Cyanogen's recovery with the original recovery. Change directory in your terminal to ~\G1 Restore\Original Recovery\
Code:
fastboot flash recovery recovery.img (enter)
Again I rebooted to make sure everything loaded correctly while we still have access to fastboot and can undo what we've done up to this point if necessary.
4) Change Directory into ~\G1 Restore\Original SPL\
Code:
fastboot flash hboot spl.bin (enter)
And now your phone is back in it's original condition minus the sd card reader that has failed and brought you to this guide. So at this point I'd go into your phone's setting's -> SD card & phone storage and choose to do a factory reset to clear all your data and get ready to return your phone
Hope this helps

Related

A few questions about unrooting/wiping

I have a T-Mo G1 that had CM 4.1.11.1 on it and I was looking to upgrade to the newest stable, 4.2.1, using CM recovery 1.4. Something went wrong while upgrading so I decided to unroot the phone. I've read many guides on rooting and unrooting, but something just doesnt seem right to me.
1. When I return to rC29 should Telnet be downloading automatically? Does this mean I still have stored info somewhere in there?
2. When performing tasks in CM 1.4, such as flashing, it prompts me to reboot so I do it. Should I be returned to the recovery screen again after boot every time? I don't remember this happening before...
3. Which update.zip do I use when unrooting, the 177kb (droids on skateboards) or 205kb (red, green, blue, white) file?
4. Can someone give me a guide to unroot and fully wipe with CM 1.4?
Any help is appreciated, thanks alot.
I'll give you the steps to unroot which should answer your questions
1) Flash the stock SPL (the tri colour one). If you have 1.33.2005 (AKA Danger) SPL and you do downgrade to 1.1/RCx YOU WILL BRICK.
2) Flash the RC29 DREAIMG.nbh from the SPL - boot in to it by holding power and camera (it should be tricolour). Telnet should not magically be there, even if it was, doesn't matter
3) Put a recovery image of your choice on the root of the sdcard as 'recovery.img'
4) Flash the recovery image
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, hit the enter key twice, 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
Click to expand...
Click to collapse
After that you can flash the 26I radio then a 1.5/1.6 ROM.
only way i found to unroot completely.. is to go bac thru the unroot process.. then update with an ota.. to remove all root...
unroot g1: http://theunlockr.com/2009/07/05/how-to-unroot-your-t-mobile-g1/
unroot mt3g: http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
*Double post fail*
mrnv45 said:
only way i found to unroot completely.. is to go bac thru the unroot process.. then update with an ota.. to remove all root...
unroot g1: http://theunlockr.com/2009/07/05/how-to-unroot-your-t-mobile-g1/
unroot mt3g: http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
Click to expand...
Click to collapse
He wants to re-root I believe, so not point updating.
RC29 and RC7 aren't root enabled ROMs, they just have security flaws which can be exploited to flash root enabled ROMs. Updating doesn't matter...
Thanks for your help, I'll be able to try this in about a half hour, will report back. As you said after step 4, I will need to flash a "26I" radio?
Had to install Telnet manually. Good to see a sign of normalcy here.
Flashing 26I Radio, HTC Recovery 1.6, and CM 4.2.1. Flash Radio, reboot, HTC, no reboot, CM 4.2.1, reboot. Right?
Tried the above, also tried with a reboot in between the HTC flash and CM 4.2.1 flash, stuck at G1 screen.
I'm still stuck at the G1 screen.
Probably be me next.
Finding myself having to do the same thing, somehow doing the CM 4.2.1.? whatever the last one was. I managed to lose root, be really nice to have a second card right now having to move 8 gigs off and repartition it to make it see the R29 image so i get to do literally everything all over again.
As someone once said, Ah Linux! Its Free! assuming your time is worth nothing. So true, lol. well ill be even better once it all works, if i can figure out what it takes to make it all work ill come back and try to help you out. Looks like mine wont see the image cause of my multi-partitioned microSD card. Not sure if yours is like that too or not, something to think about.
virtually painless
Kind of like virtual reality i guess?
Only gotcha i found in going back and reinstalling the RC29 image back on to be able to reclaim root was that my SD card having being partitioned. would cause it to fail. I would hit the tri-color screen, see a real quick gray flash and a message that vanished as quick as it popped up and then i would be stuck back on the colored screen.
So, i backed up the whole card, followed by
removing all data from the card. then running fdisk /dev/sdg. deleting the 3 partitions, writing a filesystem to the root of the disk via mkfs.vfat /dev/sdg , copying the 5 required files over and proceeding to get root and then recreating the paritions and copying data back over.
Back up and running.
mrnv45 said:
only way i found to unroot completely.. is to go bac thru the unroot process.. then update with an ota.. to remove all root...
unroot g1: http://theunlockr.com/2009/07/05/how-to-unroot-your-t-mobile-g1/
unroot mt3g: http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
Click to expand...
Click to collapse
Thanks XDA - have to do a TMo warranty exchange and this helps greatly.

alternate method to install hercimg.zip?

I am trying to root my phone following the "Rooting ALL Non-Sprint CDMA Heros Stuck On 1.5 From Sprint's 2.1 RUU" tutorial
hxxp://forum.xda-developers.com/showthread.php?p=6142906
I created a gold card, copied the hercimg.zip to the root dir of my sd card, and started hboot with volume down and power.
The phone will unzip the file but once it is done checking it goes back to the menu screen with the following options
[vol up] fastboot
[back] simlock
[home recovery
Now I was able to run the hercimg.zip file once and installed it by hitting [action]. The phone eventually returned to the menu screen mentioned above. It never asked me to reboot the phone by pressing [action].
Thinking that step of the tutorial was done I tried to install a custom recovery image but it wont let me do it. It would fail when I try to push/install from cmd I also can't run the adb remount command.
So now I am sort of stuck. I am thinking if I could get the hercimg to reinstall it would fix my problem. But I haven't been able to find anything.
A side note I am able to still use my phone. As far as I can tell it is still functioning fine. I just don't have any root access.
I also tried re-creating my gold card but that hasn't helped either.
As for the forum link I added xx instead of tt so you can find the tutorial a little easier, as I can't post links yet.
Well I have been looking around and would it be possible to install the contents of the hercimg.zip by running
adb devices
adb shell reboot oem-78
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
I looked and I am already running HBOOT 1.47
and my Radio is 2.42.00.03.10

0028002 Not Allow

I want to root my g1.
i did this steps
1. Plug your USB cable into your computer and then plug your phone in.
2. Mount your SD card by sliding down the notification bar and selecting mount.
3. Go to My Computer and access your SD card.
4. BACKUP ANY FILES THAT YOU WANT ONTO YOUR COMPUTER. VERY IMPORTANT!
5. Go back to my computer and right click on the drive that is your sd card. Click format. Choose FAT32 from the drop down and hit the format button. This removes all data from your memory card.
6. Once the format is complete: drag and drop "DREAIMG.nbh & Update.zip files that you downloaded into the sd card. (DO NOT create a folder or anything, just put it right in the SD card)
7. Unmount your phone by going through the notification bar and then unplug your phone Turn your phone off. from your computer.
8. Press and hold the camera+end key until until you see a screen with colored bars, then let go. This is the bootloader. The screen will turn gray with blue writing on it.
But 0028002 Not Allow problem.
i need a help
sorry for my bad english
thanks
Because those instructions are very us centric.. and maybe a tad dated.
If you have a T-Mobile phone look up androot and installing a custom recovery (re-recovery) this won't require the downgrade and is thus easier/safer. Particular than flashing an out of region rom.
If its not T-Mobile more info on the phone will help.
i'm root my phone with universal androot 1.6.1
what's next ?
i want to cyanogen mod 6. (2.2 froyo)
phone info:
Model Number = T-Mobile G1
Firmware version = 1.6
Build number = DMD64
Well you are at a good point.. rooted and operating just need to break out of the T-Mobile system some to replace everything on the phone..
The following will give you an idea.. but please read it all carefully first or you may find yourself while probably not bricked without a functioning android install.
You will want the following
1) Download and install both the android SDK and fastboot http://developer.htc.com/adp.html#s2
2) Download the flash image tool http://cyanogen-files.carneeki.net/flash_image.zip
3) Download ra-recovery http://rapidshare.com/files/387558152/recovery-RA-dream-v1.7.0-cyan.img MD5Sum: 11ae63afee9813a9b76cb3f7fd5ac2ad
unzip flash_image.zip and put the resulting flash_image in the same place as recovery-RA-dream-v1.7.0-cyan.img
form your computers command line run the following (preferable from the same directory as flash_image and recovery-RA-dream-v1.7.0-cyan.img, some people find it easier that this also be the tools directory adb is contained in but if you are comfortable at the command line this is not needed)
Code:
adb push flash_image /data/local/flash_image
adb shell chmod 755 /data/local/flash_image
adb push recovery-RA-dream-v1.7.0-cyan.img /data/local/recovery-RA-dream-v1.7.0-cyan.img
adb shell
this will now place you on a command prompt on the phone continue:
Code:
su
flash_image recovery /data/local/recovery-RA-dream-v1.7.0-cyan.img
exit
exit
now power down the phone and turn on while holding down the home button you ought to now be in ra-recovery optionally run a nandroid backup and then you can continue to install 1.33.2003
After 1.33.2003 is installed you can either continue the instructions on that link to 1.33.2005 *OR* check out Custom MTD
Once all of that is done its off to http://wiki.cyanogenmod.com/index.php?title=Upgrading_from_CyanogenMod_4.2_to_CyanogenMod_5/6 to install the rom.
can i follow this guide from II) Flashing a Recovery Image ?
http://forum.xda-developers.com/showthread.php?t=727688
because i think its easier than your guide for me
Two things,
1) flashreq expects a root exploit that wont exist on your rom I'm unsure if it will fall back on using su for root
2) if you feel its easier you don't like or are confuses with installing the sdk/fastboot, while there may be ways around it (rom manager comes to mind) if you ever run into trouble in the future you will need it.. once you learn how it works some you will find it easier thank messing with the apk.. as for the shell commands they will be cut copy and paste..
3) I don't recommended rom manager because if something goes wrong and you find yourself without a rom or recovery you will have a hard time getting your phone to boot without a gold card (once the engineering spl is installed 1.33.2005 you can take that route)
--
As I said before your phone is still running the T-Mobile rom take your time and understand the process and options to installing the rom.
My english is bad
i dont understand this post.
what must i do to root my phone now ?

Am I [Bricked]?

Specs:
HTC Dream (G1)
Cyanogen 6.0(package) Had it from Release
Clockwork Recovery 2.5(The one that comes with the cyanogen)
Windows Vista 32bit
List of known facts:
CANNOT normal boot (Stuck at boot logo)
CANNOT boot into Recovery mode (Stuck at boot logo)
USB debugging mode is OFF
CAN boot into fastboot option by holding Power + Camera
If i can still be able to do Fastboot i need a noob guide or something
Because im far from understanding it
when i plug in the usb into my computer, my g1 says "Fastboot USB mode" on
but my computer does not have a single pop up or any devices shown anywhere
Except Android USB devices "MY HTC" found on "Device Manager" in control panel, when i plug in my g1
And if i remove that driver and disable auto device driver installing on Vista..i get "USB Device not Recognized"
I just want to know is there any hope for my beloved Mistress G1 or no.
Thank you all for reading =]
Well if worst comes to worst put the apropiate dreaimg.nbh on sd card and power + camera button and wait whill will bring you back to 1.0 but only do that if you run out of options, as im sure there are other ways of fixing your g1 with going back to 1.0
Thanx alot for actually replying and helping..i had like 20-30 views and NO replies..
Umm yea i figured that was my last option when HBoot kept saying "Looking for dreaimg" on sd card. I really dont mind doing that..
but i much rather learn a better method if possible =]
Ok so i basically used HBoot to get back to 1.0(unrooted)
Please close this and thank you, xda
How to do this without going back to 1.0
I ran into a somewhat similar issue where I was unable to flash stock system images via recovery (key verification problems).
You can use fastboot to flash images via command prompt (if in vista/7 be sure to right click command prompt and run as admin):
fastboot flash recovery recovery-RA-dream-v1.x.x.img
I used the 1.6 HTC Dev System (signed-dream_devphone_userdebug-img-14721) and Radio zip downloads (not the recovery one): h ttp://developer.htc.com/adp. html (don't have enough posts to be able to link url so cut/paste and remove space)
Unzipped the 14721 zip and manually flashed each of the four images to the device.
fastboot flash boot "C:\....\signed-dream_devphone_userdebug-img-14721\boot.img"
and same for recovery, system, and userdata
You can skip a step here by flashing the RA-dream recovery instead of the stock recovery.
If you have a different radio version, you need to rename the radio zip to update.zip, toss it on the sd card, boot into recovery, and flash the radio update zip to the phone.
Remember to wipe both caches, battery usage cache, and restore to "factory default" options in RA-dream before booting into Droid.
You should remember to wipe your caches in this manner every time you flash a new image. This includes resetting to "factory default" (clearing the userdata currently stored) since that one is easy to overlook and often causes things to not work exactly right if you still have data left over from a prior droid install.
It should also be possible to flash cryanogen or other versions via this method, if you have separate image files for each component to use with fastboot (like how the 1.6 dev images I linked to were split into solid .img files).

[Q] Full tutorial to put KitKat on N1. Who wants to test?

Hi all, I wrote a long-winded Tutorial to put Evervolv KitKat on a stock N1. I don't have a stock N1 (I stumbled all the way through this process and got done yesterday, was so excited I wrote this tutorial) and don't know how to get it back to stock, so I'm wondering if anyone who has one and has experience putting new ROMs on other devices would like to test this out and let me know if anything doesn't work as written. Please go ahead if you like and reply your updates! Once it's dialed I'll make it a thread in the N1 ROMs forum.
Here's the text:
How to put KitKat on a Nexus One (And have computing power & space to spare):
Things you'll need:
1. A Windows/Linux computer with internet connection, USB port, and terminal
2. A USB Cable
3. A Nexus One with the most recent stock gingerbread rom (Settings->about, look for Android 2.3.6 or GRK39F, else apply/google updates to get to that version)
Before you begin, note that you're playing with a generally safe form of fire, but when playing with fire, you may brick your phone. The maker of this guide and any sites you visit during the process assume no responsibility, the user assumes full responsibility for lost work and damaged or ruined phones. Your warranty will be voided about six times over. Save all your stuff somewhere, save apps with Titanium Backup (Google it) or something, and do a full Nandroid backup (Goog that too) before you begin. You will be fully wiping your phone and SD card multiple times. Make sure at every step of the process that your battery is at least half full. Running out of battery during an update can cause bricks. In this guide, “Boot” means standard boot, the way it normally turns on. Not hboot or fastboot or recovery.
I did part of this from a Windows7 computer on Cygwin and part on Ubuntu 12.04, each presented some annoyance but by far the greatest was due to my Linux ineptitude with PATH and Root. If you're trying the same, I've made an appendix for that.
It may help to have a brief conceptual overview of what you'll be doing in case you run into snags and have to step out of the walkthrough. Your N1 has a few basic parts: Internal memory that is chopped into 3 partitions: One for the system files (System) , one for the files that they will need to make during the first bootup and use in order to operate, along with your apps and their created files (Data) and one for temporary files that your OS and apps can regenerate (Cache). Somewhere in there it also has space for a Radio (that also includes some critical power functions, flashing a new radio is the easiest way to brick an N1 but we won't), as well as a Recovery partition and an Hboot&Fastboot partition. We will be messing with Recovery and Hboot. The virtual machine that turns all the friendly pseudo-english computer code into 1s and 0s for the processor to deal with is called Dalvik, named after a town in Iceland where some old dev's family is from. It has its own Cache (the VM, not the town, as there are no longer any fish in Iceland ). It's SOP to wipe Cache & Dalvik before and after applying any updates, and wipe Data (Factory reset) before applying most updates. Sometimes when my phone bogs I reboot to recovery and wipe caches just for funsies. This makes it take longer to boot the phone and to use each app just the first time after that, while the files are created fresh. The phone also should have an SD-Card. You should have or buy an 8+MB, Class 10 SD card. The class relates to read/write speed, anything less than 10 will noticeably slow your Nexus One's operation. Why?
Because we're going to put some of your operating system on the SD card. We're going to use a special recovery system (aka recovery ROM) called “4ext” to partition your SD card. Mine is 16GB, partitioned to 14GB for storage and 2GB to use as fake internal memory, where my system's Data and Cache live. The KitKat System files that normally live on internal memory's System partition are too big for a normal N1, so we'll use a special Hboot called BlackRose to repartition your internal memory so you can fit KitKat, and then after you first boot it up we'll use an app called Mounts2SD to install a startup script so that every other time you boot it up after that, it will know to find Data and Cache on the SD card. In order to install BlackRose, you'll need to be running CyanogenMod Rom as your main OS, and in order to do that you'll need ClockWorkMod Recovery ROM. So the installation order will be: ClockworkMod recovery->Cyanogen7OS (Gingerbread based)->4ext recovery to partition SD card->BlackRoseHboot to repartition internal memory->Evervolv KitKat-based N1 ROM-> run Mounts2sd for startup scripts ->reboot to your new life among the anatomically modern cyborgs (and then you're on your own for getting all your apps and music and contacts and stuff back on the phone from wherever you saved it).
Ready? Here we go!
1. Install the Android SDK on your computer.
1. Get the appropriate version here: http://developer.android.com/sdk/index.html
2. Unzip it.
3. Run the setup.exe (if using windows)
4. When asked which packages to install, choose “Android SDK Tools”, “SDK Platform Android 2.1″, and “Usb Driver package” (If you use eclipse, check that last link for instructions on using the ADT plugin (Not the same ADT that cuts your paycheck, much less inept))
5. Make sure the USB drivers installed properly (windows).
1. Go to printers and devices in the control panel, or device manager
2. If you see an android device with no warnings, you're golden. If it has warnings, right click it and go properties->update driver (driver can be found in your android sdk directory where you unzipped the sdk bundle, in \usb_driver).
6. Boot up your N1 and plug it in to the computer. If the computer recognizes it and they play nice, you're set with the sdk. To extra check, open terminal and cd to the sdk's platform-tools folder that should contain the adb utility. Type #adb devices and see if it comes up with a message telling you that it's running a daemon on a port like 5037, and then lists something like HT9CPP800063 device. This is your phone, it's telling you you're beyond connected. You've got the sdk working. Else have your friend Google help you get the SDK properly installed.
2. Root the phone so it will let you dig in.
1. Put your N1 in USB debugging mode (Settings > Applications > Development > USB Debugging)
2. In the terminal, in the platform-tools folder, type #adb reboot bootloader. (((My phone has a power hardware issue and will not reboot while plugged in ever to any mode ever at all ever, if yours does too you can unplug (first type #adb kill-server to make it ok to unplug) the usb cable, power down, wait five seconds, and hold the trackball and power button to power back up into the bootloader, then plug in again. There was a lot of unplugging, waiting fifteen seconds, booting while holding buttons, plugging in, adb devices -ing that I will omit henceforth due to low likelihood that you have the same problem.)))
3. Using the onscreen directions on the phone and the hard buttons, navigate to fastboot mode. It may be unresponsive and throw some not-found messages for five seconds before it lets you do anything.
4. In the terminal on your computer, in the platform-tools folder, type #fastboot devices to see if your devices is connected (it should come up with the same HT#XXX###### number).
5. This step will gain Root access, unlock the bootloader, and WIPE ALL YOUR ****. Now type #fastboot oem-unlock . You may have to accept the warranty voiding. If for whatever reason it doesn't work, use this method http://code.google.com/p/bexboot/, and unzip the files to the platform-tools folder.
6. Using the phone buttons, reboot. Your little lock logo during the bootup should be unlocked now.
7. Power down and boot again for good measure. Re-enable usb debugging in the phone app dev settings.
3. Get ClockworkMod Recovery.
1. Download koush's ClockworkMod Recovery from : recovery-clockwork-5.0.2.0-passion.img and put it in the platform-tools folder.
2. To make sure the file is not corrupted and will not brick your goods, check the md5sum. This is the result of a complicated equation that easily reveals even a single flipped bit in the file by vastly changing the output. Google how to do this, in windows you'll need to download a tool like winmd5free. The output for this particular file should be: md5: 45716c8d51ed2375873f01f0b14b2184 If it's anything else don't use it.
3. Reboot to the bootloader again, either by #adb reboot bootloader or by powering up while holding the trackball, and navigate to fastboot.
4. Verify that you're connected with #fastboot devices
5. Flash ClockworkMod Recovery by typing #fastboot flash recovery recovery-clockwork-5.0.2.0-passion.img
6. It should give a success message. Reboot to recovery from the fastboot menu. It should be a sweet new blue and white ClockWorkMod recovery. Power down and reboot to recovery by holding volume up as you power up, just for good measure.
4. Get CyanogenMod7 ROM.
1. On your computer, go to http://download.cyanogenmod.org/?device=passion&type=stable and download the latest stable CM7 zip. Put it in the platform-tools folder.
2. Check its md5 as you did in part 3.
3. Do #adb-devices, which should give you that serial again, and the word recovery.
4. Place the zip file on the root of your SD card by doing #adb push cm-7.2.0-passion.zip /sdcard/
5. If that last step failed, try running #adb shell mount /sdcard or #adb kill-server then #adb devices then #adb shell mount /sdcard, then try the push again. Or mount the sdcard through the recovery menu before running that push command. Or use your computer's file system to drag and drop the .zip to the root (lowest) folder of the sd card.
6. Using the recovery menu, in backup and restore options, backup your current ROM.
7. In the format menu, do a wipe data/factory reset. Wipe the cache and dalvik cache while you're at it.
8. Back in the main recovery menu, do install zip → choose zip from sd card.
9. Select that CM7 zip file.
10. Return to the main menu and reboot the system. It should come up with a totally different looking leaner meaner version of Gingerbread, that gives you more control and speed and saves battery. But even with this system, given modern app sizes, you'll soon run out of room on the internal memory if you stop now. And besides, you're having too much fun.
5. Get 4EXT recovery
1. Go to 4ext.net and download the free .apk file: http://www.4ext.net/get.php?apk Congratulations if you're about to install your first not market app (apps are now .apk, not just something you get from the store's GUI.). Save it in platform-tools. Or, to be really nice to Max, you can just buy the app in the play store and skip the next two steps.
2. Enable USB debugging, plug in and #adb-devices.
3. # adb install 4EXTRecoveryUpdater.apk. You should get back a success message in a fistful of seconds.
4. At this point you may need to back out to regular settings, turn on wifi, and hook up to your wifi router.
5. Open the 4ext recovery updater app. Go to settings. Allow superuser permissions and everything else. It should detect Nexus One, connect to the internet, and boot you back to the main menu.
6. Go to online install. They're all release candidates and no stable versions, so just go with the newest one. Select install.
7. Wait for it to finish and then reboot to recovery, either by # adb reboot recovery or manually. You should have a beautiful new touchscreen recovery.
6. Partition your SD Card
1. In recovery, go to tools->partition sd card->remove all partitions and start from scratch.
2. For the first Ext partition, where you'll be keeping a good chunk of your OS, The consensus online is not to go above either 1.5GB or 2GB. I'm working fine with 2GB aka 2048MB.
3. You can skip the 2nd Ext partition.
4. The internet says Swap size should be 0.
5. Internet says File system should be ext4. This should do the partitioning, the rest of your SD card will still be great for storage as before.
7. Repartition internal memory using BlackRose:
1. I have never used BlackRose on Windows, but here goes: go here : http://forum.xda-developers.com/showthread.php?t=1270589 and download this zip archive: http://forum.xda-developers.com/attachment.php?attachmentid=1016437&d=1334971685; It has windows and linux files. The site also has a manual in case this walkthrough lets you down.
2. Unzip it into a folder in your platform-tools. Execute it with a ./ in linux or a .exe in win. It should say waiting for devices.
3. Reboot your phone manually. BlackRose should hijack the startup, install itself, and quit. Boot your phone up again.
4. Blackrose is rumored to have an interactive guide to partitioning, but it didn't work for me and at least some other genius on the internet, but being an industrious Austrian, he figured out the fix: Run Blackrose in Editor mode. Type resize as prompted.
5. The post here http://forum.xda-developers.com/showthread.php?t=2540366 on Evervolv KitKat implies that 250MB for System works with enough space for Gapps (Google does not allow their standard apps like Play Store to be included with Mod roms anymore, so you will need to install them from recovery too, but they distribute them bundled so it's not hard.), and some commenter said 260MB, but that didn't work for me long enough to run startup scripts and move some of it off. So I had to redo it and I went with 265MB for System and 10MB for Cache, which is working fine. Give it a name, I went with Kat.
6. BlackRose will shut down, but it will leave a golden turd in the form of a file called hboot_brcust.nb0 probably in the folder called “other.” That's what you want.
7. Put that file in the same folder as the Blackrose utilities fastboot-l and fastboot-w if it's not already there. Then boot your phone into fastboot again, via adb or manually. I think. Maybe try this from being standard booted up if the next part doesn't work.
8. Run # fastboot-l flash hboot hboot_brcust.nb0 . Windozers should use fastboot-w instead. Blackroot will wait for the device again.
9. Reboot your phone into the bootloader manually, by holding the trackball while powering up. The image should install on this boot, resizing your phone's internal memory partitions.
10. Run # fastboot -w. Your Bootloader should be loaded up, with the 1st line saying something about BlackRose and the 2nd line saying 265/10/161. This is how you know it worked. That 265 is where it's at for KitKat. Your main OS had been destroyed, but your Recovery ROM should still work.
8. Install Evervolv KitKat.
1. Go here http://evervolv.com/devices/passion and download the latest stable release. At press time that's the 4.0.0p4.2 version. Save it to platform-tools.
2. Reboot to Recovery from the menu in the BlackRose bootloader.
3. Do # adb devices. Then do # adb push ev_passion-4.0.0p4.2-perdo-squished.zip /sdcard/ . If it doesn't work, try using the touch recovery menu to toggle mount USB, then push, then unmount. Or mount USB, use the computer's file system to move the file to the root of the sd card, then unmount USB. Or try as root if you're using linux.
4. From the main recovery menu, select install zip from SD card → choose zip → select the ev_passion-4... zip. Wait up, it could take a while.
5. Success!! Right? Right. #adb kill-server, you can unplug now and won't need to plug back in! Reboot the phone, you're getting perilously close! This boot could take five plus minutes, or just one, but be patient.
9. Install Gapps.
1. You are such a lucky dog. Gapps bundled updates are available through the Evervolv toolbox. So you can get Play Store and everything else will come easy. Go to settings → wifi, turn it on, hook it up to your wifi router.
2. Back up to settings, and go Evervolv Toolbox → Updates and swipe over to the Gapps section. Tapp the most recent Gapps-kk zip. Tap the down arrow to download.
3. Reboot manually to recovery.
4. From the main recovery menu, select install zip from SD card → choose zip → select the gapps-kk... zip. This could also take a sec.
5. Reboot again! You're almost done! When it's all loaded up, Play Store should now be installed, as well as various google options that you can enable through the Evervolv settings.
10. Install Mounts2sd.
1. Go to the Play Store and get Mounts2sd.
2. Hit the top right corner for application settings. You'll need to install a startup script. Agree, give it permanent superuser status.
3. Reboot.
4. Go back into Mounts2sd, and go to the Tool menu (Wrench). Note that boxes aren't checked unless they're green-checked.
5. Enable the Cache to move cache partition to data or sd-ext. Storage threshold is up to you. Make sureApplications, Libraries, Data, and Media are all checked. Dalvik should stay unchecked, System apps can too.
6. Reboot again.
11. You're done!!! Or at least we're done. You still have to restore your apps and put all that music back on and figure out how to resync your contacts and... Good Luck.
12. If you want to get extra tricky, it's believed to be possible to leave app data on the real internal memory by default, and use Titanium Backup to move the data of most of your apps to the SD-ext, thereby leaving the data of your favorite apps on real internal memory. Use at your own risk.
ENJOY!!
Appendix 1:
Linux PATH env: I put all my android stuff in a file called androidy, so my path to my platform-tools was /androidy/adt/sdk/platform-tools, and my blackrose was in there too. So to set my PATH, I used: $ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sean/androidy/adt/sdk/platform-tools:/home/sean/androidy/adt/sdk/platform-tools/blackrose_120421/binary"
In order to make sure that while using it as root (as was necessary for some fastbot operations), I referenced the same PATH instead of the messed up root PATH, I used sudo env PATH = $PATH a few times.
Appendix 2:
The only actual bug I've noticed in a few days with this ROM is that my Chrome bookmarks don't add shortcuts to the homescreen when I tell them to from within Chrome. The widget-adder (longpress homescreen) has a bookmark option though, so if you bookmark it you can put it on the homescreen from there.
Huge Thanks to everyone involved with ClockworkMod, Cyanogen, 4Ext, BlackRose, and Evervolv!
Sources:
http://wiki.cyanogenmod.org/w/Install_CM_for_passion
http://nexusonehacks.net/nexus-one-...n-how-to-unlock-bootloader-on-your-nexus-one/
http://marian.schedenig.name/2012/07/22/installing-android-4-ics-on-the-google-nexus-one/
http://forum.xda-developers.com/showthread.php?t=2540366&page=24
Wooooh, Amazing book ! Everything is soo.... deep. In my opinion, tutorials should be only few lines.
Some mistakes :
Why installing CM7 and then backing up ? (You can install non market apps without CM7, and when flashing CM7 you erase all user data)
Why using m2sd if the rom has a built-in feature called a2sd ?
Why installing CWM then 4EXT recovery ? (TWRP is a touch one, and you can flash recovery once you have root access)
"You should have or buy an 8+MB, Class 10 SD card" ? typo ?
In my mind, big steps should be :
1) Backup SD, and SMS and Apps
2) Root
3) Install recovery (TWRP is advised by evervolv, but CWMRecovery is OK)
4) Partition SD
5) Install Blackrose (using 260mB system)
6) Flash ROM
7) Flash GAPS
8) A2SD Y N Y
Notes :
About SD-Ext size, i recommend reading this post from his creator : http://forum.xda-developers.com/showthread.php?t=1716124
A2SD is an old version of INT2EXT+
Using terminal is not friendly for beginners. Avoid it at maximum.
Provide a link for a MD5 sum checker.
I don't know if it works with actual stock rom, but when i rooted my n1, i used SuperOneClick. Plug, Click, Wait, Smile. (I still have it if needed)
ldFxl said:
In my opinion, tutorials should be only few lines.
Click to expand...
Click to collapse
This tutorial doesn't need to exist at all. All the information is available elsewhere on the internet, I did nothing original. Its only value is that it puts all the information in full detail in one place so you don't have to look in the forums for elaboration on each line of a more concise tutorial. Hopefully with info this detailed, someone with more chops than me could script it.
ldFxl said:
Why installing CM7 and then backing up ? (You can install non market apps without CM7, and when flashing CM7 you erase all user data)
Why using m2sd if the rom has a built-in feature called a2sd ?
Click to expand...
Click to collapse
I had already installed CM7 when I thought to write this, Marian (my 3rd source) seems pretty skilled as he is the only one who could make BlackRose work for me so I trusted his advice that it was the easiet procedure he found. Have you put TWRP Recovery on from stock after unlocking the bootloader (fastboot oem unlock)? And have you successfully repartitioned SD (fat32 &ext4) from TWRP? If so and you want to quickly write up the steps, I'd gladly replace my steps 3-6, that would save people a lot of time and doing.
ldFxl said:
Why installing CWM then 4EXT recovery ? (TWRP is a touch one, and you can flash recovery once you have root access)
Click to expand...
Click to collapse
4EXT is also touch, CWM cannot repartition SD. If you can go stock to TWRP this might be the best option. Or if not, stock to 4ext.
ldFxl said:
"You should have or buy an 8+MB, Class 10 SD card" ? typo ?
Click to expand...
Click to collapse
Yes! Thanks.
ldFxl said:
Using terminal is not friendly for beginners. Avoid it at maximum.
Click to expand...
Click to collapse
Don't you have to use terminal to use the built in A2SD? At any rate, it didn't work for me (I'm kind of a beginner), Mounts2SD's GUI seemed a little more beginner friendly. Also I certainly wouldn't have been able to make BlackRose work
ldFxl said:
Provide a link for a MD5 sum checker.
Click to expand...
Click to collapse
Good idea
ldFxl said:
I don't know if it works with actual stock rom, but when i rooted my n1, i used SuperOneClick. Plug, Click, Wait, Smile. (I still have it if needed)
Click to expand...
Click to collapse
I once used SuperOneClick on another phone, it looked like it struggled and finally worked with a DDoS style attack, it seemed simpler to just do it the way the manufacturer intended (if that's even a thing). But I suppose if it works with one click it really is simpler as seen by the user. Anyone have a report on whether it worked from stock N1?
Fituate said:
I had already installed CM7 when I thought to write this, Marian (my 3rd source) seems pretty skilled as he is the only one who could make BlackRose work for me so I trusted his advice that it was the easiet procedure he found. Have you put TWRP Recovery on from stock after unlocking the bootloader (fastboot oem unlock)? And have you successfully repartitioned SD (fat32 &ext4) from TWRP? If so and you want to quickly write up the steps, I'd gladly replace my steps 3-6, that would save people a lot of time and doing.
Click to expand...
Click to collapse
On my first flash, i was pretty beginner, so i followed a tutorial ; ) . And they used CWM. But flashing a recovery procedure from .img file doesn't differ with the recovery. TWRP allows you to partition SDCard. I did it last week (on HTC wildfire S, TWRP 2.6 as for N1).
Flashing step is the same -> just replace img file name. You can get it Here (From official TWRP Website)
Procedure from TWRP Website said:
Download the above file. Turn off your device. Turn on the device and keep holding volume down until a menu shows up. Select fasboot from the menu list. Plug the device into your computer. If you have the right drivers installed, your screen should now say FASTBOOT USB. Run the following command via the command line:
fastboot flash recovery recoveryfilename.img
Note that you will need to change the last part to match the name of the file that you just downloaded. This method requires that you have the drivers installed that come with the HTC Sync software that are available here. You will also need adb and fastboot for your computer.
Click to expand...
Click to collapse
6. Partition your SD Card
1. In recovery, Tap Advanced
2. Tap Partition SD Card
3. Set 2048 (MB max) on EXT Size and 0 on Swap Size
4. Tap EXT4 then swipe to start partitioning
Fituate said:
3. Reboot your phone manually. BlackRose should hijack the startup, install itself, and quit. Boot your phone up again.
Click to expand...
Click to collapse
Backrose is a custom Bootloader-> it replaces your HBoot/Fastboot
You don't need to reboot your phone to install blackrose. You just need your phone in ADB over USB, then the win setup will install blackrose.
Once done, run setup again, your phone will automaticaly go to HBoot, then choose 1, and 1 again.
Then enter "resize", "260" and "8".
In case that the installer don't work correctly, you can get flashable HBOOT from [Provide a nb0 (texasice recommend 260/8/168) AND MD5 Checksum]
While googling to find some infos (I don't remember me unlocking my bootloader) I found this guide : http://forum.xda-developers.com/wiki/HTC_Nexus_One/Flashing_Guide
Apperently SuperOneClick does not even need unlocked bootloader on 2.3.3 or previous ...
Isn't what we are trying to write down ?
There are many links pointing to this forum aswell.

Categories

Resources