yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] mirabilos:
Is this for version 3 still, or for version 2 (I note a change)? (I've not yet flashed either yet.) What does it do without vs. with this? (From looking at my version 1 ROM, it uses the SD card, probably as kind of overlay fs, for this already.)

---------- Post added at 09:10 PM ---------- Previous post was at 09:04 PM ----------

Dunno, haven’t had a chance to try it yet. My mail selling point is use of OSM over Google Maps.

Ah, so it does make the device slow? I got mine faster by uninstalling (munzstat, Twidere, F-Droid) and disabling (weather widget) some of the things that operate in the background and switching to K9 mail.

Sure, no worries. I’m a spare-time-OSS-developer too ;)

I use äpps from F-Droid as well (just via manual APK download now, as F-Droid is a major background resource hog), but I got the Android device especially to run Munzee, which requires Google Play services. (I use a regular dumbphone as cellphone, and a WM6.1 device for Geocaching with the Android (and c:geo nightly builds; Cachebox is unusable on the Désirée) as fallback device for the latter only; this goes so far as for me to have a data-only SIM in it.)

Hah, that did it. It also makes the page even slower, a bit harder to read, and the fonts much bigger (I don’t exactly complain about that, but it reduces the oversight), but… well. I know when to switch now.
[Desire Android Development] spezi77:
This is for version 1 or 3. It will allow you to store all apk files and app data to the sd-ext2 partition on your SD card. It will prevent that one day a heavy app user would run out of space. In exchange you will get a slower overall performance. Anyway, performance will in this case mostly depend on the speed of your SD card.

If you are interested you could just give v2 a shot before using v3. :D
[Desire Android Development] mirabilos:
Hm, I remember trying a ROM in which I had to use link2sd manually, and I quickly came to the situation where I could not install anything because it had to be installed before I could use link2sd.

When I then flashed your 1.2 with data2ext4 everything Just Worked™.

As for 2… my battery’s life is short enough already… mh, I would if I had more spare time, though.
[Desire Android Development] Roboffabike:
No space to install Google Play Services?

Hi all,

I thought I would resurrect the Desire that has been running 2.3.7 Mild Wild 8 for 2.5 years. (Solid as a rock actually)

I have completely wiped phone and SD card and created a new 1.5 Gb sd-ext partition.

Then followed the steps in OP to install v3, add gapps and install a2sd.

All looks good and navigation is pretty slick.

Unfortunately, I cannot add a Google account as Google Play Services is missing and when I manually add, when it updates I get 'no space' errors.

Any thoughts/workarounds?
[Desire Android Development] ze7zez:
1. After the first installation you have to wait a long time until the system is arranged each other everything.

2. You do restart and while you're waiting again.

3. Reboot into recovery and install gapps
[Desire Android Development] mirabilos:
Interesting to know that gapps should NOT be flashed with the ROM immediately, but afterwards.

Is this because the first boot sets up symlinks to the SD card?
[Desire Android Development] Roboffabike:
Thanks for the reply, I waited about an hour between each reboot but could not add a google account so had to manually install GPS.

Now, my storage is showing 88Mb free but nothing will install via Play Store.
[Desire Android Development] box90:
I wait now for over 1,5h for the first reboot and it's still running?
[Desire Android Development] ze7zez:
You're lucky. I do not have access to su and I can not install A2SD.
[Desire Android Development] spezi77:
With the most recent ROM version, you are required to flash supersu for getting root. Please carefully read installation instructions in post #1. x)
[Desire Android Development] ze7zez:
I have installed UPDATE-SuperSU-v2.46.zip.
[Desire Android Development] box90:
Is it necessary to flash the 2.6.38 Kernel before flashing the via EXT4?

I waited for over 3 hours without success. I've tried to flash the Rom again, full wipe,... has somebody an idea what I can try?
[Desire Android Development] spezi77:
Hum, strange. What happens if you do this via ADB shell?

I guess that with the next build, I'd better return to userdebug.
[Desire Android Development] spezi77:
No, just flash the ROM.zip as per installation instruction. It already comes with a kernel.

In case of bootloop, please connect your phone to a PC and take a logcat via ADB (the exact command is "adb logcat"). Otherwise nobody can help from the distance.

BTW, which ROM version did you use, with k2 or k3?
[Desire Android Development] ze7zez:
D:\fastboot>adb shell
←7←[r←[999;999H←[6nshell@bravo:/ $ su
su
1|shell@bravo:/ $ a2sd install
a2sd install
Ôťľ This script must be run as root
Ôťľ Aborting
1|shell@bravo:/ $
[Desire Android Development] spezi77:
Oh, oh, let me make a fresh build this Sunday.. :o
[Desire Android Development] box90:
I use the k2.

Here is the logcat (5min), I hope it's enough otherwise I'll update the file: https://dl.dropboxusercontent.com/u/17888900/log

Thanks helping ;)
[Desire Android Development] spezi77:
In your case the ROM is unable to compile dalvik-cache. There is something wrong with your sd-ext partition or SD card. You could try to repeat the installation from scratch (beforehand in recovery you should do a "format all partitions except for SD"), and then share the recovery.log after flashing the rom.

D/installd( 222): Upgrading /data/media for multi-user
E/cutils ( 222): Failed to mkdir(/data/media/): Out of memory
E/installd( 222): Could not create directories; exiting.
E/auditd ( 221): Failed on audit_log_open
I/auditd ( 221): Exiting
D/AndroidRuntime( 87):
D/AndroidRuntime( 87): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 87): CheckJNI is OFF
E/dalvikvm( 87): opt header write failed: No space left on device
[Desire Android Development] box90:
Is it possible that I have no right on the ext 4 partition? I've created the sd partition with gparted, before I can create a new folder on the ext4 partition I have to set the rights to write on it. https://www.dropbox.com/sh/php9chje5drf6dp/AAAz0U8k85N0HoBsq2c7yzEOa?dl=0

I get no recovery.log.

I'll try another sd card and format the old one. --> to different sd card always the same error, no space left on device,...

Edit:

flashing KitKANG v2.0 / CM11 UNOFFICIAL 15/08/15 - 204.33 MB --> no problems

Is it possible that the kernel is the problem? I've tried LiquidSmooth v3.2 (k2) there I've the same problem.
[Desire Android Development] spezi77:
Which hboot do you use?
[Desire Android Development] box90:
I use hboot: HBOOT-6.93.1002

https://dl.dropboxusercontent.com/u/17888900/hboot.jpg
[Desire Android Development] spezi77:
I meant which is the partition layout of the hboot, e.g. 250-40-147 (=stock hboot).

Edit: From your screenshot, I can see that you have a wrong hboot. You have currently 427-5-5.

You need to go back to hboot with 250mb on system partition. You can search on xda for alpharev jelly hboot.
[Desire Android Development] spezi77:
You still use the wrong recovery. In case of switching between data2ext and nand ROM you have to change two things, hboot and respective recovery.

Best of luck! :D
[Desire Android Development] Gregor07:
nicht genügend speicherplatz - not enough memory

Here are my 50 Cents...

I had the same "not enough memory" problem to update google play services (play store wanted to update play services to update google maps) even though I had about 240 MB internal storage available. I uninstalled google maps, google now and removed data from play store.

Then the new install of google maps, google now from the play store worked well. Now I have 308 MB internal storage available.

Regards,

Gregor07
[Desire Android Development] desireleß:
Which hboot do you use?
[Desire Android Development] Gregor07:
AlphaRev LP-loopbk

Bravo PVT4 Ship S-Off

Hboot-6.93.1002

Microp-051d

Touch Panel-Synt0101

Radio-5.11.05.27

Aug 10 2010, 17:52:18
[Desire Android Development] desireleß:
You need "stock hboot" or "alpha jelly hboot". I recommend the second one, with more free space on /data
[Desire Android Development] Gregor07:
Thank you desireleß, I could swar I was installing the correct hboot when I installed 4.4.4 CM 11-20150419-unofficiel-bravo with kernel 2.6.38.8-utopan-v0.2-02140-g57b115d from spezi a while a go (April ?).

I guess that a new hboot requires a complete new installation. But I am to lazy to go through that hazzle. Therefore I will wait until I run into the next memory problem.

Regards,

Gregor
[Desire Android Development] spezi77:
Hey there!

Guess what, I did it again..

What's new in v3.1:

* This build includes the official CM/Android Security Update from 1st Nov 2015

* From now on there is only one build with kernel 2.6.38 (default CPU gov: smartassH3) which offers great speed and battery life (daily driver)

* If you want to have kernel 3.0.16 (experimental) use this flashable zip

* Patched the previously missed out security holes in both kernels (2.6.38 and 3.0.16) as mentioned by [MENTION=382340]walter79[/MENTION]

* Compiled the kernel with UBER toolchain 4.9.4 for increased speed and battery life (credits Cl3Kener)

* Build target reverted to userdebug as there were a few problems with getting root

* Added a new menu item entitled "Performance" in Settings > Personalization (this will give you access to the KernelTweaker app)

* Updated NovaLauncher to 4.1.0

Have a nice day! ;)
[Desire Android Development] jukyO:
Can anyone share a link to twrp recovery? Thanks!
[Desire Android Development] zinconnu:
WOW ! Another good KitKat ROM for our Desire! Thanks!

In my opinion it is better to keep KitKat, Lollipop is not optimized for old devices.

https://dl.dropboxusercontent.com/u.../Recovery/openrecovery-twrp-2.6.3.0-bravo.img

https://dl.dropboxusercontent.com/u.../Recovery/openrecovery-twrp-2.6.3.0-bravo.zip
[Desire Android Development] NicoA380:
I have installed the hboot + recovery + ROM + gapps like discribe in the first post.

I have to answer [y]es to all question of a2sd else, their is no space in the internal memory.

The Play Store isn't stable and crash while typing in the search bar.

I success to install and use At Home Streamer (stream camera on the wifi).

PS : I just experiment a phone crash :-/
[Desire Android Development] spezi77:
Please share your logcat of this crash. Thanks ;)
[Desire Android Development] ze7zez:
I can log in to the google store only when I install gapps,

after

installation A2SD y | n | y.

Maybe it will help someone
[Desire Android Development] NicoA380:
The log is saved somewhere ?
[Desire Android Development] 123xdagsm:
Hi spezi77

big thanks for rom

i installed cm v3.1 and download "HTC-BRAVO-KK-Kernel-3.0.16.zip"

how to install or upgrade kernel 3.0.16 for cm v3.1?

#sorry for may bad english
[Desire Android Development] xp24002000:
installed v3.0 +gaps two weeks ago and my desire is more alive than ever, thanks for this great rom!

i have 250mb system, 512mb ext4, there is no space problems or others, everything works fine except in v3.1 google camera crash (camera settings button click- always crash for me) but i don't use camera anyway.
[Desire Android Development] spezi77:
Carefully read in post #1 how to logcat like a pro. ;)
[Desire Android Development] spezi77:
You can flash it at any time after flashing the ROM.zip :)
[Desire Android Development] Prerna:
Flashing process

Hi,

First of all, many thanks and congratulations for the commitment towards the Desire, which really is a nice piece!

I didn't use mine for years and wanted today to update it with this rom, but came across an error message. I followed the steps I thought were correct, that is:

1) Copy the CM-11.0-KitKANG-bravo.zip' file into the SD card

2) From the recovery menu: wipe phone + cache

3) From recovery, choose to install zip from SD card, select CM-11.0-KitKANG-bravo.zip

After 3-4 seconds, the following error message appears: E:error in /sdcard/CM-11.0-KitKANG-bravo.zip (Status 0)

Installation aborted

I searched in the general thread but only came across instructions that seem to me like outdated, that's why I'm writing here, hoping that it's just a small mistake from my side and that someone will rapidly enlighten me :)

Thanks!
[Desire Android Development] mirabilos:
I think you need to flash the correct HBOOT and recovery first. Also, do the partitioning; from what spezi said, it’s picky about that so use the tool pointed out for it.
[Desire Android Development] Prerna:
Thanks for that. I had to go through Gold Card and s-off all over again after several attempts to get it good.

At this stage, I got a 2.2 Sense Rom (not rooted). It is s-off, but the recovery menu is no longer working! Can someone point me to the correct recovery menu to install via fastbot menu? (Has to be an image as I understand...)

EDIT: I installed the advised Alpha Jelly image for a proper hboot. I could then install the advised 4EXT recovery menu using FASTBOOT. I can eventually again access the recovery menu, although there's always this message saying "the recovery hasn't been configured". I couldn't find what it means... EDIT: I'm now gonna try an app called "4EXT recovery tool" and will again report.

Now I tried to follow all of the instructions and got stuck at:

"7) Enable A2SD" => when I strictly follow the instructions, I get this message: "sd-ext not mounted properly". Am I missing something? EDIT => solved: I created an EXT4 partition on my SD using a tool called Gparted. After that I was able to enable A2SD.

Hu! I spent around 15 hours since yesterday morning, but it's good to see it finally working!
[Desire Android Development] spezi77:
Congrats! I always thought that the general requirements and installation instructions were comprehensive. However, I guess that by now you have learned it by heart! :D
[Desire Android Development] Prerna:
It is for whoever has experience already.

I'm an "old-fashioned" using Windows Phone since 4-5 years. I was much more active in the scene during Windows Mobile' times. So I had to re-learn everything of Android to get it done. Spent so many hours, but it's fun ;)

By the way, can Android 6 be ported to our Desire?
[Desire Android Development] spezi77:
Yes, it can. :P
[Desire Android Development] taninos:
Hi [MENTION=5091819]spezi77[/MENTION],

Could you update the gapps for this rom? Google Play Store doesn't work with the OP's gapps. Thanks in advance.
[Desire Android Development] mirabilos:
Meh, I still prefer Windows Mobile 6.1 over all this wishy-washy modern stuff. I had dialog boxen, buttons, which I could hit with a stylus, and good was.

Though, spezi makes some pain go away, true.

I wonder about Android 6 though. It looks even weirderto me at a first glance. Usability is elsewhere…
[Desire Android Development] kuskro:
[MENTION=5091819]spezi77[/MENTION]

Hi guys, I notice that sio scheduler works better than deadline upon SmartassH3 on 3.0.16 kernel, could sio be added to 2.6.38 kernel?

Aside, the next preset for SmartassH3 is more effective and less overheating on 3.0.16 kernel:

awake_ideal_freq 768000
boost_enabled 1
boost_pulse 0
debug_mask 0
down_rate_us 99000
max_cpu_load 80
min_cpu_load 40
ramp_down_step 128000
ramp_up_step 256000
sample_rate_jiffies 2
sleep_ideal_freq 245760
sleep_wakeup_freq 768000
up_rate_us 24000

BR.
[Desire Android Development] spezi77:
I will have a look into it when working on a new build for htc bravo. Thanks for sharing this useful information! :good:
[Desire Android Development] kuskro:
[MENTION=5091819]spezi77[/MENTION],

I'm glad to help and I'm so thankful for your actual well done work.

To whom it could help, I post my cpu's preset for CM11 v3.1 (kernel 2.6.38):

High speedy SD-Card: Samsung EVO micro sdcards or alike

SD-EXT mbs: 1500mb (more than that lags performance)

Hboot: Spezi77's one (250/5/182)

A2SD: y n y (I tried to move data and libs to SD card but it is not worthy)

Hotspot WPA/WPA2: Fix

More minimalist launcher: ZEAM LAUNCHER (It can be converted to system app to remove Nova Launcher after).

Scheduler: CFQ

Governor: SMARTASSV2

Governor Parameters (Reboot is required):

i) For battery:- (frequency 245000min // 998400max)

ii) For performance:- (frequency 245000min // 1113600max to be set each reboot)

The previous preset offsets speed and battery drained pretty well for daily purpose without cpu's overheating and with smoother outcomes over stock preset.

Spezi77 did a really good work pruning the size of a standard CM11, so I stuck on this last CM11 3.1 version for being the best rom I tried till now.

Best.
[Desire Android Development] desireleß:
does it really make a difference using a sd-ext partition of 768mb instead of 1gb ?

thanks for your suggestion anyway.
[Desire Android Development] kuskro:
First of all, because a sd-card is not designed to be partitioned, secondly because Android is not good working in parallel with two partitions with different format (fat32 and ext4), and thirdly because simultaneous heavy re-reading (apps) and re-writing (cache) rates over a sd-card is not a good idea, I mean, it is a tough work for our Desire, hence less sd-card size means less apps and less over-reading and over-writing.

I backup my "app + apps data" with titanium backup to swap among apps quickly due to the limitations on sd-ext size.

Best.
[Desire Android Development] mirabilos:
Both of these are utter nōnsense.
[Desire Android Development] kuskro:
Not at all, firstly any sd-card chip reader is designed for controlling a unique partition on FAT32 or EXT2 format (not EXT4), we are not talking about either SSD hard drive which controllers are cutting edge or cells flash drive, we are talking about common SD-cards. Secondly, our Android Rom has to read and write in both partition at the same time with different speed depending on each format, each format works with different speed of reading and/or writing and it retards performance in linux or android, it's something well known.

Best.
[Desire Android Development] mirabilos:
This is complete nonsense; the SD cards are handled by the kernel just

like any other block device, that is, like a hard disc. Anything on top

of that (partition table - if any -, filesystem, etc.) is up to whatever

is put on top of that.

This is the Linux kernel you're talking about, not the "ROM", which is

just storage space, and no, the speed does not differ because to the

part of the kernel that actually deals with the medium, the SD card is

just a block device (/dev/mmcblk0), i.e. a bunch of blocks from start

to end; for the part of the kernel that does partitioning (also LVM,

device mapper, LUKS; /dev/mmcblk0p1) it's just a part of a block device

(two parts, the partition table or whatever internal LVM or LUKS structures

there are on-disc, and the actual user data) which is usually sequential

and addressed to be just number ranges on the underlying block device

(and they don't know what kind it is, at best if it can issue discards

a.k.a. ATA TRIM), and to the filesystem, the underlying block device

can be either partition or whole disc (or even memory area in RAM) as

they are addressed just the same, as a series of (usually 512 bytes in

size) storage blocks, by (sequential) number.

So, please learn before spouting utter nonsense or, worse, dangerous

half-knowledge.
[Desire Android Development] ze7zez:
It is an individual matter.

On fresh fat32 partition size 1.5 GB should not be any problems. Problems arise only when populating the data partition. The root directory fat32 partition is variable. The more files with long names, the more memory it needs to manage. Therefore, when one user at everything is fine when it has 1.5GB partition, then with another user may be problems with lag and freez already at 768MB partition size.

Somewhere I read about depending on the amount of memory needed to manage fat32 depending on its size, but now I can not find again.

I hope that helped.
[Desire Android Development] kuskro:
Regardless I wasn't talking about what you pointed out and I was more in the side of what [MENTION=4810659]ze7zez[/MENTION] pointed out, I'm not an expert at all, so thanks for your kindness.

---------- Post added at 11:50 AM ---------- Previous post was at 11:29 AM ----------

To whom it could help, I've found a better preset for SmartassV2 aiming for an "ideal frequency". As this governor ramps up more aggressively towards the ideal frequency and less aggressive after, I notice that if we set a max freq on 1113600 and an ideal freq on 1075200 and a ramping value on 384000, the governor scales up and down CPU very fast and the balance between performance and battery is reasonable.

Frequency Profile: 245000min // 1113600max

Scheduler: CFQ

Governor: SMARTASSV2

Governor Parameters (Reboot is required):

Best
[Desire Android Development] obstacle3:
I just installed 3.1 with y/y/y on my new SanDisk Class 10 16GB with 2GB ext with stock hboot and it's running pretty sweetly, thank you so much spezi!

Only issues that I had:

1. did I mess something up or does the rom not come with a browser?

2. sometimes the screen temporarily flashes for a few seconds, like it's frantically turning up and down the brightness

3. at the first reboot after installing(+optimising) loads of apps on ext, the system boots into an endless stream of phone/ui/everything not responding messages - I had to leave the phone switched off for some time and then it started up fine (the exact same thing happened on more than 1 install)
[Desire Android Development] taninos:
[MENTION=5091819]spezi77[/MENTION]

Has anybody found a way to control tun.ko module to have a workable OpenVPN? This module is loaded by the system by default but it doesn't work with any OpenVPN app.

Thanks in advance.
[Desire Android Development] spezi77:
No, this module is broken in kernel. I couldn't figure out to fix it.
[Desire Android Development] dado023:
I got here by recommendation of other xda member, ....but how and where can i find settings to change and modify cpu frequency?
[Desire Android Development] taninos:
Trickster Mod App is the best.

---------- Post added at 05:09 PM ---------- Previous post was at 05:05 PM ----------

Could anybody help [MENTION=5091819]spezi77[/MENTION] on turn.ko issue? I cannot help, just test, sorry.
[Desire Android Development] dado023:
Some one with good linux knowledge can compile kernel with older kernel module into newer kernel........i hope there is someone az XDA who knows how to compile and combine older modules to different kernels.....this way there could be kernel with all working functionality for Desire Bravo....even adreno200 drivers.
[Desire Android Development] spezi77:
Please explain whats the issue with adreno drivers?
[Desire Android Development] mirabilos:
Uh no, you don’t do that. You normally just make CONFIG_TUN=m into the kernel .config while you compile it; this way, kernel and module match.
[Desire Android Development] dado023:
i have no idea, didnt mention any issues....are there any?....i mean if camera isnt working with all its functions, usually its the driver to blame, right?

---------- Post added at 06:56 PM ---------- Previous post was at 06:54 PM ----------

I am sure you know more than me about that stuff, because i know just some part of general knowledge about linux kernel :o
[Desire Android Development] spezi77:
Adreno driver is for gpu. :P

About fixing vpn, I have a very limited time, as many devs on XDA. If someone is really interested and would invest some time into analysis and finding a "legacy" patch, then I am glad to help.

Honestly, I am not bothered from not being able to use vpn with my Desire. The one who needs vpn is mostly a business person, and that guy has enough money to purchase a more modern phone without the need to flash a custom rom.
[Desire Android Development] spezi77:
Someone who knows what he is talking about!

[MENTION=2978117]dado023[/MENTION] Guess what, i already tried that in the past without success..