[GUIDE]Root Yoga Tablet 2 Pro 8, 10, and 13.3 android KitKat!!

musikw

New member
Jun 24, 2012
2
0
0
Lenovo yoga2-1050L root access

Hi all,

I got root acces when I follow the instruction from http://forum.xda-developers.com/thi...ide-root-yoga-tablet-2-pro-8-10-13-3-t2930428

The downloaded system.img is from the Lenovo Yoga2 -1380L. But its works also for the 1050L with root access. and no problems.

So the point is why I'm writing, I want of course to modify the original system.img from 1050L modify for root too based of the 180 image.

But befor I do anything with the original image file I made some tests.

I found a lot of instructions to unpack and repack a system.img under linux ubuntu.
When I unpack and repack the system.img without any changes and flashing it again then I'm loosing only the root access even with factory reset. The device and all other apps and feature are still running well.
The included SuperSu app in the system.img tells me that is missing the su binary. But with es3 file mangaer I can find all files at the rigth place in the device.

Has it someting to do with the X86 eMMC file system? Can it be, that my virtual ubuntu 14.02 not can handel this well?

For unpack and repack I did use following commands:

1. mkdir sys (creates a new folder sys in your directory)
2. ./simg2img system.img sys.raw (unpacks system.img)
3. sudo mount -t ext4 -o loop sys.raw sys/ (mounts it)

4. sudo ./make_ext4fs -s -l 2048M -a system new.img ./sys
5. sudo umount sys
6. rm -fr sys
flashing it again with intel flashing tool
The device is running after that, but I'm lost the root access.

Thanks for your help and ideas
regards
Walter
 

xterminater07

Senior Member
Dec 4, 2010
1,575
474
0
@bodivas

Thank you for this great work!
I got my Lenovo Yoga Tablet 2 Pro with latest OTA and root.

Now i also can flash from internal and external sdcard!

Gesendet von meinem A0001
rockystrike, what is the latest version of OTA you have and how did you root it? Bodivas, if I used the stock rooted image you provided awhile back, I can run OTA and now I become unrooted but by flashing the file you provided I should get root back? Or is there anything else I need to do.
 

JFDee

Senior Member
Sep 3, 2010
127
124
0
If system update fails do the following:
....
4. Go to Search / Find Contacts and enter ####6020#. It will ask you to select country code (first two latin letters, ignore Chinese).
5. Select what you want, then reboot.
Thanks for the walkthrough; however, I hit two obstacles.

  1. at first, the 'secret code' gave an error message about "Can't find factory ota ...". I found a hint elsewhere that the file "easyimage.zip" should be on the internal storage, top level.
  2. after solving the previous issue, the language selection works - but after rebooting, I'm immediately dropped into recovery, with the error "install failed".
I did the stock system flash cycle three times - no change.
Any hints? Did you probably copy other files to the internal storage?
 
Last edited:

subworx

Senior Member
Oct 8, 2010
245
159
0
rockystrike, what is the latest version of OTA you have and how did you root it? Bodivas, if I used the stock rooted image you provided awhile back, I can run OTA and now I become unrooted but by flashing the file you provided I should get root back? Or is there anything else I need to do.
From the 1380F rom, the root daemon is launched using /system/etc/install-recovery.sh.
Bodivas (or someone else) renamed the file to install-recovery-2.sh and replaced the original with a script that launches the daemonsu executable, and then calls the renamed script.
Each OTA replaces the install-recovery.sh (which launches daemonsu) with the regular version that only updates the recovery.
So it would be necessary to modify the flashable zip by adding the install-recovery.sh from a rooted rom, then things might work.

Had some issues with the device (Xposed Media Scanner Optimizer broke MTP/PTP) and now Intel Flash Tool does not recognize the tablet on my pc, so I can't/won't play around.
 

JFDee

Senior Member
Sep 3, 2010
127
124
0
First, a very big Thank You to bodivas, and to everyone else collecting bits of knowledge and experience on the way!

I would like to point out a problem with OTA updates after flashing 830F system to the 1050F device.

Even after going back to stock 830F, official OTAs always fail. I assume there is a hardware ID for 1050F somewhere that the update evaluates.
Applying the "secret code" to change the region does not work either, after the reboot there is always "install failed". I also did a factory reset with internal storage wipe - did not change anything.

Is anyone else with a 1050F affected as well ?

I am aware that there is no 1050F stock system.img available, but maybe there is a trick to get the 830F OTA updates working anyway ...
I have experienced instability with regard to my external SD card, so my hope is that an update may improve things.
 
Last edited:

rockystrike

Member
Jul 7, 2012
10
1
0
rockystrike, what is the latest version of OTA you have and how did you root it? Bodivas, if I used the stock rooted image you provided awhile back, I can run OTA and now I become unrooted but by flashing the file you provided I should get root back? Or is there anything else I need to do.
You can see my installed version in the screenshot.

To get the latest OTA while you are on the Rooted Stock Rom you have to copy system.md5 File provided earlier from subworx to /system/
After installing all OTA updates you copy Supersu.2.4.zip to your internal or external sdcard.
Now you must activate USB-debugging on your tablet and start the batch file provided from bodivas.
Choose method "T3" and let your tablet boot temporary cwm.
When your tablet booted cwm flash the Supersu.2.4.zip from internal or external sdcard.
After successful flash restart your tablet and you should be fine.

I hope this will help you.

Gesendet von meinem A0001
 

Attachments

bodivas

Senior Member
Oct 18, 2010
513
710
0
Milan-Italy
Just rooted my yt2-1050f with firmware yt2-1050f_usr_s000143_1501051823_ww21_row without any problem (so far).
Thanks for the post!
Btw, will i be able to update my firmware just like before the root?
I think that you can update, because. system.md5 remained..

You can dump your firmware for PhoneFlashTool and share with the people that year used the firmware 830F!? (you have to have 2GB free on internal sdcard)
Install terminal, write su and press ok
After put this commands (one at a time )
System:
Code:
make_ext4fs -s -l 2147483648B -a system /sdcard/system.img /system
Kernel:
Code:
dd if=/dev/block/mmcblk0p3 of=/sdcard/boot.img
Recovery:
Code:
dd if=/dev/block/mmcblk0p4 of=/sdcard/recovery.img
 
Last edited:
  • Like
Reactions: Choosen8

ericsyabi

Member
Aug 9, 2012
22
9
23
I think that you can update, because. system.md5 remained..

You can dump your firmware for PhoneFlashTool and share with the people that year used the firmware 830F!? (you have to have 2GB free on internal sdcard)
...
I uploaded all the files to mega.co.nz.
unfortunately i still can't post links on the forums, so if anyone need these files shoot me a pm and i will send the links!
 

xterminater07

Senior Member
Dec 4, 2010
1,575
474
0
You can see my installed version in the screenshot.

To get the latest OTA while you are on the Rooted Stock Rom you have to copy system.md5 File provided earlier from subworx to /system/
After installing all OTA updates you copy Supersu.2.4.zip to your internal or external sdcard.
Now you must activate USB-debugging on your tablet and start the batch file provided from bodivas.
Choose method "T3" and let your tablet boot temporary cwm.
When your tablet booted cwm flash the Supersu.2.4.zip from internal or external sdcard.
After successful flash restart your tablet and you should be fine.

I hope this will help you.

Gesendet von meinem A0001
I tried exactly what you said, I copy one of the md5 that subworx posted, system118.md5 and tried to install OTA it said failed. Please help subworx and bodivas.