yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] YetAnotherForumUser:
They seem to use a variation on a patch which was reverted in the current repo. The comment for the reversion goes as follows:

...except that they don't unlink the created file like that patch did.

Moreover it seems to be plain wrong in that [FONT="Monospace,Courier New"]mkstemp()[/FONT] returns an open file descriptor (int), not a *char, so '[FONT="Monospace,Courier New"]chp=mkstemp(chp)[/FONT]' does not make sense.
[Defy Android Development] Kayant:
Yh I got too happy and don't look too much into the patch :p .... Sorry...

I found something ---> https://github.com/SaberMod/android_external_busybox/commit/ad3a410b73fd9fdd75932317007f9d8c97b1d3b5

Would that help us in anyway?
[Defy Android Development] YetAnotherForumUser:
No, that is unrelated to the current issue which revolves around the use of mktemp() (deemed insecure so the compiler issues a warning) and the fact that the compiler is told to treat all warnings as errors. There already is a patch in the current repo which is supposed to circumvent this problem, but it does not seem to be effective. My patch is effective but crude in that it tells the compiler not to treat warnings as errors. It is a quick and dirty fix to get the code to compile, no more.

Purely for informational purposes: more about strict aliasing.
[Defy Android Development] Eric Zhang:
---------- Post added at 11:12 AM ---------- Previous post was at 10:24 AM ----------

[/COLOR]It is less stable than your cm10.1, and the stabler ones needs to wait.
[Defy Android Development] gkovacsp:
Probably you are looking for profiles:

Settings / Profiles
[Defy Android Development] xdaid:
Great work Quarx, once again.

For those who get disconnected from 3g frequently (as it happens to me), this should fix something.

Once the connection is lost it should reconnect automatically.

It's the SlugZero patch re-adapted for 4.3, it took me a bit because this time something has changed in /framework/opt/telephony and the patch applies to a different file in a different folder. I had no time yet to build the repo and make a proper test, but it should work.

project frameworks/opt/telephony/
diff --git a/src/java/com/android/internal/telephony/dataconnection/DcTrackerBase.java b/src/java/com/android/internal/telephony/dataconnection/DcTrackerBase.java
index 0c18ab7..5169da7 100644
--- a/src/java/com/android/internal/telephony/dataconnection/DcTrackerBase.java
+++ b/src/java/com/android/internal/telephony/dataconnection/DcTrackerBase.java
@@ -1402,6 +1402,8 @@ public abstract class DcTrackerBase extends Handler {
putRecoveryAction(RecoveryAction.GET_DATA_CALL_LIST);
} else {
if (VDBG_STALL) log("updateDataStallInfo: NONE");
+ //This is just a hack to get data connection up again, proper way would be to actually trigger recom
+ Phone.mCM.getDataCallList(this.obtainMessage(DctConstants.EVENT_DATA_STATE_CHANGED));
}
}

EDIT: patch fixed and re-uploaded (please download it again - 843 bytes)
[Defy Android Development] rol525:
On the calculator there´s a easter egg.magikarp splashed but nothing happened
[Defy Android Development] ccav2000:
Is this patch ok? It seems that some characters are truncated and missing.
[Defy Android Development] xdaid:
for some reason, yes :eek:

i'm going to re-upload the file

EDIT: ok done, patch is ok now
[Defy Android Development] Quiksilver20:
Hahah this easter egg is so funny :P I didn't realise there was one in CM10.2 :P
[Defy Android Development] zyxwvut:
Sorry for OT, but, I left my defy some time ago. I just wanted to share how thoroughly impressed I am with the active development that Quarx continues to deliver, proving over and over again that he did indeed deserve his title as XDA's BEST developer. I wish he had a S2 hercules (T989) lol Quarx FTW :P
[Defy Android Development] shorty66:
Did anyone realize that quarx is just 21? I just saw this on his profile page and where totally blown away.

Great Job!
[Defy Android Development] rompip:
No dev tools

Dears,

I installed the "cm-10.2-20130801-NIGHTLYmb526" (this seems to be the 168 mb nightly) and everything went well, BUT after booting I missed the root. So I thought I'll proceed as previosly described, but I do not have the Dev tools in my settings. I am even missing the part on the USB debugging...

I cant't access Custome recovery (Power + Vol down --> Yellow Triangle) so no chance to install different CM10.2

Any idea how I can install the missing and regain root aceess?

Your support is appreciated!
[Defy Android Development] 2Pints:
from what i understand, you can get to the recovery by pressing volume down when you get the blue LED, form ther you should have an option of stock and custom recovery amongst other things.

As for the Dev options, this now has to be turned on by tapping something a few times in the about phone menu ( cyanogen mod version??) there should be something about that further back in this thread.
[Defy Android Development] danimagrin:
it seems that su is broken!
[Defy Android Development] postx:
To enable Dev options you need to click seven times at 'Build-Number' und er 'Settings' / 'Phone info'
[Defy Android Development] lexer98:
No is disabled by default ... read previous post :good:
[Defy Android Development] zyxwvut:
I did realize this a over a year and a half ago I noticed on his profile how young this kid is and it's even that much more impressive! Mad skills for sure!!
[Defy Android Development] TJKV:
The Dialer became a new, separate app called Dialer.apk from the rest of Phone.apk in Android 4.3, so the theme makers have to update their themes to look for Dialer.apk instead of Phone.apk to theme the dialer.
[Defy Android Development] desihu:
Taking of the dialer though a simple enuh bug, but to iron out the future release, the lock screen short cuts to dialer do not work. It simply unlocks the screen.

Secondly, I am extremely happy with the Aug 01 buld. its is working good and I managed to further strip down the rom size to 143 from the original 189MB along with the custom gapps of 20MB size. All is normal for daily use, except for BT which I haven't tested.
[Defy Android Development] rompip:
Thanks worked perfectly. I read about it in some earlier post, but I couldn't recall...

Thanks for letting me outsource my brain :)
[Defy Android Development] sutter.cane:
nope, i mean the "user profiles" (e.g. a profile for me an another for my son)

youtube[dot]com/watch?v=CD2dGP_xQKs

i think it is only possible to configure that only on a tablet and not on a phone... :confused:
[Defy Android Development] Kayant:
[MENTION=513620]Quarx[/MENTION]

Do you know of anyway I can reduce the system.img to fix this error -->

Install system fs image: /home/kayant/PAC/out/target/product/mb526/system.img
/home/kayant/PAC/out/target/product/mb526/system.img+ maxsize=331776192 blocksize=135168 total=345704832 reserve=3379200
error: /home/kayant/PAC/out/target/product/mb526/system.img+ too large (345704832 > [335155392 - 3379200])
make: *** [/home/kayant/PAC/out/target/product/mb526/system.img] Error 1
make: *** Deleting file `/home/kayant/PAC/out/target/product/mb526/system.img'

Also [MENTION=1316716]YetAnotherForumUser[/MENTION] following your advice and guidance I looked at CM's recovery to see how they fix the issue. The flag you mentioned was applied there so I applied it to the module in TWRP that errors out and it complies fine now but I haven't tested if it works as PAC-man rom is erroring out because of the error above.

I also disabled fuse building in the recovery since we don't use it and it's easily to disable it here then having to fork vendor_cm to disable it.

Fixed here ---> https://github.com/Kayant/Team-Win-Recovery-Project

Also to another building and to lazy to patch bootmenu with YetAnotherForumUser patch I patched it here ---> https://github.com/Kayant/android_external_bootmenu
[Defy Android Development] okij:
Mobile data drops in CM10.2

On two occasions, one was after driving through a tunnel this morning, I had mobile data drops with CM10.2 - which means that I had to turn off and on mobile data in quick settings to get mobile data working again, although the "H" symbol still was shown in the top bar.

These mobile data drops had many of us with CM10.1 until it has been fixed by [MENTION=1892363]xdaid[/MENTION] (by adapting the SlugZero patch to CM10.1), which then has been incorporated by [MENTION=513620]Quarx[/MENTION] in the CM10.1 nightly of 2013-06-26.

Because of this, I would like to ask all of you CM10.2 users if you also experienced mobile data drops on your Defys. :confused: :D

And I would like to ask [MENTION=513620]Quarx[/MENTION] if the SlugZero patch probably hasn't been incorporated into CM10.2 yet. If this is the case, it would be great if you could merge it into the next nightly. :cool:
[Defy Android Development] ccav2000:
Didn't see any commit in github, but [MENTION=1892363]xdaid[/MENTION] has adapted the patch for cm10.2, it's just a couple of pages before this post. Now it's just a matter of [MENTION=513620]Quarx[/MENTION] applying the patch.
[Defy Android Development] slimshady76:
The RIL bug stroke me about 17 times in one day last Friday :eek:. My phone spent more time rebooting than in a "normal" operating mode. So far I could only deduce this happened because my provider rents antennas from other carriers in the city I spent most of my day.
[Defy Android Development] cyrusct82:
Read this

http://xdaforums.com/showthread.php?p=43824345
[Defy Android Development] rompip:
Can't store settings

So after some minor issues I had I now installed 4.3 and rooted. However I noticed that every time I reboot the phone it will not store the settings and I have to go all the way through the settings again, including the starting operations such as language settings, gmail account, WLAN, etc.

I suppose I missed something to store all this info. Furthermore I do not seem to have any internal storage available, even though nothing no additional programs are installed.

Thanks for any help/support.
[Defy Android Development] okij:
I'm not sure if we're talking about the same thing though:

I was referring to mobile data drops (which don't need a reboot, but just turning off and on mobile data, as a workaround), while you were referring to the RIL bug (where the whole RIL, not only the data connection, stops working and only a reboot helps).

I luckily didn't have problems with the RIL bug in CM10.2 yet, but then again I also did not have many under CM10.1. :)
[Defy Android Development] slimshady76:
Looks like I misunderstood you then ;). So far, after about 5 days with CM10.2 I haven't suffered from any data drops, or at least I didn't notice them. The only connections issues I've been through were the ones I detailed in my previous post.

Now for a minor bug report, I find it hard to say whether if GPS is enabled or not from the Quick Settings pull-down menu (the one which appears after swiping down from the top of the screen and tapping on the upper right corner icon). From what I can tell, it looks like it's behavior is reversed from the one on the power control widget.
[Defy Android Development] okij:
This looks like a graphical bug in the the Quick Settings pull-down menu to me: IHMO, the colour of the activated GPS symbol should be a light blue, where actually it is a dark grey. Same applies to WLAN and Bluetooth: They also both have a dark grey instead of a light blue symbol when activated.

When those symbols are deactivated, they have an outlined white symbol, which looks OK.

For comparison: the hotspot symbol is outlined white when deactivated, but light blue (and filled) when activated, which looks OK for both states.

I'm not sure if this is a bug that Quarx can or should fix, or if it's a general bug in CM10.2. :)

edit: I further examined this issue and now I'm quite sure that there is no bug involved: :angel:

Some symbols have three states:

- turned off: displayed as outlined white symbol

- turned on, but not in use: displayed as filled dark grey symbol

- turned on and also in use: displayed as filled light blue symbol

I just tried it with GPS and Wifi and they behave like this. :)
[Defy Android Development] bone101:
Same problem here , but only with GPS icon in Enegy control..

Symbol stay grey all the time and gps could be enabled but don't disabled ....

MB525
[Defy Android Development] slimshady76:
Cool, thanks so much for making this clear for me!
[Defy Android Development] Antiga Prime:
You most likely have a damaged partition. You can try wiping /data and /cache with the Aroma Wiper, if that doesn't work, then I'd go into the Boot Menu and format those partitions to EXT3, and then back to EXT4 (the Wiper doesn't format). And if that still doesn't work, you'll probably have to flash an SBF which will fix all the partitions.
[Defy Android Development] TJKV:
I dunno much about theming, but I guess you can find a guide here on how to make themechooser themes.

EDIT: This looks like a good place to start
[Defy Android Development] Codeseven:
im having a problem with superuser. setvsel and root explorer arent asking for superuser permissions. and i cant get servsel to modify the phones voltage settings. i dont have to re-root my phone with 4.3, do i?

*edit*

never mind got it. had to open up developer access and change some root settings to allow full access
[Defy Android Development] gyorgyszemok:
Having problems installing. I get either status 7 or status 0. I know its connected that my CWM is 5.x not 6.x. How to update it? Because somehow neither can I install TWRP...
[Defy Android Development] rompip:
[/COLOR]

OK, but I have the problem that I can only enter the Android recovery, not the custom recovery. So I am not able to install Aroma... I have wiped data, however it did not change.

How exactly do you format the partitions to EXT3/EXT4 in boot menu (that is power and vol+, right?)

Thanks
[Defy Android Development] Antiga Prime:
You could probably use the search function, and/or google, it comes in handy every now and then. ;)

To get to the bootmenu you press Vol down once you get the blue light when you power on the phone. If you can't get to the bootmenu and/or custom recovery, then either search for a solution or flash an SBF.
[Defy Android Development] rompip:
Sorry, maybe I was not precise. I do have access to the Android Recovery, but there I only have the option to wipe cache/data. This did not work. So I was wondering if anybody could assist me to get to the bootmenu and do the repartition ext3/ext4. Or would that be done in the recovery, too?
[Defy Android Development] frozenwaverider:
You must read the reply properly, Antiga Prime said to press vol down when you see the blue light(it flashes up for about 1 second) then you can do the format/s, if you can't see it then how did you install the ROM???

You definitely have an ext3 partition & that's why it is a clean reset with every reboot

Did you format in STOCK recovery? If so, that's how it happened ;)

MB525 Red lense
[Defy Android Development] chaitanya.shende:
Telephony problems??

Yesterday I tried to flash the 4.3 0108 build on top of 4.2.2 0907. Everything flashed ok but immediately after the phone booted up I was greeted with the infamous telephony problem. Naturally I thought rebooting would resolve it, so I rebooted the device for few times but no dice. Everytime I used to get the same problem. So I checked the baseband and found that it was set to use European one. I changed that to the one that used to work for me [South East Asia] and rebooted but got still the same error. And whats more, the baseband was reset to European again!

Hoping that a clean install would have better luck, i did a wipe data/system/cache and flashed the 4.3 build again. Still I was getting telephony problems!!! Needless to say I tried all the above steps with the clean install as well - i.e. rebooting, changing baseband etc. I even tried after manually restoring the baseband files from my previous backup.

Anybody faced this issue with 4.3?
[Defy Android Development] Codeseven:
Hopefully you're using TWRP. Google "defy ultimate wipe", I think it's called, and get the ext4 full version. It's installed just the same as you install GApps and OSs. With TWRP, install the wipe zip, 4.3 and then the gapps, you should have a very clean install. I had the same telephony problem during the end of using 4.2.2. But I've had zero problems so far in 4.3 after using the ext4 wiper zip. Keep in mind not to restart unless you're sure you have an OS installed or you'll softbrick your phone!
[Defy Android Development] TJKV:
Thanks a lot for this, got 4.3 based Slimbean 4.3 alpha3.1 to boot with this :)

http://xdaforums.com/showthread.php?p=44332952#post44332952
[Defy Android Development] xufooo:
i had the telephony problem when i flashed a 40m gapps.
[Defy Android Development] antarix:
thanks for V4A.

how about navigation bar?

i can't find where to activate it though i found custom actions for hardware keys.
[Defy Android Development] jassi32:
add "qemu.hw.mainkeys=0"

in build.prop
[Defy Android Development] Spotja:
CM10 and CM10.1 abandoned? Guess I'll just jump ship
[Defy Android Development] ak.pp:
Lose connectivity

Hi All,

Defy+ on 2013-08-01 nightly, upgraded from CM10.1 wipe cache/delvik.

Every once in a while I lose connectivity (whether on E or H)- the letter is showing but there are no 'arrows' on the signal bar indicating download/upload and I can't access anything online. Anyone else facing this issue?
[Defy Android Development] nostupidthing:
deleted
[Defy Android Development] major9:
Facing same issue. I have to reconnect data when it happens.
[Defy Android Development] okij:
Yes, I'm facing the same issues, both are already known bugs:

missing arrows for indicating data in / out transfer

loss off mobile data connection ([MENTION=1892363]xdaid[/MENTION] has already adapted the "SluZero patch" for cm10.2, but it hasn't been incorporated by [MENTION=513620]Quarx[/MENTION] yet); as major9 already wrote, turning mobile data off and on helps as a temporal workaround

Let's just await the next nightly... :)
[Defy Android Development] paduladiego:
Guys, anyone else noticed that after a few days the wi-fi to update the list of wireless networks, even doing manual ... and restart her recharge??

is it just me??
[Defy Android Development] danimagrin:
The font when writing on Whatsapp or any other app seems thicker than on 4.2... Any way to change it?

Thanks!
[Defy Android Development] rompip:
Well, sometimes it's just about proper reading. Everything is fine now, the EXT4 partition works again and I love this ROM.

Thanks for you support, this is very appreciated!
[Defy Android Development] Quiksilver20:
I was wondering the same but i thought i was because of CM10.2 (i came from CM10)
[Defy Android Development] KairosDev:
4.3 on Defy (red lens)

CM10.2 is amazing on my Defy. Some things I have noted however:

The camera works fine taking pictures.

The tiny camera in the notification toggle things also works fine.

I cannot take video longer than about five seconds, the camera crashes.

Focal is immensely slow, and crashes the camera.

If the camera crashes at all, it cannot be accessed, and phone must be restarted.

WiFi, 3G, RIL works fine.

Phone works fine, but crashes if I try to go into advanced settings in the settings of 'Phone'.

There's a little delay in waking the phone, but this has already been noted.

That's all so far. Amazing ROM, using it as my daily driver, nothing really bad at all!

Keep it up CM and Quarx :)
[Defy Android Development] Quiksilver20:
What tiny camera are you talking about? where i can find it?

It's known Focal crashes, I use stock camera instead.
[Defy Android Development] KairosDev:
Tiny camera

If you go to Settings > System (under Interface) > Quick Settings panel > Tiles and Layout

and select 'Camera', then when you go to your toggles and tap the little camera icon, it has a tiny camera in the tile. Tap it to take pics :)

If you hold down the tile when its not in use, it takes you to the normal camera.
[Defy Android Development] polarfoxx:
Is this ROM for daily use?

Or does it have battery drain issues like the CM10 mod had for ages?

Last time I tried CM10 I got battery drops all the time, and the OS eat 40% of the battery.
[Defy Android Development] woodman:
I've tested, CM10, CM10.1 and with this CM10.2 ROM, in my experience I haven't noticed any abnormal battery drain.

Abnormal battery drain and battery drops are two separate problems. Plesae check this thread called "Defy battery drops explained".

Battery drops could be because your battery is too old or just because you flashed a new ROM without doing a full discharge/charge cycle OR because you restored a NAND backup which had a higher battery percentage value than the moment when you started your restore process.
[Defy Android Development] bnbhaohao90:
thx for your work！~！
[Defy Android Development] nedywest71:
Whats is amazing then? If second most important feature after taking and making calls and messages , Camera, does not work properly.What else you use your phone for?
[Defy Android Development] polarfoxx:
The camera is so bad, not worth even making a shot with it.
[Defy Android Development] disadjusted:
defy cam

browsing is 3rd most important for me, cam at position 4.

i have had good results with camera jb+ and camera zoom FX, both paid apps, on CM10.1, and like you i hesitate upgrading due to cam issues...

that's simply not true.

even in low light situations you can take excellent pictures with the defy - if you know how to use an app with some exposure options... and you are aware that there will be noise - which you can cancel later on PC or with software like perfectly clear even directly on the defy.

of course you can't compare to DSLR - but it's a mobile cam, what do you want?
[Defy Android Development] yellowbal:
I am getting some battery drain, about 5.2%/HR on average. This is with the screen off, no syncing, no wifi, no 3g. The charging rate also seems very slow, even with a good wall charger.

Other than the battery issues, the ROM seems pretty good. It's fast and doesn't crash very often.

I did run CPUSpy and Better Battery Stats but couldn't figure out if it was a kernel issue or a rouge app.
[Defy Android Development] matiasrey:
Weird, my battery lasts for 2 days, so it´s not a bug. The only thing that won´t work in my case is Focal (keeps FCing), but I just use the regular camera for now. Video recording works fine too. No reboots or anything.
[Defy Android Development] frozenwaverider:
In camera settings I bet you are 3.8MP wide, change to 5MP

For some reason with latest ROM the camera won't focus unless in 5MP, it does work with Camera ZOOM FX though which is paid app, another paid app Camera JB+ only works 5MP???

Anyway try that, hopefully it will help you

MB525 Red lense
[Defy Android Development] disadjusted:
3,8mp 16:9 widescreen

i recognized that 3,8mp (16:9 wide) does not affect image quality. it just cuts pixels/lines of the image on top and bottom to fit the 16:9 aspect ratio. perhaps what you mean is that "sharpness" on the screen seems to be reduced as much as the picture is less "zoomed out"...

with both camera zoom fx & camera jb+ this 3,8mp widescreen mode is available through options for me (and focus works), but i'm still on 04-15 build...

so there's a problem on 07-09 build (cm10.1) with that...? or do you mean cm10.2 builds?
[Defy Android Development] frozenwaverider:
This is for current build, auto focus worked perfectly in all previous builds ;)

I have cleared app data, uninstall, reinstall, restore from backup to older version, none auto focus wide screen, comes up red just before taking picture and result is very fuzzy, if I use infinite it is ok

MB525 Red lense
[Defy Android Development] disadjusted:
build?

so you mean only cm10.2 build from 08-01 is affected?

anybody else with these problems?
[Defy Android Development] shorty66:
Im running 8-1 and the camera works perfectly.