yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] j_r0dd:
please download the attachment and push the libmobileap.jar to /system/framework & MobileAP.apk to /system/app reboot and let me know results

DO NOT PUSH THESE UNLESS YOU FLASHED THE ZIP FIRST!!!!
[Epic 4G Android Development] mrkrabs:
I'm not good at pushing files...hopefully sum else can test this out...
[Epic 4G Android Development] shabbypenguin:
is this different then stock? and if so how?
[Epic 4G Android Development] j_r0dd:
Is what different than stock?
[Epic 4G Android Development] mrkrabs:
Went bak to stock rom....still no luck...tried to push the files but that never works right for me for some reason...wud love to get this working!!
[Epic 4G Android Development] shabbypenguin:
this mobileap.apk, i mean teh stock firmware has it installed. if your rooted you can remove it but most people who removed probably wouldnt want to reinstall it. so is there any difference between this mobileap.apk and the one on my phone from sprint?
[Epic 4G Android Development] 1999TL:
But you still have touchwiz, right?
[Epic 4G Android Development] wonderhunt:
I originally had bakedsnack rom and mix-up kernel with wireless tethering working; sprint hotspot was not there to uninstall, so I gave this mobile ap a try, but after 2 flashes of different rom and kernel combo, it just keep FC on me.

I followed your step, and it works! Thank you so much for sharing. Of course, big thanks to Jr33 for taking the time porting it over to the Epic.

Only deviation from your steps is that I don't have a stock zip that I can flash using cloclworkmod, so I use Odin to restore to stock.Other than that, I use exactly the same mix-up kernel (the best IMO), and mobile ap works flawlessly, except one thing I noticed: don't use the slide-out keyboard when in Settings, it will freeze, but just hit back or home button and it is fine.

Thanks to everyone in the community, this is one of the best forum I've ever joined!;)
[Epic 4G Android Development] shortyboy:
i also confirm from a fresh clean install of stock rom>d107>root>clockwork recovery>titanium backup>uninstall sprint hot spot>mobile ap works..just a long process.
[Epic 4G Android Development] thedevilslettucemd:
I finally got this installed (just removing the sprint hotspot mobileap.apk/odex in terminal worked) but unfortunately the phone doesnt seem to tether properly in 4g. i get no internet connection. it works great in 3g though :/
[Epic 4G Android Development] kevyli85:
Just tried a fresh install of noobil's rom (wiped everything) and still does not work. I'm guessing it really only works on stock
[Epic 4G Android Development] gTen:
Works on 4g for me :/..the speeds are not the best but better then 4g with android-wifi-tether
[Epic 4G Android Development] bmasephol:
I was on stock D107 and already had root. Just flashed clockworkmod recovery and used TB to remove Mobile AP Settings (that was what it was called) and then installed the FINAL zip via clockworkmod and it appears to be working without issue... I don't have 4g so I can't test that. Thanks for the $10 charge sprint... maybe in 5 years we'll have 4g.
[Epic 4G Android Development] Firon:
Here's my attempt to make this work without having to uninstall with Titanium Backup. It's untested. :) It's the same as the other version, but it tries to remove the .odex, the .dex from the dalvik-cache and existing settings for MobileAP. I believe that's the same thing that TI backup does.

http://firon.net/xda/mobileap.epic-SPH-D700USDI07-final2.signed.zip
[Epic 4G Android Development] spiicytuna:
Well being a person who had it working... I now don't, and cannot, get it to work again. Originally had it working before I decided I wanted a digital battery meter and flashed this: http://xdaforums.com/showthread.php?t=793805 which ultimately required flashing noobnl's Andromeda... Now noda, zip, zero...FC heaven when it comes to MobileAP. Guess now I gotta figure out what I want more... MobileAP or a digital battery meter.

'tuna
[Epic 4G Android Development] dq11:
I tested your zip and it works ! Previously I was getting force closes. So I flashed stock D107 zip followed by your newly created zip. Thanks a lot for this. Makes it much easier.
[Epic 4G Android Development] jokarak:
Finally had a chance to test tethering with 4G, and it is not working for me. 3G works fine, however. Curiously, in the Epic, we can't have 4G and wifi running concurrently, and I was wondering how the tethering would work with 4G activated.

BTW, looks like they finally rolled out 4G in my part of Los Angeles, although it is a bit weak.
[Epic 4G Android Development] laramiebates:
This worked with no problems for me. root/clockwork but otherwise stock with newest sprint update
[Epic 4G Android Development] jspielberg:
Everything is working fine for me now. I am seeing no problems with 4G hotspot either, though I had some pain trying to get clockwork mod working. I prefer to avoid the 1-click installs mostly because I have a bunch of Macs/Linux boxes at home but not a lot of Windows machines.

Anyway... once I got Odin setup (and Samsung's PC Studio 3.2.1 for the USB drivers), on my old XP box... I was able to get Noobl's 1-click methods working for root and CWM recovery. After that... the update with the MobileAP was a piece of cake (though my camera button seems a bit flaky and getting into recovery mode isn't all that easy). I pulled copies of the original MobileAP deodex and apk before removing them using adb.

Now I have the MobileAP running in Infrastructure mode and couldn't be happier.

Thanks guys -
[Epic 4G Android Development] wto605:
Remove for DI07

EDIT: Frion made a great update.zip that restores all changes made (removing system apk's and installing MobileAP) before updating... this WILL remove MobileAP but you'll get the update.

http://xdaforums.com/showpost.php?p=8410667&postcount=53

See the original thread... that's probably where people will work on updating MobileAP for DI18
[Epic 4G Android Development] jimmyz:
I think the question is: After you install the update and re root etc will mobileap work on DI18?
[Epic 4G Android Development] wto605:
you will not need to re-root, even the OTA DI18 won't affect root.

Frion's will not affect anything other than MobileAP.

I installed it and have it working without major issues... however this may be bad for your settings.apk so take a backup of files (Settings.apk, Settings.odex, MobileAP.apk, MobileAP.odex) before you install to be safe.
[Epic 4G Android Development] jimmyz:
just to be clear mobileAP works on DI18? Did you have to remove the native sprint apk and odex? which version did you install- Frion's mobileAP installer or the one from the first post?
[Epic 4G Android Development] gTen:
I did the usual thing, after updating to Di18 and reinstalling Clockwork I used Titanium to remove Sprint Hotspot and used the OP's (original) zip and it worked with no problems.
[Epic 4G Android Development] j_r0dd:
Just when the official update comes out, can somebody pm me the Settings.apk & odex along with the whole frameworks directory? I will then make a version for the official update. I will look at frion's update-script and put the changes in the zip for you guys
[Epic 4G Android Development] wto605:
Sorry... to clear things up... Frion's file REMOVES MobileAP during the process of installing DI18 (the OTA update fails because of MobileAP) you can then reinstall MobileAP using the version2 file from this forum that automatically removes files for you (making the uninstall with titanium unnecessary) or use the original method (uninstall with titanium then install the original file).
[Epic 4G Android Development] j_r0dd:
I updated the OP with Firon's changes. You all should be able to just flash and use with ease now!
[Epic 4G Android Development] wto605:
So after updating we re-install the new file?

And this is based on the DI18 Settings.apk/odex?
[Epic 4G Android Development] pg2k3:
I just flashed the firon zip. on top of the DI18 update (Full Stock) using clockworkmod recovery and it works just fine!
[Epic 4G Android Development] BeerChameleon:
So the new one still doesnt work with touchwiz removed? Or on a custom rom? Just wondering. I cant wait til we have a wifi tether infrastructure that works on every rom and kernal and what not.
[Epic 4G Android Development] Firon:
Note sent!
[Epic 4G Android Development] j_r0dd:
update version for DI18
[Epic 4G Android Development] talliwackr:
I keep getting FC com.android.settings using di18... oh well!
[Epic 4G Android Development] wonderhunt:
Magic! It works again after the DI18 update and flashed your new updated zip. Thank you!

I found mobileAP works best with all stock. Before the DI18 official update, I was able to use mix-up kernel with it, but after the DI18, I can only make it work with everything stock, nothing extra.
[Epic 4G Android Development] Firon:
Use the updated DI18 version from the op's post. Make sure you're on a stock DI18 kernel.
[Epic 4G Android Development] Firon:
Hey Jr33, any idea why it breaks on deodexed ROMs? Do you have the non-deodexed libmobileap.jar with the .odex file? Ditto for MobileAP.apk and Settings.apk.

I wanna try playing around with it and see if I can figure out how to fix it.
[Epic 4G Android Development] j_r0dd:
it shouldn't break at all. The Settings.apk MUST be deodexed in order to make the smali changes. the libmobileap.jar & MobileAP.jar also need to be deodexed to run on firmware that doesn't have libmobileap.jar & MobileAP included. For what you are trying to do, you won't be able to run those apps odexed on a deodexed rom. You will get stale dependency errors.

i originally put this mod together when i was using the stock Vibrant firmware so it can be used on odexed or deodex system.
[Epic 4G Android Development] thedevilslettucemd:
Still doesn't work with 4G...
[Epic 4G Android Development] j_r0dd:
Then fix it! Or pay Sprint for the hotspot. This why I dont release a tenth of what I do! Trolls ***** too much.

I am no longer supporting the epic at all. I will pm Firon the changes I made to the smali's and let him deal with you epic users.
[Epic 4G Android Development] shabbypenguin:
screw them jr33, there is always going to be ingrates

thanks for this use it almost daily
[Epic 4G Android Development] Firon:
I do greatly appreciate all the work you've done! Don't let a few bad apples discourage you, the vast majority of us Epic users are thankful that you went through the effort to make this work on our phones. :>
[Epic 4G Android Development] 1999TL:
agreed. I've been waiting(patiently) for this to work on a non stock rom. hell, I've been considering going back to stock just to have this. I kept getting an FC error but I couldn't contribute anything so I haven't posted...till now. Hopefully there can be a solution for this to work on all roms.
[Epic 4G Android Development] BeerChameleon:
Yes me too. Thank u JR For Porting it as far as u did we need some more help now to get it working on every rom/Kernal with what ever launcher installed or not.

Thanks again for all your hard work. Its Greatly appreciated. :)
[Epic 4G Android Development] jimmyz:
I love this mod- we appreciate what u have done!!
[Epic 4G Android Development] gTen:
It does work with 4g..you must have 4g on and connected for it to work...if your not connected to 4g it wont work...and it wont switch.aka if you start it with 3g...4g wont work..if you start it with 4g..3g wont work...

so you just have to start it when 4g is on and connected...
[Epic 4G Android Development] 265ada:
I'd just like to say its working flawlessly on my EPIC thanks a lot for all your HARD WORK! I did do the SDX mobile AP removal prior to installing this though not sure if that contributes to why this works flawlessly I also am running a stock ROM with root and clockwork access with newest OTA DI18
[Epic 4G Android Development] DeltaTL6:
Would this affect future OTA updates on the Epic? If so, what would I need to do to get the updates? Thanks.
[Epic 4G Android Development] BeerChameleon:
Ok a couple a questions. First off do i have to have all the sprint apps installed as well as All the touchwiz apps installed to work on stock rom? Also Can i use a custom kernal with stock rom? Anybody Know ? I might resort back to the stock rom as long as i can have a custom kernal and all the sprint junk off.
[Epic 4G Android Development] jokarak:
If I remember correctly, I updated to DI18 whilst having the working mobileap installed without having any issues.
[Epic 4G Android Development] DeltaTL6:
Thanks a lot.
[Epic 4G Android Development] LSanna1488:
Confirmed working with Stock DI07 and Noobnls 1.4.0.
[Epic 4G Android Development] tommi_han:
Had anyone got this to work with deodex rom like aosp magic?
[Epic 4G Android Development] 1deviant:
Hey this works great! Have D18 update, root and the new MixUp kernel. Say good bye to Wireless tether!

Thank you!
[Epic 4G Android Development] tommi_han:
Is there a deodex version of the mobile ap?
[Epic 4G Android Development] rose1:
This doesn't work on deodexed roms. There isn't a version for deodexed roms at the moment.
[Epic 4G Android Development] DeltaTL6:
After installing on DI18 on the Epic (using signed-mobileap.epic-SPH-D700USDI18). It works. However, when I try it on 4G, the download speed is MUCH slower (200kbps) than when it's on 3G (700kbps). And this is after multiple settings. I also tested 4G by itself on the phone, the speed is fine. Any help?
[Epic 4G Android Development] twolostminds:
Sorry for the noob question but well...when it comes to Android I'm a noob. lol

I have an Epic updated to DI18 and rooted with One Click Root 2.2.6 & all stock apk's present.

Will mobileap.epic-SPH-D700USDI18 work for me or will I need to intall a customer kernal?

Do i need to use ClockWorkMod or can I update mobileap.epic-SPH-D700USDI18 the way I did the DI18 update by changing it to Update.zip and using the 3 button method?

Thanks in advance.
[Epic 4G Android Development] BeerChameleon:
Pretty Sure u have to use clockwork mod for this. However u may be able to use the rename to update zip and use the regular one. But i recommend clockwork mod. Also u dont need a custom kernal.
[Epic 4G Android Development] BeerChameleon:
Well it worked!!! :) Im now running stock rom with fluff kernal!!! I used noobnls zip to restore to stock and didnt delete any of my stuff. :) Question tho what samsung apps are needed to make this work? Can i delete the myfiles and mediahub?
[Epic 4G Android Development] ipaq3115:
So just out of curiosity why won't this work with deodexed roms? if it removes the odex files for settings and mobileap then it's deodexing them right?
[Epic 4G Android Development] sunrocket:
Is there anyway to create a shortcut to this app without going through settings>network>....

Also, is there a way to disable the warning that popups everytime you turn on the access point.

Thanks
[Epic 4G Android Development] sdotk:
To Create a shortcut for the Mobile AP

If you are using LauncherPro: Long press on any home screen, goto short cuts, goto activities, goto mobile ap settings, click the revealed setting, name it and change the icon if you wish... and BAM!!!

For ADW: Long Press on any home screen, go to "Custom Shortcut", select Pick your activity, select ADW Activities, scroll down to Mobile AP select it, (change icon and name as you desire) More steps than Launcher Pro but i like ADW.

Not sure about other launchers. Not sure if you can disable the warning either:

Icons i use.
[Epic 4G Android Development] BeerChameleon:
Sweet!!! Thanks, i was wondering what category in shortcuts i use to find this. Plus i might use one of your icons. Thanks A lot.
[Epic 4G Android Development] bliving:
MobileAP experience 3g vs 4g

First post, first smartphone (Epic)... so yeah, I'm a noob.

I wanted to report my MobileAP experience and see if anybody else is seeing the same issue. The background:

-I waited for Sprint to push down DI18

-Once I received DI18, I rooted using "One click root v2.2.5"

-Installed ClockworkMod Recovery

-Flashed the MobileAP for DI18

After that, amazingly, the AP works like a champ when using 3g. However, when I turn on 4g, things get weird. Using a laptop to connect to the Internet through the Epic, I can only get to google.com. I can't seem to pull any other sites. If I turn off 4g, all is well again. Regardless, it's nice to have this feature working, even without 4g. Thanks to all who made it possible.

Lastly, there are two settings in there, one to turn on the AP, and one to turn on tethering (hit Menu when you are on the Mobile AP screen). I have found that Tethering needs to be on to see the Internet. If it is off, the only thing I can see/ping from the computer is the gateway (the Epic). I guess without tethering on you can create a local wireless lan without Internet connectivity?

I saw some early posts where people weren't able to get to the Internet even though they were connected to the AP. This may be because the AP was on, but tethering was off.
[Epic 4G Android Development] jimmyz:
what happens if you turn on 4g then start up mobile AP and then connect your computer etc?
[Epic 4G Android Development] bliving:
So I turned on 4g, and didn't get any Internet, on the phone or on the laptop (through the AP). Then I rebooted the phone (left 4g on). Did speedtest.net on the phone and was seeing about 7.5mbps down.

Next I fired up the AP and connected the laptop to it. This time again, all google properties work great (at least search, maps, gmail, etc... all the ones at *.google.com) Additionally, I was able to connect to a few other randoms sites, where I couldn't before (e.g. consumerreports.org was one that worked). However, I still can't connect to the majority of web, speedtest.net included... strange.

It wants to work, it really does... :-)
[Epic 4G Android Development] :
what if the problem lies in the script? if it tells the stock rom to deodex the settings and mobileap, maybe since it already is deodexed it skips or doesnt commit the necessary changes, minus the custom program? maybe it the script can re-add the necessary programs then deodex them?

does this phone work well with deodexed and odex files? i know my moment didnt play very nice at all.

im going to tear the stock and the modified files apart and see the main differences between the 2 and see what the differences are...
[Epic 4G Android Development] j_r0dd:
the problem does not lie in the script. i deodexed these apps myself. the script just deletes the old odex files and replaces the apk's
[Epic 4G Android Development] :
forgive me if this sounds uneducated and such, but im just trying to atleast make an attempt to do my part to get it working on deodexed rom's. im not saying there is a problem in your script at all. what exactly does clockwork do when a line has errors? if the rom is deodexed already and the script tells it to remove mobileap.odex and settings.odex, if the files dont exist will it just skip the entries? in what order does the .zip run, delete the odex then mv the necessary files including the apk's?

cause i changed your script to delete the .apks instead of the odex and it didnt copy over (as far as i could tell) the settings.apk...and settings.apk didnt copy over to /data/app/

*edit*

my bad didnt see the script copies over the files first then deletes the odex.
[Epic 4G Android Development] j_r0dd:
it performs in the order in the update-script. if it doesn't find the odex files to delete it skips it. but when it comes to setting permissions on a file, if the script doesn't find it, it will error out and flashing will fail.
[Epic 4G Android Development] :
ok last question and ill get out of your hair. your modified mobileap and your modified libmobileap, exactly which files does it need to run? if it runs on our stock di18 rom it seems like it only runs right if there is either a combination of certian lib's and .apk's and their odex files. so ive been trying to put together an update.zip that adds only these necessary files but ive been hitting a blackscreen when flashing them. either its my current rom(changing roms to see) or the files im flashing. if i knew the exact dependencies i could narrow them down, but regardless im trying to track it down.

thanks for you work though. its pretty rockin!
[Epic 4G Android Development] j_r0dd:
i only included what was necessary in this mod. trust me they are all needed except the .sh's in /etc. the epic came with different ones preloaded. those are needed for your phones. the original mobileap I packaged for you guys included the sh's from the I9000, so i included them to overwrite the wrong versions i previously included. this is why people could connect their devices, but received no internet. i don't know what you are trying to accomplish really. this mod has exactly what is needed. remove stuff and you will have problems
[Epic 4G Android Development] :
I'm not trying to remove anything. Obviously something in the epic breaks when flashing this over a deodexed rom. I'm not saying your mod is broke. Something in the epic doesn't play nice. I'm trying to pinpoint exactly what that is so we can fix it. If the mod works only on an odexed rom, I'm trying to find the necessary odex file and see if that makes it work.

Mostly I'm trying to figure the epic and this mod doesn't play nice so I can get it working. Cause if it works on every device but the epic, obviously the epic is missing or lacking something.

If I worked for samsung or sprint, one thing I would include as a patch would break functions in my wireless teathering. Such as write drivers or librarys that would break teathering without an odex file. 90% of the xda community wants a deodexed rom, so why not disable it so 90% don't get a free service that normally costs 30 bucks a month?
[Epic 4G Android Development] Firon:
Somehow, I doubt it has anything to do with something Samsung did to break it. :p

I haven't actually tested this on a fully stock deodexed ROM. It might work if you alter nothing else. But definitely it will if you start messing around, particularly with touchwiz stuff.
[Epic 4G Android Development] Kcarpenter:
AOSP Builds are the Android at its finest builds(im biased to them) They are stock android with no manufacturer skining. (IE No Sense, blur, or TWiz), the Nexus One stock is AOSP.

AOSP = Android Open Source Project.
[Epic 4G Android Development] j_r0dd:
Exactly. All of these phones come from the same source code. Each one just has a different overlay because of sight differences in each and what the carrier wants in the phone.

It makes no sense that you can't use this on a deodexed rom. The apk/jar's I included are deodexed! I originally made this mod when I was running a fully stock odexed system. Later I deodexed it myself. And it runs fine. Honestly, I believe it has to be an issue with the rom you are using.
[Epic 4G Android Development] :
but its not working with every deodexed rom i have used, even firon's di18 deodexed rom. i agree it doesnt make sense. but for whatever reason its not working. ive got some logs i pulled when it crashes, most of which is talking about a java exception error in twsomething or another.
[Epic 4G Android Development] sdotk:
I'm having the same problem...force closes everytime :( , have tried several deodexed roms and no luck. It only works for me when i go back to a stock rom.
[Epic 4G Android Development] rose1:
Same here, I can only get this to work on the stock rom. I don't think it has anything to do with TW launcher not being present or other apps removed because I had a stock di18 rom rooted and pretty much removed everything including TW and this still worked flawlessly. Still a great app. Much thanks to the OP for getting this over to us Epic users. Greatly appreciated.
[Epic 4G Android Development] amosher13:
by chance has anyone gotten this working on Baked Snack ROM? Dev doesnt exactly say its deodexed but I'm feeling like it must be. I'm on the new 1.3, i just dont feel like flashing this if i could verify it wont work. are there any compounding issues when flashing it if it doesnt work? or does it just "not work" lol, thanks to the OP anyway for providing it!
[Epic 4G Android Development] 1deviant:
+1 I would also like to know....