yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] thelonewolf_pav:
weirdddddddd...

ok. if you go to "about phone", which kernel does it report?

and if in ADB you say:

ls -l /system/lib/modules

and

ls -l /system/etc/init.d

what is the output?
[HD2 Android NAND Development] philipped346:
I have installed the rom dungphp on yours and I let sit quietly for an hour to restart it takes 5 minutes and right after the rom is quite fluid. suddenly I have the wifi/3G works but no usb connection and I miss recording video. the playstore work properly. guard I had until tomorrow to see if it improves or if it slowed down and if this is the case I réinstal yours and I will test your proposals :laugh:

3/4/14 this morning the rom is very fluid .
[HD2 Android NAND Development] thelonewolf_pav:
Dung's ROM is great. Almost perfect. However, it lacks several features that are important for me:

* voice input

* camcorder

* proper HW acceleration management (in all other ROMs, HW acceleration is forced for most applications; however, on our device HW acceleration severely reduces performance in 2D rendering)
[HD2 Android NAND Development] philipped346:
I reinstal common sens this afternoon for news tests .
[HD2 Android NAND Development] philipped346:
View attachment logcat.txt

this the logcat

the kernel is Dorimanx
[HD2 Android NAND Development] ya5:
Hi again, ill give some feedback working with 4.1 common sense v0.2.

Quadroant score is nothing more than usless numbers.

Browsing internet is not as fluid as it chould be

Lot's of FC's

Losing HSDPA signal very offten even with local roaming on. and very good operator coverge.

Switched to PixelFreak AOKP 4.4.3 - Quadrant score 908 pts [ low i/o, memmory ] better 3D result.

everything esle is fluid: os, apps , system apps stable signal.

Please continue this great project Guys. Hope to get it fully working as daily driver. Meanwhile ill keep it as my secondary rom. :)
[HD2 Android NAND Development] samcio:
Guys, anyone work on NAND versions?
[HD2 Android NAND Development] Daekin:
I am working on special NAND installation. When I have a version that will be fully functioning and stable enough, I will release it for public testing.
[HD2 Android NAND Development] philipped346:
I'm looking forward to testing this rom :laugh:
[HD2 Android NAND Development] samcio:
Me too MAN!
[HD2 Android NAND Development] saurabhrendale:
Bootanimation

every day i try to load this file, however it fails:(:crying: can anyone tell me why this is happening.

no worries i see the file that is now uploaded.... Enjoy :), if you like it please press the thanks button. this file especially created as per Lonewolf's request. :)
[HD2 Android NAND Development] philipped346:
hello saurabh , i have tested this bootanimation and it's wonderfull , many thanks bro ! :good:
[HD2 Android NAND Development] napoer:
I succesfully install this ROM on Tmous,but I have problem

I can't sign in my account (google,faceebook) always FC..............sorry bad my english
[HD2 Android NAND Development] philipped346:
hello , réinstal the rom , the first time take more 30 minutes and do nothing .reboot and after you can uncheck cpu rendering and make all you want .;)
[HD2 Android NAND Development] napoer:
I do it bro,but now success sign in facebbok not success for google accounts :(
[HD2 Android NAND Development] abo we2am:
Good news

Good news my friends,

I have insalled this rom on my HD2 and have every thing working!!!

Do you know how?? I will tel you: for WIFI use wifi fix app from attached files and everything elsee will automatically fixed after daily use for this rom but remember after finish installing this rom leave your HD2 at least an half hour to let it understanding this rom.

I have installed it using clk 1.5 and TWRP recovery, flash LEOIMG file including in this zip attached file and flash this rom by TWRP recovery..

Enjoy Sense 4.1 :laugh::good:;)
[HD2 Android NAND Development] tb110188:
is Bluetooth working???
[HD2 Android NAND Development] philipped346:
hello , bluetooth work partially :D
[HD2 Android NAND Development] tb110188:
Can't connect with my Bluetooth Headset... :(
[HD2 Android NAND Development] Robbie P:
It probably won't work but have you tried re-setting the headset (check instructions)?

Not on this rom ATM so can't check.
[HD2 Android NAND Development] philipped346:
I have installed common sense 4.1. 0.2 nsd and bluetooth switch and connect with my n5 but can't pairing .
[HD2 Android NAND Development] tb110188:
Don't pair, it1d stuck at "pairing" so i have a workaround as my Tracks Air comes with an cable and all i can say is that the sounds rocks... God bless Beats, better than Walkman for me... =^.^=
[HD2 Android NAND Development] dohcvtec:
Hey everyone,

Just wondering if there is any development on this and if so how can I install this rom on my phone, cause last time when I tried, nothing happened. Then I didn't pay attention for a couple of months and I saw that 1/2 people did it so please tell me how so I can try. Thanks!
[HD2 Android NAND Development] philipped346:
installation:

* BACKUP!!!

* IMPORTANT: you need CWM 3.0.0.6.. Other recoveries may or may not work. voronkov_pavel reports that CWM touch recovery beta 8 does not work with this ROM.

* REMEMBER: for Data On Ext, keep your system partition small! philliped364 reports that 55MB works just fine

* install Common Sense from recovery and wait 30 minutes before finish the setup , it's very important !

* reboot. the first boot will take a while (although it's waaaay faster than in other ROMs thanks to odexing). should boot in 2-3 minutes. if it doesn't boot within 10 minutes, please report

* wait for the lockscreen to appear. DON'T PULL THE RING YET!

* make some coffee. let your HD2 settle down for at least half an hour

* pull the ring to unlock. if the setup wizard does not appear immediately, don't touch the device for another half an hour. if the device reboots by itself, please report.

* complete the setup wizard. it will lag. please be patient. DON'T SIGN IN TO YOUR GOOGLE ACCOUNT YET! finish the wizard and let Sense load.

* wait for two minutes and reboot

* let it settle down for another half an hour. it will optimize the databases during that phase. don't try to work with the device. it will lag terribly.

* unlock, go to Settings -> developer's settings, scroll down, disable "force GPU rendering"

* reboot

* your device should be fully functional now. now go to Settings -> accounts and sign it to your google account, email and whatever you like
[HD2 Android NAND Development] dohcvtec:
Okay, just followed the steps, rebooted now and waiting for the device to do all the process. Looking forward to see what's going to happen and how it will work. Thank you. Will report back soon!

edit: so far no sccuess in Loading sense. did everything the way it was said and worked but when I unlock the phone, it stays on loading and nothing happens...

edit1: rebooted the phone, left it 60min, pulled the ring, first Youtube and all other stuff said "Unfortunetly stopped working", then it stays on Loading... and nothing happens. I won't turn it off, I'll leave it like that until tomorrow and see what happens.
[HD2 Android NAND Development] elias2204:
Multitask?

I just installed this rom, everything is working silky smooth(even wifi and bluetooth!), but unfortunately I can't get my phone to go to the multitasking tray. I tried holding and clicking all of the buttons, but no luck...

Does anybody have a solution to this? :p
[HD2 Android NAND Development] philipped346:
hello , no multitasking in this rom :(
[HD2 Android NAND Development] philipped346:
instal this common sense 4.1 original v 02.f.zip 542.3 Mo

https://mega.co.nz/#!etplHCjQ!4aAZIMe-4RO9qYtIHXd8JGhGyalbSY4MnKsbvdFKQJY ;)
[HD2 Android NAND Development] -leo-:
nativesd
[HD2 Android NAND Development] gilbert32:
wow this logcat didn't seem weird at all for you? :p

Hint: run "adb shell" THEN run the commands, not adb commands
[HD2 Android NAND Development] thelonewolf_pav:
Thanks, Gilbert!

just to clarify:

adb shell
ls -l /system/lib/modules
ls -l /system/etc/init.d
[HD2 Android NAND Development] philipped346:
View attachment 2666777:confused:
[HD2 Android NAND Development] thelonewolf_pav:
man, something is seriously screwed up in your installation. It says "ls: not found"... I'm surprised that anything is working at all :)

can you upload your updater-script? there might be a problem with it
[HD2 Android NAND Development] philipped346:
http://xdaforums.com/showthread.php?t=2692750:rolleyes:

http://www.mediafire.com/download/q8wt2wlh8aaokf8/updater-script.zip
[HD2 Android NAND Development] thelonewolf_pav:
well, it looks fine to me...

i don't get it. how come you don't have ls?

what is your system partition size?

:rolleyes:
[HD2 Android NAND Development] philipped346:
5/40/5 on clk 1.5

did i test with magldr or with 5/50/5 ? :confused:
[HD2 Android NAND Development] lolerpro8:
40 mb wtf..
[HD2 Android NAND Development] philipped346:
Wtf?
[HD2 Android NAND Development] philipped346:
Is there someone who had installed this ROM with wifi/3g working ?
[HD2 Android NAND Development] Neurom707:
I have downloaded from page 2 http://www.mediafire.com/download/c8.../one_s_ics.zip

installed with 2gb ext4 partition on sd and 5/370/5 partition on clk 1.5 check pages 2/3 to see details
[HD2 Android NAND Development] philipped346:
It's not the same . i speak commonsense on first page .
[HD2 Android NAND Development] musti35:
I installed your rom as native sd.

But bluetooth is not working.
[HD2 Android NAND Development] philipped346:
good news !!!!!!!!!!!:laugh:

now we have a rom with common sense 4.1

wifi / 3g

bluetooth

sound

usb mas storage

camera(laggy)

working!

not working

camcorder

can't connect accompt (google and other for the moment

View attachment 2668568

View attachment 2668569

for the moment instalation 5/55/5 clk 1.5 but testing other partionement after !;)
[HD2 Android NAND Development] thelonewolf_pav:
great news man!

now copy camera.apk over from any cyanogen 9 ROM and you will have non-lagging camera and camcorder working.

as for non-working accounts, that's weird, perhaps you just need to let it settle down a bit.

just for the record: system partition MUST be small! 55MB seems fine to me.

to everyone wondering why: I relocated most of the system to sd-ext, leaving only a small portion of it on NAND. The idea was to use the remaining 450MB for databases (/data/data). currently it's unused though because I haven't finished preparing the loop. anyone who's tech savvy and knows some linux commands, is invited to do the following to significantly increase ROM snappiness:

1. boot into recovery

2. mount data partition

3. using dd, create an empty file on data partition. name the file data.img

4. format the empty file as ext2

5. reboot. the rest is done by init.rc that's included in the ROM.

after that, ROM will boot as if you've done a factory reset. now you will have /data/data mounted as ext2 looped over YAFFS on the data partition. this will make your device pretty darn snappy.

I would give you more precise instructions, but, as you know, my HD2 is dead and I cannot test the commands. So anyone who will come up with the correct set of commands and will add them to updater_script, will earn many thanks from the users :) (note that you will have to add dd and some more executables to the temporary folder, as they do not exist in the standard recovery...)
[HD2 Android NAND Development] philipped346:
for connection account is ok now , i think that 55 mb is to small and I tested 125 mb and down to find the best complete installation.:D

then I will take care of the camera

camera ics ok!
[HD2 Android NAND Development] kurtxcobain:
Great news! Go on! HD2 will never die! :D

Thanks!
[HD2 Android NAND Development] philipped346:
i update some applications and for camera i have no succes with camera of cm9 for the moment but i have installed lgcamera and camcorder work fine. finaly instal rom to 5/55/5 or 5/60/5 but no more .;) after 1 or 2 hours the rom is very smooth .

camera ics from google play ok !

delete camera odex and camera apk from system/apps and download camera ics from google play and it' s ok
[HD2 Android NAND Development] Robbie P:
would it be easier to just copy and paste an existing ext2 data.img from sd card to /data using terminal or root browser?

I haven't had time to try this rom yet.

I did create a blank data.img of 424mb (in case of bad blocks) zipped in attachment. I used toporesize http://xdaforums.com/showthread.php?t=824154 to create data.img
[HD2 Android NAND Development] thelonewolf_pav:
Robbie,

great idea! thanks!

too bad I can't test it...

in any event, in the future we will have to add the creation of this file to the setup routine. it would be a shame to inflate the ROM by 400MB with an empty file :)

...no, wait, it will probably be deflated to nearly zero by Zip! so it might be a good idea after all to add the ready file to the ROM and just unzip it to data partition!

great!
[HD2 Android NAND Development] thelonewolf_pav:
Guys, I'm doing something I never thought I would do :)

but I really want to continue this development...

I'm shamelessly adding a "Donate to me" button, so anyone who wants to help can send me a couple of bucks. my target is to raise enough money to buy either a used HD2 in a fair condition, or a new touch screen assembly.

I hereby promise not to buy myself a new house with this money or spend it on gambling :)

(adding this to the OP as well)
[HD2 Android NAND Development] Daekin:
I would use mount bind instead of some complex copying and symlinking commands. I is faster and safer ;)
[HD2 Android NAND Development] thelonewolf_pav:
yep :)

this is what I'm doing mostly in this ROM.

however, I didn't want to mount system entirely on SD card. sometimes it takes time for SD to mount, and if all executables are there, they will be unavailable during boot. the results will be unpredictable. so I mounted system on NAND and left bin and xbin there, as well as etc. other folders are symlinked to sd-ext because they are less urgently needed :)
[HD2 Android NAND Development] philipped346:
this is the rom commonsense that i have installed with script-updater modified and wihout camera (you need download camera ics on google play ).https://mega.co.nz/#!WhpRzJQa!DOdybhURK5LOVYtX0riLkBgYPaV8Q6N52mPTfNkXk1k :p

5/55/5 system partition
[HD2 Android NAND Development] thelonewolf_pav:
thanks man!

I'm moving this to OP
[HD2 Android NAND Development] totalcmdext:
Link isn't available
[HD2 Android NAND Development] philipped346:
i have a problem with mega , i 'm going to upload with mediafire !

---------- Post added at 05:08 PM ---------- Previous post was at 04:51 PM ----------[/SI

http://www.mediafire.com/download/bbmyjmu92a86n3e/commonsense_4.1_hd2_ics_4.0.4.zip
[HD2 Android NAND Development] totalcmdext:
The link is working!!!!

It is great to update the first post with the Working and not working part of this great ROM!!!

A detail performance testing and possible solution will be come....
[HD2 Android NAND Development] totalcmdext:
The daa.zip file need to copy to /data folder or /data/data ?

What are the permissions for this file?
[HD2 Android NAND Development] thelonewolf_pav:
boot into recovery (or right after ROM installation), mount data partition and:

adb push data.img /data
adb shell chmod 777 /data/data.img

after the ROM boots and settles down (let it sit for at least half an hour), please do

adb shell

and report results of the following commands:

df
mount

Thanks!!!
[HD2 Android NAND Development] Robbie P:
oops answered already
[HD2 Android NAND Development] totalcmdext:
# df

df

Filesystem Size Used Free Blksize

/dev 200M 48K 200M 4096

/mnt/asec 500K 0K 500K 4096

/mnt/obb 500K 0K 500K 4096

/system 55M 45M 9M 4096

/mnt/cache 5M 772K 4M 4096

/data 1G 1G 579M 4096

/data0 374M 10M 364M 4096

/mnt/sdcard 5G 500M 4G 65536

/mnt/secure/asec 5G 500M 4G 65536

# mount

mount

rootfs / rootfs rw,noatime,nodiratime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,relatime,size=500k,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,size=500k,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mtdblock3 /system yaffs2 rw,relatime 0 0

/dev/block/mtdblock4 /mnt/cache yaffs2 rw,nosuid,nodev,noatime,nodiratime 0 0

/dev/block/mmcblk0p2 /data ext4 rw,noatime,nodiratime,commit=15,barrier=1,data=w

riteback 0 0

/dev/block/mtdblock5 /data0 yaffs2 rw,noatime,nodiratime 0 0

/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0

/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,u

id=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset

=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relat

ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioch

arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

#
[HD2 Android NAND Development] thelonewolf_pav:
nope, something didn't work as expected.

can you please send the output of

adb shell ls -l /data0

...wait, did you unzip data.zip? we need data.img that's inside!
[HD2 Android NAND Development] totalcmdext:
# df

df

Filesystem Size Used Free Blksize

/dev 200M 48K 200M 4096

/mnt/asec 500K 0K 500K 4096

/mnt/obb 500K 0K 500K 4096

/system 55M 45M 9M 4096

/mnt/cache 5M 780K 4M 4096

/data 1G 1G 203M 4096

/data0 374M 10M 364M 4096

/mnt/sdcard 5G 603M 4G 65536

/mnt/secure/asec 5G 603M 4G 65536

# mount

mount

rootfs / rootfs rw,noatime,nodiratime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,relatime,size=500k,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,size=500k,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mtdblock3 /system yaffs2 rw,relatime 0 0

/dev/block/mtdblock4 /mnt/cache yaffs2 rw,nosuid,nodev,noatime,nodiratime 0 0

/dev/block/mmcblk0p2 /data ext4 rw,noatime,nodiratime,commit=15,barrier=1,data=w

riteback 0 0

/dev/block/mtdblock5 /data0 yaffs2 rw,noatime,nodiratime 0 0

/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0

/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,u

id=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset

=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relat

ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioch

arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

#

# ls -l /data0

ls -l /data0

drwxrwxrwx root root 2014-04-08 12:05 com.android.providers.set

tings

drwxrwxrwx system system 2014-04-08 11:59 lost+found

#
[HD2 Android NAND Development] thelonewolf_pav:
wait, I know!

your data0 partition is 374M!

and the file that Robbie prepared is 424M

of course it won't work. you cannot copy it there!

let's create a new file. (too bad I can't verify the commands I'm going to give you now)

say

adb shell

then

dd if=/dev/zero of=/data0/data.img bs=1024 count=350

losetup /dev/block/loop0 /data0/data.img

mke2fs -T ext2 /dev/block/loop0

Note that the first command will take LONG! probably several minutes!

Please post the output of these commands.

If everything is alright, reboot, and the ROM should boot as if you just installed it (start setup wizard etc)
[HD2 Android NAND Development] ya5:
Thast the output taht came out after comands above

# dd if=/dev/zero of=/data0/data.img bs=1024 count=350

dd if=/dev/zero of=/data0/data.img bs=1024 count=350

350+0 records in

350+0 records out

358400 bytes transferred in 0.131 secs (2735877 bytes/sec)

# ls -l /data0

ls -l /data0

drwxrwxrwx root root 2014-04-09 11:20 com.android.providers.settings

---SrwSr-x root root 358400 2014-04-09 13:13 data.img

drwxrwxrwx system system 2014-04-09 11:17 lost+found

# losetup /dev/block/loop0 /data0/data.img

losetup /dev/block/loop0 /data0/data.img

# mke2fs -T ext2 /dev/block/loop0

mke2fs -T ext2 /dev/block/loop0

mke2fs 1.41.12 (17-May-2010)

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

Stride=0 blocks, Stripe width=0 blocks

32 inodes, 87 blocks

4 blocks (4.60%) reserved for the super user

First data block=0

1 block group

32768 blocks per group, 32768 fragments per group

32 inodes per group

Writing inode tables: done

Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 28 mounts or

180 days, whichever comes first. Use tune2fs -c or -i to override.

#

Stuck on 2nd spalsh screen...

no boot
[HD2 Android NAND Development] HypoTurtle:
count should be 350k (or to be safe 330k)

350 is 350kB
[HD2 Android NAND Development] gilbert32:
yup. + "transferred in 0.131 secs" for 300+mb on hd2 is simply not possible
[HD2 Android NAND Development] thelonewolf_pav:
oooops :(

my bad

this is what happens when you can't test what you're doing

ya5, sorry man.

please boot into recovery, mount data partition and:

rm /data/data.img

then you'll be able to boot normally.

after that please redo the commands above, but with 330k

thanks!
[HD2 Android NAND Development] ya5:
Chill my firend, no prob at all... I did it with 330k but still stuck and no boot
[HD2 Android NAND Development] thelonewolf_pav:
k, interesting...

can you adb shell while booting (while stuck in boot, I mean :)) and report the results of the following commands

df
mount

thanks man!
[HD2 Android NAND Development] ya5:
I gues the thing is elsewhere. I did as Robbie P said. But i made 337 MB data.img. I did push it in recovery then installed the ROM.

thats what i get...

# dd if=/dev/zero of=/data0/data.img bs=1024 count=330000

dd if=/dev/zero of=/data0/data.img bs=1024 count=330000

/data0/data.img: write error: No space left on device

13340+0 records in

13339+0 records out

13659136 bytes transferred in 5.112 secs (2671974 bytes/sec)

# df

df

Filesystem Size Used Free Blksize

/dev 200M 48K 200M 4096

/mnt/asec 500K 0K 500K 4096

/mnt/obb 500K 0K 500K 4096

/system 55M 45M 9M 4096

/mnt/cache 5M 780K 4M 4096

/data 1G 1G 770M 4096

/data0 350M 350M 40K 4096

/mnt/sdcard 5G 495M 4G 4096

/mnt/secure/asec 5G 495M 4G 4096

# ls -l /data0

ls -l /data0

drwxrwxrwx root root 2014-04-09 15:47 com.android.providers.settings

---SrwSr-- root root 13659136 2014-04-09 17:36 data.img

drwxrwxrwx system system 2014-04-09 15:36 lost+found

-rwxrwxrwx system system 346030080 2014-04-09 10:14 **********************************

******************************************************************************************

******************************************************************************************

#******************************

*****************************************************************************************
[HD2 Android NAND Development] wowrlz123:
What is the decryption key cuz i cant download the ROM. Thanks for the answer in advance.
[HD2 Android NAND Development] philipped346:
Download page 6 , they are two links .méga and mediafire .
[HD2 Android NAND Development] wowrlz123:
Thank you, but now i have problem with the google account. I cant enter my google account its always says "Google account manager has stoped". Downloaded the rom from 6-th page any solution? Thanks again.
[HD2 Android NAND Development] philipped346:
try to clear cach to google play in application and recovery .