ROM[TB3-710I/TB3-710F][5.1][OFFICIAL] Stock rom for Lenovo Tab 3 7 Essential

PhatBmt009

Senior Member
Jun 2, 2016
56
33
0
Buon Ma Thuot

PhatBmt009

Senior Member
Jun 2, 2016
56
33
0
Buon Ma Thuot

LordZener

Member
Sep 2, 2016
8
3
0
@LordZener Sorry for the delay. Here's an experimental build, let me know if/how it works. It is based on the brand new TB3-710I_S000031_160902_ROW firmware.
I usually put almost all partitions into the fstab, but I think the essential ones are boot, recovery, misc, system, cache, data.
Hi @Tzul, you had no deadline, so no delay!! :D:D:D:D
Thanks for your support, now i'm at work... i'll test the recovery in the afternoon :good:
 

Tzul

Senior Member
Jun 25, 2014
421
429
0
Hi, The recovery works. But can touch
Thanks for testing. Does the touch not work at all, or are the coordinates wrong? It's very common for these MediaTek-based tablets that screen coordinates and touch coordinates do not match, e.g. if you touch the top left corner, TWRP thinks you touched the bottom left (or top right, or maybe even bottom right).
If you test this some more and could figure out how exactly the coordinates are off, that would be great.
Edit: here's a second version with "rotated" touch coordinates, maybe this will be right.
 
Last edited:
  • Like
Reactions: LordZener

LordZener

Member
Sep 2, 2016
8
3
0
Thanks for testing. Does the touch not work at all, or are the coordinates wrong? It's very common for these MediaTek-based tablets that screen coordinates and touch coordinates do not match, e.g. if you touch the top left corner, TWRP thinks you touched the bottom left (or top right, or maybe even bottom right).
If you test this some more and could figure out how exactly the coordinates are off, that would be great.
Edit: here's a second version with "rotated" touch coordinates, maybe this will be right.
Hi Tzul,

this second recovery is working, but the screen orientation is landscape (original recovery is portrait).
my impression is: if I touch top right corner TWRP thinks I'm touching down left:
In fact, on the first screen, i was able to allow modifications by swiping from top-right to top-left corner.
On the second screen, touching Reboot button i was able to open Install menu.
Hope this will be useful :)
 

Tzul

Senior Member
Jun 25, 2014
421
429
0
@LordZener Thanks! So the stock recovery is portrait, but for TWRP the framebuffer is landscape. Interesting. Maybe it's because of the new kernel? Or maybe the stock recovery switches orientation. I'd love to know how to do that. TWRP unfortunately cannot rotate the screen (with the exception of a few devices where some coders made it possible).

Anyway, here's test #3 and test #4. Both of these are landscape, with different touchscreen handling.
 
  • Like
Reactions: LordZener

LordZener

Member
Sep 2, 2016
8
3
0
@LordZener Thanks! So the stock recovery is portrait, but for TWRP the framebuffer is landscape. Interesting. Maybe it's because of the new kernel? Or maybe the stock recovery switches orientation. I'd love to know how to do that. TWRP unfortunately cannot rotate the screen (with the exception of a few devices where some coders made it possible).

Anyway, here's test #3 and test #4. Both of these are landscape, with different touchscreen handling.
Works!!
Test 4 is ok, thank you!! :fingers-crossed:
Pay attention: using the version 2 with wrong touch handling i've wrongly performed a dalvik cache erase.... this lead to bootloop!!
I was forced to open device and disconnect battery to be able to reflash with sptool ;)

Anyway, other features seems to be all working!!
Thanks a lot again :D
 
  • Like
Reactions: Tzul

Tzul

Senior Member
Jun 25, 2014
421
429
0
@LordZener Good to hear!

Erasing the dalvik cache should not cause boot loops. However, it will cause the next boot to take quite a long time, because the dalvik cache has to be rebuilt (well, Android 5 and later use ART instead of the older Dalvik runtime, they compile all installed apps ahead of time, and the result is stored in the "dalvik" cache). While this is being done, the tablet might appear to be stuck and do nothing. But I'd try to be patient and wait 15 minutes before declaring it stuck.

Also, you don't need to disconnect the battery to flash with the SPFT. You just need to do a hard reset / turn off the tablet completely (holding down the power button for 10 seconds or so should work).
 

LordZener

Member
Sep 2, 2016
8
3
0
@LordZener Good to hear!

Erasing the dalvik cache should not cause boot loops. However, it will cause the next boot to take quite a long time, because the dalvik cache has to be rebuilt (well, Android 5 and later use ART instead of the older Dalvik runtime, they compile all installed apps ahead of time, and the result is stored in the "dalvik" cache). While this is being done, the tablet might appear to be stuck and do nothing. But I'd try to be patient and wait 15 minutes before declaring it stuck.

Also, you don't need to disconnect the battery to flash with the SPFT. You just need to do a hard reset / turn off the tablet completely (holding down the power button for 10 seconds or so should work).
Thanks for explanation about the cache, very useful :)
I tried to hard reset manually the tablet many times holding Power button, but everytime the result was an immediate reboot... I tried also to plug the USB before the reboot and quickly start the download, without success.
Anyway, probably i'll retry Tomorrow(this time after a system backup :p), waiting more time.
 
Last edited:

Tzul

Senior Member
Jun 25, 2014
421
429
0
@LordZener Sounds like you tried to click the download button in the SPFT after connecting the tablet, or after rebooting? That's not how you're supposed to do it.
Click the download button first, then connect or reboot. That's due to the way that MediaTek has implemented this... basically, the first piece of software that runs on the device after a power up or reboot is the preloader, and it checks for a USB connection with the SPFT, which will only answer if the download/readback button has been clicked already (more details about that here).
 

PhatBmt009

Senior Member
Jun 2, 2016
56
33
0
Buon Ma Thuot
@LordZener Thanks! So the stock recovery is portrait, but for TWRP the framebuffer is landscape. Interesting. Maybe it's because of the new kernel? Or maybe the stock recovery switches orientation. I'd love to know how to do that. TWRP unfortunately cannot rotate the screen (with the exception of a few devices where some coders made it possible).

Anyway, here's test #3 and test #4. Both of these are landscape, with different touchscreen handling.
Wow, It's working man. So good. Thanks for your twrp. You is the best man[emoji4] [emoji4] [emoji4] [emoji4]

Sent from my Lenovo TB3-710I using XDA-Developers mobile app
 

PhatBmt009

Senior Member
Jun 2, 2016
56
33
0
Buon Ma Thuot
@LordZener Thanks! So the stock recovery is portrait, but for TWRP the framebuffer is landscape. Interesting. Maybe it's because of the new kernel? Or maybe the stock recovery switches orientation. I'd love to know how to do that. TWRP unfortunately cannot rotate the screen (with the exception of a few devices where some coders made it possible).

Anyway, here's test #3 and test #4. Both of these are landscape, with different touchscreen handling.
And where I can find the stock recovery s000030. I don't backup it and I need to update to s000031??

Sent from my Lenovo TB3-710I using XDA-Developers mobile app
 

PhatBmt009

Senior Member
Jun 2, 2016
56
33
0
Buon Ma Thuot
@LordZener Sounds like you tried to click the download button in the SPFT after connecting the tablet, or after rebooting? That's not how you're supposed to do it.
Click the download button first, then connect or reboot. That's due to the way that MediaTek has implemented this... basically, the first piece of software that runs on the device after a power up or reboot is the preloader, and it checks for a USB connection with the SPFT, which will only answer if the download/readback button has been clicked already (more details about that here).
Do you have stock recovery? I need to update rom to s000031 because I forget backup stock recovery. Stock is s000030

Sent from my Lenovo TB3-710I using XDA-Developers mobile app
 

Tzul

Senior Member
Jun 25, 2014
421
429
0
@PhatBmt009 I don't have the S000030 files. You should be able to use the stock recovery from S000029 in your first post. Alternatively, you can modify the installer script of the OTA update and install it with TWRP.

Anyway, I'm about to upload a full version of the S000031 firmware. It will appear on my AndroidFileHost page, together with TWRP. I've also patched the bootloader (lk.bin) to allow flashing per "fastboot flash" command, in case someone wants that.
 
Last edited:

PhatBmt009

Senior Member
Jun 2, 2016
56
33
0
Buon Ma Thuot
@PhatBmt009 I don't have the S000030 files. You should be able to use the stock recovery from S000029 in your first post. Alternatively, you can modify the installer script of the OTA update and install it with TWRP.

Anyway, I'm about to upload a full version of the S000031 firmware. It will appear on my AndroidFileHost page, together with TWRP. I've also patched the bootloader (lk.bin) to allow flashing per "fastboot flash" command, in case someone wants that.
The s000029 can't install ota update man :(((
And update with twrp is error: 7
Sent from my Lenovo TB3-710I using XDA-Developers mobile app
 

LordZener

Member
Sep 2, 2016
8
3
0
@LordZener Sounds like you tried to click the download button in the SPFT after connecting the tablet, or after rebooting? That's not how you're supposed to do it.
Click the download button first, then connect or reboot. That's due to the way that MediaTek has implemented this... basically, the first piece of software that runs on the device after a power up or reboot is the preloader, and it checks for a USB connection with the SPFT, which will only answer if the download/readback button has been clicked already (more details about that here).
Hi, probably my previous post was not clear.
Usually, I use SPFT in this way: power down Tablet, press download button then connect the usb.
In this particular case, I was not able to switch off the Tablet due to an automatic restart.
Thus, i tried to press the SPFT download button, then plug the usb immediately after the switch off but before the restart.
Honestly I don't know what happened, but i was not able to make the SPFT recognize the device :(
Probably timing issue :D:D:D
 

PhatBmt009

Senior Member
Jun 2, 2016
56
33
0
Buon Ma Thuot
Hi, probably my previous post was not clear.
Usually, I use SPFT in this way: power down Tablet, press download button then connect the usb.
In this particular case, I was not able to switch off the Tablet due to an automatic restart.
Thus, i tried to press the SPFT download button, then plug the usb immediately after the switch off but before the restart.
Honestly I don't know what happened, but i was not able to make the SPFT recognize the device :(
Probably timing issue :D:D:D
Me too [emoji4] [emoji4]

Sent from my Lenovo TB3-710I using XDA-Developers mobile app