yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] pastime1971:
flash that zip, and it will mount your internal sd card under /mnt/sdcard/_InternalSD

make sure you already have an empty folder of that name before flashing.

edit: i have two versions. let me check first.

edit: sorry. now i am confused.

if you want to mount internal sd card as /mnt/sdcard/_InternalSD flash http://www.mediafire.com/?0gcc4h4c3q8y7zn ---> this is what you want, right ?

if you want to mount internal sd card as /mnt/sdcard and external sd card as /mnt/sdcard/_ExternalSD, check Settings > CM > Application > Use internal storage, and then flash http://www.mediafire.com/?5fhtko6xghixnig
[LG Optimus 2x] Gaku86:
i kind of get the problem now, once i reflashed the files were in mnt/emmc, then i restart to cwm and flash the etana kernel and bang no files again so im starting to think is the kernel can this be? if i want that kernel what is the order to flash the files first the kernel then the tweaks?

PD: i want the internal memory(phone) shows on my micro sd card(new internal) get it?

edit:to make myself a little bit more clear im coming from miui and i applied a mod where the micro sd card shows as internal, and the internal as another card on the micro sd.

when i flashed the cm7 kang i thought this was gonna be deleted and ts was gonna be like default externalsd into internal(phone) but it kept like the mod i applied when i had miui but couldnt see the files in the folder internalsd i see them in mnt/emmc.

I hope i make myself clear.
[LG Optimus 2x] pastime1971:
yeah, vadonka's kernel installer includes tweak of build.prop, i think.

even w/ that, as long as you do what k101d told you, it should work. good luck.

edit: i took a quick look, and it doesn't look like it does anything on vold... not sure. best ask in his thread. (it would have been much easier if you told us your configuration to begin with.)

---------- Post added at 10:13 PM ---------- Previous post was at 10:07 PM ----------

unfortunately, not clear.

the micro sd card shows as internal ---> what do you mean by internal ? internal and external refers to physical disk, not the mounting point.

here are possible scenarios:

(1) external as /mnt/sdcard and internal as /mnt/emmc : cm default

(2) internal as /mnt/sdcard and external as /mnt/emmc : just check Settings > CM > Application > Use internal storage

(3) external as /mnt/sdcard and internal as /mnt/sdcard/_InternalSD : flash tweakmount-internal.zip or

do what k101d said

.

(4) internal as /mnt/sdcard and external as /mnt/sdcard/_ExternalSD : check "Use internal storage" and flash tweakmount-external.zip
[LG Optimus 2x] Gaku86:
sorry for not making myself clear, i had (1) and i did (3) and it worked thank you very much pastime1971 you are a great helper and a great person, thanks or taking part of your time and helping me i really appreciate this thank you
[LG Optimus 2x] pastime1971:
you are very welcome. glad it worked out.
[LG Optimus 2x] Gaku86:
i was wondering how i can update he adw launcher that comes with this version of cm7 ir should i just install it?
[LG Optimus 2x] unfugor:
i still have the problem that on nearly every second boot my phone gets no real network connection, it shows some bars but no "H" or "3g". only way to get a connection is to do a reboot. i use bb and ril 725 but had the same thing happen on every other bb/ril combo i ever tried, do you guys have this problem too or is there some fix i have not yet seen?
[LG Optimus 2x] vcarbajo:
Some users have the same problem... I tried with all bb/ril combination posible, and the problem persist!!!

The "solution" is mark the check of 2G conection in Settings > Wireless options > ...
[LG Optimus 2x] unfugor:
but then i only have a 2g connection which on my carrier means no connection at all...
[LG Optimus 2x] temasek:
Planning #63

NEW - Change Idf3e021b: Fix display freeze happening when changing device orientation while screen is off.

http://review.cyanogenmod.com/#change,12749

EDIT: That got merged...lolz
[LG Optimus 2x] FPSAUS4EVER:
Hi, when i talk on the phone i can hear myselfcleary echoing in the speaker. Why does this happen? How can i fix it thanks.
[LG Optimus 2x] hrk7474:
LOL, i went to temasek.hopto.org and i was about to post "KANG 63 only 20MB?!" but then i realised you were still uploading.. :p

So far these kangs have been great. Not a problem encountered that couldn't be fixed with a cache/dalvik wipe.

Thanks again!
[LG Optimus 2x] afpapa:
I am on #62 and after an unlock I got my screen frozen. It even FC the Go Launcher.

Probably it is this fix I need, so downloading now the #63!
[LG Optimus 2x] lefterakos:
Its the perfect rom!! and in combination with vadonka kernel its the best out there

small request: a transparent statusbar option and statusbar to be able to work on lockscreen like on ics..
[LG Optimus 2x] haarlem2004:
Hi all, i'm using the kangs for a couple of months now and just wanted to say that it's every day a plesseure to use my phone and flash a new one after work! Thanx!
[LG Optimus 2x] TrymHansen:
@pastime1971

ADSL finally back up. Log from test-build shows an error:

D/RIL ( 1037): timezone= 4, 12/2/15,15:54:20
D/RILC ( 1037): [UNSL]< UNSOL_NITZ_TIME_RECEIVED {,timezone=4, time=12/2/15,15:54:20}
D/RILJ ( 1452): NITZ : DEBUG usesLocalTime= true
D/RILJ ( 1452): NITZ : DEBUG ro.telephony.nitz=
D/RILJ ( 1452): NITZ : DEBUG usesLocalTime= true
D/RILJ ( 1452): NITZ : DEBUG num= 4
D/RILJ ( 1452): NITZ : DEBUG parceldata= 12/2/15,15:54:20
E/RILJ ( 1452): Exception processing unsol response: 1008Exception:java.lang.NumberFormatException: unable to parse '15:54:20' as integer
D/AT ( 1037): AT[1]< +XNITZINFO: "GMT+1","12/2/15,15:54:20"
[LG Optimus 2x] pastime1971:
i see. SimpleDateFormat dateParser; dateParser.parse(parceldata) is failing and throwing an exception, which is catched and responseNitz just returns parceldata itself w/o conversion (local to GMT) so, in your case, w/o NITZ fix, you would get the correct NITZ on 0824BB. but you are using 0725BB, right ?

i have parceldata= 12/2/15,4:21:5,0 whereas you have parceldata= 12/2/15,15:54:20

i believe ,0 in mine is daylight saving indicator. (1 means DST effective.)

does ,0 at the end makes a difference in parsing ?

it is peculiar that your carrier doesn't put DST information. you are in germany, right ? i also wonder what happens during summer....

nevertheless, responseNitz should be able to deal w/ this, and this is a bug. i wrote a small java class/program on linux when i was testing this NITZ parsing. i will feed your parceldata and see what happens. i will get back to you tonight. (i need to get back to my daytime job now... :D)

i'm glad we pinpointed the cause. :)

edit: just to be sure, what did you get for AT[1]< +CTZV: -32,"12/2/15,4:21:5,0" it should be a line before your first line posted.

edit: now i think dst = Integer.parseInt(parcelextra); is throwing exception, because (1) date parser exception should be caught, (2) parcelextra should be ,0 or ,1 and without ,0 or ,1 in NITZ string, the time part is assigned to parcelextra, and java Integer parser fails to parse "4:21:5" as integer. now my question is when exception is thrown, does RIL crash or not ?
[LG Optimus 2x] TrymHansen:
No, 824.

I guess it does ;-)

No, Norway. Since this is the same parser as the one that worked before I guess they add ",1" when DST is on, but not ",0" when it is not.

Yap, should be easy to fix now.
[LG Optimus 2x] pastime1971:
yeap. just check parceldata and see if there is ,0 or ,1, and if not append ,0. that should do it. i will test it tonight, and submit to gerrit.

edit: could you check for AT[1]< +CTZV ?
[LG Optimus 2x] TrymHansen:
d/at ( 1037): At[1]< +ctzv: +4,"12/2/15,15:54:20"
[LG Optimus 2x] pastime1971:
Thanks, TrymHansen.

It definitely originates from your carrier.
[LG Optimus 2x] -sandro-:
do any of you have this problems ?

http://xdaforums.com/showthread.php?t=1498823
[LG Optimus 2x] happyassshit:
Can I use the 'voodoo'-Kernel (first page) with the latest CM-nightly (-220)?
[LG Optimus 2x] pastime1971:
@ TrymHansen,

I think I know what is causing exception.

LGEStarRIL.java > responseNitz assumes there are always two commas in NITZ parcel string, and it utilizes lastIndexOf to locate the second one. but when there is only one comma, separating string obviously gives you wrong result. it will be {"DATE", "TIME"} instead of {"DATE,TIME", "DST"}

the second part is parsed as integer, and doing that for "TIME" will fail.

i uploaded testkang2.zip. http://www.mediafire.com/?bddr1yxbaw6r88h

it will first try to catch that exception.

and then try to do it right.

could you test it again ?

edit: here is the source if you are interested in what it does. http://www.mediafire.com/?7mxi2cnfm24834x
[LG Optimus 2x] temasek:
@pastime1971,

If you haven't commit the fix, I'll manually merge your source to #64 (if there is a #64 :D). If u committed then I'll pick it. I think there are many 824 BB users ....
[LG Optimus 2x] pastime1971:
i haven't. (i was waiting for test results...)

but i have a good idea what is going on now.

and here is nitz exception fix. http://www.mediafire.com/?5grd5z0y5gx0qyg

i kinda of manually edited the patch so that it doesn't interfere with nitz (gmt) fix. so, it should patch successfully as long as you apply it as last.
[LG Optimus 2x] temasek:
Should I still pick your existing nitz fix? Then patch this?

Or

Abandon existing nitz fix and patch this?
[LG Optimus 2x] pastime1971:
for now you can still pick the old one first and then manually apply this.

even though i submit it to gerrit, it would conflict with the old one. so, still needs to be manually applied.

once merged, then i can rebase the old one.
[LG Optimus 2x] TrymHansen:
Test-kang2 creates a NullPointer-exception after catching the first exception (looks like you have one too many "parceldata = p.readString();":

D/AT ( 1037): AT[1]< +CTZV: +4,"12/2/16,3:20:47"
D/RIL ( 1037): timezone= 4, 12/2/16,3:20:47
D/RILC ( 1037): [UNSL]< UNSOL_NITZ_TIME_RECEIVED {,timezone=4, time=12/2/16,3:20:47}
D/RILJ ( 1374): NITZ:DEBUG: num= 4
D/RILJ ( 1374): NITZ:DEBUG: 1.parceldata= 12/2/16,3:20:47
D/RILJ ( 1374): NITZ:DEBUG: commas at 7, -1
D/RILJ ( 1374): NITZ:DEBUG: last commas at 7
D/RILJ ( 1374): NITZ:DEBUG: 2.parcelextra= 3:20:47
D/RILJ ( 1374): NITZ:DEBUG: NITZ DST conversion failed: java.lang.NumberFormatException: unable to parse '3:20:47' as integer
D/RILJ ( 1374): NITZ:DEBUG: NOW TRYING TO DO DST CORRECTLY
D/RILJ ( 1374): NITZ:DEBUG: 3.parceldata= null
D/RILJ ( 1374): NITZ:DEBUG: 3.parcelextra= 0
D/AT ( 1037): AT[1]< +XNITZINFO: "GMT+1","12/2/16,3:20:47"
E/RILJ ( 1374): Exception processing unsol response: 1008Exception:java.lang.NullPointerException

Thanks for the source. The whole string-processing bit looks a bit convoluted. Why not just do something like:

String doTheThing(String parcelData)
{
String splitParcel[] = parcelData.split(",");
String dateTime;
String dst;

if(splitParcel.length < 2) {
//Flag error and exit, something wrong in original data
}

if(splitParcel.length == 3) {
dst = splitParcel[2];
//We have carrier DST information
} else {
//We don't have carrier DST
dst = "0";
}
//In actual code I'd use: dst = splitParcel.length == 3 ? slitParcel[2] : "0";

dateTime = splitParcel[0]+","+splitParcel[1]; //Or use stringBuilder for better performance, not important here I think.

//Do the regular processing

return dateTime+","+dst;
}

...I just threw together that last thing, but it should work as a simple pre-formatter for the string from parceldata. (It is not code I personally would use, I hate allocating objects on the fly (every + allocates a new string, as does .split), and if I can avoid it I don't use String. A throwback from my C-days, I like efficient code.) As a matter of style I think exceptions should catch things there are no way out of. Here we are aware of the potential problem and do something before it leads to an exception.

Good luck.
[LG Optimus 2x] pastime1971:
@ TrymHansen

sorry, it threw another exception. i should have known.

and thanks for the tip.

as a matter of fact, i already sent a patch file http://www.mediafire.com/?5grd5z0y5gx0qyg that does exactly what you did there.

in my test, it works fine on my p990. (i get ,0)

in temasek's kang #64, String [] parcelarray = parceldata.split(","); is used.

when he upload his kang, please test w/ it. it doesn't do LOG as my testkang.

but if it works, you should be able to tell. (a test would be to set time wrong first, and set automatic time)
[LG Optimus 2x] TrymHansen:
Excellent, I'll make sure to test it, but I'm confident it'll work now. One down.
[LG Optimus 2x] temasek:
I'm quite a few hrs away from home. I'll build one when im back home. Forgotten to bring my portable ubuntu hdd to work. :p

I'll build #64 even if pastime1971's nitz patch is the only update. :D

I love to test it myself.

Thanks pastime1971!
[LG Optimus 2x] pastime1971:
soon as i get your confirmation, i will submit it to gerrit.

may i ask who is your carrier ? it would be helpful for the commit message.
[LG Optimus 2x] TrymHansen:
D/AT ( 1037): AT[6]< +COPS: 0,0,"N Telenor",0
D/AT ( 1037): AT[6]< +COPS: 0,1,"TELENOR",0
D/AT ( 1037): AT[6]< +COPS: 0,2,"24201",0

;-)
[LG Optimus 2x] temasek:
temasek's KANG BUILD P204-64

Same Changelog as P204-63 but with a new "Nitz exception fix" by pastime1971. This fix is FOR users with 824 BB. This NITZ Execption Fix is for ALL BB users

Those who read last couple of posts should have some understanding of what is going on. If it is too technical, maybe I use a simple explaination.

For users with automatic time enabled, some users including me will have network crash resulting in network loss. With this nitz exception fix, I believe (If I'm correct) it will catch the exception before it crashes.

Pls feedback to pastime1971 for those willing to test, if it fixes your network crash. If it indeed crash again, is it only data/voice or just data loss.

Testing condition

1. Using any BB

2. On P204-64 KANG build

3. Flashed latest GMTNITZ.zip or latest data_local_prop_NITZ_GMT.zip if using 824 BB

4. Automatic Time enabled

Objective

1. With Automatic Time enabled, no network loss.

2. If there is, feedback if it is data/voice or just data loss.

3. Provide radio logcat if possible.

logcat -b radio

STATUS: UP

MD5SUM: a873586f224220d1f85bb14cae13ee12
[LG Optimus 2x] TrymHansen:
Confirmed working on #64.
[LG Optimus 2x] temasek:
So far so good. :)
[LG Optimus 2x] yukkio:
I've 824bb/RIL I had not that problem with network loss :O Using Vodafone ES

BR.
[LG Optimus 2x] wesker5131:
Hi. Wanna ask that after i flash this rom, i cant view my content for my sd card? I go recovery mode i saw my files is there but when i open es file explrorer i see nothing?
[LG Optimus 2x] temasek:
Power off and power up again. See if that helps.
[LG Optimus 2x] temasek:
As mentioned, some ( not all ) users encountered network loss at times when on 824 BB with automatic time enabled. Those not affected, good. Those affected .....with pastime1971 NITZ Exception Fix...so far its great!
[LG Optimus 2x] s3nr1:
Is SIM Toolkit still missing for BB/RIL 824?
[LG Optimus 2x] wesker5131:
Temasek. Nothing helps. I check storage got my sd card but the phone cant detect whats inside
[LG Optimus 2x] temasek:
Check other mount points, possibly u mounted it as non-cm default mount points.
[LG Optimus 2x] temasek:
Yes, still missing at least for me. (The stk.apk is there but invisible to me)
[LG Optimus 2x] wesker5131:
Please teach me how? I new to o2x
[LG Optimus 2x] Gaku86:
sorry guys but anybody having a little bug "suspend proccess" using a lot of cpu, my phone had being on like for 12 hrs nd suspend is on for 1 hr now and keep going on and on.

Please i will really appreciate a little bit of help with this
[LG Optimus 2x] temasek:
For a start u can check if your sdcard is mounted as /mnt/emmc? By cm default, external sdcard is mounted as /mnt/sdcard and your internal as /mnt/emmc.

Maybe your internal and sdcard mount points are swapped?
[LG Optimus 2x] temasek:
Once a long time it also happens to me, although I don't see a big drop in battery usage. If I detected it, I just do a reboot.
[LG Optimus 2x] CVonV:
how come only for 824BB/RIL not 725? i still get full network loss even with auto time disabled (but using clocksync instead).. but it does recover by itself after a minute or two
[LG Optimus 2x] temasek:
Wait for pastime1971 to wake up from his beauty sleep to answer u properly.

But basically only 824 BB reports time differently vs all other BB.

I believe pastime1971 would love to debug other bb network loss too. I know he currently using 824 BB as we find it to have the best voice clarity, at least I do.
[LG Optimus 2x] vcarbajo:
with last kang (64) and BB/ril 824, I can't connect to my wifi...

Is there a bug???
[LG Optimus 2x] temasek:
My wifi works great! I'm using it now. Did u flashed a custom kernel?
[LG Optimus 2x] wesker5131:
A thousand thanks. Now i found the path.is there any way yo swap it back?
[LG Optimus 2x] unfugor:
how can i check if deep sleep works when cpu spy says that i do not have a states file, i remember seeing a terminal command for that once but i do not remember where
[LG Optimus 2x] vcarbajo:
No, I use the stock rom kang kernel...

I will reflash it

EDIT: I flash the rom again and still I can't connect to open wifi
[LG Optimus 2x] temasek:
If you want CM Default mount points, then make sure the following is

NOT

checked

CM Settings -> Application -> Use internal storage
[LG Optimus 2x] vkk178:
@temasek : Would it be a problem if I installed this ROM even though I don't have a 824 BB/RIL
[LG Optimus 2x] temasek:
Of cuz no problem. :)

Just don't apply the nitz fix and nitz exception fix. These fixes are for 824 BB users. The KANG Itself can be flashed by anyone.
[LG Optimus 2x] saxon01:
I have question abt battery life,do i need to flash vadonka coz im not that much satisfied with default kernel,i used battery callibration but still not that good like i want,another question do i need to wipe something before puting vadonka kernel ?? Tnx Temasek your rom rocks!!!
[LG Optimus 2x] temasek:
1. If you wish to use custom kernel, vadonka's kernel is a good choice. Proceed to his thread for more answers.

2. If you wish to flash Vadonka's kernel, no wipe is necessary as in his flash script, it will do the WIPEs for u ( wiping cache & dalvik-cache ).
[LG Optimus 2x] saxon01:
Tnx i did it,do i need to do something else or its enaff only flashing?
[LG Optimus 2x] alakyr:
just that and wait a bit more for the first boot with the new kernel
[LG Optimus 2x] temasek:
Its enough
[LG Optimus 2x] saxon01:
Thank u very much,tnx everybody,but ,i just saw post that we r gonna get ics soon!! :))
[LG Optimus 2x] yukkio:
I've problem with the automatic time with #64, I've an hour late.

BR.
[LG Optimus 2x] temasek:
Did u flash the NITZGMT.zip or the local_data_NITZ_GMT.zip ?
[LG Optimus 2x] yukkio:
I thought flashing #64 it's enough
[LG Optimus 2x] saxon01:
I have problem with fc after flashing kernel ,camera video doesnt work show me force close :(
[LG Optimus 2x] pastime1971:
i take it that you haven't experience network loss yet ? stable for hours ?

do you think NITZ exception fix fixed network loss ?

---------- Post added at 08:17 AM ---------- Previous post was at 08:12 AM ----------

i think i need to clarify myself.

NITZ fix a.k.a. NITZ GMT/local time fix only fixes the issue that automatic date/time sets wrong time depending on your timezone on 0824BB/RIL. if you use 0824BB/RIL, you need to flash GMTNITZ.zip or data_local_prop_NITZ_GMT.zip to see the effect. (commit part has been included in temasek's kang since a long time ago)

NITZ exception fix commit included in #64 is for every BB/RIL and it fixes automatic date/time not working at all when your carrier doesn't send DST information. look at radio logcat and look for AT[1]< +CTZV: +4,"12/2/16,8:23:47,0" if it is year/month/date,hour:min:sec,DST or not
[LG Optimus 2x] temasek:
OP corrected.

Thanks for clarifying and u got all covered. Yay!
[LG Optimus 2x] Gabriesu:
Temasek, are you testing the CM9? We are waiting your release!!! :P

Send by LG Optimus 2x
[LG Optimus 2x] tonyp:
@saxon01: Pretty please put a space after each comma and not in front :D

like this: foo, bar

and not like: foo,bar or foo ,bar

thanks :D
[LG Optimus 2x] pastime1971:
NITZ exception handling commit submitted to gerrit at http://review.cyanogenmod.com/#change,12772

@ temasek,

cherry picking this will probably fail due to conflict w/ NITZ GMT commit.

you can manually apply NITZ exception patch for now.

i will rebase NITZ GMT commit once the other is merged.
[LG Optimus 2x] vcarbajo:
I still lost signal with kang 64 and bb/ril 824 with data_local_prop_NITZ_GMT and automatic time enabled

My operador is Simyo, a OMW (virtual operator) from Spain.

I attached a log...

Thanks
[LG Optimus 2x] tzarp990:
I've got a lil problem wondering if I can get some help. When I'm using my phone to tether de connection breaks wen it goes to sleep mode is there anyway I can stop this?

Once again thanks to all devs working and contributin to this rom my o2x is a beast :P
[LG Optimus 2x] cmahendra:
@temasek

Thanks for this superb rom. I have a request after your #64.

As far as I know ROM does not change BB, right? It is flashed with SmartFlash or other flashers. I am with 725 Baseband and have experimented with my O2x on 824BB also, which does not work well in my country India. I experimented and have found 823 and 824 as a unusable or unstable BBs in our region.

Till now you have been making all roms with 725 RIL which was working well for users in almost all countries, then why not keep only 725RIL as base RIL? Those who flash/have 824BB, can use 824RIL with GetRIL or with flash-able RILs provided by you.

After #64 everyone with 725 will have to install/flash RIL separately and I think most of us will be affected. Looks like many will start complaining from now on. Your valuable opinion please.
[LG Optimus 2x] pastime1971:
will take a look. (whoever posts a link to his/her logcat deserves a look... :D)

yeah, i was very

naive

to hope that NITZ Exception fix will help network loss issue.

that exception is eventually handled, and the fix only fixes automatic date/time, i think.

---------- Post added at 11:45 AM ---------- Previous post was at 11:43 AM ----------

i never tried tether, so not sure if it is the cause, but just to be sure, check Settings > Wireless & .. > Wifi settings > [PRESS MENU BUTTON] > Advanced > Sleep policy is Never ?

---------- Post added at 11:50 AM ---------- Previous post was at 11:45 AM ----------

not sure if i understand you correctly.

I believe his kang comes with 218RIL, not 725. (check the first post) and i don't think he will change that (ever!)

since everybody uses different BB, he/she should put "lib/lge-ril.so" in /system/etc/custom_backup_list.txt, so that you keep RIL every time you install/upgrade ROM.
[LG Optimus 2x] atf_agent:
since kang 60, the bluetooth connexion with my car does not drop anymore :)
[LG Optimus 2x] tonyp:
As pastime already said all KANGs by temasek came and (I suppose) will come with RIL 218 - until arcmee changes the RIL in the main streamline which I doubt.

There is even an easier way to keep your KANG between flashes - as you're already using GetRIL you just need to check the "keep RIL between flashes" option in it. Now your RIL won't get overwritten anymore :)
[LG Optimus 2x] cmahendra:
You are right, some recent roms were having 218ril but devices with 725BB were working on it, though with bit less signal. But with 824, its complete network loss.

When checked GetRIL does not have option mentioned by you, "keep RIL between flashes", but it have ""keep RIL after ROM Flash" and when selected it backsup current rom only. Do you mean I must backup by using download and install option before rom flash and then after rom flash, I should directly use RESTORE option in menu, instead download and install RIL?

ps: do you know where do GetRIL backs up the copy of current RIL? which folder? In internal ram or emmc? I looked but did not find.