Jump to content

oClock Custom ROM


Guest oclock

Recommended Posts

Guest oclock

This is the latest work in progress, called "Eight Minutes to Eight O´Clock A.M."

It is still not eight o´clock. However, it is eight minutes to eight o´clock :-) Time for a frozen yoghurt :-)

Download it here:

http://i2x.de/~oclock/Eight-Minutes-to-Eig...k-AM-signed.zip

Features:

Android 2.2

SW: 2.09.405.8 (based on the official HTC OTA update)

BB: Busybox 1.16.2 (compiled by myself, see description for Seven O´Clock A.M.)

SU: Superuser 2.2.2

T2W: Trackpad to wake (thx: http://twitter.com/pascanus/statuses/20093208001)

No annoying boot sound

EXT4: can be loaded by executing "modprobe ext4". it is not automatically loaded. (compiled by myself)

TUN: Kernel module for OpenVPN compatibility. (compiled by myself)

OpenVPN 2.1.1 (Use OpenVPN by installing "OpenVPN Settings" from the market)

IPTables 1.4.7 for DroidWall compatibility (Install "DroidWall" from market) (executable 'Borrowed' from cyanogenmod)

xt_multiport: Kernel module for DroidWall compatibility (load with "modprobe xt_multiport". will probably be removed in the next release, coz its not needed as far as i can tell)

BCM4329 firmware 4.218.223.1 (original version: 4.218.207.0)

WiFi-N: wifi-n is working (patched bcm4329.ko: "nmode" -> "-----". ugly, but better than nothing)

Furthermore, this updates includes:

Radio: 32.43.00.32U_5.09.00.20

Kernel: 2.6.32.15

Install Apps2SD like this:

0. Assumption: Your sd card has already an ext2/3 partition (NO ext4 yet!)

1. Flash Nine Minutes to Eight O´Clock A.M. : http://i2x.de/~oclock/Eight-Minutes-to-Eig...k-AM-signed.zip

2. Prepare Nine Minutes to Eight O´Clock A.M. for Apps2SD by flashing: http://i2x.de/~oclock/Eight-Minutes-to-Eig...s2sd-signed.zip

3. Now flash Darktremor´s Apps2SD: http://i2x.de/~oclock/dtapps2sd-2.7.5-rc1-signed.zip

Infos:

Latest Apps2SD version: http://forum.xda-developers.com/showthread.php?t=719151

Trackpad to wake: http://forum.xda-developers.com/showthread.php?t=696907

I did not test Apps2SD on my own device, so use at your own risk. However, I think that it should work as it worked in Seven O´Clock A.M.

I wiped my device, before I flashed the update and it works.

TODO:

-automatic loading of ext4 module

-loopback device support

-trackpad to sleep

-undervoltage

--------------------------------------------------------------------------------------------------------------

This is the latest release, called "Seven O´Clock A.M.".

http://i2x.de/~oclock/Seven-oClock-AM-signed.zip

md5sum: 9ecf6d94776f4f5b47bb6c3455ff5b9f

Content:

 * SW version 1.23.405.1 ("WWE")

	* Used 1.23.351.1 and added 405 customizations

 * Kernel:

	* loopback device enabled (allows you to do 'mount -o loop ...')

	* iprange & ipowner enabled (for DroidWall (DW) compatibility)

	* T2W: trackpad to wake (short press while sleeping)

	* T2S: trackpad to sleep (long press while awake)

	* EXT4

	* TUN kernel module for openVPN compatibility

	* UV: Slightly undervolted to save some power

	* disabled HTC´s perflock which prevented SetCPU to work properly

	* modified kernel source such that SetCPU is able to automatically detect available clockspeeds

 * BB: Busybox 1.16.2 in /system/xbin and also already installed in /system/xbin (busybox is the latest version compiled by myself!)

	* Compiled with an optimized toolchain and statically linked against uClibc (50% smaller binary compared to the one in Three O´Clock A.M.!)

	* bbconfig enabled

	* configured cron dir: /data/cron, udhcpd dir: /data/udhcpd, service dir: /data/service 

	* modified busybox source such that modprobe looks in /system/lib/modules for kernel modules

 * Superuser 2.2.2

 * Replaced /system/etc/firmware/fw_bcm4329_ap.bin with the one from HTC Evo 4g to make wifi tethering work

 * Android wifi tether 2.0.2 (installed in /system/app)

 * WiFi-N (802.11n) enabled by changing/recompiling the driver source code (not by hex editing the driver!)

	* To enable 802.11n I changed in drivers/net/wireless/bcm4329/dhd_cdc.c  nmode=0 to nmode=1

	* FIX: Had to add fw_bcm4329_apsta.bin and fw_bcm4329.bin from AOSP git repository to /system/etc/firmware to make it work

 * fixed permissions of /system/etc/ppp/ip-up-vpn to "755" (thx to mountnorth for your twitter comment: http://twitter.com/mountnorth/status/17002281817)

 * Removed annoying boot sound

 * flash_image installed in /system/xbin (usefull if you usb bricked your device)

 * FIX: market was not working as expected, because I modified /system/build.prop to much.

 * openvpn compatible

 * cisco vpn compatible
Info:

 * Android wifi tether http://code.google.com/p/android-wifi-tether/

 * Description of wifi tether bugfix: http://code.google.com/p/android-wifi-teth...tail?id=330#c66

 * configured busybox dirs have to be created by yourself, if you need these features

 * DroidWall can be installed from the market

 * More infos about trackpad kernel modifications: http://forum.xda-developers.com/showthread.php?t=703539

 * The openvpn binary was taken from here: http://android.modaco.com/content/htc-desire-desire-modaco-com/307594/new-openvpn-update-zip-tun-ko-mcr-uvoc-version/

 * Infos about cisco vpn here: http://android.modaco.com/content/htc-desire-desire-modaco-com/307667/cisco-vpn-client-on-htc-desire-short-howto/

 * Superuser 2.2.2 is from here: http://forum.xda-developers.com/showthread.php?t=682828 

 * My ROM is compatible with Apps2SD from Darktremor: http://forum.xda-developers.com/showthread.php?t=719151

 * To use openVPN install "OpenVPN Settings" from the market 

 * For a cisco VPN solution install "VPN Connections" from the market

 * To change clock speed install "SetCPU" from the market

Seven O´Clock A.M. is Apps2SD compatible!

Install the new Apps2SD like this:

0. Assumption: Your sd card has already an ext2/3/4 partition

1. Flash Seven O´Clock A.M. : http://i2x.de/~oclock/Seven-oClock-AM-signed.zip

2. Prepare Seven O´Clock A.M. for Apps2SD by flashing: http://i2x.de/~oclock/Seven-oClock-AM-dtapps2sd-signed.zip

3. Now flash Darktremor´s Apps2SD: http://i2x.de/~oclock/dtapps2sd-2.7.5-pf4a-signed.zip (for the latest version check @xda (link above))

-> For my test I formated the ext partition on the sdcard before flashing to start like a virgin :lol: Everythink worked fine!

The dalvik-cache is not copied to sdcard by default. To enable this, use a terminal on your phone or "adb shell" and type the following:

> su

> a2sd cachesd

Ivacy OpenVPN configuration files

Unzip http://i2x.de/~oclock/ivacy-openvpn.zip to your sdcard to use Ivacy as VPN provider.

Archive:

Six O´Clock A.M. ROM:

http://i2x.de/~oclock/Six-oClock-AM.zip

http://rapidshare.com/files/402981934/Six-oClock-AM.zip.html

SIX O´Clock A.M. A2SD update:

http://i2x.de/~oclock/Six-oClock-AM-a2sd-update.zip

http://rapidshare.com/files/402972135/Six-...update.zip.html

A2SD works. Read post #25 on page 2 for instructions on how I tested it.

* I could not test cisco vpn because my employer uses a strange configuration that is not supported by the android app. But it should work. If not, then please tell me. I´m sure we will find a fix.

* I use Seven O´Clock A.M. by myself for a couple of days already and it is rock stable on my device! I use SetCPU to limit speed to ~600 Mhz. Thus, I hava an undervolted and underclocked device. Even like this almost everythink is smooth. Some complex websites are causing some minor lags, but it is okay for me. Battery life increased alot with this configuration.

Have fun!

oC

Previous versions and discussions can be found here: http://android.modaco.com/content/htc-desi...ion-1-21-405-2/

Edited by oclock
Link to comment
Share on other sites

Guest oclock
Great Work,

A2SD++ doesn´t work for me, my ext-partition is ext 3. Which ext is in your a2sd ? ext2/3/4

I think I see what is wrong.

I will upload a corrected version shortly.

edit:

I uploaded a corrected version that will hopefully work now:

http://i2x.de/~oclock/Six-oClock-AM-a2sd-update.zip

md5sum: 2b6b7b1260d2590e61b772d56d83c34b

The problem was that I forgot to add these lines to "init.rc":

start sysinit

on property:cm.filesystem.ready=1

class_start default

Can you please test it? Thx!

oC

Edited by oclock
Link to comment
Share on other sites

Guest fxone
I think I see what is wrong.

I will upload a corrected version shortly.

edit:

I uploaded a corrected version that will hopefully work now:

http://i2x.de/~oclock/Six-oClock-AM-a2sd-update.zip

md5sum: 2b6b7b1260d2590e61b772d56d83c34b

The problem was that I forgot to add these lines to "init.rc":

start sysinit

on property:cm.filesystem.ready=1

class_start default

Can you please test it? Thx!

oC

Have test it, doesn´t work for me

Link to comment
Share on other sites

Guest Fiouz

Does this ROM have to be installed over a 1.23.405.1 SW version ?

I have an stock (unrooted) 1.21.405.2 (OTA updated) and would like to keep my settings/apps (who said ShapeWriter?) and don't know whether I should choose Four O´Clock A.M. (which was made for 1.21.405.2) over this one which is 1.23.405.1 based.

Another dumb question: do such custom ROMs prevent OTA updates? What if HTC releases Froyo OTA?

Thanks for your work

Link to comment
Share on other sites

Guest oclock
Have test it, doesn´t work for me

Hm, I checked everything again right now and it should work.

However, I don´t need a2sd and don´t want to test it therefore.

Do you get any error messages?

What A2SD are you using?

How is your sdcard partinioned?

Try also:

adb shell

> logcat

Maybe someone else can help? Any ideas of what is going wrong?

Edited by oclock
Link to comment
Share on other sites

Guest oclock
Does this ROM have to be installed over a 1.23.405.1 SW version ?

I have an stock (unrooted) 1.21.405.2 (OTA updated) and would like to keep my settings/apps (who said ShapeWriter?) and don't know whether I should choose Four O´Clock A.M. (which was made for 1.21.405.2) over this one which is 1.23.405.1 based.

No, this ROM has not to be installed over a ROM with the same SW version. So, you can install it over a 1.21 ROM and get SW version 1.23 afterwards.

However, you must root your device before you can update to a custom ROM (only once!). During this process you loose all installed apps and settings. See this thread:

http://android.modaco.com/content/htc-desi...o-1-21-support/

Another dumb question: do such custom ROMs prevent OTA updates? What if HTC releases Froyo OTA?

If you root your device, you usually don´t want to install updates directly from HTC, because they could update your bootloader and 'unroot' your phone with the possibility that you will never be able to root it again. Thus, if HTC releases FroYo, you should wait for an 'update.zip' from the community just to be on the safe side. However, if you don´t care you can install an official HTC RUU at any time...

Link to comment
Share on other sites

Guest oclock
Have you Compiled the Kernel with Unionfs ? and ext 2/3/4 ?

I did not turn anything off that is in the stock kernel.

Thus: ext2 + ext3 is enabled. ext4 is disabled.

From the kerne config:

CONFIG_EXT2_FS=y

CONFIG_EXT2_FS_XATTR=y

CONFIG_EXT2_FS_POSIX_ACL=y

CONFIG_EXT2_FS_SECURITY=y


CONFIG_EXT3_FS=y

CONFIG_EXT3_FS_XATTR=y

CONFIG_EXT3_FS_POSIX_ACL=y

CONFIG_EXT3_FS_SECURITY=y

Could you please test the following:

Go to page 3 of this thread: http://android.modaco.com/content/htc-desi...ion-1-21-405-2/

There you find a2sd updates from PaulW21781 that are reported to work. Please try e.g. this one: http://paulw.hardmilk.com/downloads/modaco...a2sd-signed.zip

Does this work for you?

I used this one as basis and just replaced the kernel. So, if both updates do not work for you, then maybe something else is wrong ...

Link to comment
Share on other sites

Guest fxone
I did not turn anything off that is in the stock kernel.

Thus: ext2 + ext3 is enabled. ext4 is disabled.

From the kerne config:

CONFIG_EXT2_FS=y

CONFIG_EXT2_FS_XATTR=y

CONFIG_EXT2_FS_POSIX_ACL=y

CONFIG_EXT2_FS_SECURITY=y


CONFIG_EXT3_FS=y

CONFIG_EXT3_FS_XATTR=y

CONFIG_EXT3_FS_POSIX_ACL=y

CONFIG_EXT3_FS_SECURITY=y

Could you please test the following:

Go to page 3 of this thread: http://android.modaco.com/content/htc-desi...ion-1-21-405-2/

There you find a2sd updates from PaulW21781 that are reported to work. Please try e.g. this one: http://paulw.hardmilk.com/downloads/modaco...a2sd-signed.zip

Does this work for you?

I used this one as basis and just replaced the kernel. So, if both updates do not work for you, then maybe something else is wrong ...

That´s are working, but i can not turn on wifi with that

edit: have flashed back your a2sd update no it has a bootloop

Edited by fxone
Link to comment
Share on other sites

Guest oclock
That´s are working, but i can not turn on wifi with that

edit: have flashed back your a2sd update no it has a bootloop

Thank you for your feedback. I will have a closer look at my a2sd update tomorrow in the evening.

If someone else has an idea, I am happy to read about it :-)

Link to comment
Share on other sites

Guest alexspy

Thanks for your efforts mate. I appreciate it. As someone who doesn't use A2SD i think so far your ROM provides the 'cleanest' rooted experience. Im still on the Five o' Clock release but will upgrade tomorrow. It will be useful to keep the first post updated with all the necessary info, like, do you need to wipe when upgrade, version differences etc etc.

Also, perhaps you could add your rom to the ROM Manager application to provide quick and easy updates. Have you seen it? Would help... :lol:

Edited by alexspy
Link to comment
Share on other sites

Guest indianajose

hi,I flash this Rom last night,I have a big problem: after flash finished,I reboot my desire, first screen is HTC welcome screen,a few second later,HTC welcome screen pear again ,and again,my desire can't boot to HTC sense interface,I can't my phone ,when I reflash this Rom ,I notice the programing is some different than I flash other Rom.

I have already rooted my desire,and golden card has been made.I have used rooted custom Rom more than one month .so I sure my phone should to flash your Rom.

Link to comment
Share on other sites

Guest indianajose

hi,I flash this Rom last night,I have a big problem: after flash finished,I reboot my desire, first screen is HTC welcome screen,a few second later,HTC welcome screen pear again ,and again,my desire can't boot to HTC sense interface,I can't my phone ,when I reflash this Rom ,I notice the programing is some different than I flash other Rom.

I have already rooted my desire,and golden card has been made.I have used rooted custom Rom more than one month .so I sure my phone should to flash your Rom.

Link to comment
Share on other sites

Guest indianajose

i 'am sorry for reping so many times,i reply this thread use my desire phone,when i summit my words,its show me failed message,so i summit more than 1 time.

Link to comment
Share on other sites

Guest dreamdealer
i 'am sorry for reping so many times,i reply this thread use my desire phone,when i summit my words,its show me failed message,so i summit more than 1 time.

you need to go back to ext3 since its the stock kernel and not set up for ext4, hence as you said the bootloop.

you already answered your own question couple of posts up. miss read.. :lol:

Edited by dreamdealer
Link to comment
Share on other sites

Guest oclock

I am back home now (watched the glorious victory of germany over england :-))))). I bought a cheap 2 GB sd card yesterday that I will use for as2d experiments. So, I think you can expect something working tonight.

@frodo7733

I am not sure if I want to do that. My agenda was until now to keep the ROM as stock as possible and change only things under the hood that could be useful. I did not want to change the appearence of the SW. But I will have a look at the circle mod and then decide if I include it or not (of couzrse I will include it if everyone want it :lol:).

oC

Link to comment
Share on other sites

Guest Vonacid
I am back home now (watched the glorious victory of germany over england :-))))). I bought a cheap 2 GB sd card yesterday that I will use for as2d experiments. So, I think you can expect something working tonight.

@frodo7733

I am not sure if I want to do that. My agenda was until now to keep the ROM as stock as possible and change only things under the hood that could be useful. I did not want to change the appearence of the SW. But I will have a look at the circle mod and then decide if I include it or not (of couzrse I will include it if everyone want it :lol:).

oC

hi oC!!! Thanks for all your efforts!!! I've been speculating for your post like every 2 hours hahaha~ How i hope i'll be knowledgeable enough to help with the development of A2SD in your rom~ updated with your Six-o'Clock-AM. Working all well, except that i dun even know to to begin trying out if A2SD works~

But since some of the more experienced guy said it doesn't... i'm sure my try will be pretty useless in helping out~ hahahaha.

i'm really looking forward to your great development and your way to the "dream" rom!!! Now it's only left with A2SD and chinese input, and o'Clock-AM will be my group of friend's favorite Rom too!!! hehehe~

And... Germany ROX!!! hahaha~

Link to comment
Share on other sites

Guest oclock

A2SD is working on my device (Six-oClock-AAM ROM + A2SD update from first post).

Here is how I did it (this is not the easiest way, but I am kind of 'old school' and prefer to do things manually to have control over everything :lol:)

0. Turned off my desire

1. I inserted a fresh 2GB sd card into the socket (bought only for this experiment!)

2. Vol-down + power to get to the red triangle screen

3. Used the recovery-linux.sh script from the r5 rooth method to push recovery files and start custom recovery (fake-flash should also work)

4. From desktop linux:

> adb shell

> su

> fdisk /dev/block/mmcblk0

5. In fdisk I did the following:

5a. delete existing partitions

you can print a list of partitions with "p" and with delte them with "d". for example, if your sdcard has two partitions, you delete them like this:

> d

> 1

> d

> 2

5b. create new partitions

> n

> p

> 1

> <Press RETURN key>

> +1500M (is is the size of the 'normal' sdcard partition, adjust size to your actual sdcard size, eg. +15000M, +7500M, ...)

> n

> p

> 2

> <RETURN>

> <RETURN>

5c. assign a type to the partitions

> t

> 1

> c

> t

> 2

> 83

5d. make the modifications permanent

> w

-> I created two partitions. The first is 1500 MB big and FAT32, the second is the remaining space and of type Linux (ext)

6. Now I formated both partitions:

> mkfs.vfat /dev/block/mmcblk0p1

> mke2fs /dev/block/mmcblk0p2

7. Next, I converted the ext2 partition to ext3:

> tune2fs -j /dev/block/mmcblk0p2

8. Then I mounted /sdcard again with

> mount /sdcard

9. I left adb shell with "exit" and pushed my a2sd update to the sdcard:

> adb push Six-oClock-AM-a2sd-update.zip /sdcard

10. Then i have chosen in the recovery menu which is still displayed on my desire to flash an update zip from sdcard and have chosen the pushed a2sd zip file

11. Afterwards I rebooted the desire and started at the same time on my desktop "adb logcat" to follow what is happening. After a short time I saw that "e2fsck" cannot be found and a few seconds later that a2sd was successfully installed.

> adb shell

> ls -l /data

shows:

# ls -l /data

lrwxrwxrwx root root 2010-06-27 20:53 dalvik-cache -> /system/sd/dalvik-cache

lrwxrwxrwx root root 2010-06-27 20:53 app-private -> /system/sd/app-private

lrwxrwxrwx root root 2010-06-27 20:53 app -> /system/sd/app

...

/system/sd/app contains all my apps that were previously installed on internal memory of my desire.

Conclusion:

A2SD update works. But only with ext2 and ext3. ext4 is not supported (yet).

oC

PS: Now I have to remove this damn a2sd again ...

Edited by oclock
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.