[Q] NFC and Network Switching from I727R to I727 - AT&T Samsung Galaxy S II Skyrocket SGH-I727

Hello,
I am working on a little 2.3.6 UCLA3 ROM here and I want to try to bring the NFC and Network Switching settings from the Rogers Base roms over to my AT&T base.
I was able to install the necessary pieces for NFC (I think, the tags app works but asks for it to be enabled) but I don't know how to install the menu entry. I am also completely in the dark for Network Switching. I have done a diff on decompiled SystemUI, SystemInfo, and framework-res between I727R and I727 roms and have not found the right differences.
Any direction would be great, thanks.

promiseofcake said:
Hello,
I am working on a little 2.3.6 UCLA3 ROM here and I want to try to bring the NFC and Network Switching settings from the Rogers Base roms over to my AT&T base.
I was able to install the necessary pieces for NFC (I think, the tags app works but asks for it to be enabled) but I don't know how to install the menu entry. I am also completely in the dark for Network Switching. I have done a diff on decompiled SystemUI, SystemInfo, and framework-res between I727R and I727 roms and have not found the right differences.
Any direction would be great, thanks.
Click to expand...
Click to collapse
Good luck. I asked about the menu entry locations a while back and never got an answer. I hope you can find the answer though, because it would mean being able to use NFC on a stock ROM.

I'm beginning to believe the key is in the framework jar files. A diff between all relevant decompiled APKs between ATT 2.3.6 and boneStock (ROGERS) yielded no significant differences. The key will be in extracting classes.dex, converting to jar, decompiling and then sorting through the 1000s of .class files, oof.
Sent from my SAMSUNG-SGH-I727 using Tapatalk

promiseofcake said:
I'm beginning to believe the key is in the framework jar files. A diff between all relevant decompiled APKs between ATT 2.3.6 and boneStock (ROGERS) yielded no significant differences. The key will be in extracting classes.dex, converting to jar, decompiling and then sorting through the 1000s of .class files, oof.
Sent from my SAMSUNG-SGH-I727 using Tapatalk
Click to expand...
Click to collapse
You may be onto something. My theory is that everything is alesdy in place for the skyrocket to use NFC exceft for the menu options. I think once the menu options are installed and linked correctly, NFC will work. The question is, how to get the menu otions set up and in the place they need to be,

Phone.apk controls network switching as far as i know

M0D1441 said:
Phone.apk controls network switching as far as i know
Click to expand...
Click to collapse
Thanks man.
I just got NFC ported (well un-disabled) and APM Ported from the I9100 done and working in 2.3.6 UCLA. After I get the trifecta I will release instructions / info / git repos and vanilla cake (maybe on the vanilla cake).

promiseofcake said:
Thanks man.
I just got NFC ported (well un-disabled) and APM Ported from the I9100 done and working in 2.3.6 UCLA. After I get the trifecta I will release instructions / info / git repos and vanilla cake (maybe on the vanilla cake).
Click to expand...
Click to collapse
It will be interesting to see how you got NFC enabled. And if it can be done on the stock ROM or not. I'm looking forward to you posting the info. Thanks.

scott14719 said:
It will be interesting to see how you got NFC enabled. And if it can be done on the stock ROM or not. I'm looking forward to you posting the info. Thanks.
Click to expand...
Click to collapse
I have it done on my, for all intents and purposes, "Stock" 2.3.6 AT&T rom. Just need to edit some smali code to bring the menu option back and push the Tags.apk to /system/app. I don't have the diff on me at the moment but I will post it up in a new Dev thread.

promiseofcake said:
I have it done on my, for all intents and purposes, "Stock" 2.3.6 AT&T rom. Just need to edit some smali code to bring the menu option back and push the Tags.apk to /system/app. I don't have the diff on me at the moment but I will post it up in a new Dev thread.
Click to expand...
Click to collapse
Wow, sounds great. I assume your stock ROm is Deodexed in order to get to the smali files? This mod will help fill many requests from people on this forum.
And, by Tags.apk do you mean nfc.apk? The reason I ask is that I am running Alien 6 ROM that has NFC, however, I have not been able to test it out yet (others say it is working). When I use root explorer to check System / App, I only see the nfc.apk and not Tags.apk? I was wondering if an additional file is needed? Thanks for everything you are doing.

Related

Looking for a specific build of JVB

I'm looking for a deodexed JVB, extended menu and 5 locks screen. Without all the other theme mods.
Maybe check docs rom kitchen in i9000 forum
Sent from my SGH-I897 using XDA Premium App
I have that rom.. I just don't have a way to do the 5 locks for JVB or the extended power menu...
There are topics in the I9000 section that cover what your looking for.
Sent using my 2.3.3 Captivate running Debis from some tall metal thing in a field.
X10D3 said:
I'm looking for a deodexed JVB, extended menu and 5 locks screen. Without all the other theme mods.
Click to expand...
Click to collapse
Cezar has a ROM, Continuum v5 (here). maybe you could download it and extract what you are looking for. Or, just use the ROM
Because most themes IMO are ugly. I personally like the stock samsung with some small modifications. No one does that. I haven't found one rom from the developers that don't screw with the theme. Not everyone likes what you like. The best I can do is download something from the romkitchen with the stock theme and get smart little remarks when I try to ask for help.
http://www.dystopia-zero.net/xxjvb-stock.zip
There you go, dude. Completely stock except for xcal's kernel, 5 lock screen mod, built in ad blocking, overscroll effect and crt off. Also has launcher2, but it seems the icons in the app drawer are fuzzy, so if that bothers you, you might want to set touchjizz as the default launcher.
It also won't flash bootloaders, so you'll need to find the new 2.3 ones somewhere else. I recommend just flashing the stock jvb from samfirmware.com with xcal's kernel, then flashing this over it with CWM.
Maybe wait it out for Perception II? DG ROMs usually have a pretty stock feel to them.
MM do you know where I can find a tut on adding the extended menu and such. I'm interested in the dev part. Just hard finding anyone willing to help you get started.
X10D3 said:
MM do you know where I can find a tut on adding the extended menu and such. I'm interested in the dev part. Just hard finding anyone willing to help you get started.
Click to expand...
Click to collapse
The one I linked you to has the extended power menu. Doing it yourself is a bit involved.. you have to decompile the .dex/.odex executable with baksmali.jar and edit the code (.smali files), then recompile it with smali.jar and repackage the apk. I don't know if there are any actual tutorials that go in depth on the topic; at least I haven't seen any. It's really kind of a dive-in-and-do-it thing.
If you want to try adding common features like that to a bare rom though, there are a lot of precompiled versions floating around on xda where you just have to replace the .jar file in the proper directory. Just search for the feature you want and chances are pretty high that someone already made a standalone cwm flashable zip of it. Either that or you can try pulling it out of existing roms and popping it in to your own, provided they're based off of the same build of android.
You should check out MikeyMike's rom building tut. It's one of the stickied threads at the top of the general section. It goes over the basics pretty well.
thanks man. I'm going to have to give it a shot. This zip won't work with CWM 3
My Gingerbread ROM will have a very stock theme.
Sent from my GT-I9000 using XDA Premium App
X10D3 said:
thanks man. I'm going to have to give it a shot. This zip won't work with CWM 3
Click to expand...
Click to collapse
Oh, wacky.. thanks for telling me, I don't normally build roms for other people and I stick to CWM 2.5.
You might also find this interesting: http://androidcracking.blogspot.com/2010/09/examplesmali.html
IDoMy0wnRacing said:
Cezar has a ROM, Continuum v5 (here). maybe you could download it and extract what you are looking for. Or, just use the ROM
Click to expand...
Click to collapse
That's the best option. Continuum v5 also have 4 themes to choose from.
Sent from my GT-I9000 using XDA Premium App

Stock mms.apk, mod to split long messages?

I am totally stumped here. I have spent the last 4 hours trying to modify stock Mms.apk to ONLY allow 160+ char split messages (but remain otherwise stock). There are other apk's available that fix the split, but they all combine other visual/theme mods... and I like the stock app just the way it is (other than the lack of split).
I don't know what I'm doing, obviously. Mostly I've tried modifying the mms_config.xml file, and the setting I have says it should be working... but it's not. :-( Any tips?
Just for test, I've set:
enableMultipartSMS true
maxMessageTextSize -1
smsToMmsTextThreshold 4
maxMessageSize 307200
(these appear to be the same settings used in the MIUI mms app that work properly there, but not for me!) :-(
Now I am able to send a message over 160char, and it DOES split it into multiple messages, however each message is still gibberish. Aggh... this is driving me crazy.
http://www.theslacker.org/~s3v3n/ns/ns4g/Mms.apk
This gives you the OPTION for visual themes, you can disable/enable the black background; gives a few other options.. but this is pretty much a stock APK to fix the splitting issue
I would try that out, but your post says Deodexed ROM is required, and I'm running Odexed.
Plus I still want to get to the bottom of how to modify the stock mms.apk. :-/
No ideas? Still stumped here.
Bump. Also want to know this.
Sent from my AOSP Android 4.1.1 Galaxy Nexus.
The111 said:
I would try that out, but your post says Deodexed ROM is required, and I'm running Odexed.
Plus I still want to get to the bottom of how to modify the stock mms.apk. :-/
Click to expand...
Click to collapse
Install a deodexed ROM lol.
madd0g said:
Install a deodexed ROM lol.
Click to expand...
Click to collapse
Not everyone wants that, lol. There are some of us that know odexed is faster, lol. But hey, thanks for being a smartass instead of being helpful, lol.
Sent from my AOSP Android 4.1.1 Galaxy Nexus.

[Q] Could anyone implement a mod just to 'Long Press back button to kill app?'

I know there are some ROMs and MODs that incorporate this as a part of a feature but the ROMs/MODs I currently use it for stability don't have this feature and I really miss this coming from CM9...
Could anyone kindly make this feature available as a stand-alone feature...?
I have Nexus S 4.0.4 ROM... Thanks!
Xeleth said:
Did a quick search and was unable to find any corresponding feature for non-cm ROMs. Just in case you want to try out editing it yourself, or someone with enough knowledge some day spots this thread: you might like to have a look at files at /system/usr/keylayout and /system/usr/keychars, I think they are used for the phone's key setup.
Click to expand...
Click to collapse
Thanks but I'm not that expert to modify files... haha
Wish someone could come up with this mod
I haven't looked through my ROM but this is a feature in Cyanogenmod 7.2 (Gingerbread 2.3.5) i am running this there is a settings panel you can tell the back button what to do upon long press! Maybe it is possible to extract this setting? Im not sure about that as i have never extracted or attempted to extract settings from any roms! But just an idea i figure
could need it, too !!!

[Q] Building custom ROM could use a couple pointers...

Like the title says I'm working on building a ROM of my own. I am new to this but am not stupid. I've looked around the forums and have bookmarked quite a few threads that will help me. My question is, how would I go about putting a custom CWM flashing screen in? Like on Eman..and ZTR where it says Collective, and flashing modem, etc. etc. And if anyone can point me to a better "ROMS for dummies thread that would be great Thanks for any help
Edit: Scratch that question, just found it lol. But any pointers will still be appreciated
So you are set?
Sent from an Emancipated Infuse bleeding Orange
Are you on linux? If you are, then i sugest installing android utility, its probably the simplest way of getting everything installed and organize it all together. It installs dsixda rom kitchen, apktool, simpla adb interface-im out of town at the moment but when i get back (friday night) i can upload some pics of the android utility
http://forum.xda-developers.com/showthread.php?t=1167623
Sent from my SAMSUNG-SGH-I997 using XDA
^ Alright man thanks. I'll have to install a linux partition on my HDD but that's easy enough. I do have one question that's confusing me...How do I add things to my rom? For example the camera mod where you can take pics with the power button? I have the apk but when I replace it at system/app it Fc's. Do I need to put the other files that come with it in my rom? Same problem with EPM. I have the settings apk but it doesn't work..
FauxAffliction said:
^ Alright man thanks. I'll have to install a linux partition on my HDD but that's easy enough. I do have one question that's confusing me...How do I add things to my rom? For example the camera mod where you can take pics with the power button? I have the apk but when I replace it at system/app it Fc's. Do I need to put the other files that come with it in my rom? Same problem with EPM. I have the settings apk but it doesn't work..
Click to expand...
Click to collapse
For camera I believe you will also need to pull the camera firmware apk too-so you need to put the modded camera.apk and camera firmware.apk in your from (both can be obtained from any of bigfaus roms
For epm you need more than just the settings apk, you also need to replace the frameworks that come with epm (policy.jar, framework-res.apk, and framework-res.jar) I believe that's all you need
As always, if you choose to upload your rom for others be sure to give credit-bigfau for camera, and I'm assuming you got epm from dman so dman for epm
Sent from my SGH-I997 using XDA
Also for battery mods (and other stuff too) a great place to go is a website called UOT kitchen-just choose your battery mod then upload your frameworks and it will place the modded battery in there for you, then replace your old frameworks with the new ones from uot kitchen
*do this after you have epm set up and running...unless you plan on doing it manually using dmans how to guide*
Sent from my SGH-I997 using XDA

[DEV]- Pantech Vega N6 A860 - CM10 Porting

This thread is going to be WIP thread for the porting of CM10 to the Pantech Vega N6 A860 codename e51.
Currently kernels are extracted and device tree wip while I collect the files to be input
https://github.com/VincentEmmanuel/android_kernel_pantech_e51k.git
I welcome anyone who is interested to help out in any way because I am really new in this porting stuff.
WIll update as and when more work is done.
Things working on now
1. Trying to find a suitable msm8960 common files repo (Not sure whether needed this at all but conducting R&D now)
2. Compiling a list of proprietary files needed for the build
God bless.
Vincent
ClockworkMod
ClockworkMod for A860 K/L/S
Flash using fastboot. Instructions are all over XDA so please search.
Thanks
thanks so much for your work...
another than CM10.1 , I also want to see customized kernel which can further enhance A860 , like power tweaks, disable logging, init.d or even add FauxAudio mod
Finally something about te Vega No6
I have the A860K. I installed a customized ROM from here http://mizal.net:82/pantech/NO.6/
Works fine, but it is not very customized. Still would like to get rid of Korean characters.Another kernel. deodexed. Less bloatware, etc.
Any other customizations?
Cheers!
---------- Post added at 11:58 AM ---------- Previous post was at 11:20 AM ----------
Leechoonhwee said:
This thread is going to be WIP thread for the porting of CM10 to the Pantech Vega N6 A860 codename e51.
Currently kernels are extracted and device tree wip while I collect the files to be input
https://github.com/VincentEmmanuel/android_kernel_pantech_e51k.git
I welcome anyone who is interested to help out in any way because I am really new in this porting stuff.
WIll update as and when more work is done.
Things working on now
1. Trying to find a suitable msm8960 common files repo (Not sure whether needed this at all but conducting R&D now)
2. Compiling a list of proprietary files needed for the build
God bless.
Vincent
Click to expand...
Click to collapse
I would not mind helping, but I am even newer than yourself
I am not a programmer, but I know very good shell scripting, PHP, and not so good C and some other useless languages.
I have pro skills in Linux as well (I work with it)
Let me know if I could be of any help.
Cheers and good luck!
magare said:
I have the A860K. I installed a customized ROM from here http://mizal.net:82/pantech/NO.6/
Works fine, but it is not very customized. Still would like to get rid of Korean characters.Another kernel. deodexed. Less bloatware, etc.
Any other customizations?
Cheers!
---------- Post added at 11:58 AM ---------- Previous post was at 11:20 AM ----------
I would not mind helping, but I am even newer than yourself
I am not a programmer, but I know very good shell scripting, PHP, and not so good C and some other useless languages.
I have pro skills in Linux as well (I work with it)
Let me know if I could be of any help.
Cheers and good luck!
Click to expand...
Click to collapse
Anyone can help in anyway they can! Please take a look at the following page about CM porting.
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
Currently, I am trying to find a similiar device in terms of hardware and use their kernel github and try to build a test build
Device Tree
https://github.com/CyanogenMod/android_device_sony_yuga
Kernel
https://github.com/CyanogenMod/android_kernel_sony_apq8064
Let me know. Thanks!!!!
Sorry. Got busy at work and don't have time now.
Interesting
Sent from my IM-A860S using xda app-developers app
I found a gitub source for this device github.com/mifl/android_kernel_pantech_im-860s, but i have no time to verify yet
i would like to help since i just got mine today, but i only do android programming and driver compiling, and i never successfully make a kernel that can boot my galaxy s2 and some chinese tabs
Hi Vincent,
I just bought a A860S and want to back up boot/system/recovery partitions, probably all partitions, except the data one.
Do you know anyway to open those official update .binx file?
Thanks.
aget1 said:
I found a gitub source for this device github.com/mifl/android_kernel_pantech_im-860s, but i have no time to verify yet
i would like to help since i just got mine today, but i only do android programming and driver compiling, and i never successfully make a kernel that can boot my galaxy s2 and some chinese tabs
Click to expand...
Click to collapse
I think this is the stock kernel. I think we need to grab a working kernel from Xperia Z or Oppo Find 5 since we are on the same architecture.
totalz said:
Hi Vincent,
I just bought a A860S and want to back up boot/system/recovery partitions, probably all partitions, except the data one.
Do you know anyway to open those official update .binx file?
Thanks.
Click to expand...
Click to collapse
I remembered coming across a CWM mod that can allow you to choose which to backup. You can try ROM Toolbox.
Leechoonhwee said:
I think this is the stock kernel. I think we need to grab a working kernel from Xperia Z or Oppo Find 5 since we are on the same architecture.
Click to expand...
Click to collapse
As long as it boots, and it is a 3.4.0 kernel, i think it will work with cm10
anyway i am checking out cyanogenmod, but i dont find the a860 cwm recovery_ui.cpp source, only binary... i guess i need time to find the button mapping?
You could get answers from SDA.
Sent from my KM-S220 using xda app-developers app
There is a working CWM around in the 91dongji forum - works fine on my A860S with 1.30 software; now updating to 1.36 and see if the recovery sticks.
I'll post detailed instructions here once it is confirmed to work
i hope we can get some update on your efforts. though the crowd for this specific device is fewer than a handful for now, a lot of users are just waiting anxiously for any development....
Is there hope for this device to receive custom ROM?
there's a very active community in vegaviet coming up with mods and roms based on stock.you may want to check them out.
tommyrumbler said:
there's a very active community in vegaviet coming up with mods and roms based on stock.you may want to check them out.
Click to expand...
Click to collapse
I tried flashing the roms from the Vegaviet but i had a problem getting my network to connect. after the restore was complete there was no apn settings for the network. I tried reading but the translations from the website but it dont make sense and no one noticed issue because they are not located in korea.
clockedtouch said:
I tried flashing the roms from the Vegaviet but i had a problem getting my network to connect. after the restore was complete there was no apn settings for the network. I tried reading but the translations from the website but it dont make sense and no one noticed issue because they are not located in korea.
Click to expand...
Click to collapse
so why not set up your APN? that should be easy.
Also, using the ROM from vegaviet, i noticed the following observation :
-there was a considerable build-up of lag after three to four days of use, especially when doing a lot of web browsing
-the browser is unable to open some websites/webpages due to Ad-Block restriction
-the forced DNS settings most times slow-down my internet connection
-the keyboard still retains Korean functionality, with Korean characters sometimes getting in the way when typing
-kernel logging was enabled
much of the above were solved using the uninstall zip of crossbreeder - i just noticed our Vietnamese friends are fond of using cross-breeder on all their ROM mods.
the keyboard i uninstalled and deleted the IME file in system and just replaced it using Optimus G Pro's keyboard IME installer.
everything should be all good. don't ask me where i got those zips - a simple search should do wonders for you.
The rom doesn't allow for setting up your own APN. Those features are not available in JB. Thanks for the tips but I just went back to stock since I wasn't able to get the network going.
Sent from the brightest star in the sky using xda app-developers app

Categories

Resources