• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM/WIP] [5.0.2] [May-31] [UNOFFICIAL] ParanoidAndroid 5.0 Alpha 2 | Kernel 3.0.101

Status
Not open for further replies.

spezi77

Recognized Developer / Contributor
Jan 27, 2013
3,364
7,521
0
/home/less
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://forum.xda-developers.com//htc-desire/help/qa-paranoidandroid-5-0-alpha-t3015265

How to create sd-ext partitions on your SD card:
  1. Make a backup by copying all contents of your SD card to your computer
  2. Read this guide by @abaaaabbbb63 (4ext method): http://forum.xda-developers.com/showthread.php?t=2125513
  3. 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.
  4. 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:
  1. Download this file: PB99IMG_Lollipop_5_5_427.zip and make sure that the md5 checksum 93e00900cb7b55e1c9702be2167caafd is the same
  2. Rename the file into PB99IMG.zip and place it into the root folder of your SD card
  3. Reboot with volume down button pressed
  4. Confirm the update with volume up and reboot into recovery
  5. Format all partitions except for SD-card


Step-by-step ROM and GAPPS "permanent" installation:
  1. Make a backup of your current ROM in recovery
  2. Copy the new hboot for Lollipop to your SD-card (PB99IMG.zip; find more details one section above)
  3. Reboot and confirm with Volume up to update the hboot (in case of problems: select clear storage)
  4. Reboot into recovery and do a full wipe by formatting all partitions except for SD-card
  5. 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?!)
  6. Flash the ROM and GAPPS; optional step: flash SU if root access is required
  7. Boot the ROM and let it settle down for a few minutes
  8. Enable WIFI; before adding your G account do a hot reboot (this is really important to allow the WIFI connection to properly operate)!
  9. 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?:
  1. Get the AlphaRev Jelly hboot (250/5/182) from here and follow the instructions: http://forum.xda-developers.com/showpost.php?p=48063010&postcount=22 and make sure that the md5 checksum is the same
  2. Now let's do the PB99IMG method again for flashing the 4eXT recovery; get it from here: http://forum.xda-developers.com/showthread.php?t=1751258


Changelog:

1st test version (2015-01-13)
  1. Initial release
2nd test version (2015-01-17)
  1. Switch to DirectSD (fixed reboots)
  2. 3G/Telephony fixed
3rd test version (2015-02-08)
  1. Wifi fixed!!!!!!!!!!!!!!!! Big thanks to @zyr3x and @[email protected] for helping me!
  2. UMS/USB debugging connection kind of works (but still needs further improvement!)
  3. Added fix for allowing USB Tethering (untested!) Kudos @nickleby
  4. Speed up first boot sequence which now also displays the app installation progress
  5. 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)
  6. Tweaks: decreased animation duration and transition scale settings to .5x for better performance
  7. Translucent lock screen + status bar enabled per default (can be turned off > Toolbox > Interface > General > 'Force fancy UI elements')
  8. Extended power menu (customizable > Toolbox > Interface > Power menu)
  9. Quick 'Quick Settings' Pulldown (in a single swipe)
4th test version (2015-02-11)
  1. ROM speed improved by using "DalvikOnNAND" (requires a custom hboot (5/5/427) as mentioned above)
  2. UMS option disabled as it didn't yet work as expected
  3. Official Lollipop Bootanimation added
5th test version (2015-03-08)
  1. Kernel: fix wifi capabilities query which was failing due to missing attribute definitions
  2. Kernel: updates for smartass governors / smartassH3: Enable boost pulse by default
  3. Kernel: decrease PMEM_ADSP_SIZE for now to achieve better performance
  4. zRAM enabled per default (50%)
  5. Use corrected lowmemorykiller values / revert to less agressive values previously used in KitKat (credits: konstaT)
  6. New feature: Toolbox allows for enabling volume button to wake device
  7. New feature: CM Themes Engine
  8. New feature: AppOps
1st test version with K3 (2015-05-31)
  1. 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)
  2. 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 @walter79
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
 

Attachments

Last edited:

spezi77

Recognized Developer / Contributor
Jan 27, 2013
3,364
7,521
0
/home/less

Saf98

Elite Member
Aug 7, 2013
1,543
157
0
??<
It's on the blank screen bit and adb logcat too.
still blackscreen. . .

Sent from my HTC Desire S using XDA Free mobile app
 
Last edited:

spezi77

Recognized Developer / Contributor
Jan 27, 2013
3,364
7,521
0
/home/less
I think it needs gapps to start it properly.

Sent from my HTC Desire S using XDA Free mobile app
Nope, it runs without gapps. You are welcome to figure out how to install gapps.

Edit: Could you do me a favor and provide a complete logcat? The previous one seems too short. How long did you wait before you canceled it?
 
Last edited:
  • Like
Reactions: Saf98

Saf98

Elite Member
Aug 7, 2013
1,543
157
0
??<
Nope, it runs without gapps. You are welcome to figure out how to install gapps.

Edit: Could you do me a favor and provide a complete logcat? The previous one seems too short. How long did you wait before you canceled it?
10 minutes, still showed nothing going on with the process so then I.just disconnected.

Sent from my HTC Desire S using XDA Free mobile app
 

maxens63

Senior Member
Dec 9, 2013
188
32
0
Couldn't manage to boot.. Stays on black screen. Even after 20mn.. In recovery, I had a look in "information", and once the rom installed, I have 248mega free out of 250 on system.
Tried 3 times

Sent from my HUAWEI P7-L10 using XDA Free mobile app
 
  • Like
Reactions: spezi77 and Saf98

spezi77

Recognized Developer / Contributor
Jan 27, 2013
3,364
7,521
0
/home/less
Couldn't manage to boot.. Stays on black screen. Even after 20mn.. In recovery, I had a look in "information", and once the rom installed, I have 248mega free out of 250 on system.
Tried 3 times

Sent from my HUAWEI P7-L10 using XDA Free mobile app
Could you also take a dmesg, please?
adb shell
dmesg

Thanks!

Sent from my Nexus™4 ?
 
  • Like
Reactions: dmarian

spezi77

Recognized Developer / Contributor
Jan 27, 2013
3,364
7,521
0
/home/less
when it is installing the log shows
installing update. . .
warning: no file_contexts
and then the aospa 5+ for legacy devices
script succeeded result was [0.200000]
No worries, that looks fine. Alternatively, you could copy the recovery.log to SD. You find the command in 4ext under tools.

Sent from my Nexus™4 ?
 

Saf98

Elite Member
Aug 7, 2013
1,543
157
0
??<
No worries, that looks fine. Alternatively, you could copy the recovery.log to SD. You find the command in 4ext under tools.

Sent from my Nexus™4 ?
Yh that's what I did but it copied the gapps log which still had the same result, black screen and Yh I've attached that dmesg thing u told me to do.

Sent from my HTC Desire S using XDA Free mobile app

---------- Post added at 07:29 PM ---------- Previous post was at 07:28 PM ----------

What you need k3?

Sent from my HTC Desire S using XDA Free mobile app
 

spezi77

Recognized Developer / Contributor
Jan 27, 2013
3,364
7,521
0
/home/less
Couldn't manage to boot.. Stays on black screen. Even after 20mn.. In recovery, I had a look in "information", and once the rom installed, I have 248mega free out of 250 on system.
Tried 3 times

Sent from my HUAWEI P7-L10 using XDA Free mobile app
Please attach recovery.log to check if something went wrong during installation.

248mb free out of 250 on system is to be expected. The logical explanation is that 4ext recovery is too old. It has no SELinux support and cannot read the new filesystem that LP requires. With LP we are no longer using yaffs2, but ext4 on /system and /data.

Edit: Although flashin with 4ext and twrp worked out, I think that we also require a newer recovery the sooner or later.
 
Last edited:
Status
Not open for further replies.