yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] dratengon:
i run dataswap250.sh and below is log

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

$su

# sh /sdcard/dataswap250.sh

WORKING PLEASE WAIT A MINUTE

Remounting System to allow WRITE

Creating SWAP on SDCARD

250000+0 records in

250000+0 records out

256000000 bytes (244.1MB) copied, 25.971436 seconds, 9.4MB/s

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

DONE CREATING, ENJOY MORE RAM

total used free shared buffers

Mem: 421380 410584 10796 0 16

-/+ buffers: 410568 10812

Swap: 0 0 0
[HD2 Android NAND Development] D3LTA:
No it not

try again you have no swap at this moment

Looks like there is a issue with you sd-ext/swap file

try recreate and make sure to run it with "su" root rights
[HD2 Android NAND Development] D3LTA:
Try the SDswap200 and post log please
[HD2 Android NAND Development] Bologna:
have you pasted the script on sd card before using the terminal?

Try also to reboot
[HD2 Android NAND Development] dratengon:
Here is the sdswap200

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

$su

# sh /sdcard/sdswap200.sh

WORKING PLEASE WAIT A MINUTE

Remounting System to allow WRITE

Creating SWAP on SDCARD200000+0 records in

200000+0 records out

204800000 bytes (195.3MB) copied, 131.668427 seconds, 1.5MB/s

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

swapon: /sd-ext/swap: Invalid argument

DONE CREATING, ENJOY MORE RAM

total used free shared buffers

Mem: 421380 412060 9320 0 284

-/+ buffers: 411776 9604

Swap: 199772 0 199772

After restart my phone the swap become 0 0 0
[HD2 Android NAND Development] dorimanx:
Please wait i will check the scripts...

something not good!

EDIT

Reuploaded files!

dataswap250.sh

sdswap250.sh

now will check if swap exist, and delete it before creation of new one.

will check if your EXT partition exist.

all the rest should work, as for all.

good luck.
[HD2 Android NAND Development] ccristal:
2.6.3:Market FC as soon as a download starts.
[HD2 Android NAND Development] dorimanx:
COOL.

Thanks for good find then!!!

I will post an instruction to do what you found in case that problem exist and user use sdswap!

Thanks for debug and sharing...
[HD2 Android NAND Development] dublus:
But a reboot is still required for OS to see changes ?
[HD2 Android NAND Development] dorimanx:
Do this!

open script 99script that sit in system/etc/init.d with root explorer or before flash to phone with notepad ++ only!

Then

Delete this line:

echo "/dev/block/mmcblk0p3 swap swap" > /system/etc/fstab

and this line change from this:

echo "/sdcard/swap swap swap" >> /system/etc/fstab

to this:

echo "/sdcard/swap swap swap" > /system/etc/fstab

SAVE and reboot or reinstall rom. you choose.

Should work after that.
[HD2 Android NAND Development] dorimanx:
Reboot after first load.

then if problem persist do this.

in terminal

su -

ls -la /cache

write or print screen what you get.

and for fast fix till next reboot

chmod 777 /cache -R

Please report back.

And you are CLK / MAG ?

Request for all:

Please write on what build you are with your question / bug report.

Thanks!
[HD2 Android NAND Development] dorimanx:
no,

permissions active immediately!
[HD2 Android NAND Development] THANHVO31:
how to fix root with 2.6.3 cLK?

Thanks
[HD2 Android NAND Development] ccristal:
Rebooting didn't fix the problem.

I am on MAG.

Output of ls -la /cache:

$ export PATH=/data/local/bin:$PATH
# ls -la /cache
drwxrwxrwx 1 0 0 2048 Jul 18 23:29 .
drwxr-xr-x 14 0 0 0 Jul 18 23:29 ..
drwxrwxrwx 1 1000 1000 2048 Jul 18 23:29 dalvik-cache
lrwxrwxrwx 1 0 0 23 Jul 18 23:02 download -> /sdcard/download-market
drwxrwxrwx 1 0 0 2048 Jul 18 07:33 lost+found
drwxrwxrwx 1 1000 2001 2048 Jul 18 23:29 recovery
#

Edit: chmod 777 /cache -R didn't fix it either.

Edit 2: Hang on... looks like my HD2 cannot mount my SDCARD anymore. I'll run a check on my PC...

Edit 3: Yep, I agree with gerardroid below: the 2.6.3 fix seems to block mounting the SDCARD.
[HD2 Android NAND Development] gerardroid:
after installing the update fix for the 2.6.3(usb)the whole upper task bar is gone?before applying the fix it is still there...:)

edit:and when i try to open a app which is on sd it says:sd card doesnt exsist or is mounted?mmm strange...going back to 3.6.3 without the fix:everything works normal again..
[HD2 Android NAND Development] gerardroid:
sdcard prob:had the same is caused by the usb fix(i think)when i removed the fix everything worked again
[HD2 Android NAND Development] Rudyfastcat:
Latest fix for v2.6.3 caused me to loss my phones ability to mount the SD card

reverted back to v2.6.3 without fix and walla SD now mounts to phone.

I'll use Dual Mount SD Widget from Market to mount my SD

to my pc for now
[HD2 Android NAND Development] bigbadmoshe:
Edited the file like you said.

This is what I get with reset swap script sdswap script and swapoff scripts

"stderr: swapon: not found"

And the revert to stock is not working messed up settings app had to copy from original zip.

Superuser would fc all the time had to flash old version and use superuser elite.

I am getting random rebooted.

Using latest clk 2.6.3
[HD2 Android NAND Development] joescian:
Mag High end Rom 2.6.3- Found to be laggy. Problem with FC on Market resolved.

However SetCPU FC all the time. Reinstalled OK - rebooted - FC again.
[HD2 Android NAND Development] harry655:
For the life of me.

I cannot get sdcard mounted, no matter what combination I try i.e. with/without fix, with/without light revert... (damn) I wish I kept 2.6.0

Oh and statusbar missing here too.
[HD2 Android NAND Development] sagytb:
Hey bro - I have installed the latest rom (2.6.3) and I got random reboot every several minutes, I was driving from TelAviv to Moddin, 25 minutes driving and the device rebooted 5 times...

Please advice.
[HD2 Android NAND Development] gerardroid:
the usb fix causes the statusbar to dissapear..if i reiinstall 2.6.3 without it i get it back..
[HD2 Android NAND Development] harry655:
Thanks mate, I saw the earlier posts saying that. Unfortunately that doesn't fix it for me.

sent from my HD2
[HD2 Android NAND Development] ccristal:
Dorimanx,

should you decide you need a test team, to double check that everything works as it should before a new ROM/patch comes out, I'm available.

ccristal
[HD2 Android NAND Development] sagytb:
Same here :)
[HD2 Android NAND Development] harry655:
OK, re-installed rom and light revert work now (phew).

I'll just make do without usb connection for hte time being:cool:

Anyone notice Busy box is missing this time?
[HD2 Android NAND Development] dratengon:
found out market can't download + update apps.
[HD2 Android NAND Development] guinhill:
Could you try the following commands in Terminal ( or via PC with adb shell )

cd /cache

su

mkdir /mnt/sdcard/market-cache

mv download download.bak

ln -s /mnt/sdcard/download download
[HD2 Android NAND Development] marcelvdenberg:
+2, have the same problem for two days now, this morning I did a task29, just for the sake of it (didn't have wifi anymore, low volume at voice and high battery drain and a no working market, only visible for about 3 seconds) as mentioned earlier in this topic. I tried almost anything you kind people are checking out and sharing your thoughts and knowledge with everyone here on XDA, but no succes, things only went for the worse..

I installed the ROM again, with the V3 update, but it was all for nothing, I'm at the same situation as yesterday.. I'll just wait for a new version, because 2.7.5 was very, very good.. I can stay there, but that's not the whole idea behind switching from WM6.5 to Android :D

Keep up the good work!!!!
[HD2 Android NAND Development] dorimanx:
I have reuploaded all Kernels!!!

Now V2

***Fixed network buffers! connection speed increased!

***Fixed Some cache settings

***Fixed Read optimization! boot time decreased by 5 to 10 sec! :)

***Fixed the CPU on Demand settings, + default cpu frequencies to 245min 998max

change to what you like in settings or via setcpu app.

reinstall your favorite kernel :)

=======

Question!

what kernel should i put in new ROM? 2.8.0!

I go for HierOs with 1.5Ghz OC! :)

What are the opinions?

any way kernel can be replaced any time :)
[HD2 Android NAND Development] Hinnne:
I think you say which Kernel is best. I hope there will be an jw Update of tytungs r12 with mic fix and perhaps overclocking 128-1500 soon.

What do you think dorimanx? Is mic fix necessary?
[HD2 Android NAND Development] SkooterD:
I tried them all and HierOs was by far the best for me. All others were terrible on my data for some reason really slow. By the way i'm mag high end with swap and crond. tmous
[HD2 Android NAND Development] dorimanx:
didnt had problems with mic.

not using the speaker much, so no problem.. but it's cool

when JW will make his master peace! we will switch to that :)
[HD2 Android NAND Development] wbonney4:
+1 JW with HierOS Kernal I had bad phone connections and call fails all of the time. I switched to JW and all was well
[HD2 Android NAND Development] mandrakur:
Now I will try new one v2 kernel .Same thing stop on the boot screen.Dont understant what going on.?
[HD2 Android NAND Development] dratengon:
i tried on sdswap250.sh and got this error

$ su

# sh /sdcard/sdswap250.sh

WORKING PLEASE WAIT A MINUTE

Remounting System to allow WRITE

swapoff: can't stat '/sd-ext/swap': No such file or directory

Creating SWAP on SDCARD

250000+0 records in

250000+0 records out

256000000 bytes (244.1MB) copied, 191.231965 seconds, 1.3MB/sswapon: can't stat '/sd-ext/swap': No such file or directory

DONE CREATING, ENJOY MORE RAM

total used free shared buffers

Mem: 421380 334868 86512 0 2364

-/+ buffers: 332504 88876

Swap: 0 0 0
[HD2 Android NAND Development] chineel:
Stuck on boot with V2 kernel also

2.7.9.5 only boots with your kernel but it is one kept by you in hireos forum post. not from any of your mirrior. I tried all three but it stuck on white sweet android logo
[HD2 Android NAND Development] Bologna:
magldr or clk?
[HD2 Android NAND Development] dorimanx:
i need logs from adb.

it's working OK.

just not for you...

so i need to know why.

post the log
[HD2 Android NAND Development] Rudyfastcat:
Same here with V2 Kernel .

I flashed Heir OS Kernel and all is good now.

Sent from my HD2 on Dorimanx cLK ROM
[HD2 Android NAND Development] dorimanx:
Sorry this is not my ROM logs!!!

ro.modversion=CyanogenMod-7.1.0-RC0-LEO-KANG (WTF???)

wipe all, and install again after task 29
[HD2 Android NAND Development] chineel:
At the moment I don't have access to adb but let me try to get logs from recovery If I can
[HD2 Android NAND Development] miguelidanez:
About wich kernel is the best, I answer same several post before: I think battery drain is almost the best trouble our phones have, because it drains completely about 1 day. So the best kernel is wich have lower drain battery wich decent performance. I prefer more battery life with decet speed and performance.

JW kernet I think eat fewer battery, and a very good performance. I bid for it. :)
[HD2 Android NAND Development] brunoavrocha:
+1 On this!
[HD2 Android NAND Development] mandrakur:
Twylight zone I never flash something like that,first day when go out your rom I use it whole time,before that your tweeks with typhoon rom (where I hear for your fantastic work)
[HD2 Android NAND Development] K4cK:
Using MAGLDR 2.7.9.5 + FIX V3

I get market error, no disk space

and it closes often
[HD2 Android NAND Development] dorimanx:
GOOD NEWS!

ROM nightly 182 is READY!!!

I am still testing!!! no download for now...

it's will come with HierOS tweaked!

any kernel can be flashed.

all working.. but the list is long... so today i hope it's will be in mirrors! :)

i will announce.
[HD2 Android NAND Development] mandrakur:
Yes,yes, yes.
[HD2 Android NAND Development] krook6023:
DM,

I have been busy lately and unable to help with the recent troubleshooting for CLk & market. Let me know if there is anything you would like tested for CLK....I am back and ready
[HD2 Android NAND Development] psywolf:
How to get USB-Host working

Hi

Thank you for your hard work. Its a really good ROM! i love it :)

I would like to have USB-host working to attach some USB-devices.

Does anyone know how to get the function to work?

Or is there some special kernel for this?

Thanks for any help!
[HD2 Android NAND Development] pedmond:
I thought there is no hardware for USB host in the HD2...
[HD2 Android NAND Development] letrain02:
I looked up what Lock screen gestures are, and tested them. I was able to add a gesture and use it on the lock screen.[/QUOTE]

Do you think its a kernel issue then or possible titanium backup when I restored? Started over from task 29 and still can't. Won't list any gestures I make.
[HD2 Android NAND Development] noamsch6:
Ohh, ok.

Dorimanx wrote that we can get all apps... i thought he meant that all paid apps can be downloaded 2...
[HD2 Android NAND Development] hoost_pt:
Im with hieros kernel and last night in 9 hours just loose 6% (from 100% to 94%) - Governor in PERFORMANCE and max CPU in 1075Mhz (1599 in Quadrant)

Tried the last Tytung kernel but the mA consumption in normal usage is higher...
[HD2 Android NAND Development] krook6023:
Goes with out saying but...

Such a mod would be WAREZ and is strictly prohibited on XDA and any other reputable site...it is one of the many forum rules. We are a site of developers (hence the name) and developers would not appreciate people stealing their apps.
[HD2 Android NAND Development] mandrakur:
Ha,ha,ha,you are realy optimist.Good thing is if you whant you can allways find some app that can do that,I do that all the time becouse have no posibility to have pay app in my region,google it ,find it, I can give a link but its forbiten here.If you do that instal some A.Virus just in case .
[HD2 Android NAND Development] wbonney4:
setcpu

Whats a good Setcpu profile set up or where would I go find one
[HD2 Android NAND Development] noamsch6:
I do have 2-3 of these apps (paid apps for free but not markets) ;)

but because not all apps are there it would be gr8 if the hacked market was like I thought it is... :D

and im using ESET Mobile Security (Antivirus+anti theft and its free :) )

I'm not using it, I know that posting/publishing paid app for free download is warez...

I'm almost 15 old so I dont own a credit card... thats why I cant but some apps. :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Is the V3 fix stable like the others?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​
[HD2 Android NAND Development] feanor91:
Hello

I have a little big problem :

I get back my phone from after sale services today and I have reinstalled Dorimanx ROM.

I take the 2.7.9.5 + fix 2.7.9.2-2.7.9.5 + cron+ gps europe.

All is good, bootok and fast. But now, I want to install my app from market and it didn't work. It says download fail on each app I have. Is there somethingelse to do? And now, it close itself.

Help please.
[HD2 Android NAND Development] miguelidanez:
And with normal use? The best kernel should be a correct combination of two jobs: standby and working normal use.
[HD2 Android NAND Development] Conny:
setCPU

I wonder why do U people use such a program..

Or any other program what controls CPU..

ROM by itself has this feature and if U set it to interactive or on demand or any other -

there is NO NEED to use set CPU.. It's useless feature..

I have widget Temp + CPU V2 and I can see EXATLY real time what's going on with CPU

and I can tell U - if U don't use any CPU time, it drops to 245 or 128, if U use it heavy, it jumps to 6xx or 9xx or 1xxx...

And what does setCPU? Changes goverment, change the low and high border of CPU freqeuncy.. hmmm..

for what? ...

;)

It's my opinion, I have ALWAYS trouble with such a residental TSR apps, sometimes the CPU fix it's CPU on 245 and I wonder why I have sooo slooow phone.. After removal TSR, ups - uuaaaaa spppeeeed

Try it - it's free, it's legal and YOU HAVE IT already installed with ROM :) :) :)
[HD2 Android NAND Development] mandrakur:
Like to hear that(i remember ) how is new hd2(wait new rom is in the air and will be everything ok)general problem is market
[HD2 Android NAND Development] mandrakur:
+1 of course
[HD2 Android NAND Development] Vrtfrank:
TSR......TSR.... OMG!!! TERMINATE STAY RESIDENT! That's a term I used last time a loooong time ago. It's a term from MSDOS-times in the 80s. Little dirty often Assembler routines staying in background waiting for a particular key combination. Responsible for a lot of annoyance..... Ok... Now you know I'm old....

This here has nothing to do with it. Android has a defined mechanism for background services. Setcpu should work without problems as long as the service is alive. You must defend it against being killed. With System Tuner like Dorimanx suggested....

By the way..... I need your new rom Dorimanx..... :-)
[HD2 Android NAND Development] dorimanx:
Then have it :)

NEW ROM IN MIRROR!!!

Read the change LOG! :)

Have fun and report!
[HD2 Android NAND Development] dratengon:
just installed 2.8.0.

But, it never got my 3G network and found no APN on network settings.

how to make it auto discover?
[HD2 Android NAND Development] erlern:
Hi dorimanx!

Thanks for the excellent ROM! :) Everything is working smoothly on the latest build (2.8.0)... however, I am having USB Storage Mount problems. When I try to connect to my computer, it just does not detect. I have to transfer things manually from the card :( Anyone having the same problems? Thanks in advance :)

EDIT:

Found the solution. Dual Mount Widget from the Market fixed this.

EDIT 2:

Hmmm... it doesnt work nicely. After removing the usb cable, the SD card fails to mount properly, hangs the system. Had to pull the battery.

Excellent ROM! :)
[HD2 Android NAND Development] freakyd9984:
i keep getting a error message saying damaged sd card, and never had this problem with previous roms..... any suggestions
[HD2 Android NAND Development] dratengon:
4)remove your SDCARD and using card reader format the FAT32 partition with 32Block NOT the 4096 by default. (this will increase reading and writing performance)

is it cluster size 32KB?
[HD2 Android NAND Development] Rudyfastcat:
Flashing V2.8.0 cLK now
[HD2 Android NAND Development] krook6023:
2.8 CLK, EXT4, 500mb Swap...Fresh install.

Everything is perfect so far...will test. Boots very fast and everything is quick and smooth.

Dorimanx what is the correct zip to flash to install the non-hacked new market?
[HD2 Android NAND Development] letrain02:
ok so i asked before and no one seemed to have the problem. i am trying to use the gestures option in cyanogen mode to unlock my screen, any other always seems to unlock in my pocket, plus it really keeps people out of my phone because they have no clue. but i CANNOT get it to work. i've used it in previous builds, but now, no matter what it won't build them. i've task29, went to magldr, clk, 2.7.8 now 2.8.0, but i have not tried switching kernels i've been using heiros. so not sure if that is my problem. i may try that, just curious if anyone else has had this problem..

also i did a speed test the other day (not on wifi) and got 5.37 mb down. ;-) not sure how. used speedtester app from market.
[HD2 Android NAND Development] SkooterD:
Non hacked new market 3.1.3

http://xdaforums.com/attachment.php?attachmentid=698324&d=1314125083
[HD2 Android NAND Development] chineel:
Just flashed 2.8 CLK everything is working tested even Market downloaded one app so far very nice now I will change to Goex loader and re flash it and report it back. Thanks Dorimanx for such Nice ROMs.

Re flashed It, everything is working with go ex only two widgets on home I will have to re enable.Booting faster Network Signals weak some times but it was OLD problem at my Home previously it used to shows No service but it was not the same device it was omnia I900. With HD2 it has shown weak signals many times in past also, But since 2.6.2 It has always shown very good signals. This might be temporary due to bad weather since last two days.
[HD2 Android NAND Development] feanor91:
Hello Dorimanx

Flash 2.8.0 this morning. I manage to download almost all my apps from market. Meanwhile I still have problem :

Copilote live

X-plane 9

French voice Aurelie for SVOX

didn't install, All the rest (almost 20 apps install well), in fatc, it says me it beginsdownload, I see the arrow in the task bar, and 1-2 seconds after she disapear in the market I have

begin off download

Download failure

the donwload neither start.

It is exactly the same thing Ihave on 2.7.9.5 except this time I manage to download all the other apps

I try in WIFI and 3G same thing

But I try to download handcent SMS and it works. It's very strange.

I have another problem with market: it lauch then crash without any message. I have it just afterinstalling rom for the moment.

I try to reboot ant then try to install the 3 apps but don't work.

Of couse, I see it on my application list on market.

Any idea?

Edit : besides thta, I download via web swype keyboard and it work. I don't know, perhaps I will saiy something stupide, but it's like big application could not be download from mark, as I have not enough space to store it....
[HD2 Android NAND Development] dratengon:
i've no problem either way....
[HD2 Android NAND Development] dratengon:
i just tried sdswap250.sh after installed 2.8.0

It worked and i can see swap 250 and used 0.

But after restart my phone. swap 0 and used 0.

What happen? Any idea?
[HD2 Android NAND Development] SkooterD:
Did it create swap file on your sdcard?
[HD2 Android NAND Development] dratengon:
what extension is the swap file?
[HD2 Android NAND Development] SkooterD:
bug

2.8.0 mag high end with swap. Found a small bug not that big of a problem. When i recieve a call, or make a call, my phone goes on speaker automatically and I have to turn speaker off. Or maybe there is a setting for this I haven't seen. Other than that rom is working very good.
[HD2 Android NAND Development] SkooterD:
It should be on the root of sdcard. Its a 250mb file named swap.it should create it when you run in gscript.
[HD2 Android NAND Development] D3LTA:
T-Mobile USA HD2 1024mb ?
[HD2 Android NAND Development] gijoe69:
Yes works on tmo USA
[HD2 Android NAND Development] dratengon:
i can see "swap" (---rwxr-x) file w/o any extension with 250MB size which was the size i was created.

But i see swap 0 0 0 on terminal when i type:

su

free
[HD2 Android NAND Development] gijoe69:
Try

su-

swapon -a

free

Also download swaphard.sh that fixed my swap issue also
[HD2 Android NAND Development] SkooterD:
Yes i have 1024 usa hd2 on tmobile
[HD2 Android NAND Development] a3r0n1:
Gestures

No problem with Lock screen gestures here. Great way to lock device :D re-check your lock settings not a rom problem - Cheers Dorimanx