yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] dorimanx:
hmm. its worked for me...

but ok, something needs to be fixed.

i will check,

this mod is highly experemental so its not must! and still buggy, so use it only if you bored and dont mind to play with restore and scripts. :)

i will try to make it full auto, i think best to run it from adb and not from terminal.

i think problem is that when it mod the terminal as it a system app, its break the proccess and damage the system.

so its will work from adb shell. this is how i run it.

its will also work from gscript app.

create script

sh /data/odex/odex.sh

sync

reboot

and run it one time.

its will do the work and reboot.

Sent from my HD2
[HD2 Android NAND Development] dorimanx:
Hmm, i dont know... :)

maybe changes in kernel...

did you used the odex?

Sent from my HD2
[HD2 Android NAND Development] miguelidanez:
I create script within script lite app. Run once... 3 app odexed... and HANGED. I had to remove battery and phone doesn't boot.

Restoring again...
[HD2 Android NAND Development] mandrakur:
I too ,have no lucky with new mod odex,I am lose all widgets in homescreen,but before that I cant type sync,reboot becouse after "sh /data/odex/odex.sh"I was stuck on choose home...and nothing hapend after.
[HD2 Android NAND Development] Mark5:
I used adb and the script ran fine up until it got to around 3/4 way through, then it reported it had 'run out of space' and the last few apk processes failed, although the script did complete.

I then ran sync and reboot and watched the process with logcat and the phone booted fine, but a few shortcuts and widgets are gone from homescreen.

I have restored the widgets and shortcuts, as the apps are still on device, and they all seem to be working fine now, but a bit baffled why the script 'ran out of space'.

Will keep running and see what else I can find...

Excellent so far!

EDIT - still got probs, taskbar is missing, amongst other stuff. Will try running the script again to see if it sorts it.

EDIT 2 - nope, not coming back to full life. Will restore to 2.9.9, install 3.0.0 and then see what's what...
[HD2 Android NAND Development] noamsch6:
Here is my report:

Few FC's (superuser, advanced task killer, ics keyboard...)

Got low on space message but have 504 MB free o.O

Only 188mb of ram free. In previous rom it was over 250mb (haven't tried swap new swap script, ill report later on...)

Battery drains really fast (10% in 6minutes :O )

That's it for now...

Bootloader etc are in my signature...

everything is on, like cron, old market...

using rafpigna's kernel. (Please change your kernel's Mac address, i don't know why but that address isn't able connect to my wifi network... its with password, not mac check.

:)
[HD2 Android NAND Development] duhhh:
odex works on my phone only google music FC,but del. from system/app instal again and it's ok

however i have only one problem everytime when I instal or uninstal app got message "system not responding"
[HD2 Android NAND Development] dorimanx:
so people please use only adb for the mod.

and please have 170mb of system partition before you begin,

check your stats before run.

df -ah | grep /system

if you see free space less than 20mb its will not work and fail.

Sent from my HD2
[HD2 Android NAND Development] SkooterD:
I used gscript lite to run it and it worked fine.
[HD2 Android NAND Development] dorimanx:
this is an old problem, ignore it,

its comes from to much apps in ram.

and disk i/o working on max and starving the system proccess, so its cry for help.

but app installed faster, i am trying to reach the middle ground, but still its wasnt been found.

odex also damage the screenshot system apk

so its needs to be replaced, by one from rom and odex for it should be deleted.

all this leads to new odexed rom that will be faster but use more system space,

so we all debug the mod now :)

so

music

screenshot

cant work when odexed

when we find all the problems, new rom will be created :) i hope with new nighly fixes...

Sent from my HD2
[HD2 Android NAND Development] duhhh:
hope new release was rock again :D
[HD2 Android NAND Development] SkooterD:
Strange, my music app and screenshot app are both odexed and both work fine.
[HD2 Android NAND Development] Visentinel:
It was just a technical question not about your Rom specifically, I thought you had found a tweak to get rid of the unpacking native libraries thing during each boot.

I done more digging and I think someone who devs cyanogen mod had modified the package manager to fix that issue, all the other roms are stuck with it I guess.

Posted from my tweaked DHD.
[HD2 Android NAND Development] mandrakur:
I do odex mod again , now with gscript ,widget are missing like before but everything else is working fine for now(screenshots...),and instaling apps seams to be faster.

Thanks DM
[HD2 Android NAND Development] nathmedlin79:
Partition size

I am sure this has been asked and answered, but this thread is huge. What is the partition size? 150 or 170? and is 5mb cache good enough? Thanks!
[HD2 Android NAND Development] eterno13:
the new kernel drains the battery really quick
[HD2 Android NAND Development] YZ:
I can confirm that too :/
[HD2 Android NAND Development] mandrakur:
Partition layout its bean 150-5 or 150-10,and now if you do odex mod must have 170 system if not 150 is ok.(5mb cache is enough)
[HD2 Android NAND Development] eterno13:
60ma on standby.....
[HD2 Android NAND Development] parker09:
I've tried about 5 times now to flash 3.0.0 (CLK/Lite), every time when I boot up Android all my applications are gone. I've tried doing advanced restore sdext & data and then reboot but the same thing happens.

Not sure what I'm doing wrong as I've never had a problem with upgrading ROMs before.
[HD2 Android NAND Development] Hinnne:
battery usage

Hi dorimanx,

thanks for new rom and fixed kernel. it is really great and super fast.

But i have a little problem with battery usage.

Since a view versions battery drain is much higher in your rom.

minimum is 5 mA but very often it is over 100mA and seems to get stuck there even with screen off in standby.

I have not changed settings and apps. using ondemand.

In earlier Rom versions i got nearly 2 days with low phone usage and often 2-3 mA on standby.

Now with newest Rom battery is drained over 50% in half a day with very low usage.

Can anybody confirm this. Or is it only me with this problem.

Can you tweak Rom and kernel more for better battery usage? Or should i disable something to get lower drain.

I like this fast speed but a bit less battery drain would be really nice.

I hope you can help and perhaps solve it.

Thanks
[HD2 Android NAND Development] Bologna:
+1

It's all amazing except for battery drain...there's something new in kernel eating cpu.

Anyway thanks dm...3.0 is really impressive!
[HD2 Android NAND Development] parker09:
I've tried about 5 times now to flash 3.0.0 (CLK/Lite), every time when I boot up Android all my applications are gone. I've tried doing advanced restore sdext & data and then reboot but the same thing happens.

Not sure what I'm doing wrong as I've never had a problem with upgrading ROMs before.

UPDATE

I reinstalled all my applications manually eg. searching the market and what not, I set them up and then I rebooted and now they're all gone again!
[HD2 Android NAND Development] Hammerfest:
Using Mod?

Did you try Task29 and total reformat of MicroSD?
[HD2 Android NAND Development] the_mouse:
+1 Same here other than that I love it :)
[HD2 Android NAND Development] parker09:
No not using any mods, just went through what I normally do - pretty much yes to every question.
[HD2 Android NAND Development] adityameena26:
swap..

thnxx mate..reinstalling the rom solved out the problem..:)
[HD2 Android NAND Development] jairrab:
3.0 + zram + odex script is really working great for me! Working on my paypal so can donate.

Has anyone experience problem with in-app rom manager support on clk? It stopped working for me so I can't do automatic backups anymore.
[HD2 Android NAND Development] brofaris:
where the link bro???
[HD2 Android NAND Development] nathmedlin79:
Check the "Mirror 2" and look under kernels.

Can anyone help me with a low memory problem? I installed about 160 apps on this with Titanium Backup and let "Android choose where to install" for the apps installation. I have tried many roms recently with Miui, Mwakious, etc and never had this problem with low memory that I can't fix. My Internal memory is 263 free of 268 but my sd card (a2sd) has only 72 mb free out or 1GB. When I try to install apps to my internal with titanium backup, my a2sd actually gets lower and the Internal memory stays almost the same. Does anyone else have this problem or is there something I am not understanding about where the apps are put? I am using the lite version with 1 gb ext 4.
[HD2 Android NAND Development] brofaris:
thank you..

---------- Post added at 03:29 PM ---------- Previous post was at 03:19 PM ----------

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] Downy:
Still not working for me, when I try to execute the script manually I get this error again:

# sh 999remount-and-swap

sh 999remount-and-swap

: not found

999remount-and-swap: 15: Syntax error: word unexpected

#

I have just reinstalled the full ROM and then installed the 2.5.2 fix update but there is no chance to get this script running. I always receive the mentioned error above :(

I rechecked if /sdcard/phonePrioritizer/script.txt exists and yes, it is there.

Maybe this is a timing issue on some sdcards, as I have tried to run your script sdswap200.sh which gave me this output:

sh sdswap200.sh

: not found

WORKING PLEASE WAIT A MINUTE

: not found

Remounting System to allow WRITE

in /proc/mountsd /system

Creating SWAP on SDCARD

200000+0 records in

200000+0 records out

204800000 bytes (195.3MB) copied, 32.919494 seconds, 5.9MB/s

: directory nonexistenteate /proc/sys/vm/swappiness

BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-call binary

Usage: swapon [-a] [DEVICE]

Start swapping on DEVICE

Options:

-a Start swapping on all swap devices

DONE CREATING, ENJOY MORE RAM

: not found

#

But when I add these lines line by line via adb with copy and paste everything works well and in the end I have sdswap active.
[HD2 Android NAND Development] dorimanx:
Found the problem!

FIXED! update 2.5.3 ready in mirror!

# sh 999remount-and-swap

checking if sdcard exist and mounted

TWEAKS: remount all partitions with rw,noatime,nodiratime,norelatime

DONE

TWEAKS: use cfq as i/o scheduler + Telling system that disk is FLUSH!

Speeding the READ/WRITE speeds! And adds more controled write speed burst!

DONE

Remounting /system with noatime,nodiratime

DONE

Activating Swap EXT Partition!

Setting up swapspace version 1, size = 256407552 bytes

UUID=49c61801-a403-4267-bde9-00d06d1de905

swapon: /dev/block/mmcblk0p3: Device or resource busy

swapon: /sdcard/swap: Device or resource busy

DONE

Tweaking market

DONE

#

Thanks for debug help!
[HD2 Android NAND Development] dorimanx:
Uploaded to main page and to mirror (there are some more)
[HD2 Android NAND Development] Rando81:
same problem as downy even after 2.5.3 update (running cLK version)
[HD2 Android NAND Development] Downy:
Same issue also with 2.5.3 :( :(

"sh /etc/init.d/999remount-and-swap

: not found

/etc/init.d/999remount-and-swap: 14: Syntax error: word unexpected

#"

I am asking myself what this error message means:

: not found

Maybe some path to binarys are wrong..
[HD2 Android NAND Development] dorimanx:
I got HELP from vodkinagdan

HE POINT ME TO THE LIGHT!!!

SO UPDATE 2.5.4 IS IN THE MIRROR!

AND IT'S WORKING!
[HD2 Android NAND Development] Downy:
Step further :)

# sh 999remount-and-swap

sh 999remount-and-swap

: not found

: not found

Fixing init.d permissions!

BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-call binary.

Usage: chown [-RhLHP]... OWNER[<.|:>[GROUP]] FILE...

Change the owner and/or group of each FILE to OWNER and/or GROUP

Options:

-R Recurse

-h Affect symlinks instead of symlink targets

-L Traverse all symlinks to directories

-H Traverse symlinks on command line only

-P Don't traverse symlinks (default)

BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the

symbols +-= and one or more of the letters rwxst

Options:

-R Recurse

: not found

999remount-and-swap: 12: Syntax error: "done" unexpected (expecting "do")

#
[HD2 Android NAND Development] dorimanx:
14/07/11 Time 03:50

***Finally fixed my remount and swap script update via small update 2.5.5 problem was in corrupted file transfer! script worked all the time

***Fixed also scripts for SWAP and SDSWAP

Redownload and use if you want.

the remount and swap script name is 99script now.
[HD2 Android NAND Development] SnoopHTC:
Hello Dorimanx,

I'm on CLK v1.4.0.1 with CWM 3.1.0.0 (150Mo-5Mo) with your ROM v2.5.4, and here is my script result. When i launch swap-hard.sh, swap partition is mounted OK (256Mo).

---> All the everything else is absolutely beautiful and functional <--- THANKS A LOT FOR YOUR WORK (And to all the Android HTC HD2 Dev's... :):) )

Good luck and waiting for next tests ;-)

PS: Sorry for my bad english...

$ export PATH=/data/local/bin:$PATH

$free

total used free shared buffers

Mem: 421004 321084 99920 0 2996

-/+ buffers: 318088 102916

Swap: 0 0 0

$ cd /system/etc/init.d

$ ls

00banner 05mountsd 95cache

01modules 10apps2sd 96zipalign

01sysctl 11dalviklocation 97ppp

02_htcleo 20userinit 98cpu_voltage

03firstboot 90ramscript 999remount-and-swap

$ sh 999remount-and-swap

sh: Can't open 999remount-and-swap

$ su

# sh 999remount-and-swap

: not found

: not found

Fixing init.d permissions!

'hown: invalid option -- '

BusyBox v1.19.0.git.adrynalyne (2010-12-21 22:03:30 MST) multi-call binary.

Usage: chown [-RhLHP]... OWNER[<.|:>[GROUP]] FILE...

Change the owner and/or group of each FILE to OWNER and/or GROUP

Options:

-R Recurse

-h Affect symlinks instead of symlink targets

-L Traverse all symlinks to directories

-H Traverse symlinks on command line only

-P Don't traverse symlinks (default)

'hmod: invalid option -- '

BusyBox v1.19.0.git.adrynalyne (2010-12-21 22:03:30 MST) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the

symbols +-= and one or more of the letters rwxst

Options:

-R Recurse

: not found

999remount-and-swap: 12: Syntax error: "done" unexpected (expecting "do")

#

EDIT: Oupps I will test 2.5.5 :):):):) NOW!!! :):):)

EDIT 2 : I LOVE YOUR BOOTSCREEN !!! :)
[HD2 Android NAND Development] SnoopHTC:
V2.5.5

With v2.5.5 I have :

$ export PATH=/data/local/bin:$PATH

$su

# free

total used free shared buffers

Mem: 421004 287484 133520 0 4660

-/+ buffers: 282824 138180

Swap: 0 0 0

# cd /system/etc/init.d

# ls

00banner 05mountsd 95cache

01modules 10apps2sd 96zipalign

01sysctl 11dalviklocation 97ppp

02_htcleo 20userinit 98cpu_voltage

03firstboot 90ramscript 99remount-and-swap

# sh 99remount-and-swap

: not found

: not found

99remount-and-swap: 16: Syntax error: word unexpected

# free

total used free shared buffers

Mem: 421004 288324 132680 0 4660

-/+ buffers: 283664 137340

Swap: 0 0 0

#

Sorry... courage!!
[HD2 Android NAND Development] SnoopHTC:
Sorry but when I launch with GScript Lite "swap-hard.sh" that works, this has nothing to do?
[HD2 Android NAND Development] dorimanx:
that cant be i have replaced the old script with new name 99script and the old one shuold be deleted.

open my zip and see what is in init.d.

do the update install via cwm.
[HD2 Android NAND Development] dorimanx:
are you clk user?
[HD2 Android NAND Development] Looki75:
Hello there!

I am testing the clk version. Everything is fine, except an issue that I know to be an issue with vol in general...

I remember reading things about rmnet/ppp differences between magldr and clk. In clk, if I use wifi, then after that the data connection is not working anymore. The icon is here, as if everything was fine, but data is not working.

Anybody remembers the workaround? How to get rid of this issue on the clk build?

Thx
[HD2 Android NAND Development] Rando81:
is swap working for you?
[HD2 Android NAND Development] Looki75:
Don't know yet... As I had this issue with data, I tried to flash other ROMs including Typhoon to see if there was the same issue (I didn't check swap before)... Always the same issue on every clk build.

Right now trying to solve that issue before flashing back Dorimanx'

Edit: on typhoon clk + dorimanx tweaks, swap is working fine...
[HD2 Android NAND Development] dorimanx:
I have uploaded some fix that can help.

Can you test it?

It's in mirror

Name : charan_05152011_cLK_ppp_cache-mod.zip

Install via CWM.

if this will solve the problem then it's will be integrated to ROM.

Thanks...
[HD2 Android NAND Development] dorimanx:
That is good, we have the same kernel should work for all.
[HD2 Android NAND Development] Downy:
For me, zip file of 2.5.5 doens't contain a script named "99script", can you recheck?
[HD2 Android NAND Development] augustopacheco:
I have formatted my card with 1gb and 256 mb swap and in the rom I have run the script swap-hard.sh how can I confirm that swap is being used?
[HD2 Android NAND Development] justaguyh:
go dialer has graphic error

dorimanx, i'm usig the go dialer app. like i'm using go launcher and contacts. it's easy and fast.

but on the dialer screen, i've had a graphical error on 2.6.7 - after 3-4 numbers pressed, the dialer disappears. you can still dial, but you can't see.

i've updated to 2.6.8 and the error got worse :)

the dialer is littrely almost invisible.

any suggestions?
[HD2 Android NAND Development] Visentinel:
I got SOD again today, its so weird. Seems as if if I let the rom run without a reboot for to long it will sod. Would logcat catch what's causing this?

I have never had sod issues before this rom, so I'm pretty sure it will be either a tweak or using swap that's causing it.
[HD2 Android NAND Development] dorimanx:
yes it's buildin

if you install app, it's will be palace on sdcard EXT partition, and DATA on NAND
[HD2 Android NAND Development] mootmetal:
does the high end works normal if i dont use any no partition and no swap ?
[HD2 Android NAND Development] dorimanx:
tried, not working for me.

probably the rom is not configured correctly to use that kernel.

developer not say what needs to be done.
[HD2 Android NAND Development] dorimanx:
Message for ALL: :)

If you have more than 100 apps installed do not use the default Mount / unmount

It's just will take too much time, i have 400 apps and it's not an option for me!

cant do nothing to speed this,

Phone need to read all 400 apps again when i mount back.

So i am using the Dual Mount pro, that automatically mount my sdcard when connected to USB and release.

This app not taking the sdcard from phone. so no reload of app needed!

I am strongly recommend to use that app. it's a must app...

Thanks...
[HD2 Android NAND Development] dorimanx:
I will check the permission, in first bootup script,

Thanks, good info!
[HD2 Android NAND Development] dorimanx:
It's BUG with the default LIGHT skin.

Download any outer or use the dark and all ok...

I cant find the cause of this... i tried and all my test end up with scrambled or not readable skin..

maybe it's something that was been added / changed on latest nightly.

they speak about changing some graphical settings...

Any just try any other skin and you be fine...

The SMS app works ok..

i am using that set also...
[HD2 Android NAND Development] dorimanx:
Run

free

in terminal

you will see swap , used , free
[HD2 Android NAND Development] danzaywer:
+1, is there a way to check it?

Thanks!
[HD2 Android NAND Development] dorimanx:
i will retest ROM,

this is something that happen too much, but only to you...

BUT i cant risk it to happen to more people...

I will look for the answer...

And yes if you can connect via ADB and run logcat, and look for something fishy

and post it here it's would be great.

i wonder if you can after SOD.

this SOD problem happen moistly because wrong voltage to CPU.

maybe you have to rise your 256Mhz to from 950 to 1000

to give more voltage to CPU to stay stable on deep sleep.

you can edit the 98voltage script..
[HD2 Android NAND Development] dorimanx:
Hi,

i got donation from..

Purpose:

Donation XDA Forums

Date:

26 Jul 2011

Time:

05:26:45 GMT+03:00

Status:

Completed

Payment Type:

Instant

Description:

pawel tutaj

Owner of Donation :)

Please PM me with your username, so i can add you to main page donation and support table.

And thank you very much... :)
[HD2 Android NAND Development] feanor91:
Just for info, as I said a few post ago, I have this problem from time to time too.

How long is logcat recording in time 1hour, less, more?

This morning, I try GPS comming to work, device freeze about 10 minutes after starting. Not due to heat this time. After reboot I was not able to get a fix. in logcat about gps, I just see that :

D/gps_leo ( 655): update_gps_status(): GpsStatusValue=2

D/gps_leo ( 655): gps thread stopping

D/gps_leo ( 655): gps_set_position_mode() is called

D/gps_leo ( 655): fix_frequency=1

D/gps_leo ( 655): gps_start: called

D/gps_leo ( 655): update_gps_status(): GpsStatusValue=1

D/gps_leo ( 655): gps thread starting location_cb=0x80d00639

? I have those messages 2 times, but I don't know the time frequency.

I use GPS status all the run to see if I can get a fix.
[HD2 Android NAND Development] augustopacheco:
ok i checked and is ok... great rom, very fast and stable. thanks.
[HD2 Android NAND Development] farazjk:
I have been running 2.6.8 light mag for several hours now and so far all is great. No problems, speed is great and no lags. Battery also seems to be good and no noticeable heavy drains so far. Connectivity over WIFI and Edge also good.
[HD2 Android NAND Development] Conny:
storage

Does anyone exept me have the bug of unability to reach the HD2, mount through USB as a mass storage?
[HD2 Android NAND Development] feanor91:
Hello

If you use sdswap, it is normal, because android is unable to unmount your card from himself to mount it under usb mass storage. To achive that, you have ever use script in gscript folder of the sd to unmount and remount your swap or use a tool like dual mount widget wich allow to hve sd mount on computer and phone at the same time

If you did not use sdswapm then it is not normal
[HD2 Android NAND Development] nextman6515:
i installed the 2.6.8 rom then revert to light. everything works good. today i formatted my sd card with an ext3 partition then rebooted my phone. is there anyway of telling if ive got the extra space for apps?

EDIT: i must have done something wrong. i put my phone into mass storage mode and my apps have installed on FAT32 partition.
[HD2 Android NAND Development] mootmetal:
i did an sd swap ...but when i run free in terminal it gives me swap 0 !!!!!
[HD2 Android NAND Development] themadproducer:
The Call Record version enables recording an outgoing/incoming phone call via any call record app. Unfortunately for many including myself, it causes BT Voice dialing to kill audio and dialer. There are other related problems as well using Wifi Calling, Skype...gee, I can;t remember them all.

The disabled Record call version eliminates most of the known bugs at the expense of....NO Call Record function.
[HD2 Android NAND Development] dorimanx:
you need to extend the EXT partition!!!

The internal for my ROM is EXT if it's exist! so:

Internal = EXT

External = SDCARD

or extend your ext or install to sdcard.

i got 2GB ext with 440 apps! (checked today :) ) and ext is 1.6GB used!

No apps on sdcard.
[HD2 Android NAND Development] brofaris:
i wanna use setCPU..so what the best number to use for min & maxfor this rom??