yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] Da_G:
@Barin:

First, a compliment, good work on osBuilder :)

Now about .cif: Yes, i'm sure of my explanation :) This file is generated by MakeCIF.exe in platform builder - however, I believe the reason some ROMs aren't honoring that is because there are compression flags in much more places than this, some of which take precedence and override it.

Not too much info can be found public about MakeCIF.exe - it is a private tool for internal and OEM use. But you can find some info online, for instance, a copy paste of output here

Example: There is a per-partition compression flag set for NK partition (XIP) which forces it to be uncompressed. This flag is not stored anywhere in the ROM. But you will take note that ULDR is compressed because this partition does not have this flag set.

The flags you speak of in .DSM are also additional flags that signal more compression info to ROMImage.exe for individual modules, and then in fact there are more compression flags for individual s00x section :) So, many factors go into determining what is compressed or not. In the end the tools we currently use essentially ignore all compression flags and simply apply a broad compression to IMGFS - none, XPR, or LZX. I'm hard at work on libnb to address that issue soon, it will be open for all to use as a .dll so very easy :)

@toadlife: Yes, the format GUID is stored in can be strange at first :) But you get used to it.. Microsoft always uses this format to store a GUID, look here for IMGFS Signature GUID for example:

const GUID GUID_FS_BOOT_SECTOR_SIGNATURE =

{ 0x9d2cacf8, 0xd4e3, 0x4d2b, { 0xbd, 0x30, 0x91, 0x6e, 0xd8, 0x4f, 0x31, 0xdc } };

I'm sure you might recognize that from the start of imgfs.bin, but it appears a little jumbled and odd way to store it here, but that's how MSFT does a GUID :)
[Windows Mobile] -=Barin=-:
Thanks Da_G!

And another question about cif...

If it defines compression for packages, then we can assume that it defines the order of modules in memory (rebasing order). I've checked a lot of official roms and in every rom i saw the same picture - the order of modules in memory space is in compliance with the order of packages, which is defined in packages.cif

Does it mean that this file defines not only compression but also the order of modules processing (relocation)?

I've implemented such type of relocation as an option in OSBuilder
[Windows Mobile] Da_G:
@Barin:

Please give me some time to do some research for you about this. I don't want to give you a wrong answer and I don't know off the top of my head :) I will post back to this thread when I have a concrete answer for you.

But, off the top of my head, I do know that module allocation is done in a 2-pass process, I do believe that the .cif order is honored, with the smallest modules (that are smaller than a 64KB allocation boundary) reserved for the second pass. This way they can be inserted into gaps left by other modules.

Example:

1.exe (module), 2.dll (module), 3.exe (module)

1.exe size is 48KB, is allocated from 0KB to 64KB (but really only takes 48KB, rest is padding)

2.dll size is 12KB, not allocated in first pass

3.exe size is 54KB, is allocated from 65KB - 128KB

Now on second pass, a "hole" is discovered between 1.exe and 3.exe of size 16KB. This hole is large enough to hold 2.dll (12KB) so it is allocated here, leaving 4KB of padding remaining.

If I recall correctly, this "sub-slot" allocation only occurs on slot 1, not any other slot.

But this is off the top of my head, please give me some time to research and I will return with a concrete answer :)
[Windows Mobile] HD2Owner:
@da_g:

just for my understanding...:

my hd2-rom is a real "frankenstein"-build.

i combined many different packages from different roms...

do i really need to adjust any dsm in packages.sof and packages.cif??

if i dump a rom for my hd2 and change only external packages?

everytime i dump a rom there are files inside modules everywhere.

i am experiencing a strange exchange problem in any rom i built.

i jumped the oskitchen (1.31beta9) bandwagon to avoid this issue in my hdmini rom.

but the exchange sync issue mystically reapeared in my oskitchen.

activesync is showing error 80004005 and doesn't even try to connect.

same issue like in my hd2-roms built with evk.

what i did in oskitchen.

replaced sys 23103 with 23128.

metadata from 23128 replaced with metadata from original rom.

disabled: bluetooth/btdun/gpsid/irda/samplemusic/smsproviders/themes/voip/voipos/welcomecenter/wmmoneywidget/wmweatherwidget

disabled: gps_copilot/java_jblend/

added bsb-tweaks/bubblebreaker/solitaire/voicespeeddial/dialupenablerdisabler/regeditor/incallrecorder/pimbackup/UC

fixed/modded/updated: htmlnote.dll from 23127/gmm/facebook/messaging hotfix/reg-tweaks

sense: other lang files removed and CFC-compressed.

in settings/certificates:

personal: nothing

between (don't know how it's called in 0409): nothing

root: 31 certificates
[Windows Mobile] erickwill:
You should try core 23673.. much more stable and faster. No concern till this time.
[Windows Mobile] Da_G:
@HD2Owner:

For "files inside modules" problem, I assume you mean something like:

\PackageName\module.dll\module.dll <--- offending file

\PackageName\module.dll\imageinfo.bin

\PackageName\module.dll\S000

This is behavior as designed for the tool "imgfstodump" - it looks for recmod.exe in the same folder, and if it exists, automatically recmod's each module into a file inside the module folder. Solution is simple, rename recmod.exe or move it outside the folder :)

I can't say if you would need to adjust packages.cif or packages.sof. It all depends what your original packages and added packages are, it will vary for each and every individual ROM.
[Windows Mobile] HD2Owner:
thanks for your answer.

just some examples:

if i have a new package (for example album) with lang 0804..

i add the 0407/0409 folders from a older rom...

what should i do with the dsm's/rgu's to not cause problems?

should i rename the 040X dsm/rgu filenames to match the 0804 dsm/rgu filenames?

another question:

is there a way to get rid of this dsm-mess?

can i remove the dsm's/rgu's and simply work with app.reg's instead?

if i build a rom with 3.04 base, some 2.14 files like nk.exe

and multiple languages... wich certificates/dependencies (tools-folder) are really needed? (0407/0409 or both? / 3.04/2.14 or both??)

another thing i would really like to know:

is there a way to really find out wich files are modules and wich files are files in the ship roms?

for example ntconfig.dll.

this module (module created by the kitchen) has to be a file for the rom to work... ether it can't be relocated or in ship roms it's a file.

is there a tool that can dump a rom exactly the way it is in it's original ship-state?

maybe just a tool to compare the ship-rom with the kitchen...?
[Windows Mobile] ai6908:
That is not true for OSBuilder kitchen.:)
[Windows Mobile] -=Barin=-:
Believe me, it can be relocated. I use it as module. May be the kitchen You use unpacks and reads relocation table (.reloc section) with errors
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] stoyantsonev:
Hello there!

I read the forum and tried to download some of the proposed software, but none of the programs records the voice of the person on the other side of the line loud enough.

It is cricial for me to record the calls, because being a radio DJ, I often make phone interviews and have to record them, so that I play them on the radio afterwards....

Please tell me if there is a software that REALLY records both voices diring a call loud enough. Is there something that is developed by HTC????

Thanks a lot!!!!
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
nothing from htc. their official stance is that it potentialy violates privacy.

the only sure fire way is to use speakerphone.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] stoyantsonev:
So you think that when I put the speakerphone on, then the quality of the recording will be better for both voices?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] watcher64:
I think your best bet for good quality is to, make you an audio cable from a headset mic combo, that you can plug right into your DJ deck and record there.

But there is also this ....

http://www.jkaudio.com/bluepack.htm <<--- Very Pricey
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] stoyantsonev:
Hey man! Thank you very much for the advice about the speakerphone. I just tried it and even with the default HTC software dictofone, I recorded both sides perfectly. GREAT!!!!!

Thanks again and cheers from Bulgaria! :)
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
no worries, and yea, through loudspeaker problem solved.
[XPERIA X10 General] stevencxr:
I see those two words on the bettry useage in settings.

Could anyone please tell me the difference? To me i think they are.same...

Thanks!
[XPERIA X10 General] stevencxr:
seems like no one knows the answer =(
[XPERIA X10 General] ddewbofh:
The wording makes it sound like the connection to the cell network in on standby. Kind of like Wifi powersaving where it goes down to low powerstate when there's no activity.
[XPERIA X10 General] stevencxr:
no activity = idle, right? =\
[XPERIA X10 General] ddewbofh:
Not quite. Idle means "not doing anything" while standby is more "shutting down temporarily". Even though it's not shutdown it's entered a low-power mode where it just uses enough power to keep going while it waits for activity.

It's like the difference between leaving the computer running and not doing anything or suspending it.
[XPERIA X10 General] farhan032:
Forgive me if this is OT, but is there a way or any s/w that will tell us about the sleep/wake status of the phone..

It should be easier to co-relate the standby/idle values using them.
[XPERIA X10 General] mith500:
if you click on each line in battery usage

i.e- click on cell standy by...it will tell you what it means.

hence by doing so the x10 tells you:

Cell Standby - battery used by cell radio

Phone Idle - battery used when phone is idle
[Desire Q&A, Help & Troubleshooting] nitrox1:
Well does anyone know where the Leaked Froyo ROM for desire is that's on YouTube?
[Desire Q&A, Help & Troubleshooting] AndroHero:
thats the one udk is working on, he hasnt released it yet
[Desire Q&A, Help & Troubleshooting] rolfd:
It's HERE .....
[HD2 General] hugojungle:
First of all: I like this forum, it is really a good place to find and exchange informations. Congratulations to the team!

But the new layout/GUI of the forum sucks! At least, when you try to do it with your mobile device.

Usually I go with my HD2 in the forum. Normally through a Post, which I have received through the RSS Feed. If I'm interested in the thread, I subscribe to it.

But with the new layout it is not possible to click and open the thread tools. Just nothing happens.:mad:

And especially for a forum which is about mobile devices, this is an absolute NoGO!

Some technical details - I use

- HTC HD2

- StockROM 1.66.407.1

- Opera Mobile 10

- CHT 1.8

Would be really good, if anyone could find the bug.

Hugo the JungleDyret
[HD2 General] Spiogent:
Hi,

when i use my HD2 with Wifi, i can read the board. It needs some time to load, but it is possible.

But when i'm on the way and try to load it over GPRS or UMTS (if available), it loads only some little parts and then stops. So i can maybe read the first one or two postings of a thread.

With the "old" layout all was fine and easy. So i think, the new layout is not really mobile-campatible.

For the users it should be possible to change the layout between the currently and a mobile-friendly modus.

Greetings

Hardy
[HD2 General] watcher64:
I actually contacted the Owners/Mods about this, the reply was, in a nutshell, "A mobile version is on the list, but a lot of stuff going on right now, so it is not a priority" ...

I am sure they will get to it at some point, but I did see somewhere a way to switch back to the old view ... hmmm will have to look for that again ...

EDIT: under http://xdaforums.com/profile.php?do=editoptions , the very last option choose the custom skin ... it is the old version ...
[HD2 General] jdwrrzmm:
Hmm. I can't recall having any issues with the new skin on opera 9.7.
[HD2 General] appelflap:
Running also great here on Opera 9.7 .
[HD2 General] Phantoms:
I don't read it much on my HD2, mostly on the PC. One thing I hate though is the threads I've replied in don't show up as so when there's new post even though there's suppose to be a little down arrow in the thread icon. The icon does show if there are no new post though.
[Nexus One Themes and Apps] rottenjello138:
Does anyone know where i can find the wallpapers included in the cyanogen 5 and 6 alpha mod without having to apply the mod? Thanks in advance.
[Nexus One Themes and Apps] nopenope:
Its called open up the Rom and take it out your self.
[Nexus One Themes and Apps] MrCDWJR:
hmm he has 3 posts and you expect him to know how to do that already? no need to be rude about it.
[Nexus One Themes and Apps] boldfilter:
http://forum.cyanogenmod.com/index.php?/files/category/10-wallpapers/
[Nexus One Themes and Apps] rottenjello138:
opened it up and didn't know where to look. any help would be much appreciated. obviously i'm new at this. thanks again
[Nexus One Themes and Apps] boldfilter:
/system/app/Launcher.apk/res/drawable

Somewhere in there.
[Nexus One Themes and Apps] rottenjello138:
I saw those but i don't believe those were the ones included with the rom? One of the ones I'm talking about is on android police's review of the cm6 mod
[Nexus One Themes and Apps] rottenjello138:
Thank you! Exactly what i was looking for. It was listed under ADWlauncher.
[EVO 4G Android Development] toastcfh:
BACK FROM THE DEAD​

This kernel is intended to be stable yet fast. has many goods (OC UV ect.) but yet its main goal is to be stable. THIS KERNEL IS INTENDED FOR USE ON CYANOGENMOD (but if u would like to try on other aosp roms feel free) ;)

i decided to bump my old thread to give testers a place to discuss the kernel and point out possible issues. before its moved into CyanogenMod.

u can get the kernel via Kernel Manager in the android market.

direct link: http://kernels.teamw.in/files.php?fid=565&kid=237

all source can be found on my link in my signature.

thanx for the support and please leave feedback :)

as of v9:

-edid code and hdmi driver bug fixes

-bump minor version

-config changes

as of v8:

revert edid code that borked audio in HDMI

as of v7:

minor version change, staying up to date with linux stable release

as of v6:

minor version change, keepin us up tEh date

as of v5:

-updated minor version to .5

-misc other changes

as of v4:

-fixed issue in atmel touch driver

-updated usb gadget driver

-add platform data for USB accessory function

-update config

as of v3:

-updated EDID code via tEh #teamwin

-changed config

-fixed light sensor

known issues:

-hdmi audio out not working

-possible bug switching cams (needs tetsing and debugging works for some while some seem to have issues)

faq:

q: does this kernel have SBC?

a: no

q: will this kernel ever have SBC?

a: no

q: kernel manager gives error when updating, what do i do?

a: make sure you have the latest version of the app. if you do, clear the app data and try again

q: after flashing the ladies look at me more, how do i make it stop?

a: flash another kernel

q: can i discuss other kernels in this thread?

a: no... post only posts that are on the topic of this kernel.

q: i cant feel my legs, any way to fix?

a: get off the toilet and stand up naowz

q: what is GoDm0dE?

a: http://xdaforums.com/showpost.php?p=13405012&postcount=204
[EVO 4G Android Development] bionic1ball:
Awesome! can't wait to try this
[EVO 4G Android Development] MILH0U5E:
we can just flash on top of Fresh right?
[EVO 4G Android Development] afxtwn:
want to install now!
[EVO 4G Android Development] justinisyoung:
guys, it's a source, not a flashable kernel yet. it's for other people to make changes to and improve on at the moment.
[EVO 4G Android Development] MILH0U5E:
that's what I thought, but was making sure... thanks
[EVO 4G Android Development] acrh2:
Could we please have epson panel fix (30 fps, touch lag) implemented asap?

Thanks.
[EVO 4G Android Development] TrevE:
great love to see community kernel.

going to be forking soon :)
[EVO 4G Android Development] toastcfh:
thats the spirit ;) welcome aboard lol

once first commit finishes, ill start doing the normal magic. OC,compcacheaand such. ill prolly fork for BFS for now. im gonna try and forward port to .34 here in a bit once i get some of this up

ps first commit is up finally. pull away
[EVO 4G Android Development] TrevE:
yeah prolly best to keep bfs sepearate havent played yet myself but from pokin around on n1 boards read its not too stable but like i said havent touched it myslef.

29 - 34 shoudlnt be too bad, not like 27 - 29 :|

just finishin up a movie then ill fork away :) thanks ofr getting this goin toast id love to see 1 community kernel instead of 3029849203842093 like the n1 has
[EVO 4G Android Development] mrmomoman:
Any forking in the movie you are watching? haha -
[EVO 4G Android Development] TrevE:
instead of BFS di like to try playing around with this

http://lwn.net/Articles/352889/

just need to get debugfs enabled.

and no no forking in the movie :) pandorum on netflix
[EVO 4G Android Development] toastcfh:
may be promising. i did some work with Con the creator of BFS on the HeroC had him look over my dirty backport to .27 and then used his suggestions on my .29 heroC port. i only had like one or two issues that came about from BFS in the end. mostly app related at that. i really never had time to look further into the issues because of other projects and the awesome sauce EVO's arrival. but yeah im gonna go with a fork and work out the bugs. i like the idea behind BFS and feel its best suited for devices like ours. that said... .34 has a major CFS overhaul, which many have said fixes a lot of issues CFS had in previous kernel versions. so getting to .34 and playing around i guess is the goal i have ATM.

ps. look at this lol

http://pastebin.com/h7TQiv5a

htc is some dirty coders lol
[EVO 4G Android Development] ffolkes:
probably not the place to ask, but what the heck.. :P

does anyone have any idea why touch input is broken on froyo when using this kernel?
[EVO 4G Android Development] toastcfh:
oh do i need to fix that? htc prolly destroyed it again. i can look at it here in a bit. i bet i know the issue.
[EVO 4G Android Development] bbedward:
A proper backport of BFS and i really want to test SIO ;) I think the results will be very good.
[EVO 4G Android Development] ffolkes:
awesome! :D
[EVO 4G Android Development] madunix:
What's BFS? I remember always hearing about it on the HTC dream boards but never came across an actual explanation to what it actually is/does
[EVO 4G Android Development] jblazea50:
Brain **** Scheduler
[EVO 4G Android Development] netarchy:
It's the Brain F**k Scheduler

http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler
[EVO 4G Android Development] snandlal:
Maybe wipe and reflash?
[EVO 4G Android Development] grouse130:
Kernel is running smooth & fast for me. No issues so far.... I will let you know.
[EVO 4G Android Development] ModXMV:
I have had trouble with SZ when I am doing heavy multitasking. Running GPS, while listening to music, and charging my phone. GPS would stop and the phone would get all wonky and the phone seemed unstable overall. It even rebooted a couple of times during a 1 hour car ride.

I will see how this works out.
[EVO 4G Android Development] ereinhart:
Everything works, but the tigerblood edid fix disables my hdmi audio :( Tiamat 3.3.8 (has the tigerblood fix too) does the same thingbut 3.3.7 works , hdmi audio works with other kernels besides these 2.
[EVO 4G Android Development] dkelle4:
I, and the rest of #teamwin respectfully ask people to keep the SZ discussion to their thread. Any issues\non-issues should be posted in their thread.

Now let's enjoy a kernel from the finest kernel dev around! :p
[EVO 4G Android Development] CheesyNutz:
OK so what govener is better to use.?

from my phone duh
[EVO 4G Android Development] drdrewdown:
i'm using interactive.. it depends what works best for you & how you use the device.
[EVO 4G Android Development] wfee:
Working great for me on CM7, everything seems to work.

From the Evo..
[EVO 4G Android Development] :
Kernel Manager was updated just recently to allow for flashing a .38 kernel correctly. Also fixed a bug with the original Droid (Sholes)... incase anyone in the EVO forums cares. :)
[EVO 4G Android Development] indagroove:
Nice work Toast! This almost makes me wanna flash back to CM7 to check this out, but CM7 gives me issues with my 802.1x EAP secured wireless network at work. Do you have any idea if this issue has been resolved with this latest kernel?
[EVO 4G Android Development] knightwolf123:
Has anyone tested hdmi with this kernel?

I installed HDMwIn and the image is upside down on my tv.
[EVO 4G Android Development] toastcfh:
nice catch :)

i had noticed this yesterday but wasnt sure if it was my bunk hdmi port (i got the one that u gotta wiggle and sometimes doesnt work) or the change. i thanked u for finding the issue. i will look to resolve tonight

on to other issues.

home for lunch and had to clean up a bunch of posts all over between here and the SZ thread...

PLEASE STAY ON TOPIC

this thread is not to discuss SZ kernel goodness or issues. please relocate such posts there... kthx

please report issues or pwnage in this thread about my kernel, NOT IN THE SZ THREAD... kthx

thanx for the continued support guys. aside from obvious trolling by both sides, im happy to here such positive feed back on tEh kernAlz. :D
[EVO 4G Android Development] Lento10:
Is kernel manager the only location to get this kernel?
[EVO 4G Android Development] ereinhart:
Yea, once the HDMI audio works for me, I will be using this kernel full time, let me know if you want me to test anything :)

Sent from my PC36100
[EVO 4G Android Development] :
By default, yes. A few people about 6-8 pages back posted links, but I think they are to V3 not V4.

Download it using the free kernel manager, and flash it in recovery like any other kernel. Or wait for the free kernel manager to get updated and flash from within the app.
[EVO 4G Android Development] eniamg02:
Check page #15 v4 is posted there
[EVO 4G Android Development] algirnavi451:
Kernel Issues

I use my phone while working out and it usually works well. I flashed this kernel yesterday and had some issues this morning.

Screen wouldn't turn on (bottom lights go on, had to touch the screen to turn it on). This happened at beginning of my workout and only a few times.

Music player skipped at one point as well a few times. Also beginning of workout, but seemed to calm down by the end. These may be isolated incidents.

Otherwise this kernel rocks!

I was using PowerAmp and JEFIT during my workout

Ondemand: 245 min 998 max
[EVO 4G Android Development] jtruty:
My phone locked up and rebooted when I tried to use the front camera in the camera app. Anyone else see this?

EDIT: after rebooting, the front camera works and is selected by default, but switching from back to front causes another lock up and reboot.
[EVO 4G Android Development] drdrewdown:
a little information about your config would be nice..
[EVO 4G Android Development] jtruty:
Sorry, CM7 7.0.2.1, with Godmode v4, ONDEMAND gov. It seems that switching from back to front camera causes this. Does anyone else testing Godmode see this?
[EVO 4G Android Development] cordell12:
what is GoDmOdE :confused:

thanks :o
[EVO 4G Android Development] dkelle4:
I'm on nightly 57 with v4 of the kernel, switched back and forth between front and back camera about 10 times and didn't have a single issue.
[EVO 4G Android Development] Igotsanevo4g:
This works great on MIUI also. Just in case anyone was interested.
[EVO 4G Android Development] :
It's when you cheat in a video game and the enemy can no longer kill you.

See here: http://en.wikipedia.org/wiki/GodMode