yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] lenny_kano:
Cool, cheers for the response. Have already given marange all relevant patches, so it should be included from now on as long as he doesn't encounter any problems.
[Desire Android Development] jukyO:
Added some screenshots for confirmation.

Cheers buddy!
[Desire Android Development] lenny_kano:
No probs! I'm just glad to help, its good when devs cooperate instead of it being all me-me-me, and marange has been awesome in taking my advice, whilst still doing it completely on his own.

Miui v4 lives on for the desire thanks to him!
[Desire Android Development] marange:
Thanks for the kind words.

I agree with Lennox. Cooperation is a much better and sane way of doing things. And lets not forget, MIUI ICS on the Desire would not exists without Lenny. He is the one who started it. He is the master, I am just the novice.

Marange
[Desire Android Development] Pibbs:
Very Impressive!

Hi marange,

the 2.6.1 version is very very impressive: i found it stable, fast and good in general.

It's a real good work!

My config:

Htc Desire

Microsdhc Samsung 16gb class 10

Options Enabled:

Sd-Ext Ext4 LX-D2X

SD Swap enabled

Stock hboot

Shaky kernel

aGPS Patch

Stock music player

GPU rendering 2D enabled.
[Desire Android Development] marange:
With the big help of Lenny_Kano I got the LED notifications, the removal of the SYSTEM UPDATES and the "Report to MIUI" fixes included in my new version. I also fixed the language issues and the installer problems.

I will now look at the 2.6.8 release and the adhoc wifi issue and hopefully get a release read soon. If I hit a bump, I will release a 2.6.1 with the patches first, so that I have a bit more time on the 2.6.8. I will see what happens (sadly I do have a little less time this weekend. Real life stuff is intervening)

Later,

Marange
[Desire Android Development] bel57:
Hi Marange, big thanks for your work, but I have two bugs :

#1 when taking a scheenshot and taping on the notification in the status bar, gallery is wrong; it shows a random picture in the screenshot folder, I tested it several times.

#2 now the Network Assistant always force close (see the screenshot below) => should I join a logcat ?

And I have another question, what is that Chinese app for ? (screenshot)
[Desire Android Development] l0minus:
It looks like it is an anti-virus or so

<string name="hello">Hello World, MoSecurityProviderActivity!</string>

<string name="app_name">Jinshan Phone Guardian Security Services</string>

:confused:
[Desire Android Development] jukyO:
For the first, try to delete ".cache" folder content somewhere in Gallery folder (/sdcard/MIUI/cache/Gallery and /sdcard/DCIM/.thumbnails).

For the second, try to switch to english amd see ih network assistant FCs, for me its ok. Maybe an error in french translation XMLs.

Third, I do not know, could be calls/sms firewall if I'm right.
[Desire Android Development] bel57:
Yup, I also thought the same, I hope XIAOMI will communicate about that. :confused:

---------- Post added at 03:55 PM ---------- Previous post was at 03:49 PM ----------

Still got wrong pictures in gallery after deleting the two folders.

For the second, how do I switch to english ? I did never choose a language :confused:

Btw, Network assistant worked fine, it only started to FC since this morning :/

For the third, maybe Marange or lenny_kano knows about that.
[Desire Android Development] marange:
Hi,

#1. I cannot reproduce it, but then I don't get the notifications when I make a screenshot. Need to look into this some more.

#2. No problem here. Like JukyO suggested. Change to english. I know you said that you never selected a language, but MIUI chooses when installed for the first time a default language (maybe related to the provider). When I do a complete wipe and reinstall i get the dutch language (with some english and chinese thrown in).

#3. As fas as I understand is it a kind of firewall/security thingy. But I am not sure.

Marange
[Desire Android Development] jukyO:
@lenny_kano:

You know about those:

Happened after I enabled them.
[Desire Android Development] lenny_kano:
Jinshan security guard is a helper app for better firewall and anti spam control, for those wondering. Its perfectly safe. Also does virus scanning of apps when installing I believe.

And the logcat is telling me you enabled Gmail led notifications but the stock app doesn't actually support third party apps. You need the patched version by tsojklat (or something like that) which is available on xda. Google "patched Gmail xda" and you'll find it.

If that's wrong I'll look into it more later.
[Desire Android Development] bel57:
Hi, thanks for the details. So now there is no need to install an anti-virus ?

One question, when double tapping, a magnifying glass appears instead of selecting… which is very annoying. How to disable or uninstall this ?

Magnifying glass is useless.
[Desire Android Development] marange:
The magnifying glass is something new in MIUI. Not uninstallable or to disable. Hopefully it will be optional in the near future. Strange thing tho ... I only get it when long press in a text. Not when double tapping.

Marange
[Desire Android Development] fangthorn:
Voice Action Commands

I have just been playing around with "Voice Input" and "Voice Action Commands"

Voice input works surprisingly well, but only if you are using the default keyboard. This is not a ROM problem. My preferred keyboard, SwiftKeyX, is working on a way to add the feature.

However, there is a problem with the Voice Action commands that I think is ROM related. I have tried a few from the list at this link but they all drop me into the browser, instead of Notepad, Email etc.

http://support.google.com/ics/nexus/bin/answer.py?hl=en&answer=1715292&topic=1714294&ctx=topic

P.S. Guys, Keep up the excellent work! Much Appreciated.
[Desire Android Development] marange:
That's cool. I never thought about testing/playing with this, but I can confirm that it always drops into the browser. But it does recognizes the command.

I have no idea if this is some mix up I made, don't not work because I am not in the states or a problem with MIUI. Will look into that... Would be nice that it worked.

Marange
[Desire Android Development] marange:
Version 2.6.8 uploaded

Version temporary removed because of ThemeManager FC.

Marange
[Desire Android Development] neXus PRIME:
Changelog doesnot mention new qcom libs and new kernel by drewis.....COS, bcm, sandvold, have it i guess...... Did you include those too ? Just curious.

Regards

Sent from outer space using RF transmitters
[Desire Android Development] ph87:
@lenny_kano,

I'm going to put all german files together, to have a full working german ROM. So I translated the LED-notifications APP but I couldn't find one string. The string I mean is marked in the attached picture!

Please could you help me?:confused:

@marange

will there come language packs for every release? Especialy for the 2.6.8?

Btw... Good work! The 2.6.1 works perfect and stable, nearly no lags!!!:)
[Desire Android Development] marange:
The string is included in the settings strings.xml file. And I think it will be language packs for each release. Or when the translators let me know that the previous language pack works. I can include it all in the ROM, but then I need to wait until the translations when I want to release the ROM. So I choose to do it this way.

Marange
[Desire Android Development] MidnightDevil:
Any new adreno libs? Performance related fixes? Anything? :)
[Desire Android Development] marange:
No new kernels in this version. I choose to make the release now, because of the problems in the installer in 2.6.1. And I don't know if the new kernels will have such an advantage. It is not always needed to go to the last version. I will look, when I have time, at the new kernel and include them when I think it will have some advantages to do so. So, just enjoy the 2.6.8 ;).

Marange
[Desire Android Development] marange:
If I would have done that I would have include it in the changelog :).

Nope. I just didn't have time to look at all the new stuff in sandvold, so I choose do to the release now. I will look at the libs and kernels later ...

Marange
[Desire Android Development] andersonmkr:
Not sure if it's just me but theme manager keels fc. Great rom 2.6.8
[Desire Android Development] marange:
Yes, I can confirm this. Will look into it.

UPDATE: Ok, found the problem. Mistake of mine. The fix for chinese characters is not working as it should :(. Need to fix that.
[Desire Android Development] lenny_kano:
Not on this Rom (afaik).

Type "mount" or "df" to see how partitions are mounted and how much memory is being used.
[Desire Android Development] jukyO:
Correct Lennox. Here are outputs:

root@android:/ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 207308 32 207276 0% /dev
tmpfs 207308 0 207308 0% /mnt/asec
tmpfs 207308 0 207308 0% /mnt/obb
/dev/block/mtdblock3 256000 182960 73040 71% /system
/dev/block/mtdblock5 151168 135472 15696 90% /data
/dev/block/mtdblock4 40960 1180 39780 3% /cache
/dev/block/mmcblk0p2 1032088 176644 855444 17% /sd-ext
/dev/block/mtdblock5 151168 135472 15696 90% /cache/download

mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock3 on /system type yaffs2 (ro,noatime,nodiratime)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,stripe=64,data=ordered)
/dev/block/mtdblock5 on /cache/download type yaffs2 (rw,nosuid,nodev,relatime)

So obviously Titanium screenshot few post back was correct.

There is another partition on my sdcard, size 300 Mb, which is there, but empty, unused. Is there a way to mount /data to this partition (as in XJs XPART)?

Any ideas how to increase internal memory?
[Desire Android Development] lenny_kano:
Try pc a2sd (normal +dalvik on ext), or if your sd card is fast enough, one of the d2x options (afaik the included options are the same as mine)

---------- Post added at 08:47 PM ---------- Previous post was at 08:45 PM ----------

And in response to the other question, no, that other partition is useless.

---------- Post added at 08:48 PM ---------- Previous post was at 08:47 PM ----------

Triple post: The d2x options mount sd ext as data, but only the first one. I don't know of any logical reason to have a second ext partition.
[Desire Android Development] jukyO:
Thanks for your response Lenny.

I've tried pc-a2sd, but internal memory again shows only 16 Mb free.

Will try d2ext.

EDIT:

Lennys d2x work well, internal memory is reported as 1Gb.
[Desire Android Development] l0minus:
As I previous mentioned, yesterday I had problems with the static ip, the settings wouldn`t be remembered, and suddenly at once it worked.

Today I did a new install, but until now it is impossible to get wifi static at work, where is the static ip stored? maybe I can edit that file myself for now. Hopefully someone got an idea to get this at work.

About the installation of the rom, what is the best hboot to use? I have now the Bravo Data++, but with the installation there is no option to use this one, am I using the stock hboot, the installation completed but the root is gone.
[Desire Android Development] ale8530:
Marange Hello, I'm trying to translate your rom in Italian, but when I translate the apk "framework-MIUI-res.apk" loopboot goes, you've made ​​some changes that sends the terminal block?
[Desire Android Development] lenny_kano:
framework-miui-res is a pain.

You need to install com.HTC.resources.apk from any sense Rom as 2.apk, add the line "- 2" under the - 1 line in apktool.yml, and several xmls need to be modified to change the tags from <array name=......>.</array> to <item type="array" name=.....>.</item> (from memory IDs.xml, anims.xml, layouts.xml, xmls.xml need this done)
[Desire Android Development] ale8530:
Thanks Lenny_kano, but want the file apktool.ylm when decompile? you know about this problem and in fact I changed the variables arrays, ids, anims, layout, xlms. , However, I added the line to the file, but nothing, is still bootloop, compilation is fine with no problems
[Desire Android Development] soronk:
somehow I can't get mobile network working properly. When i activate it, there doesn't appear an error but internet won't work. The symbol appears, but there is no real connection.

sometimes after a reboot, everything is ok, sometimes not. Is this ICS-specific?
[Desire Android Development] lenny_kano:
Did you install the com.htc.resources.apk as I said? It won't work just by editing apktool.yml.

It's a bug in apktool, when decompiling framework-miui-res.apk, your public xml file should be full of 0x03....... values, but when it recompiles, unless you have the dummy 2.apk and add that line to the .yml file, it recompiles it wrong and assigns all the values to 0x02........

Decompile the framework-miui-res.apk that is causing bootloops, and if the public.xml values are all 0x02 then thats your problem, means you either didn't edit the file correctly or you didn't install the sense apk in order to force apktool to use 0x03 when recompiling.

Afterthought: Actually, from memory framework-miui-res.apk in PatchRom the original public values are 0x06? Which means you need a dummy 2,3,4,5 framework to force it to assign the correct value. 3 and 4 are both in the Primo Sense 4 roms (framework-htc-res.apk and com.htc.dummyskin.apk - not sure on which one is which number though from memory). As for 5.apk, well I don't know of one so you'll have to make it yourself (just make a copy of the decompiled folder for com.htc.dummyskin.apk, add lines - 2, - 3, - 4, change all public.xml values to 0x05 and recompile and it SHOULD work. Then install all those apk's to 3.apk, 4.apk and 5.apk, add - 3, - 4, - 5 to your existing apktool.yml for framework-miui-res.apk, recompile, and it will boot.
[Desire Android Development] marange:
Hi Soronk,

I don't have this problem. And never had. I don't think it is something ICS specific. I had 3 reports that wifi had problems, but never mobile network.

Sorry I can't be of more help.

Marange
[Desire Android Development] ale8530:
Thanks lenny_kano try
[Desire Android Development] l0minus:
Hi marange,

I read your posts also on miui_au and hopefully it will be a very wanted rom!

About my (and probably) others wifi problems, I have now installed the discontinued rom MIUI_Au 2.4.3 from lenny_kano (I hope I have it right), and with this one I got wifi at work, with no problems.

I can change from dhcp to static, fill in the data, and it connects almost immediately.
[Desire Android Development] ale8530:
Lenny_kano Hello, thanks for your info, I had made a mistake in the date you first procedure, adding the line -2 it all works :).
[Desire Android Development] Boyeah04:
For those having issues with wifi, I think this was an issue with changes to the dhcp in the sandvold base. If I remember correctly that mattman put together 2 zip files in the sandvold thread that worked for some people. 1 was old values an the other had new values. Search the sandvold thread and I sure you will find the solution.
[Desire Android Development] 1982Strand:
Exactly which framework did you install as 2.apk?

Could you upload a zip of your framework-miui-res folder, so i can compare it to mine and see if they're the same?

I did all the same edits, fixed every xml, installed com.htc.resources as 2.apk and added -2 to apktool.yml. It recompiles without errors, all looks like it's working.

But no matter what i do, i get bootloops :( And it's driving me crazy, i've done the EXACT same procedure before (on miui-au actually) with the same sense framework installed and it worked. But now with the apk from patchrom, it just won't!)

I attached my decompiled and edited framework-miui-res folder, if anyone (Lenny? :) ) would like to check it and see if i missed something..

(I found a temp fix to get it working, by copying my translations into the source framework-miui-res folder in patchrom, which required a lot of re-translating, as the xml sources here are different (xliff format??) so this will not be the way to do it in the future..)
[Desire Android Development] lenny_kano:
Will check it out later, but first decompile the original and the one that causes bootloop and tell me if the public.xml files are different (or arrays.xml). Otherwise ill let you know the problem later.
[Desire Android Development] 1982Strand:
Ok, so i decompiled the working and the bootlooping and then compared them. (For like the 100th time..) Everything seemed to match, but after going through every single line in arrays.xml, there was a line containing a kind of hidden character, a whitespace i think, but it didn't show in the line. I couldn't see it when using "normal" formatting, but if i set notepad++ to show all whitespace and using different character sets, something showed up..

Don't know how it got there though..?

Anyways, i completely deleted the line and copied the one from the working file to the bootlooping one. I'm not able to test it right away though, but i'm pretty sure this was it.
[Desire Android Development] lenny_kano:
Just tried recompiling/compiling that folder myself and it seems to be ok just looking at it, so not really sure. Any logcat for the bootloop? Bootloops (especially when you know what apk is causing it) are (most of the time) simple to fix because the logcat should say exactly what resource is not correct and causing the system service to die.
[Desire Android Development] ale8530:
Just check if you have changes in the file public.xml, when you install the framework should do so:

apktool if res.apk-framework ---> framework.1

apktool if MIUI-framework-res ---> framework.3

apktool if com.htc.resource.apk--> framework.2

Added the line - 2 in the framework apktool.yml decompiled.

To me when I have everything framework-miui-res.apk/values/public.xml decompil the values ​​0x03 ... when is that when decompil / recompile, though recompile when they stay the same if you should go :)
[Desire Android Development] ph87:
I had searched there for that string... But I couldn't find it!!!:confused:

I have an issue with the network assistant,... when I tap on an App in the "Traffic Ranking" Tab and try to change the settings for 2G/3G or WiFi and it will not apply it after going back!

Edit: found a 2nd one, can't open Theme manager. When I try to open it, it get a FC.
[Desire Android Development] andersonmkr:
No problem for me in previous version
[Desire Android Development] l0minus:
In 2.6.1 where no probs with thememanager, now I got also a FC.

The rest seems to work fine ;)

I'm comparing the dutch translations now but I dont see much changes until now....so when everything goes well its finished tomorrow?

Sending from my HTC Desire, ICS Marange powered using XDA.
[Desire Android Development] bel57:
@Marange : Magnifying glass appears when long press, and even when double tapping, I hope you will disable this feature in next release, if possible. So now it is very annoying to select text :(

Theme manager works fine in 2.6.1, I hope you'll fix the bugs I noticed in version after 2.6.8.

Some useful apps

- No-Frills CPU Control

- GreenPower

- Onavo Count

- Onavo Extend

- MoboPlayer

- XDA :D
[Desire Android Development] marange:
I don't have the problem with double tap and magnifying glass. Please report these problems/bugs to Xiaomi. I only port it. I don't develop it and don't have contact with Xiaomi. Maybe someone here knows how to contact Xiaomi ?

And I will not remove the features from MIUI. That is not easy and will cost to much work every week. I will port the stuff over and fix things I mess up. And that is a full time job. I spent all the spare time I have on the ROM. I like doing it, but it is not easy to keep up (with a full time job and a real life). Sadly I need to go to work to pay the bills, so I need to make choices.

And what do you mean by the apps ? These are all downloadable from the market, so I don't think you mean to include them ? And btw, these are usefull apps, I run them all.

Marange
[Desire Android Development] marange:
I just did a rebuild with the Theme Manager fix. Just a small test and I will upload the fixed version. And I checked. The string is really there :). In strings.xml. Before last line.

And with the network assistant. I can confirm that that problem exists, but I don't think that that is something I messed up. It give a strange message in the logcat, which I don't understand yet. Will look into it some more. Do you know if it worked in the 2.6.1 ?
[Desire Android Development] pure gallus:
Just a quick post to say thanks, this is the best ROM I've ever used on my Desire! Keep up the great work, it is appreciated.
[Desire Android Development] ph87:
In the 2.6.1 the Network Assistant works fine - no issues.

I think I'm just blind, I downloaded the settings.apk from lenny_kano again and decompiled it, looked into the /values/strings.xml but there is no string with "LED Notifications"!!!:confused::confused::confused:

The last lines are:

#1723 <string name="master_clear_erase_application_progress">Erase applications in progress</string>
#1724 <string name="bluetooth_default_name">Xiaomi Phone</string>
#1725 <string name="bluetooth_profile_name">"%1$s's Xiaomi Phone"</string>

Sorry for taking your time with things like this!!!

But I'm glad to have your high-speed replies!!!:)
[Desire Android Development] marange:
Aha, you'll need the Settings.apk from the 2.6.8 version. I incorporated it in my build system and I guess I did it a bit different then Lenny did :).
[Desire Android Development] marange:
v2.6.8 reupped

Ok, I fixed the Theme Manager. Made a mistake with swapping the chinese and english pictures around. Sorry for that.

Uploads are finished, so the 2.6.8 can be downloaded from:

- Thru GooManager (download from Google play)

- Use the link: http://tinyw.in/0vnJ

- Using Mediafire: http://www.mediafire.com/?c43dx2c2irqhc7a

- or use QR code:
[Desire Android Development] ph87:
Okay thank you!!!:D

So I will translate it when the other translations will come...;)
[Desire Android Development] lenny_kano:
Yes, I just hard coded the string as it was only a test. You did it the correct way :)

---------- Post added at 08:49 AM ---------- Previous post was at 08:35 AM ----------

I contact xiaomi regularly (daily) but I can tell you:

They won't just remove or add features on request. They do the rom their way, which is how it should be.

Any bugs present in their builds, they are aware of ;)

Bugs present in this build are none of their concern (which is fair enough)
[Desire Android Development] jerrylin612:
Filtering FC~~~

why in my phone, 'Filtering' is not Chinese?
[Desire Android Development] jerrylin612:
When I finished installing, i used the root explorer and i can't find these folders:

system/media/wallpaper

system/media/theme/gadget

system/media/theme/simple_lockscreen.mtz

the default clock on the desktop can't display, when i get into the edit mode and choose clock style, the ThemeManger FC.
[Desire Android Development] marange:
I agree completely. But I think that people can also ask them. If they listen is their choice :).

And all bugs that I introduce should be reported to me and I will try to fix them. Of course Xiaomi is not interested in problems in my port. I think they have their hands full with their own work :).

Marange
[Desire Android Development] marange:
Filtering should be in chinese now. But I guess I messed this one up also :(. Will look into it.

UPDATE: Yes, messed this one up also. :(. Will fix it for the next release.