yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Matt07211:
Sorry, I'm gonna have to disagree, as long as you've got time/patience/enthusiasm and the ability to learn, then it won't take long.

It took me 2 months to learn from Scratch (including exams, work, formal, and the use of only mobile data, so decent time If I include these into the length). And in this time I learnt from nothing, into how a majority of stuff works. All it takes is persistence.

Thanks about the tip for security agent, I'll look into it. But it's hard to replicate as I've only had it come up once (after a custom kernel was flashed) and nothing has come up since then.
[Miscellaneous Android Development] Matt07211:
Hi [MENTION=7848003]Sonof8Bits[/MENTION] I realesed a fix to your problem, are you able to test and verify for me, allways better to have at least 2 different people/phones test stuff out. Thanks.

===

OP has been updated. Now it includes:

- instructions to fix compatability isssues with root apps that don't work as they aren't compatible with systemless root.

- A Troubleshooting and FAQ section, which should hopefully help answer some questions (if not I'll add them).

===

Things to do:

- Get a working TWRP (I don't know how with my internet situation)

- update the second post with detailed instructions needed for modifing the boot.img and system.img with success, as well as how to compile a kernel and get it booting, as well as other miscellaneous stuff.

- create a list of recommended root apps :silly:

- seeing about exposed and arise sound mod.

===

That's all at the moment. Bye

~Matt07211
[Miscellaneous Android Development] Sonof8Bits:
Epic stuff mate, it works!! Thanks!!! :D :good:
[Miscellaneous Android Development] Matt07211:
Cool, thanks for testing. If you have anything else that you want working on this device, just say so :)
[Miscellaneous Android Development] Sonof8Bits:
You're very welcome!

I've never used TWRP but from what I can tell it's a lot better than the stock menu. Since you're already interested in working on that but can't, what could I do to help make that happen? My mac is 64-bit, so if you have anything to compile just tell me what to do and I'll give it a try.
[Miscellaneous Android Development] pippersoft:
Does anyone have a link to a safe odin and samsung drivers download please?
[Miscellaneous Android Development] Matt07211:
Sorry for a late reply, i was working.

I havent had the chance to use TWRP either, only CWM on an old ginger-bread device.

If you want to try, I can help, but keep in mind these things:

- I am not sure how big the minimal TWRP Source is, but I do know that a full build tree is in excess of 20GB. So the minimal tree is recommended.

- I know Mac and Linux Based systems are similar, but I'm not sure how the pckage system (and how other things work on a mac), so I would defintly recommend a dual boot or VM of a Linux Based system, preferably Ubuntu as that is what Google's guides target for, when they compile Android components. You'll also need a 64 bit computer (in not sure about macs)

- The reason that proguru was able to compile a kernel for me was becuse they only had to put in a few commands. Where's the TWRP Source is a template, and you'll have to input data your self. I'll be able to help, you can also base the data of the of TWRP Source code from the other twrp images for this device. This makes it a much more difficult task.

- You've also gotta be comfortable with the Command line and to be able to debug a problem.

If you've considered all this and still want to build TWRP, then go ahead and do it, I'll lend my knowledge, help you and learn from it.

If you do, tell me and I'll probably set up a discord channel for discussion.

===

Here is something cool that I wouldn't mind trying out once I've got a working TWRP to use.
[Miscellaneous Android Development] Matt07211:
Download Samsung Kies3 from their website, and install it, as it installs, it will install USB drivers.

As for Odin, I'll upload the one I am using when I get home, and I'll mention you so you can download it. I've used this in 2 different Windows computers and haven't had anything installed or anything that shouldn't happen happen, so I believe they are safe. Note: I haven't ever needed it to run as admin, so you shouldn't need to either.
[Miscellaneous Android Development] ash1970:
After root i can't install xposed , is it possibe?

Wysłane z mojego SM-G388F przy użyciu Tapatalka
[Miscellaneous Android Development] akuhak:
Ok here is working TWRP 2.8

So now how I rooted my phone:

0) Downloaded SuperSu zip installer and placed it into internal memory

1) Reboot in Odin mode

2) Install TWRP via AP button

3) Reboot into recovery. Recovery will show red message with "Recovery is not seandroid enforcing" on boot, and will reboot twice until you see TWRP main window. Just ignore it :)

4) Install SuperSu zip archive

----OFF-TOPIC----

BTW at this point you still have not knoxed device. You can reboot phone and you still will be with knox 0x0. And BTW you can stop at this point and resume in any moment. I was at this stage for about a week until I move forward. Of course you will have no root at this moment :)

----/OFF-TOPIC----

5) Reboot in odin mode

6) Install boot.tar.md5 from xcover3-lollipop-root.zip

7) You have root now ^^ maybe you will need to install supersu from playmarket but im not pretty sure that you need

And I want to share with you what I do with my rooted phone:

1) installed Busybox from meefik

2) installed XposedInstaller -> and XposedFramework of course

3) Installed Wanam Xposed for Lollipop. Yeah its discontinued but still has many fun features.

4) installed GoogleService Replacement. All apps are working fine except of youtube so i downloaded OG Youtube Xposed version

5) installed LuckyPatcher and enabled function: integrate updates into /system partition.

6) with LuckyPatcher I removed bunch of google applications that I dont need.

7) Installed TitaniumBackup. With Titanium Backup I integrated all system application that was updated into /system

8) Installed Kernel Adiutor and limited cpu for better battery (just for now)
[Miscellaneous Android Development] Matt07211:
Okay cool, glad you've got a working TWRP, albeit a modfied version for a different phone. I would perfer to build a version of TWRP Specifically designed for our device, but this can be a good place holder.

A bit off/odd about your Knox counter not going off.

What happend when you flashed SuperSu? Can you provide its log file please.

I then aussemd that you had to use my boot.img.md5 file as SuperSu was unable to modfy a stock boot.img of this device, am I correct?

Can you tell me if you are using a systemless root or not. Look at my screenshot to see if yours matchs mine.

What benifits does the meet it busybox bring? I merely placed the stercsion busybox version inside my su.img as that is what I had access to at the time.

So exposed works?

Why did you install offical exposed then install wanams closed version over too? What benifts does it have?

I'm guessing your using Google's services replacement becuse you don't want to be dependent on Google, am I correct?

I also have kernel auditor installed as well,like the app. Tried with KSM enables but it seemed to cause my phone to take inexcess of 30+ seconds to wake from sleep.

Sorry for the large amount of questions .

=== [MENTION=7848003]Sonof8Bits[/MENTION] [MENTION=5716433]proguru[/MENTION]

I need your help, if I build the necessary stuff can you just compile the files for me and upload them for me to access. Read below for what I plan to do and what you can help with.

1) Write up the info for the second post by tonight/tomorrow day.

2) Then see if I can download the TWRP code, modify as needed, upload to github, and ask you guys to compile if needed. (I prefer a TWRP built for the device instead of a modified version like [MENTION=7770482]akuhak[/MENTION] provided.)

3) probably once TWRP is taken care od, I would actually build a custom kernel for this device. With you guys just syncing with the sources, compiling for me and then post up for my use. Please.

Sorry every one for such a long post.
[Miscellaneous Android Development] Devhost97:
- ODIN - http://odindownload.com/SamsungOdin/

- Samsung Driver - http://developer.samsung.com/technical-doc/view.do?v=T000000117

via https://www.youtube.com/watch?v=kf27dCER-OA
[Miscellaneous Android Development] Matt07211:
Odin download Is where I believe I got my version of Odin.

As for the TWRP linked, it's for the value edition of the phone. So unless the user is using the value edition then it's of no use at the moment (if they are using the original version with lollipop.)

It's allways better to get the newest SuperSu straight from the source.

http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

Or

http://xdaforums.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
[Miscellaneous Android Development] akuhak:
Ive got exactly the same root as in your picture. :) And yes only TWRP cannot install supersu into system - I supposed its because I used very hackish version of twrp (it doesnt support sd card, adb and any kind of usb mount.) And yes - when I flashed your boot.img.md5 ive got root and tripped knox ^^ About logs- I cleared it 2 times so I dont think that I will have it somewhere in my phone.

TWRP compilation... Iv got 40Gb virtual linux machine - and this was NOT ENOUGH for omnirom !!! Too much space - I dont know why they need so much cause I need only 100 Mb free for samsung kernel compilation.

As about google services - it is not cause I hate when google covers me :D But because Google Services eat so much battery and space in memory - about 100Mb can be freed up.

I need official XPosed for some other stuffs like google services replacement and luckypatcher and BTW wanam xposed is PART of official xposed nor replacement.

Yeah custom kernel now will be very useful :)
[Miscellaneous Android Development] Matt07211:
I'll definitely start working on a custom kernel, but I better read up on this thread (http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957)

You should have used the minimal source tree version, becuse by the sounds of it your downloading the whole Omnicom source code. When all you really needed was the minimal version for TWRP. (I might try hacking together a TWRP like you did, by basing it of the kitkat working version and the value editon version (so it can tide people over until a fully functional version can be done)

Wanams version of exposed is based of the official version, but is considered unofficial. I believe he chucked together a version so it could work with systemless root (untill the official one caught up).
[Miscellaneous Android Development] akuhak:
Oh maybe there is some misunderstanding. I installed official xposed installer (v.3.0.1), then I installed inside xposed installer: Samsung: Framework: xposed-v87.0-sdk22-arm-custom-build-by-wanam-20161125. Then I installe xposed module Wanam Xposed for 5.x.x

BTW you need installed busybox for it. that busybox that is built-in kernel is not enough :)

As about TWRP - I dont think that i have patience to clean up omnirom (which btw not easy process at all). Maybe I will try to help with custom kenrel cause at least I can test changes in fast way.
[Miscellaneous Android Development] Devhost97:
About recovery is my mistake - i edited post. But to superSu i shared the autoupdateing link to stable version :)
[Miscellaneous Android Development] Matt07211:
http://xdaforums.com/apps/supersu

Here you get the latest stable and the latest beta, as well as anything SuperSu related.

You can use AkuHaks hacking version of TWRP to install exposed. But I wouldn't recommended using it for anything else R

E.g. Back Up and restore, as it hasn't been built for the device.
[Miscellaneous Android Development] Sonof8Bits:
I can probably help out with this, yes. :good:
[Miscellaneous Android Development] proguru:
Sure :)
[Miscellaneous Android Development] pippersoft:
Thx so much for all your effort i finally got root and can use link2sd so memory is not a problem. I keep getting that Unauthorized action alert now and then but doesn't bother me.

Great job!
[Miscellaneous Android Development] Matt07211:
Cool, better get started on working on it. What do you prefer, TWRP or Custom Kernel.

Try disabeling security log agent with link2sd, if these notifcations still come up after a reboot, disabling smart manager. This should fix the problem (other users reportedl
[Miscellaneous Android Development] pippersoft:
Where is smart manager cant see it in the application manager?

found it , disable is greyed out so can just force stop
[Miscellaneous Android Development] Sonof8Bits:
You'll have to freeze it with Titanium Backup or remove it with something like Root Explorer, ES File Explorer or FX File Explorer. Smart Manager and Security Log Agent are in /system/app/ and /system/priv-app/ if you want to do it manually. Don't forget to back-up the files if you remove them manually.
[Miscellaneous Android Development] ascottt:
Hi pippersoft, could you please provide "smart manager" and "security log agent" files? Just for backup, I brutally deleted both in order to get rid of security stuff alert, you can do it on link2sd (keep tapped on each, then "share apk", make sure shown apps are set to ALL).

Thanks a lot :)
[Miscellaneous Android Development] Matt07211:
Give me 10 minutes, and I'll post then up for you.
[Miscellaneous Android Development] Matt07211:
Here you go.Hope they help.
[Miscellaneous Android Development] ascottt:
thank you Matt! ;)
[Miscellaneous Android Development] pippersoft:
DO you still need them i can do tomorrow? BTW i just freezed them using Titanium and it works fine!!!! Thx so much to all those involved my phone is now running great :good::good::good::good::good::good::good::good::good::good::good::good::good::good:
[Miscellaneous Android Development] ascottt:
Nevermind, Matt did it ;) btw i can't install it and I don't know why, but it's not an issue, as priority I'm lurking about xposed :D
[Miscellaneous Android Development] Matt07211:
Go and try AkuHaks hackish version of TWRP (only use for flashing exposed, wouldn't use it for anything else).

I'll help fix up your problem later (smart manager), becuse i just resurrected this phone from a horrible screw up. It now back into a partial working state. Everything is there except for root and google services framework (for which a large majority of my apps require (especially the play store))
[Miscellaneous Android Development] kniederberger:
Hey Matt,

I watched the video and it is pretty much the same as what I did to root my XCover 3 VE. There were a couple of small differences but the end result is the same. I didn't install Samsung drivers as I already had SmartSwitch installed and I didn't pop the battery after flashing TWRP but instead restarted and instantly booted into recovery. (I kind of got distracted by the video action in the background when the subtitles are pretty much the same as the your instructions and are the important part.).

So you may want to include it as a link for those who want to see a video of it first.

Well done on your lollipop root. It's generated a lot of posts here lately.
[Miscellaneous Android Development] Matt07211:
Thanks for the review of the video, I actually added it into the OP just yesterday (after a very quick skip through it).

I am also pretty suprised about the response for the lollipop root, it has over a few hundred views (which I assume is the download count), and as you said the replie in thread has doubled over this past week.
[Miscellaneous Android Development] Sonof8Bits:
I've made a de-bloating list, which can be found here: https://docs.google.com/spreadsheets/d/1WeyXkVvvbnePv_mqO1pggHvXxG_tdree2sj5fY1a-qg/

As always, back-up before you delete or freeze/disable the apps. And I'm obviously not gonna be held responsible for problems/bricking/the apocalypse.

Edit: I've started a thread for debloat suggestions: http://xdaforums.com/android/development/samsung-xcover3-debloating-t3509575
[Miscellaneous Android Development] akuhak:
BTW yo can select in wanam xposed options: disable knox notifications and set samsung status as official :P
[Miscellaneous Android Development] Matt07211:
I am not sure if they work, as I haven't the need to use them. My device was already in official state (after semi fixing, rooting again, wiping), this also means that I don't get any warnings as well. If someone else can verify I'll add into OP.
[Miscellaneous Android Development] kniederberger:
Has anyone looked at installing Android updates on their XCover3 after rooting? The Value Edition has a new firmware out and I'm wondering whether to unroot to install it or try Chainfires FlashFire to update it.

Would unrooting the phone allow the update to be installed "over the air"? With it rooted the OTA update is not allowed.
[Miscellaneous Android Development] Matt07211:
Do not flash the value edition update into the normal phone. Why? Because the phones have different hardware. The normal edit on has a Marval chipset, while the value edit on has an enxyous chipset (hopefuly I spelled both of them correctly).

It doesn't mean we can't have newer versions of android on the phone, it just means someone has to build a ROM for the phone.
[Miscellaneous Android Development] kniederberger:
I do have the Value Edition phone. This is the Samsung firmware update that came out after I had rooted the phone. The new firmware version is G389FXXU1API1 as opposed to G389FXXU1APD2 which was the original firmware when the phone was released.
[Miscellaneous Android Development] Matt07211:
Just download and flash via odin, none of the /data section gets touched, therefore your apps will still remain.

Source: Me. I refreshed the firmwarebin an attempt to fix a problem, and my data and SDCard remained.

Note: Root will be be gone, so reflash TWRP and then SuperSu.

Make sure to do a nandroid backup, backup apps and SDCard contents before flashing (just in case something goes wrong.)

Should add this to OP tonight.
[Miscellaneous Android Development] Devhost97:
This solution is working :) And i updated my SM-G389F too :)
[Miscellaneous Android Development] ascottt:
Hi guys, back again. After some massive attempts to set nfc working while screen is off -achieved with an xposed module while I was 4.4.4-, I found some threads about a modified NfcNci.apk that, replaced to the original, would do the job. Since I still can't install xposed framework -falshed [MENTION=7770482]akuhak[/MENTION] 's TWRP (thanks man!), odin fails or crashes whether I compress it to .tar or .gz- I backupped the native NfcNci.apk and removed it, then tried to install the modified .apk. Copying it into its folder in /system/app didn't work, nor through adb install etc: it returns me an error [INSTALL_FAILED_DEXOPT]. Tried to install the original same ways. Result? Nfc window is still there, but obviously it's not switchable. Why can't I install the original .apk -nor any of the originals such as SM-? Am I missing something?
[Miscellaneous Android Development] Matt07211:
A question, why dont you use the exposed module again? Does it not work on lollipop?

I am successfully running exposed (wanams framework version, the newest exposed installer (3.1.1) and using wanams exposed apk (an samsung lollipop mod app)). No need to tar the file provided by akuhak. Boot into TWRP and flash wanams xposed framework arm sdk22.

Now to the important part.

Note: This is going on based on the assumption that the modifications done to the apk are correct. You probably used an app such as small.

Did you resign the apk after you modified it?? Could be the reason why it ain't working. Or are you using an apk from a different phone. That could also be your problem.

Not quite sure how your trying to get it onto the phone. Are you using twrps adb, twrps file manager (I think), createing a flashing zip?

Not sure about the dex thing.

Edit: you could also modify the system.img (from firmware download) place the apk inside and reflash that via Odin.
[Miscellaneous Android Development] ascottt:
Thanks Matt, I'll have a try again on xposed tonight.

I didn't modify the app, I found it somewhere on xda, I'm sure that wasn't compiled for our smg388f, but i tried anyway, didn't work and tried to install back again the original one I have backupped before, no way to nail it.

I tried to copy/paste the original with root browser, or adb command line, or simply tapping the apk file and trying to install after ticking "unknown sources", the usual way. None of them worked.

I have no idea at all how to sign an app (need to on an original apk?) or to edit the system.img, but I'm curious so I'll try it out ;)
[Miscellaneous Android Development] Matt07211:
Do exposed first. If it still doesn't work then move into the next thing.

Using an system apk meant for a different phone won't work.

I recommend trying to place the original file back via TWRP. If that doesn't work, reflash the firmware (no apps or data will be lost, only system modifications, TWRP and root).
[Miscellaneous Android Development] ascottt:
Maybe I've been misunderstood :) I used the modified nfc apk for another device, but once realized it won't work, then tried to install again my native nfc apk, that was copied before elsewhere, through the ways I mentioned above, with no success. I'll let you know, thanks for your support!
[Miscellaneous Android Development] Matt07211:
I think so.

Let's get it straight. You can't get exposed to work. I've proven it to work.expsed working would mean you don't need to modify the apk.

Now your trying to get the original back, correct?

I said you can try using TWRP and put it back that way. Or after you've tried everything and you still can't get the original bff working, then you can try flashing the is original firmware..

Is that clear and correct?
[Miscellaneous Android Development] ascottt:
Yep, all correct ;)
[Miscellaneous Android Development] Matt07211:
Cool, tell me if you have success
[Miscellaneous Android Development] ascottt:
Now, all seems to work. I reflashed stock firmware, akuhak's TWRP and wanam's xposed. Feel like my phone is on steroids now as it were while on 4.4.4 ;)

Started some (wiser) debloating, this time I left over SM and freezed SecurityLogAgent, again with link2sd.

I really have to thank you all, feeling a bit embarassed by my noobness and by having the job done without any coding skill, thanks!
[Miscellaneous Android Development] Matt07211:
I'm glad you've for everything work as you want it. I'd recommend updating to the newest exposed installer (3.1.1)as it's aimed at lollipop and upwards, and is material themes so it's dosnt feel as outdated. You can find the newest version HERE

May I recommend Wanams Exposed Module (it's like the gravity box app for samsung devices (that being said I haven't ever had the chance to use gravity box)), it's probably the best app for modifying samsung phones (Due to other apps being aimed at stock android).

Flat status bar is also another good all as you can see my modified notification bar at the top of screenshot.
[Miscellaneous Android Development] Matt07211:
Hi everyone, I have added a poll to this Thread. It will close on the 31 of December, 26 days from now.

Feel free to vote for what you want to happen next for this great device :)

At the end the highest vote wins. And if that task has been completed before then I'll move onto the next highest voted. I'll complete them in order of highest to lowest.
[Miscellaneous Android Development] Matt07211:
Hey guys, I just found a treasure trove of great mods (and there is a LOT of them) HERE meaning we can have something like a custom Rom but without compiling from source (this is a problem for me as I don't have the data or computing power needed).

What this means for you? Well this means we can have all the benefits of a modded rom without me downloading all the source code.

When will you realease? Hopefully at the beginning of next year I'll have learnt and applied mods that i like, feel that are needed, or you suggest, and should be able to realese a beta version around then.