Root for a new build? - Xperia Z4 Tablet Q&A, Help & Troubleshooting

Hello everyone. I've updated my Xperia tablet Z4 lte to the 28.0.А,8,240. So does it means that I've lost the ability to make the root?((((( because the instruction of only one method for rooting says that it fits only for 28.0.A.7.24 or 28.0.A.7.27 builds.

?
get your version numbers straight
look up Androplus kernel here (read the whole thread)
give us some sources for
only one method for rooting
Click to expand...
Click to collapse
I know several methods, they all exchange the kernel on the boot partition and have a more or less tedious way to install SuperSU

Year, thank you for your answer. I see root is possible for our device, but I hesitate to do it as I don't know exactly which apps would stop working once and for all without drm keys and there are no good custom roms, even cyanogenmod. I wonder, this device was released ten months ago, and so little done.
It make me feel blue, as it kills the hope that something would change in the nearest feature((((((
If you need my help in testing new ways of root, some new roms, feel free to send a word to me, I would try to help as much as I can))))

How do you learn how to root a phone, I have no tech background

depends...
How do you learn how to root
Click to expand...
Click to collapse
for some people it is just "can haz video asap!?"
If you venture into uncharted territory you needs lots of technical background and some experience.
What works on one device may work with a little modification on another.
So you read a lot. xdadevelopers is a good starting point. There are books on the subject. Look for "reverse engineering" or "system security". Good Linux knowledge is very useful.
The tools you need are all free and come with more documentation than you want to read with your Linux distro.

Related

Who is Letama

Just for the fun
http://translate.google.com/transla...ation-de-le-tama-the-king-of-the-rom/&act=url
Nice
Anybody knows why google translates "firmware" to "shower"?
Nice, now we know a bit more of the guru
God, Google translation is awful
Here is my approximate translation of cajl interview:
1) Le Tama, master of archos roms, present yourself
I fall into computers when I was very young (11 year old, no personal computer at this time, I start programming on paper with a book ) and since then virus never left me. I'm 42, I'm technical director of a small software development company. As my current job don't give me much occasion to dig into code, I'm pursuing my passion as a leisure, and especially on Archos tablet these days.
2) Why Android ?
I came to Android with my HTC HD2. At that time, Android just started to show some great potential and Windows Mobile was getting old. I started to follow HD2 development efforts on Android. It was stuck on a kernel problem, it pushed me to start looking into linux kernel source code. I then took part of the desire kernel port to HD2 with Cotulla and the others and I also participated to the first Android release working on HD2.
3) Why Archos
I started looking at Archos when Google annonced ICS and annonced that they will be using Omap as reference platform. I always wanted to have a look at omap (too much qualcomm with hd2 ), so I started to look for a platform that would let me play with it without being too costly. That's why I naturally came to Archos. I started toying with my co-worker A70 and then purchased my A101G9.
The more I work on Archos, the more I like the "openness" of the platform. Gen8 bootloader is easy to crack, gen9 bootloaders are not even locked. Better, Archos thinks about us, hackers, by letting entry points like SDE, a reserved partition on gen9,...
4) By the way, what's the purpose of rooting ?
Ah! What's the purpose of root:
From a developer point of view, to give complete access to resources. With root, we can do a complete dump of disk and partitions to study firmware, install things we couldn't do without, like SDE for Gen9. It's the first necessary step to modify stock firmware. It's also mandatory if you want to do some specific operations like partitioning.
From an user point of view, it let you use application that demands root. My favorites are:
- Busybox
- Root Explorer
- Titanium backup
- Chainfire 3D
And I certainly forgot some. Just looking at market, we see thousands of applications that requires root to work.
5) Easy or not easy to find exploits ?
No, not easy with a well-made firmware. Except big mistake from manufacturer, exploits (weakness abused to obtain a temporary root) are fixed after discovery, and it's getting more and more difficult to find new weaknesses. Thankfully, our current exploit is not fixed, crossing finger.
6) What are you currently working on ?
I'm working a bit on too many fronts and not enough free time, but here is what I'm working on:
- Internal disk partitioning for g9 to let us install sde firmware on a separated native ext4 partition, without interfering with stock firmware and internal storage. It works on mine, I'm working on way to do it simply and safely to let everyone benefit from it.
- Clockworkmod Recovery. It also works on mine, but is only useful if tablet has been partitioned. It let us do complete backups, rom+apps+internal storage (nandroid backup), it let us use zips to install firmware and firmware updates, and it make our tablet feels more "android native".
- CM9: I built one for gen9 that worked not too badly, but there is a lot of work to get something completely functional.
- I also launched a first overclocked kernel for 1.0Ghz Gen9, stable on mine up to 1.2, almost at 1.3. I will have to work on this again when Archos will release a new firmware that fix current ICS problems.
- I'm working on the IT2, I activated SDE and I have a rooted firmware. I will try to port 3.0 kernel and ICS on it.
- I'd like to work on bootloader too, but this is another story...
7 How can we help ?
Explain my boss that I have to stop working on his projects! More seriously, I'll certainly need beta-testers that are willing to take risks for their tablets with partitioning, but I'm not there yet.
8 Why this nickname ?
Le Tama ? This is a wink to my wife! Sshhh!
9 Anything more ?
Nah, enough talk, back to work!
letama said:
God, Google translation is awful
Click to expand...
Click to collapse
Naaaah, it's pretty funny (I had no idea that Gen9 has a shower onboard)
letama said:
7 How can we help ?
Explain my boss that I have to stop working on his projects! More seriously, I'll certainly need beta-testers that are willing to take risks for their tablets with partitioning, but I'm not there yet.
Click to expand...
Click to collapse
Count me in
letama said:
- Clockworkmod Recovery. It also works on mine, but is only useful if tablet has been partitioned. It let us do complete backups, rom+apps+internal storage (nandroid backup), it let us use zips to install firmware and firmware updates, and it make our tablet feels more "android native".
Click to expand...
Click to collapse
Oh my god! This is by far that feature that I am missing most on my G9. I hope this dream comes true one day.
letama is great!!!

[Q] how to port ics (serious learner)

Lemme get some things out of the way.. I am a noob. I have searched. I have read some of the results from the search. I am overwhelmed by the 20+ pages of results (lol). I am not 100% sure this is the correct forum for this (not sure where else would be ).. I believe this is one of those things where I need help based on my situation.. Ok, so here I go.
I wish to start porting ICS to my phone. That's my goal. I have general understanding of how linux works, but I do not know much about the android specifics of how they work, or what needs to be modified for this to work. I do not plan to use the kitchen tool as I wish to learn this the hard way. I believe this will help me become more understanding in what I am doing. However, at this point I don't and that's why I'm here. My phone model is irrelevant almost because its prepaid and usually the communities don't even recognize their existence.. at least that's how I feel about it. But I digress. My phone is the zte warp by boost mobile and I am here to learn hopefully the things that will get me started on porting ICS to this phone. I right now believe that the best thing for me to learn is how the android related files work because as it is, I only looked at guides on how linux works and I understand most of it. I'm not sure that's the best thing that will help me port ics, but I'm certain it is important.
Please help me figure out where I should start in learning how to port ICS to my phone basically.
Thanks XDA
anyone? I am quite serious about wanting to do and go into this but I have yet one thread that anyone's ever replied to.. (or post iirc) which puts a damper on me
Snake X said:
Lemme get some things out of the way.. I am a noob. I have searched. I have read some of the results from the search. I am overwhelmed by the 20+ pages of results (lol). I am not 100% sure this is the correct forum for this (not sure where else would be ).. I believe this is one of those things where I need help based on my situation.. Ok, so here I go.
I wish to start porting ICS to my phone. That's my goal. I have general understanding of how linux works, but I do not know much about the android specifics of how they work, or what needs to be modified for this to work. I do not plan to use the kitchen tool as I wish to learn this the hard way. I believe this will help me become more understanding in what I am doing. However, at this point I don't and that's why I'm here. My phone model is irrelevant almost because its prepaid and usually the communities don't even recognize their existence.. at least that's how I feel about it. But I digress. My phone is the zte warp by boost mobile and I am here to learn hopefully the things that will get me started on porting ICS to this phone. I right now believe that the best thing for me to learn is how the android related files work because as it is, I only looked at guides on how linux works and I understand most of it. I'm not sure that's the best thing that will help me port ics, but I'm certain it is important.
Please help me figure out where I should start in learning how to port ICS to my phone basically.
Thanks XDA
Click to expand...
Click to collapse
From my limited knowledge, I think it is a huge task undertaking, you can download Android source code from Google, the hard part will be the device driver development and porting for Linux kernel (and maybe portion of Android). If you are lucky, you can use the existing phone bootloader (or you have to port one). Understanding the inner of the phone (different chip set may need different device driver) will be another challenging task.
by the device driver development, you mean all the libs that go into the phone? Couldn't I just copy/paste the pre-existing libs that are already made for the phone? Also the phone im working with is a bit strange really.. noone has been able to compile the kernel from its source and get it to boot yet.. when it was compiled the zImage was different than that of the stock one.
And yeah, I have downloaded the aosp source.. I just need to know where to start at and the processes involved really
Snake X said:
by the device driver development, you mean all the libs that go into the phone? Couldn't I just copy/paste the pre-existing libs that are already made for the phone? Also the phone im working with is a bit strange really.. noone has been able to compile the kernel from its source and get it to boot yet.. when it was compiled the zImage was different than that of the stock one.
And yeah, I have downloaded the aosp source.. I just need to know where to start at and the processes involved really
Click to expand...
Click to collapse
To answer you question no the drivers and lib files are different for aosp based rooms then they are for the stock OEM from. The first step will be to get a working kernel. Without anything you do will be pointless
I'm somewhat interested in the same thing, and from what I've gathered, you'll need to do these things to begin ROM development:
1. Read every page on the AOSP site and grab a copy of the AOSP source. It probably wouldn't hurt to read the regular Android developer wiki as well.
2. Learn about Linux driver development:
http://lwn.net/Kernel/LDD3/ (this is apparently considered THE BOOK on Linux driver development)
http://www.freesoftwaremagazine.com/articles/drivers_linux
3. Learn pretty much every detail about your phone and its hardware, especially when it comes to how ROMs are installed on it. For example, my phone (the Droid X2) has a locked bootloader, so 2nd init has to be used to boot new ROMs, and this makes it so that we cannot update the kernel.
You can usually find this sort of information on your phone manufacturer's website. Sometimes they even post the source code to their phone's drivers, which is helpful.
4. Look at other ROMs (preferably for your phone) and see how they work. The source code is freely available for most popular ROMs.
For example: CyanogenMod keeps their source code in a public git repository: https://github.com/cyanogenmod
5. Get to work on porting!
I would highly recommend starting with something smaller, however, just as a start. One good jumping-off point is probably this guide: http://forum.xda-developers.com/showthread.php?t=1272270
If any part of this was wrong, or if I left something out, somebody feel free to correct me, I'm still a noob.
Thank you so much for your direction, however,, android kitchen.. im not sure about that because isnt that only ment for htc devices? My phone is made by zte
what device do you even have?
if it's stuck officialy on 2.1 or 2.2 there's no hope that if you even port it that it'll work
its the zte warp from boost mobile (prepaid). Btw if I compile an aosp ics launcher and put that on my phone whats the chances of that working?
edit: it uses 2.3.5
Well Sebastian responded on android forums, apparently zte is very bad at version control with their kernel sources. So when they complete one project, they use the same source for the next project, and what they release could be for anything. Apparently the blade source had the same issues, it took him a while to get them to correct the source
Sent from my N860 using Tapatalk
Yeah I noticed that there were ppl saying there were things similar but I'm not sure what will work or what won't.. guess its time to start a petition on zte to release the source code lol
edit: seems like zte's bein a bad company and violated the GNU GPL license for not providing a complete source code.. I compiled an email and sent it to someone who can proof read it and send it to the right person for this kinda thing.. danggit zte

Need help porting any Cyanogenmod to my device

So i've been looking on the internet for some ways to port any CM to my device J100FN, i found quite a few but some of them are outdated or badly explained etc etc...
I'm gonna put it plain and simple.
I have linux, i have my stock rom J100FNXXU0AOD1, and i can surely get any CM somewhere in the internet (note that i have CM12 for Samsung S3 neo already so tell me if that's gonna do it)
Here are the tutorials that i found so far:
https://www.youtube.com/watch?v=GAyxypK7_K8 (says that i need a CM already built for my phone, which is no available)
https://forum.xda-developers.com/showthread.php?t=2545618 (same with this one)
https://forum.xda-developers.com/showthread.php?t=2245786 (and this one is kinda poorly explained at the begining)
Note that i have a rooted device and TWRP recovery up and running on it, also i read about this "Cyanogenmod compiler" thingy thing, but i couldn't manage to download it, i think the repos are down now or idk. (https://forum.xda-developers.com/showthread.php?t=1415661) (https://korben.info/cyanogenmod-compiler.html)
IDK MAN I REALLY NEED CYANOGENMOD ON MY GALAXY J1 LTE, i'm kind of a rookie when it comes to complicated roms maneuvering but i still do have basic knowledge (flashing, rooting, few terminal cmd's etc etc...)
Please help, and thank.
Putshi said:
So i've been looking on the internet for some ways to port any CM to my device J100FN, i found quite a few but some of them are outdated or badly explained etc etc...
I'm gonna put it plain and simple.
I have linux, i have my stock rom J100FNXXU0AOD1, and i can surely get any CM somewhere in the internet (note that i have CM12 for Samsung S3 neo already so tell me if that's gonna do it)
Here are the tutorials that i found so far:
https://www.youtube.com/watch?v=GAyxypK7_K8 (says that i need a CM already built for my phone, which is no available)
https://forum.xda-developers.com/showthread.php?t=2545618 (same with this one)
https://forum.xda-developers.com/showthread.php?t=2245786 (and this one is kinda poorly explained at the begining)
Note that i have a rooted device and TWRP recovery up and running on it, also i read about this "Cyanogenmod compiler" thingy thing, but i couldn't manage to download it, i think the repos are down now or idk. (https://forum.xda-developers.com/showthread.php?t=1415661) (https://korben.info/cyanogenmod-compiler.html)
IDK MAN I REALLY NEED CYANOGENMOD ON MY GALAXY J1 LTE, i'm kind of a rookie when it comes to complicated roms maneuvering but i still do have basic knowledge (flashing, rooting, few terminal cmd's etc etc...)
Please help, and thank.
Click to expand...
Click to collapse
Don't let this thread die please :/
Like come on 34 views but no replies...
How did you get the TWRP for your phone? Is there one for the J100? I haven't managed to root my J727 One thing you could do is use the google android tree with all its garbage and then copy and paste the CM tree into it. But quite frankly I hesitate to suggest this because it's a huge pain in the ass, and like I said, I haven't managed to get TWRP working for my phone doing this. I can get it compiled but... I have no idea what makes it specific to the phone. I thought it was enough just to have the kernel for the specific phone...
peterius said:
How did you get the TWRP for your phone? Is there one for the J100? I haven't managed to root my J727 One thing you could do is use the google android tree with all its garbage and then copy and paste the CM tree into it. But quite frankly I hesitate to suggest this because it's a huge pain in the ass, and like I said, I haven't managed to get TWRP working for my phone doing this. I can get it compiled but... I have no idea what makes it specific to the phone. I thought it was enough just to have the kernel for the specific phone...
Click to expand...
Click to collapse
Idk man, I just looked up a tutorial on how to root it, I had to look quite deeply but I found it and it's working just fine, it requiers you to flash the boot.img too and then root it with Kingoroot, this is the tutorial I followed www .halabtech. com/root-for-j100fn/ (I know it looks shady but it worked, also I can't post links because my account is new...)
Also I asked a dev and he asked me about the source code of the cpu or some stuff, tbh I have no idea why you would need that to make a rom out of a stock rom...
As I've been informed by twrp, the recovery image typically has it's own kernel which means its specific to the device. I'm not totally sure of the reasons for this. I ended up returning the galaxy j727u which has a locked bootloader for a xiaomi, I'll see how it goes.
I see, but that doesn't really advance in my case
Is any devs out there willing to help out a stupid newbie :^)
Come on now don't let this thread die

Question Successfully rooted Metro Pcs variant w/ Magisk and stock rom

Ive been rooting and tinkering with various different android phones for years now . Motorola has always been my favourite when it comes to rooting . Now my question is now what? I would love to finally pitch in on development starting with this device seeing as there is very little on this one as far as custom roms and what not. This device reminds me of the G7 Power with the A/B format. I was looking in on possibly bringing Ubuntu Touch to this device and as far as i can tell I just would need to make a halium kernal for it . Can someone maybe help me or tell me how incan possibly help on makimg that happen? Please bare with me . This is my very first time posting on this website . Im very savy when it comes to the android, ios and computers in general , Im running the stock rom and have done very little besides install some root apps. I would love to help out with any kind of development so please someone let me know . Ill be regularly checking my notifications and messages . Cheers!
I'm not a programmer, but I'd love to have LineageOS on my device. I haven't had the opportunity to play with Ubuntu Touch, but I assume that the F-droid store alone surpasses the app development for the Ubuntu Touch. Have fun!
Im suprised more people arent all over this device like when the G7 came out ....this device is awesome and the battery life alone is enough reason to want to buy it ...Guanma FTW!!
majormolineoux said:
I'm not a programmer, but I'd love to have LineageOS on my device. I haven't had the opportunity to play with Ubuntu Touch, but I assume that the F-droid store alone surpasses the app development for the Ubuntu Touch. Have fun!
Click to expand...
Click to collapse
What i found appealing about Ubuntu Touch is i recently read that you can now run android apps on it and i totally agree Lineage would be awesome and an obvious first step to take with this device now that we know it can be rooted...also TWRP development is a must
So far I'm really happy with it. The only thing is with how big it is, people with smaller/weaker hands are going to have a tough time. Good to know about Ubuntu Touch supporting android apps!
I too just got a G Play (2021), after spending the past 8 yrs. with my beloved HTC Ones (m7,m9). Ironically, it was Motorola that I left for HTC. I've been somewhat impressed with this phone's performance in stock bloat (I mean stock TRIM). I came in here today not expecting to see much, if anything, on this phone; but I've found enough info to get me started.
TY XDA, for all your hard work.
xXmazingmeloXx said:
Ive been rooting and tinkering with various different android phones for years now . Motorola has always been my favourite when it comes to rooting . Now my question is now what? I would love to finally pitch in on development starting with this device seeing as there is very little on this one as far as custom roms and what not. This device reminds me of the G7 Power with the A/B format. I was looking in on possibly bringing Ubuntu Touch to this device and as far as i can tell I just would need to make a halium kernal for it . Can someone maybe help me or tell me how incan possibly help on makimg that happen? Please bare with me . This is my very first time posting on this website . Im very savy when it comes to the android, ios and computers in general , Im running the stock rom and have done very little besides install some root apps. I would love to help out with any kind of development so please someone let me know . Ill be regularly checking my notifications and messages . Cheers!
Click to expand...
Click to collapse
How did you install magisk did you find a unofficial twrp or something?
TypicalGellert said:
How did you install magisk did you find a unofficial twrp or something?
Click to expand...
Click to collapse
I believe the OP use followed this guide.
[Guide] Root Motorola with Magisk (UnLocked Bootloader)(Non-TWRP method)
Root Motorola Devices with Magisk Note: This method has been working with most Moto Devices that the Bootloader can be UnLocked. If the Bootloader cannot be Unlocked this method will not work. Please only use this as a reference. If you require...
forum.xda-developers.com
Null
Unofficial twrp ftw!
If you want an installable recovery, use this: https://forum.xda-developers.com/t/...st-port-but-everything-works-amazing.4330775/
dwycoff2013 said:
Unofficial twrp ftw!
If you want an installable recovery, use this: https://forum.xda-developers.com/t/...st-port-but-everything-works-amazing.4330775/
Click to expand...
Click to collapse
I have a new Moto G Stylus Metro. Anything for this yet?

Question Looking for a little general direction

I picked up one of these bad boys on a pretty deep discount to use as a dedicated retro gaming device. I’m interesting in tinkering a bit and am wondering if anyone has any thoughts or suggestions on a good rom choice for my use case ? I’ve already gotten my unlock code and I’m pretty much ready to go at this point !
Most people say CorvusOS and EvolutionX are good gaming ROMs, they both seem to be fast. Some people talk about some sort of ROG gaming rom, though ive never heard of it, or tried it.
But, uhm... upon looking at this devices page.. there aren't ANY custom roms available for your device.
Wow really? That's unfortunate.
Is there any point to Unlocking and installing TWRP / Rooting my device then?
bdizzo2l7 said:
Is there any point to Unlocking and installing TWRP / Rooting my device then?
Click to expand...
Click to collapse
I fiundbthat this is a device good for being your experimental toy-around gadget for tweaks and other such root related changes fun to play around with what you can do but from what I know so uncommonly rooted or used by devs that have any influence on the releases of these roms to really give you the full experience of having a rooted device.
bdizzo2l7 said:
Is there any point to Unlocking and installing TWRP / Rooting my device then?
Click to expand...
Click to collapse
You can root it for kernel optimisations and debloating, while also giving you more customisation control over your device.
TWRP is available, so rooting should be possible with magisk.
There's also this thread:
Flash RETUS Android 11 now that its available 12/10/2021
Hi again I AM NOT RESPONSIBLE IF YOU BRICK YOUR PHONE! (if you do it right I doubt you will but just in case) BACK UP YOUR STUFF JUST IN CASE BEFORE YOU DO THIS AS YOU WILL WIPE YOUR USERDATA! We now have access to RETUS Android 11! Download...
forum.xda-developers.com

Categories

Resources