[Desire Android Development] spezi77:
Bringing to you Paranoid Android on Lollipop 5.0.2

This is an unofficial ROM which is built from source by using portions from Nikez' Kernel code, Evervolv's Legacy code, HTC device and vendor files.

Built for pure testing purposes.

Don't blame me if you brick your device.

Credits:

PA TEAM for their great work and allowing me to build the ROM!

EVERVOLV TEAM for the legacy codes and toolbox, especially Thomas Lehner -- without his talents the birth of Lollipop for our device would have been much harder!

Nikez for the kernel, libs, and for being a magician!

madmaxx82 for 4eXT Touch Recovery!

chainfire for SuperSU!

And all those individuals/teams who I might have missed!

My special thanks to walter79, macs18max, azzam, myself5, Robbie P and everyone else from HD24Ever Team for their recent support with helping out and getting me on track with developing on Android 5.

What's working:

Audio

Display

3G/Mobile Data/Telephony/SMS

Bluetooth

WIFI

ADB connection

USB Mass Storage

Torch (partially)

Not working:

Camera (Force close)

GPS (not sure about this)

Please be aware that the ROM might occasionally reboot or bring a FC. In that case it would be kind of you to share as many reproduction information as possible (e.g. logcat, radio logcat, dmesg, last kmesg).

General hints:

The ROM is currently under development and in its very early alpha stages.

The ROM is no longer installed to your phone's internal memory. From now on we use "DirectSD" which will be the new way of running Android 5 Lollipop on our device.

Before installing this ROM you are required to switch to a new custom hboot for LP which has a modified memory layout -> system/cache/data (5/5/427); This will allow the ROM to store the ART/dalvik-cache on the phone's internal memory (follow instructions on how to change the hboot for LP below).

Furthermore you need to create two sd-ext partitions on your SD-card AND also a SWAP partition besides the remaining FAT partition -- so in the end you will have three partitions (please exactly follow the instructions below, otherwise the ROM won't boot!).

For good overall performance use a fast SD-card (e.g. class 6 or even higher).

Before flashing SU or GAPPS you have to flash the new 4eXT Touch Recovery for LP from the link below.

Don't even think of asking when this ROM is ready for daily use.. :rolleyes:

Please keep this thread on-topic, here is a Q&A thread:

http://xdaforums.com//htc-desire/help/qa-paranoidandroid-5-0-alpha-t3015265

How to create sd-ext partitions on your SD card:

Make a backup by copying all contents of your SD card to your computer

Read this guide by [MENTION=4346614]abaaaabbbb63[/MENTION] (4ext method): http://xdaforums.com/showthread.php?t=2125513

In case that you use 4eXT Recovery, select 1024mb for sd-ext1, chose something between 1024mb and 4096mb for sd-ext2 (you can size it as you like depending on how much space you want for apps), and create a swap partition of 512mb.

After the sd-ext partitions have been formatted, you can also format the remaining FAT partition on the SD card, and then add back your backupd files

How to change the hboot for Lollipop:

Download this file: PB99IMG_Lollipop_5_5_427.zip and make sure that the md5 checksum 93e00900cb7b55e1c9702be2167caafd is the same

Rename the file into PB99IMG.zip and place it into the root folder of your SD card

Reboot with volume down button pressed

Confirm the update with volume up and reboot into recovery

Format all partitions except for SD-card

Step-by-step ROM and GAPPS "permanent" installation:

Make a backup of your current ROM in recovery

Copy the new hboot for Lollipop to your SD-card (PB99IMG.zip; find more details one section above)

Reboot and confirm with Volume up to update the hboot (in case of problems: select clear storage)

Reboot into recovery and do a full wipe by formatting all partitions except for SD-card

Flash the new 4eXT Touch Recovery for Android 5 and again reboot into recovery (Note: the new 4eXT recovery has a "bug" which will no longer allow you to view the correct information about the sd-ext1/sd-ext2 partitions. Actually, sd-ext1 has become /system and sd-ext2 is now /data. Got it?!)

Flash the ROM and GAPPS; optional step: flash SU if root access is required

Boot the ROM and let it settle down for a few minutes

Enable WIFI; before adding your G account do a hot reboot (this is really important to allow the WIFI connection to properly operate)!

After rebooting the ROM add your G account

NOTE: In case that the ROM should freeze at the HTC splash screen, please pull the battery and turn it on -- then it should boot up normally! (I am not sure if this occurs only on my "old" Desire.. maybe a sign of ageing.. :/ )

Help! I want to get back to my previous ROM. So how can I revert things, like hboot and recovery?:

Get the AlphaRev Jelly hboot (250/5/182) from here and follow the instructions: http://xdaforums.com/showpost.php?p=48063010&postcount=22 and make sure that the md5 checksum is the same

Now let's do the PB99IMG method again for flashing the 4eXT recovery; get it from here: http://xdaforums.com/showthread.php?t=1751258

Changelog:

1st test version (2015-01-13)

Initial release

2nd test version (2015-01-17)

Switch to DirectSD (fixed reboots)

3G/Telephony fixed

3rd test version (2015-02-08)

Wifi fixed!!!!!!!!!!!!!!!! Big thanks to [MENTION=2938104]zyr3x[/MENTION] and [MENTION=6177137]ths@justremotephone.com[/MENTION] for helping me!

UMS/USB debugging connection kind of works (but still needs further improvement!)

Added fix for allowing USB Tethering (untested!) Kudos [MENTION=1244844]nickleby[/MENTION]

Speed up first boot sequence which now also displays the app installation progress

Added ROM Settings/Toolbox to give access to performance settings and further stuff (many options are not (yet) working, e.g. battery/clock style, superuser settings, bug report)

Tweaks: decreased animation duration and transition scale settings to .5x for better performance

Translucent lock screen + status bar enabled per default (can be turned off > Toolbox > Interface > General > 'Force fancy UI elements')

Extended power menu (customizable > Toolbox > Interface > Power menu)

Quick 'Quick Settings' Pulldown (in a single swipe)

4th test version (2015-02-11)

ROM speed improved by using "DalvikOnNAND" (requires a custom hboot (5/5/427) as mentioned above)

UMS option disabled as it didn't yet work as expected

Official Lollipop Bootanimation added

5th test version (2015-03-08)

Kernel: fix wifi capabilities query which was failing due to missing attribute definitions

Kernel: updates for smartass governors / smartassH3: Enable boost pulse by default

Kernel: decrease PMEM_ADSP_SIZE for now to achieve better performance

zRAM enabled per default (50%)

Use corrected lowmemorykiller values / revert to less agressive values previously used in KitKat (credits: konstaT)

New feature: Toolbox allows for enabling volume button to wake device

New feature: CM Themes Engine

New feature: AppOps

1st test version with K3 (2015-05-31)

Kernel 3.0.101 for Lollipop: AWESOME! Credits go to all k3 devs (Nikez, Thomas, marc1706, Mustaavalkosta, elginsk8r, sakindia123, NiharG15 and everyone else who contributed)

Use external SWAP on SD to improve responsiveness! This will allow you to use GAPPS without getting a sluggish ROM! Therefore you have to repartition your SD card and create a SWAP partition (512MB) after adding the two sd-ext partitions for SYSTEM (1GB) and DATA (4GB).

If you agree with the above terms,

Download ROM: http://www.mediafire.com/download/qtu102kdwfaiv4x/pa_bravo-5.0-ALPHA2-20150531.zip

md5sum - d49c1da8b4a60b1c0ac8c2555fca7f78

Download custom hboot for Lollipop: PB99IMG_Lollipop_5_5_427.zip

Download 4EXT Touch Recovery for Lollipop: 4ext-touch-recovery-for-LP.zip kudos [MENTION=382340]walter79[/MENTION]

Note: this recovery has a small "bug" which will no longer allow you to view the correct information about the sd-ext1/sd-ext2 partitions. Actually, sd-ext1 has become /system and sd-ext2 is now /data.

Download SuperSU for root permission: http://download.chainfire.eu/supersu

Download my "slimmed" PA GAPPS 5.0.1 RC4 - Pico Modular Package (without SetupWizard/PartnerSetup): http://d-h.st/Eey

Or get any official or unofficial 5.0 GApps from here:

1) PA GApps http://d-h.st/users/TKruzze/?fld_id=41940#files (pick the one with 'Proper DPI')

2) Slim zero GApps http://104.236.22.120/gapps/lollipop/5.0/ (pick the one with '42M')

IMPORTANT:

Please read all posts in this thread and use the search before you post anything. If your question or feedback does not contribute to the further development of this ROM, then please use the Q&A thread instead.

I don't reply to support inquiries via PM.

That's all I am asking for at the moment!

And have a nice day!

;)

XDA:DevDB Information

Paranoid Android LP, ROM for the HTC Desire

Contributors

spezi77, walter79

Source Code:

ROM: https://github.com/aospa-legacy

Manifest: https://github.com/spezi77/paranoid/tree/lollipop

Kernel: https://github.com/spezi77/android_kernel_htc_qsd8k_3.0/tree/lollipop-3.0.101-wip

ROM OS Version: 5.0.2 Lollipop

ROM Kernel: Linux 3.0.101

Based On: AOSPA

Version Information

Status: Testing

Created 2015-01-13

Last Updated 2015-05-31