yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] TJKV:
No no settings had nothing to do with it. The old code did the same thing as the new code, but the old one had some other dependencies somewhere else because it would error out during compile. Like [MENTION=4855459]Blechd0se[/MENTION] said it is something that can be seen in the klog, so the fix will probably be in system_core or something.

I tried following the code in my previous post but my C++ knowledge is very limited. So instead (when I get the time) I'll compile a 4.3 build and poke around in the /sys/ folders and see what's up there.
[Defy Android Development] mrheat:
hi

i have a problem with all your rom variants,

i have mb526 and after flashing i dont have any audio during phonecalls, caller cant hear me i cant hear caller.

no difference when pressing speakerphone, i thougt first its the earpiece thats faulty,

any other audio is fine, eg watch video or play music oder games..
[Defy Android Development] TJKV:
Did you wipe everything including /system before flashing the ROM? What gapps did you flash?

EDIT: See below, I forgot about bt :P
[Defy Android Development] Antiga Prime:
Do you keep your BT on while making phone calls? If so, turn it off (maybe reboot), and try calling again.
[Defy Android Development] TJKV:
[MENTION=4855459]Blechd0se[/MENTION]: Continuing about the USB, this fills the logcat when SB4.3 is connected to a wall charger:

I/BATTD ( 1234): BATTD: Read of Path /sys/class/power_supply/ac/model_name, Failed
I/BATTD ( 1234): Could not open '/sys/class/power_supply/ac/model_name'
I/BATTD ( 1234): BATTD: Read of Path /sys/class/power_supply/ac/model_name, Failed
I/BATTD ( 1234): Could not open '/sys/class/power_supply/ac/model_name'
I/BATTD ( 1234): BATTD: Read of Path /sys/class/power_supply/ac/model_name, Failed
I/BATTD ( 1234): Could not open '/sys/class/power_supply/ac/model_name'

model_name doesn't exist in that folder, only the following are present:

device
online
power
subsystem
type
uevent

I'll flash yesterday's CM10.2 and compare.

I hope you don't mind me tagging you in these posts, it's just in case I find out something that you may know about, not to bug you or ask you to spend your time looking into it :)

EDIT:

Hmm the folder /sys/class/power_supply/ac/ doesn't contain the model_name file, but the folder /sys/class/power_supply/usb/ does! Same in CM10.2. Dunno the significance of this but hoping all these clues add up to something.
[Defy Android Development] TJKV:
[MENTION=4855459]Blechd0se[/MENTION], [MENTION=4173406]Kayant[/MENTION], USB fixed in SB4.3 :D

I found the fix for this the same way I found the init.d fix, by comparing the ramdisk of CM/PA/PAC with that of SB.

The problem was that when compiling the build, the init.usb.rc file inside the ramdisk was taken from here in SB, whereas it was taken from here in CM/PA/PAC. Not sure why that happens but I'll just edit the file in system_core to match that in jordan-common :)

I'll wait to see if Quarx's recent 720p video recording experiments turn out okay and then make and upload a build :)

I guess the 4.3 thread is a GO!

EDIT:

Okay this message still appears in the logcat when connected to AC mains, but charging, sd card access, adb all work fine so not a big deal I hope.

I/BATTD ( 1257): BATTD: Read of Path /sys/class/power_supply/ac/model_name, Failed
I/BATTD ( 1257): Could not open '/sys/class/power_supply/ac/model_name'
I/BATTD ( 1257): BATTD: Read of Path /sys/class/power_supply/ac/model_name, Failed
I/BATTD ( 1257): Could not open '/sys/class/power_supply/ac/model_name'
[Defy Android Development] antarix:
This sounds amazing.

The wait is over and the action starts for 4.3

I'm loving the varieties build up by kayant and TJKV.

Thanks a lot.
[Defy Android Development] TJKV:
Okay guys, I tested and uploaded SB4.3.

USB works, Bluetooth turns on, GPU over/underclock works (See Quarx's Cm10.2 thread for details), 720p video recording works but not really usable. Get it while it's hot ;)
[Defy Android Development] okij:
Here I am... :)

As I already wrote on the CM10.2 thread, I'm thinking about giving SlimBean 4.3 a try. Is it possible to install it over a working CM10.2 installation (because I don't want to loose my apps and settings)?

And two more questions: Does SB contain all German translations (because AFAIK some languages have been left out to save space)? Are Quarx's improvements to CM10.2 (such as 720p recording, when it will be working) being integrated to SB4.3 as well, or are these completely different codebases?

Sorry if maybe some of these questions seem too noob, but so far I just read every now and then in this thread. :)
[Defy Android Development] TJKV:
Well its always better to do a clean flash. You can use titanium or something similar to restore apps. But no harm in trying a direct flash, provided you backup first. Also if you get problems then the first thing you need to do is try a clean flash. All this doesn't apply only to sb4.3 for defy, but for all phones including nexus devices.

About quarx improvements, see my prev post. About German, sorry no clue if it is complete etc, try for yourself and contribute to slimroms.net team if translations are not complete ;)
[Defy Android Development] Kayant:
[MENTION=4148153]TJKV[/MENTION] Well done :) good to hear yh loool thread is good to go now but PA settings is broken a bit atm so tomorrow after school I will get on that hopefully we can have a thread up by friday or thursday. Also if you want you can re-revert the dalvik stuff in system core and dalvik so you don't have to maintain to many projects ;)..... or yh have you tried using the controller app xdaid made some time ago for GPU OC/UC?

Also if you haven't already update wlan branch to cm-10.2, move back to Quarx's proprietary_vendor_motorola.
[Defy Android Development] TJKV:
What dalvik stuff you talking about? Yup already switched and used cm-10.2 Wlan branch and quarx's vendor :) But I forgot to push the local manifest changes to github as usual, will do that later.

The app I think doesn't have the correct values for the new oc/uc system, it only goes in 10mhz steps. So no 266.66mhz etc. Until that is changed we will have to use terminal emulator or adb to 'echo freq > /proc/GPU/max_freq' on each boot up.

Also now when screen is off the gpu freq is 16mhz because of quark's new system, was 100mhz before. May just lead to better battery usage :)

Yup later in the week works for me too, am busy now.
[Defy Android Development] Kayant:
https://github.com/tejus/android_system_core/commit/08ed9a7e811689391cedcc63b1d95ffb904063fa and https://github.com/tejus/android_dalvik/commit/f5a197ea6cd76569425f484a9718e2369d2bbe84

So you can just leave this https://github.com/tejus/android_de...mmit/63580c7cc5774e42a087b8688a014c559ec2af05

Oh kl i guess it's manual for now :p.... I guess friday is better then
[Defy Android Development] TJKV:
Ah okay. I can try it out later, but considering how init.usb.rc from jordan-common failed to be used I would rather stick to a working method. But if it works properly then I'll transfer these commits to jordan-common.
[Defy Android Development] delight535:
I got it. :) Thank you!

Thank you! I found Xposed as well as Xblast! It worked. :)

[MENTION=4148153]TJKV[/MENTION]: Great work! Very big thanks to you! I will try your new rom as I will have time.

Can you tell me what does that dalvik commit make what Kayant mentioned? So shall we wait for an updated build, or your new recent build is just as good? :)
[Defy Android Development] juried:
I was able to connect to my Xperia Z using bluetooth and send a file, but have not been able to use the other device's internet connection via bt. I am unsure if the problem lies in the defy or the other device which is on stock ROM.
[Defy Android Development] okij:
Feedback for SB4.3 from 09-17

After making a nandroid backup, yesterday evening I gave it a shot and installed your latest SB4.3 from 09-17 together with your minimal gapps from 08-14 on my Defy+, ontop of a working installation of Quarx's latest CM10.2, including cache and dalvik wipes.

So now for some feedback: :)

Installation went without problems, everything runs smooth (might even feel e bit smoother than CM10.2, but I'm not sure). :good:

Available RAM seems to be about 20-40 MB more than with CM10.2 (of course this is difficult to compare because of the apps that Android tries to keep in memory, so I used the app "Rebooter" to look at the free memory both after using the "Kill apps" and "Hot boot" functions). :D

Disabling HWA for apps is working, I checked it by disabling HWA for Google Maps.

Two times my Defy+ hot-booted (i.e. starting directly from the SB splashscreen) directly after deinstalling two apps. This wasn't reproducible though, since deinstalling a third app went without problems.

Is it normal that SB is set to 213 dpi by default? I already set it to 240 dpi because for me the icons and text were bit too tiny. :cyclops:

Battery usage over night seemed to be even a bit better than with CM10.2 (probably Quarx's change of the GPU clock to 16 MHz contibuted to this, since I didn't try his latest nightly over night yet).

I found one bug: In settings, I get a force close when I try to open the Security part. Could you please check if this is generally the case or if it's maybe just because I didn't install SB4.3 from scratch (which would be strange, because everything else so far works as it should)? :confused:

So all in all, from what I tried so far, this is a great ROM for our Defys, especially because of its seemingly sleeker memory usage. Do you know if there are any numbers (probably also from the other SB4.3 supported devices) about how big is the benefit of SB in terms of memory consumption?

Many thanks for the work you put into this project, I really appreciate it! :cool:
[Defy Android Development] hotdog125:
213dpi was default even for me. As for the security part of settings, it works fine, i could open it, set a screen lock, etc. I guess you need to install fresh. I think even the hotboot was caused by a dirty flash.

Meanwhile, CPU and GPU overclock made everything noticeably smoother:D
[Defy Android Development] TJKV:
Security settings is fine, no problems. Like I said if u find problems first do a clean install. But about hotboot when uninstalling apps, known SB problem. To avoid this, kill the app (swipe away in recent apps screen) before uninstalling it. If you don't kill it then hot boot occurs.

As for memory consumption, I have a screenshot of SB4.2.2 with me, see below. Just the ROM, no gapps etc. This says 245MB free, but I have seen it go down to around 280MB free too!

Something I am trying out on my phone:

One of the SB bosses said they had talked about (probably) making an alternative odexed version. But this will be at the expense of some mod-ability. Check the SB4.3 for nexus 4 thread I have linked to above to see what exactly. So I tried out this flashable zip someone mentioned two posts later in that thread that helps odex the ROM to see if it makes any difference. If anyone else wants to try it then backup everything and give it a shot :)

Note that do not use the dexo -all option. I first did the following (with reboots in between each command) :

dexo -sys

dexo -fr

dexo -dat

But that ended in a bootloop. So I restored a backup and tried this instead:

dexo -fr

dexo -sys

dexo -dat

And this worked fine, running it odexed right now.
[Defy Android Development] rol525:
After one week and two days with PA all is perfect. Battery is very good and smooth.

I haven't got memory leaks,reboots and fc.

Enviado desde mi MB525 usando Tapatalk 4
[Defy Android Development] okij:
Since I am too lazy to do a clean install (yet :D), today I deleted the app data of the Settings, which cured the problem. Using the Security settings now works without problems and the system runs stable, as it already did before. :)

Thanks for this clarification! I consider this just a minor bug.

I get about the same numbers if I factor in the memory of the running and cached apps at the same time. :cool: If I happen to install CM10.2 again I will have a closer look on its memory consumption in comparison to SB4.3, because for me the most important feature of SlimBean is its small footprint, because our Defys just have those 512 MB of RAM.

If I get it right from what I read about odexing, the start of the system and of apps should become faster. Did you notice any speed improvements when opening apps? Is it worth trying?
[Defy Android Development] TJKV:
Honestly I never notice such small things, so no clue. I don't bother with benchmarks etc either, so I'll leave it to someone else to test it out in detail if they want :)

I remove unnecessary apps from the ROM before flashing, keep only the apps I really need (including Appsi Sidebar, it's awesome) and don't bother much about how much RAM is used. The moment it starts to slow down I reboot. I found that obsessing over small tweaks is not worth it. However odexing sounded interesting so I gave it a try :)
[Defy Android Development] xiiihyou:
so.. odex or deodexed rom?
[Defy Android Development] TJKV:
If you are willing to experiment, willing to risk the stability of the device just to test it, know enough to solve problems that may come up, read logs etc, know what odex and deodex is and are interested in testing the difference between them then you could try it. Not just with SB but probably any ROM. That's my opinion anyway. Basically it's up to you. I'm neither for it nor against it.
[Defy Android Development] stari_alca:
[MENTION=4148153]TJKV[/MENTION], I'd appreciate if you can point me in the right direction here. I am trying to install the LatinIME.apk from the AIO pack as you suggested. Reason is I'd like to add Croatian as one of the languages I use on the keyboard and I can't install the dictionary for Croatian -- or any other additonal language, BTW.

So, I'm on 526, SB4.3 17.09., your minimal gapps.

I managed to get the LatinIME.apk in /system/app/ and libjni_latinime.so in /system/lib/. Fixed permissions using ADB (chmod 644) and checked the apk and lib permissions and they are correct.

When I try to use the AOSP keyboard with English layout and dictionary it works well unless I try to gesture. Gesturing crashes the app. I can type fine but gesturing is a no go. When I tried gesturing right after I flashed the gapps it worked fine with the slimmed down version. Once I pushed the AIO LatinIME.apk gesturing stopped working.

When I try to install add-on dictionaries I get the same result as with the slimmed down version of LatinIME.apk. It begins searching for available languages and never finds anything.

Is there anything that comes to mind that I can try?

Oh, I forgot. I downloaded the AIO aroma installer off the SB site and tried flashing just the full language pack LatinIME.so. Yeah. It also installed "necessary" gapps and I ended up with 9 kb of free space on the system partition. And when I got into the language settings to see if I can download languages AOSP keyboard wasn't available. Probably ran out of space before it got installed. So that's no help either.

Would it help if I stripped down the non-aroma AIO flashable zip (from the SB site) from everything else except the LatinIME.apk?

The SB4.3 is a great ROM. I find it so difficult to understand how its possble to have a newer version of the OS that is smoother and more responsive and less battery demanding than 10 and 10.1.
[Defy Android Development] TJKV:
Well what I do is download the latest AIO non aroma and remove everything I don't need. I basically match my minimal gapps, plus a few apps like Gmail, Hangouts because the Slim AIO versions have support for TRDS. You can try doing the same, should work. But I also remove the 30MB keyboard, so I don't know if it works or not. If it doesn't then I guess you can use the Play Store version (my CM10.2 minimal gapps has the apk and lib files)
[Defy Android Development] xiiihyou:
Just a minor feedback. My RAM usage is about 444mb, leaves only about 30mb of free space. but heres the catch, no lag or sluginess, but only about 1 second delay switching between apps. Greenified+HWUI only a certain unused apps. Running SlimBean 4.3 latest. Apart from that, IDK what causes the Setting to be all black not showing anything, only solution is to reboot
[Defy Android Development] TJKV:
Settings all black? Clean install? How many times it happened? If it is reproducible then provide logs.
[Defy Android Development] xiiihyou:
about 2 times. Not reproducible. Clean install coming straight from SBF>Flash Mokee 4.2.2 For Dual Recovery>Reboot>Aroma Wiper All Partition>Installed Latest Dual Recovery>Flashed Slimbean. It only happen when my phone is synchronizing for the first time. It didn't happen after that
[Defy Android Development] F.Ace:
For Illusion user: can you post the default vsel set?
[Defy Android Development] antarix:
xdaid updated the GPU overclocking app to latest values by quarx

will use it now.

download it from here

http://xdaforums.com/showpost.php?p=45712983&postcount=724
[Defy Android Development] juried:
OK, I did more tests, and ot seems that bt tethering only works one way: The defy will share its internet but cannot connect to the Internet by tethering to another device. Tried to Xperia Z (stock) and Nexus 7.2 (also on Slimbean 4.3).
[Defy Android Development] yogesh324:
GPU Control for slimbean 8.1

Hi [MENTION=4148153]TJKV[/MENTION] can u pls add gpu control to ur slimbean 8.1 rom
[Defy Android Development] Kayant:
People read this --> https://plus.google.com/106978520009932034644/posts/L8FJkrcahPs

Thanks to ccav2000 for the reminder.
[Defy Android Development] mnemonic_br:
Hi!

I have flahed Illusion on my Defy+, everything is working perfectly.

Now I am trying to the same in another Defy+ of a friend and everything but the Wifi is not working - gray switch and never goes on! I have flashed tons of times, full wiped, nothing makes it works. I rollback to another early version using 4.1.2 and the wifi works fine... I read a lot of threads but did not find a solution. What can I do?

Have flashed GAPPS 20130812-signed. Please help.

Thank you!
[Defy Android Development] TJKV:
Yeah I plan to make another build for 8.1 sometime

Cyanogen inc is making really big waves
[Defy Android Development] runeupo:
There's Steve Kondik's other comment after grabbing popcorn... in my eyes it reads like damage control:

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

[mb525red taki_jeden 09052013 [SlimBased]]
[Defy Android Development] mnemonic_br:
Nobody?
[Defy Android Development] Antiga Prime:
Define "full wiped".
[Defy Android Development] mnemonic_br:
Wipe /system,/data,/cache even batt status, dalvik etc. Tried even these scripts: http://xdaforums.com/showthread.php?t=1818520

Have just tried Pacman version, also no wifi, all the rest goes fine. Does it needs a kernel change?

Thank you.
[Defy Android Development] Antiga Prime:
You don't need a kernel change. It should work fine as it is. When I was on illusion I used "Slim_Gapps.4.2.2.build.7.x.zip", which is what I'd recommend you doing, since it's the only thing I can see you've done differently than I did. If you can't find that zip file (I don't remember where I got it from, maybe OP or the ROM post), you could also try using the corresponding 4.2.2 gapps from this thread.
[Defy Android Development] mnemonic_br:
Thank you! I will gonna try. The gapp I found there was 8M only, is it correct? named gapps-jb4.2-20130301-minimal_edited_20130806
[Defy Android Development] Antiga Prime:
Yeah, you could try with that one, and yes, it's that size. If not do a google search for the file name of the gapps I mentioned initially, since I don't remember where I got them from (probably the slimrom website).
[Defy Android Development] mnemonic_br:
I quit. For some special reason wifi will not work with that device, I am not saying with Defy+ but the one with my friend as my son's Defy+ is running very well. I guess it should be a driver issue, but I am unable to fix that.

Thank you all.
[Defy Android Development] pprakash:
Have you tried any restore of WIFI settings from a previous backup? I had similar issue when I moved from GB to SlimBean. The name of the WiFi driver is different and need to be changed in /data/misc/wifi/wpa_supplicant.conf.

I changed the value of ctrl_interface=tiwlan0 to ctrl_interface=wlan0. Then it started working.
[Defy Android Development] dkv2222:
Well I hope no one takes this as an offence to their hardwork.

I just wanted to ask if we have any progress with PA Cuz they have a new update with halo improvements.

This is not an eta. So. Sorry if its out of the topic or anything.
[Defy Android Development] TJKV:
Check the below link to see the latest activity. All this is open source for a reason.

https://github.com/Kayant?tab=activity
[Defy Android Development] Kayant:
I will resume work on PA tomorrow being busy with school lately

:p
[Defy Android Development] Hasuris:
I am running the lastest Slimbean and love it! But why is the default LCD density at 213dpi? Had to change it to 240 via guide under "Interface", I cleared all data of the PlayStore and Google Play Service and Framework as advised and this broke all the links to the store of my apps. Under "My Apps" in the store is now nothing :(

I hope titanium can fix this
[Defy Android Development] Antiga Prime:
I followed the guide step by step and nothing broke. You probably missed a step.
[Defy Android Development] adyo13:
With Slim 4.3 I can't modify

anything in system folder (delete apps, modify

key layout etc), I get error remounting. Any

suggestion? Back to Slim 3.1.1 for now, a brilliant rom.
[Defy Android Development] TJKV:
No problem here, you are probably doing something wrong. Enabled root? What file manager app are you using? I am able to use Solid Explorer to modify /system. Also try via an adb shellusing a command prompt after mounting system as rw:

mount -o rw,remount /system
[Defy Android Development] Hasuris:
not sure why but while I was slowly backing up, deinstall and reinstall all my apps from the store, all the missing apps reappeared in "My Apps".
[Defy Android Development] NeoPreacher:
illusion rom rocks!

really like your illusion rom build. and i experienced better performance with pureperformance mod but just tested for three days. will give more feedback later.
[Defy Android Development] HammDefy:
Just installed Illusion - Great Rom but I don't get connection to google server. Tested with both minimal Gapp and minimal Slim Gapps from Slim Bean web site. Internet connection is fine in all user Apps. What can it be ??

Update: My fault - Illusion is 4.2, i only had to search Slim Gapps für 4.2. Now it's fine :)
[Defy Android Development] Rawwr:
Can you temme where did u found that mod ?

Pls ?
[Defy Android Development] HammDefy:
http://goo.im/devs/Kayant/Illusion/Illusion-mb526-4.2.2-2.1.beta-20130717-2320.zip. I had to take Slim Gapps from official SlimBean site. There are minimal Gapps for 4.3 and for 4.2 ;)
[Defy Android Development] yogesh324:
[MENTION=4148153]TJKV[/MENTION] i m currently using ur slimbean 4.3 beta cause it has gpu control the problem right now that i m facing is that network monitor mini which used to work on previous version of slim bean doesnt show network speed anymore do you know any way to fix it...

Thanx
[Defy Android Development] TJKV:
I would guess this has to do with items 9 and 10 here. Fix might apparently be in the kernel.
[Defy Android Development] NeoPreacher:
got it from here: http://xdaforums.com/showthread.php?t=2360670
[Defy Android Development] ojas25:
I am using illution 2.1 on defy+. It's amazing and smooth. Thanks Kayant.

But I have one query. How to lower the resolution of video recording??
[Defy Android Development] hotdog125:
I think you can do that by editing mediaprofiles.xml
[Defy Android Development] yogesh324:
[MENTION=4989449]NeoPreacher[/MENTION] i wanna ask u can this pureperformance mod work with slim bean 4.3 cause when i install the zip my phone gets stuck in boot loop
[Defy Android Development] NeoPreacher:
i really don't know. sorry dude.