yashsingh1/xdaforums huggingface dataset:
[HD Mini Android Development] -r0bin-:
dude, you have to create all the new folders if they don't exists already.

you would write this instead:

# mkdir -p /sys/devices/platform/msm_sdcc.1/mmc_host/mmc0
# ln -s /sys/devices/platform/msm_sdcc.2/mmc_host/mmc1/mmc1:e624 /sys/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001

however, since the file system is "ro" (read only) this wont work with adb:

you need to modify it under your own Linux (ubuntu for ex).

i dont know the commands to mount the ext2 filesystem and modify it, but it should be easyly found on internet.

please let us know if you have any progress on this :-)
[HD Mini Android Development] -r0bin-:
by the way, did one of you managed to get the serial debug information, when android/linux is booting?

in the cotulla's config, many files are included to provide framebuffer support for debug purpose, but when i connect my phone to PC, all I see is WinMo driver (before haret starts) and then ADB driver (when android is started)

any idea?
[HD Mini Android Development] iPlasm:
Well, I'm sorry if I did wrong things.. :(

I meant to help of this Devlopment for telling you some wrongs, errors, or goodies on 2.6, and it's about more than 7 days I waited how should I try this 2.6 version (I'm on 2.2), downloaded files from CardSharing.

I don't ask questions here anymore, only if I have something for you. & understood.

But Please explain exactly if you did something, new files, or needing help.

Let's talk like Friends to make our android on htc HD mini :)

Thanks
[HD Mini Android Development] iPlasm:
Same as you Robin,

I tried to connect my phone to PC, when you tap on HaRET, the WinMo (ActiveSync or Drive USB) will turn into HTC Android USB Phone, and you cant access to the phone!

someone had attached the ADB files for htc HD mini, but didn't work on mine.

I wish helped you somthing :D
[HD Mini Android Development] codiak:
iPlasm... this thread is NOT about Android builds... its about the kernel!

Dont mix things up!

And you dont have to "report bugs" here. We all know what is not working!

Please let the devs do there work and dont spam this thread!

Otherwise they may leave and we dont get a running Android!

So just sit back, relaxe and wait for news.
[HD Mini Android Development] iPlasm:
OK, I won't talk here anymore, and you don't need my help. and I don't tell you here.

Thats enough.

bye & Thanks
[HD Mini Android Development] pwel:
differences between photon 2.6.29 and liberty 2.6.32 kernels

I did a comparison between all files in kernels photon-2.6.29 and liberty-MR-2.6.32-gc9b792. I am not capable of developing myself but I thought looking at differences might be usefull.

My observations:

1) 13591 files are exactly the same. In photon2.6.29 the files are from 3 dates: 22-3-2010, 23-3-2010 and 3-8-2010. In the liberty kernel there are only two dates: 23-3-2010 and 31-1-2011.

2) 1558 files and 62 folders do only exist in the photon-2.6.29 kernel. There is a group of 17 files that is with a date stamp of later than 3-8-2010. These are from 26-1, 27-1, 28-1, 29-1, 30-1 and 1-2 of 2011. The folders these files are in are:

a.	arch\arm\configs

b.	arch\arm\mach-msm

c.	arch\arm\mach-msm\qdsp5_comp

3) There are 12011 files that do exist in both kernels but that are different in size. But if you look at dates after 3-8-2010 in the photon kernel, there are only 36 files left. The time stamps of these files in are the same as in 2 but also a few on 31-1 and one on 13-2 (timer.c). In the liberty kernel these files are all from 31-1-2011. The folders these files are in are:

a.	arch\arm\mach-msm

b.	arch\arm\mach-msm\include\mach

c.	arch\arm\mach-msm\qdsp5_comp

d.	arch\arm\mm

e.	arch\arm\tools

f.	drivers\media\video\msm

g.	drivers\misc

h.	drivers\staging\android

i.	drivers\video\msm

j.	drivers\video\msm\gpu\kgsl

k.	kernel

4) There are 5494 files that are only in the liberty kernel and not in the photon kernel. These files are either from 30-11-2010 or from 31-1-2011.

Can this information be usefull for any of the devs?:) At least it seems that we can see which files are modified by Cotulla.

Please let me know if this makes sense or otherwise, I will stop annoying you.:(
[HD Mini Android Development] schlund:
hey guys,

sorry that i did not keep my promise to finish a clean minimal port to the weekend.

was a bit less of time the last days.

@pwel: it makes no sense to compare two different kernels releases for different devices :) Cotullas changes are less than 20 files, important changes about 7 :)
[HD Mini Android Development] -r0bin-:
hey guys

have you seen this, to enable data connection with haret?

anyone tried already?

http://www.androidonhtc.com/wiki/Setup_Data
[HD Mini Android Development] -r0bin-:
ok i have the answer to my question here:

http://htc-linux.org/wiki/index.php?title=Msm_Serial

and here:

http://www.instructables.com/id/Android-G1-Serial-Cable/

One's need to build its own usb-to-serial adaptor to get the early traces of the kernel.

This might be mandatory to fix the battery driver:

when I uncomment the line: module_init(htc_battery_init);

found in htc_battery.c, android wont load anymore and we need debug traces here.

for the sdcard, I found this:

http://xdaforums.com/showthread.php?t=942181

didnt tried yet
[HD Mini Android Development] yakamoz:
Maybe dev_mount ist just a folder in /bin ?

I really would like to help, but have only minor skills in Linux / exspecially Android :(
[HD Mini Android Development] -r0bin-:
maybe if you provide more debug message we could help you

to update your vold.conf:

adb shell cp /system/etc/vold.conf /system/etc/vold.conf.bak

adb push vold.conf /system/etc/vold.conf

=> here you go!

i tried it with different settings but so far no success :-(
[HD Mini Android Development] -r0bin-:
hurray!!!

i got the wifi working!!!

:p oh my god it's sooo goood to make some progress, finally!

well, the issue was in /proc/calibration, created in htc_wifi_nvs.c

i removed the offset that was messing up the static nvs string, hardcoded by Cotula.

now the wifi driver load automatically, i was able to connect to my wifi hotspot, put the WPA key, and browse on the internet.

attached the zImage compiled, plus the htc_wifi_nvs.c with my changes (sorry it is really bad documented and not clean code, but it is working :)))

edit: just replace zImage on your sdcard and boot android. kernel version is 2.6.29 from Cotula, it should work for both android 2.1 and 2.2 (tested on 2.1)
[HD Mini Android Development] rasoooli:
Hi!

Good Job

But , It does not work on my phone (2.1 & 2.2 ) :(

thanks.
[HD Mini Android Development] yakamoz:
Hmm, doesn't work with my phone. I formatted SD Card, copied the packe from Cotulla and replaced zImage file. In Settings it says "Unable to start WiFi"...
[HD Mini Android Development] -r0bin-:
mmm that's strange :-/

can you tell me what you got when you type this under adb:

cat /proc/calibration

i send you the module i use in case of, plus the zImage from my sdcard, tell me what you got!

warning, you cannot insert module manually with insmod:

module needs two parameters (firmware path + nvram path)

we must use automtic loading, module should be placed in /system/lib/modules

to modify your system.ext2, under linux:

mkdir sys
sudo mount -o rw,loop system.ext2 sys/
sudo cp bcm4329.ko sys/lib/modules/
sudo umount sys

hope itll work better...
[HD Mini Android Development] codiak:
For the rm and chmod command I got a "not found" message.
[HD Mini Android Development] rasoooli:
Woow !

Worked In 2.1 & 2.2

Thanks -r0bin-

Thanks cardsharing
[HD Mini Android Development] smart_mac:
1, download and install htcsync ok

2,replace zimage ok

3 boot mini to android ?

4 PHONE NOt online HTCSYNE NOT FOUND MINI

5 RUN.BAT ERROR

THIS IS SOME INFOMATION

removing old bcm4329 module....

adb server is out of date. killing...

* daemon started successfully *

rm: not found

putting new modules to phone...

1647 KB/s (237262 bytes in 0.140s)

chmod: not found

...If you dont see errors, you are done!!!

Press enter to quit)
[HD Mini Android Development] spithash:
Great job guys!You are fantastic.I didnt make it work on my phone yet (i am a little bit comfused with the installation) but i will try again. Anyway whats next? I vote for the Battery issue :P
[HD Mini Android Development] -r0bin-:
try /bin/rm and /bin/chmod

otherwise it means your system.ext2 does not includes rm and chmod: you must grab them from the cotula system.ext2 file, with explore2fs (search google)
[HD Mini Android Development] -r0bin-:
one warning regarding the wifi driver, though:

since nvram is static, the MAC address you got is fixed (00:11:22:33:44:55)

it means that two HTC mini using wifi on the same location, same hotspot, may not be able to use internet (conflict with address)
[HD Mini Android Development] spithash:
I have this problem too... :mad: After replacing the zImange i must boot to android or not?because if i dont it gives me the same error as smart mac....
[HD Mini Android Development] -r0bin-:
yes you can boot, it should work even with those errors
[HD Mini Android Development] smart_mac:
thank you ,i try it now
[HD Mini Android Development] smart_mac:
now its no error,but WIFI is not working, i try it again
[HD Mini Android Development] smart_mac:
i copy zimage to sd ,

i use RUN.BAT

BUT WLAN isnt open

i use soft copy bcm4329.ko to system\lib\mo...

wlan isnt working too

i missing where?
[HD Mini Android Development] -r0bin-:
what version do you have?
[HD Mini Android Development] smart_mac:
android 2.2 download from http://www.bb-projects.de/Liberty_Froyo_System.rar
[HD Mini Android Development] smart_mac:
sorry , i find Schlund system.ext2 first,,hehe thank you , can you give a link ?
[HD Mini Android Development] smart_mac:
http://xdaforums.com/showthread.php?p=11376905#post11376905

i used system.ex2, is Schlund system.ext2

now only have two img ,Cotulla and Schlund
[HD Mini Android Development] codiak:
Is it possible to keep this thread clean of support questions?

In my opinion its better to have a dev and a support thread.

Maybe use cotullas thread for support requests?

Just my 2 cents...
[HD Mini Android Development] smart_mac:
ok ,thank you very much
[HD Mini Android Development] MobileMini:
Good idea, but I already requested a few weeks ago an Android development Sub-forum. Unfortunately haven't heard anything anymore. One week ago I also requested some moderation for the development threads, because it seems that especially people that are new or just want to install Android are flooding the threads. Seems we have to accept this for the time being...unfortunately.
[HD Mini Android Development] schlund:
great job!
[HD Mini Android Development] derefas:
so, i have some ideas

image of android lies in sd card , and android recognizes sd card as system drive

to edit this , may be make separate path ext2/3 in sd card and copy files from system.ext2 ?

I think that the logic of all the work!

I can take guide , how separate sd card and files by schlund edited by me

Who can test my theoty?
[HD Mini Android Development] derefas:
may be problem in haret ? haret load only image ext2?
[HD Mini Android Development] -r0bin-:
no it's not haret, it's android & kernel config.

editing the vold.conf does not affect the sdcard mount, as we saw with cardsharing.

we need to find where the mount command is performed first to understand how we can tweak it.

today the sdcard partition is mounted in /sdcard, which seems to be the path to system partition (internal SD?)

we need to mount it in /media/sd (external SD?) if my understanding is correct
[HD Mini Android Development] derefas:
you forgot about init.golfish.sh!

this is component of vold in earlier version of vold like donut bild , vold in conf format and use golfish
[HD Mini Android Development] derefas:
so you right , for test we can change mount path

ps: vold.conf from donut bild

may be change

in our vold.conf

to

?

if that don't work we can install old vold , may be with it will be work fine sd read
[HD Mini Android Development] -r0bin-:
maybe, but I was more refering to this line:

change

mount_point /sdcard

by

mount_point /media

normally it should mount in /media and be recognized as external SD card by android.
[HD Mini Android Development] derefas:
i'll test now new vold.fstab older version with my edits

you can also test

View attachment vold.rar

when i fix sd card i'll make fully patch for adb
[HD Mini Android Development] fatslim:
Sry, to go off topic. Wifi works greate. Any way. does any one have same problem as i. That if i click on phone - > menu -> people android gives me error that application People as stopped and then it does not start. And seemes the problem is with many applications.Dont know if it is kernel problem or system.ext problem or which problem. But keep up the good work.
[HD Mini Android Development] derefas:
so vold don't work....

maybe mount as media not sdcard?

i need help in test's my phone not iron :D
[HD Mini Android Development] smart_mac:
I dont know where is wrong , i del ALL android FILES,and copy them to sd angain, RUN.BAT isnt ERROr,but ,,,,my god,maybe i replce sd CARD to try
[HD Mini Android Development] codiak:
Maybe some infos in this thread help?
[HD Mini Android Development] derefas:
/system/sd may be this path for mount?

how can test

test

media, and /system/sd
[HD Mini Android Development] smart_mac:
woow

i use android 2.1 ROM IS ok,may be problem in 2.2china ver ,,,i dont find any other problem

now ,use android2.1 IS ok, TRY 2.2 TOMORROW ,NOW IS 0:33, SLEEPING

AND I ASK some question,

that kernel.rar file out and run , it is del old bcm4329.ko and copy bcm4329.ko to /system/lib/modules,then set access authority?

so i copy and del use some access root soft is ok?
[HD Mini Android Development] -r0bin-:
and the answer is: vold.conf is not used

cotulla made all the mount stuff into init.rd, file init

i'm trying to modify it to make it appear in /media...
[HD Mini Android Development] smart_mac:
hi ,I have a question, use Cotulla system.ex2(android 2.1), wifi is ok ,use your system.ex2(android 2.2 language china) wifi is not ok, dont open it, the same setting
[HD Mini Android Development] codiak:
Me and some other guys have the same Probleme.

We stated it here
[HD Mini Android Development] derefas:
from initrd some information abount sd

################################################
# mount sd card
################################################

echo "Partition for Andoroid: " $partition > /proc/printk

echo "Prepare SD card" > /proc/printk
mkdir -m 0777 /mnt/sdcard
dosfsck -y /dev/block/$partition
echo "Mount SD card" > /proc/printk
/bin/mount -t vfat -o fmask=0000,dmask=0000,rw,flush,noatime,nodiratime /dev/block/$partition /mnt/sdcard
[ $? -eq 0 ] || fail "Failed to mount the SD card. Cannot continue."
echo "Mount done!" > /proc/printk

mkdir -m 0777 /sdcard
mount /mnt/sdcard /sdcard

#echo "thisistesttext" > /sdcard/my.txt

so compare init from our init.rd and hd2 init

in hd2 sd android init more lines with more info about mount sd
[HD Mini Android Development] codiak:
So... to what directory we should change the sd card?
[HD Mini Android Development] derefas:
Test my new initrd.gz

(sd card fix )

http://rghost.ru/4693425
[HD Mini Android Development] spithash:
anyone tested if this works?
[HD Mini Android Development] derefas:
i'll make some errors in initrd

i am lazzy , who want recompile new initrd

this is source of my last work

View attachment initrd.zip
[HD Mini Android Development] derefas:
i'll make many errors...

i'll fix all

check this

http://rghost.ru/4694174

03.54 pm

i'll make working initrd

system start

04.00 pm testing sd card...

YESSS SD CARD WORK!!!!

My final initrd.gz!

http://rghost.ru/4695264

SD card fix!
[HD Mini Android Development] tzacapaca:
hi,does it work for you?I tried all your versions and it didn't work ,it just hangs on booting linux...:(
[HD Mini Android Development] derefas:
my last revision in previous post work fine i tested , i have you problem too , but i fixed all and all work fine , good luck!

ps: in this http://rghost.ru/4695264
[HD Mini Android Development] tzacapaca:
yeah,i tried it and i can confirm that now Android is booting and opening,but still cant see the sd card ,same for u?

btw..are u testing on cotulla's 2.1 version or schlund's 2.2 ?
[HD Mini Android Development] derefas:
schlund 2.2

camera with my latest initrd and other app work fine
[HD Mini Android Development] codiak:
Hm. So now we have working wifi in 2.1 and working sdcard in 2.2? What a pitty :(
[HD Mini Android Development] derefas:
i dont known wtf buy i use schlun system and i have working sd card and wi-fi
[HD Mini Android Development] tzacapaca:
here it doesn't work :(

i can see some changes in astro explorer,now it shows a folder named sd card but camera doesnt work and android itself can't see the card :confused:

can you see the card in android settings?
[HD Mini Android Development] codiak:
Is there more that one "schlund 2.2"

Its realy strange that wifi and sdcard work for "some" people and some not!
[HD Mini Android Development] yakamoz:
Yeah, neither WiFi nor SD-Card works with my Device. I do exactly all steps, tried 2.1 and 2.2, Formatted SD-Card, changed driver-module manually via Linux by mounting system.ext2 and using the adb.exe-script. I think there are differences in the devices.
[HD Mini Android Development] codiak:
I can confirm this. sd card works! Thank you derefas!!
[HD Mini Android Development] tzacapaca:
so Android can see the sd card?
[HD Mini Android Development] codiak:
Yes. Cam and mediaplayer works now. You can see sd card info in system menu :)
[HD Mini Android Development] sunnyhj:
same here :(
[HD Mini Android Development] sunnyhj:
is there something that i need to do to make this work..??..or just download initrd.gz n replace it in root dir.. n reboot..??
[HD Mini Android Development] codiak:
Just replace that file and boot android.
[HD Mini Android Development] tzacapaca:
I did so and nothing :(((

there are 2 files inside one is 2.52 mb and one 5.56..which one u put?smaller one only which is archived,right?
[HD Mini Android Development] sunnyhj:
u downloaded the wrong one... its this one...but its not working either.. :(

http://rghost.net/4695264
[HD Mini Android Development] codiak:
My initrd.gz is 2.647.224,00 Bytes
[HD Mini Android Development] mqd:
thx in this version i have a SDcard Folder but don't full work

i have tried a soft called root_tool but i cant editing nothing

nice to see some progress
[HD Mini Android Development] fatslim:
nope did not work for me. I use cotullas 2.1. Do i need to use the other one ? 2.2 ?
[HD Mini Android Development] tzacapaca:
the same i can see too..sdcard folder and it opens with astro:confused:

something strange...
[HD Mini Android Development] codiak:
MD5 Hash: 2F7CBA91EE3D9DD9D380F8636D22B70C
[HD Mini Android Development] tzacapaca:
maybe we use different zImage?
[HD Mini Android Development] codiak:
thats why i posted the hash ;)

just check yours
[HD Mini Android Development] tzacapaca:
u posted hash of initrd ,not of zimage right?:p

and anyway i'm using last version of initrd from here http://rghost.net/4695264
[HD Mini Android Development] codiak:
yes, sorry for confusion. that was the initrd :)

zImage is D00E088E6099896B56A0740D10322E10
[HD Mini Android Development] sunnyhj:
i checked both hashes of Zimage and initrd ...both are same as u'rs... but my 2.2 is not detecting it :(
[HD Mini Android Development] codiak:
so we have to ask derefas

for me, it works. who knows why
[HD Mini Android Development] smart_mac:
maybe you test at 2.2ROM ,2.1 isnt working. 2.2 is ok but ,,wifisi woking at 2.1
[HD Mini Android Development] schlund:
@derefas: what exactly did you change on the init image? (file/row)
[HD Mini Android Development] sunnyhj:
still not working...formatted my card installed a fresh image of froyo..wifi works..but android is still not picking up SDCARD..just shows a folder named SDCARD like earlier :(
[HD Mini Android Development] sunnyhj:
i tested it on 2.2..my wifi works in 2.2 but not SDCARD...i'll now test it on 2.1 also..
[HD Mini Android Development] derefas:
to use my fix you must delete all cache

to have good result

instal 2.2 droid with my fix install wi-fi fix - complete
[HD Mini Android Development] codiak:
Seem not to work for all. Like the wifi fix.

What WiMo ROM you are using? The Stock-ROM?
[HD Mini Android Development] sunnyhj:
well i did cleared all the cache by formatting my card...

My steps for installation :

1) connected my Mini with PC and formatted my card..extracted 2.1 files from the user folder directly into the card (root dir)

2) replaced system.ext2 of 2.1 with 2.2

3) replaced zImage for wifi fix

4) replace initrd.gr with your SDcard fix

5) disconnected the phone with PC

then booted up android...filled everything for first time use...and then went straight to SDcard settings to see if the Phone has detected the Card or not..

it didn't :( i checked camera to see if its detecting the card..same result..Insert the SD card..

after that i connected my Mini with pc and installed the wifi fix...

If you or anybody whose Card is being detected by OS thinks i did something wrong plz tell me so i can correct it...

Thankz:)
[HD Mini Android Development] seppe82:
I can confirm that the sd card fix works for me, using a winmo stock rom and a fresh froyo from schlund. Additionally I deleted all old files and folders from my previous froyo. With wifi I still have the common error, that I even can't connect with a static ip set. How much space do your sd cards have? Mine has 8 gb.
[Optimus One, P500, V General] lupohirp:
So guys....have you noticed that our display driver doesn't work properly in 3d games??no antialiasing...no anisotropic filtering...low bias...is poor in quality of image...our gpu support opengl es 2.0....but it seems that is activated only opengl es 1.1.....i've modded ati drivers for a long time...so anyone if can provide me the display driver of froyo maybe i can work on it!!i want to try to make a better driver...!also i have the open source of lg....how can i "open" the kernel to see the code??i'm noob with android !:P
[Optimus One, P500, V General] allsalvati:
I think that you need is GPU drivers.

(Someone correct me if i'm wrong)

https://github.com/mik9/ThunderG-Kernel/tree/master/drivers/gpu

This's the source of mik_os's Kernel.

But you can use another kernel if you want.

Good luck.
[Optimus One, P500, V General] lupohirp:
tnx....i'm working on it!;-)
[Optimus One, P500, V General] dimiz:
I have already post this news but seams no one think is good??

------------------------

Hi all I have read it on Italian Blog some news about our Optimus one Sprint branding:

----------

LG Optimus S (LS670) Maintenance Release - LS670ZVC

Enhancements/Fixes:

- SD card detection error

- New drivers for LCD supplier

- Removing first time language selection from the start up wizard

Important Notes:

- Software version is LS670ZVC

- Download and install time is approximately 3 minutes

- Released in stages with 100% of devices having received the update within 4 days

- Refer to the LG Optimus S Maintenance Release blog for install instructions

------------

http://community.sprint.com/baw/message/258387

Perhaps this new upgrade is usefull to solve Display bug??

What do you think?

Thanks in advance
[Optimus One, P500, V General] mik_os:
I testet that driver. Did not see anything new
[Optimus One, P500, V General] Kwen:
I guess the new LCD driver is only to support a different panel found in newer devices
[Nexus One Q&A, Help & Troubleshooting] paindoo:
Can somebody port the below system dump to N1?

http://xdaforums.com/showthread.php?p=11379272#post11379272

Regards.
[Nexus One Q&A, Help & Troubleshooting] Hollow.Droid:
The GB leaks start :)
[Nexus One Q&A, Help & Troubleshooting] vegetaleb:
Is Sense upgraded to 2.0 like HD ports?

The problem is that Evil and Paulobrien are not interested by porting Sense to N1 anymore and I don't see Rodriguez nor Formel leave the MIUI scene for it, in conclusion we NEED NEW DEVS
[Nexus One Q&A, Help & Troubleshooting] malavan:
we have always djmcnz.