Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > iPhone, iPod and iPad > Alternatives to iOS and iOS Devices

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 1, 2013, 11:43 PM   #26
strausd
Thread Starter
macrumors 68030
 
strausd's Avatar
 
Join Date: Jul 2008
Location: Texas
Quote:
Originally Posted by Explicitic View Post
You have to extract the .tgz file to get another ZIP file which contains the boot, recovery, system, and userdata images. The bootloader image is in the .tgz archive, while the other images are in the ZIP included with the .tgz.
Extract these and follow the directions:

"1) Make sure your computer recognizes your device by typing: fastboot devices
2) Unlock your bootloader (if you have not already done so): fastboot oem unlock
3) You will see a prompt on your device. This will wipe your entire device (including the /sdcard folder). Accept. Note: you use the volume keys to change the option and the power button to accept. You cannot use the touch screen.
4) Reboot by typing: fastboot reboot-bootloader
5) Flash the bootloader: fastboot flash bootloader bootloader-mako-makoz10l.img (or whatever the name of the bootloader image that you downloaded).
6) Reboot: fastboot reboot-bootloader
7) Flash the radio: fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1700.33.img (or whatever the name is of the radio image that you downloaded).
8) Reboot: fastboot reboot-bootloader
9) Flash the system partition: fastboot flash system system.img
10) Optional (NOT optional for n00bs) -- Flash the data partition: fastboot flash userdata userdata.img Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked. See note 2 below.
11) Flash the kernel/ramdisk: fastboot flash boot boot.img
12) Optional (NOT optional for n00bs) -- Flash the recovery partition: fastboot flash recovery recovery.img
13) Erase the cache partition: fastboot erase cache
14) Reboot: fastboot reboot
15) Done! The first boot will likely take quite a bit longer than you are used to, as Android builds the Dalvik cache. "

Don't skip steps 9 and 10, though. You'll need fastboot and and the correct drivers installed.
I actually opened the .tgz to see what was in it, and I found the .zip you are talking about.

So I tried taking that whole .tgz and recompressing it as a .zip, CWM gave an error when trying that.

Then I tried just the .zip that was inside the .tgz. CWM gave another error.

Then I took the contents of the internal .zip and combined it with the rest of the contents in the .tgz and zipped them up. CWM gave another error.
strausd is offline   0 Reply With Quote
Old Jan 1, 2013, 11:54 PM   #27
Explicitic
macrumors Demi-God
 
Join Date: Oct 2012
Location: Undecided
Quote:
Originally Posted by strausd View Post
I actually opened the .tgz to see what was in it, and I found the .zip you are talking about.

So I tried taking that whole .tgz and recompressing it as a .zip, CWM gave an error when trying that.

Then I tried just the .zip that was inside the .tgz. CWM gave another error.

Then I took the contents of the internal .zip and combined it with the rest of the contents in the .tgz and zipped them up. CWM gave another error.
(NOTE: I downloaded the jop40d build; your file names may be slightly different if you downloaded the other build).
You can't actually flash this with CWM. These are stock images, the images being referred to are the .img files in the archives. They are flashed with fastboot.
Download this file and extract it into a folder (name doesn't matter) - http://forum.xda-developers.com/atta...3&d=1353717141
If you haven't installed any adb/fastboot drivers for your Nexus 4, follow the instructions here to do so - http://forum.xda-developers.com/show....php?t=1992345
Once you have those two things, extract the files "bootloader-mako-makoz10l.img" and "radio-mako-m9615a-cefwmazm-2.0.1700.33.img" into the same folder as the one above (the one with the fastboot and adb programs). Then open the "image-occam-jop40d.zip" file and extract everything in there into the same folder.
Put your N4 in fastboot mode by powering it off then simultaneously pressing the power and volume down buttons. Open a CMD and "cd" to the folder containing all the files. Check that fastboot can detect your N4 by entering "fastboot devices". It should be pretty obvious.
Now, if you haven't unlocked your bootloader, do so by using "fastboot oem unlock." Then follow steps 4-15 in my previous post.
I'm assuming you use Windows btw...but it should work almost the same way on Mac.
Explicitic is online now   0 Reply With Quote
Old Jan 2, 2013, 12:05 AM   #28
Explicitic
macrumors Demi-God
 
Join Date: Oct 2012
Location: Undecided
If you'd prefer a flashable ZIP, there are some available.
http://forum.xda-developers.com/show....php?t=2010887 and http://forum.xda-developers.com/show....php?t=2019243
They are a few modifications added, including root.
Explicitic is online now   0 Reply With Quote
Old Jan 2, 2013, 07:11 PM   #29
siiip5
Banned
 
Join Date: Nov 2012
Quote:
Originally Posted by strausd View Post
So how do I get ROM manager or CWM to recognize the factory images?

EDIT: And all my TitaniumBackup stuff is .tar.gz or .apk.gz. No .tgz.
Sorry, I just went back through this thread. I misread the filename extension. TGZ is a factory image file. If you do have that still, you are set.

Google search for Wugs Toolkit. I believe latest version is within the last month (1.6.2 I think).
Anyway, with a Windows computer, download this toolkit and you can root, unroot, load custom roms, load stock rom (utilizing the tgz file) so you will be back to stock.
siiip5 is offline   0 Reply With Quote
Old Jan 2, 2013, 07:33 PM   #30
strausd
Thread Starter
macrumors 68030
 
strausd's Avatar
 
Join Date: Jul 2008
Location: Texas
Quote:
Originally Posted by siiip5 View Post
Sorry, I just went back through this thread. I misread the filename extension. TGZ is a factory image file. If you do have that still, you are set.

Google search for Wugs Toolkit. I believe latest version is within the last month (1.6.2 I think).
Anyway, with a Windows computer, download this toolkit and you can root, unroot, load custom roms, load stock rom (utilizing the tgz file) so you will be back to stock.
Awesome. Thanks!
strausd is offline   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > Alternatives to iOS and iOS Devices

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:00 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC