yashsingh1/xdaforums huggingface dataset:
[Android Software Development] bysalihidriscan:
Hi! [MENTION=7831085]AndroidSword[/MENTION]

Link:This

how can we add this support For Note 4 N910C?

Thank you for coming back :)
[Android Software Development] bysalihidriscan:
Hi [MENTION=7831085]AndroidSword[/MENTION] how to add to rom multilanguage support?
[Android Software Development] bysalihidriscan:
hi [MENTION=7831085]AndroidSword[/MENTION] Note4 6.0.1 remains during boot ?

things i do >> Stock 6.0.1 Stock Boot.img,Deodex,Zipalign Flash Rom.
[Android Software Development] namso0650:
Really it is hard than mtk devices.
[Android Software Development] MysteryIII:
Thanks for this wonderful guide! I have a question regarding SafetyNet:

Will a Stock ROM than I modify (remove & exchange some System Apps, mod files) pass the SafetyNet check? I'm not really sure how it works, does it only check if there was something altered afterwards (like internal mismatching CRC Check or similar) or does it check if System partition is untouched at all (like external CRC Check)?
[Android Software Development] d_g_m_2000:
thanks for your guide... i want to build a mini stock rom for sm-g532m (j2 prime) so i'm gonna read it this weekend.
[Android Software Development] AndroidSword:
I guess using Magisk as a root addon will bring safety net irrespective of ur modifications. I maybe wrong though:)
[Android Software Development] MysteryIII:
Well Magisk and all modules work systemless meaning, any modification of the system is just "emulated".

For example I tried SkiesROM but it's missing ADB support (more exactly handshake isn't working) but could be fixed by pushing a file to system. However from this moment on SafetyNet would never pass again.

Using Xposed or blocking Google Advertising addresses also conflicts with SafetyNet.

On the other hand there is CM/LOS which can pass SafetyNet together with Magisk, so it's not totally prohibited to modify the system. I just don't know the exact "rules". Like it's a hash file created by the developer/kitchen tool, something comparable to APK signing or a total different reason.

Seems I have to test myself if modifying this way would harm Safetynet.

However thanks for your response.
[Android Software Development] d_g_m_2000:
hello [MENTION=7831085]AndroidSword[/MENTION] . First thanks for this guide... it really helps me. But i had one issue.

debloating and deodexing works for me, after install i flash superSU and boot normal (afer 5-6minutes)

but when i add "deknoxing" in kitchen, then deleting "knox" folders and "knox" files on "LIB" folder, modify ro.config.knox=0 and ro.config.tima=0 it just don't boot.. it stock in boot animation...

so in my case its just debloated, deodexing, with mods (option no. 8) and "csc mods".

do you think that if i replace "boot.img" from one rom that works it will work?

thanks in advance for your comments.
[Android Software Development] AndroidSword:
Maybe, but now with latest firmwares, Samsung has put a lock on fake flashing which might be the thing that could be happening in ur case. I will try to find a solution:)
[Android Software Development] d_g_m_2000:
Hello OP, i had a question so i really hope you can help me:

I review the updater-script that kitchen create with notepad++ and view these lines:

#--PREPARE DEVICE PARTITIONS

ui_print("-- Preparing device partitions");

package_extract_dir("META-INF/SCRIPTS", "/tmp");

run_program("/sbin/mount", "-t", "auto", "/system");

run_program("/sbin/mount", "-t", "auto", "/data");

but in post #4 you sugest that we need to mount system, data, cache and dalvik

run_program("/sbin/busybox","mount","/system");

run_program("/sbin/busybox","mount","/data");

run_program("/sbin/busybox","mount","/cache");

run_program("/sbin/busybox","mount","/preload");

Do you think that this make my rom stuck in boot animation? (i use standalone installing)

also... the updater-script only had this line:

delete_recursive("/system");

when in your post #4 you recommend to add these lines

delete_recursive("/system");

delete_recursive("/cache");

delete_recursive("/data/dalvik-cache");

Or my "stuck in boot animation" probles is just a kernel issue (boot.img) that i only can solve flashing superSU (magisk won't work)

#--KERNEL

package_extract_file("boot.img", "/tmp/boot.img");

ui_print("-- Flashing kernel image");

set_metadata("/tmp/flash_kernel.sh", "uid", 0, "gid", 0, "mode", 0777);

run_program("/tmp/flash_kernel.sh");

wishing you the best and thanks in advance for your comments!
[Android Software Development] AndroidSword:
I feel that this is the issue. You should add delete_recursive("/data"); so that you can clean install the ROM. This might be an issue.

Furthermore tell me whether you are trying to make a ROM from a firmware specifically designed for your device or are you trying to port from a firmware designed for another device?

And yes you need to flash a root addon like SuperSU or Magisk:)
[Android Software Development] d_g_m_2000:
thanks OP for the help, i'm gonna edit that updater-script :o

And yes. i'm trying to make a rom with a firmware for my specific device (SM-G532M) that i download from sammobile. No porting.

Question:

do i have to copy superSU or magisk on the folder "ADDONS" that is created in meta-inf? in order to get root.

because what i do is flash superSU (magisk wont work) after the rom from my sdcard.

thanks in advance for your comments.
[Android Software Development] ShaDisNX255:
Just a quick question, maybe you can clear it up but... is there any particular difference between mounting the /system partition like this:

mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/system", "/system");

To this:

run_program("/sbin/mount", "-t", "auto", "/system");

I've run in to a couple of tutorials and they all alternate between these two, I'm confused as to which is more effective and less prone to failures
[Android Software Development] Rehvix:
Can you explain how to change the default settings for first boot? Like wallpaper, home icon placement, etc.?
[Android Software Development] kyng_Sham:
how to build a rom so i can flash it with odin...... my note 4 not booting up any help:confused:.
[Android Software Development] MysteryIII:
If your phone doesn't boot you need to flash Stock ROM, maybe in binary form if there is a partition issue.
[Android Software Development] sheryarmemon:
Changing build.prop

Hi,

Thank you for the post,

I tried changing build.prop info model no: G920P to G920A

It works but *#0*# code do not work after this change whats wrong am I doing?

Thanks.
[Android Software Development] Rehvix:
Tutorial on how to setup antikange for my rom?
[Android Software Development] DJvD:
Hi, just a question...

After unzipping this I get a warning from McAfee scanner 'Trojan detected' and can't continue.

Is this a false warning?

Thanks in advance...
[Android Software Development] ShaDisNX255:
Yes it's a false warning, been using this program for months and have no problems :)
[Android Software Development] mrd0pe:
--DELETE
[Android Software Development] maxkento:
Great tutorial. I manage to build myself my own rom. Just finished flashing the rom on Samsung G.T2.

One question, if i posted my rom in the Samsung Galaxy TS2 thread can i quote you as one of the contributor?
[Android Software Development] AndroidSword:
Sure thing:good:
[Android Software Development] Usman1329:
Awesome thread keep it up i started my rom devloping throuhh this :p
[Android Software Development] Usman1329:
thanks for awesome guide iam having a problem and it is after extracting it says no project is there when i head to work folder its blank too
[Android Software Development] Nitin devarapalli:
I Got An Error:

There is no project in work folder create project first
[Android Software Development] ShaDisNX255:
Please don't quote the entire post, it's really annoying to have to see the whole post for just a small question :)

And to answer your question, did you download the firmware and place it in the "PLACE" folder?
[Android Software Development] Nitin devarapalli:
Yes Bro
[Android Software Development] ShaDisNX255:
What format is the file you placed? .zip? .tar?
[Android Software Development] Nitin devarapalli:
.zip format
[Android Software Development] mey2009:
I tried to insert google apps to Samsung galaxy on5 2016 with nugout 7.1.1 official firmware. I did as follow:

1- placed the official ROM that downloaded with samfirm into place folder

2- started the project

3- added some google apps to to "System/app" and "System/Priv-app" similar to sm-g5510 official rom.

4- build a standalone installer (tried with aroma installer too)

5- build the ROM.Tar. for odin flash.

6- I select "system.img.ext4" for system image because in the original firmware its also ext4

7- extracted original "recovery.img" and "modem.bin" from official ROM and put them into the "tools/tmp/buildtar"

8- Flashed the TAR file with odine software. it starts and when it wants to write "system.img.ext4" it failed.

I also created a zip file but there is no custom recovery for installing on my device but has its own recovery that allow update zip from SDCard. but when i tried to install the zip flash-able file, it give signature verification error.

what i'm doing wrong??

please help

i'm new to cooking ROM.

thanks for your help
[Android Software Development] Rehvix:
I've successfully followed this tutorial in the past and have not run into an issues, so I would give my thanks. Lately though, ive run into this issue after selecting a rom for building already in PLACE:

This is the first time I've gotten this issue. I've tried deleting the kitchen and redownloading but im still having the same problem. Any idea what I can do to fix?
[Android Software Development] qasimsansi3:
how can i modify latest samsung oreo 8.1.0 rom

how can i modify latest samsung oreo 8.1.0 rom

i download latest firmware .. but assyed kitchen unable to extract sytem folder or boot file ...

latest rom using lz4 compression .. please help
[Android Software Development] ShaDisNX255:
ASSAYYED Kitchen only supports up to Nougat.

You're going to have to use something like Super R's kitchen
[Android Software Development] Sands207:
I can confirm [MENTION=718594]super[/MENTION]R works with Oreo.
[Android Software Development] qasimsansi3:
i need download link for superR kitchen .. for windows ...
[Android Software Development] ShaDisNX255:
Windows version is only available for donators. Donate and you will receive instructions on how to download it.

https://xdaforums.com/apps/superr-kitchen/windows-linux-superr-s-kitchen-v3-0-0-0-t3601702
[Android Software Development] Sands207:
I second this. I had to donate to get it also. [MENTION=718594]SuperR[/MENTION] is a great dev. I highly recommend it but cannot give out my copy.
[Android Software Development] neock:
Hi AndroidSword, is there a way to cook the rom and then flash it through Odin to my Samsung device, not triggering Knox and void my warranty?

Thanks for that in advanced.
[Android Software Development] dawoodiran:
can i use these methods for android 5.1.1

Hi

frist thank you for this learning.

I have a sm-j3110 pro it have android 5.1.1

with many useless china app and haven't Google play services i want edit ROM and add google play services before flash it
[Android Software Development] ayhan1971:
Deleting work folder. Nothing inside.
[Android Software Development] ayhan1971:
hi, do i need to mod for safe folder and private share? Can you help me how to make the mod?
[Android Q&A, Help & Troubleshooting] PatrikSelin:
Hello,

I noticed that the glitch appears at the bottom of the video after editing and saving. There is nothing wrong with the original file:

Screenshot of original video: https://goo.gl/cLyhkx

Screenshot of edited video: https://goo.gl/Jf2mLN
[Huawei Mediapad M3 Questions & Answers] timofcourse:
I recently received my US version M3 - 64GB W09. I've since successfully unlocked it and now trying to get TWRP loaded. I downloaded the greatslon TWRP for US models referenced in this thread (twrp-m3-us-greatslon) and did a fastboot flash that seemingly completed successfully. Every time I try to boot to recovery however (power + vol up), I get to the Huawei eRecovery, not TWRP.

Is there something Im missing here?

Thanks!
[Huawei Mediapad M3 Questions & Answers] jmjm003:
I believe to use the up button you would flash TWRP to recovery2.

Have you tried holding down when booting?
[Huawei Mediapad M3 Questions & Answers] timofcourse:
Vol down boots to the bootloader. I did finally find a couple other ways to boot to TWRP. adb reboot recovery and the "Recovery Reboot" app from the Play store both boot to TWRP.
[Samsung Galaxy S8 Questions and Answers] mataniko:
I'm having a weird issue with my T-Mobile S8.

I'm using a HyperX CloudX headset and on some calls, the other party gets weird feedback noises from my end. You can't hear it on my end, and it doesn't happen on every call. I tried the headset on different phones and made sure it's connected properly but can't really get anything consistent.

I can't post a URL to a recording since this is my first post, but it sounds like a weird feedback static loop

Muting the headset or unplugging it seems stops the noise, but it doesn't happen every time.

Has anyone ran into this before?
[Samsung Galaxy S8 Questions and Answers] merak69:
I get the same thing when I use my HyperX Cloud2 headset as well... Did you ever find a solution?
[Samsung Galaxy S8 Questions and Answers] mataniko:
I exchanged it for another one of the same model. It must've been a bad connector.
[LineageOS Questions & Answers] upan-DEV:
helping us :(
[Android Q&A, Help & Troubleshooting] sonicjam:
Hi guys!

I have a Samsung Galaxy S5 SM-G900T3 laying around that we don't use anymore and I was wondering a way to turn it into a media and some gaming hub on it. Is there any launchers or ROM that would work? Wondering is there like a simple voice remote that I can pair it to the phone?
[Android Q&A, Help & Troubleshooting] mongo999:
Look at Kodi. With the right modules, it should be able to do those things.
[Galaxy Note 3 Q&A, Help & Troubleshooting] Imprezzion:
Today my GPS suddenly stopped working. It always worked fine on this ROM and the nandroid backup i had of another ROM but since this morning it all of a sudden refuses to lock.

It will see 22 sattelites and show the green bars above them in a second or 2 in GPS Test but it will not get those white blocks under them and "in use" stays on 0. It will not get a 2D or 3D lock and i can't use my google maps anymore like this.

I thought it was a software issue so i reflashed with a clean flash to AICP and RRN Nougat but they both did the same. Then I put a 100% working RRN nandroid backup back which just 4 days ago i used for a 80km drive and it was flawless.. Now it also doesn't work anymore..

What could be the issue and how do I troubleshoot this further?

I am afraid it's a hardware issue which would be bad.. can you get GPS modules on like, ebay?
[Galaxy Note 3 Q&A, Help & Troubleshooting] JJEgan:
You start by flashing stock rom to test for hardware.
[Galaxy Note 3 Q&A, Help & Troubleshooting] Imprezzion:
Did this, still didn't work.

So, i looked around and found out the antenna connectors and the flatcable have a tendency to let go or lose connection. So i opened the phone up and reseated all connections and bend out the tabs for the antenna's slightly and this fixed it completely. GPS is now stronger than ever and everything is back to normal.

Now i just have to reflash TWRP 3.1.1.0 and put AICP back on it :)
[Galaxy Note 3 Q&A, Help & Troubleshooting] milkerfish:
Issue with RRN
[Huawei Mediapad M3 Questions & Answers] DutchDogg54:
Hi all, I'm a US user with W09 and would like to get it to Nougat - I have read the entire "Update to EMUI 5.0" thread and there appeared to be several possible routes, but most were regarding the European version.

I have a US Wi-Fi model and have no allegiance in keeping it a US one, if there's a way to remove the regional aspect to gain access to the update (BETA or otherwise).

I would greatly appreciate if someone who has some experience with or is very confident of the correct path would shed some light for me.

Thank you!
[Huawei Mediapad M3 Questions & Answers] 33adi:
Have you tried update via Firmware Finder? Witch firmware version do you have now?
[Huawei Mediapad M3 Questions & Answers] DutchDogg54:
I've just finished reading the entire thread linked above that mentions that method a number of times, so I'm certainly familiar with it, but haven't tried it because sprinkled throughout that thread are plenty of issues encountered. Also, there's no mention of US hardware/firmware specific instructions.

I'm on W09 as mentioned in the OP - thanks for the reply!
[Huawei Mediapad M3 Questions & Answers] 33adi:
Install Firmware Finder from Playstore and post a screenshot with firmwares that appear there.
[Huawei Mediapad M3 Questions & Answers] DutchDogg54:
I'm away from my tablet at the moment but will do later on when I get home.
[Huawei Mediapad M3 Questions & Answers] 33adi:
We will see after that what we can do. I have updated my tablet to Nougat, but I have BTV-DL09 (4G European version).

To change region I think you have to unlock bootloader.
[Huawei Mediapad M3 Questions & Answers] DutchDogg54:
Here's what's in firmware finder [MENTION=8196350]33adi[/MENTION]
[Huawei Mediapad M3 Questions & Answers] gaidin43:
What's the advantage to switching from US to EU roms? I unlocked, rooted, enabled 5ghz band for wifi, and now only need nougurt but much like the original poster not sure the best route.
[Huawei Mediapad M3 Questions & Answers] DutchDogg54:
The advantage of removing the US stock rom is that the European one has a beta available that is very stable. My thread is seeking someone who's confident of the steps to 1st going European & 2nd installing nougat once there, as there was some debate of complexity to doing even that.
[Huawei Mediapad M3 Questions & Answers] jmjm003:
I've been through exactly what you are wanting to do [MENTION=5412049]dutchdog[/MENTION]gs54 . Unfortunately I can't tell you step by step how I got to where I'm at.

I was on W09128BXXX out of the box . Read the topic that you have linked in your first post and decided to do it using firmware finder to force the update to Nougat as they described. It actually went very well and Nougat worked great with the exception of Bluetooth not working.

I have to say during the upgrade when it booted into recovery and it was TWRP I was concerned. Believe it had an error but it worked and replaced TWRP as I recall with a stock recovery.

So after all that I decided I wanted my tablet branded as a BTV-W09C100B006. Below is the topic where a member thought they bricked their tablet.

https://xdaforums.com/mediapad-m3/how-to/bricked-m3-btv-w09-t3612699

They were given directions to download the Full update package for the version I just mentioned.

This member got their tablet working again and in the process found that 5Ghz wifi is enabled on C100B006 by default.

That was the main reason I rooted my tablet.

I followed the directions knowing I force install a different version of Nougat from your link.

Downloaded the full version software and dropped it in the dload folder on my US tablet and did the upgrade.

Tablet rebooted and shortly after it rebooted again going to recovery (I tried may times to boot). Don't recall the error but after I unlocked my bootloader again it reset the tablet and I was able to access it again. I did relock the bootloader so I can see updates without any problems after that.

In the end I got what I was after. My tablet shows as a BTV-W09C100B006 and can check for updates.

5Ghz wifi is enabled by default. As I said I relocked the bootloader so I'm not rooted. Overall it's works so well I'll wait for Nougat to get released and then do the official upgrade. After the scare of booting to recovery it was worth every nervous minute of it.
[Huawei Mediapad M3 Questions & Answers] 30adi:
Try to talk to OP from this thread:

https://xdaforums.com/p9/...-root-t3374068

Maybe he can make this app available to Mediapad M3, then changing OEMINFO will be easy.

I posted a question there.
[Huawei Mediapad M3 Questions & Answers] DutchDogg54:
No luck

Ok, so I tried following [MENTION=3292577]Samavb[/MENTION]'s great instructions and guidance in the other thread last night. Made it all the way to the point where he says to install 009 from the Huawei website - got it downloaded and loaded up on the tablet only to find that it wouldn't install because the 009 file on the website is BTV-DL09 not the BTV-W09 version a US tablet would need.

So I got frustrated and tried installing the B301 build that appeared on firmware finder when I was on the W09-006 build...this was nougat and was cool but no keyboard and the play store wouldn't install anything, so I was forced to revert back to 006.

So, long story short, hours of work have confirmed that there doesn't appear to be a way to get a US tablet to fully functional Nougat at the moment. If there was a 009 or 010 build like Samavb mentions for the US model, maybe it would work, but those aren't anywhere to be found - firmware finder, russian site he mentions or otherwise.

So, I'll happily sit on 006 and wait for a US OTA update. That is unless anyone can tell me exactly how to make this US model into a European model. ;)
[Huawei Mediapad M3 Questions & Answers] dr_pepper:
Same boat as original poster. US w09 on build c128b003. Firmware finder just finds the same version. Anyone know when there might be a us version update released. I thought it was supposed to be may so have been waiting patiently.....but may is over.
[Huawei Mediapad M3 Questions & Answers] jmjm003:
In Firmware Finder select the menu in the top left corner. (3 bars)

Right below your model number, select change model and enter BTV-W09C100 and then search.

You should see B301 and it's a full OTA. However, as I understand it this is just a beta/test release.

Only issue I had with it, bluetooth didn't work. Seeing as how I don't use it, didn't bother me.

I highly recommend you fall back to the other topic about forcing the upgrade to Nougat.

Only difference from my tablet and yours. I was on C128B002. I had already rooted and couldn't get that update.
[Huawei Mediapad M3 Questions & Answers] johninsf:
Also US 64gb version here and hoping for an update to Nougat and EM5. Would love to see it!

Huawei have been quite attentive for updates in other markets which is great. Too bad the non-LTE version in US doesn't get the same love.

Buying this tablet was a roll of the dice for me, banking on the hope that Huawei would be attentive to software updates (for all markets) and custom ROMs could serve as back up/enjoyment. This tablet has solid hardware and with another launcher it is decent.

Sadly, my experiment to try out a non-Nexus device without the latest (or close to pure) Android version is coming to an end. The last M3 sold on Swappa went for around $300.
[Huawei Mediapad M3 Questions & Answers] purple lady:
I just updated the firmware finder app and it now shows the full ota for nougat. It wasn't found until I updated the app.

View attachment 4189554
[Huawei Mediapad M3 Questions & Answers] johninsf:
Excellent and great news! Are you in the US and have the wifi only version?
[Huawei Mediapad M3 Questions & Answers] purple lady:
Yep.
[Huawei Mediapad M3 Questions & Answers] johninsf:
Thanks Purple Lady!

Too anyone in this thread, I want to install the latest version available in Firmware Finder.

When I select download, I get 3 file choices. Which should I pick to download then what are the steps to update? Please point me to the best post to reference as there are a few.
[Huawei Mediapad M3 Questions & Answers] ExTREmE99:
from what i gather. if you're going from MM to Nougat, you need to install the Full OTA. for that, there are 2 files, you will need both of them. from there, i'm not sure.