FORUMS
Remove All Ads from XDA

[ROM][4.4.4][Jul-22] UNOFFICIAL LiquidSmooth v3.2 | Security Patch Level: 1st Jun 15

3,141 posts
Thanks Meter: 6,968
 
By spezi77, Recognized Developer / Contributor on 4th May 2014, 09:05 PM
Post Reply Email Thread
24th September 2019, 06:24 PM |#191  
mirabilos's Avatar
Member
Thanks Meter: 35
 
Donate to Me
More
My second “bravo” HTC Desire!
Hi everyone,

I received a second “bravo”, which means I can now split between “with Google” and “Open Source / Security / Privacy” ☻ (also got to use a company SIM on one for 2FA).

I’ve installed the LS-KK-v3.2-2016-07-22-bravo.zip image on it, whereas my old bravo still runs the LS-KK-v3.2-2015-12-06-bravo.zip image. Observations:

• Still no Gallery äpp, but Gallery2.apk from cm-11-20150815-UNOFFICIAL-bravo.zip copied to /system/app/ works just fine.

• The Bluetooth fix from https://forum.xda-developers.com/sho...3&postcount=99 is applied already.

• The package installer fix from https://forum.xda-developers.com/sho...&postcount=184 is not applied. The PKZIP archive file I’ve attached to that post is the correct one for the 2016-07-22 ROM.

• Switching from Dalvik to ART makes the 2016-07-22 system no longer boot (SIGBUS in dex2oat), but switching back via adb shell → su → setprop persist.sys.dalvik.vm.lib libdvm.so → Enter → reboot makes it work; thanks https://android.stackexchange.com/a/66977/55417 for the help.

Edit: oops, no, I’m apparently also running Dalvik on the other device. Gapps is what makes things sloooooow. (Or maybe swap or ksm.)

• I’ve used a2sd install → y → n → n and then a2sd xdata, as on the other device, because äpps are just too fat these days, but with a decent fast µSD card.

• open_gapps-arm-4.4-pico-20190924.zip won’t install, I have about 25.9*MB free on /system and it wants almost 90*MB… we’ll see what we can do about that…

I guess, with using xdata, I could use a differently partitioned HBOOT which has a larger /system and smaller /data? Current usage is:

Code:
~ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   208076        32    208044   0% /dev
/dev/block/mtdblock4      5120       800      4320  16% /cache
/dev/block/mtdblock3    256000    230084     25916  90% /system
/dev/block/mtdblock5    187008     67760    119248  36% /data
/dev/block/mmcblk0p2   4128448     70044   4058404   2% /sd-ext
/dev/block/mmcblk0p3    516040     16404    499636   3% /sd-ext2
But how can I change the HBOOT partition table? The 250M /system is the largest AlphaRev prebuilt size…
The Following User Says Thank You to mirabilos For This Useful Post: [ View ] Gift mirabilos Ad-Free
24th September 2019, 08:23 PM |#192  
Senior Member
Flag Kraków
Thanks Meter: 1,106
 
More
Quote:
Originally Posted by mirabilos

But how can I change the HBOOT partition table? The 250M /system is the largest AlphaRev prebuilt size…

If you like experiments, then try hboot "bravo_alphaspl_387-10-40.zip" from Alex-V.

Personally, I recommend SlimKat, which is more polished.
24th September 2019, 08:31 PM |#193  
mirabilos's Avatar
Member
Thanks Meter: 35
 
Donate to Me
More
Quote:
Originally Posted by ze7zez

If you like experiments, then try

Thanks… but I’d rather understand the changes.

The partitions seem to be around offset 0007e160 in the .img file, but around 000328f0 there’s also changes which I wonder whether they are necessary…
24th September 2019, 08:49 PM |#194  
Senior Member
Flag Kraków
Thanks Meter: 1,106
 
More
Quote:
Originally Posted by mirabilos

Thanks… but I’d rather understand the changes.

The partitions seem to be around offset 0007e160 in the .img file, but around 000328f0 there’s also changes which I wonder whether they are necessary…

The "Android HTC - Hacking explained" thread may be useful to you.
24th September 2019, 09:48 PM |#195  
mirabilos's Avatar
Member
Thanks Meter: 35
 
Donate to Me
More
Angry Hacking bootloader…success!
Quote:
Originally Posted by ze7zez

The "Android HTC - Hacking explained" thread may be useful to you.

Thanks, but unfortunately, it does not help *at all*.

I’ve patched the “Bravo Stock” HBOOT from http://web.archive.org/web/201807091...//alpharev.nl/ with https://master.dl.sourceforge.net/pr...r_r1-win32.rar in a Windows® VM I luckily had access to (it does not work in Wine, unfortunately), http://web.archive.org/web/201704140...otsupdate.html documenting that someone named “dzo” wrote source code for Linux to do that but (ARRRRGH!) not linking to it, and a search finds nothing.

I’m attaching the patched HBOOT (336/5/96) in the hope it is useful. I managed to flash it and boot 4EXT Recovery afterwards and am now formatting all partitions in order to restore the backup.

Edit: I had to fastboot erase system, as formatting it in the recovery didn’t work as a mount process was hanging in the background. Afterwards, format all except SD card worked, and now I’m restoring the backup.

Edit 2: Backup restored, system still boots, installing opengapps pico now also works. Yay! (Now I can de-Google-ify the other Desire.)

Code:
[email protected]:/ # df
Filesystem               Size     Used     Free   Blksize
/dev                   201.3M   136.0K   201.2M   4096
/sys/fs/cgroup         201.3M     0.0K   201.3M   4096
/mnt/asec              201.3M     0.0K   201.3M   4096
/mnt/obb               201.3M     0.0K   201.3M   4096
/mnt/fuse              201.3M     0.0K   201.3M   4096
/system                336.0M   304.1M    31.9M   4096
/data                    3.9G   181.8M     3.8G   4096
/cache                   5.0M   824.0K     4.2M   4096
/sd-ext                  3.9G   181.8M     3.8G   4096
/data                    3.9G   181.8M     3.8G   4096
/mnt/media_rw/sdcard0    24.7G   676.2M    24.0G   16384
/mnt/secure/asec        24.7G   676.2M    24.0G   16384
/storage/sdcard0        24.7G   676.2M    24.0G   16384
Attached Files
File Type: zip bravo_alphaspl_336-5-96.zip - [Click for QR Code] (207.7 KB, 2 views)
The Following User Says Thank You to mirabilos For This Useful Post: [ View ] Gift mirabilos Ad-Free
Post Reply Subscribe to Thread

Tags
htc desire custom rom liquidsmooth

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes