• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROM] GB-CMod7-Beta

my gps seems to work with or without ro.ril.def.agps.feature=2


I added this to a zip and flashed it after a fresh wipe and got a GPS lock in about 3 seconds. This is a record for me with this rom :) I've done some research and it seems cm7 has some GPS issues on alot of devices. Just trying to figure out if the issue is with the port or the rom itself.
 
is there a proper way to flush the agps data? I wanna do this while in airplane mode, so that it can try to detect the gps on it's own.

i suppose I can just wipe my user data and see what my outcomes are. I included root explorer and anreboot into the rom cuz I got tired of have to do that with every reflash :p
 
is there a proper way to flush the agps data? I wanna do this while in airplane mode, so that it can try to detect the gps on it's own.

i suppose I can just wipe my user data and see what my outcomes are. I included root explorer and anreboot into the rom cuz I got tired of have to do that with every reflash :p


There is an app called GPS status that has an option to reset your agps. As for apps, in the update I will include a2sd support. I have it on mine and all my apps stay on my ext partition so I don't have to redownload them after a fresh wipe and flash.
 
i have the ext2 partition on my card, i was just under the impression that maybe for some reason it wasn't functioning... just oversight :D and I was using GPS status for testing my location lol, don't see why I didn't see that either!

having a family sure makes me feel forgetful.
 
i have the ext2 partition on my card, i was just under the impression that maybe for some reason it wasn't functioning... just oversight :D and I was using GPS status for testing my location lol, don't see why I didn't see that either!

having a family sure makes me feel forgetful.


The rom actually mounts an ext2 partition automatically but as is there are no scripts to tell android to install to it. Its coming though :) you can test the mounting by typing mount in the terminal emulator and you should see a partition mounted to /sd-ext/
 
@blaxican25

yea that happened to me too. I just put the file in the rom and flashed again.

@reppard

I was looking at the init scripts and it seems to call for a ext3 fs.
Code:
$BB mount -o noatime,nodiratime,barrier=1 -t ext3 $SD_EXT_PART $SD_EXT_DIRECTORY;

I formatted my partition to ext3 and it mounted no problem. this could be changed to mount ext2 or ext3.
 
you can update your rom if you like, if you are on windows, which I'm sure you are, you can use winrar or 7z to look into the files and add or remove any files you want.

you want to include framework-res.apk? open the rom, browse to /system/framework/ and drop it in.

you want to add an app to the rom? place it in /system/app, make sure there are no spaces, these don't update correctly though(i think) these will survive a WIPE ALL.

as for the init scripts, these are in /system/etc/

go take a look at them :)

later we can get into the ramdisk :D

right now I'm trying to understand where the system itself writes to the telephony.db on first boot or if it pulls the info from somewhere magical :p
 
you can update your rom if you like, if you are on windows, which I'm sure you are, you can use winrar or 7z to look into the files and add or remove any files you want.

you want to include framework-res.apk? open the rom, browse to /system/framework/ and drop it in.

you want to add an app to the rom? place it in /system/app, make sure there are no spaces, these don't update correctly though(i think) these will survive a WIPE ALL.

as for the init scripts, these are in /system/etc/

go take a look at them :)

later we can get into the ramdisk :D

right now I'm trying to understand where the system itself writes to the telephony.db on first boot or if it pulls the info from somewhere magical :p


Unpack the boot.img. that's where the main init scripts and all the good stuff is.
 
as mentioned above I added the gps fix to the rom and flashed it again. my assisted gps location is still not working unfortunately.
 
Unpack the boot.img. that's where the main init scripts and all the good stuff is.

yea I was already digging around in there.

so it seems that NONE of th init.d scripts are run at all. I tried putting the mms fix into the rom itself. so far from hat I can tell is that the telephony.db is generated at first boot, and even if you apply the fix directly into the database, it still requires a reboot, telling me the system reads from this database at boot, or creates it if it's not there.... so where does it come from?? I already tore apart everything in the ramdisk. any idea where else it could be?? :/

So I was attempting to do this so that even if you were to wipe all data, it could still , check, fix itself and reboot. .... I also moved the
bootanimation.zip to /system/media/bootanimation.zip
mpcs.sql to /system/mpcs.sql
and not that it matters I places the mpcs script within one of the init scripts... but like I said it doesn't matter... but atleast i can still run it manually without having to reflash the fix.

so yea... cyanogen has all the scripts /etc/init.d/ disabled... as far as I can tell, we need to edit the init.rc to add more options, like firstboot and userinit. also init.rc doesn't support importing of files.

I'm gonna play with these and possibly if I get the nerve.... take a crack at checking out the kernel :s.... but I have a wedding to attend! until then!
 
So it was the eri.xml


Yes sir it was. The one in the framework. There is another eri in data that is seemingly useless. What do you use to edit XML files? I used a hex editor but trying to find something to display them in English :)
 
Yes sir it was. The one in the framework. There is another eri in data that is seemingly useless. What do you use to edit XML files? I used a hex editor but trying to find something to display them in English :)

i just used scite(a text editor) to remove "Metro PCS"+some blank spaces(14 that I could count the way I opened it) and I replace it with something of the same size :)
 
Back
Top Bottom