yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] marange:
Hi ph87,

I looked at the differences between the two versions and the strange thing is that the only difference is a change in the resource for the danish language. I don't get it why both files are so different in size. I will remove the updated danish translation in the next build and hopefully this problem will not occure anymore.

Marange
[Desire Android Development] marange:
Hi Moss20,

The problem that gallery and browser are not installed, is that the cm7 hboot has very little space for all apps. So the get it working Lennox and I removed some stuff to get it working on cm7 hboot. Sadly there is no other solution. You could use another hboot (data++ or stock) or install a browser/gallery from the market.

Marange
[Desire Android Development] moss20:
i have 22 mb of free space with cm7 hboot...

however i think you cuold delete some media files,some useless apps and some widget or give a theorical priority to the apps..

for exampme,some people may don't need antispam,monitor,notes or torch apps...i think that gallery and browser are more useful...

i got another problem : with theme manager i changed the font but i got bootloop and i had to do a full wipe...
[Desire Android Development] Geatre:
Hello! I've been using your ROM for some time and I really like it.

Now I wonder if maybe I could help translate the ROM to Swedish. I am in no way a developer but if it's relatively easy I'd be happy to give it a go. As far as translations go, I'm not a professional but I think I could do a decent job.

Please consider it, I won't be sad if you decline :p

Thanks for everything, to all you guy working on this!
[Desire Android Development] neXus PRIME:
Marange,

Thanks for reply on kernel..... Which files do I need to copy from system/lib folder ? All files ?

Regards
[Desire Android Development] marange:
As far as I know you'll need only the /system/lib/modules. These are related to the kernel. And of course you'll need to copy over the boot.img. Do not unpack it or anything. Just copy it over the old boot.img, to the zipfile and then install it. Copying it over to a running ROM will of couse not work ;).

But no garanties that everything works :).

Marange
[Desire Android Development] neXus PRIME:
ill make a backup and do it.... Regarding keyboard error relating on memory, I faced it even after fresh reboot.... Nothing else running......i don't think keyboard apps can fill 200mb memory..... And, fyi, I'm now using, slideit, android kb, multi ling, and swift key trial, all together, all in memory, but no issues..... Only problem with touch pal, swift key beta3, go keyboard......

Regards....
[Desire Android Development] marange:
Hi Moss20,

I was mistaken (just wasn't awake enough before answering). I just checked the installer script and gallery and browser should have been installed on the sd card.

package_extract_dir("customise/system/app", "/data/app_s");
symlink("/data/app_s/Browser.apk","/system/app/Browser.apk");
symlink("/data/app_s/Gmail.apk","/system/app/Gmail.apk");
symlink("/data/app_s/MiuiGallery.apk","/system/app/MiuiGallery.apk");
symlink("/data/app_s/Talk.apk","/system/app/Talk.apk");
symlink("/data/app_s/VoiceSearch.apk","/system/app/VoiceSearch.apk");

So according the installer, the 5 apps should be installed in /data/app_s and then symlinked to system/app. If you have the 3 other apps, then it is strange if Browser and MiuiGallery are missing. Could you check on the SD-card if their are in the /data/app_s directory ?

Marange
[Desire Android Development] marange:
I don't know if it is a memory issue, but that it could be an issue. I only use touchpal and that works. I even installed a new version today (an update in the market) and checked. It still works. So it is related to the setup (for touchpal). I look at the other 2 keyboards and see if these exhibit the same behaviour. But I cannot find swift key trail in the market. Is that the name in the market ?

Marange

EDIT: Go keyboard reboot's phone when starting to type. So this is not related to setup.
[Desire Android Development] neXus PRIME:
hehe, told you something is fishy..... Maybe you can fix these in later versions..... First focus your own agenda for new kernel and stuff.... Do my fixes any time later.... I'm not switching ROM in any hurry.....:D:D:D

Ps. Swift key free shows as swift key trial in manage apps......
[Desire Android Development] moss20:
i don't have that folder but i saw the folder before the full wipe and rom reinstallation (but i didn't have these app anyway)...however i don't have all the 5 apk that should be there...

i put the apks manually into system/app...

edit :

http://xdaforums.com/showthread.php?t=1448452

http://xdaforums.com/showthread.php?t=1523691

check the links..i think that could be useful...i also found an apk of the older miui music player but i don't remember where i get it...
[Desire Android Development] l0minus:
Marange,

The version 2.5.11 works almost flawless, some small things excluded :D

The wifi option is perfectly in the install screen, thanks for that.

About the battery. If I remember it correctly in MIUI-XJ there was a setting where you could set the percentage, when the phone should shutdown itself, standard it was at 20%, but I had it at 5%. With this rom I can not find this option and it shuts itself down when the battery-level is 20% (this had nothing to do with calibration, I`ve done that already).

Are there more people that can test if their phone shuts itself down when battery-level is 20%, or can you apply a config setting that has the possibility to change the percentage level?

I know may questions, but that won`t be the problem for this almost perfect rom ;)

One thing more; the phone delay, it`s indeed a miui specific problem, maybe in combination with the my provider, while I`m not the only one with this prob. it`s just annoying,.....

Keep going on with dev. of this rom, I keep testing it.
[Desire Android Development] neXus PRIME:
Marange,

If you check out sandvold thread, there is new rom with IMPROVED HWA,,,, two altogether NEW kernels..... i tried to install them... rom booted up, but it was unresponsive.... all things FC, then i quit and restored my backup...... please try to include these kernels in your next build...

Regards
[Desire Android Development] ph87:
Tutorial: How to translate

Here is a short "How to translate Tutorial"!

Hey Marange I hope it is okay to write this Post into these thread, otherwise I delete it ..:confused:

#1:

All what you do, is your own risk, I will not take any responibility for what you are doing!

#2:

Do it for your own use...

If you really want to do it for public, please ask Marange first wether there is an need for! It might be, that there are some translations still in progress!!! It's still our all interest to get only one good translation, than to get 100 of bad ones!

#3:

At first you need to download these two Programs:

Notepad++ http://notepad-plus-plus.org/download/v6.1.2.html

VTS Ten Studio http://www.virtuousrom.com/p/ten-studio.html

When you have installed these programs, extract the attached Framework-APKs folder and Copy these files to C:\Users\Heptin\apktool\framework (might be different to your computer) and do not rename them!

Look into the attached pictures folder, there is a example...

Now open the Ten Studio and press File and then open Settings! Your Settings have to look similar to mine (in the pictures are my settings).

Now push File and new project (picture 1) fill the Forms (the Solution name should be the same as the APK which you like to edit) and then press at APK-Tool on the left of the opened window (picture 2). There you can select the APK which you want to edit - Settings.apk for example! Press OK...

Now the program must decompile the APK without errors (picture 3).

On the left side (picture 4) right click on the res-folder and open in explorer (picture 5). Now copy and paste the values folder and rename it to "values-de" for Germany "values-sv" for Sweden and so on..

No open the created folder (picture 6) and delete all files apart from plurals.xml, arrays.xml and strings.xml.

Open these xml files and translate the strings (no space behind your translation), do it with notepad++. (You can also use the included editor, but it has some problems with special letters like ä,ü,ö or special characters like °) so I used notepad without problems!

If you want to test your translation, right click on your project name (picture 7) and build project! If you haven't done any mistakes there will be no error while compiling (picture 8) otherwise you have to look up into the log in which line you have to find the mistake.

Now connect your Phone with the Computer and then right click on your project name and then push to device (picture 9) and all must be okay (picture 10).

This Tutorial should work only with the Marange ROM. If you want to edit files from an other ROM you have to replace the Framework-APKs with the APKs from the ROM you want to edit...

Here you are, enjoy your edited APK.

Happy editing...;)

ph87
[Desire Android Development] marange:
Strange that you don't have the apps. Could you try with the new 2.5.18 build ? I did not change anything in the installer, so I am afraid you'll get the same effect. But I would like to know for sure. Maybe I made a mistake in the installer.

TO OTHER USERS: Are there more cm7 hboot users ? Do you have the same problem ?

And thanks for the links. I will look at it and see if/how to include it.

Marange
[Desire Android Development] marange:
Thanks for the information. I already uploaded the 2.5.18 build, but I will look this week into these kernels and see if they can be included.

I also tested the go keyboard, swift X and go launcher and they did work with the new build. But I uninstalled them and then I reinstalled go keyboard. And now it reboots again :(. Which is very strange. I will see what go launcher and swift X do now.

UPDATE: I included swift X and go launcher again and they work now. No reboots. I just don't understand why go keyboard worked and now it doesn't. Could you try and see what you get ?
[Desire Android Development] marange:
Hi ph87,

Thanks for the tutorial. I don't mind it here. About the translations, we got the danish and german translations and some people agreed to do the french and swedish translations. If someone likes to help, no problem. Send a PM to 1982Strand. He knows how to do the translations.

Further I noticed that MIUI italy did use the build and created an italian version (http://miui.nexus-lab.com/site/2012/05/12/miui-v4-ics-italiano-htc-desire/) which can be downloaded from their site and I came also across a polish version on miui polska (http://miuipolska.pl/download/). So if you like an italian or polish version, please download their version.

And to make sure, I don't mind if people take my build and translate it, but please do include the names of everyone who contributed to it and do tell me and other users about it. Makes my life a bit easier ;).

Marange
[Desire Android Development] marange:
I am glad wifi works now.

I think the 20% battery level option is something ginderbread or something miui-xj had included. I never seen it and i know that my phone is not shutting down with 20%, so it is a bit strange. I will look into this.

I know I had the delay in the MIUI-XJ version, but now I don't notice it anymore when I talk to people. I know from the MIUI-XJ experience that it is annoying. Hopefully XIAOMI will find a solution in a future build.

Marange
[Desire Android Development] lenny_kano:
My battery dies at 0, if it doesn't, it is a battery calibration issue, simple as that.

The call delay isn't specific to this rom, Miui or ics. Its a desire problem with no specific cause or solution (and a very annoying one).

About the apps not working in cm7 hboot, I'll see what I messed up in the installer sometime over the weekend.
[Desire Android Development] neXus PRIME:
Please update thread title.....

Regards

P.s.... I tried the 2 new kernels in ics sandvold thread..... Shaky kernel give reboot after reaching lock screen Every time...... Drewis kernel seems OK all in all... Definitely feels a little better.....

The adreno libs cause phone to become extremely unresponsive....... I mean, each touch has effect after 5 second or do.... I thought it had frozen but it didn't....

regards
[Desire Android Development] bel57:
Hi Marange

I installed with D2X option. It is flawless but I have always the same issue : can't install apk from SD Card. Did you find out what is the problem ?
[Desire Android Development] moss20:
full wipe needed ?
[Desire Android Development] marange:
No, can be installed over the 2.5.11.

Marange
[Desire Android Development] aukarakiri:
Thank Marange. Good Job.

The only annoying thing is the non installable apk file.
[Desire Android Development] moss20:
flashed new rom..no problem with browser,gallery,g mail and talk...
[Desire Android Development] frankgrasshopper:
This version seems faster and much better than the version before. The new kernel works great. Thanks.
[Desire Android Development] bel57:
+1, so I am not the only one. I hope this will be resolved quickly.
[Desire Android Development] aukarakiri:
Yes this version rules.

Is very fast and the animations between the application are very awesome.

In this way the lag not seen to be bad.

Sorry for my english
[Desire Android Development] marange:
Hi,

I am looking into it now. I did notice some changes in the package manager of 0.5.4 and 0.7 (did not check 0.6) and I think it could be something there. So it could be a sandvold issue, but I am not yet sure. Working on it :).

Marange
[Desire Android Development] aukarakiri:
Ok we wait for the work!

Thank
[Desire Android Development] soronk:
I encountered again the issue with maps. Could it be that the problem still persists in ...5.18?

I flashed the fix from OP now everything is fine.

Other then that, for me the rom gets faster with every new build! Wonderful!
[Desire Android Development] marange:
Yes, the problem is not fixable in the ROM itself. I f*cked up majorly with maps. I thought it was a good idea to include Maps, but did include a modded one, which is not updateable from the market :(. I posted the fix in one of the previous posts and also in the main post on page 1, but you probably missed it :).

Sadly the only solution I found was to make a backup with titanium backup, do a complete wipe (data and cache) and then install titanium and maps from the market and then restore the backup from titanium. Because maps is already installed, it will not try to restore it. After that the problem should be fixed.

Marange
[Desire Android Development] marange:
Could you give an example/screenshot of apks which are not installable from the SD card ? And what is the exact error ? Could you give me a logcat with the error. I am playing around with package manager, but I cannot reproduce it. I can install from the SD-card.

Marange
[Desire Android Development] 1982Strand:
@Lenny:

Hey Lenny, a while back on miui-au, you mention some changes needed in arrays.xml of framework-miui-res.apk, if one had FC's of acore system process.

I did those changes and my framework-miui-res almost works, meaning the phone can boot, but i still get the system process FC.

I can't really compare the sources i got, as apktool breaks them, so i don't know how the original really should look like.

Here's the contents of the arrays.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="mobile_operator_numeric_values">
<item>46000</item>
<item>46001</item>
<item>46002</item>
<item>46003</item>
<item>46005</item>
<item>46006</item>
<item>46007</item>
<item>46009</item>
</string-array>
<string-array name="mobile_operator_display_names">
<item>China Mobile</item>
<item>China Unicom</item>
<item>China Mobile</item>
<item>China Telecom</item>
<item>China Telecom</item>
<item>China Unicom</item>
<item>China Mobile</item>
<item>China Telecom</item>
</string-array>
<array name="config_virtualKeyUpPattern" />
<string-array name="alphabet_table">
<item>\#</item>
<item>A</item>
<item>B</item>
<item>C</item>
<item>D</item>
<item>E</item>
<item>F</item>
<item>G</item>
<item>H</item>
<item>I</item>
<item>J</item>
<item>K</item>
<item>L</item>
<item>M</item>
<item>N</item>
<item>O</item>
<item>P</item>
<item>Q</item>
<item>R</item>
<item>S</item>
<item>T</item>
<item>U</item>
<item>V</item>
<item>W</item>
<item>X</item>
<item>Y</item>
<item>Z</item>
</string-array>
<item type="array" name="android_config_virtualKeyVibePattern">@android:array/config_tether_wifi_regexs</item>
<item type="array" name="android_config_mobile_hotspot_provision_app">@android:array/networkAttributes</item>
<item type="array" name="android_common_nicknames">@android:array/config_scrollBarrierVibePattern</item>
<string-array name="mobile_operator_numeric_equivalencies">
<item>46000</item>
<item>46001</item>
<item>46000</item>
<item>46003</item>
<item>46003</item>
<item>46001</item>
<item>46000</item>
<item>46003</item>
</string-array>
<item type="array" name="android_config_longPressVibePattern">@android:array/config_tether_usb_regexs</item>
<item type="array" name="android_config_keyboardTapVibePattern">@android:array/config_tether_wimax_regexs</item>
</resources>

Any ideas?
[Desire Android Development] jukyO:
From Sandvolds thread, shaky156 kernel, working great with this rom:

http://db.tt/Ga6IbeIZ

A lot smoother by my opinion.
[Desire Android Development] marange:
Thanks, I am already looking at it. I just fixed the reboot problem with the 0.7 base rom and I am now checking my fix for the 0.8.1 base rom. When it works I will also include both new kernels to the installer and see what happens :).

I am also looking at your problem with "Battery Calibrator" (I didn't forget :) ). I notice that the Package manager code from sandvold is very different then the ICS code, so I think MIUI gets some patching wrong. So I am working on it.

Marange
[Desire Android Development] frankgrasshopper:
Using shakys kernel and it works great.
[Desire Android Development] bel57:
I can't install any application file but it worked with game apk file. I posted a screeshot of MIUI old camera error installation : http://xdaforums.com/attachment.php?attachmentid=1050156&d=1336550730

edit : how can I make a logcat ? I have somes issues with adb, worked fine few months ago but not as good now :/
[Desire Android Development] marange:
You could install aLogcat from the market. aLogcat gives you the option to look at the logcat and also to save it.

Marange
[Desire Android Development] jukyO:
Thanks for following the issue! Also, I could not install Navigon, same issue as Battery calibrator.

All in all, you, lenny and others are doing a good job here.
[Desire Android Development] neXus PRIME:
Marange, I saw in sandvold thread that Miui based on .8.1 is ready.... Can you confirm ? If yes, please share...im trying the new kernels, but adreno libs are not working for me.... So I guess they will be there in new version ?

regards
[Desire Android Development] marange:
Yes, I got a working build, this evening. But I did not test it, so I will not release it yet. I do hope that the MIUI release 2.5.25 will be based on the 0.8.1.

Marange
[Desire Android Development] bel57:
Thanks, I'll do it asap.
[Desire Android Development] 1982Strand:
I tried a workaround, but with no luck. It might help others though. At least it's a little info that might aid in finding a working solution..

type:

adb shell

pm set-install-location 0

Where 0 is auto, 1 is internal, 2 is external.

I tried all 3, but no luck ...

To check current install location, type pm get-install-location. My default was 0..
[Desire Android Development] lenny_kano:
That shouldn't affect ability to install other than if toolbox isn't setup properly in updater-script, but that should affect everyone and I don't think its the problem. Its strange that its not happening for everyone. Perhaps a problem with the installd binary provided by miui, or (as marange has said to me) the package manager.

Definitely an odd one though.

Could also be internal memory filling up (which neither android or a user can tell when using d2x)

Anyone having the issue, post the output of the following commands in terminal/adb shell:

df

cd /data

du -d 1

cd /sd-ext

du -d 1
[Desire Android Development] 1982Strand:
Here's my output:

root@android:/ # df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 207496 32 207464 0% /dev
tmpfs 207496 0 207496 0% /mnt/asec
tmpfs 207496 0 207496 0% /mnt/obb
/dev/block/mtdblock3 256000 173844 82156 68% /system
/dev/block/mtdblock5 151168 70112 81056 46% /sd-ext
/dev/block/mtdblock4 40960 1540 39420 4% /cache
/dev/block/mmcblk0p2 1032056 127916 851688 13% /data
/dev/block/mtdblock5 151168 70112 81056 46% /cache/download
/dev/block/vold/179:1
14522416 6654848 7867568 46% /mnt/sdcard
/dev/block/vold/179:1
14522416 6654848 7867568 46% /mnt/secure/asec
root@android:/ # cd /data
root@android:/data # du -d 1
4	./app-private
56	./backup
45196	./app
4	./fonts
16	./lost+found
21504	./data
376	./anr
4	./sdcard
4	./user
19060	./dalvik-cache
2176	./system
88404	.
root@android:/data # cd /sd-ext
root@android:/sd-ext # du -d 1
57844	./dalvik-cache_s
9178	./data_s
3	./miuiau
5	./drm
2	./resource-cache
6	./property
3	./lost+found
36	./misc
2	./dontpanic
631	./local
67715	.
root@android:/sd-ext #
[Desire Android Development] marange:
Thanks,

I think this is useful information. It least I now know where to start looking :).

Marange

ps. When people find more apps which have install problems, please let me know.
[Desire Android Development] marange:
I think there are two problems. Bel57 has a problem which I cannot reproduce (did not yet try it with miuicamera.apk, will try that later).And the problem with navigon and battery calibrator I can reproduce. I even know where it is triggered (in packagemanager). Strange thing is that the code of ICS is completely different then the sandvold base code at that point. So my guess at the moment is a patching problem of MIUI (because it is based on the ICS code and I can imagine it goes wrong with the sandvold base).

Marange
[Desire Android Development] lenny_kano:
Well from the output above its not an out of space issue, so its probably all related to the same issue in some way. Is a strange one. Can you decompile the problem apks and check install location in the manifest? Perhaps that is the issue for some reason?

Or try using unpatched package manager? The only thing patched in that I know of iss the prompt from security when a new app is installed, but it may be causing issues elsewhere. I did use sandvolds package manager in my port at one point and found no negative issues.
[Desire Android Development] bel57:
Well, all app apk files don't work (not only MIUI camera), but games apk work (I tried Little Stars for Little Wars 2). And I have also a problem of battery calibration (I had it too on MIUI french releases) : when the battery gets low, reaching ~14%, my Desire turn off and then when I turn it on there is a bootloop.
[Desire Android Development] Tarun Chaudhary:
My network signal keeps getting zero randomly using this ROM... I've switched to another ROM for a while but I really want to make this one my daily use ROM .. I love it..

When is the next update coming ?
[Desire Android Development] marange:
Hi,

I just put an update out friday. And the next update will be when there is one ready. I cannot and will not give any date. It depends what I find and when I think the update is ready for release.

That said, I never got a problem with my network signal. I don't think MIUI is doing something with the network signal. Does someone else have this problem ?

Marange
[Desire Android Development] marange:
The problem with battery calibration I also have. I am working to see if I can find what causing it. But I think it is very strange that game.apk's work and apps not. I don't think that the ROM can distinct between the two kinds of apks.

Did you try them all from the SD-card ? Or did you also try to install some of them from the market ?

Marange.