yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] AusMatt:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

I've hacked together an init.d script that does the job (for Australians).

Here it is:

$ cat /etc/init.d/99fixgps

#!/system/bin/sh

mount -o remount,rw -t ext4 /dev/lvpool/system /system

sed -i 's/NTP_SERVER=pool\.ntp\.org/NTP_SERVER=au.pool.ntp.org/' /etc/gps.conf

mount -o remount,ro -t ext4 /dev/lvpool/system /system

exit

$

It needs two improvements:

1) Don't run if the NTP server is already correct

2) Auto detection of the /system device and filesystem

I'll fix these soon and post again.

This, combined with the GPS hardware fix (already done) is the best I can do on this phone.

Edit: After an update my init.d script was deleted. So it should go in the /data/local/userinit.d directory if I want it to be preserved.

Better yet would be to just preserve /etc/gps.conf using the methods others are suggesting.
[Galaxy S I9000 Android Development] azunino:
This is the right way to do it:

Since CM9 you can preserve files when flashing compatible roms. To do so rename the attached 90-custom.txt to 90-custom.sh, copy it to /system/addon.d/ and chmod 644 it. That's it. The script will save your /etc/gps.conf, flash a rom, and then restore the gps.conf file.
[Galaxy S I9000 Android Development] Bejda:
Or just edit 50-cm.sh file is fine too I think.I used to prefer use that one that comes with cm instead of 70-gapps.sh that comes with gapps cause I thought maybe gapps.sh file would be replaced if you flash again gapps on top but not sure and adding his own .sh file should be fine too.

Btw, I was about to ask Pawitp about this,someone would know more about the blacklist file we have now in system/addon.d?

Backup tool.sh in rom's zip system/bin folder says this but I don't get the purpose and since it appeared adding a "rm" command (to remove or prevent installation of any system file or apk after rom update) to a system/addon.d/***.sh file doesn't work anymore..

check_blacklist() {
if [ -f /system/addon.d/blacklist ];then
## Discard any known bad backup scripts
cd /$1/addon.d/
for f in *sh; do
s=$(md5sum $f | awk {'print $1'})
grep -q $s /system/addon.d/blacklist && rm -f $f
done
fi
}

Actually there's another recent change about all this,previously we had backuptools files in our device system/bin folder but now it's only in the rom's zip.I'd like to know,mainly out of curiosity, more about this.
[Galaxy S I9000 Android Development] Bejda:
@Ausmatt,

It's funny how things gathers sometimes cause after reading this:

...i searched for a post with link I made on cm10 thread about Ril and the maybe incomplete way (at least for I9000) GetRil app was working but just noticed you were part of the discussion ;)

http://xdaforums.com/showpost.php?p=34166058&postcount=10917

Funny how things gathers I say cause there's a few modem and ril related files cwm zip here:

http://download.gsteam.fr/index.php

(mainly for some French provider's modem unfortunately,path for download is galaxysmtd >modem-ril) and those zip just use an additional /system/addon.d/.sh file to preserve ril related libs after rom flash :)
[Galaxy S I9000 Android Development] Senthurpandian.r:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Hi,

Sorry, if it's an off topic question. :-/

I think Galaxy S I9000 is the first Samsung device certified for WiFi direct. So, we have the hardware :) But, where is it's driver/software ??

I know, CM thread is where the top Developers always roam around. And, that's the reason I post here.

Can anyone of our Devs tell me whether it's possible to have WiFi direct in our device (Galaxy S I9000)?

Thanks a lot for your awesome works.

Thanks in advance
[Galaxy S I9000 Android Development] pawitp:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

They are kernel changes from 3.0.54 to 3.0.60. I made a mistake when submitting it (didn't intend it to appear on the changelog) and thus it spammed the changelog.

There is WiFi direct support in ICS. It is not possible to have WiFi direct support in later versions unless broadcom release a new compatible firmware.
[Galaxy S I9000 Android Development] SamHaLeKe:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

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

http://xdaforums.com/showthread.php?t=1941635
[Galaxy S I9000 Android Development] benkya:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Strange things happen today..

Yesterday my free internal sd about 1500 mb.. i am instaling about 2 apps from play store

Total 20+ mb today i check my internal sd card free 0mb

What happen?

Sent from my GT-I9000 Galaxy S

Rom : CM 10.1 JB 4.2.1
[Galaxy S I9000 Android Development] RlndVt:
What nightly are you using?
[Galaxy S I9000 Android Development] 99x:
Install the app DiskUsage, run it and see what it taking the space first.
[Galaxy S I9000 Android Development] benkya:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Build 21012012...

I am using One click cleaner that temporary file thumbnail has floading my internal space, after clearing it everything seem ok

Sent from my GT-I9000 Galaxy S

Rom : CM 10.1 JB 4.2.1
[Galaxy S I9000 Android Development] yadavjpr:
I switched CM 10.1 three times from Pawit's AOSP build but lot's of battery consuming on cm10.1. :( So I switch back on AOSP build every time. I have installed today's nightly and same battery behavior again.

Any suggestion like Modem(for India) etc? please don't advise about other ROM/Kernel.
[Galaxy S I9000 Android Development] DeusEx80:
I had a similar problem some time ago (less free space as expected into sdcard): using Disk Usage i found a big hidden file (about 1,5GB) into DCIM folder, that i deleted.
[Galaxy S I9000 Android Development] patrcost:
If you don't need to be on 3G all the time you can try like I'm doing. I'm switching off the 3G connection and let it work during 5 minutes.

3G Battery saver Pro does the job for me: https://play.google.com/store/apps/...5qbXBkcm9pZHMuaW50ZXJuZXRzY2hlZHVsZXIucHJvIl0.

I do realize it's not a solution but I can't find what's causing the drain. Better battery stats brings no answers, switching back to CM 10 neither, nor switching modem. I tried all tips I could find, none worked. Switching off 3G gives me a splendid battery-time...

I love the rom so I want to stick to it. I do not need 3G to be on all the time but of course this is personal choice...
[Galaxy S I9000 Android Development] benkya:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Same thing for me in DCIM folder thumbnail, but i am using clean master from play store in residual files menu scan it detect and delete automaticly.. problem solve but didnt know what made the problem.

Sent from my GT-I9000 Galaxy S

Rom : CM 10.1 JB 4.2.1
[Galaxy S I9000 Android Development] superkoal:
According to changelog the last nightly should have included flip/shake to snooze in desk clock, but somehow the options don't show up...
[Galaxy S I9000 Android Development] muff99:
no, the next nightly will.
[Galaxy S I9000 Android Development] gopadi:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Wow very fast update... But my quota internet is low :D:D

Btw camera is perfectly now.. Mode macro is better than version 20130120 ..
[Galaxy S I9000 Android Development] sanguinesaintly:
Navigation Bar

Does this ROM have built-in navigation bar support or do I need to edit build.prop to enable it ? Love the ROM - does everything I want and need.
[Galaxy S I9000 Android Development] sigarocubano:
Continuous reboot whit 20120122 and semaphore 2.9.7s.
[Galaxy S I9000 Android Development] amerpeacemaster:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Is there a way to get cmw touch? Please?
[Galaxy S I9000 Android Development] alb3rtt:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Custom kernel.
[Galaxy S I9000 Android Development] pamarakos:
Can you set where to save now? External or internal sd??
[Galaxy S I9000 Android Development] amerpeacemaster:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

How?
[Galaxy S I9000 Android Development] ronmtorres:
I don't mean to be rude, but we are not supposed to post any problems when a custom kernel is being used. Have you tried without using Semaphore Kernel to see if the reboots are still there?
[Galaxy S I9000 Android Development] superkoal:
Use Semaphore 2.9.8 AND don't forget to flash hugemem libraries if you want to use the s version
[Galaxy S I9000 Android Development] SamHaLeKe:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Be carefull when posting this stuff here. This is also very much not allowed...
[Galaxy S I9000 Android Development] Indian Devil:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Can't find the Navigation Bar :(

Doesn't this ROM have that?

And it there a flash able zip for that?

I remember reading it somewhere but am not able to find it.
[Galaxy S I9000 Android Development] janeka_pt:
The clock app is force closing every time I try to set up a new alarm.

I've already clear the app data but it still closing.
[Galaxy S I9000 Android Development] Kordius:
I lost my imei :c what i can doing ?
[Galaxy S I9000 Android Development] ugoms:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Clear clock data
[Galaxy S I9000 Android Development] sanguinesaintly:
There should be an entry in Settings : System for Navigation Bar. I had to add "qemu.hw.mainkeys=0" to build.prop to enable it. I'd be interested to know whether it's possible to add other actions like close screen.
[Galaxy S I9000 Android Development] Indian Devil:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

I have absolutely no idea how to do that and as I am away from my computer I can't search for help too :(
[Galaxy S I9000 Android Development] RestarTmen:
Hi!

I'm also from PT, and I have also a nexus running stock 4.2.1 firmware. On the nexus the translation to charged is also «cobrado». Of course the translation is incorrect, however is something that is wrong within google code, not cm.

Regards!
[Galaxy S I9000 Android Development] jjaacckk94:
R: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Is there a way to enable photosphere?

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S I9000 Android Development] Michel38280:
NO there is no gyroscope in the S1 :mad:
[Galaxy S I9000 Android Development] fattox:
need some help please..

Hi guys please someone help me here. I'm having a big problem... maybe small for someone else.

Yesterday I upgraded from CM 10 stable to 10.1 M1 from recovery without wiping.

It looked perfect till now, I was upgrading an app on PlayStore when it crashed and started to reboot.

It's doing it all the time, I removed the battery, the sim, the extcard and it does the same thing all the time.

What can I do now? Flash again the 10.1? Wipe?

Thanks in advance
[Galaxy S I9000 Android Development] pamarakos:
Once more and sorry for this...does latest nightly's camera app support save to ext-sd?
[Galaxy S I9000 Android Development] geckoas:
AW: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Perhaps you have the same issue as I posted in the following post?

http://xdaforums.com/showthread.php?p=5

sent from my galaxy I9000 running CM10 with tapatalk 2
[Galaxy S I9000 Android Development] hadkeren:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

No

Sent from my GT-I9000
[Galaxy S I9000 Android Development] everlethal:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Man, there is nothing better then clean install.
[Galaxy S I9000 Android Development] Bejda:
Some apps like rom toolbox among others could help you edit that file otherwise try this:

Note that you'll end with NavBar height DPI set to 48 which is far too big and looks very bad imo, I posted a link about 3 or 4 pages back (about modem ril story),on that link you'll find a GsTeam daily-nightly mod that works with Aroma installer,with it you can choose while flashing to enable NavBar or no (32dpi).

I'm really into off-topics these days,sorry all.
[Galaxy S I9000 Android Development] nekuy:
You can try this (http://xdaforums.com/showpost.php?p=36989470&postcount=2043) solution.
[Galaxy S I9000 Android Development] pamarakos:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Already using this:)

Why isn't is included in cm rom?? Its helpful!!

For all of you who want to try this dont forget to change permissions of the file copied when you put it in the system...
[Galaxy S I9000 Android Development] jjaacckk94:
R: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

I have some problems with backlights notification. They keep on until I press central button. Is it normal?

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S I9000 Android Development] amerpeacemaster:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Not sure, but it is useful for me :D
[Galaxy S I9000 Android Development] superkoal:
Guys if anyone is interested:

I built a simple app that helps you generate custom vibrate patterns for the messaging app settings.

It's easy to use and quite some fun i have to say. And of course it's free.

Go check it out in the market

xda Thread
[Galaxy S I9000 Android Development] Pietplezier:
Installing latest nightly now, thnx again :)
[Galaxy S I9000 Android Development] Tsipo:
AM/PM does not show on statusbar Clock

The Status Bar Clock, never shows the AM/PM, whatever selection I make on the AM/PM choices (small/normal/never). I changed back to system theme, to check, rebooted the phone, but still no AM/PM. Not serious of course just curiosity. Any ideas? Is the a Bug or a Feature? ;)
[Galaxy S I9000 Android Development] Indian Devil:
No issues for me, it's showing correctly.
[Galaxy S I9000 Android Development] boyoboyo:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

No prob here.

(20130114)
[Galaxy S I9000 Android Development] grifovunque:
i have read that this program " http://xdaforums.com/showthread.php?t=739530 " doesn't work with our sgs.

is this correct?

it's probably the best solution for battery drain...

i have a lot of battery drain with all standard modem for sgs, only with modem from nexus i have a good battery but with nexus modem i have problem with call and it's not a good solution.

thank you all.
[Galaxy S I9000 Android Development] :
Sorry, I'm on Hellybean - but I wonder if there isn't a built-in 2G toggle in CM10.1 ... JB-based ROMs like SlimBean oder HellyBean allow to add toggles to the notification bar.

In Hellybean you have to navigate to Settings\System\Notification Drawer and tick the box "Power widget". This allows you to access the menu item "Widget Buttons" where you can find the entry "toggle network mode"... can a CM user confirm that for 10.1?
[Galaxy S I9000 Android Development] truden:
You are using 24 hours format in Setings -> Date & time
[Galaxy S I9000 Android Development] Tsipo:
Can't stop laughing!!! Thanks :laugh:
[Galaxy S I9000 Android Development] grifovunque:
this program switch 2g/3g automatically when the screen go off, it's not a power widget.

but i read that it doesn't work on sgs.

someone can confirm this?

thank you all
[Galaxy S I9000 Android Development] pamarakos:
Works fine:)
[Galaxy S I9000 Android Development] AusMatt:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

My first ever SOD.

I'm on cm-10.1-20130123-NIGHTLY.

But I'm not complaining as I'm using Semaphore 2.9.8 (non 's').

Just reporting as a data point in case others get this too.

Not over clocked, standard voltages.

The last thing I remember doing was to tell CyanDelta to download cm-10.1-20130124-NIGHTLY.
[Galaxy S I9000 Android Development] kma221:
@ pawitp ......

Since u r one of the pioneers of this stuff.....

just a request if u cud integrate our Samsung Galaxy S into ur ROM so that we dont have to flash separate non ROM based kernel to make our modem work to get a baseband detected......this will make ur rom more user friendly for network/company based phones and we can enjoy the full feautures that ur rom has to offer based on ur rom's stock/original kernel

Our SGS-1 is from a japanese carrier called NTT-DOCOMO and the model no: SC-02B...its almost a variant of GT-i9000.....

the problem is if we simply install ur ROM it gets installed but the modem is not detected so no baseband ...no phone(calling/texting)...everything else works fine though as per GT-i9000....to over come this problem...... a very helpful member of this forum "didhiy" has solved the problem for us and has put a dedicated thread regarding this under "Galaxy S I9000 Android Development" section so that anyone can help us......

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

an edited excerpt from the OP for the steps we have to follow:

"

C. Get a CM-10.1 rom & install instruction from [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S thread.

D. Download & install LC4 Modem

E. Download & install this files:

Kernel

Blobs LC4 (for GPS to work)

F. Reboot and go to Settings > Wireless & Networks > More... > Mobile networks > Network operators & Choose automatically

G. Edit build.prop file from(in order for incoming/out going calls/sms and call hang up to work properly)

Code:

ro.telephony.ril_class=SamsungExynos3RIL

to

Code:

ro.telephony.ril_class=RIL

"

and then modem starts to work and baseband is detetcted ......

our phone becomes fine with that but the features and stability that ur rom's built in kernel has to offer gets compromised....

therefore im requesting if the support for our phone is added in ur rom or kernel that wud be very much appreciated....

We are also submitting our request to all the other devs who r building ROMS for SGS....

Pls Note: All the required files are available in the above mentioned thread.

Thanks in advance
[Galaxy S I9000 Android Development] miromerka:
Lol, nice!
[Galaxy S I9000 Android Development] pawitp:
No. According to your excerpt, it's a different phone requiring different proprietary files and thus cannot be supported within the same build. (You can get a separate build if there is a dev with the phone who is willing to become a maintainer).
[Galaxy S I9000 Android Development] Midomad:
Low space notification

Here is a logcat via adb.

Hope this time it contains useful info.

Regards
[Galaxy S I9000 Android Development] AusMatt:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

I prefer my edit method as it will allow upstream changes to the file.

I've now improved my script. Here it is:

$ cat /data/local/userinit.d/10fixgps

#!/system/bin/sh

grep ^NTP_SERVER=au\.pool\.ntp\.org /etc/gps.conf >/dev/null

if [ $? -ne 0 ]; then

sysdev=`mount | awk '/ \/system / {print $1}'`

logwrapper mount -o remount,rw $sysdev /system

logwrapper sed -i 's/NTP_SERVER=pool\.ntp\.org/NTP_SERVER=au.pool.ntp.org/' /etc/gps.conf

logwrapper mount -o remount,ro $sysdev /system

fi

exit
[Galaxy S I9000 Android Development] pawitp:
You need to use

adb logcat > log.txt

which will save a very long log to log.txt in your current directory. Copy and pasting from the screen won't get enough lines.
[Galaxy S I9000 Android Development] pamarakos:
@pawtip

Save in ext-sd in camera app is to hard to be implemented so as not to use other's rom gallery2 trick??

Sorry for asking but have no idea...
[Galaxy S I9000 Android Development] Midomad:
Here you go.
[Galaxy S I9000 Android Development] emlo16:
Why I can't install Polish Add-on dictionary for stock JB keyboard? Other dicitionaries works well. There's only problem with Polish. :crying:
[Galaxy S I9000 Android Development] Bejda:
Could you check the occupation of /mnt/asec on your device?
[Galaxy S I9000 Android Development] Midomad:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

0k used 198 free!
[Galaxy S I9000 Android Development] Bejda:
Ah yeah,right.Now i remember a little more about this but mostly i remember that i know nothing about it or the way works that mnt/asec partition(?) lol

It is shown as empty but there IS folder and files in it,it's moved to SD apps i guess.

I once made a very very little search about it around here cause i thought it could help on a low storage issue but I'm pretty sure it won't help much :laugh:

http://xdaforums.com/showthread.php?p=29124758&highlight=asec#post29124758

I searched again that way when you first asked and didn't find anything relevant but seeing you may have a lot of apps/games lying on that folder in your logcat i guess that finally there's maybe something related.

Anyway if someone knows more on this and feel like sharing knowledge it would be appreciated.
[Galaxy S I9000 Android Development] pxrave:
when comes the [External Storage option added to Camera]?
[Galaxy S I9000 Android Development] roshan2989:
i cant set the chronus weather setting ,having fc all the time..just clear the data..just the same...im on latest nightly 24/1
[Galaxy S I9000 Android Development] nexzor:
hi pawitp,

there is somting wrong with the fix for toggle network mode of while connectet to wifi.

http://review.cyanogenmod.org/#/c/30877/

i have testet it with the followinge toggle combinations:

first ther was network mode on (i´am in an EDGA area)

then i switched on wifi, and it connects to wifi as expeckted.

but when i tap on the network toggle in statusbar nothing happens.

so i tapped a second time on the network button. after that wifi was showen as on and network as off.

then i switched network back on and both where showen as on.

the last aktion was to switch wifi off. i was expektet to so only network as switched on but emediatly after switching wifi off network also deaktivates.

logcat from adb logcat > xxx.txt :

http://pastebin.com/6VVHRYGw

i hope my english is not to bad, so you can understand my steps.

maybe some one else can reproduce it.

i´am on 20130124 updated with cyandelta from 20130123, both with stock kernel
[Galaxy S I9000 Android Development] benkya:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

I cant open link

Sent from my GT-I9000 Galaxy S

Rom : CM 10.1 JB 4.2.1
[Galaxy S I9000 Android Development] pawitp:
Logcat says it's a notification from Viber, not a system notification, so you need to ask Viber about why it happens.

Cannot reproduce, try a build that doesn't use cyandelta.
[Galaxy S I9000 Android Development] legend_wok:
AW: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

i think you were asking "is someone already implementing this feature because i need this so desperately that i immediately want to start contributing."
[Galaxy S I9000 Android Development] TheeWolf:
pawitp, are you saying that its not good to use cyandelta? Is it causing problems or something?
[Galaxy S I9000 Android Development] pawitp:
I don't know, but when reporting bugs, it's good to eliminate any external factors.
[Galaxy S I9000 Android Development] Midomad:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

Right after unistalling the app no more notification!

Thank you.

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Android Development] elitevet:
Re: [NIGHTLY][ROM][4.2.1] CyanogenMod 10.1 for Samsung Galaxy S

@pawitp

I dunno if the CM team have already released such statement, but I feel it's time to have the CM official comment about the CyanDelta app.

Should we count otherwise stock CM installed via CyanDelta as a non-stock?

It's a principal question, could you and the rest of CM, please, release an unambiguous answer to it?

Thank you in advance

sent from CM powered SGS
[Galaxy S I9000 Android Development] pawitp:
In theory, the end result should be the same, unless there is a bug in the patching procedure. In practice, within this thread, it is too much to consider all bug reports made by CyanDelta invalid. The official CM bug tracker might say otherwise. Also note that the bug report form has a "CM Download url:" field.

If you really want an answer, I'd err on the safe side and say it's "non-stock" for bug reporting purpose.