yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] gongoscho:
:good: need a beta tester?
[Desire HD Android Development] gjc:
Do you mean "Adoptable Storage" ?, if I am reading it correctly that would seem to suggest a way round limited on-board system space?

@Mustaavalkosta, seems there is enough interest to start a new "Unofficial CM13" thread (to keep this one on-track as CM12.1)
[Desire HD Android Development] Tao309:
CM11 or CM 12.1 better keep battery life? And how much?
[Desire HD Android Development] xdagee:
And when are we going to see those builds?

OMG!!! This is great. Finally! Finally!! Patiently. waiting... :laugh:
[Desire HD Android Development] Mustaavalkosta:
They have been live for a while now. You can check KSM status from /sys/kernel/mm/uksm/run. If it's 0 then UKSM is not running in your device.
[Desire HD Android Development] ALIEN_:
I just need to work out (remember) how to root my 2nd Desire HD now :)
[Desire HD Android Development] Mustaavalkosta:
Yeah, if that's possible and works ok it basicly does the same job that messing with fstab does except it would work with standard fstab. I haven't had a chance to take a look at it yet. Initial build that I got the screenshot from was using the tweaked fstab already present in cm-12.1 aceopt builds. I'm always for easier ways of doing things and based on gjc's link above adoptable storage might be easier way than changing fstab. We can and likely will continue on this topic of discussion on CM 13.0 thread linked below.

Done: http://xdaforums.com/htc-desire-hd/development/rom-cyanogenmod-13-0-nightlies-t3257662

Thread doesn't mean it will happen but people can jump onboard the Hype Train there and whatnot. :silly:
[Desire HD Android Development] xdagee:
I checked, its 0 that mean KSM is not running on my build (snapshot 20151122). I will quickly update and report back with my feedback.

Thank you :)

---------- Post added at 12:32 PM ---------- Previous post was at 12:29 PM ----------

already on the train :p, no dl link atm. still waiting patiently. It will definitely happen. :laugh::laugh::laugh:
[Desire HD Android Development] Alex768:
Thanks)
[Desire HD Android Development] gjc:
That question is near impossible to answer.

Battery life is very subject to how you use your phone and what apps you have installed.

I don't believe anyone has done a direct baseline comparison between CM11 & CM12.1, with exactly the same usage pattern and apps installed.

Best way to find out is to take an image of your current install and change to the other, with the same apps/usage an see how it goes.

You can always restore the old image if you find battery drain too excessive.

All I can say is from my experience there is not a major difference.
[Desire HD Android Development] Mustaavalkosta:
I dropped 12.1 nightlies to weekly schedule. There are so little changes now on 12.1 branches due to focus shift to 13.0 that daily builds aren't really necessary. There'll be a build scheduled every Sunday from now on.
[Desire HD Android Development] Mustaavalkosta:
HTTPS

SSL certificates are now renewed across the ODP domains just in case someone faced HSTS block earlier with expired certificates. Let me know if something isn't working with SSL. Let's Encrypt service only just entered open beta after all.
[Desire HD Android Development] MikhailM1:
Hi, Everyone and Mustaavalkosta in particular,

HELP PLEASE

After a period of enforced absence due to hard bricked DHD I am now pleased to be back! Managed to buy a "for parts" DHD on Ebay and swapped the mother board, so my DHD with the replacement motherboard booted up, but into a stock locked bootloader Gingerbread. Took me some time to unlock the bootloader, root, S-off, but I am now back on CM 12.1!

However, I am trying to change to the Aceopt version and keep getting "this package is for device: aceopt; this device is ace" and "Error executing updater binary in zip". Can anyone help solve this? (I have done all the recommended wipes).
[Desire HD Android Development] Mustaavalkosta:
You likely have wrong recovery since zip checks against recovery's system properties for device name. Make sure you are using aceopt recovery.
[Desire HD Android Development] xda-dhd:
aceopt

You read this post?

http://xdaforums.com/showpost.php?p=62758453&postcount=531

UPD: http://xdaforums.com/showpost.php?p=64120945&postcount=13
[Desire HD Android Development] MikhailM1:
Thanks for replying and I apologise to everyone for asking for help before doing a bit more searching myself. Yes, I have found Musta's instructions for changing to Aceopt and found the correct TWRP to use, but only after posting my help request! Preparing a new sdcard now.
[Desire HD Android Development] MikhailM1:
Thank you for the advice but having installed the ACEOPT version of TWRP 2.8.7.0 and reformatted the sdcard to ext4 and then installed CM12.1 -20151128 with the appropriate gapps I keep getting the Encryption Unsuccessful error warning with a button "Reset phone". Pressing that brings up TWRP, which attempts to fix ext4 and reboots with the same error result! Any ideas, what I am doing wrong?
[Desire HD Android Development] pat99:
Are you flashing aceopt build or regular?
[Desire HD Android Development] MikhailM1:
Aceopt version of TWRP, aceopt version of rom, all wipes in line with Musta's instructions, sdcard reformed as ext4. Keep getting the Encryption unsuccessful message. Tried re-downloading the TWRP. rom, gapps to ensure they were not corrupted somehow, but made no difference.
[Desire HD Android Development] Mustaavalkosta:
Did you do the reformats in aceopt recovery? You likely have something wrong in your filesystems if you get that error. Saga users have experienced the same and they solved it by fixing filesystems (ie. they had done the conversion wrong).
[Desire HD Android Development] MikhailM1:
Thank you for the reply. The reformating of sdcard (sd-ext) was done with Aceopt TWRP - does one have to reformat any other partition? Your use of reformat

s

suggests there is more to reformat.
[Desire HD Android Development] Mustaavalkosta:
You shouldn't reformat sd-ext since you shouldn't even have two partitions on your sdcard. Regardless, sd-ext is meaningless for opt variant although I'd recommend reverting back to single partition sdcard before doing any of the steps mentioned in the conversion guide. Second partition on your sdcard won't do much good for you since system will use the whole first partition on sdcard for its purposes on opt variant. The bigger the first partition is the more you have space for your apps and files.

To format sdcard you need to convert/format data partition (yes, I know this may twist your brain a bit) in aceopt recovery to either EXT4 or F2FS. Also make sure that aceopt recovery says your system partition is EXT4 because if you have been using F2FS on your data partition prior to conversion it may cause issues.
[Desire HD Android Development] MikhailM1:
Thank you, Mustaavalkosta, for a clear and detailed explanation. Will try the aceopt version again, this time correctly!
[Desire HD Android Development] ALIEN_:
Hey Mikhail,

Can you let me know how you rooted your dhd and where the files are to do it? I gave a second device but it has stock gingerbread and I can't location the required filesvto root etc.
[Desire HD Android Development] MikhailM1:
Hi, Alien,

1 You need to enable booting into Fastboot/Bootloader using the -Sound button and Power button together. For this, go into Setup/Power/ and check the correct box to permit Bootloader to be opened this way. Can't remember what the box is called under Gingerbread, as I am now on CM12.1 and it is different.

2 Then you have to unlock the Bootloader to allow non-HTC roms to be used. This you do by going to the HTC Devs website (www.htcdev.com/bootloader) and following the instructions. They at first may seem complicated, but it is fairly simple.

3 Install a pre-rooted version of Gingerbread 2.3.5 by following the instructions here http://xdaforums.com/showthread.php?t=2221039

You will now have a rooted unlocked bootloader Gingerbread.

4 Install TWRP 2.8.7.0 and flash any unofficial rom you like (If you want to use the aceopt version, then you need to use a aceopt version of TWRP and reformat parts of your system.
[Desire HD Android Development] MikhailM1:
Thank you again, Mustaavalkosta,

Obviously, after I followed your instructions on formatting the data and system it all loaded and boots up correctly and works. The surprising thing is that at one point I decided I need to re-do the whole sequence of flashing my DHD starting with a rooted stock HTC rom. I reflashed a non-aceopt TWRP 2.8.7.0 and flashed the HTC rom. It worked fine. I then tried to re-flash the ace version of CM12.1 and TWRP told me that my device was aceopt while the CM12.1 is for ace. But the HTC rooted rom worked OK on a aceopt formatted DHD! (I was then obviously able to flash the aceopt version of TWRP and aceopt CM12.1 directly without re-formatting data or system.
[Desire HD Android Development] Lemmi1:
One question.

I just flashed it to my goog old DHD and nearly everything works well.

The only problem I have is, that I don't get a working GPS fix. Is there a workaround or what can I do?
[Desire HD Android Development] rjand:
What was your previous working ROM and which radio version are you using?
[Desire HD Android Development] Lemmi1:
It was ARHD, a Sense Rom with android 4.0.3.

There is the original radio version of the DHD, that comes with the rom.
[Desire HD Android Development] rjand:
If you are using the original radio you may need to update it for Android 4.1 or newer to work properly, here's a link to a Desire HD radio thread http://xdaforums.com/showpost.php?p=9891581&postcount=3. The lastest one here is July 2012, it says Aspire 4G but it works on the DHD as well, it is the one I have been using since the first 4.1 ROM's were being tested on out device.

Also some users previously had problems coming from Sense ROM's with Android 4.0 / 4.1, broken GPS being the main problem. The fix was to install a stock RUU ROM (Android 2.2 / 2.3), then install the custom Android 4.1 or newer non-SENSE ROM.
[Desire HD Android Development] Tao309:
Hello!

How can I remove swap on CM 12.1?

"Reset Swap" in Google Play is not help. I thinks it's just disabled swap.
[Desire HD Android Development] Lemmi1:
I now tried the new radio and GPS still didn't work.

Then I flashed stock rom to get a working GPS. That works great with stock.

Wait for GPS fix and then wanted to go to cm12.1 again.

But then I read back my backup of the cm12.1 installation. I reflashed the new radio too.

After boot everything seems to work week, but GPS still don't work. There is no GPS fix.

Tried to get fix with GPS Status App.

Gesendet von meinem SM-G903F mit Tapatalk
[Desire HD Android Development] rjand:
Once the radio is installed there is no need to reinstall it.

Which version did you install, was it 12.69.60.29_26.17.14.11_M? This works in Western Europe, haven't tried it anywhere else.

Which stock ROM version did you install?

Which CM12.1 nightly / snapshot did you install?

When going to CM12.1 did you full wipe - everything except SDCard if not using aceopt variant?

What happens with a clean install of CM12.1 - gapps 5.1 only install, do not restore any settings or data?
[Desire HD Android Development] Lemmi1:
I installed PD98IMG_12.69.60.29_26.17.14.11_M. I flashed it over H-Boot and CM12.1 started normal.

Western Europe is good, cause I live in germany.

The stock rom I installed was Original-RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1_Radio_12.65.60.29_26.14.04.28_M_release_225512_rooted, with is linked in AAHK Thread from Phiber2000.

This is the link to his thread in german forum:

http://www.android-hilfe.de/thema/s...unlock-s-off-supercid-custom-recovery.400774/

This was a RUU File that must be flashed over H-Boot in bootloader. There is also the original old radio file included.

The CM12.1 file was this: cm-12.1-20151206-UNOFFICIAL-aceopt

Google Apps: gapps-511-base-20151205-1-signed

I had made a backup over twrp of the complete installation with all apps. This I read back with twrp and then I flashed PD98IMG_12.69.60.29_26.17.14.11_M again over H-Boot, cause the RUU I wrote before flashed the original old radio. And so I updated radio to the new version.

After that I booted my DHD and tested the GPS with GPS Status App. I also deleted A-GPS Data with this app and renewed it. So that everything is new.

No sat signal at all. GPS was activated in settings with all possible things.

I dont make a new clean install, cause the installation before was a clean install, that I restored. Before it I did a fullwipe.

SD card is formatted ext4 and 32 GB SanDisk.

I remembered older times. There you only have to flash an old sense rom, wait for gps fix and then fullwipe and recover the backup you have made over recovery. But right now this seems not to work at all for me.
[Desire HD Android Development] Lemmi1:
And by the way. The link where you can download the new radio is not good at all.

The radio file for download contains malware.

Gesendet von meinem SM-G903F mit Tapatalk
[Desire HD Android Development] rjand:
Sorry, it is a few years now since I last used the link. If you search the forums I think there is another thread for DHD radios.
[Desire HD Android Development] Lemmi1:
My PC is desinfecting now with malwarebytes and then kaspersky will make the rest.

Than I will flash stock rom again and stress will end ...

Gesendet von meinem SM-G903F mit Tapatalk
[Desire HD Android Development] Mustaavalkosta:
I have some of the radios backed up here: http://downloads.codefi.re/mustaavalkosta/radios-ace

Also GPS can be a bit shoddy. I don't know what's up with it. Maybe just old GPS just like camera.
[Desire HD Android Development] nijawang:
Today I want to convert to aceopt, but I stock on here.

How to repartition sdcard to only single partition?

There is still a sd-ext partition in recovery.

=> I see in Advanced > Partitioning SD Card > there are EXT size and Swap size.

Should I change the EXT size to 0 and keep swap size for 32?

I ever tried to set EXT size to 0, but there is still a sd-ext when I go into Advanced Wipe.

BTW, how should I know if the TWRP is aceopt version?

I could not see any aceopt in the TWRP. Or I do wrong when I flash it?

Thank you.
[Desire HD Android Development] MikhailM1:
To answer your questions - you know TWRP is an aceopt version because the file name is TWRP-aceopt-2.8.7.0-unofficial.img. After you flashed the Recovery there is no indication within TWRP on any of the TWRP screens.

You do not need a separate swap partition or two partitions, because an aceopt rom uses the sdcard as its internal memory.

1 You need to use the special Aceopt version of TWRP

2 In Aceopt TWRP go to Wipe/Advanced Wipe/Select Data (Data is your SDcard in a aceopt ROM) and System.

3 Select Resize or Change File System, again select Change File System, then select "Ext 4"

4 Slide the slider to confirm and let Recovery do its work.

5 Go back to the first TWRP screen and select Install.

6 If you are flashing CM12.1 and 5.1 Gapps, you can install them together one after another without booting in between, or you can boot up after the rom and set up the phone, then flash the gapps, boot up and set up the additional parts. If you are installing CM13 and 6.0 Gapps, then you have to install them without booting up in between.
[Desire HD Android Development] nijawang:
Thanks MikhailM1.

So aceopt recovery will handle all the process and I don't need to repartition or reformat sd-card?

And there is still a sd-ext partition show up, like in the Advanced Wipe?
[Desire HD Android Development] MikhailM1:
Yes, don't worry about the sd-ext. There should be enough space on your sd-card for the rom to use as external memory and to place your apps there by itself, so you do not need the old "move to sd-card" apps.

(The Thanks button is there for a reason :))
[Desire HD Android Development] Mustaavalkosta:
Well, partly to your initial query: I think I just changed sd-ext size to 0 when I erased it when I was initially testing out possibilities to extend data partition but I haven't been using sd-ext that much so I don't know what's the proper way to remove it thus I didn't write a guide about it.

Aceopt will work just fine even with a second partition (sd-ext) on your sdcard. It's just the second partition is pretty much just idling there because with aceopt there's no need to use such partitions because sdcard as a whole is being used as data partition which overlaps with the purpose of sd-ext.

Sd-ext shows up in TWRP whether you have second partition on your sdcard or not. There's no dynamic detection for it.
[Desire HD Android Development] nijawang:
Mustaavalkosta,

Thank you.

And how about swap size?

Do I need to set to 0?

BTW, recently I always encounter could not connect to my ace from PC.

It worked well before on my PC and NB, but now they both fail to connect!

If it is my ace's issue? I have tried different USB ports and cables but not work.

Windows 7 always show up "unknown device"!

So I could not put zip files to sd-card for flashing.

Just trying to fix, but not fixed yet...
[Desire HD Android Development] Mustaavalkosta:
Dunno, do you want swap? I haven't used it ever.

Windows is a ***** with drivers. You can try koush's UniversalAdbDriver and switch manually between available drivers.
[Desire HD Android Development] nijawang:
Very Thanks! Mustaavalkosta.

After installing UnversalAdbDriver, my ace could be normally recognized by PC!! :good:

But I find my sdcard still has around 29GB space from PC connection (nothing installed by myself and it's original 32GB), is it right?

aceopt has reserved some space for system, so could we see this space in sdcard?

=> I find I do something wrong... Actually, I don't flash aceopt TWRP!

Now I go back to the beginning and start again.
[Desire HD Android Development] MikhailM1:
You should be OK with the correct drivers (Universal Adb Driver) , as long as you stay with Windows 7. If you upgrade to Windows 10, you run into new problems with USB 3.0 port not recognizing your device. Fortunately there is a way of fixing this, but it is a bit fiddly.
[Desire HD Android Development] Mustaavalkosta:
Sounds more or less right to me. Filesystem eats part of the physical space to its internal stuff that is not visible to userspace. F2FS is worse than EXT4 in this regard.
[Desire HD Android Development] nijawang:
Another problem here.

When I converted to aceopt recovery, I upload all the backup files to sdcard of ace before install ROM.

But after installing ROM, I encounter many file permission issues.

In some folders or files, I don't have right to delete them.

And all the files' date was changed to 01/06/1980.

I have rooted and ES file explorer or Root explorer, but still could not delete them.

I try to chmod 755 for those folders and files, but still the same.

File properties

Permissions: rw-rw----

Owner: root

Group: sdcard_r

Any suggestion to overcome this issue?

Thank you.
[Desire HD Android Development] MikhailM1:
I am sorry, but I have not encountered this problem (if I understand you correctly). After installing the aceopt TWRP you had to change the file system/re-format "Data" and "System" using the new Recovery. This wipes all your saved files on the sd-card, so you should not have any of the back-up files left on the sd-card. The re-formatting has to be done before you install the new Rom (CM12.1 aceopt version).
[Desire HD Android Development] maxxjaxx:
in the cause of me reformatting and converting my sdcard to opt version got my 32gig card damaged :(
[Desire HD Android Development] nijawang:
I have reformatted Data and System partitions by the new aceopt recovery.

But before installing the new ROM (transferred from PC to sdcard), I uploaded my back-up files from PC to sdcard first.

---------- Post added at 11:36 PM ---------- Previous post was at 10:49 PM ----------

Unfortunately, now I get the unknow device error again!

I've reinstall Universal Adb Driver again, but no help...
[Desire HD Android Development] MikhailM1:
Do you get this error message with the DHD booted up or when it is in bootloader mode? What USB port are you using - USB 2.0 or 3.0?

---------- Post added at 03:54 PM ---------- Previous post was at 03:45 PM ----------

Well, mate, you were supposed to re-format it with aceopt TWRP, not re-shape it with a hammer!
[Desire HD Android Development] nijawang:
Yes, whenever I connect to PC when boot up or in bootloader mode, then there is "USB Device Not Recognized" error message show up.

I've tried USB 2.0 and 3.0 port.
[Desire HD Android Development] MikhailM1:
If you are on Windows 7 64bit you may need to temporarily disable driver signature verification before re-installing the USB drivers ( https://www.youtube.com/watch?v=k4RwaI4mn6Y). It may also be better to install Intel USB drivers, rather than the Microsoft ones. This cured the problem for me (although I am now using Windows 10). https://downloadcenter.intel.com/do...Driver-for-Intel-7-Series-C216-Chipset-Family.
[Desire HD Android Development] maxxjaxx:
I did try to reformat it with ace opt TWRP.... But keeps formatting till eternity. For over 30mins it was still formating.
[Desire HD Android Development] MikhailM1:
But how did you do it? What should be done is going into Wipe/Advanced Wipe. Select Data (which is actually your sdcard), then Repair or Change File System, select Change File system, select Ext4, swipe slider to confirm. My 32 GB card was done in about 1 minute.
[Desire HD Android Development] maxxjaxx:
I followed this exact procedure but whenever it gets to change file system and I select Ext4...it keeps formatting till eternity :(
[Desire HD Android Development] MikhailM1:
Does sound like something happened to your sdcard! Have you tried formatting it normally on a PC?
[Desire HD Android Development] maxxjaxx:
yeah it formats well on PC but does accept any file that's been copied/sent to it
[Desire HD Android Development] MikhailM1:
I assume you meant "does not accept"? Windows does not work with EXT4, which is why you can not transfer files to it. If you have indeed formatted the sdcard using EXT4 file system using GParted or another programme, then insert back into the DHD/ace, boot into Recovery. Your PC should now recognise, see your phone and the "internal memory" (your sdcard). Transfer the files you want from PC to the internal memory and you are done.
[Desire HD Android Development] maxxjaxx:
Oh yea I meant it does not accept files..... Well I'm gonna download Gparted iso file which is over 200mb to see if it helps.... Thanks
[Desire HD Android Development] $or$:
I have some problem when installing apps, sometime for some apps that I already installed and want to update to newer version it will fail and I have to delete the old one first + for most apps and restoring apps in titanium backup installation process is very very slow. I have xposed framework and I wanted to know whether the problems are related to xposed framework or rom?
[Desire HD Android Development] engineer.7assan:
This is Amazing Rom Ever :)

I Use it Everyday :)

My Daily Usage Apps is (Maps, Facebook, WhatsApp, 365Soccer, Gmail, 3G Data, WiFi..etc)

Thanks So Much for Mustaavalkosta :good:​
[Desire HD Android Development] xda-dhd:
12.1 aceopt

[MENTION=3382363]Mustaavalkosta[/MENTION]

Hey, Musta!

When it is possible to wait for continuation of the 12th aceopt project?
[Desire HD Android Development] Mustaavalkosta:
Next Sunday as scheduled if nothing breaks the build. Codefire has been having some out of space issues because apparently other people don't play nice with local disk space which eats up disk space from temporary directory which then breaks compilation due to out of space errors. This happened last Sunday with 12.1 also. I have added a workaround for 13.0 builds and it should help with 12.1 too.
[Desire HD Android Development] Super-Veloce:
I found my DHD. Wanting to try this rom. What doesnt work?