yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] dorimanx:
I am building 3.0.0 ROM with kernel 2.8

and i was interested in adding the BRIVA engine for better graphics..

But i was disappointed!

The activation files are not compiled to work with CM7 ROM

This is my test, i tried to run the files:

bash-3.2# ./be_movie

bash: ./be_movie: cannot execute binary file

bash-3.2# sh be_movie

be_movie: 1: Syntax error: "(" unexpected

bash-3.2# sh be_photo

be_photo: 1: Syntax error: "(" unexpected

bash-3.2# ./be_photo

bash: ./be_photo: cannot execute binary file

This is just one of the WORKING files in ROM.

bash-3.2#

bash-3.2# mkf

mkfifo mkfs.ext2 mkfs.ext4 mkfs.minix mkfs.reiser mkfs.vfat

bash-3.2# mkfs.ext2

BusyBox v1.19.3 (2011-11-05 00:11:19 IST) multi-call binary.

Usage: mkfs.ext2 [-Fn] [-b BLK_SIZE] [-i INODE_RATIO] [-I INODE_SIZE] [-m RESERVED_PERCENT] [-L LABEL] BLOCKDEV [KBYTES]

-b BLK_SIZE Block size, bytes

-F Force

-i RATIO Max number of files is filesystem_size / RATIO

-I BYTES Inode size (min 128)

-L LBL Volume label

-m PERCENT Percent of blocks to reserve for admin

-n Dry run

bash-3.2#

I was expecting some out put, or nothing just next line..., but not error...!

So my official statement it's NOT WORKING!!!

And all the people that posted picks before and after, i never seen any change.

So it's just self convince :)

I have fixed lots of small bugs in my scripts, and tuned the kernel.

also added option to have ext4 on nand,

Still will not be activated, till we learn how to use it, and backup it.

So new ROM + Kernel today, or at night,

So if you think sleep or not... :)

Better sleep, and get it at morning :)

Check this out :)

Before Overload! :)

bash-3.2# free
total used free shared buffers
Mem: 422836 404728 18108 0 13676
-/+ buffers: 391052 31784
Swap: 1013248 1544 1011704
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2# zram_stats
Swaps Status
Filename Type Size Used Priority
/dev/block/zram0 partition 483112 1548 20
/dev/block/mmcblk0p3 partition 530136 0 -1
ZRAM STATS
/sys/block/zram0
disksize: 494714880
num_reads: 287
num_writes: 391
invalid_io: 0
discard: 0
notify_free: 0
zero_pages: 26
orig_data_size: 1486848
compr_data_size: 392074
mem_used_total: 401408
avg_compr_ratio: 26 %
mem_overhead: 2 %

bash-3.2#

After Overload :) loaded 6 super heavy games! + 50 services!

bash-3.2# free
total used free shared buffers
Mem: 422836 414164 8672 0 144
-/+ buffers: 414020 8816
Swap: 1013248 487936 525312
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2# zram_stats
Swaps Status
Filename Type Size Used Priority
/dev/block/zram0 partition 483112 577140 20
/dev/block/mmcblk0p3 partition 530136 7452 -1
ZRAM STATS
/sys/block/zram0
disksize: 494714880
num_reads: 421547
num_writes: 144868
invalid_io: 0
discard: 0
notify_free: 0
zero_pages: 9708
orig_data_size: 454516736
compr_data_size: 178432258
mem_used_total: 182165504
avg_compr_ratio: 39 %
mem_overhead: 2 %

bash-3.2#

Phone alive! no hot boot! all ZRAM was been used! and disk swap started to load up :)

so 182MB real RAM turned into 454MB ZRAM :)

So 422 - 182 + 454 = 694MB RAM :) + disk swap

Very cool :)
[HD2 Android NAND Development] Bingoig11:
Can't wait for new release (even if min is working perfectly) :D
[HD2 Android NAND Development] Bologna:
@Dm

I can no more sleep tonight!! And it's only your fault !!!!!!

:D
[HD2 Android NAND Development] Belzebuth.:
I go to bed now...so I wake up early in the morning...:p
[HD2 Android NAND Development] jonas2295:
I use go locker :)

Well thank you for your help, will see if this is the cause. Thanks!
[HD2 Android NAND Development] Hammerfest:
OP: go to bed, better to finish it off on a clear head :D
[HD2 Android NAND Development] the_blade:
Hmm I use WidgetLocker... I just remove it from phone and test this :) maybe this is good way to solve this poblem but I use this app from beginning nad never have problem with this app... Anyway I will test it :)
[HD2 Android NAND Development] A.J:
nothing better than morning coffee with new Dorimanx rom :D, good luck bruv and can't wait for the morning :D
[HD2 Android NAND Development] dragmark:
Android Market - Server error on search

Hey guys!

Can anyone confirm the "network error has occurred" message when trying to use the search in the OLD android market?
[HD2 Android NAND Development] kypeth:
i can positively confirm this, I could not get anything to show up when I searched any app. Had to upgrade to hacked new market v2. and then cwm 3.4 whatever it is because of said issue
[HD2 Android NAND Development] dorimanx:
News! New ROM 3.0.0 + NEW KERNEL 2.8 :)

Hi,

My new work for all :)

Kernel 2.8 (included in new ROM):

I have added new NAND driver, + network, and system patch by Munjeni Thanks allot for your hard work, and for looking for a way to mount EXT4 on NAND!

For now, removed the USB HOST, till i find more info and what i should add to make it work.

Tweaked CPU settings.

Cleaned some stuff that not used. (reduced kernel size to 1.6MB)

New ROM 3.0.0

Tweaked the ZRAM to be 495MB and not 113MB and it's working great.

Settings are in ROM already.

Fixed ZRAM for Light ROM it's was disabled by script mistake.

(the swappines was 0!)

Fixed the DATA2EXT MOD

Now it's will be active and working as should, it's will happen only if you choose the option to use this mod in ROM install menu.

Added remount the system as Read /Write every 10 min, in case some app will mount it as Read Only (in prioritizer script) this will work only with CRON ON.

Added back the original Android keyboard back. (to fix the FC on keyboard)

And added ICS Keyboard as Standard APP and not System. (it's cant work as system)

if you want the ICS Keyb just choose it in settings > keyboards

Added latest google apps from 28/8/11 i hope this will fix some more google bugs.

Updated the Google Music app to latest.

Added new #12 install menu:

It's will ask if you want to stay with the old DPI hacked market or install the New and Latest market.

Now for Advanced users only :)

1)Added binary for creating ext4 partitions to /bin/mkfs.ext4

we will use it to create ext4 on nand when we will be ready! for now just to be ready :)

2)I have added new script folder /data/odex

There is the odex.sh script.

If you want to run it, and your system partition is 150mb DONT DO IT!!!!!

YOU NEED 170MB SYSTEM PARTITION to use this script!!!!!!

What is it do:

It's will extract the odex (it's like the files in dalvik-cache but faster!) from all files in /system/framework and /system/app and store them in system.

Then it delete all the dalvik cache!

This will allow faster boot and faster system operation. (after dalvik-cache created again on reboot.)

But it's needs more room for the cached odex files in system partition.

so again, if you have 150MB, ROM will not boot any more.

After running the script you need to reboot, then wait till all the regular apps dalvik-cache will be ready.

System apps will no longer use the dalvik-cache directory.

How to make use it.

*Install new ROM 3.0.0

*Make Nand Full backup!

*Make your system partition 170MB this will reduce the data partition by 20MB

*Restore your system and data

*Boot the ROM, wait till booted ok.

*Open terminal or adb

su

sh /data/odex/odex.sh

now wait till done and type:

sync

reboot

You done :)

Now wait again for full boot.

Alert! this script will not work in recovery! only on fully booted rom.

This script was been found by iamcxa and created by ckpv5 HERE

Thanks allot guys for this! :)
[HD2 Android NAND Development] Rudyfastcat:
Thanx Dorimanx :D DownloadingNew 3.0.0 ROM now !
[HD2 Android NAND Development] Bologna:
IMPRESSIVE WORK!!! always a good idea not to sleep :)
[HD2 Android NAND Development] dorimanx:
Thanks :)

now i am off to bed, i hope i will wake up and read the forum as i do every day, and see some happy news :)

good night...
[HD2 Android NAND Development] aaki_rocker:
thanks dorimanx !!

indeed the best nand rom for our devices !!

i just wish we may get cm9 from you !! ;) !!

thanks once again !!:D :D
[HD2 Android NAND Development] parker09:
I just can't seem to get it to restore my previous data.

I backed up my ROM 2.9.9; installed the 3.0.0 zip archive, rebooted - no apps installed except the stock ones - not even my launcher.

Next I do install the 3.0.0 zip archive again and then advanced restore > data/sdext, reboot and still nothing.

Am I missing something?
[HD2 Android NAND Development] ionbasa:
Dori, the new ROM is golden. Its fast, smooth and stable!

Here is a quadrant score using the default ondemand govenor

You did awesome.

I also have a suggestion about how to make the HD2 even faster!

We currently overclock the CPU, but what if we managed to overclock the RAM by bumping up the RAM frequency?

I dont know how it works with SoC hardware, but on a regular computer you can turn up the "base clock" for cpus that don't let you to change the CPU multiplier.

What if we can implement this on the HD2? The result would probably be an increase of anywhere from 10-20 percent faster RAM read writes and IOPS!

http://en.wikipedia.org/wiki/CPU_multiplier

[URL="[/URL]http://en.wikipedia.org/wiki/Memory_divider"]http://en.wikipedia.org/wiki/Memory_divider[/URL]
[HD2 Android NAND Development] fabiogrotte85:
people can create a cwr install zip for the advanced users?
[HD2 Android NAND Development] :
What options do you have to get such a high score?
[HD2 Android NAND Development] bullcrapr:
Yes, I've got the same issue as well. Wasn't there at the beginning when I first installed 2.9.9, just started yesterday--not sure what triggered it. I tried fixing permissions and force-stopping to clear the cache, but none of that worked. As a workaround, I'm using appbrain for now

---------- Post added at 01:46 PM ---------- Previous post was at 01:36 PM ----------

Heh heh, just when I was thinking things were settling down a little, a welcome EXPLOSION!! Thanks Dorimanx. And if I was allowed to, I'd hit that thanks button a few more times... a small thing for our great dev!
[HD2 Android NAND Development] ionbasa:
I use High end ROM, Swap, Cron, Data2Ext

I also use 26% compcach, and set the max CPU frequency to 1612Mhz

This can be accessed from: Settings-->CyagenMod Settings-->Performance
[HD2 Android NAND Development] marzinho:
BT is not working with 3.0.0!
[HD2 Android NAND Development] jolas:
Yes, I confirm that...

Sent from my HD2
[HD2 Android NAND Development] spideragos:
Confirm. bt not working...

But I've only installed the new Kernel 2.8...
[HD2 Android NAND Development] Hammerfest:
well at least we know that BT is broken in the kernel, not the rom!

might be the twowayrecording again slipped into no 2wr...
[HD2 Android NAND Development] Hinnne:
So we need a new little kernel update for bluetooth fix.
[HD2 Android NAND Development] brunoavrocha:
I'm on 2.9.8 and my phone behaves strange.

When i connect usb (dual mount) the phone gets real slow (sometimes system stop working and i have to press WAIT)

When installing programs the same thing.

I have high end with all on, swap, cron, etc....

any help or clue?
[HD2 Android NAND Development] adityameena26:
swap..

guyss..i justnow installed 3.0.0 rom..first of all this is very fast and smooth..thanks dorimanx and developers for this great experiance..:)

i did 1024mb data partition and 256 mb swap partition...and after booting..i flashed that 524mb zram file..but from terminal i am seeing that there is no any swap activated..it shows like in swap i have 762384 mb but 0mb used..it should shrink automatically..but in my case it isn't...i want to try that 'phone prioritzer' on-off method to activate swap..but i am not seeing phone prioritizer app in my applist..please help..and one more thing..i have high end rom activated..

so please anybody tell me about swap activation..thnxx in advance..!!
[HD2 Android NAND Development] Howell:
Doubtfull... Choosing 2way rec (as I always do) give the same result. Maybe a bad Bt module.
[HD2 Android NAND Development] marzinho:
Apart from broken BT, i also have 60mA battery drain in idle.
[HD2 Android NAND Development] dorimanx:
Hmm, i see that.

i will check, its can be kernel or rom.

Sent from my HD2
[HD2 Android NAND Development] De11:
Hi! It's kernel. I install Kernel v2.8 2WayRec version on MIUI and BT die.
[HD2 Android NAND Development] esatch:
the same here
[HD2 Android NAND Development] Axospirit:
great job Dorimanx!! youi're a WonderMan,i'll also wait ext4 to nand!:D:D
[HD2 Android NAND Development] MystaMagoo:
Just installed v3 as I normally install any DM rom (over the top).

All apps are missing and so far TB cannot restore them?

I recall others having same issue but they were with data2ext and high end?

I don't use it and on light.

Also suggestion.....

Can you add a yes/no text file that we advanced users can edit to stop the abuse of the down button?

We edit the install answers to our liking then the rom just installs with no interaction with the down button.
[HD2 Android NAND Development] Conny:
Ice cream sandwich

from user SPRINT, who discovered how to get ICS on our HD2 !!!!

Here it comes:

HD2

Ice Cream Sandwich

1/2 cup (113 grams) unsalted butter, melted

1/2 cup (100 grams) white granulated sugar

1 large egg

1 teaspoon pure vanilla extract

1/2 cup (65 grams) all purpose flour

1/4 cup (25 grams) unsweetened cocoa powder

1/4 teaspoon salt

4 cups (2 pints) (950 ml) Ice Cream (Homemade or Store Bought), slightly softened - see what happens in step 6 if you let it get too melty!!

10 x 15 inch (25 x 38 cm) rimmed baking sheet

Parchment paper
[HD2 Android NAND Development] mandrakur:
Dont forget "zram_stats" in terminal,after "su"and"free",and you see your swap work.
[HD2 Android NAND Development] duhhh:
what that means

i use cfg like this

but after reboot more apps don't work
[HD2 Android NAND Development] adityameena26:
thnxx buddy..but have already done that..still no luck..swap used portion is still stucked on 0..:((
[HD2 Android NAND Development] amto:
Spam
[HD2 Android NAND Development] brofaris:
can someone tell me what different between no-2way-rec and 2way-rec kernel??because in the menu in installing it ask me to install no-2way or 2way
[HD2 Android NAND Development] dorimanx:
I need logcat from when you try to install app...

i never had such problem...

About the yes/no you can use UP / DOWN / HOME x2 / MENU x2

There is no way to other than rebuilding the install script.

if you know what you want and know how to edit the:

META-INF\com\google\android\updater-script

then you can remove the menu, and leave only the things you need.
[HD2 Android NAND Development] themadproducer:
Not sure about the file you say you flashed but you can also activate Zram, by going to menu>settings>cm settings>performance>compcache...choose 26% and reboot.
[HD2 Android NAND Development] dorimanx:
NEWS!!!

New fixed Kernel 2.9

***I have fixed the BT! now working OK.

***Added Fast WIFI standby fix on screen off. (Correction! it's not used in our main wifi driver, so no change to wifi)

***Tweaked the Deadline Scheduler to boost read/write i/o speed.

***Deleted the 2.8 kernel BT bug! (all that was in 2.8 is in 2.9!)

I have reuploaded the 3.0.0 ROM with Kernel 2.9! for new installs.

So people that already installed ROM 3.0.0 you can update only the kernel 2.9

And BT will work + fixes :)

Have fun.
[HD2 Android NAND Development] iamcxa:
Wow really fast debugging! Thank you DM!
[HD2 Android NAND Development] duhhh:
why when I instal "Equalizer.apk" always get FC :mad:
[HD2 Android NAND Development] ic3fox:
can´t install odex on my phone.

i´ve updated the recovery to 170m restored my backup booted and used the terminal to run odex.sh

but then after some seconds i had a hot reboot.

can´t type sync before reboot.

can anyone help me with it?
[HD2 Android NAND Development] dorimanx:
try to delete

system\app\DSPManager.apk

reboot

reinstall your app.
[HD2 Android NAND Development] dorimanx:
every thing is working?

if you go to /system/app

do you see *.odex files?

and in /system/framework/

if yes then all ok.
[HD2 Android NAND Development] duhhh:
del...,,,,,
[HD2 Android NAND Development] ic3fox:
in system/framework everything ok but in app folder only the first 8 apps are odexed
[HD2 Android NAND Development] alho:
Damn, DORI! YOU ARE GREAT!!!! thanks a lot! Really great rom, above all the ext4 in nand etc...! Have a nice weekend all!
[HD2 Android NAND Development] ic3fox:
after second run i think its working. in terminal i typed sync and reboot and now its booting...

on first run it stucks and some apps where missing and i can´t open terminal again. after reboot apps are back, i could run terminal again and without touching phone it works fine and now all .odex files are in the folders.
[HD2 Android NAND Development] adityameena26:
thnxx bro..i installed ''Kernel-Dorimanx-524MB-ZRAM-Static-Activation'' from one of the four mirror in download section dated 17December...and i have tried compcache 26% step..but still swap is stucked on 0..:((
[HD2 Android NAND Development] fabiogrotte85:
I have install the lite version with zram

and the rom is very slow.

is the problem my sd card?
[HD2 Android NAND Development] mandrakur:
You dont nead ''Kernel-Dorimanx-524MB-ZRAM-Static-Activation''it is allready in the rom ,this ''Kernel-Dorimanx-524MB-ZRAM-Static-Activation''is for other roms.
[HD2 Android NAND Development] dorimanx:
do not install the 524 script!

it's for roms that cant activate the zram by auto.

please dont mix things.

check that you not on high end rom without task killer.

go to /system/build.prop and see if

ro.HIDDEN_APP_MIN_ADJ

is set to 4 and not to 18

4 = light rom

18 = high end.
[HD2 Android NAND Development] fabiogrotte85:
i have 4 a light rom.

i have reinstall the rom and the kernel 2.9

and not install the zram and now works good.

why the typhoon rom with your kernel with zram works very fast?

(with my sd card)
[HD2 Android NAND Development] dorimanx:
try to say NO to data2sd in install menu.

my rom is bigger and heavier than typhoon,

but for all stuff to work fast, you need fast sdcard and correct configurations.

This rom is advanced and loaded with scripts and mods. so you need to know what you do.

if something is not OK, post detailed info about it, and people will tell you what to do,

i will also reply when i can.
[HD2 Android NAND Development] Visentinel:
You guys might like this awesome find.

There's an app on market called Rom toolbox.

Specifically the awesome bit is the font installer, I got the ubuntu font on mine. But it has sooo many fonts.
[HD2 Android NAND Development] allcomb:
Hi

I install last 3.3.0 ROM with 2.8 kernel. Bluetooth NOT WORK.

Than install kernel 2.6 and Bluetooth work again.

Have a nice day!!!
[HD2 Android NAND Development] amto:
I use tom toolbox for a long time.

You can set LCD density, flash rom, install new fonts, new clock and more things.

Its a very good app
[HD2 Android NAND Development] MystaMagoo:
Actually it seems that TB has restored (or they were there already?)

It's just the 'icons' were greyed out?

a long click and they changed?

weird.
[HD2 Android NAND Development] dorimanx:
redownload the rom and reinstall.

or update kernel 2.9 from mirror :)

already fixed it.
[HD2 Android NAND Development] jonas2295:
So for everyone having not updated already here are my experiences with latest Rom :)

-its fast (what else :))

-you can feel that the ROM is near perfection

-even if you have tons of apps like me (200 and up) they will load very quickly

-no lags at all

-no ics keyboard FC and I just noticed that a setup app for the keyboard appeared (or I didn't notice it on 2.9.9?! :))

--> so hurry up and get your free copy of pure awesomeness :)

@dori.. Is my /your new phone already a help for the development of the kernel and rom?!

Cheers
[HD2 Android NAND Development] dorimanx:
Thanks for cool comment :)

belive or not phone is ready to be repaired and asambled with all new parts, but i didnt had time to do it, so its at my work in box dissasamled.

i will fix it this week i hope :)

And tones of apps its soft word :)

What we say if i have 426 :) and 50 in ram all the time :)

and rom is fast,

i can only imagine how ultra fast is it when only basic apps and some 10 apps installed on high end rom with monster zram :)

and data to ext mode on :)

Sent from my HD2
[HD2 Android NAND Development] Visentinel:
Dorimanx how did you manage to get rid of the "unpacking native libraries" during boot ?

Posted from my tweaked DHD.
[HD2 Android NAND Development] jonas2295:
haha what do you do with 426 apps ?:D

ohh and even the game "Sprinkle" works without lags ... It has some really nice water animation which are i think hard work for CPU...

Well if even this speed of development is achieved by only one test phone, I can´t wait till you have both running :DD
[HD2 Android NAND Development] Visentinel:
426 ?

How could you find the time to use them ? Lol wow !

Posted from my tweaked DHD.
[HD2 Android NAND Development] allcomb:
Thanks DM

I TRY

Just now my phone itself is turned off and very fast come back in 5 to 10 second to my HOME site.

ROM 3.3.0 kernel 2.6

BYE
[HD2 Android NAND Development] Panos5vRS:
[/COLOR]

Dorimanx how is battery usage in version 3.0.0???

THANK U!
[HD2 Android NAND Development] jonas2295:
having 4ma atm ...

HSPA on and govenor ondemand up to 1,6Ghz
[HD2 Android NAND Development] Bingoig11:
Silly question, but with High End ROM, should I execute any script to enable big zram, or is it included during the installation?

Thx :D
[HD2 Android NAND Development] allcomb:
DM hi

I instal your new ROM 3.3.0 WITH kernel 2.9 and realy Bluetooth work.

Wait if something goes wrong?

My last perfect version ROM 2.9.8 and kernel 2.6. Evrything work greate.

Thanks for the quick help
[HD2 Android NAND Development] jonas2295:
AFAIK its enabled by script .You have to activate it in cyanogen mod settings and set it to 26 % ! then reboot and it should be active :D
[HD2 Android NAND Development] miguelidanez:
Definitively, I didn't get odex to work.

I had 2.9.8 rom and kernel 2.7 installed. So I tried to install rom 3.0.0 and odex.

I try to ways:

First:

0) I do full backup before install anything.

1) I installed rom 3.0.0.

2) backup full nand

3) Flash recovery modded to 170mb system partition on .cfg

4) Restore previous backup

6) I got and Equalitzer app FC error. As usual, delete ADW launcher.apk, com.fede.launcher.apk and dspmanager.apk with rootexplorer (I use Go Launcher EX Español, as I live in Spain). Reboot. Equalitzer don't start and got FC error.

5) Run odex.sh script, but after few seconds phone reboots, without time to type "sync".

6) After reboot, I run odex.sh script again. I read some error while script working, and after few seconds (more seconds than previous) again hot restart.

7) Phone don't boots anymore.

I install previous rom (2.9.8) and Kernel (2.7) and restore first backup.Phone boots ok. I tried again with rom 3.0.0 and odex:

1) I installed rom 3.0.0.

2) This time I did not backup, as I already have 170mb system partition.

3) As usual, delete ADW launcher.apk, com.fede.launcher.apk and dspmanager.apk with rootexplorer (I use Go Launcher EX Español, as I live in Spain). Reboot. This time Equalitzer started OK without error.

5) Run odex.sh script, but after few seconds phone reboots, without time to type "sync".

6) After reboot, I run odex.sh script again. I read some error while script working, and after few seconds (more seconds than previous) again hot restart.

7) I run odex script for third time. Some error and it stops and system goes to desktop. I didn't find terminal app neither desktop or list of app. Reboot and icon appears in app list. run it.

8) Type sync and reboot

7) Phone don't boots anymore

I think odex script need to be fixed. I suspect there is app "odexed" and other no while running script, and the system come unstable.

Now I will restore all from previous rom and I will install rom 3.0.0 but withour odex system, until DM fix it.

Thanks a lot for your job.