mardi 27 janvier 2015

[ROM] Sero 7 Pro (US/UK/AU) - AOSP 5.0.2_r1 DoPa5 v1.0 topic






DoPa5 v1.0 is a Lollipop ROM for Sero 7 Pro owners worldwide. It focuses on core functionality and skips the frills that lead to bloat and instability.

Key Features
  • International Support - a single ROM for all Sero 7 Pros sold worldwide (US, UK, Australia, and elsewhere)

  • Speed Control - speed when you need it and stock performance when you don't

  • OTG Charging - charge the tablet while an external device is attached to the USB port

  • Flexible Formatting - full support for both F2FS and EXT4 on your internal storage, and exFAT/FAT32/NTFS support for external storage

Since Android 5.0 is still a work-in-progress, some users may prefer to wait for a more stable version. If so, try my AOSP Kitkat ROM (DoPa v2.6) which is built on a more mature codebase.

Installation

First-time Users
If you're upgrading from a stock ROM (any variety), please click the "show content" button and read the instructions very carefully - they're long but your tablet's continued good health may depend on it!




STEP 1: Install Philz Touch Recovery
Users outside the US must use this version of Philz to install the ROM - neither the stock recovery nor other versions of CWM or Philz will work. Users in the US should use it just to avoid problems.

Stock Recovery
If you still have the stock recovery program you'll have to use the 'fastboot' program to install Philz. On Windows, this requires installation of the 'ADB' USB drivers while in fastboot mode (see below). A package containing the drivers, fastboot, adb and other files can be found in the 2nd posting on the DoPa Stock ROM thread. Note: there are several batch files (*.bat) in the package - do NOT run them.
  • put fastboot.exe in a convenient directory, then unzip sero7pro-philz6.58.0-dopa-v2.6.zip and put the file philz.img in the same directory (you won't need the other files)

  • unplug any USB cable, then press and hold Power+VolumeUp; the word "fastboot" should appear on the screen (nothing further will appear)

  • plug the USB cable from your PC into the tablet, then install the driver (open Device Manager, right click on "Other Devices->Fastboot", then select "Update Driver Software")

  • after installing the driver, open a command prompt ("DOS window") and change to the directory containing the files

  • enter fastboot flash recovery philz.img

  • when done, force the tablet off, remove the USB cable, then reboot into recovery: Power+VolumeDown - you should see the word "recovery", then the Philz menu

CWM
If you have CWM installed, copy sero7pro-philz6.58.0-dopa-v2.6.zip to an SD card, insert it in the tablet, then:
  • remove any USB cable, then boot into recovery: Power+VolumeDown

  • select "Install Zip", then "Choose zip from /storage/sdcard1"

  • select the file, then OK the selection

  • when done, back out to the main menu, select "Advanced options", then "Reboot recovery"

  • after the initial "recovery" screen, you should see the Philz menu

Regardless of how you install Philz, the result should be the same. If it boots OK, compatibility is assured

STEP 2: Backup
I can't emphasize this enough: you must make a backup of your existing ROM. If something goes wrong, there's no way to get your device working again other than to restore it using the backup you've made. There's also another reason to do a backup: before installing the new ROM, you will have to reformat your /data partition. This will wipe out your apps, your settings, and most importantly, all the music/photos/etc stored on your "internal SDcard". These last items can be restored if you follow the instructions below:

ROM
You must do your backup onto a real SD card that you can remove because your "internal SDcard" will be erased in the next step. In fact, it wouldn't be a bad idea to do two backups (preferably to different cards) just in case one is faulty.
  • on Philz main menu, select "Backup and Restore"

  • next, select "Backup to /storage/sdcard1" (the 6th item on that menu)

  • if there's enough space on the card, the backup will start without any further prompt; it could take anywhere from 3 to 15+ minutes depending on the amount of data and the speed of your card

  • if needed, you can enable compression to create a smaller backup: select "Misc Nandroid Settings -> Default Backup Format -> tar + gzip", then on the previous menu, tap on "Compression" to set the appropriate level

Internal SD card
This is optional but worthwhile if you have files you value stored on the tablet:
  • on Philz main menu, select "Backup and Restore"

  • next, select "Custom Backup to /storage/sdcard1" (the 9th item on that menu)

  • on the next screen, deselect everything, then select "Backup /data/media" (the next-to-last item)

  • finally, select "Start Custom Backup Job"

STEP 3: Install the DoPa5 ROM
Before you begin, you may want to download a Google Apps ("Gapps") package that you can install after the ROM. See this thread for a selection of packages. To avoid complications, I'd suggest choosing the "Nano Modular Package" to get just the basics - you can always upgrade later. Put your Gapps package along with the ROM zip on an SD card and insert it into the tablet - you can use the same card you're using for your backups.
  • on Philz main menu, select "Wipe and Format Options", then "Custom Format Options"

  • select "format /data and /data/media (/sdcard)" (the 8th item), then OK your choice

  • back on the main menu, select "Install Zip -> Choose zip from /storage/sdcard1"

  • select sero7pro-aosp502-dopa5-v1.0.zip, then OK your choice - the install process should take about 40 seconds

  • next, install your Gapps package

  • return to the main menu, select "Reboot System Now", then hold your breath for the next 3-4 minutes :)

  • the Hisense screen should be up for less than a minute, followed by the DoPa boot animation for another 3 minutes

If the boot animation is still running after 5+ minutes, force the tablet off, then reboot. If that doesn't fix it, try formatting /data again. If it still doesn't work, restore your tablet from your backup ("Backup and Restore -> Restore from /storage/sdcard1"), then post a message here. If everything works out as hoped for, re-read the first posting in this thread for details on some of the features (and problems) of this ROM.



Upgrades
UK and AU users must use the companion Philz Touch CWM-based recovery to install the ROM because it is the only one compatible with your tablet. US users can use any SELinux-enabled version of CWM or TWRP, though Philz is highly recommended if you use exFAT-formatted SD cards.
  • from DoPa5 AOSP Lollipop Beta ROMs - no need to wipe or format anything!

  • from DoPa AOSP Kitkat ROMs (v1.0-v2.6) - a clean install is recommended but not required

  • from pre-Kitkat (v4.4.x) or any CM-based ROMs - wipe your /data partition before installing to avoid unnecessary problems.

  • install sero7pro-aosp502-dopa5-v1.0.zip
    - the installer will wipe (but NOT format) /cache and dalvik-cache for you

  • install your preferred Gapps package
    - upgraders: this is required to prevent your downloaded Google apps from crashing

  • optionally, install the Nexus7 spoof (sero7pro-nexus7spoof-dopa5-v1.0.zip)

  • reboot (ignore any "fix root" prompt - it's incorrect)


f2fs / ext4 Migration
This DoPa ROM gives you the flexibility to format any of your built-in partitions using either the f2fs or ext4 file systems.
As part of your install - or at any time - you can switch formats without losing any data. Click "show content" for instructions.



If you haven't already installed Philz Touch Recovery, please do so first. Philz has gotten complicated, so read this carefully!
  • make a nandroid backup to your external SD card

  • select Wipe and Format Options, then Custom Format Options

  • select toggle f2fs <-> ext4 migration
    - be sure there's a confirmation message at the bottom of the screen

  • select each partition you want to convert or wipe, then select the format and OK your choice

  • Important: to convert your /data partition, you must select format /data and /data/media (/sdcard)!!!

  • use Custom Restore from /storage/sdcard1 to restore the contents of the partitions you reformatted




Changes since DoPa5 Beta 3
  • Power Menu - Reboot and Reboot to Recovery options can be added to the menu by enabling them on the Settings->Performance screen

  • Email - the stock Email app is now usable, though some bugs may remain

  • Memory Leak - a patch has been applied to plug the best known memory leak - the tablet should be usable extended periods without locking up

Notes
  • Lollipop - this version of Android lacks the stability and polish found in the final versions of Kitkat. As Google issues updates and fixes, I expect to make them available to enhance your "user experience".

  • Theming - this ROM contains the hooks and fixes needed to theme it using "runtime resource overlays" ("RRO"). However, it may be a while before anyone releases themes compatible with the S7P's screen density. The few that are available are for 300+dpi while our screen is 213dpi.

Credits
  • ziddey

  • randomblame

  • davepmer

  • the CM team

DownloadsGPL Notice: the source code for this kernel is available at https://github.com/dolorespark/andro...isense_m470bsa on the 'master' branch.

XDA:DevDB Information
Sero 7 Pro (US/UK/AU) - DoPa5 AOSP, ROM for the Android General

Contributors
dolorespark
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.1.x
Based On: AOSP

Version Information
Status: Stable
Current Stable Version: v1.0
Stable Release Date: 2015-01-26

Created 2015-01-28
Last Updated 2015-01-27






Aucun commentaire:

Enregistrer un commentaire