[ROM] [PREVIEW] Android M

Search This thread

Aman_Arora

Senior Member
Jan 28, 2013
772
1,024
23
New Delhi
Basic Info:
2nd Preview
  • Build Number :MPZ79M
  • Radio (Baseband): M8974A-2.0.50.2.26
  • Bootloader: HHZ12h
1st Preview --OTA to MPZ79M now available
LINK : hxxps://android.googleapis.com/packages/ota/google_hammerhead/68f7e8ac9439071ba8a987cb956b977d27653a54.signed-hammerhead-MPZ79M-from-MPZ44Q.68f7e8ac.zip

  • Build Number :MPZ44Q
  • Radio (Baseband): M8974A-2.0.50.2.26
  • Bootloader: HHZ12h


So Bootloader and Radio same as that of Lollipop
How to Install ??:confused::confused:

Method One: Via cmd
Download the preview directly from :
http://developer.android.com/preview/download.html#top
then follow:
1.You need to setup adb and fastboot
Let's setup ADB and fastboot

Windows:
- You can use my ReducedSDK Kit from Here
- Automated: http://forum.xda-developers.com/show....php?t=2588979 (follow the steps in the software)

- Manual Method:

Download this file and extract the folder called "adb" to your C: drive. Your path should look like this:


Code:
C:\adb\
You will need to open a command prompt window using this method:

Code:
- Go to the C:\adb\ folder 
- hold down SHIFT key and RIGHT-CLICK 
- select "Open command window here".
In order to use ADB & Fastboot from anywhere - use the following steps to setup windows environment variables:

Navigate to & click on Start > Right-Click on Computer > click on Advance System Settings >
Click on Environment Variables (under the advanced tab) > Click on New (User Variables) >
Variables Name: ADB (Or anything you want) Variables Value: ;C:\adb (this is the Path of my adb.exe file)

gUw4I5m.png


Mac & Linux:
you can use the reduced SDK as in attachments or :

Install ADB & fastboot using: this file

1. Extract the downloaded zip to your desktop
2. Open Terminal and type in:


Code:
su
cd Desktop/Android/ (note: Android is the directory extracted from zip file)
3. Now type

Code:
./ADB-Install-Mac.sh
Note: By using the method above, your adb and fastboot files are stored at this location on your Mac: /usr/bin/

----
^I have taken 90% of this from @vomer 's installation procedure for flashing android M on shamu


2.Backup all contents of your phone ,your phone will be completely wiped in this process
3.Extract the downloaded android m .tgz file and further the tar file in it .
(If using the ReducedSdk) then :place the ReducedSdk file in this folder
4.Connect your phone with your pc in fastboot mode (boot using Volume down and Power button)
5.click flash all and wait..
6.Enjoy Android M :D
For linux users
After step 3
{IN TERMINAL }cd to the directory having the extracted files and then run
Code:
 sudo ./flash-all.sh

All those having problem installing or bootloops
either factory reset via stock recovery or See : Here
Method 2:Via Recovery
1.Download the ROM from Preview 1
https://yadi.sk/d/Ua3YaU28hmxUH -- preview 2

2.Now place this file in your phone's memory
3.Boot in recovery
4.Format Data
5.Flash the download zip.
A Must Read : http://goo.gl/abVXRL
Screenshots:
http://imgur.com/a/V1UA4 --Preveiw 1
http://imgur.com/a/uz6pU -- preview 2


MOD: MultiWindow

How to Root ?

1.Download Despair Kernel and SuperSu 2.49.
2.Place them in your phone's internal sdcard.
3.Boot in recovery flash Despair Kernel AND then SuperSU.
4. Voila ! Your phone is rooted!!!

Hi,

something else: there was a post in the MultiROM thread about BOKROM, where a TWRP backup usable with MultiROM has been provided. Look here http://forum.xda-developers.com/goo...rom-cm12-unofficial-hammerhead-gapps-t2969820. In the OP there is a "Special Download: M Preview 2 Backup *** NEW ***"
It works for me.
LT

Hi all. I made a working flashable ZIP for M Preview 2. Working on my N5, with root.
http://forum.xda-developers.com/google-nexus-5/development/rom-android-m-preview-2-flashable-zip-t3157299
I also fixed Titanium Backup not showing previous backups


For anyone who wants, i built stock kernel with root support, in sync with the MPZ79M sources, it fixes video issues with M DP2.

https://mega.nz/#!zUJyDaBD!SyCb_F2icUO9PBHQSY7kzu35ut9_e-6N36khoxGEkU8

it's only the zImage as i made no modifications on ramdisk. You MUST flash stock MPZ79M boot.img, and then as usual flash this with "fastboot flash zimage zImage-dtb"



PS: Thread on Portal .Thanks for your support :D

Hit
thank.png
if I helped you !!
 

Attachments

  • Red_sdk_linux.tar.gz
    1.7 MB · Views: 115
Last edited:

davehasninjas

Senior Member
Oct 2, 2009
293
49
Any chance there'll be a modified kernel with permissive or disabled SELinux when this ROM gets updated to a flashable zip? Just wondering. I'm already on M Preview but I hear that the kernel change is like the only way to use root for now until SuperSU is updated.
 

Ben36

Senior Member
Jun 8, 2012
8,257
2,868
Any chance there'll be a modified kernel with permissive or disabled SELinux when this ROM gets updated to a flashable zip? Just wondering. I'm already on M Preview but I hear that the kernel change is like the only way to use root for now until SuperSU is updated.
Normally @sykopompos and/or his team seem to come up with this first i believe



Sent from my Nexus 5 using Tapatalk
 
  • Like
Reactions: frikakwa

Top Liked Posts