Locus Map - forum

Support => [CZ&SK] - diskuze o Locusu => Topic started by: jetcz on May 24, 2011, 18:00:38

Title: Cyanogenmod7 + Samsung Galaxy S
Post by: jetcz on May 24, 2011, 18:00:38
Narazil jsem na dva problemy specificke pro cm7+sgs

1. Defaultne uklada locus data na externi sd kartu pres pevne nastavenou cestu (?) mnt/sdcard/external_sd, na kterou je na samsung romkach nesmyslne namountovana externi karta, nicmene na aosp romkach, tj. vcetne cm7, takovyto mountpoint neexistuje (externi sd karta je namountovana jako mnt/emmc), takze data se fyzicky ulozi na interni sd kartu do slozky external_sd/locus. Bylo by dobre mit tuto cestu uzivatelsky konfigurovatelnou, nebo alespon spravne detekovanou v aosp romkach.

2. nefunguje kompas, namisto toho to vypada, jako by locus reagoval na pohyby akcelerometru :)
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Menion on May 25, 2011, 06:12:49
čao,
  1. pěkný, ten adresář external_sd tam ale musel existovat jinak by se totiž locus inicializoval přímo na interní paměť. Přidal jsem tedy adresář emmc do seznamu adresářů externí karty takže s novou verzí by mělo stačit přesunout adresář Locusu do toho mnt/emmc a mělo by to šlapat ...

  2. zkoušel jsi ho zkalibrovat? udělelj s telefonem pár osmiček. Mam na DHD taky CM7 a vše šlape jak má ...
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: berkley on May 25, 2011, 15:50:58
Hey there,
same phone, same rom, unfortunatly not same language... maybe i can help?
Cheers, berkley
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: jetcz on May 25, 2011, 17:11:30
1. jo to je mozny, tu slozku si vytvorila zase jina aplikace, ktera tam predpokladala ten mountpoint. kazdopadne diky za emmc ;)
2. skutecne reaguje locus na udaje z akcelerometru a ne z kompasu, znova jsem to zkousel a je to zcela evidentni, muzu udelat video, pokud by byl zajem :) daval bych to za vinu samsungu, od te doby co jsem se ponoril do sveta cm7 zjistuji cim dal vic o tom, jak samsung zmrvil vsechno co slo (proto taky trvalo tak dlouho nez se objevil cm7 na sgs), takze by me vubec neprekvapilo, kdyby kompas byl jednou z tech napul nefunkcnich veci...

berkley> we've got this, don't worry :)
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Menion on May 25, 2011, 21:40:22
Ahoj, no pokud ten adresar external_SD smazes a spustis locus, tsk kdyz tam proste nebude, take by si mel vytvorit koren na Te interní paměti. A ohledně tohok akcelerometru. Pokud by to byla vysloveně chyba sgs tak by mi o tomu uz urcite nekdor rekl, coz se nestalo. Takze to opravdu netusim co s tim ..
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: jetcz on May 27, 2011, 19:53:08
takze s tim kompasem je to tak, ze nefunguje ve vice aplikacich a pry je na vyvojarich tech aplkaci aby si to opravili, nejedna se chybu v cm7 (?)
http://forum.xda-developers.com/showpos ... count=5597 (http://forum.xda-developers.com/showpost.php?p=14201533&postcount=5597)
http://forum.xda-developers.com/showpos ... count=5595 (http://forum.xda-developers.com/showpost.php?p=14201346&postcount=5595)
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Menion on May 28, 2011, 19:08:36
to je celkem zajímavé protože já na DHD používám taky CM7 a vše šlape ... no to mam někde hledat jak to opravit zrovna pro SGS? jee ...

matthias, if you're reading, do you have some issue with compass on your phone? I don't think so right? Because jetcz have and as you told, you both have same phone and same ROM
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: jetcz on May 29, 2011, 23:39:05
nejjednodussi by bylo asi napsat vyvojari smart compasu (//http://androidboy1.blogspot.com/), kterymu to funguje v pohode a poprosit, jestli by treba neporadil co a jak... jinak nekde neco hledat je, uznavam, prace na prd...
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: berkley on May 30, 2011, 10:44:36
Quote from: "menion"if you're reading, do you have some issue with compass on your phone? I don't think so right? Because jetcz have and as you told, you both have same phone and same ROM

Everything works as expected...
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Menion on May 30, 2011, 11:26:17
thank you matthias

so jetcz, it looks like some problem in your phone (or combination of phone and ROM). If you want, you may write to developer of smart compass if he tell you his secret. I'll not do some searching and testing of this personally, because this is not locus problem and may change in next CM release ...
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: berkley on May 30, 2011, 12:12:11
This is off-topic, but hopefully, it'll help...
Jetcz, did you successfully install CM7? Will say, what do you see, when you are rebooting the phone?

There are three screens...
1. Galaxy S GT-I9000
2. Galaxy S & cyanogen(mod)
3. Cyanogen Mod boot animation

I made a little mistake while flashing and had some minor bugs on the phone. So I went all over again and got it finally to work. The point was, that I never saw the second screen...

Some further information if it still doesn't work.
- Which Mod of CM7 do you use? You'll find this information in "about phone" and see in "mod-version". Mine is called "CyanogenMod-7-05112011-NIGHTLY-GalaxyS".
- I know, stupid question... But are you sure you have the international version of the Galaxy S? You know, there are several variants...
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: jetcz on May 31, 2011, 18:04:36
Hi Berkley,
yes I have the correct bootloader which shows cynaogen mod.
I use nightly #13 (//http://download.cyanogenmod.com/?device=galaxysmtd), also tryied Zach's, Glitche's and stock kernel, same behavior on all of them
And yes, I have the international version I9000.

I'm pretty sure compas was working in earliest cm builds but only thanks to samsung hakcs which are being removed one by one as time goes. (RIL stuff, etc.)
I'm not the only one with this problem , I'll try to write to smart compass developer, lets see if he's something to say :)
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Menion on May 31, 2011, 20:05:28
fine, let me know if you knew any news ...
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: jetcz on June 10, 2011, 16:49:48
tak z toho korejce co vyviji smart compass nic kloudnyho nevypadlo, jen ze pouziva uz 8 mesicu stejnej kod a normalne to vsem funguje, nikde nic specialne pro cm7 nemenil, tak nevim... a zjistil jsem ze i star chart normalne s kompasem funguje..
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: wvb on August 20, 2011, 08:43:27
Hi menion,

sorry to bump this thread but it's the only result that came up with search regarding emmc..
I ran the text above through Google Translate and you say Locus looks in /mnt/emmc/Locus but that doesn't seem to be the case with me..
Both Locus Pro (latest market) and Locus Free (latest test) can't find my Vector maps which are in /mnt/emms/Locus instead Locus creates a new dir in /sdcard/external_sd
I'm running the latest CM7 nightly on my SGSII...
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Menion on August 20, 2011, 09:06:56
hmm it's problem in CM7, because correct way for external card should be in SGS2 /sdcard/external_sd ... hmm anyway I added (forced) this way into locus now, so it should be tested during Locus start. So check next version, should works now
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: wvb on August 20, 2011, 09:14:05
hi menion,
thanks for the reply, I found out it had something to do with the existence of the external_sd dir in /sdcard
I just posted it here:
viewtopic.php?f=10&t=970&p=5542#p5542 (http://forum.asamm.cz/viewtopic.php?f=10&t=970&p=5542#p5542)

thanks for adding the force check!
I think it will help a lot of user who will at some point switch between roms and can't find their maps anymore :)
I'm sure I will make good use of it :)

thanks for being such a responsive dev!
it makes the program and using it even better!
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Lukass on September 09, 2011, 14:30:08
Muzu potvrdit nefunkcnost kompasu v Locusu. Mam Galaxy S (I9000) a posledni verzi CM7 (RC1). Predtim jsem vyzkousel par ROMek, ve vsech Locus fungoval perfektne. Na CM7 funguje GPS, ale kompas ne. Dale nefunguje v aplikaci c:geo a Google Maps, ale funguje v aplikacich Compass, Smart Compass a Sensor Test/Plot. Nejzajimavejsi je, ze po nabootovani telefonu se v Locusu kompas nepohne vubec, ale po spusteni a vypnuti kterehokoliv vyse uvedenych programu zacne fungovat i v Locusu, az na to ze funguje podle udaju z akcelerometru...Je to obrovska skoda, Locus je pro me nenahraditelna aplikace, ale nezbyva mi nez doufat ze to genialni programator Menion odhali a opravi :-)
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Menion on September 09, 2011, 14:34:06
geniální programátor Menion nemá moc chutě opravovat neduhy alternativnách romek :)  není už nějaká novější verze CM7? To bych musel mít ten telefon se stejnou chybou v ruce a co jsem ještě nedávno měl DHD s CM7, tak tam vše běželo bez chyby ... zatr
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Lukass on September 18, 2011, 19:42:23
Tak sem nakonec svoji frustraci z nefunkciho kompasu vyresil prechodem na MIUI ROM...
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: jetcz on October 01, 2011, 20:00:40
jen tak fyi, vratil jsem se zpet na cm7 a na nightly #135 uz funguje kompas v locusu spravne
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Menion on October 02, 2011, 20:46:19
perfekt ... díky za info
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: psuk on October 13, 2011, 17:58:49
Quote from: meniončao,
  1. pěkný, ten adresář external_sd tam ale musel existovat jinak by se totiž locus inicializoval přímo na interní paměť. Přidal jsem tedy adresář emmc do seznamu adresářů externí karty takže s novou verzí by mělo stačit přesunout adresář Locusu do toho mnt/emmc a mělo by to šlapat ...

Taktez jsem na CM7, presunul jsem adresar dle vyse uvedeneho postupu, ale stejne se vytvori nova slozka v mnt/sdcard/Locus a nepouziva se mnt/emmc/Locus
App jsem v nastaveni zkusil presunout na SD kartu, ale nic se nezmenilo. Nejaky dalsi napad?
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: Menion on October 16, 2011, 11:29:51
je to emmC jo? já tam mám pro SGS2 's' na konci takže to asi dělá chybu. Dobrý tak dnes nebo zítra bude na marketu další verze tak tam by ten fígl s přesunem adresáře snad mohl fungovat ...
Title: Re: Cyanogenmod7 + Samsung Galaxy S
Post by: psuk on October 17, 2011, 08:46:52
Quote from: "menion"je to emmC jo? já tam mám pro SGS2 's' na konci takže to asi dělá chybu. Dobrý tak dnes nebo zítra bude na marketu další verze tak tam by ten fígl s přesunem adresáře snad mohl fungovat ...
Ano "C". S novou verzi jiz presunuto na externi kartu, diky! :)