Related
since i read about many people that wanted to flash a custom (or stock) rom but want to be able to restore the delivered rom i want to write a little tutorial for:
(this is what i did to make it work for me, be careful otherwise you can brick your device. i am not responsible if your device gets bricked)
I setting up ADB + Fastboot (on windows & Linux)
II booting a (racovery)image without flashing it
III backing up the WHOLE phone (to be able to restore the delivery status)
IV flashing (stock) rom
1. download:
- - - - 1.1 15 seconds ADB Installer (for Windows) from a xda user
- - - - - - - - - - 1.1.1 old and more complicated way to do that: Android IDE including the android sdk at https://developer.android.com/studio
actually you only need the android sdk which is included in the SDK tools package but i couldnt get that to work so i would be very happy if someone could write a short tutorial on how to use that and i will add it!
- - - - 1.2 twrp from https://twrp.me/devices/leecolemax2.html
- - - - 1.3 ROM: eg LineageOS from the ROM section
2. - 4. installing ADB and Driver
- - - - 2.5 WINDOWS: when using 15 seconds ADB installer step 2.-4. become obsolete
- - - - 2.6 LINUX: sudo apt update && sudo apt install android-tools-adb android-tools-fastboot && adb version (troubleshooting: sudo adb kill-server && sudo adb start-server)
2. install the ide:
- - - - 2.1 install the ide (android studio) which you downloaded
- - - - 2.2 open the android studio
- - - - 2.3 on the welcome screen press "configure" on the lower right corner, then "SDK Manager"
- - - - 2.4 go to "SDK Tools" and check the checkboxes "Android Platform Tools" (for ADB and Fastboot in console) and "Google USB Driver" (for the device driver) and press apply
3. setting adb and fastboot as Environment Variables (instead of navigating to the path where the adb.exe and fastboot.exe are (in order to use adb and fastboot in the console you can also add them to the system commands))
- - - - 3.1 open: open "Run" by pressing Windows+R -> enter "sysdm.cpl" and press ok -> advanced -> Environment Variables
- - - - - - - - - - 3.1.1 in the System variables section search for the variable "Path" and click the edit button
- - - - - - - - - - 3.1.2 add to the end ";" + your "platform-tools"-path (mine was in "C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools" but you can slo simply search the computer for "platform-tools" or "adb.exe" to find the path)
4. install adb usb driver
- - - - 4.1 plug in your Leeco Le Max 2 go to device manager (by openening "Run" by pressing Windows+R and enter "devmgmt.msc")
- - - - 4.2 search for your phone (mine was called "Android Phone" and had a yellow warning symbol)
- - - - 4.3 right click -> Update Driver Software -> "Browse my computer for driver software" -> "Let me pick from a list of device drivers on my computer" -> "Show All Devices" -> "Have Disk"
- - - - 4.4 enter the path to the Goolge USB Driver it should be "C:\Users\USERNAME\AppData\Local\Android\sdk\extras\google\usb_driver" (but you can also simply search your computer for "usb_driver" to find the path)
- - - - 4.5 select "Android ADB Interface" from the list -> confrim and install
- - - - 4.6 CAUTION: i had to install the driver twice!! once when the device was simply turned on and plugged in as described above and ALSO when it wen into fastboot mode!!!!
5. unlock your bootloader
- - - - 5.1 on your Phone go to settings -> About Phone -> Tap On "Build Number" 7 Times To Enable Developer Options
- - - - 5.2 Settings -> Developer Options -> enable "Usb Debugging"
- - - - 5.3 Settings -> Developer Options -> enable "Oem Unlock"
- - - - 5.4 connect your turned on Le Max 2 via USB
- - - - 5.5 start the console via Windows+R -> "cmd" and enter the following
- - - - 5.6 adb usb" -> confirm the connection on your device
- - - - 5.7 (optional) "adb devices" to check if your device is listed
- - - - 5.8 "adb reboot bootloader" brings you to the fastboot mode (if not check on of the links)
- - - - 5.9 (optional) "fastboot oem device-info" shows some info about your device e.g. your lock status
- - - - 5.10 "fastboot oem unlock" unlocks your bootloader -> confirm on smartphone (via "fastboot oem lock" you can also lock your device angain)
- - - - 5.11 (optional) "fastboot reboot" if you dont want to continue
6. boot into twrp without flashing and backup
- - - - 6.1 copy your twrp img (from 1.2) to the path you are using the console from (in the console you should see something like C:\Users\USERNAME>_ thats the device where you need to store your twrp image)
- - - - 6.3 enter the following to your console while beeing in fastboot mode (you possibly have to repeat steps 5.4-5.8)
- - - - 6.4 "fastboot boot RECOVERYNAME.img" replace the RECOVERYNAME by the name of your recovery imagename e.g. "twrp-3.0.2-1-x2.img" (for flashing the rom type [-"fastboot flash recovery RECOVERYNAME.img"
- - - - 6.5 twrp should start after a few seconds
- - - - 6.6 go to "backup"
- - - - 6.7 select everything!
- - - - 6.8 backup
- - - - 6.9 reboot your device (to system)
- - - - 6.10 copy the TWRP folder which contains the folder "BACKUPS" and your files to your computer
- - - - - - - - - - 6.10.1 you will possibly occure a "denied permission" error. so you'll have to go to the console (again in the twrp) and enter "chmod -R 777 /sdcard/TWRP" that changes the permission of everything invluded in the folder TWRP to read+write+execute
- - - - - - - - - - 6.10.2 alternatively you can also backup on a usb stick via otg
- - - - 6.11 to restore repeat till step 6.5 and go to restore, there you should see the backup you created (of course you should have copied it to your device via the pc)
7. flash recovery
- - - - 7.1 i flashed the indian stock rom since it already has the google play store installed (is there any benefit using the chinese rom????????)
- - - - 7.5 instead of steps 7.2-7.4 you can also simply copy the desired rom on your phone (or a usb stick that you connect to your phone and have to mount inside TWRP!) and use the install option of TWRPthats way easier!!!
- - - - 7.2 start twrp again (see 6.3-6.5) and enter the adb sideload mode
- - - - 7.3 on the cmd type "adb sideload STOCKrOM.zip" (another way is described in this post: https://forum.xda-developers.com/showpost.php?p=73995755&postcount=104)
- - - - 7.4 CAUTION: the adb command on my computer took so long that the adb sideloadmode on the smartphone exited with a timout error... if you have the same problem just try to start the adb sideload command on the smartphone one or two minutes after you entered it on the cmd
links:
1. https://translate.google.com/transl...e/wiki/Adb_und_Fastboot_Installation_(Windows)
2.
- - - - 2.6 https://www.linuxbabe.com/ubuntu/how-to-install-adb-fastboot-ubuntu-16-04-16-10-14-04
- - - - 2.6 https://wiki.ubuntuusers.de/adb/
- - - - 2.6 https://wiki.ubuntuusers.de/fastboot/
4. http://www.leeco.re/topic/88-manually-installing-android-adb-usb-driver/
5. https://www.******.com/install-twrp-root-le-max-2/
- - - - 5.10 http://en.miui.com/thread-279195-1-1.html
6. https://translate.google.com/transl....de/2014/08/android-geraet-sichern-ohne-root/
- - - - additonally https://aubykhan.wordpress.com/2013...t-into-twrp-or-cwm-recovery-without-flashing/
- - - - alternative: adb backup (but not working as nice as twrp/cwm backup) https://translate.google.com/transl...ystem-und-alle-apps-ueber-adb-backup-sichern/
- - - - 6.9 http://www.howtogeek.com/240655/how-to-copy-twrp-android-backups-to-your-pc-for-safe-keeping/
- - - - 6.9.1 https://www.codeproject.com/articles/825304/accessing-internal-data-on-android-device
7. http://forum.le.com/in/index.php?th...d-gen-superphones-offline-update-guide.12482/
https://wiki.lineageos.org/devices/x2/install
- - - - 7.1 http://forum.xda-developers.com/le-...m-recovery-t3419377/post67779556#post67779556
If you want to help make this tutorial better please feel free to comment and i will add it here:
there is a post that sums up almost everything i have written, but much more compact:
https://forum.xda-developers.com/showpost.php?p=72187023&postcount=73
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I AM VERY NEW TO THIS SO PLEASE CONSIDER THIS SIMPLY AS A PROTOCOL OF WHAT I DID
I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS WHILE TRYING THIS OUT
thanks for the tutorial
Excellent tutorial, please add the step to root the phone for stock ROM. Thanks
nvm
atomicblue said:
i'm having permission errors when trying to move the backup to my desktop. when i type the chmod command in the adb terminal nothing happens. any help?
Click to expand...
Click to collapse
i need in order to help you:
- what is the error that occurs? can you please use the twrp file manager to locate the twrp backup path? on my device it was here "/sdcard/TWRP/BACKUPS/"123abcd-canBeDifferent"/2016-12-13_someRandomDigits" containing the syszem_image.emmc.win , data.ext4.win000 system.ext4.win000 and so on...
- canyou please also go to the console inside twrp and go to the twrp directory by typing "cd /sdcard/TWRP/BACKUPS/"123abcd-canBeDifferent"/2016-12-13_someRandomDigits" and then please type "ls -l" please post the output here ( i only need the first block of each line, it should look like this -rwxrwxrwx)
i read somewhere that you can copy files via adb... but i dont remember how that worked...
possible solutions:
but you can try to use a ubuntu live system and try to copy the files with linux
OR
you can use an otg adapter and copy the files via the file manager within twrp
Amowagou said:
Excellent tutorial, please add the step to root the phone for stock ROM. Thanks
Click to expand...
Click to collapse
thank you @Amowagou i never rooted my device since resurection and mokee are both prerooted so i dont know how to do that but i saw another very good post on that topic. basically you have to flash a supersu image.
so boot into twrp (depending on what you already have done you might need to start at point 1.1 till 6.4) and then just flash the supersu image with twrp
EDIT:
i just found the thread: http://forum.xda-developers.com/le-max-2/how-to/root-le-max-2-changing-stock-recovery-t3512619
i hope i could help!
I got it working, what happened was I didn't type the ch command in the terminal correctly haha.
thanks for taking your time to reply.
greenManGaming said:
i need in order to help you:
- what is the error that occurs? can you please use the twrp file manager to locate the twrp backup path? on my device it was here "/sdcard/TWRP/BACKUPS/"123abcd-canBeDifferent"/2016-12-13_someRandomDigits" containing the syszem_image.emmc.win , data.ext4.win000 system.ext4.win000 and so on...
- canyou please also go to the console inside twrp and go to the twrp directory by typing "cd /sdcard/TWRP/BACKUPS/"123abcd-canBeDifferent"/2016-12-13_someRandomDigits" and then please type "ls -l" please post the output here ( i only need the first block of each line, it should look like this -rwxrwxrwx)
i read somewhere that you can copy files via adb... but i dont remember how that worked...
possible solutions:
but you can try to use a ubuntu live system and try to copy the files with linux
OR
you can use an otg adapter and copy the files via the file manager within twrp
Click to expand...
Click to collapse
great, actually "chmod -R 755 /sdcard/TWRP" should be fine too i just wasnt sure what to do so i lifted ALL restrictions by granting EVERYBODY read, write and execute rights ^^
but for backing up data that should be fine
Hello
First thank you very much for your great guide ! I think it is very clear and helped a lot of guys. :good:
However, i am facing an issue :
When i go to the sideload and write the code with the exact name of the zip file, it answer that it cannot read the file.
I tried to rename de file, with no special signs, replacing special signs with dots, naming it "filename". I tried to copy it in the C:\Users\Antoine\AppData\Local\Android\sdk\platform-tools it still wouldn't read it.
I tried with the indian version 16S but also 19S and both are not working.
Where should i copy the file ? What should be the name of it ? should i do something before coding "adb sideload" than just opening sideload in the phone's TWRP ?
To sum up : I don't know what to do, do you have a solution ?
Also, for newbies : the cmd in the twrp is in advanced, and called "terminal" (i seeked it for a long time).
Thank you in advance
Sweet-death said:
Hello
First thank you very much for your great guide ! I think it is very clear and helped a lot of guys. :good:
However, i am facing an issue :
When i go to the sideload and write the code with the exact name of the zip file, it answer that it cannot read the file.
I tried to rename de file, with no special signs, replacing special signs with dots, naming it "filename". I tried to copy it in the C:\Users\Antoine\AppData\Local\Android\sdk\platform-tools it still wouldn't read it.
I tried with the indian version 16S but also 19S and both are not working.
Where should i copy the file ? What should be the name of it ? should i do something before coding "adb sideload" than just opening sideload in the phone's TWRP ?
To sum up : I don't know what to do, do you have a solution ?
Also, for newbies : the cmd in the twrp is in advanced, and called "terminal" (i seeked it for a long time).
Thank you in advance
Click to expand...
Click to collapse
Use Indian 15s it will work. Later change the EUI by updating it.
Sent from my Le X821 using XDA-Developers Legacy app
Sweet-death said:
Hello
First thank you very much for your great guide ! I think it is very clear and helped a lot of guys. :good:
However, i am facing an issue :
When i go to the sideload and write the code with the exact name of the zip file, it answer that it cannot read the file.
I tried to rename de file, with no special signs, replacing special signs with dots, naming it "filename". I tried to copy it in the C:\Users\Antoine\AppData\Local\Android\sdk\platform-tools it still wouldn't read it.
I tried with the indian version 16S but also 19S and both are not working.
Where should i copy the file ? What should be the name of it ? should i do something before coding "adb sideload" than just opening sideload in the phone's TWRP ?
To sum up : I don't know what to do, do you have a solution ?
Also, for newbies : the cmd in the twrp is in advanced, and called "terminal" (i seeked it for a long time).
Thank you in advance
Click to expand...
Click to collapse
it looks like your pathname has a white space in it. you have to choose a pathname without any whitespaces. (TIP: you can hold "SHIFT" + "RIGHT CLICK" then you can click on "copy as path", but remove the quotes if you paste it to the console)
[instead of using sideload you can also try to copy the stock rom on your device and install it with "install" on twrp or you can copy it on an usb stick and connect it via otg]
Hello,
thank you very much greenManGaming. It worked when in installed it through the TWRP
However it did not solve my problems with this phone, still cant recieve or send mms and wifi works only with youtube but won't open internet pages (which is very wierd, i can search on google, but can't open any pages ! Maybe setting issue ?).
Anyway, thank you very much for your tutorial, it was very clear and useful.
i heared that the chinese services for example the location service which runs over baidu arent working great outside china...maybe there are more issues outside china????
if nothing helps you can try one of the custom roms. (but be careful with mokee. i read that the mokee rom is (or at least was) trying to make a strange connection ... but i dont know if thats proven.. i just read it somewhere)
as far as i know @CrisBalGreece MIUI should be very good https://forum.xda-developers.com/le...max2-x820-822-miui8-1-6-12-3december-t3526832
regarding your browser problem. did you try another browser? (eg google chrome)
and also try another sms app (eg google messenger or maybe google allo)
if it didnt help, could you check which version you have right now? and maybe make an update?
greenManGaming said:
i heared that the chinese services for example the location service which runs over baidu arent working great outside china...maybe there are more issues outside china????
as far as i know @CrisBalGreece MIUI should be very good https://forum.xda-developers.com/le...max2-x820-822-miui8-1-6-12-3december-t3526832
[/URL])
Click to expand...
Click to collapse
Hello. Just take those scripts and put at the end of build.prop before flashing the rom. Those make the default DNS from BAIDU to Google DNS servers.
# Google DNS Tweak
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
CrisBalGreece said:
Hello. Just take those scripts and put at the end of build.prop before flashing the rom. Those make the default DNS from BAIDU to Google DNS servers.
# Google DNS Tweak
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
Click to expand...
Click to collapse
Thank you CrisBalGreece for this advice, before trying the custom rom (always something not working at the end of the day) i would like to try your solution. :highfive:
Could you tell me were the file is ? it's a .whichformat ? Is it in the zip of the rom i will install ? Do i have to erase something before pasting it ?
I tried to find a build.prop file, don't have any, i also went through most of the files i found but nothing in it mention "google" or "baidu" and when "dns" is mentionned nothing's written like your quote
One last question, will this solve the mms solution ?
One last last question : i didn't erase data when upgrading from 16s to 19s, could it influence anyhing in anyway ?
I tried several other browser (chrome, opera, mozilla) and also sms programs (textra, chomp sms), nothing changes.:crying:
Don't forget i'm a total newbie so you should not expect much initiative from me :laugh:
withour root access you need to use adb to edit the build.prop
if you want to root your device there are plenty of apps on the appstore
here are two links for editing the build.prop with and without root, maybe the will help you
https://forum.xda-developers.com/showthread.php?t=1948558
http://www.theandroidsoul.com/edit-build-prop-without-root-using-adb-in-twrp-recovery/
Sweet-death said:
Thank you CrisBalGreece for this advice, >>>>>>>:
Click to expand...
Click to collapse
Hello, i don't know what is the phone you have so i can't help you. Eatch phone according his OS has diefrent properties. But if you have build.prop in your system file then you my go with this solution.
Maybye the mms,sms problem is on your APN settings and not on the DNS settings. Try to find your DNS configuration .xml to see inside if supports your carrier's configuration.
greenManGaming said:
since i read about many people that wanted to flash a custom (or stock) rom but want to be able to restore the delivered rom i want to write a little tutorial for:
(this is what i did to make it work for me, be careful otherwise you can brick your device. i am not responsible if your device gets bricked)
I setting up ADB + Fastboot (on windows)
II booting a (racovery)image without flashing it
III backing up the WHOLE phone (to be able to restore the delivery status)
IV flashing (stock) rom
1. download:
- - - - 1.1 Android IDE including the android sdk at https://developer.android.com/studio
actually you only need the android sdk which is included in the SDK tools package but i couldnt get that to work so i would be very happy if someone could write a short tutorial on how to use that and i will add it!
- - - - 1.2 twrp from https://twrp.me/devices/leecolemax2.html
- - - - 1.3 indian stock rom http://forum.le.com/in/eui_list.html -> on the top left choose "Le Max 2" in the drop down menu
2. install the ide:
- - - - 2.1 install the ide (android studio) which you downloaded
- - - - 2.2 open the android studio
- - - - 2.3 on the welcome screen press "configure" on the lower right corner, then "SDK Manager"
- - - - 2.4 go to "SDK Tools" and check the checkboxes "Android Platform Tools" (for ADB and Fastboot in console) and "Google USB Driver" (for the device driver) and press apply
3. setting adb and fastboot as Environment Variables (instead of navigating to the path where the adb.exe and fastboot.exe are (in order to use adb and fastboot in the console you can also add them to the system commands))
- - - - 3.1 open: open "Run" by pressing Windows+R -> enter "sysdm.cpl" and press ok -> advanced -> Environment Variables
- - - - - - - - - - 3.1.1 in the System variables section search for the variable "Path" and click the edit button
- - - - - - - - - - 3.1.2 add to the end ";" + your "platform-tools"-path (mine was in "C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools" but you can slo simply search the computer for "platform-tools" or "adb.exe" to find the path)
4. install adb usb driver
- - - - 4.1 plug in your Leeco Le Max 2 go to device manager (by openening "Run" by pressing Windows+R and enter "devmgmt.msc")
- - - - 4.2 search for your phone (mine was called "Android Phone" and had a yellow warning symbol)
- - - - 4.3 right click -> Update Driver Software -> "Browse my computer for driver software" -> "Let me pick from a list of device drivers on my computer" -> "Show All Devices" -> "Have Disk"
- - - - 4.4 enter the path to the Goolge USB Driver it should be "C:\Users\USERNAME\AppData\Local\Android\sdk\extras\google\usb_driver" (but you can also simply search your computer for "usb_driver" to find the path)
- - - - 4.5 select "Android ADB Interface" from the list -> confrim and install
- - - - 4.6 CAUTION: i had to install the driver twice!! once when the device was simply turned on and plugged in as described above and ALSO when it wen into fastboot mode!!!!
5. unlock your bootloader
- - - - 5.1 on your Phone go to settings -> About Phone -> Tap On "Build Number" 7 Times To Enable Developer Options
- - - - 5.2 Settings -> Developer Options -> enable "Usb Debugging"
- - - - 5.3 Settings -> Developer Options -> enable "Oem Unlock"
- - - - 5.4 connect your turned on Le Max 2 via USB
- - - - 5.5 start the console vie Windows+R -> "cmd" and enter the following
- - - - 5.6 adb usb" -> confirm the connection on your device
- - - - 5.7 (optional) "adb devices" to check if your device is listed
- - - - 5.8 "adb reboot bootloader" brings you to the fastboot mode (if not check on of the links)
- - - - 5.9 (optional) "fastboot oem device-info" shows some info about your device e.g. your lock status
- - - - 5.10 "fastboot oem unlock" unlocks your bootloader -> confirm on smartphone (via "fastboot oem lock" you can also lock your device angain)
- - - - 5.11 (optional) "fastboot reboot" if you dont want to continue
6. boot into twrp without flashing and backup
- - - - 6.1 copy your twrp img (from 1.2) to the path you are using the console from (in the console you should see something like C:\Users\USERNAME>_ thats the device where you need to store your twrp image)
- - - - 6.3 enter the following to your console while beeing in fastboot mode (you possibly have to repeat steps 5.4-5.8)
- - - - 6.4 "fastboot boot RECOVERYNAME.img" replace the RECOVERYNAME by the name of your recovery imagename e.g. "twrp-3.0.2-1-x2.img" (for flashing the rom type [-"fastboot flash recovery RECOVERYNAME.img"
- - - - 6.5 twrp should start after a few seconds
- - - - 6.6 go to "backup"
- - - - 6.7 select everything!
- - - - 6.8 backup
- - - - 6.9 reboot your device (to system)
- - - - 6.10 copy the TWRP folder which contains the folder "BACKUPS" and your files to your computer
- - - - - - - - - - 6.10.1 you will possibly occure a "denied permission" error. so you'll have to go to the console (again in the twrp) and enter "chmod -R 777 /sdcard/TWRP" that changes the permission of everything invluded in the folder TWRP to read+write+execute
- - - - - - - - - - 6.10.2 alternatively you can also backup on a usb stick via otg
- - - - 6.11 to restore repeat till step 6.5 and go to restore, there you should see the backup you created (of course you should have copied it to your device via the pc)
7. flash stock recovery
- - - - 7.1 i flashed the indian stock rom since it already has the google play store installed (is there any benefit using the chinese rom????????)
- - - - 7.2 start twrp again (see 6.3-6.5) and enter the adb sideload mode
- - - - 7.3 on the cmd type "adb sideload STOCKrOM.zip"
- - - - 7.4 CAUTION: the adb command on my computer took so long that the adb sideloadmode on the smartphone exited with a timout error... if you have the same problem just try to start the adb sideload command on the smartphone one or two minutes after you entered it on the cmd
links:
1. https://translate.google.com/transl...e/wiki/Adb_und_Fastboot_Installation_(Windows)
4. http://www.leeco.re/topic/88-manually-installing-android-adb-usb-driver/
5. https://www.gizdev.com/install-twrp-root-le-max-2/
- - - - 5.10 http://en.miui.com/thread-279195-1-1.html
6. https://translate.google.com/transl....de/2014/08/android-geraet-sichern-ohne-root/
- - - - additonally https://aubykhan.wordpress.com/2013...t-into-twrp-or-cwm-recovery-without-flashing/
- - - - alternative: adb backup (but not working as nice as twrp/cwm backup) https://translate.google.com/transl...ystem-und-alle-apps-ueber-adb-backup-sichern/
- - - - 6.9 http://www.howtogeek.com/240655/how-to-copy-twrp-android-backups-to-your-pc-for-safe-keeping/
- - - - 6.9.1 https://www.codeproject.com/articles/825304/accessing-internal-data-on-android-device
7. http://forum.le.com/in/index.php?th...d-gen-superphones-offline-update-guide.12482/
- - - - 7.1 http://forum.xda-developers.com/le-...m-recovery-t3419377/post67779556#post67779556
If you want to help make this tutorial better please feel free to comment and i will add it
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I AM VERY NEW TO THIS SO PLEASE CONSIDER THIS SIMPLY AS A PROTOCOL OF WHAT I DID
I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS WHILE TRYING THIS OUT
Click to expand...
Click to collapse
PS I needed this dial *#*#76937#*#* and enable AT port before I could "see" my phone
can someone please confirm using "15 seconds ADB Installer" instead of android studio works?
i added the link of the "15 seconds ADB Installer" https://forum.xda-developers.com/showthread.php?t=2588979 to the guide as an alternative to installing the whole android studio. If you already have the drivers you might prefer https://forum.xda-developers.com/showthread.php?p=42407269
Thanks for your drivers file. Iv finally use ur driver to connect to my max2 on windows.
[GUIDE/TUTORIAL/HOWTO] Asus Transformer Pad TF300T Stock to Android 7.1 Nougat with 2022 Bootloader unlock
This detailed step-by-step guide helps you transform your Asus Transformer Pad TF300T with Android 4.2.1 to a powerful one with Android 7.1 Nougat.
Don't expect Android 8 or newer on this tab, but 7.1 is already perfect ;-)
Netflix and Disney+ work.
This worked for me only with USB 2.
### I'll make a few notes using this style: PLEASE READ THEM.
Make sure you have latest official updates.
Connect tab to Wifi network.
Go to Settings > About > Update.
You may have to restart tab and do this step again to correctly fetch latest official update.
To check your tab is the correct model, go to Settings > About tablet. The details below are listed :
• Android 4.2.1 (Jelly Bean, versions from 4.1 to 4.3.1)
• GPS 7.9.11
• Wi-Fi 7.1.1.50
• BT 10.38
• Camera TF300T-000128
• Kernel 3.1.10*
• Build number
Tap 7 times on this item to unlock the developer options menu.
We need it later
It looks like J0P40D.WW_epad-10.6.1.27.5-20130902
################# TO GO FURTHER, your BOOTLOADER version MUST END IN 27.1 or 27.5 (27.5 in my case).
### If not: reboot tab and check again for system updates
### If it still not 27.1 or 27.5, go straight to the EXTRA part of this tutorial.
CHANGELOG
v14. Unlock bootloader in 2022
v13. Improved readability + Magisk v23
v12. Magisk 22.1 + minor tuto fixes
v11. Magisk 21, TWRP recovery 3.4, 14 wifi channels.
v10. Dropped SuperSU for Magisk, small tutorial improvements, Timduru ROM v39
v9. Timduru v38 and TWRP 3.3.1-0, updated pack
v8. Timduru v35 and better OpenGapps link
v7. Refresh pack v3 with ROM v32 and TWRP recovery 3.2.3-0
v6. Google Play certification + TWRP 3.2.1-0 (in new pack), Katkiss v29
v5. djibe pack v2 for shorter tutorial (now includes both UnLock_Device_App_V8 and V7)
+ STOP FORCING GPU RENDERING (slow down tab so much)
v4. Upgraded to Nougatella build25 and TWRP recovery official 3.1.1-0
v3. Details for manual update of bootloader
v2. Moved to Android 7.1 Nougat, recovery TWRP 3.1.0-0
v1. Initial release
0) BACKUP YOUR DATA
Backup SMS, photos, contacts before going any further (ex: use the backupyourmobile app).
Check that backup is located on microSD card. Then copy the backup on your PC.
1) DOWNLOAD
- djibe Transformer Pad TF300T pack v3: https://www.androidfilehost.com/?fid=17825722713688260169 or https://anonfiles.com/o2ydE3v9zf/djibe_Transformer_Pad_TF300T_pack_v3_zip
(contains Windows MTP drivers + ADB & fastboot drivers + Asus UnLock_Device_App_V7_update.apk + DMclient.apk for TF300T + ESFileExplorer 4.0.4 + KingoRoot 4.4.3.apk + official TWRP recovery 3.4.0-0 + Magisk root).
### Use Incognito web browser mode if needed to download pack.
Unzip pack on Windows desktop.
+ ROM KatKiss Android Nougat 7.1 (v39): https://forum.xda-developers.com/transformer-tf300t/development/rom-t3453702
Download latest build: https://downloads.timduru.org/android/tf300t/K.A.T/KatKiss/7.x/dev/ or https://www.androidfilehost.com/?fid=17825722713688257428
Thanks to @timduru for his perfect ROMs dedicated to Transformer tabs.
+ OpenGapps ARM 7.1 Pico (Pico Pico Pico only !): https://opengapps.org/?arch=arm&api=7.1&variant=pico
+ Mitmproxy Windows Installer v7.0.0: https://mitmproxy.org/
+ microSD card (FAT32 format), copy the zip files from Katkiss ROM, OpenGapps, Magisk.zip.
### If later on you have errors flashing ROM, GAPPS, MAGISK, try to use another freshly formated microSD (FAT32 partition format).
Then insert it in the tab.
2) INSTALL WINDOWS DRIVERS FOR ASUS TRANSFORMER PAD TF300T
- In Android, go to Settings > About tablet.
Tap 7 times on "Build number", a message says Developer menu is unlocked.
Go to Settings > Developer Menu > check USB debugging ON.
- Windows 8/10 :
On keyboard, type combo : "Windows key + R"
In the Windows Command Prompt, type :
Code:
shutdown -o -r -t 0
it opens Windows Recovery menu:
Go to Troubleshoot > Advanced Options > Startup settings > Restart
At reboot, hit 7 (Disable driver control).
Go to folder /Universal Naked Drivers 0.72 you unziped at start on your Desktop.
Select file android_apxusb.inf > Right click > Install.
Force driver install and wait until a success message prompts (it may never come Nevermind).
Repeat operation with android_winusb.inf .
You can plug tab in USB for driver install completion.
### Not working ? Run the CMD has administrator and write this command :
Code:
RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 132 c:\...\android_winusb.inf
### c:\...\android_winusb.inf being the path to each .inf file. Repeat for each .inf file.
when finished driver installation, reboot PC as usual.
Tab should normaly be seen in Windows explorer as ASUS Transformer Pad TF300.
Make sure MTP file transfer protocol is active on the tablet.
3) ROOT TF300T
Thanks to @d.l.i.w and @GloGlorius, it works in 2022 !
Tablet must be fully charged.
In Android, go to Settings > Security > switch Unknown Sources ON.
Connect tablet to PC.
Copy Kingoroot 4.4.3.apk, ESFileExplorer.apk, DMClient.apk and UnLock_App_V7_update.apk to tablet.
Connect tablet your Wi-Fi network.
Windows connection to Wi-Fi network must be Private (https://support.microsoft.com/en-us...-windows-0460117d-8d3e-a7ac-f003-7a0da607448d),
On the right side of the taskbar, select the Wi-Fi network icon.
Under the name of the Wi-Fi network that you’re connected to, select Properties.
Under Network profile, select Private.
Using File Manager app, install kingo-root-4-4-3.apk and other apps stated above
Launch KingoRoot app.
Tap on One Click Root button.
Wait until ROOT SUCCEEDED is displayed.
Quit app.
### If root fails: wipe data/factory reset and use KingoRoot software for Windows.
4) UNLOCK SYSTEM FILES
Uninstall any installed Unlock App.
Launch ESFileExplorer app.
Tap on top left Hamburger icon to reveal menu > Tools > switch Root Explorer ON.
Kingoroot pops up: Request for root permission, tap on Allow.
Still within ESFileExplorer, go back to Menu > Local > 0.
Long press on DMClient.apk > Copy
Back to Menu > Local > Device > system > app > Paste > Overwrite.
Long press on DMClient.apk > More > Properties > Permissions: Change
Check on as follows:
Owner: Read + Write
Group: Read
Other: Read and confirm with OK
Long press on DMClient.odex > Rename > DMClient.odex.backup
Repeat the same process for UnLock_App_V7_update.apk.
Then restart tablet.
5) SETUP MITMPROXY
Back to computer.
Install Mitmproxy for Windows v5.0 (or 7.0.0) (thx to @Trigve and @Space Gate).
If using PC with Wi-Fi, it must be set as a Private network (see above).
Tablet and computer must be connected to the same router/box.
Find local IP:
- For Wi-Fi connection
Select Start > Settings > Network & internet > Wi-Fi and then select the Wi-Fi network you're connected to.
Under Properties, look for your IP address listed next to IPv4 address.
- For Ethernet connection
Select Start > Settings > Network & internet > Ethernet.
Under Properties, look for your IP address listed next to IPv4 address.
From Windows Start Menu, start mitmweb and grant network access.
Default web browser opens with GUI with url: http://127.0.0.1:8081/#/flows
Go to Options > check Display Event log and click Edit Options.
Scroll down to edit following options:
- block_global: unchecked
- showhost: checked
- ssl_insecure: checked
- tls_version_client_min: UNBOUNDED selected
- tls_version_server_min: UNBOUNDED selected
6) Transformer Pad TF300T BOOTLOADER UNLOCK
Back to tablet.
Go to Settings > Security > Screen lock > PIN.
Set 0000 and retype it on next screen.
Go to Settings > Wi-Fi, long press on local Wi-Fi network > Modify network
Check Show advanced options > Proxy settings > Manual
Proxy hostname: local ip of PC (see Step 5)
Proxy port: 8080
> Save
Disconnect and reconnect to Wi-Fi.
On tablet, launch stock Browser app.
Browse on tablet to mitm.it
Scroll down to download "Android certificate".
Set name: cert > OK, message tells: "cert installed"
Start Unlock Device Tool app.
Scroll down to agree to End User License Agreement.
Check I have read and... and tap on OK.
Check Agree and Press to unlock your device button.
Enter your PIN: 0000 and tap OK
Yipeeeeeeeeeee
After reboot , "The Device is UnLocked" is written on top left screen during boot logo.
Decrypt partitions: go to Settings > Security > Clear Credentials
7) FLASH TWRP 3.4 RECOVERY
Charge tab to 100% before continuing.
Start it in bootloader mode: hold Power + Volume- until you see 3 icons and release buttons.
Connect it to PC.
Open a Windows command prompt on the /djibe pack folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
or while in /djibe folder, type cmd in Windows address bar and confirm with Enter.
### Use fastboot.exe provided in archive. Latest Google binaries won't work.
In Windows Command Prompt (not Windows Powershell !), type:
Code:
fastboot devices
.
If the serial number is written, tab is well connected.
### If not: try this command :
Code:
./fastboot devices
### If still fails: try another USB port
### If still fails: Launch Windows Command prompt in Administrator mode
### If still fails: Check Universal Naked drivers installation
Now type:
Code:
fastboot -i 0x0b05 flash recovery twrp-3.4.0-0-tf300t.img
and wait for the "finished" success message,
### If it fails, try other tricks like above (change USB port, Run Command prompt in Administrator mode, redownload TWRP from official site)
then type:
Code:
fastboot -i 0x0b05 reboot-bootloader
and confirm with Volume+ to load RCK (recovery), it is now TWRP 3.4.
### FROM NOW ON, ONLY USE TWRP RECOVERY TO WIPE DATA OR PARTITIONS, never again bootloader's Wipe data icon !!!
8) SET FILESYSTEM TO F2FS AND NANDROID BACKUP
F2FS is the fastest filesystem for read and write partitions on flash memories. Compared to EXT4, gain is from 15 to 280 %.
No need to format the /System partition because it is Read only and Ext4 is still faster.
On TWRP first launch, check Never show this screen during boot again, then Swipe to Allow Modifications.
Go to Backup, make sure System, Data and Boot are checked.
Now tap on Select Storage button > set it on Micro SDCard,
Swipe to Backup.
Tap on the Home button.
Now go Wipe > Advanced Wipe.
Select Dalvik / ART Cache, System, Cache, Data, Internal Storage and Swipe to Wipe (NOT MICROSD).
Tap on Back button (to Advanced Wipe Menu).
Select Cache partition > Repair or Change File System > Change File System > F2FS and Swipe.
Go Back and back to Advanced Wipe Menu.
Select Data partition > Repair or Change File System > Change File System > F2FS and Swipe.
Tap on Home button.
9) FLASH ANDROID + GOOGLE APPS +/- MAGISK
Still on TWRP Home screen, Install > Storage: Internal Storage and change it to microSD card > OK.
### If it fails, use Kang Recovery (without F2FS partitions): https://androidfilehost.com/?fid=24052804347781183
Select KatKiss-7.1_TF300T*.zip, and Add More Zips,
then open_gapps-arm-7.1-pico*.zip and Swipe to Install.
### If it fails, install zips 1 by 1, make sure microSD is valid and that you downloaded OpenGapps ARM 7.1 PICO version.
OPTIONAL --------------
Go to Reboot > Recovery.
Back to TWRP, go to Install > Magisk.zip and Swipe to install.
Be patient.
Android 7.1 is installed.
When done prompts, tap on Wipe Cache/Dalvik and swype to confirm, wait.
Disconnect tab from PC.
Then Reboot System.
Let the tab start (long time).
10) ANDROID 7.1 Nougat
On Android first launch, immediately manually toggle Wifi ON or you'll run into an app crash (Wifi toggle button is on bottom right of screen).
If your Wi-Fi network is not listed, scroll down to Don't use any network for setup (and refer to chapter 12 to access it again)
Configure Android as you like.
Go to Settings > Performance
Check Set clock values on boot
For Maximum frequency, select 1700 MHz.
I/O Scheduler set zen and Set value on boot
In Settings > Mediascanner filters, uncheck Scan.
In Settings > About tablet, tap 7 times on build number, it unlocks the Options for developers in Settings.
Enter this new menu.
In the Hardware acceleration, make sure Force GPU rendering is NOT checked !!!
11) ROOT WITH MAGISK (OPTIONAL)
Magisk root is started with Android, no need for extra manipulation.
You can manage Superuser permissions and Magisk modules from Magisk Manager app.
12) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Kernel Adiutor for advanced overclock
- KAT App to enhance Audio: https://forum.xda-developers.com/transformer-tf300t/development/app-t2824215
- Any Magisk Module or Xposed Module.
- Your tab doesn't see your local Wifi network? You are probably european and your Wifi is set to channel >= 11.
Go to Settings > Wi-Fi > 3 dots icon > Advanced > Change wifi regulatory domain > EMEA and Rest of World.
Reboot tablet, you now see your Wi-Fi listed.
### If not:
Go to Settings > Security > Switch Unknown sources ON
Download from Play Store Smartpack Kernel Manager or with KatBrowser go to m.apkpure.com
Reboot to TWRP recovery (hold power to shutdown > long press on Reboot)
Go to Mount > Check System partition
Go to Install > flash Magisk*.zip
Reboot > System
With Smartpack Kernel Manager, edit build.prop
Look for ro.wifi.channels and set a value of 14 (ro.wifi.channels = 14)
Reboot tab to list all Wifi networks.
- To uninstall Magisk, rename Magisk-v23.0.apk to uninstall.zip and flash it with TWRP recovery
- Edit build.prop
Reboot to recovery > Mount > select System
adb devices
adb root
adb remount
adb pull /system/build.prop
Edit with Notepad++ and save
adb push build.prop /system/build.prop
adb shell chmod 644 /system/build.prop
That's it.
Enjoy ;-)
Thanks : Timduru, @d.l.i.w, @GloGlorius, AOSP dev, TWRP team, ChainfireSuperSU, TopJohnWu
---------------------------------------------------------------------------------------------------
EXTRA - UPGRADING BOOTLOADER VERSION OF ASUS TRANSFORMER PAD TF300T
- Either use latest official updates in Settings -> About -> Update (While connected to Internet).
But if you are here, it seems to fail ;-)
- Manually update
In your bootloader version, check for the 2 first letters.
If the letters are corresponding, download the file from the official link.
US : http://dlcdnet.asus.com/pub/ASUS/Ee...7.1996726876.1498828408-1286149849.1498586515
WW : http://dlcdnet.asus.com/pub/ASUS/Ee...7.1996726876.1498828408-1286149849.1498586515
CN : http://dlcdnet.asus.com/pub/ASUS/Ee...4.1996726876.1498828408-1286149849.1498586515
JP : http://dlcdnet.asus.com/pub/ASUS/Ee...4.1996726876.1498828408-1286149849.1498586515
TW : http://dlcdnet.asus.com/pub/ASUS/Ee...7.1996726876.1498828408-1286149849.1498586515
Now, unzip the archive once to obtain it like this : WW_epad-user-10.6.1.27.5.zip (WW or whatever 2 letters you require)
Rename WW_epad-user-10.6.1.27.5.zip to EP201_768_SDUPDATE.zip .
###Beware not to rename it to EP201_768_SDUPDATE.zip.zip !
Copy EP201_768_SDUPDATE.zip to the root of a microSD card formatted in FAT32.
Insert microSD in TF300T shut down.
Start tab in Bootloader Mode (Power + Volume-).
Go to Recovery Mode (RCK)
Flash zip, reboot.
Normally it worked ;-)
Check bootloader version again for xxx.27.5 .
Start this tutorial from start again if bootloader ends in 27.5 .
If not, ask for help in this thread.
-----------------------------------------------------------------------------------------------------------------
KEYBOARD STUCK TO QWERTY
Thanks to @BotAlex
Go to Settings > Apps > AOSP keyboard.
Disable app and delete app data.
Reactivate app.
It should be fixed.
Or install another keyboard like Gboard.
hello,
assume :
Select /cache partition -> Repair or Change File System -> Change File System -> F2FS, Swipe.
Go Back and back to Advanced Wipe Menu.
Select /cache partition -> Repair or Change File System -> Change File System -> F2FS, Swipe.
Tap on Home button.
is :
Select /cache partition -> Repair or Change File System -> Change File System -> F2FS, Swipe.
Go Back and back to Advanced Wipe Menu.
Select /data partition -> Repair or Change File System -> Change File System -> F2FS, Swipe.
Tap on Home button.
Best regards.
I was under the impression that ONLY the data partition benefits from converting to f2fs
bonzoe said:
I was under the impression that ONLY the data partition benefits from converting to f2fs
Click to expand...
Click to collapse
You are right! It is very important to convert /Data only to F2FS, never /Cache, never /System.
Flash twrp3 recovery
Hi
I did like every step..
But at step 4 I get the succes messages and the finished messages But it just normally restarts?
I dont know what I am missing at this point. I did however never got a succes messages after installing the android_winusb.inf
Please shine some light!
Thank you
So, is there an advantage to using TWRP 3.0.2.0 over the KANG TWRP 2.8.7.2 that timduru says to use in his KatKiss 6.0.1 rom?
ImaPoBoy said:
So, is there an advantage to using TWRP 3.0.2.0 over the KANG TWRP 2.8.7.2 that timduru says to use in his KatKiss 6.0.1 rom?
Click to expand...
Click to collapse
Nope! Please stay on Kang TWRP as advised by Timduru in order to avoid any known issues caused by TWRP 3.0! Ever follow his install instruction for KatKiss 6.0.1 carefully.
bonzoe said:
I was under the impression that ONLY the data partition benefits from converting to f2fs
Click to expand...
Click to collapse
I read this and other IRL tests :
https://forum.xda-developers.com/showthread.php?t=2697069
Came to conclusion F2FS is great. I'd appreciate your advice.
ebonit said:
Nope! Please stay on Kang TWRP as advised by Timduru in order to avoid any known issues caused by TWRP 3.0! Ever follow his install instruction for KatKiss 6.0.1 carefully.
Click to expand...
Click to collapse
Never experienced any problems with any Timduru creations.
What are they ? (to improve mu tuts).
Thx for help.
Was trying to reply to this message :
Hi
I did like every step..
But at step 4 I get the succes messages and the finished messages But it just normally restarts?
I dont know what I am missing at this point. I did however never got a succes messages after installing the android_winusb.inf
Please shine some light!
Thank you
Click to expand...
Click to collapse
I'm having the same issue (I think)
On win 10, I never get confirmation message for the winusb driver (I got it for the apxusb), and the SN of my tab shows as ????????? when I try to get fastboot devices in step 4.
I tried on a win7 machine but I cant install the drivers (INF file you selected doesn't support this method of installation)
Any help greatly appreciated ofc
Eypisod said:
Was trying to reply to this message :
I'm having the same issue (I think)
On win 10, I never get confirmation message for the winusb driver (I got it for the apxusb), and the SN of my tab shows as ????????? when I try to get fastboot devices in step 4.
I tried on a win7 machine but I cant install the drivers (INF file you selected doesn't support this method of installation)
Any help greatly appreciated ofc
Click to expand...
Click to collapse
Simply flash Kang TWRP 2.8.7.2 !!! (https://forum.xda-developers.com/transformer-tf300t/development/recovery-twrp-t3046479). This is the right one for TF300T.
ebonit said:
Simply flash Kang TWRP 2.8.7.2 !!! (https://forum.xda-developers.com/transformer-tf300t/development/recovery-twrp-t3046479). This is the right one for TF300T.
Click to expand...
Click to collapse
Will I be able to do that without the drivers ? I'm under the impression that fastboot doesn't see my tab so I can't install a recovery.
I can't seem to pass the PC to tablet connection step. What could go wrong?
My PC's OS is Windows 10 Pro, 32bit version. I followed the below guide:
2 - INSTALL WINDOWS DRIVERS FOR ASUS TRANSFORMER PAD TF300T
- Windows 8/10 :
On keyboard, type combo : "Windows key + R"
In the command prompt, type : shutdown -o -r -t 0
it opens Windows Recovery menu:
Go to Troubleshoot -> Advanced Options -> Startup settings -> Restart
At reboot, hit 7 (Disable driver control) and follow instructions for Windows Vista/7.
when finished driver installation, reboot PC as usual.
- Windows Vista/Windows 7 :
Go to folder /Universal Naked Drivers 0.72 you unziped at start on your Desktop.
Select file android_apxusb.inf, then right click -> Install.
Force driver install and wait until a success message prompts.
Repeat operation with android_winusb.inf .
You can plug tab in USB for driver install completion.
Click to expand...
Click to collapse
Both installations responded "sucessful".
I then connect my TF300T to the PC with original charging/data cable, my PC doesn't seem to recognize the tablet. If I go to device manager, I will see an unknown USB with yellow (!).
What did I do wrong?
Thanks,
Eypisod said:
Will I be able to do that without the drivers ? I'm under the impression that fastboot doesn't see my tab so I can't install a recovery.
Click to expand...
Click to collapse
Please download the Asus PC Suite "ASUS PC Sync V1.0.97": https://www.asus.com/de/supportonly/ASUS Transformer Pad TF300T/HelpDesk_Download/
Install the PC Suite on your PC. Connect your Tablet with the PC via USB. Windows will ask for the driver. Point Windows on the folder of the PC Suite. The drivers will be there.
ebonit said:
Please download the Asus PC Suite "ASUS PC Sync V1.0.97":
~~~[link deleted because new members can't post outside link]
Install the PC Suite on your PC. Connect your Tablet with the PC via USB. Windows will ask for the driver. Point Windows on the folder of the PC Suite. The drivers will be there.
Click to expand...
Click to collapse
Still does not work.
*Windows did not ask for the driver.
*When try to update the driver through device manager (pointing to the folder:
ASUS Android USB Drivers
the result shows:
Update Driver Software - Unknown USB Device (Device Descriptor Request Failed)
The best driver software for your device is already installed
Windows has determined the driver software for your device is up to date
Same thing when I tried the "Universal Naked driver".
taz_devil said:
Still does not work.
Click to expand...
Click to collapse
Look at this site: http://gsmusbdriver.com/asus-transformer-pad-tf300t. There you will also find "how to install the USB driver"!
PS: First of all, please check whether on your tablet "USB debugging" is checked on or not. If not check it on!
Then connect your tablet with the PC again. Open the device manager. If there is seen "Android Device" ->ASUS Android Composite ADB Interface or something like that and "Portable Devices"->TF300T, your tablet is known. Then you may check the driver if an update is necessary .
ebonit said:
Look at this site: ~[deleted] There you will also find "how to install the USB driver"!
PS: First of all, please check whether on your tablet "USB debugging" is checked on or not. If not check it on!
Then connect your tablet with the PC again. Open the device manager. If there is seen "Android Device" ->ASUS Android Composite ADB Interface or something like that and "Portable Devices"->TF300T, your tablet is known. Then you may check the driver if an update is necessary .
Click to expand...
Click to collapse
I've done all those things. I am wondering if my data cable is the culprit. Ever since Android 4.x.x whenever I am charging this tablet, and when the battery is 80% or higher, the screen will wake up and the speaker beeps. I have to mute the speaker and over the screen when charging.
djibe89 said:
I read this and other IRL tests :
https://forum.xda-developers.com/showthread.php?t=2697069
Came to conclusion F2FS is great. I'd appreciate your advice.
Click to expand...
Click to collapse
Sorry for late reply, I have been on holiday.
All I know about f2fs is that Timduru recommends using it for data partition on his build. I just follow the experts advice when flashing.
djibe89,
Great job you did here!
Just a few comments. Timduru clearly emphasizes the following points in his installation guide and your guide may cause some confusion under the TF300T owners. I have seen newcomers on the Katkiss threads that had problems with their first install due to not following and using the prescribed versions and steps.
1) Timduru advises only to use twrp_tf300_kang_2.8.7.2.img and not TWRP 3.0.2-0
2) It is also suggested that UnLock_Device_App_V7.apk rather be used as some people had problems with V8.
3) He also suggests using UPDATE-SuperSU-V2.79-20161211114519.zip be used, but does not stipulate not using V2.52 which means this one is optional, your choice.
4) He also advises to ONLY change /data to from ext4fs to f2fs for /data and NOT to do this for /cache.
Just again, excellent job and thanks for sharing.
Hi, thx for posting.
I enhenced the tutorial with your statements.
However, for the TWRP and F2FS notes, it is related.
2.8 TWRP had problems with F2FS, and were buggy until latest 3.02-0. I have this version on all the devices I hack and have complete faith in it.
Enjoy.
See you
I have Yoga Tab 3 Pro, model YT3–X90L
I did a factory reset, of course I don't know the original google account
Of course, OEM unlock was not enabled, of course USB debugging was not enabled.
Of course I do not have the original purchase invoice.
Now I cannot use it, it says to enter original google account.
I tried several accounts, but none of them worked.
I can start the tablet in Droidboot mode, recovery mode, adb sideload.... pretty much everything..... but what do I do next ?
I tried this - https://forums.lenovo.com/t5/Other-...ase/Unlocking-the-A2109-Bootloader/m-p/857215 - the driver is not good, still exclamation mark
Thank you for your help !
Found the solution!
Inspired by this: https://www.unlockunit.com/blog/bypass-google-account-verification-factory-reset-protection/#alcatel
Connect to your wifi network > try to connect to ANOTHER network > enter some random wifi password > show password > select text > Assist > in the search field type CHROME > launch Chrome > download TEST DPC APK (try different websites, it doesn't always work) > install > Setup as manager > restart tablet and that's it !!!!
This guide is how I removed apps on my Lenovo M8 FHD, but applies to almost all Android devices.
(Root is NOT needed)
Things needed:
ADB shell and a Windows computer, an android Apk Analyzer app (I use "Apk Analyzer" from the Play Store).
Enable Developer options & USB Debugging:
Lenovo M8 FHD -- > Settings -> System -> About Tablet -> Tap on "Build number" multiple times. #A pop up should state you are now a developer.
Settings -> System -> Developer options
Scroll down and enable "USB Debugging"
Connect tablet/device to Windows PC with ADB/Fastboot installed (plenty of guides on XDA available here.)
Open an Administrator Command Prompt. (Right click on CMD and select Run as Administrator).
Type the following:
adb devices
A pop up on your device should ask if you want to allow it USB Debugging access, check always allow and select yes.
adb shell
You should now be at a "$" prompt
Using "Apk Analyzer" on your tablet/device search for the app you are looking to remove. (Example search for Lenovo)
On the PC/ADB Shell issue:
pm uninstall -k --user 0 com.APPLICATIONNAME
The APPLICATIONNAME is found using the "Apk Analyzer" app...
The result shown on the screen should be success.
The apps you uninstalled using ADB shell pm uninstall -k --user 0, were only removed for the current user (user 0). If someone else uses your phone with a guest account, all the removed apps will still be available to him.
You can do this for any app that you want, but be warned you can inadvertently delete apps that you need...
How to re-install an app:
cmd package install-exsisting com.APPLICATIONNAME
Let me know if you need help, or have any recommendations.
#M1XMSTR
[GUIDE/TUTORIAL/HOWTO] Nvidia Shield Tablet K1 (shieldtablet) to Android 9 / LineageOS 16
This detailed step-by-step guide helps you transform your Nvidia Shield Tablet K1 tablet with Android 7 to a fresher one with Android 9.
### I'll make a few notes using this style: PLEASE READ THEM.
Before going further, make sure you have the correct model.
Go to Settings > About tablet > Model number: SHIELD Tablet K1
Make sure you have latest official updates.
Connect tab to Wi-Fi network.
Go to Settings > About tablet > System upgrade. Download if update is available.
See all my tutorials at https://github.com/djibe/Android-tutorials
CHANGELOG
v1. Initial release
1) DOWNLOAD
- djibe Shield pack: https://bit.ly/nvidiashielddjibepack
(contains USB drivers + fastboot & adb + TWRP 3.7 recovery + Magisk root).
Unzip pack on Windows desktop.
- ROM AOSPExtended Unofficial: https://forum.xda-developers.com/t/...ded-rom-v6-7-unofficial-shieldtablet.4063675/
Download latest build: https://androidfilehost.com/?w=files&flid=306219&sort_by=date&sort_dir=DESC
OR Android 8.1 / LineageOS 15 Unofficial: https://forum.xda-developers.com/t/...for-shield-tablet-omx-camera-working.4276915/
Download latest build: https://androidfilehost.com/?w=files&flid=325335&sort_by=date&sort_dir=DESC
And suitable Bitgapps package
+ BitGApps ARM 9 v1.8+: https://github.com/BiTGApps/BiTGApps-Release/releases/
+ Tablet must charged to 100%.
2) INSTALL WINDOWS DRIVERS AND BACKUP
Go to the folder you unzipped earlier.
navigate to SHIELD_Family_WHQL_USB_driver_201801 > SHIELD.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect tab to PC and retrieve data.
3) UNLOCK BOOTLOADER OF NVIDIA SHIELD TABLET K1
In Android, go to Settings > About tablet.
Tap 7 times on "Build number", a notification confirms Developer menu is unlocked.
Go to Settings > Developer options and switch USB debugging ON.
Go to my /djibe folder you unziped earlier. In Windows address bar (ie E:\root\Nvidia Shield Tablet K1\djibe\flash), type cmd and hit Enter
to open a Windows Command.
Connect tablet to PC.
Enter command
Code:
adb devices
Command starts adb and returns
Code:
0424916025732008b275 unauthorized
ADB (Android Debug Bridge) has started but tab is waiting for authorization.
On tablet, authorize adb commands from Allow USB debugging dialog: tap on OK.
Then enter command
Code:
adb reboot bootloader
Tab restarts and displays nvboot screen.
Make sure [bootloader](version xxx) is 4.00.2016.04.
Go to Windows Device manager.
Check the Fastboot device > right click to update driver.
Select the manual installation and set SHIELD_Family_WHQL_USB_driver_201801 folder to install fastboot USB drivers.
Installation ends with Android Bootloader Interface.
You may have to unplug-replug tablet in USB.
Tablet should now be seen in Windows Device manager as Android Device > Android Bootloader Interface.
To test, back to Windows command, enter:
Code:
fastboot devices
Command returns
Code:
0424916025732008b275 fastboot
Enter command
Code:
fastboot oem unlock
Using Volume+, select Yes - Unlock bootloader, confirm by pressing Power.
Lowest message is now: LOCK STATE - unlocked
### Unable to run fastboot commands: < waiting for device > ? Go to Windows Device Manager
### While in ADB, driver for Android Device should be named Android Composite ADB Interface. In Fastboot: Android Bootloader Interface
### Click on View > Display hidden devices, right click on Nexus 7 > Uninstall. Reinstall drivers. No success ? Try from another computer
Use Volume keys to select Unlock bootloader and Power to confirm.
Tablet is unlocked.
Press Volume- to select Fastboot protocol and confirm with Power.
4) FLASH TWRP 3.7 RECOVERY
From Windows command, enter:
Code:
fastboot flash recovery twrp-3.7.0_9-0-shieldtablet.img
Command returns Finished. Total time: 0.995s
Back to tablet, use Volume keys to select Recovery mode, confirm with Power.
Wait during recovery boot.
Welcome to TWRP recovery.
Check Never show this screen during boot again and Swip to Allow Modifications.
Go straight to Backup > select Boot, System, Data partitions.
Swipe to Backup and wait during backup.
Back to home screen > Mount (tablet still connected to PC).
You can access tablet's storage folders from Windows Explorer if Data partition is checked and bottom right button show Disable MTP (within TWRP Mount menu).
From Windows Explorer, navigate to SHIELD Tablet > Internal Storage.
Copy TWRP folder and paste it somewhere safe on PC.
This is a perfect backup in case of crash.
5) FORMAT PARTITIONS
On tablet, now go to Wipe > Format data.
Type yes and confirm with bottom right check icon.
Now go to Wipe > Advanced Wipe. Select Dalvik / ART Cache, System, Cache, Data, Internal Storage and Swipe to Wipe.
We cannot flash on wiped partitions. Go to Reboot > Recovery and Swipe to Reboot.
6) FLASH ANDROID + GAPPS (+ MAGISK)
On restart, check Never show this screen during boot again and Swipe to Allow Modifications.
Connect tab to PC.
Back to Mount menu.
Copy ROM + GAPPS (+ Magisk) to Internal storage with Windows Explorer.
Go to TWRP Home > then Install.
Navigate to /data/media.
Select aosp-*.zip,
Add more zips > bitgapps*.zip
and Swipe to force install.
(For root, needed for Netflix : Reboot > Reboot to recovery then Install > Magisk.zip)
Android 9 is installed !
When done message prompts, tap on Wipe Cache/Dalvik and Swipe to Wipe.
Disconnect tab from PC.
Then Reboot System.
Let the tab start (a few minutes).
7) OPTIONAL: ROOT WITH MAGISK
### Only if you flashed Magisk via TWRP recovery
Configure Android as you like.
Magisk root starts with Android.
You can manage permissions and extra modules with Magisk Manager app.
10) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Developer options
Settings > About tablet.
Tap 7 times on build number.
Back to Settings > Developer options
Set Windows animation scale, Transition animation scale and Animator duration scale to .5x
- Tablet not seen by Windows ?
Activate Developer options.
Go to Settings > System > Developer options > Default USB configuration > File transfer
That's it.
Enjoy ;-)
Thanks: @followmsi, @k23m, @nbehary, @DevSwift1, @flex1911, @yattodettaman, @emmett.tsai, TopJohnWu, TWRP team, LineageOS team, BitGApps team
------------------------------------------------------------------------------------------
BOOT TO RECOVERY
Hold Power + Volume- until Droid logo appears and release buttons, this is Bootloader.
Press Volume- twice to show Recovery mode and confirm with Power
I've done this, then struggled a bit to pass safetynet, finally was able to install netflix, but it stays on boot logo and after a while gives me error 501 172. How can I make netflix work?
tandero said:
I've done this, then struggled a bit to pass safetynet, finally was able to install netflix, but it stays on boot logo and after a while gives me error 501 172. How can I make netflix work?
Click to expand...
Click to collapse
Same here.
I need time to investigate.
tandero said:
I've done this, then struggled a bit to pass safetynet, finally was able to install netflix, but it stays on boot logo and after a while gives me error 501 172. How can I make netflix work?
Click to expand...
Click to collapse
I'm back,
this tutorial worked like a charm for me at this hour: https://www.droidwin.com/how-to-pass-safetynet-on-rooted-android-12/
But I did pass the safetynet earlier, it is just the application still gave me error 501, 172. I will try to include missing steps because some are the same as I performed and see if application will run.
tandero said:
But I did pass the safetynet earlier, it is just the application still gave me error 501, 172. I will try to include missing steps because some are the same as I performed and see if application will run.
Click to expand...
Click to collapse
What YASNAC app is writing ?
Added Netflix to Zygisk DenyList and cleared app data ?
yasnac:
basic integrity - pass
cts profile match - pass
evaluation type - basic
no, but just did and rebooted and still there is the same problem (i think, it is still on netflix logo, did not give an error yet), i will update this post soon
edit:
resulted in error 500 172 (https://help.netflix.com/en/node/125643)
tandero said:
yasnac:
basic integrity - pass
cts profile match - pass
evaluation type - basic
no, but just did and rebooted and still there is the same problem (i think, it is still on netflix logo, did not give an error yet), i will update this post soon
edit:
resulted in error 500 172 (https://help.netflix.com/en/node/125643)
Click to expand...
Click to collapse
Add Netflix to Zygisk DenyList (+ other services like in Droidwin post) and clear Netflix app data
Done that once again (cleared app data of netflix and google play store, google play servcies and google services framework).
Unfortunately right now it is stuck on logo, and did not give me the error yet. Which method have you used?
Rom works pretty good on my K1, much better/faster than stock. Battery drain is still there but is nowhere near as bad on a stock rom (I have a brand new battery installed).
For some reason the headphone jack is not compatible with this rom at all (plugging in headphones does nothing). Anyone else notice this?