yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Chomanator:
Sorry to spam your thread but here's what I've researched up: The error is being thrown by this bit of code in Environment.java

private static void throwIfSystem() {
if (Process.myUid() == Process.SYSTEM_UID) {
Log.wtf(TAG, "Static storage paths aren't available from AID_SYSTEM", new Throwable());
}
}

So basically the processes are being started as system_server without matching GID and UIDs causing them to crash immediately. In the case of system ui, since the process is necessary it will repeatedly crash as its constantly restarted.
[Nexus 4 Android Development] pcs333:
location access

Hi guys.

Loving this Rom.

Is the location access for things like google maps and navigation a known bug?

I can't get it to work :(
[Nexus 4 Android Development] luiseteyo:
Yes, it's a known bug, and I am going crazy trying to fix it... probably somebody can help me.

The rom has an apk which is NetworkLocation.apk, I tried to replace it with the stock one, but in the stock firmware or in gapps there isn't any apk like that...

The logcat of the geolocation bug is the following:
[Nexus 4 Android Development] punkmonkey1984:
Yes, find my previous post on this thread, it has a app attached.
[Nexus 4 Android Development] davela72:
Do you by chance have these that you could post so I can try that?

---------- Post added at 06:47 AM ---------- Previous post was at 06:44 AM ----------

Go back to post #155, that worked for me and a few others.
[Nexus 4 Android Development] boykioy:
I think the geolocation problems are in the Framework-res.apk

Miui have this:

<string name="config_networkLocationProviderPackageName">com.baidu.map.location</string>

<string name="config_geocodeProviderPackageName">com.baidu .map.location</string>

Need to be replaced with this:

<string name="config_networkLocationProviderPackageName">com.google.android.location</string>

<string name="config_geocodeProviderPackageName">com.google.android.location</string>

Eitherway i suggest to wait for the release today, this bug is fixed.
[Nexus 4 Android Development] Neefy:
For some reason my wallpaper is just black ?

Edit, nevermind a reboot fixed it
[Nexus 4 Android Development] luiseteyo:
I don't have more thanks today.. I am sorry, but thanks!! :) My apktool doesn't want to work. I get allways the same message also if i don't modify anything... :rolleyes:
[Nexus 4 Android Development] pheonixdx:
You can fix that by telling MIUI which apps are allowed to display on the status bar

Settings>Status bar>Customize status bar notification

then you just select that apps that are allowed to be shown on the status bar and you are good.
[Nexus 4 Android Development] mikkis2k:
Modify it .. download apksigner or zipsigner on a phone and sign the .apk :P?
[Nexus 4 Android Development] Neefy:
My calendar tile doesn't flip by itself and my clock tile doesn't move by itself
[Nexus 4 Android Development] boykioy:
you have a custom icon pack? then they will not move.

And the the 3.6.7 rom for GLAXY NEXUS is out http://files.miuiandroid.com/3.6.7/miuiandroid_maguro_jb-3.6.7.zip

, lets start porting shall we?
[Nexus 4 Android Development] Neefy:
Fixed clock, but the calendar app just status on "7" while in the Russian one it would flip and say month too sometimes
[Nexus 4 Android Development] luiseteyo:
I didn't find this:

<string name="config_networkLocationProviderPackageName">com.baidu.map.location</string>
<string name="config_geocodeProviderPackageName">com.baidu .map.location</string>

but I saw something strange in strings... the line is incomplete...
[Nexus 4 Android Development] Neefy:
Perhaps check what it's set to in proper v4 or 5 releases? Like the mi two version
[Nexus 4 Android Development] luiseteyo:
As I said, I don't have more thanks today, so... THANKS
[Nexus 4 Android Development] Neefy:
No problem :) just trying to help out
[Nexus 4 Android Development] scottx .:
For some reason tasker keeps dying.
[Nexus 4 Android Development] fauzi_91:
Go to setting>statusbar>customize statusbar notifications n select what apps do you want the icon to be display in statusbar..
[Nexus 4 Android Development] Neefy:
Try this, from another thread

Please try the following steps:

1. Remove BaiduNetworkLocation.apk from system/app

2. Put google's NetworkLocation.apk to system/app

3. Replace the following strings in framework-res.apk

config_networkLocationProvider2 => "com.android.location.service.NetworkLocationProvider"

config_geocodeProvider => "com.android.location.service.GeocodeProvider"
[Nexus 4 Android Development] Zehlek:
Woo hoo 3.6.7 is released on en.miui.com
[Nexus 4 Android Development] luiseteyo:
Wifi tethering fixed. Added to RC7 (raulgm helped me recompiling, since my apktool is drunk)

That strings are already like that in framework-res.apk. No need to change anything.
[Nexus 4 Android Development] facile12345:
Tried this rom Few days ago.

Got big problems with the wifi, either doesn't work or slow as hell. Doesn't connect to google services, That kind of things.

Also is Custom kernels will be compatible in the future ?
[Nexus 4 Android Development] Saiger:
try the official rom which was released today

http://en.miui.com/thread-2651-1-1.html
[Nexus 4 Android Development] saiiint:
gonna test 3.6.7 from en.miui.com
[Nexus 4 Android Development] Kraaz:
3.6.7 ?

en.miui.com.saying 3.6.7

http://pan.baidu.com/share/link?shareid=1053680226&uk=118385590

link still saying 3.5.31 ?
[Nexus 4 Android Development] Zehlek:
I just noticed that myself :(
[Nexus 4 Android Development] luiseteyo:
Well I think I got it...

In arrays.xml we have to modify lines 402-405

<string-array name="config_locationProviderPackageNames">
<item>com.android.location.fused</item>
<item>com.baidu.map.location</item>
</string-array>

so it becomes

<string-array name="config_locationProviderPackageNames" translatable="false">
<item>com.android.location.fused</item>
<item>com.google.android.location</item>
</string-array>

My apktool isn't working, but, could someone do the modification for me? I would thank a lot and we would fix geolocation

The procedure would be...

1. Install framework-res.apk and framework-miui-res.apk

apktool if framework-res.apk
apktool if framework-miui-res.apk

2. Decompile framework-res.apk

apktool d framework-res.apk framework-res

3. Do the arrays.xml modifications

4. Recompile

apktool b framework-res

You'll have to use this frameworks:
[Nexus 4 Android Development] tathanhlam66:
:laugh::laugh::laugh:

http://pan.baidu.com/share/link?shareid=4013128191&uk=118385590
[Nexus 4 Android Development] Zehlek:
Awesome thanks, downloading now :D:D:D
[Nexus 4 Android Development] Neefy:
Is this en version and not China version?
[Nexus 4 Android Development] luiseteyo:
Is an unnofficial build from miui.com. Yes, it also has english
[Nexus 4 Android Development] facile12345:
Chinese and english are already present in stock anyways so there shoudn't be any problem.
[Nexus 4 Android Development] saiiint:
Yup just flashed and its still 3.5.31 without any fixes
[Nexus 4 Android Development] Neefy:
Can you mirror?
[Nexus 4 Android Development] luiseteyo:
Please anybody can help?

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Android Development] illr:
Just refresh the page.
[Nexus 4 Android Development] Neefy:
Doesn't help, still getting 0,54kbps
[Nexus 4 Android Development] Zehlek:
2 hours to download. Slower than goo.im lol
[Nexus 4 Android Development] tathanhlam66:
no, i have slower net :(
[Nexus 4 Android Development] Alex0901:
Take This:

http://pan.baidu.com/share/link?shareid=4013128191&uk=118385590
[Nexus 4 Android Development] illr:
Ahhh! Mine just started dlin slow as sh!t too haha

---------- Post added at 03:37 PM ---------- Previous post was at 03:36 PM ----------

Ok hold on
[Nexus 4 Android Development] huhu2207:
SONETHING WRONG... DELETED
[Nexus 4 Android Development] punkmonkey1984:
Send me a pm, I'm post them when I'm home from work.
[Nexus 4 Android Development] huhu2207:
i will try to upload it to my own server.
[Nexus 4 Android Development] illr:
[MENTION=4311896]luiseteyo[/MENTION] I can't load my framework -.- that's weird...
[Nexus 4 Android Development] huhu2207:
okay , i am uploading 3.6.7 now but the speed is quite low, only 150KB/s

please check http://hu-studio.com later.

---------- Post added at 11:03 PM ---------- Previous post was at 10:53 PM ----------

because of the chinese offical blocking firewalls (aka GFW, the great firewall) , the international network routing sometime will be very very very slow. just like i access xda or google or even github, sometime i will get blocked. (the network returns HTTP 101, connection reset, or the bandwidth becomes low.) we have no idea about this.:mad::banghead:

---------- Post added at 11:08 PM ---------- Previous post was at 11:03 PM ----------

okay, 65 precent. thanks for waiting
[Nexus 4 Android Development] luiseteyo:
WiFi tethering images from my mothers Iphone lol

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Android Development] koaaN:
USB Tethering to?
[Nexus 4 Android Development] frontlyna:
Has anyone got light flow notifications to work with this rom? If so can you please post your settings. Thanks
[Nexus 4 Android Development] huhu2207:
now MIUI 3.6.7 has come. thanks for using my mirror server .:D

link:

http://hu-studio.com/miui_GoogleNexus4_3.6.7_4.2.zip
[Nexus 4 Android Development] luiseteyo:
Well... Didnt test hahaha wait two secs

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Android Development] Soul_Raider:
Only tried, it works.

---------- Post added at 09:19 PM ---------- Previous post was at 09:18 PM ----------

Thanks! One hour...
[Nexus 4 Android Development] frontlyna:
What settings did you use?
[Nexus 4 Android Development] luiseteyo:
Well ehhhhmmmmmmmmmmmmmmmmmm........yes.
[Nexus 4 Android Development] Zehlek:
Much better than the 1 Days I was getting from Baidu
[Nexus 4 Android Development] Soul_Raider:
I don't use it, I only checked it.
[Nexus 4 Android Development] Chomanator:
So no assistance for those unable to even effectively use this ROM due to clear issues? I'm not the only one having these problems...there are 3 in this thread alone.
[Nexus 4 Android Development] MotoFlasher:
... use jDownloader ... ;)

i can make a mirror ... if required

edit:

The upload (https://mega.co.nz/) will take about 40 minutes. Upload speed only 100-150KB/s

finished ...
[Nexus 4 Android Development] Zehlek:
After 10MB it stops :(
[Nexus 4 Android Development] Soul_Raider:
Reached it without problems. But 30 Kb/s... 2,5 Hours.
[Nexus 4 Android Development] boykioy:
anyone manged to flash the new build?is the geolocation fixed?

Edit: Nope is still unfixed.
[Nexus 4 Android Development] luiseteyo:
Im sure the miui.com release is based in xda ports... Is going to have the same bugs and fixes. On next miui release I am sure they will fix tether, now we fixed it...

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Android Development] naripsta:
Is there any way to customize the soft key icons?
[Nexus 4 Android Development] boykioy:
We will eventually but it is a very annoing bug.:mad:
[Nexus 4 Android Development] luiseteyo:
Which one? Tether or geolocation? Tether is fixed

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Android Development] saiiint:
well 55mb downloaded and stops ;/
[Nexus 4 Android Development] Zehlek:
RC 7 be based on 3.6.7?
[Nexus 4 Android Development] luiseteyo:
No. It will be based in 3.5.31. I prefer to keep development here and then update, because some things will stop working.

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Android Development] MotoFlasher:
here is the mirror ... ;)

miui_GoogleNexus4_3.6.7_4.2.zip
[Nexus 4 Android Development] Soul_Raider:
I will try use 3.6.7 in next build. ;)

Flashing... No NFC, no USB Tethering, nothing. There will be a lot of work...
[Nexus 4 Android Development] scottx .:
I keep hearing my phone make a camera noise. Searched for a cause but I'm at work and I don't have the time.
[Nexus 4 Android Development] Nburnes:
I can't even get 3.6.7 to boot fully.
[Nexus 4 Android Development] luiseteyo:
Well I told u.. Its beter to focus work un what de have...

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Android Development] Connor Baker:
In an iOS fan at heart and that theme is beautiful. Would you mind posting the link?

Connor Baker
[Nexus 4 Android Development] davela72:
I think I'm going to leave mine as is for now, I at least have NFC working. I guess my biggest thing right now is the location services not working but I can deal with that as I'm sure it will be fixed soon!
[Nexus 4 Android Development] beat s:
Am i the only one having trouble changing ringtones? It only accepts the miui system ringtones. When i select 'others' it does not change the ringtone even if it says so in the menu. :confused:
[Nexus 4 Android Development] luiseteyo:
Hahahahaha we had the same trouble in the spanish forum!! Is not a theme is my mothers Iphone screen capture just to show u that is possible to connect to the nexus 4 wifi tether!!

Is NFC working in the last release? I know how to fix location services but without apktool working I cant fix it! A few pages ago I asked for help but....

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Android Development] kasarona:
Have you tried changing ringtone from the Themes app?
[Nexus 4 Android Development] pheonixdx:
I am working on right now. I will try to have it uploaded shortly.
[Nexus 4 Android Development] beat s:
I would try if i knew how... :confused:

I have multible audiofiles on my phone and i can select them but they wont play when someone calls me...

Also if i use the app 'zedge' it does not work...

2nd bug: my swipe keyboard does not work. In the menu it says it is activated... :(
[Nexus 4 Android Development] davela72:
I'm still on your version. I got the NFC working from the fix you posted some pages back. That sucks that no one can help you with the location services fix, that would be great! All in all though, this is running pretty damn smooth. I'm not too sure about the battery life yet, it seemed to be down to around 15% in around 6 hours.
[Nexus 4 Android Development] headcreepz:
With the newer release I don't get anymore systemui FC!!:good:
[Nexus 4 Android Development] frontlyna:
Location services

I'm not sure what problems everyone is experiencing with location services because mine is working with no problem. When I opened maps the other day a menu popped up to enable it and it's been fine so far.
[Nexus 4 Android Development] pheonixdx:
Here it is. As I am still kinda new to development, I am hoping that I did this right.
[Nexus 4 Android Development] Zehlek:
Run Media Scanner from playstore and then you will see them under other
[Nexus 4 Android Development] andersensam:
I couldn't get maps to ask for permissions to the location, but when using the navigation app it finally gave the popup for location settings and now it's enabled in the rest of the google apps. Perhaps there is a bug with maps that doesn't allow it to generate the message?
[Nexus 4 Android Development] beat s:
I CAN see them and i CAN select them. It even shows them in the menu after i selected them. But when i get a call, they don't work and i can only hear the system sound selected before...
[Nexus 4 Android Development] luiseteyo:
Thaaannnnkksss! Did u try to test the new framework-res.apk? This is great, everything will be fixed soon!

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Android Development] uumeshh:
tried to decompile but getting an error

C:\adb\apk>apktool d framework-res.apk framework-res

I: Loading resource table...

W: Config flags size > 32. Exceeding bytes: 0000D002.

W: Invalid config flags detected. Dropping resources: dimen-v13-ERR0

W: Config flags size > 32. Exceeding bytes: -3FFD0000.

W: Invalid config flags detected. Dropping resources: dimen-v13-ERR1

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:

spec=0x01050001 dimen/thumbnail_height, config=-v13

at brut.androlib.res.data.ResConfig.addResource(Unknown Source)

at brut.androlib.res.data.ResConfig.addResource(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou

rce)

at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)

at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)

at brut.androlib.Androlib.getResTable(Unknown Source)

at brut.androlib.ApkDecoder.getResTable(Unknown Source)

at brut.androlib.ApkDecoder.decode(Unknown Source)

at brut.apktool.Main.cmdDecode(Unknown Source)

at brut.apktool.Main.main(Unknown Source)
[Nexus 4 Android Development] Nburnes:
I received the popup in Maps and activated it there, didn't work. Received the same popup in Navigation and activated it and now it works system wide, Google Now and everything. Getting location setting even in the awesome MIUI Weather app.
[Nexus 4 Android Development] pheonixdx:
No, I haven't been able to test it yet.
[Nexus 4 Android Development] Zehlek:
I like your version better that miuiandroid's 3.5.31. Is there anything that 3.6.7 has that RC 7 will not?
[Nexus 4 Android Development] kasarona:
On main screen, execute teh app "themes"

look for ringtone button and select the music from ur sd-card.
[Nexus 4 Android Development] luiseteyo:
Geolocation is fixed Big big thanks to raulgm (htcdevelopers) and pheonix for their help with apktool
[Nexus 4 Android Development] Zehlek:
Sweet, I hope to see RC 7 very soon :D
[Nexus 4 Android Development] beat s:
It seems it is redirecting me in the same menu as i select in system settings... But hey: it works! Can't explain why but who cares... Thank you! :D

When swipe works i am happy! :o
[Nexus 4 Android Development] luiseteyo:
You will... applying fixes and now I will send it to miui.es. When he releases it I will share with all of u!
[Nexus 4 Android Development] Droid2drummer:
Working great my brother. Nice. Running fast and stable for me in the most part. Running at 260 DPI. Sweeeeet...fast and Miui baby. Choice. An amazing thing. You've got me at miui. ;)
[Nexus 4 Android Development] Neefy:
Will it be up today? Also what is new in the new "official" miui version?
[Nexus 4 Android Development] luiseteyo:
Isn't official. It is another unofficial build built by en.miui.com based in latest miui. It's still very buggy so I don't recommend to use that one. Probably tomorrow my RC7 version will be updated to latest miui.

RC7 Changelog added to the OP
[Nexus 4 Android Development] nitsuajd:
No hay de que chatín... xD

you're welcome!

I'm using this tool to decompile/compile miui v5 maybe you can take a look

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

See you!
[Nexus 4 Android Development] pheonixdx:
You are very welcome. I am just glad I could help.
[Nexus 4 Android Development] Droid2drummer:
I agree. So far you were first. Now I see since there are others posting a mess will spill on xda. Hope not. I agree all should work together but so far many are posting. You'd be my choice. As I am already running pretty damned bug free. I have played with a few IDD and ends. All is so far daily driver for me. SMS data wylan etc. I used my build.prop skills to push 260 but I think next I will hit 180. My happy point. Peace.
[Nexus 4 Android Development] Neefy:
Looking forward to rc7 ;) make them push it now! Can't wait
[Nexus 4 Android Development] Nerd019:
i got some walls i made if anyone wants them i have some moar cool stuff :)
[Nexus 4 Android Development] headcreepz:
The newest build out is not that buggy...only thing that doesnt seem to work is geolocation. There may be more bugs that I havent come across. Seems smoother to me. I think it would be great if you guys could work together and iron out some bugs but more options is good too. Thanks for all the hard work.
[Nexus 4 Android Development] luiseteyo:
Please, share them in "wallpaper" thread in general section so we can see them!
[Nexus 4 Android Development] Neefy:
Notice anything new?
[Nexus 4 Android Development] Nerd019:
okay :) bro
[Nexus 4 Android Development] headcreepz:
I had the same problem.....I downloaded the newest build 3.6.7 and Im having no problems whatsoever. And your log looks just like mine did.
[Nexus 4 Android Development] luiseteyo:
Do u like my 29 dpi navigation bar? I do... ;)
[Nexus 4 Android Development] headcreepz:
Ya...it doesnt systemui fc on me. Every version before I could install and it would run just fine but the first time I rebooted I would get that fc. Running smoothly now...give it a try.

[MENTION=1931602]O.P.[/MENTION] sorry Im getting off topic I just wanted those that had same error as me to know it was fixed.
[Nexus 4 Android Development] Chomanator:
If you notice you're getting the same static storage path error. Our problems are the same.
[Nexus 4 Android Development] naripsta:
I changed mine through Ringtone Maker by BigBang in the Play Store.

Yea, you can't change it through the system itself for some reason. It won't change at all lol.
[Nexus 4 Android Development] headcreepz:
I flashed 3.6.7 and no more errors....
[Nexus 4 Android Development] Datsun.510:
I flashed it too, but permissions manager is not working for me. I can't enable root. You?

EDIT: NVM. Root is working.
[Nexus 4 Android Development] Zehlek:
What about geolocation and wifi tether?
[Nexus 4 Android Development] Datsun.510:
GPS location is working on 3.6.7
[Nexus 4 Android Development] Nerd019:
can someone link me to new update please :) im at work :( thats why
[Nexus 4 Android Development] Nburnes:
I can't get 3.6.7 to boot at all. Starts and I see the bootlogo, flashes and vibrates then adb logcat tells me the system services all just die off and it keeps bootlooping at that point.
[Nexus 4 Android Development] headcreepz:
So how do we fix it?
[Nexus 4 Android Development] Chomanator:
As of right now I am not getting this error on the latest build and I've rebooted several times now. About phone works as well.
[Nexus 4 Android Development] headcreepz:
O.k. it was working for me also but as soon as i tried adding gapps it did the same thing. which gapps are you using?
[Nexus 4 Android Development] Benxter:
How do i do that?
[Nexus 4 Android Development] Chomanator:
Eh nevermind. Just started happening again. There's a few ways to prevent the error really. The first is making sure you sign the ROM when building it. This bug is incredibly obnoxious.
[Nexus 4 Android Development] headcreepz:
Why do we get it when nobody else does?? had you flashed gapps?

So I booted it up and all was fine...no "about phone" fc but when I rebooted to rec and flashed gapps then restarted it booted up o.k. Then I went to "about phone" and fc. So next time I boot up it will be a constant fc.......(bangs head on wall)
[Nexus 4 Android Development] Chomanator:
I flashed the ROM, rebooted a few times to make sure it was alright. Then flashed gapps and rebooted twice more. The error didn't come up until I was trying to link you the 4.2 slim gapps for miui.

I cant nail down the problem just yet. Generally its a problem with Environment.java and UIDs and GIDs not matching where expected. I cant do anything without a working PC and the problem is generally ignored ( happens with other devices even on the 4.1 base ) by their respective developers because they can't reproduce it. So for right now this rom is unusable by those with this problem.
[Nexus 4 Android Development] boykioy:
Really?ok then.we have to wait for the build tomorrow then?I request please can you release it with normal dpi navigation bar?26 is very small for me.

Στάλθηκε από το Nexus 4 μου χρησιμοποιώντας Tapatalk 2