Huawei Mediapad M3 LTE Rooting... - Android Q&A, Help & Troubleshooting

Hello everyone.
I'm a more-or-less experienced desktop developer (currently PHD student - mainly I develop desktop apps for social sciences research) and sadly an absolute amateur in Android development. To the topic though:
- I need a safe and amateur friendly way to root my Tablet: Huawei Mediapad M3 LTE version, 32GB, currently with Android 6 (for some reason Huawei says Android 7 should already be there yet it ain't available for me). What I need this root for is just one thing: Linux Deploy. I need to be able to work on-the-go and having access to my linux apps is gravely required to do so (mainly Atom for general coding, R for statistics, Pycharm + IntelliJ or Eclipse for my actual development job and several others as I currently started learning JS too).
- I do NOT need to flash custom ROM's (I'm fine with my Android 6 as it is). I only need Linux Deploy and being able to grant some apps SU privilege.
Reading around those forums I found several "solutions" to root my device but as it is my first rodeo I'm still kinda scared of loosing my fresh acquisition to my own incompetence. What I found are:
- KingRoot/KingoRoot - both seem to be heavily accused of stealing personal data, and as I move around with research data of my own and from other scientists it seems like a no-go for me.
- Multi-stage Bootload, TWRP, SRK rooting which scares the hell out of me at how complicated and error-friendly it is.
https://forum.xda-developers.com/mediapad-m3/how-to/root-success-t3489547
- Some flashing tools from here, which mostly are directed at flashing ROMS.
https://www.xda-developers.com/root/
- And awesome CF-Auto-Root that looked like a perfect thing just made for me, until I realized it's for Samsung devices only.
Getting to my question/request now: Can someone either confirm rooting EXACTLY my model of a tablet in a certain way or just guide me through the process in less erratic way than this topic:
https://forum.xda-developers.com/mediapad-m3/how-to/root-success-t3489547
...which is linking to several other topics which in turns are linking to several other pages, which in the end is about as clear/understandable as a muddy river and as well organized as my life lately (hint: it's NOT organized).
Thanks in advance to anyone willing to step up and help
Best Regards
Nec

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 can I help with this project?

*edit* sorry, didn't notice general warning, please move to Q&A
I migrated from SGS i9000 to a huawei G700 phone featuring a mtk6589 chipset.
Sadly, the android version limits the possibilities of the phone really hard: it's oriented towards users who play nicely with their phone, not towards me!
so, to keep a long story short, I'd like CM to be ported to this device. this is not a top-of-the-line product, so I'll certainly have to do it myself.
I already got the complete OS image, kernel properties, installed applications, and so on (boot.img, uboot.img, ...), locally installed here.
the question is: where to go from here? In your guides, I can follow what the developers explain to do and why they are doing it, but I got no idea how to convert this OS image into a CM image ...
Also, as there are apparently developers waiting for mtk6859 roms, should I send them a message asking for their help? http://forum.xda-developers.com/showthread.php?t=2375957
the only issue here is that I can't contact them yet because of the noob limit.

[Q] Adding Driver to Kernel and Loading it on Device - USB Griffin Powermate

Hello wise XDA sages,
Today I am working on a project that has me working with the Android Kernel and I need some help / directions from you all who know much more on the subject than me. I am trying to get the USB Griffin Powermate Dials to work with Android (via OTG), so I can use them in an application I am writing. Luckily, this has already been done: youtube.com/watch?v=xt6Ny8lG15s so I know the driver is available for Android. Moreover, the individual was nice enough to post his modified driver here: gist.github.com/tlorens/488752123c056202ac31
So, I have spent the last two days reading and studying the android Kernel and how to make/compile your own kernel. The only instructions via Google leave me with a few questions. I was able to build a generic kernel from scratch, but have found less documentation on how to add the driver in question and then how to load the zImage once it has been created to a device so that it will use it.
Could any of you help me with this project, or point me toward more detailed resources that can walk me through this process? I have a feeling that once I do this once, it will be easy to do in the future.
My questions are:
1. How do I take the above Android driver and integrate it into an Android Kernel for one of the following phones: Galaxy Nexus, Nexus 10, Nexus 7, Nexus 5, Galaxy S4, Galaxy Tab 4 (I am lucky enough to have access to many devices - which is the easiest to use? Does it matter?).
2. Do I need to make an entire AOSP rom to make this work, or will the kernel be sufficient.
I appreciate you masters helping a noob at kernel work. If this becomes hard to do, I would even be willing to toss anyone willing to help some cash via paypal for a step-by-step set of instructions for making the Powermate work on any of my devices. Biggest thing, is I want to learn how to do this myself
As always I appreciate this community,
Larry

[noob questions] ROM/Kernel - building/porting

I’ll start by admiting that, in the arts of cooking/building/porting android innards, I’m closer to being a complete noob than na intermediate user.
I own a Newman K1S, JB 4.2.2, MT6592, 2Gb/16Gb, 720p, and, sadly for me, it looks like the manufacturer (Newman Mobile, or Newsmy, who knows) pretty much disavows any knowledge of this model ever being built or sold. No reference to it, no community, no android updates or ROM releases.
Taking into account some MediaTek source codes for KitKat were made available earlier this year (even if unofficially), I was wondering:
So, question number 1 – Is it possible to build android 4.4 for my device straight from said sources? Or are they unreliable and it would be best not to attempt it?
And question number 2 – Being at the noob level, should I stay away from such a task? And, in this case, would I be better off porting a 4.4 ROM from a similar spec’ed device?
Also, while browsing needrom, I noticed that a 4.4 “official” ROM was posted for my device. However, having flashed it, I found that it produces no sounds from the external speaker (although with headphones it works fine). Same thing was experienced by other users, and there is no fix so far.
Which takes me to question number 3 – What may I try, in order to fix an issue like this? Does KK use the same sound drivers as JB, and maybe it’s only a matter of replacing them? (if so, I believe this is within my grasp, even if I must unpack the IMG files to reach the drivers)
Lastly, Newman K1S has a severe overheating problem when pushed, which I believe would be easily solved by underclocking it to 1.3 or 1.5, or maybe implementing an optimized kernel.
Final question – How do I manage to underclock with my current kernel, or, better yet, how do I port a custom, optimized kernel to my device?
Congratulations to everyone who managed to read this far, and thank you in advance for any help provided. I’ve spent the last few days reading tutorials and guides, only to become even more confused… I did manage to get android kitchen running on my Windows laptop, though!
Links to recent/updated guides that might be useful are appreciated, too.

Converting Windows 10 phone to Android (HP Elite X3)

Was reading up on some tech articles and processes for installing an Android OS on a MS windows 10 phone and most had notes attached that the process was out of date and no longer worked. They also suggested inquiring in the xda forums, so here I am.
Picked up the phone sunday to replace my busted android but less than happy with windows 10 mobile and feeling caged in with what apps I can install. We originally looking into trying to install the windows version that included project asperia but none of the processes have been working for me and have not been able to pair my phone with the programs to instal APK files. (Bootstrapping error 8).
Than I saw videos of android OSs being installed and wanted to look into that possible path for my X3. Any help I can get towards that I would appreciate greatly.
quite literally what im looking for too
May be this helps?
https://www.youtube.com/watch?v=_OW88UTTDug
​Thanks jwoegerbauer - The YouTube video is exclusively for Android migrations on NOKIA Windows phones: Lumia 520/1/5/6, 620 & 720 (the kid is real good too !) However, REAL HELP is needed for HP Elite users.
Hoping there are dev mavens out there working on a solid ROM for the HP Elite X3 . This is a very cool & powerful device. Aside from giving it the life it deserves, it would be a wondefrul flip of the bird to M/S for the pain they bestowed on the tech community..
the linux driver exist. https://gitlab.com/msm8996-mainline/linux-msm8996
the secureboot fall exist https://gus33000.me/2019/01/05/secureboot-flaw-for-all-wp-devices-literally/
i don't know why any people developped a root or other. The X3 is always a performer machine.
dAV84 said:
the linux driver exist. https://gitlab.com/msm8996-mainline/linux-msm8996
the secureboot fall exist https://gus33000.me/2019/01/05/secureboot-flaw-for-all-wp-devices-literally/
i don't know why any people developped a root or other. The X3 is always a performer machine.
Click to expand...
Click to collapse
Thank you so much dAV84 for the very technical info.
I've done several upgrades on droid devices (tablets mostly) to give them new life courtesy of the XDA community (better ROMs, etc). The X3 is a slightly different Wondering if there are some high-level steps you could provide as the best method to make this a useful device with the material/links provided.
Best,
JR
ranjo364 said:
Thank you so much dAV84 for the very technical info.
I've done several upgrades on droid devices (tablets mostly) to give them new life courtesy of the XDA community (better ROMs, etc). The X3 is a slightly different Wondering if there are some high-level steps you caould provide as the best method to make this a useful device with the material/links provided.
Best,
JR
Click to expand...
Click to collapse
hei, did you succeed? i dont find a way to do it... dammed! such a good unit without possibilities to install android on it
thanks for confirming... desperately looking for it...
apg1983 said:
hei, did you succeed? i dont find a way to do it... dammed! such a good unit without possibilities to install android on it
thanks for confirming... desperately looking for it...
Click to expand...
Click to collapse
Hi APG, sadly, no reponse. Still hoping some DEV or group will take this on . Such an incredible device. I'll gladly contribute if that's what it takes.. JR
Have anyone managed to follow this: https://gus33000.me/2019/01/05/secureboot-flaw-for-all-wp-devices-literally/
I couldn't follow it at all.
For example:
Install developermenu.efi. This can be completed by exploiting access to file system in some manner (e.g. via SSH, MTP or File Explorer). I use the File Explorer approach on Windows 10 Mobile 10586 to backup/replace resetphone.efi. I do not recommend using MTP due to its inherent flakiness. Detailing how to do this is out of scope for this blog post, but remember: Interop Unlock requires Windows 10 Mobile 14393 or earlier so a reflash will most certainly be required.
I couldn't install the developermenu.efi, no instructions for it even following the link, it doesn't help.

Categories

Resources