* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Permanent root for Hisense CMB405  (Read 303 times)

0 Members and 1 Guest are viewing this topic.

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 580
  • Post Rating Ratio: +9/-5
  • TI-nspire porter
    • View Profile
Permanent root for Hisense CMB405
« on: November 06, 2016, 04:05:33 am »
A year ago, i bought this decent device for pretty cheap. (50€)
Unfortunely, i later discovered that, unless you use the annoying KingoRoot, you can't have root.
On top of that, KingoRoot is not permanent so you will have to download it and wait each freaking time you reboot your device.
TowelRoot, FramaRoot... all of them didn't work either.
Lastly, i found absolutely no documentation for the device. (other than some benchmarks websites)

Just now, i was finally able to root my device permantly without some chinese apps that don't last a reboot.
I'll explain how i did it, as it might help you if you also happen to own some unknown device.

First of all, i discovered some useful commands to adb.
Code: [Select]
adb shell reboot bootloader
adb shell reboot recovery
On my device, it is the only way to access the bootloader : no buttons combinaison work here.
But the default bootloader doesn't allow you to flash any zip packages unfortunely...
So it was clear that i needed to find a CWM recovery file for my device.

I started looking at what kind of SoC it was using.
I eventually found out it was using a SnapDragon MSM8916.
So i started looking for devices that were using the same SoC but had a recovery available.

I found that the Lenovo A6000 was a similar device with the same SoC and operating system but with a bigger screen...
Here is the link that i found : http://www.gizmoadvices.com/install-cwm-recovery-root-lenovo-a6000/

Still, after downloading it, i launched this command :
Code: [Select]
flashboot boot myfirmwareimage.imgIt booted but since it was designed for a bigger screen resolution, it looked horrible...
I tried looking for more alternatives but so far, none of them even worked.

I did with what i had and tried to flash the root package that was provided in the tutorial.
It seemed to have worked so i tried to reboot it but my device would get stuck...
No problem tho, i simply removed my battery and put it back.

After a slow startup, i found out SuperSU was correctly installed and my root apps were working perfectly.
The provided SuperSU Apk was old tho so i installed the newer one and after a reboot (and updating the su binary),
it worked just fine.

So yeah, even if nobody was even mentionning the device, i had managed to have permanent root on it.
I just wish i knew that for my 2 earlier software-hardware bricked tablets...

Do you happen to own some not well known Android smartphones ?
Let me know in the comments down below.
« Last Edit: November 06, 2016, 04:29:49 am by gameblabla »


  • Calculators owned: TI Nspire CX, TI-89

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2668
  • Post Rating Ratio: +17/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Permanent root for Hisense CMB405
« Reply #1 on: November 06, 2016, 04:19:35 am »
Dirty COW should work on every Android phone the kernel has been compiled until last month or so.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)

In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii:

YUKI-CHAAAANNNN

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 580
  • Post Rating Ratio: +9/-5
  • TI-nspire porter
    • View Profile
Re: Permanent root for Hisense CMB405
« Reply #2 on: November 06, 2016, 04:23:16 am »
Dirty COW should work on every Android phone the kernel has been compiled until last month or so.
Before that, i actually tried dirtycow using this proof-of-concept here :
https://github.com/timwr/CVE-2016-5195

Sadly, it didn't work on my device because i later discovered that while the proc is 64-bits, the OS (or at least userspace) is 32-bits
and it was unable to execute my 64-bits executable.
I heard that it has some issues on Android ARM64.
Even if it did work, you would need to defeat SELinux on Android 4.4+ as well and this has not been done (yet).
« Last Edit: November 06, 2016, 04:28:42 am by gameblabla »
  • Calculators owned: TI Nspire CX, TI-89

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games