yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] q4q9x:
LegacyXperia Center?

I built CM11 for Smultron on my own and it's working fine. Unlike the official 20151117 build, however, there's no LegacyXperia Center app to be found. The Changelog says it was redesigned. Should this app be present on self-made builds?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] umaturman:
As far as I know it's supposed to be only in the official builds. Although you can curl extra.xml into the local_manifests folder :) It will be fine as long you wouldn't post bugs from self-built releases.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Prass93:
Please porting fitur "Wipe Battery" kernel Stock Extended v.2 Ray to include kernel CM11 for calibration battery after install update CM11/CM12/CM13 Thanks
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] umaturman:
[MENTION=5772310]mp107[/MENTION] check the mtdparts string in mango defconfig for typos (especially whitespaces).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mp107:
Thank you for the help.

I have removed my own comments (just in case I've added some not commented out lines) and changed numbers to dividable by 512 and it fixed my problem.

[MENTION=3683123]nussbaum[/MENTION]

I can see in your signature that you have Xperia Mini.

Did you manage to fit CM11 or CM13 on that device in 225280kB /system partition?

Or it was only an example for other CMs?

My "new" partitions are:

CONFIG_CMDLINE="androidboot.hardware=semc androidboot.selinux=permissive mtdparts=msm_nand:327680k@94720k(system),613888k@422400k(userdata),8192k@1036288k(cache)"
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
Its my current running CM11, heavily stripped down and of course gapps free. If someone is interested, i could share my scripts...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] umaturman:
Did you use an alternative to gapps in your cm11? Anyway, I'm interested :)

For now my daily driver is cm13 but it's too heavy for older devices and /data partition on a sd card doesn't benefit to UX.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mp107:
I'm interested too.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
Only FDroid and Raccoon for a few select apps from Playstore. UnifiedNlp for network based location. S2E_mod 3.03b modified for f2fs (4GB 2nd partition Samsung Evo 32), only dalvik-cache left on internal 700MB data partition. No ZRam.

Only problem: GPS can't compute a position, even with 12 satellites found.

Have CM13 on my 2nd mini, impressive that it works, but compared to CM11 too slow and unstable. Just not enough memory...

I hope i can upload my scripts tomorrow night, have to clean and comment them before. Someday i will learn how to use git to commit my changes to my repo. :o

Edit: Just checked Gps again, after reloading agps data with satstat instant lock:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
For those interested...

PM me if you have questions or better code :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] karandpr:
You can also compress framework-res.apk and settings.apk for a 20MB boost. and basically compress every app for 30-40 MB boost.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
Does compression also reduce ram usage? That would be very interesting. As i only leave dalvik-cache on internal, 700MB seems enough for me. What about languages, could not find a way to reduce localizations. And there is /usr/icudt51l.dat (18MB)...

Maybe we should move to your Radium threat to discuss these?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] karandpr:
You can move to Radium if you want :). I was testing my own version >_>. It was with gapps though and it's not 220 MB. t's around 300MB .

Compression just saves space. No major effect on RAM usage.

Though I have one cheeky titbit for you.

There is an image in Settings in assets folder.

It's called contributors_cloud.png.

It's 3000x3000 pixel image taking up 1.1MB space.

That image makes my PC weep.

Replacing it with a dummy blank image can improve performance of settings. >_>
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] umaturman:
Did you move /data/data and apk's to the sd card? Does that affects performance? My previous experience with /data and dalvik cache on a sd card (an emulated storage) on cm11 was not so good :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
I am very pleased with my settings (everything but dalvik on sd), fdroid repo updates even a bit faster than on my CM13 Samsung S4 Mini (Dual-core, emulated storage, same card).

I try to save writes on internal memory (can't change that when flash cells die), dalvik-cache is only written when updating apps or rom.

Use http://xdaforums.com/android/apps-games/app-simple2extmod-cyanogenmod-11-t2840295

to try different settings. When pleased, you can even switch to F2FS: copy modded script below to /data/local/userinit.d, make backup

of /sd-ext in recovery, format /sd-ext to f2fs, restore /sd-ext. S2E app will show errors thereafter, ignore them:)

Which card did you use? Samsung EVO 32GB (not EVO+) works for me, be sure to have partition alignment right.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
WTF?! Is that image always loaded with settings? Do you know about the various res drawers for higher resolution devices? Can we get rid of them and only leave mdpi? No wonder android uses more and more resources...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] karandpr:
I will need to check that up.

I personally feel ,that assets should not load unless explicitly called.

But If it does ,the App will be notoriously slow.

PNG assets are just bad from an app developer perspective...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] umaturman:
[MENTION=3683123]nussbaum[/MENTION]

Hi :) What battery life do you get on your no-gapps cm11?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
Considering the old and probably not even genuine battery i am quite pleased. Was just hiking in the swedish woods for 3 weeks with just a small powerbank and a solarpanel, using the phone a lot for osmand, mp3 and ebooks, but very little internet :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] q4q9x:
Is anyone else seeing "fatal: unable to connect to github.com: github.com[0: 192.30.253.113]: errno=Connection timed out" when attempting to "repo sync"? (I can ping 192.30.253.113 just fine.)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] umaturman:
Works fine for me :cowboy:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Prass93:
I not understand, can you describe your files? function or other :)

File Type: zip	CM11_in_220MB.zip - [Click for QR Code] (2.04 MB, 18 views)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nussbaum:
Its not a flashable zip, but a few scripts i use to compile my CM11. Read the files inside the zip for more info.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Diexgo:
Hello people. i'm using xperia mini pro (SK17 / mango), android version 4.4.4, cyanogenmod 11-20161025 - unofficial - Legacy Xperia, Kernel 3.4.0-LX, flashed recently since i was still using android 2.3.4 from Sony a week ago :D.

Now with cyanogenmod i'm having low mic level volume during phone calls, whatsapp voice message, and in voice recording app included in the cyanogenmod release. I'm using last release of CM11 from legacy xperia. ¿ Is there any way i can increase the mic volume level ?, ¿ some files to edit or a mod is planned for next release ?.

Thank you very much people ! :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] vikusz:
Hi, this is a thread with information on how to build CM11 from source code. Next time please post your questions in the general thread: http://xdaforums.com/showthread.php?t=2543426

Regarding your question, low mic volume has been an issue for many years now. But if I remember correctly, it only concerns third party apps and recorders, and not standard voice calls. It's been an issue for very long and there is no reason to believe that it will be fixed anytime in the future. If it is fixed, you'll find it out in the changelog https://github.com/LegacyXperia/local_manifests/wiki/Changelog
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Diexgo:
Thanks so much for the information vikusz, sorry for my mistake :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ChinmayXD:
did u got the solution for this need help same error

wat to do????:(:(:(:(:(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ivosat:
I have the same errors. I just delete /android/system/out and build again. the only problem is a looong time to build ( like the first build ).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] JimieTheFox:
I used " make clobber " and cleared the build directory but still got the error. Then i though that maybe it was ccache doing the damage so i cleared ccache too ! It seems to have solved the problem but not sure yet, it will take some time to complete since i have no previous build files and no ccache :rolleyes:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knizmi:
Building

Just comment out that line 35 in device/semc/mango/overlay/frameworks/base/core/res/res/values/config.xml and you are good to go.

I also came upon a problem with updates.sh, when cherry 54748 was already merged upstream and cherry-picking stopped there. Just delete that cherry and the entire updates script will go through.

Or just wait for Mike to upload a new release :cowboy:

--EDIT--

And by the way, there are a lot of patches from Mike waiting to be merged that are not in the update script. See http://review.cyanogenmod.org/#/q/owner:mikeioannina%40gmail.com+status:open+branch:cm-11.0,n,z.

So if you are looking for all those cool features from the changelog, you will have to cherry-pick some of those until they are merged. Gonna create my own updates2.sh script with some of those cherries.

And most of all - is there a hero who had already tried the experimental kernel (cm-11.0-experimental branch)? :laugh:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
Well, I have a spare ray which is so heroic, it's bordering on suicidal...

problem is, I don't really understand what the steps are. In the experimental branch, I see only one line, which seems to _define_ the partitioning; but there's nothing to actually *execute* the repartitioning. So I guess that simply building, flashing & booting that experimental kernel is going to do little(?)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knizmi:
I guess you would have to reformat the device via CWM. At least data and cache.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
...and here the trouble starts because a) you guess and b) reformatting does not alter the partitioning

Mike, if you can give me the steps, I can try it out (and if it bricks the ray I won't complain)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knizmi:
It actually does, at least according to Mike:

See the disscussion at https://github.com/LegacyXperia/msm...35274073fa5297865831b6d#commitcomment-4776164

There is more info about this.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knizmi:
What a lame idea - the update script deletes any previous cherries prior to the actual cherry-picking. In other words by running updates2.sh you delete anything that was changed by updates.sh.

If you want to add any extra cherries, you need to add it all in one script. If anybody wants to add any, check out these: 54771, 54761, 55075, 54758.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
If you take the -b switch out of the last line in updates2.sh the second script should not abandon all cherries before applying it's own.

But what is stopping you from adding the extra cherries in the original updates.sh ? That file is yours to modify as you see fit until you curl in a new one. And you only need to do that when you see it's been updated.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] knizmi:
Thanks for that tip. I originally wanted two files because it is easier to update Mike's file when necessary (not that he updates it that often :)) With one file you still need to store your list of cherries in a separate file and you need to copy those cherries to Mike's updates.sh every time you sync that file. (uff, I hope you know what I mean)

It's not really an issue, just seemed esier to work with...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Add a hash (#) at the beginning of line 30 in updates.sh the one that reads cherries+=(54748)

Then run updates.sh again

(I will investigate why the cherry-pick aborts after the merged commit instead of continuing)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
What's the correct way to deal with the experimental kernel?

My understanding is that, on flash, it triggers CWM to do the repartitioning.

-> you should flash the exp kernel once, and only once, and then flash the regular kernel (which does not alter the new partitioning) ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] leandro_colocdk:
leangra@leangra-System-Product-Name:~/android/system$ breakfast mango

including vendor/cm/vendorsetup.sh

Trying dependencies-only mode on a non-existing device tree?

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.4

CM_VERSION=11-20131206-UNOFFICIAL-mango

TARGET_PRODUCT=cm_mango

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a8

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.11.0-13-generic-x86_64-with-Ubuntu-13.10-saucy

HOST_BUILD_TYPE=release

BUILD_ID=KRT16S

OUT_DIR=/home/leangra/android/system/out

============================================

leangra@leangra-System-Product-Name:~/android/system$

that I have to do?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] plethorahil:
UBINTU intsallation

hey guys

i am taking one step ahead

some questions are there.....HELP ME

i just installed ubuntu on windows 8.1 with dual boot ....(no problem with that but i dont have 8.1 dvd it was prelicensed so cant unintsall ubuntu)

and then i found virtualbox...which seems awesome ....(cause i can uninstall ubuntu anytime )

So i want opinion that which is better?

DUALBOOT or VirtualBox ???

In which build does fast ?

Which is more recommended?

Any one knows how to uninstall UBUNTU without dvd of win8.1 ....

Thanks...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
No, if you want the new partition scheme, you should always use the compatible kernels. If you flash back an older kernel, you will have to reformat the partitions in cwm and have the original partition scheme
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] deccan451:
This isn't the ubuntu & windows support centre.. U can google
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] johnny.tifosi:
Today repo sync gives me the following error:

error: frameworks/native/: prior sync failed; rebase still in progress

I assumed that it was Cyanogenmod merging Android 4.4.1 to its sources, but I read they did it 2 days ago. Does anybody else have the same problem, or maybe can anybody explain it?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Koloses:
Did you try to update your manifest? I've built 4.4.1 today and it works fine (although i had to apply some patches manually as cherry pick wasn't able to apply them properly). Synced repo without problems.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] johnny.tifosi:
Yes, I am following the guide which also updates me manifest:

weird thing is that fetcing projects and syncing work tree are 100% completed. If I continue to buliding I have the following error:

/home/johnny/android/system/out/target/product/urushi/obj/APPS/SignatureTest_intermediates

find: `src': No such file or directory

frameworks/native/services/surfaceflinger/Android.mk:51: *** missing separator. Stop.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Koloses:
No, It doesn't. You might need to update Cyangenmod's manifest. Not semc. Try doing (if you have initialized and downloaded repo and just want to update to 4.4.1)

curl https://raw.github.com/CyanogenMod/android/cm-11.0/default.xml > ~/android/system/.repo/manifests/default.xml
cd ~/android/system/.repo/manifests
git reset --hard
cd ~/android/system/
repo sync

and see what happens. If you want to download sources from 0, then just remove existing repo and init a new one.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
What did you do with the three SDcard cherries (starting with 55099)?

Pawit P says "Abandoned, use AOSP patches".

Without these cherrypicks, 4.4.1 builds and starts, looks good, but android.process.media crashes constantly because method android.os.FileUtils.getVolumeUUID does not exist.

[MENTION=5002018]johnny.tifosi[/MENTION]: your problem with Android.mk is also caused by (the three SDcard ?) cherrypicks
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Wechy77:
[MENTION=3839575]mikeioannina[/MENTION]

I googled around for android.process.media crashes. I don't know if it helps, I found this:

http://xdaforums.com/showpost.php?p=47812717&postcount=3594 and http://xdaforums.com/showpost.php?p=47814414&postcount=3595
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Koloses:
[MENTION=273844]cajhin[/MENTION] I've removed the patches and it seems to work fine D: Haven't got any FC yet.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] leandro_colocdk:
lean64gra@lean64gra-System-Product-Name:~/android/system$ repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0

Get https://raw.github.com/LegacyXperia/local_manifests/cm-11.0/updates.sh

fatal: unable to access 'https://raw.github.com/LegacyXperia/local_manifests/cm-11.0/updates.sh/': The requested URL returned error: 403

whatt???

hello I get this error, 15 days ago I try to upgrade to 4.4, creating the rom and I can not for various errors. anyone know that I do
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
Not sure I understand; did you type "Get https..." ?

If so, why Get and not curl?

in other news...

build for Urushi is currently broken. Fix is in the 2nd comment:

https://github.com/LegacyXperia/and...mmit/9f34a7c3744d5d54bdfb61aec7ea2488ac5cab9e

Might be caused by my local environment, but when I reflashed older kernels, I couldn't get into CWM; they just hung at the bootlogo.

flashtool+stock rom fixed that.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jucaroba:
Mike, can you tell me if all your builds are done with openjdk or with Oracle SDK?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
android.process.media fixed

With a new Ray build that includes 55512 (and all cm patches released today)

the sdcard bug seems fixed.

I erased 7 times from settings/storage, and it worked every time.

With the earlier build, only 2/7 worked.

Looks like this is fixed. Yeah :)

Can anybody tell me why this isn't a problem for every KK device with an SD card?

I mean, the fix is in a 'common' repo, not in an SEMC-specific one.?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
This problem was introduced in 4.4.1 merge.

FileUtils was accidentally removed during the merge, here's the 1st part of the fix http://review.cyanogenmod.org/#/c/55510/

FileUtils is needed to get the volume ID for non-fat volumes, like when you have a second sd-ext partition formatted to ext3/ext4 etc.

The second part of the fix is this http://review.cyanogenmod.org/#/c/55512/

When you format the device I assume a new UUID is generated but the new UUID is not always working (that's why it works after formatting a few times). You can read Tom Marshall's comment on the above link for more info.

This bug affect all the devices that use the external SD as primary, very few officially supported by CM. This is an AOSP bug, they don't have a device that use the external SD card as primary storage, that's why their code is broken in every release.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] littlejoelgriffo:
Hey guys, I've been following this guide and all is going well, I'm up to the repo sync step and it's been running for about half an hour so far. Just wondering how long it took for you guys. :)

Cheers
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Depends on your bandwidth :) the source is about 15-18GB ...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] littlejoelgriffo:
Woah! That's a lot. Overnight it is...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] johnny.tifosi:
No, this doesn't work either.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ivosat:
After almost 3 hours building gave me this ...

Clean install of Ubuntu x64 and all the steps one by one like is described in first post.Strange i had no problems building until 03.12, when was my last successful build.

collect2: error: ld terminated with signal 9 [Killed]

make: *** [/home/ivcheto/android/system/out/target/product/smultron/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1

make: *** Waiting for unfinished jobs....

P.S. I guess the problem was in small swap partition. I increase it to 7 GB and build went fine.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] littlejoelgriffo:
Hey guys, I got up to the sync repo step on this guide and I downloaded about 10gb before I had to stop, due to running out of space in VirtualBox. So, I assigned 10gb more to my Virtual Machine and issued the command again, hoping that it'd only download the files I was missing. Anyways, I've ran out again, here's a screenshot:

So is the source code more than 21.9gb, and I have to assign more space and continue or when the sync repo command is interrupted, does it start all over again, meaning I have to wipe and start again?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
No, it will continue from where it stopped. You don't need to delete everything
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
fyi, my android/system for Kitkat is 51gb; /out is 28gb, so you probably need ~23gb for sources.

my .repo is 11.5gb, yours 12, so it looks like your download/sync is finished, just the extraction from repo to plain files was aborted.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] littlejoelgriffo:
Great news. Thanks a load guys.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tarun chinmai:
a question regarding the repos

I own a xperia mini and I want to build kitkat for that only... I saw that the repo sync command downloads a lot of data and has code for a number of devices.. is it possible to make download the code for smultron only?? it would be very helpful as I have a slow metered connection. thanks in advance.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] plethorahil:
awesome

oh you got the same problem as me ....i am wishing the same coconut ... why would i have to download whole data of other devices ..

i have downloaded 14.7 gb in 2 days and ut is still downloading .repo folder :confused:

i turned on the laptop whole night but i think wifi is broken in ububtu when i woke up download has freezed and i have to write whole commands again
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Remove the lines with device names you do not need from the semc.xml file you downloaded during setup.

That being said, I don't think the device sources are so big that it would make much difference to the total size of the source code
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tarun chinmai:
I'll try this and tell u....is there any other way to reduce the size??

EDIT:

I can't see any file within android/system

where will the file semc.XML. be stored??
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
No other way that I know of. My internet is also very slow (1mbps) and I just waited until it was done :D