dex edits? - Nexus 6 Q&A, Help & Troubleshooting

So, with lollipop I have ran into a small problem. Without custom compiled roms (Im getting there slowly) I decided to quickly baksmali the services.jar in an attempt to get rid of that carrier check for native hotspot. Turns out its not as easy as when we were all using KK and below due to the ART runtime. Does anybody know of a way to do some edits to the dex on lollipop yet?
EDIT: Turns out the prop edits for hotspot worked the second time around however I am still curious on how we are going to be able to edit stuff on the stock ROM if we so choose.

Related

Compile CM9 wifi only?

I've got a SGT7 here from a friend, and it's the TMobile version. I have CM9 on here right now and I'm currently messing with the CM9 source for it. What's the easiest way to compile it wifi-only and remove ALL aspects of the cell from it? I want to do this so that the cell doesn't take up battery life and because I'm trying to slim it down for a specific purpose. Can anyone point me in the right direction? I changed the cm.mk include from full_phone to full_tablet_wifionly but that does absolutely nothing. Since I'm not that familiar with it, I'm having a hard time tracing the make files back and forth because I'm not sure what gets called and when. Any help is appreciated.

[Q] Quest for stock-like ROM for UK and instructions

Hi,
Can anybody suggest a ROM that will work well in the UK, and provides a stock-like experience with a reasonably up to date version of Android. It doesn't have to be bleeding edge - I'd rather have everything working rather than access to the very latest features.
I've currently got a stock ICS, and so wonder if somebody could point me to easy step by step instructions on how to flash the suggested ROM. There's a lot of jargon about safe straps, and so on, and some of the instructions seem to expect a level of knowledge that I don't have (I'm happy to learn if somebody would be good enough to point me in the direction of some documentation).
It's not that I'm overly unhappy with the stock ICS, but there are a few things that aren't working that well for me (MMS, Hotspot, etc) and an annoyance or two (unknown sim source message, and unnecessary Verizon apps) that are making me think I should re-flash to something cleaner.
Cheers,
Steve.
StevePritchard said:
Hi,
Can anybody suggest a ROM that will work well in the UK, and provides a stock-like experience with a reasonably up to date version of Android. It doesn't have to be bleeding edge - I'd rather have everything working rather than access to the very latest features.
I've currently got a stock ICS, and so wonder if somebody could point me to easy step by step instructions on how to flash the suggested ROM. There's a lot of jargon about safe straps, and so on, and some of the instructions seem to expect a level of knowledge that I don't have (I'm happy to learn if somebody would be good enough to point me in the direction of some documentation).
It's not that I'm overly unhappy with the stock ICS, but there are a few things that aren't working that well for me (MMS, Hotspot, etc) and an annoyance or two (unknown sim source message, and unnecessary Verizon apps) that are making me think I should re-flash to something cleaner.
Cheers,
Steve.
Click to expand...
Click to collapse
MMS and hotspot are easy to fix.
I'm not sure who your carrier is, but make sure your APN has MMS in it. When it comes to Hotspot, find my thread on enabling hotspot to work on Rogers wireless, it should give you some ideas. It involves you disabling the entitlement check and then adding (through the same program) a DUN apn type which allows for wireless hotspot to function properly.
I just find ICS slow, and I've loaded up Hashcode's CM10 port. Working pretty well so far, but I do miss a few things about blur.
danifunker said:
MMS and hotspot are easy to fix.
I'm not sure who your carrier is, but make sure your APN has MMS in it. When it comes to Hotspot, find my thread on enabling hotspot to work on Rogers wireless, it should give you some ideas. It involves you disabling the entitlement check and then adding (through the same program) a DUN apn type which allows for wireless hotspot to function properly.
I just find ICS slow, and I've loaded up Hashcode's CM10 port. Working pretty well so far, but I do miss a few things about blur.
Click to expand...
Click to collapse
Thanks - I've rooted now, and managed to get the hotspot working (I think, it's untested, but it at least runs now). I've also got MMS working, which turned out to be a Handcent problem, although the only reason I have Handcent is that stock simply won't work, which is really confusing, because you would expect them to use the same settings.
I also have got rid of the semi-annoying "sim card from an unknown source" message too, and because the phone is rooted, I can get it to reboot daily automatically, which I think will probably help with some of the other weird behaviours I occasionally see.
I guess this has taken the pressure off flashing something new, but if there is a stock-like Jelly Bean ROM then I could be tempted. Presumably because I've rooted, when the official JB comes I'll have to do something special to get it to install, but I guess that will be half the fun.
Cheers,
Steve.

[Q] Enable Native Bluetooth Tethering

I have a family share plan w/ AT&T with tethering enabled; however, while WiFi and USB is available, bluetooth is not visible. I've been searching every where and haven't seen a solution for the AT&T Note 3 yet, but I did come across this thread for the S4 that uses a modified framework.res.apk file
http://forum.xda-developers.com/showpost.php?p=47140596&postcount=1
From what I can tell from the script, couldn't this be ported to the AT&T Note 3 build?
Any thoughts?
lehighkid said:
I have a family share plan w/ AT&T with tethering enabled; however, while WiFi and USB is available, bluetooth is not visible. I've been searching every where and haven't seen a solution for the AT&T Note 3 yet, but I did come across this thread for the S4 that uses a modified framework.res.apk file
http://forum.xda-developers.com/showpost.php?p=47140596&postcount=1
From what I can tell from the script, couldn't this be ported to the AT&T Note 3 build?
Any thoughts?
Click to expand...
Click to collapse
I'm using PdaNet+ to BT tether internet to my Galaxy Gear. Gear uses PdaNet. I am running stock.
AT&T removed BT tethering, tried porting it over awhile ago but could never get it to work. Flash an Int'l ROM like X Note or wait for someone to actually mod it to work.
Edit: or follow the above and download an app that let's you tether through Bluetooth. They aren't going to be as battery friendly but a lot less of a hassle than flashing ROMs.
Thanks... I have been able to decompile and edit the framework-res.apk file on MJ5 to get the Bluetooth Tether option to show up and be able to be selected but the issue I am running into now is that it doesn't seem to broadcast the appropriate Bluetooth profiles. More to come.
We be great if you could get this to work!
Sent from my Note 3 SM-N900A rooted by Designgears
...so I gave up for the time being and installed the AT&T port of XNote via SafeStrap because I couldn't find enough information on how to enable the missing BT stack. Will likely revisit at some point. Thanks!

[Q] Build.prop edits?

So I found this information:
http://androidhackz.blogspot.com/2014/07/buildprop-hacking-increase-network.html
I've already modified the build.prop on my rooted Nexus 6 running 5.0 to enable screen casting, which worked perfectly (even though Netflix only shows a black screen). But I'm wondering if any of these other edits would work. Like the "General Performance", "Increased Media & Streaming Performance", "Make apps load faster and frees more ram", etc. Any way to increase my LTE speeds?
I'm new to build.prop editing, so any thoughts or advice would be great.
Thanks
Try them out and let us know?
Sent from Shamu
most do nothing on newer devices
Ok, thanks. I don't want to start messing with something and cause more harm than good. Figured someone would have more experience. Just trying to boost as much performance as possible. It seems to be slow on LTE, but that might just be my AT&T network connection or data throttling. Still wish I could get miracast working 100%!

[Q] AOSP LYZ28E & Wi-Fi Calling Issue

I need help to figure out how to get Wi-Fi calling to work on AOSP LYZ28E on Nexus 6 and T-Mobile.
I have built many ROMs with AOSP source code from 5.1 on up and have encountered problems with sound & video not working properly with pure source code. I've always been able to find the solutions here on XDA.
With LYZ28E for Nexus 6, a straight build using pure AOSP source code (using repo init, repo sync & make with no additional code) I can't even get a ROM built that has working data on cellular signal.
Straight out of the box on this build, there is no cellular data signal, volume fades, video doesn't work, VoLTE doesn't work & Wi-Fi Calling doesn't work, even though the settings are there.
I've found the solutions for everything except for Wi-Fi Calling. My ROM has a few features added in including Battery & Notification lights, resizable nav bar and battery percentage text, and the sound, video & VoLTE works.
But for the life of me I can't get Wi-Fi calling to work. It works in my house on the factory image so I know it's not a problem with my location or infrastructure settings.
I've looked through the few ROMs here on XDA to compare my code with their Wi-Fi Calling commits, and I can't see any differences. I know I'm missing something, but I can't find it and don't know exactly where to find it. Google searches don't bring up anything useful.
I'm hoping someone here can help point me in the right direction or give me some clues on where to look. I've attached some screen shots of my settings & APN.
I truly appreciate any help you kind folks can provide.
Thanks
from what ive read around, you need to have an edited kernel, with the proper edits, to get wifi calling to work on aosp. what are the edits, i dont know, but it needs to be done. you can look at chroma roms source code to look what was done to get wifi calling to work.
Thanks simms, I saw ZephiK had some kennel work in his Git, so I'll look into that and see what I can do from there.
Thank you very much for the tip!
good luck!
Thanks I'm going to download his kernel source and try to figure out if I can stick it into my files and see if it builds or if I need to compile it separately or whatever needs to be done haha
I'll update this thread with the results...
Onward and upwards
EDIT: I managed to finally get wifi calling to work on my rom, thanks to Pure Nexus ROM source. It turns out the AOSP stock kernel does enable wfc out of the box. There's just a lot of proprietary vendor files I didn't have that I obtained from the Pure Nexus source.
So, yeah, finally got everything working on my rom that I want

Categories

Resources