yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] DoR3M3:
Oh don't take me the wrong way, I really apreciate the help, I assumed you would of seen the humor in my laugh with a smile. It was just a harmless laugh, nothing more.

So you're saying you haven't modified framework-res.apk before?

I've been playing some more with signing and came up with this, trying to figure out the differences here, if you or anyone knows?

https://xdaforums.com/android/general/difference-appiums-signapk-jar-vs-t3878525

Thanks

P.S. I signed it and I have it booting, but wasn't sure if anyone has done it without signing the framework-res.apk
[SuperR Kitchen] kevintm78:
No that's not what I'm saying but whatever...
[SuperR Kitchen] DoR3M3:
Sorry my bad, overlooked the aside from - I can modify all apps aside from camera, contacts, and framework-res

Thanks
[SuperR Kitchen] SuperR.:
[MENTION=8949533]DoR3M3[/MENTION] [MENTION=5285430]kevintm78[/MENTION]

Feel free to continue this discussion here. It is off-topic for the kitchen thread as there is a plugin that does all this for you :)
[SuperR Kitchen] DoR3M3:
Sorry for the off topic, and also never asking/bringing this up for Kitchen, I assumed that Signing the ROM was only for it, not an apk, or does it also sign the apk?

I didn't notice any of the plugin names mentioned as something used to sign an apk... All I see is apktools that makes sense to me, but I assumed this is only for decompile/compile, not signing...

Thanks
[SuperR Kitchen] DoR3M3:
Do you know of an easy way to extract from only the resources.arsc by itself and then make changes to the resources and pack it back up?

OnePlus has errors in their resources in this Settings.apk, so I'm trying to figure a way around it, and I was hoping I would just edit only the resources.arsc and then place it back in the apk without decompiling/compiling it with apktool since I can't accomplish this...

Thanks
[SuperR Kitchen] SuperR.:
This is not a kitchen issue so I moved it over here.

To answer your question, I have no clue. I do know that the compile error is actually happening on the resources and not the rest of the apk (classes, etc). I suspect even if you manage to decompile only the resources you will have the same issue compiling them again. Good luck :)
[SuperR Kitchen] DoR3M3:
Ok thanks
[SuperR Kitchen] bcrichster:
My theming solution back in the day was editing the apps without decompiling, if ya remember [MENTION=5787964]SuperR.[/MENTION] ? I used ROM toolbox pro to see the files easily and navigate thru the apk, extract desired files to edit, then Zarchiver Pro to reinsert them into app without decompiling. By reinserting the modded files, you overwrite the previous file.. You can't just edit something and back out. This method took awhile to accomplish without OC capability as all this work was actually done on the device, with the device I was working with, Lol.. Hence my early love for SmartassV2 and Wheatley govs. Hope that helps

Edit: one last thing, all apps I ever modified were already deodexed
[SuperR Kitchen] FREETESTER:
Customize Lineageos 15.1

Hi guys,

I am trying to customize on lineageos 15.1 the lock screen, home screen and wallpaper

Does anyone know where to do this, so that the changes will be permanent also after a factory reset?
[SuperR Kitchen] bcrichster:
Yes, you'd need to decompile the framewors-res.apk, Settings.apk, and possibly possibly the Trebuchet.apk.. replace &/or rewrite the corresponding .png &/or .xml files to what you'd like (same sizes/format) and recompile, signed
[SuperR Kitchen] FREETESTER:
Many thanks for your quick answer "bcrichster", but can you please be a bit precize on how to do this?

Thanks again
[SuperR Kitchen] bcrichster:
Not without reWriting a whole guide, no. Probably best to use an older app theming guide plus a lot of trial & error methods to find the exact files to modify. Your goal is no easy task and involves decompiling & actual Modz to specific app(s)..
[SuperR Kitchen] FREETESTER:
I understand, thank you man...
[SuperR Kitchen] bcrichster:
No problem. One more thing.. look in the hdpi, xhdpi, xxhdpi folders as most the .png files you'll want will be there
[SuperR Kitchen] FREETESTER:
Thanks again pal, i thought it were be easier to fulfill my needs, but i see i have more work on front, nevertheless any kind of help will be appreciated...
[SuperR Kitchen] bcrichster:
It seems the guides I had used were from the GB-ICS days and have been buried somewhere in XDA.. here's a close one that's similar but not rrally detailed enough for current needs. Just remember that whatever image files you replace, need be same pixel sizes and image name as the original to prevent glaring errors or compiling issues.

https://xdaforums.com/showthread.php?t=2058850

There was also an old app.. called Meta-Ninja or something that gave way better details but I'm unable to find it again.
[SuperR Kitchen] qianjie:
Can anyone help? avb 2.0 causes the bootloop on xiaomi mix3. How to solve this problem
[SuperR Kitchen] DoR3M3:
I'm trying to hack on an XML file and failing at it :(

If anyone can please help it would be greatly appreciated!

https://xdaforums.com/android/software/disable-touch-fragment-xml-file-t3889359

Thanks to anyone who takes a look...
[SuperR Kitchen] Miustone:
Hey Folks! I have a question/request... Would it be possible to run the Kitchen on a Chromebook that supports natively Linux Apps? It would be super fantastic to use a Google OS to edit a Google OS in My Eyes, but i wanted to ask first about the possibilty in Theory...

BR
[SuperR Kitchen] Verbato:
Thank you

I have a silly question as well. So this should be interesting.

How do I set immutable on a file in... I guess it is fs_config? I have a file in system/system/...somewhere, that I need to make sure remains untouched. 0644 does not do the job. chmod 0644 followed by chattr +i does the job. How do I do this in... file_contexts3-system or fs_config-system?
[SuperR Kitchen] SuperR.:
Not a silly question. I believe I have the answer, but I am not completely sure.

In the case of setting a file as immutable, I believe this is a file capability called CAP_LINUX_IMMUTABLE. According to capabilities.h, it has a value of 9.

Thanks to this post by @Captain_Throwback, we can turn that "9" into a value recognized by fs_config-system.

2^9=512

Now that we have the correct value (512), we can add it to the file in fs_config-system

system/file/to/change 0 0 0644 capabilities=512

Save the file and build system.img.

Reminder, I am not absolutely sure this will do what you want, but I think it will. Good luck :)

EDIT: Now I think I am completely wrong lol. The above should give a file permissions to modify immutable files. I have no idea how to set immutable files in e2fsdroid. I did some testing, set a file immutable, looked at the file permissions, and they did not change.
[SuperR Kitchen] Verbato:
Yeah, I've been down that path of trying to solve, so close to finding the solution, and then... nope.

I'll just have to do it manually then.

Thank you for going down the path of trying to find a solution for me! Much appreciated! 👍

Edit: In your link, he converted the 512 (or, in his case, 1024) number to hex before adding it after capabilities=.

512 is 200 in hex. Maybe that is the detail that makes it work?

capabilities=200? Instead of 512.
[SuperR Kitchen] SuperR.:
512 is correct in this case. The hex value is what set_metadata lines in the updater-script need. Note the post date in the link, Jan 12, 2017. This was back when set_metadata ROMs were still a good option :) For fs_config entries, we want the decimal value. Just to reiterate, I don't think setting this capability is what you are looking for.

EDIT: I don't think chattr +i changes the file at all. I think it sets a flag in the file system somewhere. See this example:

$ sha256sum tester
6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b tester
$ sudo chattr +i tester
$ rm -f tester
rm: cannot remove 'tester': Operation not permitted
$ sudo rm -f tester
rm: cannot remove 'tester': Operation not permitted
$ sha256sum tester
6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b tester

As you can see here, the file was not modified at all after chattr +i, but the file is absolutely immutable.

One option for you is to include chattr binary in your ROM, and run a script after the system.img is flashed to make the files immutable. You could use the configure.sh script in the updater-script as a template on how to run the script. If chattr is included in your firmware, you don't need to include the binary.
[SuperR Kitchen] Verbato:
Yeah, this is precisely what I was looking for. Making it chattr +i means it can't be deleted. Again, thank you!

Edit: Oh, when I wrote "remains untouched", I meant something else than "not touch /somewhere/file". I was thinking, "not deleted", but wrote "remains untouched". Well, because chattri +i means it can't be changed from 644. If it's not chattr +i then it can be deleted, even if it is read only.
[SuperR Kitchen] SuperR.:
Moved this conversation because it is off topic from the kitchen.

If your system partition is read-only, I do not think you will be able to use chattr +i on a file in the system partition. Unfortunately I have exhausted my knowledge on this topic, but I hope you get it figured out :)
[SuperR Kitchen] Verbato:
If my system partition was read only I would never have had to ask for an immutable flag.

I'm sorry to say, it isn't. :cry:
[SuperR Kitchen] SuperR.:
You could try adding the shared blocks feature to your system.img. This will make it read-only. See the note in this post which explains how to do it.
[SuperR Kitchen] Verbato:
Yeah... That would make the whole filesystem read only. I just need one file to be so. It's a crude solution. I've used crude solutions many times, just to get things to work.

I'll just adb shell chattr +i the file though.
[Samsung Galaxy S8 Questions and Answers] Denisholc:
I can't be connected on wifi for more than 5 secs. It's just turning off and on. Tried turning off smart switch, bluetooth,etc and other solutions but it doesn't work for me. **** this bull****. Anyone?
[Samsung Galaxy S8 Questions and Answers] duckysempai:
Having an issue with my wifi aswell. Not the same as yours. My connection speed to my router seems to jump around randomly. Going from 400Mbps all the way down to 1Mbps and many speeds in between. Has been causing issues with browsing and downloading apps. Need to turn wifi off and on again and it'll work for a while. Never had these issues with my s7 edge.
[Samsung Galaxy S8 Questions and Answers] Donesteil:
I started experiencing the same thing after 15 days with wifi disconnecting and reconnecting on it's own.

I fixed it by going to settings>connections>more connections>reset networking. I then rebooted the phone and the wifi is now stable again.
[Samsung Galaxy S8 Questions and Answers] sp1312:
I have the same issue..

Wifi keeps toggling on its own.

I tried resetting the network setting, Factory reset still the issue is same.

Not sure what to do.
[T-Mobile Samsung Galaxy S 4] pspgarret:
DO NO FLASH ROMS THAT INCLUDE RADIO

also your warrenty is gone dude.

I'm a long time lurker here and hope this is not duplicate (sry fam)

I didnt like being stuck on m919 roms specifically developed for this phone as the att(i337) and international(jfltexx) roms were also available, so I

just downloaded the jfltexx recovery

https://dl.twrp.me/jfltexx/twrp-3.1.0-0-jfltexx.img.tar.html

recovery, flashed via m919 twrp, and rebooted recovery.

VIOLA, i was jfltexx in recovery with all options working as you would expect on a international phone.

Second i loaded AICP

https://xdaforums.com/galaxy-s4/i9505-develop/rom-aicp-8-0-lp-5-0-2r1-official-t3026904

and that worked, so i went ahead and installed ResurrectionRemix

https://androidfilehost.com/?a=show&w=files&flid=131617

and that had no issues that i can see. I can provide pics if needed, tell me what works and what does not.

DO NO FLASH ROMS THAT INCLUDE RADIO
[T-Mobile Samsung Galaxy S 4] Huskied:
Ah, Thank you brother. Got RR Official installed!
[T-Mobile Samsung Galaxy S 4] Fernando_daniel:
This is working now? I need so many rom's on my M919 S4
[T-Mobile Samsung Galaxy S 4] Huskied:
It's working.
[T-Mobile Samsung Galaxy S 4] Qiangong2:
Sorry to open this thread again, but does wifi calling work on tmo when using a jfltexx rom?
[T-Mobile Samsung Galaxy S 4] Huskied:
Can't test, Don't have my S4 properly unlocked.
[Upgrading, Modifying and Unlocking] Larrysaysno:
Has anyone else successfully rooted this phone?
[Samsung Galaxy S8+ Questions & Answers] whitepaw:
Hi,

I'm wondering if someone else is having that issue:

I have my phone set up on a wireless charger and it's charging as I know that "Ok Google" only works when the phone is charging.

Also I've set up Google Assistant to launch when saying "Ok Google" and it works fine when the phone is awake.

When the phone is at the Always on Display however and I say "Ok Google" it ends up vibrating, showing a bubble for a new notification, the screen edges are "glowing" as if it's listening but if I say something nothing happens.

As soon as I then wake the phone it executes the command immediatly.

In some very rare cases it seems to work and Google seems to respond directly but it's not waking the phone and stays at the Always on Display.

And in some cases it's not even reacting to "Ok Google" at all.

Any idea what might cause this?

Is this a bug?
[Samsung Galaxy S8+ Questions & Answers] NJROX1112:
Try this-

I'm guessing you have a lock screen set up? Try turning on Trusted Voice in the voice settings for assistant, or delete and retrain the voice model if it's already on. If that doesn't work try disabling the lock screen entirely and see how it does.

:good:
[Samsung Galaxy S8+ Questions & Answers] whitepaw:
Thanks. However that's not the problem. I turned off the lock screen completly and just used swipe to unlock and it still is the same.

The always on display is not turned off with "ok google" when it does respond and often it doesn't respond at all.

It also doesn't make the sound that it's listening when the AOD is on.

If you're lucky it responds, if not it will most of the time respond once you activate the display.

Feels very strange and buggy.

EDIT: I found out what the problem seems to be!

I have enabled "Edge Lighting" (Settings → Display → Edge screen) which makes the edge glow when a new notification arrives. However that also seems to prevent the screen from turning on when saying "ok google"! Once I disabled Edge lighting it works as expected! As you can disable edge lighting per App I disabled it for the Google app and now everything is fine again!
[Samsung Galaxy S8+ Questions & Answers] Altair681:
Thank you so much! Edge lighting really was the problem for me too!
[Samsung Galaxy S8+ Questions & Answers] Techvir:
Does ok Google work with AOD now with edge lighting off?

Mine only works when plugged in when screen is off
[Samsung Galaxy S8+ Questions & Answers] angka8:
I can't get it working even with your suggestions
[Samsung Galaxy S8+ Questions & Answers] Techvir:
I think they are talking about ok Google working with screen off but charging....

It works if charger is connected but not without the charger connected.

This has been a problem with Touchwiz.
[Samsung Galaxy S8+ Questions & Answers] angka8:
Oh thanks. That is bad. But they sound like it is working with AOD
[Samsung Galaxy S8+ Questions & Answers] Techvir:
Aod but plugged in :)
[Samsung Galaxy S8+ Questions & Answers] angka8:
:crying::crying::crying:
[Samsung Galaxy S8+ Questions & Answers] rogerandgina:
https://play.google.com/store/apps/details?id=com.RSen.OpenMic.Pheonix. Try this app
[Samsung Galaxy S8+ Questions & Answers] Techvir:
Nope. Won't help
[Samsung Galaxy S8+ Questions & Answers] msl829:
Has no one been able to get this to work when AOD is enabled?
[Samsung Galaxy S8+ Questions & Answers] rotkiv3451:
I can't even get it to work when it's charging, why is that? Please help
[Samsung Galaxy S8+ Questions & Answers] Techvir:
Try clearing cache and storage in app system settings
[Samsung Galaxy S8+ Questions & Answers] rotkiv3451:
Unfortunately that doesn't work =( Why does samsung have to make everything so difficult?
[Samsung Galaxy S8+ Questions & Answers] Mr. Orange 645:
Yeah I can't get mine to work even when charging. Now if I got the power button or the home button to go from AOD to lock screen it will work, but not with the screen off or on AOD even when plugged in and charging. None of these suggestions have worked for me. US Unlocked version on latest stock OS.
[Samsung Galaxy S8+ Questions & Answers] Techvir:
Try deleting the voice model in Google app and then check... Worked for me when it was not detecting
[Samsung Galaxy S8+ Questions & Answers] lostagain2day:
Try turning off samsung voice in on screen keyboards under manage keyboards, works better.

---------- Post added at 07:24 PM ---------- Previous post was at 07:20 PM ----------

this issue has been happening for years on other devices too. its google issue.
[Samsung Galaxy S8+ Questions & Answers] Mr. Orange 645:
Nope neither one neither of these worked. It still doesn't work from AOD or screen off, even when actively charging.

And how is this a Google issue, when it works perfectly on all other Android devices??
[Samsung Galaxy S8+ Questions & Answers] Techvir:
I just tested and u r right, it no longer works even when charging. The screen has to be on for it to work..

May be some thing to do with the udpate from samsung.

It used to work for me before I installed any of the samsung updates.

Disabled Bixby but that is not helping either.
[Samsung Galaxy S8+ Questions & Answers] lostagain2day:
go to accessibility and turn on easy opening. wave hand when on aod and say ok google.look in dexterity in accessibility.:cool:
[Samsung Galaxy S8+ Questions & Answers] BratPAQ:
Same with mine. Need the screen to be on. Maybe it's Bixby.
[Samsung Galaxy S8+ Questions & Answers] buffalosolja42:
Would like for them to fix this soon, ability to interact without "waiving" in front of phone is point of passive listening I thought.
[Samsung Galaxy S8+ Questions & Answers] katiecakez:
This is also driving me batty. It worked for 10 min when i first turned off bixby (since evidently bixby cant send an effing text message) but now nothing. Cant use it with AOD from far away, while on the charger or off, or even on the second lock screen before it catches my iris. The lack of a useful voice activated helper is making me want to go back to iphone :(
[Samsung Galaxy S8+ Questions & Answers] Jmilamtx:
The only way I got it to work is saying Hi Bixby from the AOD and then tell Bixby to load Google Assistant. Pretty lame, but works.
[Samsung Galaxy S8+ Questions & Answers] BratPAQ:
Lol, it's like calling wife and telling her to get your mistress.
[Samsung Galaxy S8+ Questions & Answers] satturn:
It's not working for me.

Can you describe what you did again? When I'm on the "always on" screen I can't access "Ok Google." How did you get it to work? It's the most annoying thing about the s8 for me. I already disabled all of the Samsung voice controls (through BK Disabler) and many of the bixby controls to make it that Ok Google should work better but it's still not working on the lock screen. I also have all my security off and I even tried the edge lighting thing...
[Samsung Galaxy S8+ Questions & Answers] achuxtreme:
i think this issue is fixed on android 7.1.1 update. someone with a 8+ recently bought came with 7.1.1 and he could do it without any problem. mine is 7.0 and still havent got the update yet. (idk why) software update still shows its current. but its not -_-
[Samsung Galaxy S8+ Questions & Answers] katiecakez:
It doesn't seem to be exactly solved on 7.1.1

I'm on the note 8 now and it still gives me the same issue. Sometimes it'll register and you'll hear Google beep, but it doesn't listen to what you say none out of ten.

Aod is starting to piss me off w this and the crazy battery drain
[Samsung Galaxy S8+ Questions & Answers] Techvir:
I had s8 plus and except for a month or so okay Google did not work with screen off properly..

With note 8 it works flawless with screen off.. However if the screen is locked the it won't work well. What that means is that it will execute the command but the screen won't turn on. However the good thing for me is that my phone is pretty much always unlocked with smart unlock due to my gear watch or location
[Samsung Galaxy S8+ Questions & Answers] achuxtreme:
well in that case im officially hating (again) the samsung devices. i mean i was like i would give it a try with the S8 with its beautiful design and that. but god im done with this POS.

im on contract, so i cant get rid of it. im crying in the inside every time i am using it. it sucks :'(

im rooting it...
[Samsung Galaxy S8+ Questions & Answers] Zulfigar:
Just as a ray of sunlight at the end of the tunnel, the Oreo beta seems to be doing well in this regard, it's been hearing my voice even when I spoke quietly.

Though, not sure about when it's locked, I have a Gear S3 that I have connected, that keeps it unlocked.
[Samsung Galaxy S8+ Questions & Answers] katiecakez:
Any idea if they've got an oreo beta for the note 8?
[Samsung Galaxy S8+ Questions & Answers] Zulfigar:
No idea, sadly. Though, at least once it does come out, it'll have more features and fixes (Beta 2 made the phone app crash constantly to the point they had to remove, fix it, then push it out again).
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] JUSMEJOSE:
Make sure you enable OEM Unlock before flashing!! you can use this to return back to stock!!

AP_G950USQU1AQD9_CL11131491_QB13157259_REV00_user_low_ship_MULTI_CERT_meta.tar.md5

BL_G950USQU1AQD9_CL11131491_QB13157259_REV00_user_low_ship_MULTI_CERT.tar.md5

CP_G950USQU1AQD9_CP6187179_CL11131491_QB13157259_REV00_user_low_ship_MULTI_CERT.tar.md5

CSC_OYN_G950UOYN1AQD9_CL11131491_QB13157259_REV00_user_low_ship_MULTI_CERT.tar.md5

HOME_CSC_OYN_G950UOYN1AQD9_CL11131491_QB13157259_REV00_user_low_ship_MULTI_CERT.tar.md5

USERDATA_TMB_G950USQU1AQD9_CL11131491_QB13157259_REV00_user_low_ship_MULTI_CERT.tar.md5

https://www.androidfilehost.com/?fid=745425885120726190

Note

This is for Tmobile variant I don't have the device you can try and flash to other Qualcomm model at your own risk!!
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] `SBR`:
Thanks for it... But there is no oem unlocking menu in developer option..

How should we proceed with it..

View attachment 4121411
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] insomnia:
can a verizon s8 be flashed to tmobile flavor with this FW ?
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] ethanscooter:
It can. Which is amazing
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] insomnia:
Excellent!

Anyone try it and have a success story ? any gotchas to be careful about ?
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] Quickvic30:
I have ATT firmware/carrier phone and plan on flashing this TMO firmware a little later tonight once I get some free time.
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] frewys:
Also curious about the lack of OEM in dev options?

Haven't run Samsung in a while and didn't care before but do now

Will Odin trigger Knox?

Can I flash the firmware only as this update seems to carry a bit of issue with it plus no remapping Bixby button?
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] cliffr39:
Would like to flash my Verizon model to AT&T.
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] sillyphillie:
I've tried this 3 times to my Verizon model and it still shows as a Verizon model. Everything passes in ODIN and it installs just fine. But it's still Verizon. Is this definitely a T-Mobile Firmware?
[T-Mobile Samsung Galaxy S8 Guides, News, & Discuss] bossg4:
I know this seems silly, but did you take out your Verizon SIM?