Possible fix for WIFI location on ICS

Discuss anything Scroll Excel Tablet related here.

Re: Possible fix for WIFI location on ICS

Postby blueeagle69 » March 31st, 2012, 8:26 pm

You won't learn anything new from this, but I thought I would post the original link, where I got the info from.
I have heard of this fix done on various devices, where Google removed the network location servers from the strings.xml. It's annoying.

http://goo.gl/DrokR

Update:
I missed this bit, sorry :(
Just found this.

Steps:
    Use ApkTool to pull "framework-res.apk" and decompile
    Replace the lines above to match the modded section
    Recompile the APK to "unsignedframework-res.apk"
    Copy and rename original "framework-res.apK" -> "originalframework-res.apk" (put this file aside in case you need to flash if you make a mistake)
    Rename the original and newly compiled files to .zip (so you can extract, edit, etc)
    - "framework-res.apk" -> "framework-res.zip"
    - "unsignedframework-res.apk" -> "unsignedframework-res.zip"
    Extract "resources.arsc" from unsigned and paste (and overwrite) to the "framework-res.zip" file
    Rename "framework-res.zip" -> "framework-res.apk"

    Push "framework-res.apk" to device (need to mount /system r/w)
    chmod 644 (i.e. <rw, r, r> for root explorer)
    Reboot and voila it worked (for me at least)!

Annoying why it won't compile for me. So at least you have gotten a step further mate :)
The first step in being right is admitting that you're wrong
User avatar
blueeagle69
Scroll Genuis
Scroll Genuis
 
Posts: 582
Joined: December 12th, 2011, 1:22 am
Location: UK, South Wales
Real Name: Brian
Scroll Version: Scroll Excel, Suggsy's ICS 4.03.

Re: Possible fix for WIFI location on ICS

Postby suggsy89 » April 4th, 2012, 10:24 pm

I, for the life of me cannot get this to work, ive used 3 different tools to build it, followed the tutorial to the letter, no mods what so ever either, and yet it still force closes when i fire up the tablet.

I have no idea what is going wrong.
User avatar
suggsy89
Trusted Developer
Trusted Developer
 
Posts: 971
Joined: June 28th, 2011, 4:33 pm
Real Name: John
Scroll Version: Scroll Excel - Jellybean 4.1.2
Yarvik Go Zetta - Scroll Extreme Jellybean 4.1.1

Re: Possible fix for WIFI location on ICS

Postby suggsy89 » April 4th, 2012, 10:47 pm

Uhm well, 20 million times later ......

I successfuly built it, i swapped the default wallpaper to test, but didnt edit the strings.xml

No force closes this time ...

A note for you and myself ...

Once its built, dont sign it, just copy over the META-INF folder and AndroidManifest.xml file :)
User avatar
suggsy89
Trusted Developer
Trusted Developer
 
Posts: 971
Joined: June 28th, 2011, 4:33 pm
Real Name: John
Scroll Version: Scroll Excel - Jellybean 4.1.2
Yarvik Go Zetta - Scroll Extreme Jellybean 4.1.1

Re: Possible fix for WIFI location on ICS

Postby suggsy89 » April 4th, 2012, 10:57 pm

DONE IT!!!!!!!!

Once again.... I rule :D :D :D :D :D :D

Oh, and so do you Blue Angel ;)
User avatar
suggsy89
Trusted Developer
Trusted Developer
 
Posts: 971
Joined: June 28th, 2011, 4:33 pm
Real Name: John
Scroll Version: Scroll Excel - Jellybean 4.1.2
Yarvik Go Zetta - Scroll Extreme Jellybean 4.1.1

Re: Possible fix for WIFI location on ICS

Postby blueeagle69 » April 5th, 2012, 12:29 am

What, you managed to get the WIFI location working?
I managed to decompile. I edited Strings.xml.
Re-compiled.
I then renamed the newly compiled framework-res.apk to *.zip
I then renamed the original framework to .zip
And copied the resources.asrc from the new framework to the original.
Renamed back to .apk and pushed the file back.
I rebooted, no bootloops. Tablet booted fine. But no wifi location :evil:
I then took apart the file I just played around with, and checked the strings.xml
And it was back to normal (@NUL) :(
The first step in being right is admitting that you're wrong
User avatar
blueeagle69
Scroll Genuis
Scroll Genuis
 
Posts: 582
Joined: December 12th, 2011, 1:22 am
Location: UK, South Wales
Real Name: Brian
Scroll Version: Scroll Excel, Suggsy's ICS 4.03.

Re: Possible fix for WIFI location on ICS

Postby suggsy89 » April 5th, 2012, 12:52 am

Yes :) it shows my location acurate to like 10 meters

You know when you recompile the apk, in there should be a folder called dist or build with a newly built apk, that's tge one you need, extract that to a seprate folder the zip it with WinRar using store compressin, then go to the original apk and drag the meta-inf folder into the new zip then rename it to framework-res.apk push it using android commander and check that the permissions are set to 664. Reboot.
Sent from my GT-I9100 using Tapatalk
User avatar
suggsy89
Trusted Developer
Trusted Developer
 
Posts: 971
Joined: June 28th, 2011, 4:33 pm
Real Name: John
Scroll Version: Scroll Excel - Jellybean 4.1.2
Yarvik Go Zetta - Scroll Extreme Jellybean 4.1.1

Re: Possible fix for WIFI location on ICS

Postby blueeagle69 » April 5th, 2012, 1:01 am

You jammy sod :)
I was using AutoAPKTool.
You copy the apk to the INPUT_APK_FOLDER.
Hit decompile.
A decompiled folder is then placed in the above folder.
You then apparently edit the file in this folder.
Once done, you hit compile in the batch file. And drag this folder to the batch file window.
Once this is done, the newly built apk is in the OUT_APK folder.
Flipping thing.
Edit: You're a genius.
The first step in being right is admitting that you're wrong
User avatar
blueeagle69
Scroll Genuis
Scroll Genuis
 
Posts: 582
Joined: December 12th, 2011, 1:22 am
Location: UK, South Wales
Real Name: Brian
Scroll Version: Scroll Excel, Suggsy's ICS 4.03.

Re: Possible fix for WIFI location on ICS

Postby suggsy89 » April 5th, 2012, 1:16 am

I didn't bother with that after, I used batch files and commands, all manual work, I'll upload my de-complie re-compile folder and a cheat sheet for you tomorrow ;)

You will get it done soon mate :)

Sent from my GT-I9100 using Tapatalk
User avatar
suggsy89
Trusted Developer
Trusted Developer
 
Posts: 971
Joined: June 28th, 2011, 4:33 pm
Real Name: John
Scroll Version: Scroll Excel - Jellybean 4.1.2
Yarvik Go Zetta - Scroll Extreme Jellybean 4.1.1

Re: Possible fix for WIFI location on ICS

Postby blueeagle69 » April 5th, 2012, 1:24 am

Ok matey.
I thought I had it then.
I went back to using XDA Auto Tool.
And sure enough, there is dist folder in the framework-res folder.
In there was the apk.
I open this as an archive.
And copied across the manifests and meta_inf from the original apk.
Renamed the file in the dist folder to .apk and pushed this to the Excel.
It booted.
This time I had the location warning :)
Went into maps, and nothing. Arghhh. I think I will go to bed.
The first step in being right is admitting that you're wrong
User avatar
blueeagle69
Scroll Genuis
Scroll Genuis
 
Posts: 582
Joined: December 12th, 2011, 1:22 am
Location: UK, South Wales
Real Name: Brian
Scroll Version: Scroll Excel, Suggsy's ICS 4.03.

Re: Possible fix for WIFI location on ICS

Postby blueeagle69 » April 5th, 2012, 1:28 am

Scratch that.
It's working !!!
If only I had gone on my first hunch and used XDA Auto Tool, and looked in the dist folder.
BTW XDA Auto Tool rocks.
You can change the version of APK Tool on the fly.
We have Location!!!
Two minds are definitely better than one.
SO if anyone wants to fix the WIFI Network Location in ICS, and can't be asked to go through what Suggsy and I did. I will upload a copy of my framework-res.apk :)
Although you won't get to do hundreds of de-compiles and re-compiles. Lol.
The first step in being right is admitting that you're wrong
User avatar
blueeagle69
Scroll Genuis
Scroll Genuis
 
Posts: 582
Joined: December 12th, 2011, 1:22 am
Location: UK, South Wales
Real Name: Brian
Scroll Version: Scroll Excel, Suggsy's ICS 4.03.

PreviousNext

Return to Scroll EXCEL - General Discussions

Who is online

Users browsing this forum: No registered users and 4 guests

cron