yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] laxjosh:
Appreciate the concern. This is my wife's phone, and she's handled CM10.2 just fine for the last 6 months. She's informed enough to not do something stupid, but let's me handle rooting and flashing.
[Upgrading, Modifying and Unlocking] 30NZ:
Let me preface this by saying this is my first ever real post in a forum, so if im doing something wrong, please tell me. I would post this in the linux on android forum, but I am apparently not allowed to do that. Hopefully this helps some people out.

I have been experimenting with the ubuntu.sh script and various linux images. After getting an image to work I attempted to expand the image file by using dd. This would create a 12 gb (or whatever size) image, but on copying the file system from kali.img to the new .img, the new image failed to execute and ended up wiping my kali.img, my modified ubuntu.sh script and my new .img (my fault for rebooting with the images mounted). This and subsequent attempts all failed to create a 12 gb image that would run kali.

Before I go further, I should state that I'm mounting my images to /storage/extSdCard/mnt

So all this got me thinking on other ways to expand the file and I thought why not move ./usr to a folder on extSdCard and use mount to bind it to the kali.img file. That way you'd get about 2gb extra on the image and installed programs could be installed to space on the extSdCard. If this works it could be applied to the entire linux filesystem, and just use a small .img to mount everything to when you wanted to start it.

That being said I'm having difficulty implementing this. Kali will boot and I can execute commands from it after running:

busybox mount -o bind ../kali/usr/usr ./usr

And

busybox mount -o remount,exec ./usr

It would appear that things work, but I can't connect through vnc as vncserver isn't installed and I can't install things because of an error with dpkg: error setting ownership of ... Operation not permitted.

That is where I'm at right now. I figured I would make a post and hopefully get some more input on this, or maybe help someone out with the whole image file size thing.
[Upgrading, Modifying and Unlocking] 30NZ:
I have made some progress, but this idea as a whole would appear to be impractical at this moment. The permission errors occur because of the exfat file system used on android devices. This implementation does work on ext(4) formatted sdcards, as tested by my linux box running backtrack. However, the android system, at least for the note3 does not easily support ext4 formatted anything, despite /system maybe being ext4. I haven't looked too far into that as it is read only and would also be a hassle to configure. This may become an effective means of running linux on android systems once ext4 is widely supported, but not likely until then.

If I were more skilled I would try to set up a raid system with ext4 image files, since exfat has a 4gb file size limit. Unfortunately though, I do not have the skill to do this at the moment nor the time to take on such a task.

I wish you all the best of luck with your projects.
[Galaxy Note 3 Exynos Android Development] Mohamedselim:
-Tried in N900 only (stock 4.4.2 rooted), but may work in other versions (backup first)

-Needs a rooted device

-I know the solution has been posted before, i only present the modified file as ready made, ready to apply for the specific model n900 that i have (tested working by me)

-Based on work from this forum and my personal experimentation with Es File Explorer

-Steps:

1-enable root access by Es File Explorer app

2-mount system as read write by Es File Explorer App

3-go to path system/etc/permissions and backup file platform.xml (copy to other location) or rename it

4-past the included file (modified) in the same previous path after unzipping it, it should contain xml extension not rar extension

5-long press on the file then properties and change permissions to rw-r-r root root

6-restart phone

7-done !!!

-Try making a folder in external sd by any third party app as Es File Explorer or Astro File Manager or so and see if it works !!!

-In case of any problems or if you want to return to previous setting simply restore your backup file or the (original) file attached here and restore permissions as rw-r-r root root and restart

-Included file in attachments (modified)

-Also included the original file without modifications drawn from my phone if you want to restore (original)

-Or if you have a custom recovery, you could try flashing the zip file in the second post of this thread, thanks for Dr.Ketan for making the file flashable
[Galaxy Note 3 Exynos Android Development] dr.ketan:
Make life easy with CWM :)

PS : You can attach to OP.
[Galaxy Note 3 Exynos Android Development] sohebq:
Does this method allows all apps to access the ext card?
[Galaxy Note 3 Exynos Android Development] djbigbear:
tested on dolphin browser with dr.ketan's flashable zip. confirmed working now.
[Galaxy Note 3 Exynos Android Development] sohebq:
Kindly try on Utorrent.
[Galaxy Note 3 Exynos Android Development] djbigbear:
i'm sorry i can't try Utorrent, my office blocks any torrent activities. :(
[Galaxy Note 3 Exynos Android Development] ra_eng:
Yes, it is working with me. I tried it Titanium Backup and it is working.
[Galaxy Note 3 Exynos Android Development] ghalib87:
Try this one guys. .....it will fix the sd card problem.

https://play.google.com/store/apps/details?id=nextapp.sdfix
[Galaxy Note 3 Exynos Android Development] Er. Aditya:
why i am still getting this ?
[Galaxy Note 3 Exynos Android Development] dr.ketan:
It has nothing to do with this fix

Just follow what you suggest to other guy.

Apply int SD fix as well data fix both with Dr.Ketan Utilities
[Galaxy Note 3 Exynos Android Development] ghalib87:
Try the app first.... https://play.google.com/store/apps/details?id=nextapp.sdfix
[Galaxy Note 3 Exynos Android Development] Er. Aditya:
allready applied doc it stll shows this error

bro this app shows i allready have applied the fix
[Galaxy Note 3 Exynos Android Development] dr.ketan:
May be you are not on my rom then it work partially.

Only option you can try now is flash stock recovery and wipe data with stock recovery.
[Galaxy Note 3 Exynos Android Development] Er. Aditya:
yes doc but not for long 40% downloaded k5 and my phone will be back on track

there are pretty good reasons why 1 end up at your rom , no doubt your the best
[Galaxy Note 3 Exynos Android Development] dr.ketan:
No no I don't mind it, after all we all release different rom so user can have variety. Enjoy whatever you like, it doesn't matter for me. I have just explained bcoz I have made some changes on rom too
[Galaxy Note 3 Exynos Android Development] Er. Aditya:
thanks doc for your support :D
[Galaxy Note 3 Exynos Android Development] rockadz9:
very simple,, thank you for sharing original n mod:laugh:
[Galaxy Note 3 Exynos Android Development] _PR3DATOR_:
Hi I'm on tr rom and it don't work for me. :( tried every fix
[Samsung Galaxy S Relay 4G] infernix:
I've made a debloated JB 4.1.2 rom from the latest (and probably last ever) Samsung code drop, the T699UVBMC5 release.

It mostly serves as a failsafe to determine whether issues that come up in current development roms are also occurring in stock, without having to run the heavy handed Samsung stock rom with all its useless applications.

I've removed most but not all apks, though you will find that there are no Samsung or T-Mobile apps left. There is no Wifi Calling, but for those who want that, someone can probably come up with a zip and the 3 or 4 apks that are needed to get that working again (I won't as I'm not in the US to test it).

I've dumped Touchwiz for Nova launcher as I loathe the slow default launcher.

I've added custom init.d script support and added a tethering "fix" script there that skips the t-mobile checks; someone in the US will have to test whether that's enough to skip any paywall tethering nonsense.

I've added the simplest flashlight that you can add to the lockscreen as an easy accessible torch.

Feel free to leave comments but I make no promises to put any further effort into this; if someone wants to refine this, be my guest.

Download here: https://drive.google.com/file/d/0B5bvupHweE3LcjFrU1ROUjBPeWs

Instructions:

- Wipe data if you are not currently on stock JB

- If you weren't on JB bootloader and modem, flash those first; get them here http://xdaforums.com/showthread.php?t=2270769

- Flash attached zip

- Done. No Gapps flashing needed, supersu already included.

Note that if you are downgrading from KK, the mountpoint for /data/media/0 changes back to /data/media so you might want to move files around in order to prevent duplication of stuff on your internal sd. If you're worried, back up your stuff.
[Samsung Galaxy S Relay 4G] infernix:
CHANGELOG

v1.0: initial release

- added simplest Flashlight app there is

- Nova launcher as default

- Tethering "fix" in /system/etc/init.d/

- Support for userinit.sh in /system/etc/init.d/

- Removed nearly all unneeded samsung and tmobile apps

- Removed wifi calling

- Added Google setupwizard

- Updated and integrated core Google apps into rom

- Added busybox, openvpn, sqlite3

- Supersu included

- Whatever I missed

Todo:

- Figure out if vold can be made to handle ext4 mmcblk1p1 (no - need to add mount attempt in init.qcom.post_fs.sh)

- Symlink /extSdCard to /storage/extSdCard in init.d script

- add ssh client (pull from cm10 or compile)

- add bash (pull from cm10 rom or compile)
[Samsung Galaxy S Relay 4G] RazoE:
Just flashed this, but I have no WiFi. I click it on but it doesn't turn on. I'm on TWRP 2.7.0.0, and everything flashed successfully. Any ideas?

Edit: no blue tooth either
[Samsung Galaxy S Relay 4G] infernix:
You probably weren't on the JB bootloader and modem.

Get those from here: http://xdaforums.com/showthread.php?t=2270769
[Samsung Galaxy S Relay 4G] RazoE:
Thanks! I'll try them when I get home.
[Samsung Galaxy S Relay 4G] RazoE:
Worked great. Thank you!
[Samsung Galaxy S Relay 4G] LinuxAssailant:
Seems stable, over the last 15 hours, or so, even compared to Cyanogen builds.

(Cyanogen's contacts (people) in blue&white with everything else a nice dark screen was terrible to look at and one of theirs actually rebooted at a "minimum of 1x" a day, while the other one wouldn't show all my contacts.)

My office is behind 3 concrete walls on the 3rd floor on top of a hill, and so I get about 1/2bars of signal, so I would like to have WiFi calling, can this be accomplished, maybe as a separate flashable pkg?
[Samsung Galaxy S Relay 4G] LinuxAssailant:
Bumpity-upity...

So this has been outstandingly-stable for a day and a half, but I would like to see this with WiFi calling enabled, or I cannot get phone calls or TEXT/SMS MSGS in my office...
[Samsung Galaxy S Relay 4G] LinuxAssailant:
One other thing I noticed in testing is there is no way to put in Exchange accounts (CORPERATE as it is called on some builds).

I would willingly drop a donation if these could be resolved, and I am sure that there are others with similar concerns?
[Samsung Galaxy S Relay 4G] DOMF:
IIRC, the bounty for getting T-Mobile's Wifi calling working on *any* custom ROM was pretty large. It's not gonna happen.
[Samsung Galaxy S Relay 4G] yohan4ws:
Try flashing a gapps package on it to get the exchange mail option, or use a 3rd party app from the store. k9 mail is supposed to be good?
[Samsung Galaxy S Relay 4G] sev:
any chance you can debloat the stock rom and leave in wifi calling?
[Samsung Galaxy S Relay 4G] chuckiev79:
http://thedroidguy.com/2014/04/setup-wifi-calling-android-device/#rsHg5DkxvcwQThXD.01
[Samsung Galaxy S Relay 4G] infernix:
If you download the full stock image and extract it, simply push the relevant apks in /system/app to your phone. If you google a bit (samsung tmobile wifi calling apk 4.1.2) i'm sure you can find the apks that are needed.

I'm not in the US so I couldn't even test if I would do this. When you have identified the needed apks I can probably turn that into an update.zip.
[Samsung Galaxy S Relay 4G] Suncatcher16:
Wi-Fi thetering?

Is you debloated ROM support wi-fi thetering? Does it work correctly on other carrriers (except T-Mobile)?

I know that in clean stock ROMs it is locked for working only with T-Mobile.
[Samsung Galaxy S Relay 4G] fsg4u:
Same question here.

Can I use Wifi tethering with that rom.

I like lightweighted roms a lot because of the smooth handling and long lasting battery but I'd need Wifi tethering to use my tablet with the phone.

Thank you.

FSG

Update:

Unfortunately WIFI Tethering does not work. Whenever I start the program the phone reboots without warning.

Besides that the rom works well.
[Samsung Galaxy S Relay 4G] saurabhsaurabhrai:
Plz help.....

I was on CM11 then I decided to go back on stock rom and found this......Now when every time I'm flashing this rom...everything goes smooth without any error but when I reboot into system after flashing ROM, Boot-loader and Modem my phone asks for device encryption password....!!!

Plz help...Thanks :o
[Samsung Galaxy S Relay 4G] chaosprodigy:
I have the same issue. Is there a specific application I'm supposed to use?
[Samsung Galaxy S Relay 4G] cn2661:
1. Same here.... its Wifi Tether not working. whenever press Save, it popsout "Hotspot Connecting" then it restarts the phone.

2. Is there a way to revert boot animation to Stock rather than Custom?

Thanks everyone
[Samsung Galaxy S Relay 4G] xdoza:
Hi! Is still anyone using this rom?

I need a lightweight one, and this looks great, but I need to be sure it works ok, and I really need tethering (from the last posts is not clear to me if that is working or not).

Wifi calling not really needed (but if someone made that work great :)
[Samsung Galaxy S Relay 4G] phred14:
When you say wifi calling, do you mean through something like hangouts, or through your own wireless carrier? Doesn't matter so much for outgoing, but sounds good for incoming.
[Samsung Galaxy S Relay 4G] xdoza:
The question was for me? I don't really needed cause I'm not now in the US.
[Samsung Galaxy S Relay 4G] xdoza:
I think no one is using it anymore :(
[Samsung Galaxy S Relay 4G] phred14:
Using Relay? My wife and I are still using ours. They may have just gotten a new lease on life. Her phone was having what looked like proximity detector problems. I'd tried updates and a few other tricks, but nothing worked. My last-ditch was a full factory reset. The problems haven't returned. I haven't got her phone fully set yet, but that will come.

We're running 20151213 nightly, and I've downloaded but not installed 20160111. At this point I'm hoping that we'll get a fix for the Linux kernel exploit that just showed up this week. It's a bad one. Hopefully the fix will be back-ported.
[Samsung Galaxy S Relay 4G] xdoza:
Hi Phred! Thanks for your response.

In fact I mean that no one was using this "debloated stock rom", cause i'ld like to try it but need to be sure tethering works.

What ROM are you using? I never tried CyanogenMod or any other mods cause I read issues with camera, gps, etc (that why I was looking for this debloated stock rom).

Regards
[Samsung Galaxy S Relay 4G] phred14:
I'm using Cyanogenmod, dates still as mentioned above. My wife and I were at M8 for quite a while, after Nardholio quit doing nightlies. The camera worked for stills on M8, but not for movies. I picked back up on nightlies when they resumed a few months later, and lost my GPS in the process, however I did get video back. A few months after that, I moved my wife's Relay to the latest nightly, but took GPS precautions, first. As far as I know, her Relay is fully functional in every way.

There is a GPS fix for the phone, and I have the right image files to do it, I just need to take the time. As mentioned, I thought my wife's Relay had a hardware problem, in which case we were going to get a new pair of phones, but a factory reset fixed it. That also means that it's time to do the GPS fix on my phone, because we're going to England in a few months, and I'll want the GPS then. (I plan to get local SIM cards for both of us.)

So after the GPS fix, I plan on having a fully functional Relay. I will say that I've never used tethering - I don't have a data plan, just voice. I use wifi for data.
[Samsung Galaxy S Relay 4G] xdoza:
Thanks Phred! What do you mean when you say that you took GPS precautions for your wife's phone? And when you say that is fully functional, that means that the Camera for videos is working and also GPS? Or you apply that fix to your wife's phone?

I don't use tethering that match, but i use it travelling to share my data plan with my notebook, that's why I need it .

Kind Regards
[Samsung Galaxy S Relay 4G] phred14:
Videos work, just tried one. I don't know if tethering works or not, since I don't have a data plan, I've never tried. As for the GPS, with my wife's phone, before upgrading past M8, I took it out in the back yard, got a GPS lock, and pulled the battery. Then I brought it back inside, reinserted the battery, and booted into fastboot/bootloader to flash the new recovery before flashing the new CM nightly. I tested GPS after that and it worked, though to be honest, I haven't tried it since. In the next few days I'll re-test her Relay and / or do the GPS fix for mine.
[Samsung Galaxy S Relay 4G] phred14:
Fixed GPS tonight. Only thing I'm not sure about is that I flashed CM10.1 as part of the GPS fix, then did a nandroid recovery which brought back my CM11. But from what I've heard, nandroid recovery does not recover the kernel, so am I now running CM11 on top of the kernel from CM10.1? I think tomorrow I'll check things out, and try a "uname -a". I can always re-flash CM11 and pick up the correct kernel, if needed.
[Samsung Galaxy S Relay 4G] demkantor:
You wouldn't be able to use a cm10 kernel with cm11 ROM, it would boot loop, but yes nandroids do backup and restore kernel - boot partition
[Samsung Galaxy S Relay 4G] xdoza:
So now you are at CM10.1, right? And is the GPS working ok?

Where can I found the gps fix? I never install a custom rom to my phone so want to be sure all the needed steps before doing them :)

Thanks!
[Samsung Galaxy S Relay 4G] phred14:
Nope, I'm back at CM11 with working GPS. Going back to CM10.1 was just to get the fix, then I was able to flash forward. So I take it you're running stock Android, probably from T-Mobile, if you've never flashed a custom ROM. What level are you running? My Relay came with 10.2, but my wife's Relay, which I bought a few months later, came with 10.1. The flashing instructions a bit more complex for 10.1. However if you're at 10.1 stock, you won't need the GPS fix, you just need a few swizzles on the install process.

I had a bit of trouble finding everything I needed for the back-flash. There was a flurry of action on it quite a few months back, and that had died down and the links gone stale by the time I got to mine. It took a bit for me to find active links for the files. I probably need to find one of those file hosting services to pass the needed files to you, but let's see what's necessary first.

This is going to be a little bit of a conversation, here.

EDIT: I just remembered something that tripped me up. To check your "Android level" on the phone, go into "Setting->About Phone->Android Version". I believe that for T-Mobile stock it will say either 4.1.x or 4.0.x. When I said 10.1 I guess I really meant 4.0.x, and when I said 10.2 I really meant 4.1.x. Luckily my Relay was at 4.1.x, but my wife's was at 4.0.x. With 4.0.x you need to flash new modem firmware to go to CM10.2 or CM11, with 4.1.x you don't. Confusing? As I said, this is going to be a conversation. First, let's find your Android Level.
[Samsung Galaxy S Relay 4G] xdoza:
Thanks mate! Yeah, I understand you mean that ;)

Unfortunately, my phone now is 4.1.x (4.1.2). Originally came with 4.0, but some months later after i bought it (in 2013), i get the OTA update to 4.1.x. So it seems I will need to take the long way :(
[Samsung Galaxy S Relay 4G] phred14:
I just realized the salient question here is, "Does your GPS work now?" In other words, do we need to fix your GPS, or do you just want to get to KitKat without breaking it? What to do is different based on your answers.

My impression is that there simply isn't a good / fully functional Marshmallow for the Relay, just some not fully functional experimental releases.
[Samsung Galaxy S Relay 4G] xdoza:
Yes, my GPS is working without issues using the 4.1.2 from t-mobile, also my camera/video, etc., is fully functional.

But after this years my phone is really slow, and I would like to do a "refresh" to it, as I don't plan to change it, unless another slider phone with keyboard reach the market (something I see rather difficult :( ). I would go to a stock or a custom one, but only if I can get gps, camera/video and tethering working as I use all of them.

I understand you can't test tethering, that's ok, but maybe is working. The one debloated here seems another solution, but reading the last posts seems to me there are some boot issues.

Thanks mate!
[Samsung Galaxy S Relay 4G] phred14:
So I think the trick for you is to get the files you need for the CM11 install, go outside and get a GPS lock, pull the battery, go back inside, and start the upgrade. That said, don't start doing that now. First go to the Cyanogenmod pages, (search cyanogenmod apexqtmo) read about the phone, read the install instructions, make sure you have the necessary software installed on your computer, etc. Start after you feel you can do it. Only problem - I think you will be starting from scratch - I'm not sure you can carry your settings and stuff across a major version upgrade like this. Perhaps something like Titanium or Helium backup can help - I'm not sure. I only really started using my Relay after installing CM11.

Feel free to ask more questions.
[Samsung Galaxy S Relay 4G] xdoza:
Thanks I'll look there. As I never do this, what do you mean with "go outside and get a GPS lock, go back inside"? Going into recovery mode?

As I see you are using one of the last nighlys "cm-11-20151213-NIGHTLY", one concern is that I read some heat issues with CM, does your phone heat that much? If you ever use the stock rom, does really work somoother/faster?
[Samsung Galaxy S Relay 4G] phred14:
First, I haven't had heat problems.

Second, I never used the stock ROM on either phone, beyond power up and seeing that it worked, before I started messing.

Third, the other night when I did the GPS fix, I also upgraded to the 20160111 nightly, so I'm currently at the latest. I haven't upgraded my wife's yet, so she's still at 20151213. I'll get to hers one of these days.

Fourth, the "going outside" thing is for when you are actually ready to start the upgrade. I can't get a GPS lock indoors, so I went out in the front yard, turned on the GPS, started the "GPS Utlities" app, and watched it get a lock. (It won't display latitude/longitude until it gets a lock.) Next I pulled the battery to "freeze" the GPS control bits in a working state. Then I came back inside, reinserted the battery, and started the upgrade.

Does that answer your questions? I see your next step as reading the instructions and getting comfortable with the upgrade instructions. Based on your current Android level, you don't need to flash the modem. You do need to flash the recovery, and use the recovery to upgrade the ROM. One difference from the instructions on the Cyanogenmod website: Rather than using their link for the recovery image, I'm using the recovery image that I fetch along with the CM11 nightly. When you look at the CM11 nightly page for apexqtmo (Relay) you'll see two files for download. They started shipping a recovery image with each nightly a few months back.

Again, questions, just ask.