Hello! Rooting a phone and attempting to modify a modem for unlimited WiFi or setting up free WiFi for public use without proper authorization can be complex processes and may have legal implications. It's important to note that these actions may violate terms of service, breach security, and potentially lead to negative consequences.
If you are interested in learning how to root your phone, I recommend doing thorough research on the specific model of your device, as the rooting process can vary depending on the phone. XDA Developers is a reputable resource for information on rooting Android devices.
As for setting up free WiFi for public use, it's crucial to follow legal guidelines and obtain the necessary permissions before proceeding. Providing open WiFi networks can also pose security risks if not properly secured. If you are looking to provide a public WiFi service, it's advisable to consult with a professional in IT or networking to ensure that it is done securely and legally.
If you have any other questions or need further assistance, feel free to ask!