FORUMS

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

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

860 posts
Thanks Meter: 2,222
 
By spezi77, Recognized Contributor on 13th January 2015, 11:07 PM
Post Reply Subscribe to Thread Email Thread
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..

Please keep this thread on-topic, here is a Q&A thread:
http://forum.xda-developers.com//htc...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/show....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: http://d-h.st/E5AK and make sure that the md5 checksum 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/show...0&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/show....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 @ths@justremotephone.com 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/qt...2-20150531.zip
md5sum - d49c1da8b4a60b1c0ac8c2555fca7f78

Download custom hboot for Lollipop: http://d-h.st/E5AK

Download 4EXT Touch Recovery for Lollipop: http://d-h.st/Blq 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: https://github.com/spezi77/paranoid/tree/lollipop

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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-02-11-15-32-29.jpg
Views:	6796
Size:	24.1 KB
ID:	3166850   Click image for larger version

Name:	Screenshot_2015-02-08-13-47-53.jpg
Views:	6622
Size:	21.2 KB
ID:	3166851   Click image for larger version

Name:	Screenshot_2015-01-23-20-58-11.png
Views:	6488
Size:	140.4 KB
ID:	3166852   Click image for larger version

Name:	Screenshot_2015-02-08-13-47-43.png
Views:	6534
Size:	80.3 KB
ID:	3166853   Click image for larger version

Name:	Screenshot_2015-02-08-13-48-15.png
Views:	6496
Size:	32.0 KB
ID:	3166854   Click image for larger version

Name:	Screenshot_2015-02-08-13-48-36.png
Views:	6416
Size:	28.6 KB
ID:	3166855   Click image for larger version

Name:	Screenshot_2015-02-11-15-46-32.png
Views:	6622
Size:	127.1 KB
ID:	3166856   Click image for larger version

Name:	Screenshot_2015-02-11-15-40-43.png
Views:	6510
Size:	177.3 KB
ID:	3166857   Click image for larger version

Name:	Screenshot_2015-02-11-15-32-44.png
Views:	6570
Size:	40.5 KB
ID:	3166858   Click image for larger version

Name:	Screenshot_2015-02-11-15-33-14.png
Views:	6386
Size:	47.1 KB
ID:	3166859  
Last edited by spezi77; 31st May 2015 at 12:44 PM. Reason: New test version with k3 released
The Following 76 Users Say Thank You to spezi77 For This Useful Post: [ View ]
 
 
13th January 2015, 11:08 PM |#2  
spezi77's Avatar
OP Recognized Contributor
Flag /home/xda
Thanks Meter: 2,222
 
Donate to Me
More
Screenshots
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-01-18-10-50-59.jpg
Views:	4342
Size:	129.0 KB
ID:	3121072   Click image for larger version

Name:	Screenshot_2015-01-18-10-51-33.jpg
Views:	4286
Size:	164.2 KB
ID:	3121073   Click image for larger version

Name:	Screenshot_2015-01-18-10-51-47.jpg
Views:	4386
Size:	39.2 KB
ID:	3121074   Click image for larger version

Name:	Screenshot_2015-01-18-10-52-15.jpg
Views:	4494
Size:	58.0 KB
ID:	3121075   Click image for larger version

Name:	Screenshot_2015-01-18-10-55-19.jpg
Views:	4442
Size:	59.5 KB
ID:	3121078   Click image for larger version

Name:	Screenshot_2015-01-18-11-31-05.jpg
Views:	4298
Size:	61.4 KB
ID:	3121079   Click image for larger version

Name:	Screenshot_2015-01-18-11-31-06.jpg
Views:	4044
Size:	67.5 KB
ID:	3121080   Click image for larger version

Name:	Screenshot_2015-01-23-20-58-11.jpg
Views:	2056
Size:	70.5 KB
ID:	3155662   Click image for larger version

Name:	Screenshot_2015-02-08-02-11-18.jpg
Views:	1988
Size:	102.1 KB
ID:	3155663   Click image for larger version

Name:	Screenshot_2015-05-31-13-03-54.png
Views:	2300
Size:	56.9 KB
ID:	3341022  
Last edited by spezi77; 31st May 2015 at 12:47 PM.
The Following 20 Users Say Thank You to spezi77 For This Useful Post: [ View ]
14th January 2015, 12:43 AM |#3  
XYZ-Moscow's Avatar
Member
Flag Moscow
Thanks Meter: 19
 
More
wow!
14th January 2015, 01:32 PM |#4  
zinconnu's Avatar
Senior Member
Thanks Meter: 18
 
More
YOU DID IT!
Thanks!
14th January 2015, 03:17 PM |#5  
Member
Thanks Meter: 7
 
More
Thumbs up
Damn Spezi amazed you got 5.0 on our old desire! Genius!
14th January 2015, 03:32 PM |#6  
Junior Member
Thanks Meter: 3
 
More
14th January 2015, 04:49 PM |#7  
Senior Member
Thanks Meter: 19
 
More
Fantastic! I have to try!! Thank you Spezi!
14th January 2015, 06:37 PM |#8  
lilsafbig's Avatar
Senior Member
Flag bradford
Thanks Meter: 137
 
More
It's on the blank screen bit and adb logcat too.
still blackscreen. . .

Sent from my HTC Desire S using XDA Free mobile app
Attached Files
File Type: txt log boot.txt - [Click for QR Code] (6.5 KB, 246 views)
Last edited by lilsafbig; 14th January 2015 at 07:03 PM.
14th January 2015, 09:20 PM |#9  
spezi77's Avatar
OP Recognized Contributor
Flag /home/xda
Thanks Meter: 2,222
 
Donate to Me
More
Quote:
Originally Posted by lilsafbig

It's on the blank screen bit and adb logcat too.
still blackscreen. . .

Sent from my HTC Desire S using XDA Free mobile app

Try to reboot. 1st boot can take quite long (10-20min). Be aware that there is no bootanimation.

Sent from my Nexus™4 😁
The Following User Says Thank You to spezi77 For This Useful Post: [ View ]
14th January 2015, 09:28 PM |#10  
lilsafbig's Avatar
Senior Member
Flag bradford
Thanks Meter: 137
 
More
Quote:
Originally Posted by spezi77

Try to reboot. 1st boot can take quite long (10-20min). Be aware that there is no bootanimation.

Sent from my Nexus™4 😁

It's like it died, it didnt even vibrate. I did reboot.

Sent from my HTC Desire S using XDA Free mobile app
15th January 2015, 10:47 AM |#11  
lilsafbig's Avatar
Senior Member
Flag bradford
Thanks Meter: 137
 
More
I think it needs gapps to start it properly.

Sent from my HTC Desire S using XDA Free mobile app

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes