yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 General] prkfsz:
Thanx again, [MENTION=9546812]Mr. JAVI[/MENTION]! :good:

Both links are about the same app and i've tried that one recently, so it seems like we think rather alike. :)

I get the exact same error message like the guy that wrote that one comment at the bottom of the second link (error saying "needs rebuild classes.dex").

And strangely enough when i open the deodexing window in the app it says that of the number of apps in the rom not all are odexed (says something like "deodexed 124/187"), which is rather perplexing because it's on the freshly installed stock (from nandroid backup directly after factory reset). So I tried to fool the app and get all the apps odexed first, but that didn't fly either..

Btw, thanks for the advice before - i always back the device upp (all partitions) before messing with it.. I forgot to do that on one device before and instantly regretted it.. :D

-------------------------------------------

Edit: the second link in your last post was dead so i tried to correct it in my message, but xda forum doesn't like that.

Tried to post in the right link here in the message too, but that didn't work either for some reason.

but searching the phrase 'how to easily deodex Android stock rom without pc' will give you the first search result.
[Galaxy Note 4 General] Mr. JAVI:
Oat2dex.jar

https://www.google.com/amp/s/xdafor...eral/tool-deodex-tool-android-l-t2972025/amp/

https://github.com/testwhat/SmaliEx/releases

---------- Post added at 01:14 PM ---------- Previous post was at 12:43 PM ----------

Well to tell you the truth, even a full Nandroid backup couldn't fix a dm-verity/drk issue on one of my Note 4's. Up until then I have always recovered from softbricking my devices. Stubborn as I am, I spent hours and hours and hours o no avail. I connected my other N4 but still kept trying to revive my old N4. It wasn't until a year and a half later, assisting another member that I came across a possible solution and it worked. Spent more time than my old N4 was worth but my record is untarnished non the less. lol :) I sure hope you never ever encounter either of thoughts [MENTION=10891995]prkfsz[/MENTION] . :)
[Galaxy Note 4 General] prkfsz:
:D

And i thought i was stubborn for this, insisting on tweaking an age-old os and spending hours on looking for solutions.. thank you!

Not sure about what that issue you mentioned was, since i'm not really on that experience level, but i'm sure it was a mean one.. lol Good job of fixing it! I ended up a few times in similar situations (not with that high level issues apparently) and i just couldn't let go untill i resolved them or bricked them completelly... Luckily haven't bricked anything even tho i play mostly with older devices so it wouldn't be such a waste. But as you too apparently feel - unblemished record is a matter of pride.. :cool:

And yes, i too recently understood that nandroid backup isn't allmighty - it can't for instance save certain safety settings, fingerprints and such. I always thought of nandroid backup like a 'clone' feature on PC. Loved that..

Aanyhew - back to business. :D

I hit the wall here again, the same one as with Fulmics deodexer. It's not that it isn't working, it's that i don't know how to point it to the right maps for deodexing.

As far as i understand, i have to copy those 3 folders from the phone to the PC, do the deodexing on the pc, and then move back to the phone and replace the original folders. Is this correct? I tried doing this in TWRPs file manager using micro sd card, but i gott error message that it wouldn't copy all the files for some reason. Should i use some other method of copying those folders to the PC?

Perhaps a stupid question but is there any way to let the deodexer on the pc find the folders directly on the phone?

As always - a huge thank you from the struggling noob, [MENTION=9546812]Mr. JAVI[/MENTION]. :good:
[Galaxy Note 4 General] Mr. JAVI:
Perhaps this is the Xposed framework and installer that might be compatible with your N910f

https://xdaforums.com/note-4/themes-apps/unofficial-xposed-v87-3-magisk-v18-t3897017/amp/

As far as TWRP you might be able to patch it and save internal data with Tipatch apk. The drawback is you backups will be much larger.

https://www.google.com/amp/s/xdafor...pp-twrp-tipatch-backup-internal-t3831217/amp/

PS: Thsnks for the compliment my friend but I'm still learning. Modifications is just a hobby of mine. We learn from each other here on XDA.

PC : skills are not my strong point :( . Your skills with PC far

exceed your ability. I actually bought a laptop years ago, just so I could flash TWRP Odin and root . The complete ssd laptop cost alot more than my Note 4. I port or create my own flashable .zips. Although, I've never been faced with having to deodex a custom rom, simply because there readily available from the developers on xda for the n910p. Sucks there hasn't been one developed for your n910f. :(
[Galaxy Note 4 General] Mr. JAVI:
Something posted by [MENTION=2972953]IBNobody[/MENTION]

"Anything past Magisk v15.3 will not pass SafetyNet on QI5.*

Magisk v15.4+ added a check in its Magiskhide subsystem that looks a service (logd) to be loaded. That service is not running on our stock or slightly modified QI5 build. If this service check fails, Magiskhide does not get loaded. If Magiskhide is not running, it can't hide Magisk from the SafetyNet checks.

(You'll know if this is affecting you because the Magisk Manager app won't remember any settings you make in the Magisk Hide tab.)*

Our only options are:

1. Build our own fork of Magisk that skips this check.

2. Enable logd by modifying the init.rc file in boot.img. (logd is commented out. I have not tried un-commenting it.)

3. Remain on v15.3."

DQ15 is the Sprint firmware 6.0.1 and not n910f but it could be the same with yours as well.

A slightly lower version Xpoaed framework api 23

https://androidfilehost.com/?fid=529152257862685344
[Galaxy Note 4 General] prkfsz:
Laptop cost way over Note 4? I see i'm not the only one..... ehh, let's say determined bloke around here haha.. Hope it was worth it.. ;) And btw creating your own flashable zips is way above my level of skills, i can tell you that, my friend. Never did that, nor am i planning to. But since i am stubborn (or so i've heard.. lol) and i feel uttermost distaste for mrGoogle and, like you said, noone has apparently done the deodexing the stock N910F - I am simply forced to take matters into my own hands. Flashing a pie and microG is ... apparently too easy. :D Besides, i am already running that on one of my spare Note 4s.. And i appreciate xda, just like you say people can give each other a hand. What i dislike tho is lots of dead download links... Oh, well..

ok, back to business again. :cowboy:

I guess i am going to need a more detailed help now.

I tried with that version of Framework you linked to. At that page the link for Xposed installer app for Magisk is dead. Tried to play a little with the other file, the version 87.3 of Xposed and just flashed it in TWRP, but nothing happens.

As far as the Tipatch, excuse my ignorance but i have to ask here: what difference would it make for deodexing to be able to copy internal storage? I am thinking it's other folders that need to be copied, like /system.

Apart from that, i love the idea of Tipatch! Will install it anyway. :)

--------------------------------------------------------

I am beginning to realize that there are not many reasonable options left, since i'm not sure it is worth much more time and effort on my part. I am not going to be an engineer over this.. :D

So there is but one more question to perhaps get solved before i run out of options and go with custom Pie anyway.

And that is - how do i copy the needed 3 folders intact to PC for deodexing software? I can't find that information anywhere together with this pc based deodexers.

Oh well. I have vague memory of ES file manager being mentioned somewhere. So i guess that will be my last attempt before i give up. Unless some new solution emerges. ;)
[Galaxy Note 4 General] prkfsz:
Ok, i managed to actually copy the system directory from the phone to the pc using Root explorer app. And none of the deodexers work. Fulmics says it needs smali and baksmali versions over 2.2 even tho i fed it with versions 2.4. SVADeodexerforart runs through all the files without actually doing anything. Logfile shows error 'cannot acces jar file' on all 300+ files.

So i believe this is it for me at this point. I just can't see how further struggle would be meaningsfull since it would just take even more time and i already invested way too much of it on this. But i guess being stubborn has it's price.. :silly:

I want to extend my sincere gratitude, [MENTION=9546812]Mr. JAVI[/MENTION], for your patience, tips and guidelines. I think if it wasn't for you i would given up much quicker.. Which perhaps would've been a smart thing to do... :D But i wouldn't learn anything..

We will probably bump into each other more times here, since we seem to share the common affection towards a certain gadget. ;)

all the best to you
[Galaxy Note 4 General] Mr. JAVI:
I am just one of the "common folk". One of my hobbies is modifying my rooted Note 4. I have learned from my failures as well. The creating custom zips is not as hard as you think, in fact it was a failed camera .zip fash that ended in FC's. I came up with an idea to take the previous working camera .zip. left the meta-imf and replaced tge rest with an N7 camera from another rom and fkashed it. It's much easier explained with screen shots.

One of my favourite apps is ZArchiver apk. Downliad it and you'll see why. Ext4, tar, zip, roms, jar, apks and more. Freaking Awesome!!!

https://play.google.com/store/apps/...pk&pcampaignid=APPU_1_YUIBX4STE-aD9PwPh7ylmAg

Its like gold and did I mention free? lol

:)

Welcome to XDA [MENTION=10891995]prkfsz[/MENTION] :)
[Galaxy Note 4 General] prkfsz:
Why thank you good sir, [MENTION=9546812]Mr. JAVI[/MENTION]! :good:

Every noob should get this friendly a welcome.. :D

See? All that meta-inf, FC-talk is a bit over my lever right now. But i will check out your tool. Might come in handy for some future project. And free it is you say? Sold! haha

As for this project i had, i had to abandon it for now. I realized it wasn't the degoogling that was the problem, but the patching afterwards, and the deodexing that turned out to be downright impossible to get done. And it just gotten too time-consuming in relation to how much time i actually have and how much win i would get out of it. So i took the easy way for now and i went with the custom Pie. I do want the audio from the headphones.. :)
[Galaxy Note 4 General] AnonVendetta:
[MENTION=10891995]prkfsz[/MENTION]: I used Tingle patch to integrate signature spoofing. You have a few options:

Tingle patch (requires deodexed framework.jar)

Needle patch (requires deodexed framework.jar)

Nanodroid patcher (requires deodexed services.jar)

Haystack patch (requires deodexed services.jar)

Smali patcher (services.jar can be odexed or deodexed, it will deodex and patch the file for you)

FakeGApps (requires Xposed)

Options 1/2/4/5 require a PC. Options 3/6 can be done on device without PC.

Hope this helps!
[Galaxy Note 4 General] AnonVendetta:
I don't really have a lot of time to go into detail, but if either of you are looking for a comprehensive way to properly deodex a ROM, check out SuperR's Kitchen. There a free and paid/donate versions. The free version can do what you want just fine.

I had recently used this to deodex the latest stock MM UK firmware for the N910F. In addition to deodexing, the Kitchen can also customize your ROM, and even build a zip that you can flash in TWRP. It flashed and booted fine for me. Once you have done this, you can debloat the ROM (or let the Kitchen do it for you). It won't remove all Google stuff by default, but you can configure it to delete pretty much any file/directory in the system partition. My advice is to use the Kitchen's debloater/Knox removal features, then use gapps-remove.txt and a root file manager to delete the rest. Once you have debloated/deodexed, you can then easily signature spoof patch with any of the tools I mentioned in my previous post.

I have also discovered that you can also run the Tingle patch without a PC, by using QPython3 app. Just supply the deodexed framework.jar and build.prop, it will do the rest. Grab the Tingle master zip from GitHub, unpack it into QPython3's scripts directory on the internal storage, then provide the 2 files into input folder, and run main.py from within the app. You will find the patched jar file in output folder, replace your ROM's framework.jar with the patched one. Use Signature Spoofing Checker to confirm that it worked. I don't think root is required, but it's better to have it anyway, just enable root in QPython3 settings.

Some last notes: don't use Titanium to debloat Google apps, it may also remove some needed shared library files that Android uses. Namely, a library file called libgnustl_shared.so, which will cause autorotation to not work. Use Titanium to determine the locations of Google apps, then delete them manually. This will keep the shared library files while still deleting the apps. On top of this, use gapps-remove.txt.

But while you are debloating, there may be 2 Google apps present that you should not remove, period:

/system/app/WebViewGoogle

/system/priv-app/GooglePackageInstaller

The first is needed by Android and apps to provide webview functionality (this might not sound important, but it is). The 2nd is needed to install apps, remove it and you won't be able to install any app from anywhere (Play Store, manual APK install, etc).

On the subject of Xposed, do *NOT* install the Xposed installer from the Magisk Manager downloads. It isn't designed to work on stock Samsung MM firmware, you won't be able to boot. Use the custom Xposed by wanam (available on XDA). Or you can google for "Xposed kevintm78", this will come up with an AndroidFileHost link that you can install from Magisk. The latter is just a systemless Magisk version of Wanam's Xposed.
[Galaxy Note 4 General] prkfsz:
[MENTION=7441667]AnonVendetta[/MENTION]:

Thank you SO very much! This is the detailed info i was hoping for from the beginning basically. :good::good::good:

Like i said, it turns out that for me it is the deodexing that is the problem, not the patching. I tried some methods of deodexing, and the Smali too, but couldn't get them to work, i figure perhaps because all of those deodexers now are several years old. Or i did something wrong.

But i will definitelly try this you suggested. I'm on vacation from next week and will have more time to fiddle with this. Will then rapport back on how it's going. Thanx again!!

One small question, if i may: usually it says, and you wrote that too, that only one particular deodexed file is required for patching, if i understand correctly (for example services.jar). Does that mean that i deodex only that file or do i have to do all those 3 folders in the /system that usually are required?
[Galaxy Note 4 General] AnonVendetta:
[MENTION=10891995]prkfsz[/MENTION]: If you use SuperR's Kitchen, deodexing should work fine. The Kitchen is frequently updated, and the developer generally uses the latest stable versions of all the tools/utilities that the Kitchen requires. If it asks you what deodexing method to use, go with smali/baksmali instead of oat2dex. I tried oat2dex on the stock firmware, it failed to deodex several apps. You should find all the details you need on how to set up and use the Kitchen, just post in the relevant thread, someone will help. It has been awhile since I posted there. I can't use the Kitchen right now because my gaming laptop is out of commission and needs to be returned for repairs. If it worked, I might offer to deodex the firmware for you.

Some signature spoofing patchers require framework.jar, others require services.jar. it doesn't really matter which patcher you use, I would just pick the one that is quickest and easiest. I personally prefer the Tingle patch, since I can apply it from PC, or on device with QPython3 app. See my post on the previous page for details.

I do highly recommend the Kitchen for ROM customization/building. It is usually the only PC-based tool I have to use, and fulfills most of my needs. Unlike most other similar tools, it is maintained regularly and updated often. It's easy to get help if you need. And the Kitchen is not overly difficult to use, but you do need a functioning brain that can think. If I were you, I would try it for awhile, then maybe consider donating for lifetime access to the paid/donate version. Well worth the small amount of $ the dev asks for, I think I only donated like $15. But the free version should be enough for your needs, you can use it indefinitely.
[Galaxy Note 4 General] AnonVendetta:
Did either of you try my steps? Did it work?
[Galaxy Note 4 General] prkfsz:
[MENTION=7441667]AnonVendetta[/MENTION]

I know from experience that these things are seldom done during coffee break so i was waiting for when i will have more time for this. Was planning on doing it tommorow actually.. Will definitelly get back to you with results.. :)

And i will most likely start with that SuperR's kitchen, sounds easier...

I also want to say i REALLY appreciate you taking the time to write all that info down in such a detail... Helps a lot!
[Galaxy Note 4 General] prkfsz:
Edit: sorry for double post.

[MENTION=7441667]AnonVendetta[/MENTION]

I know from experience that these things are seldom done during coffee break so i was waiting for when i will have more time for this. Was planning on doing it tommorow actually.. Will definitelly get back to you with results.. :)

And i will most likely start with that SuperR's kitchen, sounds easier...

I also want to say i REALLY appreciate you taking the time to write all that info down in such a detail... Helps a lot! :good:
[Galaxy Note 4 General] prkfsz:
[MENTION=7441667]AnonVendetta[/MENTION], you are da man! :victory::victory:

First I looked up that kitchen thing you described first. But i couldn't find a free version for Windows, only for Linux. To get the donate version there was a whole, seemingly time and patience consuming process, and my patience nowadays in not really on par with that. Through the years i got allergic to go-there-do-that in 36 steps applications. I'll gladly donate or get a paid version if it's simple, but right now this was just too much. Or i just couldn't find it, at least here on XDA.

So i tried the second thing you suggested with the APKtool and BOOM, worked like a charm. THANK YOU! I'd give you 100 thanx now if i could! :good::good:

It turned out not only to be working, but also very simple, just like you said. Your tutorial was awesome and right on the spot and i am really gratefull for your time and effort. At the end i ignored the MicroG location provider functionality because the gps app i am using (Osmand) seems to be working anyway. So right now i'm one happy puppy.. :)

A bit curious now - those lines in TWRP Terminal - what exactly do they do?

I am also considering using this tool on my other devices (with Android 8 and 9) and wonder if i can use the whole procedure as is, or should any part of it be modified?
[Galaxy Note 4 General] AnonVendetta:
[MENTION=10891995]prkfsz[/MENTION]: I think you're right about the Kitchen, I only see a free version for Linux. I have only ever used the donate version anyway, and Linux is my preferred OS.

My advice:

Install VirtualBox in Windows, then install Linux Mint or Ubuntu inside that. Grab the free kitchen and run it inside the VM. It's not rocket science, yes there are steps, but not so many. The kitchen isn't so difficult to use, it's worth it.

I actually just used the APKTool I linked to deodex my entire system framework directory without a PC. Took about 2 hrs, and paying attention so as to not make mistakes. Not as quick as the kitchen, but it works. I just wanted to see if it was possible, and also because I plan to mod some of the files. Very powerful tool.

The commands I gave? They send all info on your phone into a black hole. JK, chmod is for setting permissions, and chown is for setting ownership.

I'm not sure if my steps will work on 8/9, Google has changed a lot. But what might work is, deodex those ROMs with kitchen first, then use my steps to signature spoof patch. Other people say that works.
[Galaxy Note 4 General] AnonVendetta:
[MENTION=10891995]prkfsz[/MENTION]: I've just discovered an app called MT Manager. It has many, many functions like:

Root file manager

Decompile/recompile APK/jar/odex

Sign APK

Advanced file editing (not just text, but also things like scripts and programming, I'm using it write Python code)

Unpack/repack archives (like ZArchiver)

Those are just a few. You can use it for free, but to unlock certain features you have to pay. The developer charges $20 for a lifetime key, very well worth it.

I would say that MT Manager is in the top 3 power apps I've ever used. The other 2 being Tasker and APKTool. It's worth a look.

While I was browsing around a few days ago, I also found another APKTool called APKTool M:

https://maximoff.su/apktool/?lang=en

It does most of what APKTool X can do. I'm mainly using it to convert those pesky split APK apps into a regular/merged APK.
[Galaxy Note 4 General] prkfsz:
[MENTION=7441667]AnonVendetta[/MENTION] forgive me for the terribly late answer.

I am really grateful for your time and tips. I will probably look more into those other tools you mentioned in a while, for the time being i'm just happy with my google-free MM. And right now it's just too much with personal stuff, among other things there is a new GF in the picture,.. :):silly:

So, right now i have to prioritize other things..
[Galaxy Note 4 General] AnonVendetta:
[MENTION=10891995]prkfsz[/MENTION] and [MENTION=9546812]Mr. JAVI[/MENTION]: I've just posted a thread with links to the deodexed stock firmware.

https://xdaforums.com/note-4/snapdragon-dev/twrp-flashable-deodexed-n910fxxu1dri2-t4149021
[Galaxy Note 4 General] Mr. JAVI:
Thank you very much [MENTION=7441667]AnonVendetta[/MENTION] :)
[Xiaomi Mi 8 Questions & Answers] b4mb1_:
Hello,

Since Android 10 updates, I've been having mic problems with every ROM. However, on MIUI I think it's back to fine (a little bit). Calls, Recordings, etc is okay with mic gain but on some other apps like games, whatsapp, etc., mic gain is still very low.

I'm not really sure what's the problem here but does anyone experience this too? Anyone have a solution? Thank you.
[Xiaomi Mi 8 Questions & Answers] gdeliana:
You are not the only one, i not only have mic problem, but as well the earpiece volume is very low, without modding the gain of these,my phone is unusable.

I think this is done by xiaomi on purpose to force us to change phone. As usual our phone got old (2018) so the policy is at least every 2 years change phone.

Well i have the money ... But nothing appeals from the recent phones, seems to me like technology is stagnating a bit.
[Advantage X7500, MDA Ameo General] famsanr:
Hi mates! about two months ago some friends ask me the reason why my athena was of. I thought it was an excuse for not having time to call me but after many times listening the same i began to test my phone and they was right: no signal sometimes only. tried soft reset and all comes back normal but after a few hours the problem was there: no incoming calls. I already tried hard reset, changed roms and my Athena sometimes receive calls, sometimes not and every times with no signal I need reset again. does anybody can help me, please? regards