yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] karlmx:
Very nice job !!

Everything works only video recording :

Here my logcat :

I/ServiceManager( 171): service 'media.audio_flinger' died

I/ServiceManager( 171): service 'media.player' died

I/ServiceManager( 171): service 'media.camera' died

I/ServiceManager( 171): service 'media.audio_policy' died

W/CameraBase( 3993): mediaserver's remote binder Camera object died

W/AudioSystem( 501): AudioFlinger server died!

E/AudioService( 501): Media server died.

W/MediaMetadataRetriever( 3993): MediaMetadataRetriever server died!

W/AudioSystem( 501): AudioPolicyService server died!

W/CameraBase( 3993): Camera service died!

E/Camera ( 3993): Error 100

E/CameraErrorCallback( 3993): Got camera error callback. error=100

W/dalvikvm( 3993): threadid=12: thread exiting with uncaught exception (group=0x418b3c50)

W/IMediaDeathNotifier( 3993): media server died

E/CAM_VideoModule( 3993): MediaRecorder error. what=100. extra=0

E/AndroidRuntime( 3993): FATAL EXCEPTION: Camera Handler Thread

E/AndroidRuntime( 3993): Process: com.android.camera2, PID: 3993

E/AndroidRuntime( 3993): java.lang.RuntimeException: Media server died.

E/AndroidRuntime( 3993):	at com.android.camera.CameraErrorCallback.onError(CameraErrorCallback.java:32)

E/AndroidRuntime( 3993):	at android.hardware.Camera$EventHandler.handleMessage(Camera.java:971)

E/AndroidRuntime( 3993):	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime( 3993):	at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 3993):	at android.os.HandlerThread.run(HandlerThread.java:61)

W/ActivityManager( 501): Force finishing activity com.android.camera2/com.android.camera.CameraLauncher

Very fast and very nice !!

Many thanx !!

I made a post on my blog to thank you @ http://code-esperluette.blogspot.fr/2013/12/android-kitkat-sur-htc-desire.html

:good:
[Desire Android Development] ramnkc:
boot loop on v2... probably on stock HBOOT. Tried to flash alpharev jellybean hboot but show CID error... any ideas?
[Desire Android Development] Mr.Mefisto:
From now on you will find this custom Rom in Desire Index! Keep up the good work spezi77!
[Desire Android Development] karlmx:
I have noted too a crash when trying to uninstall an app in parameters section, we have to go throw the play store to do the wanted action.
[Desire Android Development] yeahman45:
i am using KitKANG v0.2 (CM flavoured preview) and i have no google now... can't find it on play store
[Desire Android Development] JohnSparrow:
You should install "Google Search" if it isn't installed yet, and then run it via corresponding shortcut in app menu.

I've installed v0.2 & have to say that as for me it's probably the best 4.1-4.4 ROM for HTC Desire. Cool & smooth & so on, :).

My colleague with Nexus 7 told that after receiving official 4.4. OTA his tablet battery works at least 50% longer under the same load. Hardly this ROM have the same optimization level but I hope the battery life won't decrease.

Problems and issues (only report, without any claims to respective developer):

# [Settings > Applications > any app] crashes.

# [Settings > Security] crashes.

# There are no choice in Settings->Memory to connect sdcard to PC as MTP device (in 4.2 I can press Menu button in [Settings > Memory] & go to sdcard connection options).

# After connection sdcard to PC as USB & corresponding proper disconnection my phone has no access to sdcard (in TotalCommander it looks like one with 0 bytes size and without any content - folders, files, etc). Only reboot help in this case.

# Selection of ART option in [Settings > Developer options > Select runtime] results in bootlop.

# I haven't found any way to change lockscreen widgets (it would be better to replace Clock widget with Chronus one, for example).

# I haven't found any way to change desktop settings (especially shortcut labels font for desktop and app menu).

# USB OTG doesn't work (this adapter works fine with HTC One X).
[Desire Android Development] JohnSparrow:
one more issue:

# There are no options for putting toogles (WiFi, bluetooth, GPS, sound, flashlight & so on) into the notification bar drawer. At least I couldnt find them.
[Desire Android Development] yeahman45:
use Gravitybox to add/remove quick tiles in notification. Yup i installed google search and i have google now :) ... but rom was very slow today while using gps and camera.. couldn't do almost anything as it was too slow :( .. so i decided to switch back to 4.3.. I did noticed better battery life.. battery life looked quite good compared to 4.3
[Desire Android Development] Pai Mei:
Where can I find gravitybox for desire?

Thank you!
[Desire Android Development] vasili_defy:
1. Install xposed installer ,

2. Install framework

3. Then search for gravitybox in download section and install it

4. Actuvate gravitybox in module section and reboot :thumbup:

Sent from ISS
[Desire Android Development] Pai Mei:
Thank you! This app is awesome!
[Desire Android Development] dariush_jab:
Great

Great Rom,I can use it for daily use after the errors fix

There is another Rom in the following addres, u can try that as well

http://j00m.exnix.org/
[Desire Android Development] nafnist:
This is awesome, thanks!
[Desire Android Development] diosak:
Apart from FCs in settings, I cannot find a way to make home app shortucts options visible. What i mean is this: when you long-touch a shortcut two options come up on the top of the screen. Remove/Uninstall and App Info, both of which are pretty much visible. Now, in my case they are not, and what i have to do is just guess where they are. They seem to have gone further up the screen, as if there is more spaceup there..
[Desire Android Development] Seronez:
I can't install the special version of the ext4 recovery. (I was using normal ext4 1.0.0.5 RC9 for flashing and setting up 1GB ext4 partition)

It loads in bootloader, but there is no update prompt.

Hboot was working fine.

Do you have the recovery as flashable zip?

Also the Rom is really slow for me with ocasional random reboots...what could I be doing wrong?

I followed your instructions and all the requirements are fullfilled.
[Desire Android Development] ze7zez:
The procedure Installing using fastboot recovery is extremely simple. In step 2, use 4ext-touch-recovery-for-LP-loopbk.zip from which the extract recovery.img.

It may be many reasons. Therefore, it would be best if you include logcat. I propose to do logcat command:

adb logcat -d > logcat_%date%_.txt
[Desire Android Development] spezi77:
You managed it via fastboot now?

It was my fault. I have given you the wrong download link. The previous one was for the flashable version. Here, this one is the PB99IMG version: http://d-h.st/PGVJ
[Desire Android Development] Seronez:
Thank you I will try with this Version again.

edit: it worked perfectly, thanks again.
[Desire Android Development] aldweb:
Thank you spezi77. :)

Cheers.
[Desire Android Development] Ayazis:
This Rom is pretty slow on my Desire. I have a class 10 SD card, but most of my apps take a long time to load. I have a lot of Phone-restarts as well..

Any tips for this?

I'm trying to add a logcat here, but my system is read-only, so the file does not save.

I tried saving it to /sdcard/log.txt but then it says: Waiting for device. and thats it.

Googeling tells me everybody is doing this on a PC. can't this be done trhough my phone's terminal?

Edit: I used this command: Logcat > /storage/sdcard0/log.txt to generate the following (so no adb command, just logcat),:
[Desire Android Development] mirabilos:
True, but it’s more stable and functional than the last official CM7…
[Desire Android Development] snake3000:
I change the bootloader, I have now written on the Bootloader page: LP-loopbk AlphaRev

i change the recovery from the Bootloader with ext4 recovery.

But ext4 recovery is not working properly.

For example when I want to format my sd card:

I Select "Remove all partitions and start from scratch"

I Select my sd-ext partition size.

I Skip sd-ext 2

I Skip swap

I cant not Choose Ext4 or Ext3

and the progressing circle logo turn for a long time without ever running stops.

The recovery made this for any stains

In "info" part of recovery there is no info on any phone that appears

anyone can help me, please
[Desire Android Development] Grizzly`:
Battery standby time in 2.0

Hi folks,

Unfortunatelly I have HORRIBLE standby time with v2.0. Compared to the previous version that I used for any significant time, which was v1.1, I have less than half(!) the standby time. This makes the phone unusable to me day to day. I am not sure if this degradation of standby time was introduced by the new kernel in v2.0, or by data2ext4 in v1.2, or by whatever. I never really used v1.2. Does anybody else have this problem with v2.0? Is there something I can try to fix it? Will a logcat tell me anything about the reasons? The battery stats only show that "mobilfunk standby" (mobile standby) is taking up ~40% of my overall battery usage.

I have been a very happy user of this rom for a long time, but I am now not sure how to proceed. I would actually like to downgrade to v1.1, which I had been using for several months, and which worked quite well. In my experience it was also more stable (less strange reboots) than v2.0 The only reason I don't downgrade is the security related fixes, especially the stagefright stuff. Would it be technically feasable to port back the stagefright fix to an otherwise unchanged v1.1, and do some kind of v1.1.1 security fix for the "classic" series of 2.6.38/a2sd based kitkang?
[Desire Android Development] spezi77:
Yes, technically speaking, everything is possible. If I happen to have some time, I could try to make a "classic" build.

However, if you are impatient then you could just be a brave guy, and try to replace the boot.img inside the version 2.0 ZIP with the one from v1.2, to make a "back port" to kernel 2.6.38! :D

P.S.: and don't forget to also replace the file: /system/lib/modules/bcmdhd.ko at the same go!

It is a known issue that k3 has a higher power consumption. That plus the fact that your battery is 5 years old, results in a reduced battery life.

Sent from my Nexus™4. :D
[Desire Android Development] gainan:
Hi all,

First of all, thank you very much spezi77 for all these roms for the htc desire :)

I'm having also a lot of reboots and freezes with the kernel 3.0.16. Mainly on start ups, and specially if the wifi is on.

The following logcat (just in case it gives you a clue about the problem) is a sudden soft reboot just after the start up. After the soft reboot, the mobile gets freezed.

http://pastebin.com/yMJf6Df8

When this happens, it takes about 3-4 reboots to complete a good start up.
[Desire Android Development] itm:
I've just discovered this thread, as I want to update my HTC Desire Bravo from MildWild 14 to this ROM. I've downloaded both the 4EXT Touch Recovery and Gapps from the links in the OP, but both files were flagged as containing malware by my (AVG) AV software. Is this a known issue?
[Desire Android Development] spezi77:
I don't share malware on xda. This is an issue with your AVG antivirus solution (false positive).

Please ensure that the md5 sum of the files you have downloaded match with the one that is given in the 1st page of this thread. If there is a matching, then you have the unaltered file which was compiled by me.

Have a nice day! ;)

Gesendet von meinem Nexus 4 mit Hilfe von XDA Forums
[Desire Android Development] ze7zez:
Known issue is that the antivirus software on the PC threats are the files relating to the root.
[Desire Android Development] itm:
Thanks. I found it hard to believe that the files wouldn't be genuine, but I'm always super-cautious when I follow links to download locations that I haven't used before!
[Desire Android Development] box90:
Thanks for the rom ;)

I've a problem, I've flashed the current version and now the battery isn't charging anymore?
[Desire Android Development] tat003:
[MENTION=5091819]spezi77[/MENTION]: thanks for taking care of our old desires :)

A wifi problem here (kitkang 2.0): I can't use channel 13, regulatory domain doesn't seems to be used (I tried wifi/advances/Region code with wifi on, off, with and without reboot, ro.product.locale.region=FR in build.prop, still don't see my channel 13 home wifi :(

Any idea ?
[Desire Android Development] spezi77:
I believe that it is an issue in kernel version 3. You could check this comment: http://xdaforums.com/showthread.php?p=63249617

Please let me know if changing to channel 3 has solved your problem.

Cheers! :)
[Desire Android Development] tat003:
I can't use channel 3 here: 13 is the only one useable (1-11 over-used by neighbours). I know that it works on any channel from 1 to 11 (US regulatory domain, used by default), using some of them at work (and missing >11 too there).

This is a common regulatory domain problem, fixed in "pure" cyanogen a long time ago.

On the kernel side (on linux machines), cfg80211 module should get a ieee80211_regdom param (old implementation), see https://wireless.wiki.kernel.org/en/developers/regulatory to know everything…

I don't understand how this is meant to be managed in android (and suppose this have changed these years…)
[Desire Android Development] spezi77:
I am sorry that I cannot provide a one-fits-all-needs-solution for this. I think that there is a 3rd party app available, which could maybe solve your trouble..
[Desire Android Development] mirabilos:
The low-RAM settings could be interesting for further development of this ROM:

https://source.android.com/devices/tech/config/low-ram.html
[Desire Android Development] spezi77:
Thanks for your interest and your effort to share development hints. Of course, it has been already considered. Next time, please have a look into the source of this ROM first.. :P
[Desire Android Development] TheAbalone:
Hi!

Thank you for sharing your rom.

I have problems with installing the rom.

The 4ext recovery brings a failure while partitioning the sd card. Is a 32gb card too big?

Dear,

Berni
[Desire Android Development] spezi77:
Hi Berni,

Please share your recovery.log so that we can see what went wrong.

Cheers!
[Desire Android Development] mirabilos:
Did and saw no indice for it being used:

/tmp/android_device_htc_bravo $ git grep low_ram | wc

0 0 0

If it is, good. (It was just a side note anyway, I was looking for clues how to permanently enable my swap partition. Found a post that detailed how that was not a good idea instead.)
[Desire Android Development] spezi77:
Wrong project.

Look for #low mem tweaks in https://github.com/spezi77/android_device_htc_qsd8k-common/blob/cm-11.0/qsd8k.mk
[Desire Android Development] TheAbalone:
Hi!

Thank you for your rom! I have flashed the hboot from your thread and the 4ext recovery. But 4ext recovery hangs at formatting system.

I can't get Fastboot to work, are there working drivers for win10

There also is a failure in partitioning the sd card. Is 32gb too big?

Dear,

Berni

In meantime the partitioning finished without an error, but the device doesnt boot now and hangs at bootscreen [emoji20] sometimes it advances to cm circle, but stay there forever?!
[Desire Android Development] spezi77:
You should now take a logcat, so that we can see what possibly went wrong. See here: http://xdaforums.com/showthread.php?t=1378491
[Desire Android Development] TheAbalone:
Thank you for your fast help. I can't get adb and fastboot to work on my notebook.

I switched to 1.2 and it boots. But the initialization of an exchange Server interrupts.

Indipendently from that: my wife isn't satisfied by the speed... Till now she used cm7, but her most important websites aren't working anymore on stock browser. I also don't find a working alternative for android 2.3

It's a mess... It's time for new phone.

Thank you!
[Desire Android Development] spezi77:
In order to make this ROM work faster, you should install v1.2 with custom hboot (250/5/182) and enable a2sd. Furthermore you could try to either format the SD card or replace it with class 6 card or higher.

Alternatively, you could try out my LiquidSmooth ROM, which some people say it is the fastest one.

And after all, in case that your wife would be still unhappy, get her a new phone! xD
[Desire Android Development] snake3000:
I need help

I change the bootloader, I have now written on the Bootloader page: LP-loopbk AlphaRev

i change the recovery from the Bootloader with ext4 recovery.

But ext4 recovery is not working properly.

For example when I want to format my sd card:

I Select "Remove all partitions and start from scratch"

I Select my sd-ext partition size.

I Skip sd-ext 2

I Skip swap

I cant not Choose Ext4 or Ext3

and the progressing circle logo turn for a long time without ever running stops.

The recovery made this for any stains

In "info" part of recovery there is no info on any phone that appears

anyone can help me, please

(sorry for my bad English)
[Desire Android Development] spezi77:
The problem is that you should have created sd-ext1 and sd-ext2 before flashing the new recovery.

The solution is to go back to the old recovery, create and format the sd-ext partitions, and then flash the new recovery, so that you can install the ROM.

Please don't ask why exactly it is like this.. In short, the new recovery is just a dirty hack. xD
[Desire Android Development] box90:
Has somebody the same problem that the battery is only up for 24h without any interacting?

I've bought a new HTC battery.

https://dl.dropboxusercontent.com/u/17888900/htc_desire.jpg

Has somebody an idea to fix it, I'll try to flash it again and clear all data?
[Desire Android Development] spezi77:
Battery drain is kernel 3 related. There is no fix currently. You could try to flash kernel 2.6.38 on top of this ROM.

Or in case that you have no idea of how to replace the kernel, you could go back to v1.2 of this ROM.

P.S.: I will make a new ROM version on the weekend with the latest stagefright patches and will also use k2.
[Desire Android Development] box90:
Thanks, I think I can wait for this ;)
[Desire Android Development] biondi53:
[MENTION=5091819]spezi77[/MENTION] we have any chance?

http://xdaforums.com/nexus-one/general/unofficial-android-6-0-maybe-coming-to-t3247386
[Desire Android Development] ze7zez:
I hope no chance.

LP operates poorly on the HTC Desire because of its design objectives were prepared for the more powerful hardware.

Why M would work better than the LP?
[Desire Android Development] spezi77:
First of all thanks for sharing this.

:)

Right, M is basically an enhanced version of LP. It doesn't offer better support for ancient devices.

I could look into his hacks to see whether there is sth useful for boosting up LP on bravo. If that would bring any good results, then I guess we could give M a try. Of course, I don't promise anything.. Don't expect anything!
[Desire Android Development] biondi53:
M works better than LP in my N7/N4, much better...

Sorry for the OT
[Desire Android Development] ze7zez:
Here we are talking about the device with a single-core 1GHz processor and 512 RAM.

You do not compare it to something dissimilar.

EOT
[Desire Android Development] biondi53:
I'm not comparing devices, I'm comparing the performance of two OS in one device, M works better than LP, no doubt

EOT & best regards!
[Desire Android Development] spezi77:
New version available now. Have fun! ;)
[Desire Android Development] jejehtc:
Always ready for a new version of you.;)
[Desire Android Development] spezi77:
That's nice. Please share your user experience report in exchange. Anyways, I hope you enjoy my work. If that is the way it is then it was not a waste of time.. ;)
[Desire Android Development] walter79:
Using sdcard 2nd ext4 partition for /data by patching init.bravo.rc :D

on fs
# mount mtd partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint
mount yaffs2 mtd@system /system
mount yaffs2 mtd@system /system ro remount
#mount yaffs2 mtd@userdata /data nosuid nodev
mount yaffs2 mtd@cache /cache nosuid nodev

# wait for sdcard
# wait has a timeot of 5 seconds.
# calling it 4 times allows 20 seconds for the mmcblk0p2 partition to show up
wait /dev/block/mmcblk0p2
wait /dev/block/mmcblk0p2
wait /dev/block/mmcblk0p2
wait /dev/block/mmcblk0p2

# File system check
exec /bin/busybox sh -c "/bin/e2fsck -p /dev/block/mmcblk0p2 > /fsck.log"
# mount the 1st SD-EXT partition for data
mount ext4 /dev/block/mmcblk0p2 /data wait noatime nodiratime barrier=0

on post-fs-data
[Desire Android Development] walter79:
[MENTION=5091819]spezi77[/MENTION]

I should disable adb on boot.
[Desire Android Development] walter79:
Our desire is still vulnerable

CVE-2013-6282 is not patched (kernel 2.6.38 maybe 3.0.x too) Fix: Link

CVE-2015-1528 is not patched (rom --> libcutils/native-handle.c + libs/binder/Parcel.cpp) Fix: Link

checked with VTS for Android
[Desire Android Development] spezi77:
Yep, because build target "user" does not allow ADB debugging. ;)

Ha-ha, you are cheating.. :D
[Desire Android Development] spezi77:
Patching never really comes to an end. :D

Btw, the CVE's which are leftover now are not that critical as the ones that were recently covered in this ROM version.
[Desire Android Development] mirabilos:
signature spoofing support for microG

Hi,

have you looked at this?

http://o9i.de/2015/10/23/howto-gmscore.html

The patches for signature spoofing support (which should be in the base ROM, as people report Xposed not working, and base ROM is better anyway) are linked from: http://xdaforums.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616

I’d kinda be interested to try this out ;)
[Desire Android Development] spezi77:
Hi,

Thanks for sharing this. This would allow you to become independent from Google Play/GMS, right? What are you trying to achieve with it..? Don't get me wrong.. I just want to learn why someone could need it so badly.

Cheers! ;)
[Desire Android Development] mirabilos:
Exactly. I wish to use Free Software whenever possible and abhor spyware. Another bonus is to replace Google Maps (e.g. in the Munzee game) with OpenStreetMap (the v1 API can be replaced already, but the v2 API is part of the GMS AFAICT from a first look at it).

I found this on http://planet.debian.org/ via http://xana.scru.org/xana2/quanks/microgmscorewebsockets/ which lists some more use cases for software freedom with ROM support like this (e.g. a Free variant of TextSecure, which I don’t personally use though).

I vaguely recall there being a THANKS button on posts on this site years ago, but haven’t found it ever since… I would, though. I did rate the post ✯✯✯✯✯ though ☺
[Desire Android Development] zinconnu:
Interesting. Will it be "lighter" for the Desire? GApps are very heavy in my opinion.
[Desire Android Development] spezi77:
Alright, point taken. When there is a little then I will try to see what I can do.

Hum, when u r signed in to xda, it normally gives you a thanks Option for each post.

Yes, I also think so. This could be useful to prevent that LP on htc bravo turns into a sluggish ROM when having gapps installed. :)
[Desire Android Development] zinconnu:
That is why i have F-Droid installed, and no gapps.

But nowadays a lot of apps refuse to run or even to install because of missing "Google Play Services", so this project is very interesting. :fingers-crossed:
[Desire Android Development] ze7zez:
OT

At the bottom of the page is placed quick style chooser. Select 2010 or later, you will be able to click on the "Thanks".