yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Saf98:
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]
[Desire Android Development] maxens63:
+1
[Desire Android Development] spezi77:
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 ?
[Desire Android Development] Saf98:
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.

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

What you need k3?
[Desire Android Development] spezi77:
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.
[Desire Android Development] SaySayonara:
Wow! I can't believe it! LP on Desire! :)

Just revived my Desire and was about to try to install this one to check it out, but I'm kinda stuck.. :(

My volume buttons don't seem to respond no matter how hard i press them.. So the problem is that i cannot flash the LP hboot :((

Do you guys have any clue how this could be done without the volume buttons?

Thanks in advance!
[Desire Android Development] SaySayonara:
Here's a photo with my info
[Desire Android Development] mordesku:
Via fastboot

Fastboot flash hboot hboot.img

Wysyłane z mojego HTC Desire za pomocą Tapatalk 2
[Desire Android Development] jejehtc:
I finally arrived in installed your rom on my desires, maintenat has a new youth.

Thank you to you for this performance:good:
[Desire Android Development] spezi77:
Hello again!

ParanoidAndroid 5.0 Alpha 2 has arrived, also for your device, dear friends!

#StayParanoid! :silly:

- spezi
[Desire Android Development] jejehtc:
Super interesting I expect to update forward :D
[Desire Android Development] spezi77:
You may also want to give this useful app by Chainfire a try: http://xdaforums.com/showthread.php?t=3050998

It allows you to make Recents useful again on Lollipop.

Sent from my Nexus™4 ?
[Desire Android Development] Saf98:
thanks, Is the alpha 2 a new build.
[Desire Android Development] spezi77:
Yes, alpha 2 is a new build (check page 1).

PA devs have added CM Theme Engine and AppOps.

Sent from my Nexus™4 ?
[Desire Android Development] Saf98:
I use smartass h3 and it was easier to add an account. Still can't install stuff.
[Desire Android Development] spezi77:
What is your SD?

Sent from my Nexus™4 ?
[Desire Android Development] Saf98:
I'm getting the error 504.

SanDisk 8gb I think class 4 (circle with a 4) microSD HC.
[Desire Android Development] Jss22:
Downloading. I'll try as soon as I can. Thanks!
[Desire Android Development] spezi77:
I guess your SD slows things down. You could probably try formating and repartitioning it.

Sent from my Nexus™4 ?
[Desire Android Development] Saf98:
Made a partition again but when I check the partition alignment it just says your fat32 is perfectly aligned so idk if it has actually created a partition. I'll try again though.
[Desire Android Development] Saf98:
Won't let me format it. Error wiping cache ext4.
[Desire Android Development] spezi77:
Go back to old 4ext recovery. The LP recovery uses different mount points as it has a different fstab.

Or use the Gparted method.

Sent from my Nexus™4 ?
[Desire Android Development] Saf98:
Cant flash the Rom on New recovery, installation aborted 1.
[Desire Android Development] walter_wireless:
Hi there,

Great work was made, ROM flash ran seamlessly.:good:

But unfortunately it is SO lagish and unstable that it can hardly be used even for fun purposes.

Thanks anyway, I just got my old Desire back from my dad and it is cool to see that Lollipop can "run" on the device of year 2010. :D
[Desire Android Development] Saf98:
Now what.
[Desire Android Development] spezi77:
As mentioned in 1st post, the rom is built for testing and development purposes.

May I ask you, whether you went through the complete installation procedure, which includes to change to LP hboot? If you didn't do that, then the ROM wasn't able to unfold its potential by using 'DalvikOnNAND'. That could be the cause of bad performance.
[Desire Android Development] walter_wireless:
Yes, sure, LP HBOOT and Recovery were flashed :)

Don't mind anyway, I just wanted to express my appreciation.
[Desire Android Development] spezi77:
Alright, just wanted to ensure that there was nothing blocking your user experience. :D

Thanks for your feedback!
[Desire Android Development] Saf98:
When I go into recovery it goes into safe mode, system needs to be wiped.
[Desire Android Development] spezi77:
What's your problem now?
[Desire Android Development] Saf98:
[MENTION=5091819]spezi77[/MENTION] Can't flash your Rom? On both the recoveries.

edit: fixed the safe mode problem but still aborts, im on the normal recovery not the one linked in the 1st page, can i try installing the 4th release.
[Desire Android Development] Saf98:
tried both recoveries and both hboots stock/ alpharev spezi, lollipop still didnt install.
[Desire Android Development] spezi77:
You obviously do not have enough space. But i do not have an idea what's going wrong.

"write failed: No space left on device lseek64 failed: Invalid argument E:Error in /sdcard/pa_bravo-5.0-ALPHA2-20150308.zip (Status 1) Installation aborted."

Please use lollipop hboot and change to lollipop recovery, and then try again.

Sent from my Nexus™4 ?
[Desire Android Development] Saf98:
That's what I did still didn't work that's why I experimented with the other hboots. I'm wondering can it it be the zip file can I try with the previous release and then flash the new one?
[Desire Android Development] spezi77:
You can find the previous release herein: http://d-h.st/users/spezi77/?fld_id=38729#files

Sent from my Nexus™4 ?
[Desire Android Development] Saf98:
Still no luck.
[Desire Android Development] spezi77:
Counting the amount of downloads of the current and previous release the ROM has had appr. 750 downloads. No one else has reported a similar problem.

I wish I could help, but it seems to me that you have a very special issue with your device or partitioning.

All the best! :thumbup:

Sent from my Nexus™4 ?
[Desire Android Development] Saf98:
I'm just going to go back to another Rom like carbon. Then ill try flashing it again after an update. Could it be my sd card cos its class 4 or the boot partition. When I did a full wipe there were no errors?
[Desire Android Development] Saf98:
[MENTION=5091819]spezi77[/MENTION] this is what it says in info 4ext recovery.

System ext4 size --mb free -- mb

Even though I format system still don't work.

And it also says to format SD ext and SD ext 2.
[Desire Android Development] spezi77:
That's just a false information by the recovery (KK version) because system and data are no longer on NAND. We have mounted them now on your SD card. I am currently working on a new idea by walter79 to store the system.img differently (mount as loopback). Hold on..
[Desire Android Development] Saf98:
Thanks for the update.
[Desire Android Development] walter79:
Some news LP boots well from nand now. We used a ext4 system.img file and mount it via loop from system nand yaffs2. Data runs from a second ext4 sdcard partition.
[Desire Android Development] spezi77:
Walter, you are a genius with really nice ideas! :good: I will compile a new PA Rom incl. this change and share it soon here...

Edit: here is the commit https://github.com/spezi77/android_device_htc_bravo/commit/d7c9a78fac2d22f68befed6f46ebf7d323f25340

Sent from my Linux Mint 17.1 :cool:
[Desire Android Development] spezi77:
Good news, the new PA ROM has compiled successfully.. I will run a few test until tomorrow and then share it with anyone who is interested.

Furthermore, there will be a change in the installation instructions..
[Desire Android Development] Rminsh:
Is there any chance to use this rom with stock Hboot??:confused::confused:
[Desire Android Development] Saf98:
Why what's wrong with using the lollipop hboot.
[Desire Android Development] maxens63:
The fact to do more manipulations
[Desire Android Development] Rminsh:
There is nothing wrong with the lollipop hboot

Currently i have a problem with phisycal volume buttons:D and sometimes , i use the stock 2.2

This is really hard to enter recovery or bootloader!
[Desire Android Development] drakon78:
Had the same problem(actually bought my new phone because of it).

had to screw the desire open and put some drops of alcohol on the button contacts and let it dry, after that it works fine again. just google for it there was even a tutorial with pictures how to do it
[Desire Android Development] Saf98:
Keep pressing back button when you turn it on.
[Desire Android Development] Rminsh:
Yep! i had Google it last month! but seriously it is not worth to screw this desire!

Just thinking about a new device!

Thanks!

Problem solved!:good:
[Desire Android Development] spezi77:
Bad news. The rom using loopback-method currently doesn't run well together with gapps- Gapps are actually killing the phone!! I think that Google did not really care about adding support "low end devices" when designing LP.

I'll drop you a line as soon as there are better news..

Cheers! ;)
[Desire Android Development] mordesku:
I think they care but current low ends has 4 core cpu, our desire is legacy device for google.
[Desire Android Development] Saf98:
I'm sure they said lollipop was going to be able to run on low spec phones like 512mb ram?
[Desire Android Development] mordesku:
Yes but have very small nand and slow single core cpu. Running lollipop partialy from sd causes huge slowdowns especialy with gapps.
[Desire Android Development] Saf98:
Yh that's true but the quad core bit I don't think Thats even low end still pretty decent.
[Desire Android Development] anicolai:
Bootloop solved

Also ended up in bootloop. Small circles flying around forever. Followed instructions and tryed with one EXT4, two EXT4's and two EXT4 + swap. Same result.

Tryed both Alpha1 and Alpha2 versions of ROM. Eventually tryed to flash GAPPs even though a first boot never completed. All ended up in bootloop, usually gave up waiting after 30 minutes (longest 10 hours).

On the Lollipop hboot menu there is a menuitem to "Clear Storage" in pure desperation i tryed this. Following this my phone completed first boot (i didn't flash any ROM efter clear storage). The circles were flying around for about 4 minutes and then a Android logo appered, optimization of the Apps took 10-12 minutes more and i had a running Lollipop ready for GAPPs etc. Hope this can help others.

I use a Class 10 SD-Card. My phone is anything but fast, but what the original post says Works do Work. And Things promissed not to Work, well doesn't Work.
[Desire Android Development] anicolai:
Bugs found

At least once pr. day my Desire Looses internet access. both Wifi and SIM connections get an exclamation mark and all apps with internet connection no longer being updatef (Gmail, Outlook, weather etc.). Only cure i can find is rebooting my device.

Today i recived a large text message (SMS). with two jps's attached (MMS?) The application messaging stopped imidiatly. And every few seconds i get a pop-up "Unfortunately application messaging has stopped working. I cant get out of this loop. Probably factory reset is the only cure. Think I'm going for an older ROM at the same time.

I will return here once in a while and see if a newer ROM with less bugs gets available.
[Desire Android Development] spezi77:
Sure, anyway thanks for providing valuable feedback and for testing my ROM.

Sent from my nexus 4 :D
[Desire Android Development] Saf98:
[MENTION=5091819]spezi77[/MENTION] are you going to make this have k3?
[Desire Android Development] spezi77:
Maybe yes.

Sent from my nexus 4 :D
[Desire Android Development] Hollam:
I have successfully installed this rom, thanks for the great work!!

For me it was the first ROM where I had to change hboot. You could probably mention that the phone needs to be S-OFF and revolutionary only works with 2.3, 2.2 ROMs... took me a while :)
[Desire Android Development] Saf98:
Yeh s off if u want to flash from recovery that most roms but if ur s on and unlocked bootloader then flash from fastboot.
[Desire Android Development] Fobos531:
Any updates to this ROM?
[Desire Android Development] spezi77:
Yes, today.

Edit: uploading..

The new ROM version has two major improvements:

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).
[Desire Android Development] spezi77:
Hi Desire folks!

I'd like to share with you a new update that runs on Kernel 3.0.101 (for testing purposes) :D

Important: Please consider to carefully read the updated instructions in post #1 !!!

Hope you enjoy it and have a nice day! ;)
[Desire Android Development] jejehtc:
Thank you for update;)
[Desire Android Development] Saf98:
[MENTION=5091819]spezi77[/MENTION] after flashing lp recovery I get the safe mode msg that I have to wipe system partition but it wont let me?

Format volume : make_extf4fs failed on /dev/block/mmcblk0p2
[Desire Android Development] spezi77:
Sorry, i have never come across this issue. Maybe going back to KK recovery and start from scratch could work.

Sent from my nexus™4 ?
[Desire Android Development] Saf98:
So I'll try with the normal 4ext recovery which supports kk.
[Desire Android Development] Saf98:
Got it to flash now ok when adding an account you cannot see what you have typed the letters are white (not in the keyboard).
[Desire Android Development] spezi77:
Yes, i know. Maybe an issue with the system theme or text color in this ROM.

How's everything else?

Sent from my nexus™4 ?
[Desire Android Development] Saf98:
It's smooth but sometimes freezes. I don't know what else to test?
[Desire Android Development] spezi77:
Please monitor the memory stats and register the amount of memory usage during a freeze.

You could do this by using 'adb shell'. And then enter 'free'.

Sent from my nexus™4 ?
[Desire Android Development] Saf98:
here is the memory test
[Desire Android Development] spezi77:
Thanks, it is a beginning. Maybe you could for the next time also add an info if it refers to a freeze. And maybe an additional logcat would be nice too.

Sent from my nexus™4 ?
[Desire Android Development] spezi77:
What else? Um, try to use the rom as your daily driver.. and let me know your opinion..

Sent from my nexus™4 ?
[Desire Android Development] macs18max:
HI. whoever used this ROM could tell me if the headset is working? (earphone or headset)
[Desire Android Development] Saf98:
I'll test it!
[Desire Android Development] macs18max:
Any luck
[Desire Android Development] maxens63:
Can't understand what I'm doing wrong. Impossible to make this rom work. Stuck on splash screen.
[Desire Android Development] Saf98:
Take the sim out.

---------- Post added at 05:55 PM ---------- Previous post was at 05:46 PM ----------

Bluetooth works and music works with earphones so does eq seems laggy though.
[Desire Android Development] macs18max:
Thanks

Also do you see a headset icon on status bar??

Which kernel are you using 2.6.38 or 3.0.xx?
[Desire Android Development] maxens63:
Don't have a sim in it.
[Desire Android Development] nickleby:
[MENTION=2473151]macs18max[/MENTION] are you still willing to help to bring camcorder to HTC Desire? Now I'm available to test anything in that matter.

[MENTION=5091819]spezi77[/MENTION] the camera is working in this 5.x build? Perhaps this may help https://github.com/HtcLegacy/androi...mmit/a7453ad4b94213c6c243f251368d155f436b0853

https://github.com/HtcLegacy/androi...mmit/011fce8d4c4eebd8153d2ca8ebea7227083a616a

Also, I was reading in a HTC Pico 5.x thread that they had lag after install Gapps, but it disappeared after switching to ART small mode:

dalvik.vm.dex2oat-filter=balanced
dalvik.vm.dex2oat-flags=--no-watch-dog
dalvik.vm.image-dex2oat-filter=speed
[Desire Android Development] macs18max:
Hardware (OMX) encoded camcorder and decoders(720p) is not working for us too in lollipop Htc Hd2... Only camcorder using software (Google) encoder works but it is too slow.

Also lilsafbig has reported that bluetooth headphones are working.

Guys I want to know if the following things work on this ROM

Wired headset/earphone works in this ROM.?

Does it show a headphone icon on the status bar?

And if yes which kernel are you using?
[Desire Android Development] Saf98:
Sorry not Bluetooth headphones just bluetooth to send files but Mic in built earphones works to listen to music I can't test or calls yet?

No headphone icon doesn't appear and its on kernel 3.
[Desire Android Development] spezi77:
Thanks a bunch for sharing this info. I looked into it, but unfortunately these commits didn't have anything new which could be useful for fixing the camera. These legacy codes were already included in Evervolv's android_hardware_qcom_display-legacy and used for compiling the rom.

With ref to switching to ART small modeI:

I have already tried it out in the past months, but it couldn't improve the overall performance.

But let me ask you and everyone else around here, whether you have felt that the ROM is no longer sluggish with the latest version using K3 (published on 31st May in this thread) ???

In this build I have enabled support for external SWAP on SD, which will make the rom a lot more responsive and allow you to use GAPPS without problems.

Looking forward to receiving your feedback..

Cheers! :)
[Desire Android Development] Krezusik:
Hi, thanks for bringing back my "Oldie" to life.

I wanted to update this phone so I can use it as my remote control for media player and as a alarm clock so I needed one of the new OS. The last installed there was CM7, which was too old to install some apps.

This Lolipop works quiet nice, I just have some problems (probably because slow SDcard) that OS hangs quiet often whatever I do. I changed CPU speed to higher values, turned off all animations but this problem still occur.

Unfortunately, there is another problem - I cannot add any account. I've checked previous posts and tried to change zRAM to different values but it doesn't help at all.

Do you have any idea how I can handle it?

Anyway, thanks again for this ROM.

Cheers
[Desire Android Development] spezi77:
Have you created a swap partition?

Once you manage to boot this ROM with swap enabled, it will have sufficient ram and allow you to add a g account.

Please consider that you should either use zram or swap. Having both in parallel will cause conflicts.

Gesendet von meinem Nexus 4 mit Hilfe von XDA Forums
[Desire Android Development] Krezusik:
Hi spezi77,

Thanks for quick response. Yes, I have done swap partition. I tried to turn off zRAM as well but it didn't help.

Problem with account is solved - I just reinstalled your GAPPS and it works.

However, responsiveness on my phone is too low so I will try with KITKAT (KitKANG version 2.0) to see a difference. If this can work better, I will stay with it. If not, I will try to get a faster SDcard.

Cheers,

Krezusik
[Desire Android Development] FalconG:
Hi all , sorry for English.I try install this rom,but after reboot is still wrote htc..
[Desire Android Development] spezi77:
You need to wait 10-15 sec. until it boots.

In case that it does not boot, pull battery and try again.

Sent from my Nexus™4. :D
[Desire Android Development] FalconG:
Thank you spezzi.I wait 3 hours and battery pull.without affect...
[Desire Android Development] spezi77:
Lol, that was a little too long. ;)

Try a different ROM for now.. I am currently considering to work on an update of this ROM, with LP-5.1.

Sent from my Nexus™4. :D
[Desire Android Development] spezi77:
Hi [MENTION=1064652]FalconG[/MENTION]

Maybe sth went wrong during Installation. Check the recovery.log

Sent from my Nexus™4. :D
[Desire Android Development] FalconG:
I try volume down and power,without affect.still green logo
[Desire Android Development] Saf98:
Try power but keep pressing back button.
[Desire Android Development] Sarkie:
How hard would it to be port this to Nexus One as it is basically the same phone?
[Desire Android Development] spezi77:
You should raise that question to [MENTION=4861589]parkedraccoon[/MENTION] or some other devs for your device.

Considering the fact that the adopted code for making it work on the HTC desire is on my github, it should be feasible. ;)

Sent from my Nexus™4. :D
[Desire Android Development] cull3n:
This is... amazing!

I just found my Desire in my garage, to be forgotten and still running 2.3.7.

Figured I might take it upstairs, maybe and just maybe it has 4.0 rom, unlikely.

But you, you legends have the 5.0.2 up and running! :cyclops:
[Desire Android Development] dpanter:
Got eternally stuck on the white HTC logo here as well. Sadly, nothing in this thread or the Q&A thread helped.

Gave up after several attempts and went for LiquidSmooth 4.4.4 just to try that instead, which runs great.

Maybe I'll try again later. Would love this ol' piece of... nostalgia... to experience some lollipop lovin'.
[Desire Android Development] spezi77:
In case that you can recall the exact installation steps, please share it. There was possibly a small detail that you have overseen.

However, if you feel like making another attempt, please also consider to copy the recovery.log to check if something went wrong here.

Have fun with LiquidSmooth! ;)

Gesendet von meinem Nexus 4 mit Hilfe von XDA Forums
[Desire Android Development] dpanter:
I followed the steps exactly as described, with the files linked. This Desire had CM7 installed, if that could make a difference.

I'll give it another go and see what happens.