yashsingh1/xdaforums huggingface dataset:
[P3400 ROM Development] ankit360:
ok thanks sumit for giving me registry

so i come to conclusion regarding initvmmap.exe

all initvmmap.exe related registry are in HLM\System\Loader

there some some entry which initvmmap.exe create during boot (if you get this i think your initvmmap.exe is working fine )

here is those entry

[HKEY_LOCAL_MACHINE\System\Loader\VMMAP]
"System_Unspecified"=hex:\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,80,\
01,80,e0,ff,ff,ff,f8,ff,ff,3f,00,00,00,00
"device.exe"=hex:\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,e0,0f,00,00,00,00,00,00,00,00,00,00
"filesys.exe"=hex:\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,80,\
01,80,00,f0,ff,ff,f8,ff,ff,3f,00,00,00,00

this registry indicate that initvmmap.exe is creating virtual map ;)

now confusing part

only my 21234 build XIP create this entry , i try same address of module of 21234 xip to 21820 or 21815 xip but i only get

[HKEY_LOCAL_MACHINE\System\Loader\VMMAP]
"System_Unspecified"=hex:\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,80,\
01,80,e0,ff,ff,ff,f8,ff,ff,3f,00,00,00,00

no vmmap of device.exe + filesys.exe :confused:

is xip porting menace only changing memory address of module or i need to do more ?

note base on looking registry entry of 6.5 on SDK i m happy to see my 21234 XIP r full ported on only if i build rom with my old kitchen, if i use platform rebuilder initvmmap.exe not work ie , it will not create vmmap of device.exe + filesys.exe :confused:
[P3400 ROM Development] krazy_about_technology:
Hmm great observation Ankit, you are truely amazing :)

On my 23004 build i am getting entries for both System_Unspecified and device.exe but not for filesys.exe. I think we need to dig up MSDN for more information on this key.

Anyways, XIP porting means to relocate modules in xip memory starting from a fixed address for busenum.dll in such a way that no modules following it overlap on each other. The fixed address is different for old and new gene and there are 2-3 of these base addresses that can be used with both of our phones.

As far as initvmmap.exe is concerned, its one of those files whose addresses are fixed. Other files that fall in this category are device.exe and filesys.exe. These two files are also different from other files in the sense that these not only load their code in their address space, but also load varioius drivers and filters inside them, a description of which you see in the HKLM\System\Loader key.

I am using platformbuilder based kitchen and i have modified it a bit. Apart from other changes in the bat files, In the XIP, I have inserted the lzx capable cecompr.dll, mencflt.dll, cachefilt.dll and initvmmap.exe inside it. Originally it didn't had these files. My initvmmap is working so i think its not that much related to kitchen, although i could be wrong.
[P3400 ROM Development] krazy_about_technology:
Accidental Double Post :o
[P3400 ROM Development] ankit360:
i m using helgee kitchen as platform rebuilder kitchen

i don't understant why xip not get ported properly when i m using 21234 xip as base and 21820/21815 as doner even sometime encryption also don't work
[P3400 ROM Development] krazy_about_technology:
I am also using a modified version of helgee's kitchen, although the modifications i have used do not affect porting of XIP in any ways. Use the XIPs i posted here as base and try, it should work.
[P3400 ROM Development] ankit360:
did anybody observe this ?

if we use old kitchen we get two beep after hard rest or flash :confused:

if u build xip with platfor rebuilder u get one beep after that pohe goes sleep when you press power key to wakeup device another beep come why this is happen ?
[P3400 ROM Development] krazy_about_technology:
Yup, i too noticed that. But i noticed one more change in Power settings. By default, the phone is set to sleep after 1 minute when it is connected to charger or data cable. Previously it was not so, and i think this is the reason for phone going to sleep at first boot time. So this could also be in new SYS instead of having anything related to the kitchen type. Try building an older rom with platformrebuilder based kitchen and test whether this happens or not.

Although, its a bit annoying, it doesn't cause any harm.
[P3400 ROM Development] coolaj:
This is not a kitchen problem, its some where is sys..beacuse kitchen only compiles and builds what it is given..it cannot add its own registries
[P3400 ROM Development] BesFen:
@ Ankit & Krazy,

Please read this thread:

http://xdaforums.com/showthread.php?t=544445
[P3400 ROM Development] krazy_about_technology:
Thanks for the info Besfen. I am following it since last 2 days. Da_G has said that 23022 will be up very soon :)
[P3400 ROM Development] BesFen:
OMG, the development of WM 6.5 is very fast, almost everyday I flash my device, oh.. poor my device, I will enjoy my 23017 at least for 1 week, No releasing ROM for this week and next week.

BTW everybody here will become a good chef, and all of them release a ROM :) :D :D, I think it time to support them only with SYS and XIP packages.
[P3400 ROM Development] krazy_about_technology:
Thats what Da_G is going to do. I wont release kitchens now, most probably, since SYS and XIP will be posted by Da_G already. My OEMs are also there in old kitchen, so somethings should be left for the chefs to do :D what say?
[P3400 ROM Development] ankit360:
did anybody really think, if we got native 6.5 kernel for gene its give you good performance ? we already getting 15-16 mb free ram after loading wm 6.5 in gene, now tell me how much program u run in this 15-16 mb free ram ? what the use for slot 60,61 if we can not use more then two program in this 15-16mb ram ?
[P3400 ROM Development] BesFen:
yes, that is what i mean, it's useless if GENE don't have more RAM, 15MB is far from enough. I plant to back to WM 6.1 today, more fast, stable, and flexible to run any app. BRAVO WM 6.1............
[P3400 ROM Development] ankit360:
nope i m not talking about 6.5 CE OS i m talking about native kernel of 6.5 in low memory device
[P3400 ROM Development] BesFen:
ofcours it's useless, as Da_D said it have slot 60 61 to cache more virtual memory, 64 MB:eek::eek::eek:. We don't have that, so... it useless to port native nk 6.5 for gene. with native NK or not, still same, the process can't reach slot 60.

But i don't know about the memory management, it more good or no.
[P3400 ROM Development] ankit360:
i think it's virtual memory like pagefile in windows OS, it's not related to physical memory
[P3400 ROM Development] BesFen:
Correct me if i am wrong, In WM, the paging file is store in RAM, isn't that??
[P3400 ROM Development] ankit360:
i don't have any idea, so i can't comment .

BTW if u need build 20152 (WM 6.1 ) tell me, i will share it
[P3400 ROM Development] BesFen:
Thank you, please give me the link.
[P3400 ROM Development] ankit360:
http://www.rayfile.com/files/6e525591-7b30-11de-b25c-0014221b798a/

http://www.rayfile.com/files/4ee64d1e-7b2f-11de-a74d-0014221b798a/

http://www.rayfile.com/files/676deda3-7b30-11de-b10d-0014221b798a/
[P3400 ROM Development] BesFen:
I don't understand the language, which must i click to download it??
[P3400 ROM Development] karan999:
first click on the button with the green right arrow. then on the next page,click on the downward arrow button.thats how to download :)
[P3400 ROM Development] ankit360:
today I try to add some code in s000 of nk.exe to try make native 6.5 nk.exe but s000 became biger and all kitchen failed to create xip from it did I need to change new s000 size to bin file ? if yes how to do that ?
[P3400 ROM Development] BesFen:
I don't have any idea...:confused::confused::confused:
[P3400 ROM Development] krazy_about_technology:
Is it even possible to make 6.5 compaible nk.exe without recompiling it against the 6.5 source code? You are doing binary editing or disassembly? What tool are you using?

Well i guess the size and other offsets need to be corrected in imageinfo.txt/imageinfo.bin. I will try to find some more info for you :)

BTW, nice work you have started, this will prove very benificial if we are successful :)
[P3400 ROM Development] ankit360:
i m using 'hex workshop' and 'ida pro' to editing S000 , i need to know what changes i need to do in imageinfo.bin
[G1 Android Development] cyanogen:
This is a new thread for a new "experimental" line of CM builds since the old thread is gigantic now.

If you want a *stable* version of this rom, go here! This thread is for the brave testers who want to live on the edge, and help build a new "stable" release. I can't test everything on my own, so I need help from the XDA community!

*** DISCLAIMER ***

While this build is heavily optimized, it is also capable of pushing your G1 much harder. I am not responsible for bricked devices, dead SD cards, thermonuclear war, or the current economic crisis. Please do some research if you have any concerns about features included in this ROM before flashing it!

Please also read the FAQ in the thread listed above. This is not a thread for asking questions about how to partition your SD card, GMail timeouts, or installing a recovery image.

(v3.5.3 - experimental, updated 6/30):

ROM Image: http://n0rp.chemlab.org/android/update-cm-3.5.3-signed.zip

MD5Sum: 181d1d63d4d7f8526afc9c54f6ed948d

Theme Template (for theme developers): http://n0rp.chemlab.org/android/template-cm-3.5.2-signed.zip

MD5Sum: 2e95fae7848985bed6bf7200f89e7bff

Build Environment (if you don't know what this is, don't download it): http://n0rp.chemlab.org/android/cm-android-buildenv-3.5.2.tar.bz2

MD5Sum: 3cbe6fef3433db2939df2aa61e6fa1f8

Audio Resources (unzip to your sdcard): http://n0rp.chemlab.org/android/audio-resources.zip

MD5Sum: 7340ba86ddd4fba918ef97601c675ef9

Changes in v3.5.3

* Dalvik patches from master (actually tested!)

* Update wpa_supplicant from master

* Update Freetype to 2.3.9 (nicer font hinting) (being reverted for next release)

* Multithreaded A2DP from master (should reduce skipping)

* Minor kernel tweaks

* Include AUFS as a module by request

* Fix lock screen glitches and shrink battery icons

* KNOWN BUG - PDFViewer & NDK apps crash (grab /system/lib/libsgl.so from an old version for a quick fix)

* KNOWN BUG - Lock screen still doesn't update correctly

Changes in v3.5.2

* Ditch SquashFS on /system/lib because of performance

* Clean up the lock screen a bit, new icons, etc

* Patch AlarmClock so it doesn't lose snoozes

* If /system/sd/userinit.sh exists, execute it after a2sd setup

Changes in v3.5.1

* Add missing netfilter kernel modules and apply backported ext4 fixes

* Included Stericson's spiffy lock screen

* Some settings enhancements- show mod version and don't allow SD unmount when A2SD is active

* Switched to squashfs instead of cramfs

* /system/lib is now on squashfs, saving TONS of space (first boot of system is a little slower though)

* Tweak some cpufreq settings

* Disabled camera noise in libcameraservice since the HTC camera does it internally.

Changes in v3.5

* Kernel 2.6.29

* Revert vold hack to default, for now.
[G1 Android Development] cyanogen:
Reserved for future.
[G1 Android Development] Denkai:
testing it now. any reason the theme won't work? if not I'll flash straight into it.
[G1 Android Development] cyanogen:
No reason, the only real change in this build is the kernel. What I'm primarily interested to know is if this ROM solves the so-called "coma" issue that some people are experiencing. And if not, hopefully we can do some tweaking here to solve it without destabilizing the 3.4 branch which works great for most folks.
[G1 Android Development] dwang:
Does it support ext4? Is there a way to convert without having to reformat the partition?

What are the advantages of ext4?
[G1 Android Development] cyanogen:
Yes, it does support ext4. I am currently running it. I also included the newer e2fsprogs if you want to upgrade, but I am not going to force anyone into that. EXT4 has some nice stuff like delayed allocation which can save wear on your device. Google will tell you how to upgrade with tune2fs, if you want. The e2fsprogs in my 1.2 recovery don't currently support the required options, so you'd have to stop the runtime, unmount and run the commands. I'll add the new version in the next recovery release.
[G1 Android Development] cidica:
downloading it now
[G1 Android Development] Denkai:
no it doesn't, least not yet :)

as for advantages

http://en.wikipedia.org/wiki/Ext4
[G1 Android Development] renegadedj:
thats what i'm talking about. effing go-getters here i'm luvin' it. and big thanks to KNK. biggest brain i know.

question, and i'm just purely throwing something out there cuz i have'nt dont much reading on it, or tried fully understanding it, but if there is apps2sd, can there possibly be themes2sd? and if there was no sd it would revert to the rom on the phone safely?
[G1 Android Development] Denkai:
okay, I stand corrected. I knew the kernal could do it, however I hadn't heard anything about you actually incorperating it into the file system. is it possible to run all that through the phone itself or do you have to adb into it?
[G1 Android Development] cyanogen:
It supports ext4, and upgrading is an in-place upgrade, no reformat necessary.
[G1 Android Development] cyanogen:
You'd need to use adb because you need to stop the Android runtime to unmount /system/sd.
[G1 Android Development] moosefist:
does this require a wipe from 3.4.6?
[G1 Android Development] HorusUK:
Here goes nothin'! I get freezes 3-4 times a day. Hoping this will fix that.
[G1 Android Development] Denkai:
uh, no? if you did that, and the sd card was removed, the theme and Ahome files required to operate would not be there, and you'd crash. as it is set up, you can remove your sdcard right now and not crash your phone.
[G1 Android Development] Denkai:
Nope. flashed it over with no issues. on a side note, I've flashed and run every app through the phone, everything is 100% right now. to bad I can't update my EXT3 to EXT4 right now, I'll have to wait till tomorrow unless 3.5.1 comes out with ext4 upgrade already.
[G1 Android Development] Constrabus:
Flashing in a few minutes..

I'm all yours for testing..
[G1 Android Development] JanetPanic:
I would not suggest ext4 with 2.6.29, especially considering android does not remount RO and shutdown cleanly. For that matter there is nothing to speak of that is useful in an environment like the G1.

Performance of ext4 is not terribly different from ext3. Large file size/directory depth improvements are pointless on the G1. Online defrag also pointless for flash. About the only feature I can think of that is useful would be journal checksumming.

Better to wait for 2.6.30 kernels on android and even then it is debatable.
[G1 Android Development] cyanogen:
My ROM is modified to do a remount ro at shutdown :)
[G1 Android Development] Stretch3000:
But if I wanted I could simply reformat my ext3 to ext4 and re-install my apps right?
[G1 Android Development] here.david:
Same here as I get:

./adb shell

# mkswap /dev/block/mmcblk0p3

mkswap: can't open '/dev/block/mmcblk0p3': No such file or directory
[G1 Android Development] volty500:
I would have thought it was my ****ty class 2 card, but I never had this problem before. 3.4.4 and 3.4.6 both worked wonderfully for me. No slowdowns even after extended uptime.

Its just with this one. Could it be something to do with not wiping? I have no ****ing clue. Just more info for you to work with. :)
[G1 Android Development] dwang:
did u create the 3rd partition?

0 = zero not O

ls on the /dev/block dir should show this:

# cd /dev/block

cd /dev/block

# ls

ls

loop0 loop3 loop6 mmcblk0p1 mtdblock0 mtdblock3 mtdblock6

loop1 loop4 loop7 mmcblk0p2 mtdblock1 mtdblock4 vold

loop2 loop5 mmcblk0 mmcblk0p3 mtdblock2 mtdblock5

#
[G1 Android Development] Amdathlonuk:
Yep, and I'm running a sparkly class 6 8Gb SD :confused:
[G1 Android Development] yosho:
running a clean install of 3.5, wiped and cleared my a2sd partition.

Running for about 2 hrs, I went to wake up phone, and got a reboot instead.

Hit home to wake up, nothing, so hit endcall button and POOF.

I was not near the call button, so I don't think this was a 3-key salute.
[G1 Android Development] Deadbolt:
I've decided to give cyanogen's ROM a try after having a lot of trouble with the thedude's and now with most of the bugs fixed, thedude's ROM gets really slow, it's become to the point where I can't enjoy my phone thoroughly. I'm hoping this ROM i won't have the slowdown issue anymore. Anyways, my main question is, will my apps2sd (ext2) still be in effect if I wipe and flash to 3.5 or earlier? I'd hate to reformat and partition my sdcard again... will everything still stay intact and working as apps2sd?
[G1 Android Development] ubernicholi:
You must change the channel for it to work, its a sipmle fix and has been answered in this thread already
[G1 Android Development] ubernicholi:
Yes. Do not run any other apps2ds program, just wipe, flash 3.4.6 then flash 3.5 with out wiping and your golden
[G1 Android Development] here.david:
Tx's...Yes A 3rd after the 2nd partition...fat, then ext3, then the swamp-linux

I get this:

# cd dev/block

# ls

loop0 loop3 loop6 mmcblk0p1 mtdblock1 mtdblock4 vold

loop1 loop4 loop7 mmcblk0p2 mtdblock2 mtdblock5

loop2 loop5 mmcblk0 mtdblock0 mtdblock3 mtdblock6

Any ideas...
[G1 Android Development] Stretch3000:
So far rom is great. the only issue I have is that the screen orientation seems to go slower. will continue to test and report any changes. No coma issues since update...:)
[G1 Android Development] dwang:
Doesn't look you actually created the partition.

Did you press "apply" with gparted live? Nothing is created until you press apply.
[G1 Android Development] here.david:
Yep...here is what I have...
[G1 Android Development] b0ricuaguerrero:
everything is good with mine except that i cant kill process with advance task manager. other than that kick ass rom
[G1 Android Development] dwang:
Looks good.. Not sure why android isn't recognizing it.

are you using gparted cd live or just gparted from a linux distro?

Maybe try using a gparted live cd. I used the beta version 0.4.5, if that makes any difference.
[G1 Android Development] Chahk:
Do you need to format that 3rd partition perhaps?
[G1 Android Development] JanetPanic:
Updated form 3.4.4 without wiping and most things seem to work great. It is very snappy, easily the most responsive ROM to date for me.

I have been testing and so far have only had 2 problems:

1) wifi tether for root users does not work with MAC filtering on. In the tether log I have the following error:

getsockopt for multiport failed strangely:
No such file or directory
getsockopt for multiport failed strangely:
No such file or directory
iptables: No chain/target/match by that name

It sounds like some directory is missing but I am not sure which. I do not have my development laptop with me so I will go to the office tomorrow and try and dump logcat and see if that tells me more.

2) Bluetooth stereo stops after one second of playing. I tested with both music and a movie and the same thing happens with both. Phone calls (handsfree) work fine though.

Other than that everything seems to be working quite well.
[G1 Android Development] stellarman:
Messaging app still force closing

OK. So I have finally gotten everything back to normal after my ext3 partition failure.

Except Messaging app is still force-closing at startup and whenever I try to open it.

I have rebooted several times and run fix_permissions at least twice. I have gone into Settings / Applications and cleared the data. Nothing has worked so far. I have re-installed all my other apps and they all work fine now. No other problems except Messaging.

Any ideas?
[G1 Android Development] Janis:
200 (some people have more) apps are a lot to take the time & tedium to redownload if that's what it ends up taking, even on wifi. It's also time consuming, nitpicky work to rebuild 5 homescreens, with folders, if they're full. There's aslo making sure your appdata for things like to-do apps is backed up properly and restorable (not all sync, the better ones with more data and hierarchical organization don't), or rebuilding it if you don't trust a full restore with, like Backup for Root Users (I don't). I have several apps that I'm not sure how to backup/restore safely yet, and the one's that sync just don't have the functionality. It can be tough in a pioneering environment. So, wiping can be a really big deal for some users, particularly if they use their phones for work-related data, just because a parsed and customizable restore hasn't really been developed yet afaik.

I have to admit, I haven't looked into the nandriod backups I've made, but I'm guessing I have to figure out what the directory/filename is and adb push each one I want back to the device. Not that it's not doable given the time, but time is shorter for some than others. I need to do that.

It's like kids and fish. After you've had fish for a while, you know they just die. Fish do that. Kids, or gownups who haven't had them, haven't gotten desensitized yet. We're all "deal with it" differently, and have different stuff to deal with, so the same stuff actually means different things. Be careful, if you think of it, when you say "not a big deal." If I can preach, try to make sure it's you you're talking about.

Sermon done.:p

Why this is actually a post in this thread: I'd like my gallery, too. I don't want to wipe.
[G1 Android Development] yomamaster:
Noticed one abnormality

I did notice one slightly weird thing and it's somewhat related to the coma issue. Two people had texted me after I hadn't used the phone for an extended period of time. I pressed the Menu button and it was THEN that the phone chirped to tell me I had SMS messages.

My setup is in my sig, but I also have SMS Popup installed.

Anyone else notice this?
[G1 Android Development] here.david:
Tx's..re-formated and....

# cd dev/block

# ls

loop0 loop3 loop6 mmcblk0p1 mtdblock0 mtdblock3 mtdblock6

loop1 loop4 loop7 mmcblk0p2 mtdblock1 mtdblock4 vold

loop2 loop5 mmcblk0 mmcblk0p3 mtdblock2 mtdblock5

# mkswap /dev/block/mmcblk0p3

Setting up swapspace version 1, size = 32897024 bytes

# swapon /dev/block/mmcblk0p3

# free

total used free shared buffers

Mem: 97952 82172 15780 0 492

Swap: 32120 0 32120

Total: 130072 82172 47900

# echo 30 > /proc/sys/vm/swappiness

# ls

loop0 loop3 loop6 mmcblk0p1 mtdblock0 mtdblock3 mtdblock6

loop1 loop4 loop7 mmcblk0p2 mtdblock1 mtdblock4 vold

loop2 loop5 mmcblk0 mmcblk0p3 mtdblock2 mtdblock5

# free

total used free shared buffers

Mem: 97952 76224 21728 0 492

Swap: 32120 0 32120

Total: 130072 76224 53848

lets see if I gain anything.....
[G1 Android Development] blackomegax:
stupid question of the day:

if i use snapphoto pro, can i remove the HTC camera app?
[G1 Android Development] dwang:
I noticed that 2.6.27 has more memory than 2.6.29. About 500k more

2.6.27

total used free shared buffers
Mem: 98436 96444 1992 0 496
Swap: 0 0 0
Total: 98436 96444 1992

2.6.29

free
total used free shared buffers
Mem: 97952 96420 1532 0 404
Swap: 16056 420 15636
Total: 114008 96840 17168
#
[G1 Android Development] temporizer:
why do you have to do 3.4.6 first before 3.5?
[G1 Android Development] temporizer:
I got the same thing.
[G1 Android Development] stellarman:
It took me months to make the time to learn about using ADB and using Nandroid backups to restore data after a wipe. But I am now incredibly glad I did. You will be surprised how simple and fast it is. You don't have to figure out the directory/files or anything. Just issue a couple of commands from your PC keyboard.

THIS and THIS might help.
[G1 Android Development] dwang:
Cool, glad you got it working.

Please report back with your results.

Dave