[COMPLETE GUIDE] usb driver, adb, fastboot, recovery(without flashing), backup, flash - LeEco Le Max 2 Guides, News, & Discussion

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.

Related

[GUIDE] Step by Step ROOT Nexus S via ClockworkMod Recovery image (i9023 and i9020A)

Hi all,
i've recently bought a Nexus S which is a non-US/UK (GT-i9020) version having a SC-LCD screen (GT-i9023).
Which is not, sadly, the only difference...
MOD EDIT: This tutorial also applies to AT&T/Rogers/Telus variants of the Nexus S with SAMOLED screen (i9020A)
This tutorial is based on AllGamer's [GUIDE] Step by Step ROOT Nexus S via ClockworkMod Recovery image (i9020 only).
Part 1 - Drivers
1 - Download Android SDK
2 - Unzip & launch "SDK Manager.exe"
3 - Cancel the first popup & go to "Available packages" > "Third party Add-ons" > "Google Inc."
4 - Select "Google USB Driver package" & click "Install Selected"
5 - Once you're finished go to your SDK installation "extras\google\usb_driver" dir
6 - (MOD EDIT: Ignore this step for i9020A models) Open "android_winusb.inf" and add the following lines to both "[Google.NTx86]" and "[Google.NTamd64]" sections :
;
;Google Nexus S GT-i9023
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E20​as described here [SOLVED] Google Android USB drivers - Nexus S SCLCD GT-i9023 not recognized
7 - Turn Off your SNS
8 - Make sure the SNS is connected to the PC via the USB cable
9 - Boot the SNS into the Bootloader Interface, by holding Volume UP & Power button
It reads LOCK STATE - LOCKED
Open Device Manager (or run devmgmt.msc) make sure you don't see this problem (windows failed to identify the SNS and install the correct drivers)
10 - Do a right click and select Update Driver Software
11 - Select Brose my computer for driver software
12 - Point it to your Android SDK installation "extras\google\usb_driver" dir
13 - Make sure to CLICK "Let me pick from a list of device drivers on my computer"
14 - Then from the list 3 choices select Android Bootloader Interface
15 - If it's installed properly it should show up like this (reboot is not required)
NOTE: if you encounter problems like question marks, unknown drivers, or exclamation marks eve after you have installed the drivers, download and try the USBDeview 32/64 to remove and uninstall all the junk USB devices from your computer/registry​
Part 2 - Unlock
1 - Open a command prompt go to run & type "CMD" & hit enter
2 - Switch to the directory where you unzipped the Android SDK & go to "tools"
3 - Type "fastboot oem unlock" & hit enter
Then you will get thisfastboot oem unlock
...​Selecting YES will wipe EVERYTHING from the SNS, so make sure you have backed up everything you needed to safe before you continue.
4 - Use the Volume up/down keys to select and Power key to apply
you should see something like this after it's done... OKAY [435.433s]
finished. total time: 435.433s​Now back on this screen you should read
LOCK STATE - UNLOCKED​
Part 3 - Recovery
1 - Download the ClockworkMod recovery image (for i9020A models, use this i9023 recovery image too!) 3024v3-i9023.img from [MOD][RECOVERY]Clockwork 3.0.2.4 New wipe & confirm menus!! i9023 & i9020 versions
2 - Save it to the Android SDK "tools" dir
3 - Open a command prompt go to run & type "CMD" & hit enter
4 - Switch to the directory where you unzipped the Android SDK & go to "tools"
5 - Then type "fastboot flash recovery 3024v3-i9023.img" & hit enter
You should get something like this, if not your image is corrupted, download it again
sending 'recovery' (3980 KB)... OKAY [ 0.621s]
writing 'recovery'... OKAY [ 0.511s]
finished. total time: 1.132s​6 - Then back on the SNS select Power Off (Reboot also works)​
Part 4 - Root
1 - Power ON the SNS
2 - Download su-2.3.6.1-ef-signed.zip from [APP] Superuser 2.3.6.1 - Now on the Market [2010-09-05]
3 - Save it to the Android SDK "platform-tools" dir
4 - Open a command prompt go to run & type "CMD" & hit enter
5 - Switch to the directory where you unzipped the Android SDK & go to "platform-tools"
6 - Type "adb push su-2.3.6.1-ef-signed.zip /sdcard/su-2.3.6.1-ef-signed.zip" & hit enter
7 - Boot the SNS into the Bootloader Interface, by holding Volume UP & Power button
8 - Select "Recovery
9 - Then it should boot into this screen, if not then repeat the steps to download the image
10 - Select "Install ZIP from sdcard" (power button to apply)
11 - Select "Choose ZIP from sdcard" (power button to apply)
12 - Select su-2.3.6.1-ef-signed.zip (power button to apply)
13 - Select "Yes - su-2.3.6.1-ef-signed.zip"
Should says
Install from sdcard complete​15 - select go back
16 - select reboot​
You're now free to install the ROM you want.
Have fun, take care !
Credits goes to AllGamer & afilopou
I was heading through this toturial and many others present in the SNS forum. There seems to be some confusion regarding rooting && flash custom roms.
Being rooted does not imply that we can flash new roms. For that we need custom recovery. In several phones, we could only had a custom recovery if the phone was rooted. In SNS, we just need an unlocked bootloader and a compatible recovery. No root is needed IMHO.
Also, in this guide, as in several others, there isn't said anywhere that the custom recovery will be reverted by the system as soon it finishes booting the stock rom. I think it should be clear that we need to remove/rename the script that does that.
Still... Thanks.
Brilliant. Thanks!
this is a very nice, but i'll suggest including the modifications instructions in this topic as well, instead of just linking it to the other topic
DoomFragger said:
I was heading through this toturial and many others present in the SNS forum. There seems to be some confusion regarding rooting && flash custom roms.
Being rooted does not imply that we can flash new roms. For that we need custom recovery. In several phones, we could only had a custom recovery if the phone was rooted. In SNS, we just need an unlocked bootloader and a compatible recovery. No root is needed IMHO.
Click to expand...
Click to collapse
This tutorial is based on AllGamer's one concerning the GT-i9020.
Im very new to Android customisation, i've just followed some toturials i've found trying to make them works, so it may be inconsistent.
As far as i know, i got some problem using the RomManager application that was asking for superuser rights in order to install new rom. This application placed a superuser-xxx-signed.zip at the root of the sdcard, but install on my SNS SCLCD never worked.
Consider using the manual way, not the RomManager application, will be more straiforward.
May be all these steps are not mandatory, but in the end you'll be able to be able to nistall new rom.
Consider it as a global package for customisation.
DoomFragger said:
Also, in this guide, as in several others, there isn't said anywhere that the custom recovery will be reverted by the system as soon it finishes booting the stock rom. I think it should be clear that we need to remove/rename the script that does that.
Still... Thanks.
Click to expand...
Click to collapse
Never noticed that. ClockworkMod recovery has ever stayed in place, even after rebooting the stock rom many times.
Cheers !
AllGamer said:
this is a very nice, but i'll suggest including the modifications instructions in this topic as well, instead of just linking it to the other topic
Click to expand...
Click to collapse
By the way AllGamer, i apologize for the non-agreed use of your tutorial, i was all in the thing at that time, just thinking about to end up with my cyanogen rom.
It works now, thanks to you. MIUI this evening
hi
i also have the 9023 and tried your guide. but im am stuck at #14 because it dont find the android bootloader interface entry, there are just three adb interface driver in this list. i also cleared the driver registry with usbdeview before.
adb driver is installed and i tried to unlock the bootloader but fastboot dont recognice the phone.
and i tried it on 2 different pcs, one with win xp and one with win7, same problem on both systems
ugrubni
When I unlock my bootloader, I've downloaded the "Google USB Driver package" and the "Galaxy Tab by Samsung Electronics".
I haven't edited any .inf file. Those were the instructions I followed from this article.
ok, finally i have bootloader interface installed with edited .inf installed on win7.
i tried to unlock with fastboot but it just does nothing. my nexus says
usb control init
usb control init end
standard_set_configuration
anyone an idea?
ugrubni
Before I root my Nexus S, i got some questions to ask.
Can I "unroot" my nexus s to stock if I do this?
What kind of roms are there available other than CM7 mod?
Hi all,
Followed advice above, had to reinstall SDK as did not have an adpfile. SDK all fine now, but am stuck on fastboot not recognising the phone - stays on waiting for device, did a search on xda but brought up other phones and nothing that could helped me...
updated: adb devices works fine, it sees the phone with adb, but just not with fastboot?
another update:
tried usbdeview to uninstall drivers
re-installed them again, no such luck.. annoyingly adb sees the nexus but fastboot does not..
would appreciate any more ideas?
i finally got it work
fastboot also dont recognized my phone
what i did is:
go to android-sdk/platform-tools folder and copy adbwinapi.dll and adbwinusbapi.dll to /tools folder where fastboot also is located and it worked.
cheerz, ugrubni
kursk said:
This tutorial is based on AllGamer's one concerning the GT-i9020.
Im very new to Android customisation, i've just followed some toturials i've found trying to make them works, so it may be inconsistent.
As far as i know, i got some problem using the RomManager application that was asking for superuser rights in order to install new rom. This application placed a superuser-xxx-signed.zip at the root of the sdcard, but install on my SNS SCLCD never worked.
Consider using the manual way, not the RomManager application, will be more straiforward.
May be all these steps are not mandatory, but in the end you'll be able to be able to nistall new rom.
Consider it as a global package for customisation.
Never noticed that. ClockworkMod recovery has ever stayed in place, even after rebooting the stock rom many times.
Cheers !
Click to expand...
Click to collapse
That's right.The script which removes Cwm recovery after reboot does not exist in i9023(slcd)
Sent from my Desire HD using Tapatalk
hi Guys
sorry about the noob question,
but actually I have a problem installing JDK,
Android SDK always give me back "JDK SE development Kit (JDK) not found."
But I did install several times...,
SDK still not recognise it.
what should I do?
thx
Cheers
Colombus said:
hi Guys
sorry about the noob question,
but actually I have a problem installing JDK,
Android SDK always give me back "JDK SE development Kit (JDK) not found."
But I did install several times...,
SDK still not recognise it.
what should I do?
thx
Cheers
Click to expand...
Click to collapse
Did you try to install eclipse and start sdk from eclipse?
http://www.eclipse.org/downloads/ (download this one Eclipse IDE for Java Developers)
and then read this one
http://developer.android.com/sdk/eclipse-adt.html#installing
Had as well problems, but now i am using eclipse in order to start sdk
thx now it's working, all good, with it, and able to setting up
cheers
thanks ugrubni,
worked like a charm...
now have zeroxs on my nexus sorted!
Hey guys,
Im stuck at part 2 "Unlock", when i run cmd and type fastboot oem unlock i get an error saying fastboot is not recognized as an in or external command, program or batchfile.
I then uninstalled all usb junk with USBDeview 32/64, i didnt quite know what to uninstall, so i just uninstalled everything, maybe a bit to rigorous?
Im in no way a tech wonder and this is the very first phone i tried to root, so if you would be as detailed as possible i would really apreciate that!
hope you guys can help me out?
Fmbl said:
Hey guys,
Im stuck at part 2 "Unlock", when i run cmd and type fastboot oem unlock i get an error saying fastboot is not recognized as an in or external command, program or batchfile.
I then uninstalled all usb junk with USBDeview 32/64, i didnt quite know what to uninstall, so i just uninstalled everything, maybe a bit to rigorous?
Im in no way a tech wonder and this is the very first phone i tried to root, so if you would be as detailed as possible i would really apreciate that!
hope you guys can help me out?
Click to expand...
Click to collapse
Ok lets try to solve it.
First things first, uninstall everything related to sdk and do the part 1 from scratch.Then go to androidsdk/tools folder and check if you have a file named "fastboot".If yes (normally yes because after updating android sdk manager the "fastboot" file must be there.Also make sure you downloaded the google usb driver) then go to androidsdk/platform-tools and find the two files AdbWinApi.dll and AdbWinUsbApi.dll .Copy-paste them to androidsdk/tools .Restart your pc and try the second part.
Hope to help
afilopou said:
Ok lets try to solve it.
First things first, uninstall everything related to sdk and do the part 1 from scratch.Then go to androidsdk/tools folder and check if you have a file named "fastboot".If yes (normally yes because after updating android sdk manager the "fastboot" file must be there.Also make sure you downloaded the google usb driver) then go to androidsdk/platform-tools and find the two files AdbWinApi.dll and AdbWinUsbApi.dll .Copy-paste them to androidsdk/tools .Restart your pc and try the second part.
Hope to help
Click to expand...
Click to collapse
Thnx for your reply,
I followd everything you said, but fastboot is still not recognized, the above error message still aplies!
I do however dont get step 2 of part 2, maybe noobish but how do i get to that directory in CMD?
hmmm what to try next?

[GUIDE/TUTORIAL] Asus Transformer Pad TF300T Any version to Android 7.1 Nougat

[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

[GUIDE/TUTORIAL/HOWTO] HTC One M8 Stock to Android 12

[GUIDE/TUTORIAL/HOWTO] HTC One M8 from Stock to Android 12.1 / LineageOS 19.1
[GUIDE/TUTORIAL/HOWTO] HTC One M8 any version (single SIM: m8ul, m8vzw and m8spr or dual SIM: m8dug and m8dwg) stock to Android 12.1 / LineageOS 19.1
This detailed step-by-step guide helps you transform your HTC One M8 (any version) to a powerful one with Android 12.
Make sure you have the One M8 model, in Android, go to Settings > About phone and check the model.
CHANGELOG
v6. Moved to Android 12
v5. Moved to Android 11, improve readability, update pack
v4. Prepare for Android 11, Updated pack with latest TWRP
v3. Updated pack with latest Magisk
v2.1. Drop ADB 15 sec installer and use latest adb and fastboot.
v2. Update pack and tutorial for TWRP 3.4.0-1
v1. Initial release
1) DOWNLOAD
- djibe HTC One M8 pack (~40 Mo) : https://bit.ly/djibe-onem8-pack
(includes HTC USB Drivers, recovery TWRP 3.6.1_9-0 for all m8, Magisk Root, adb & fastboot.exe).
Unzip the djibe folder from the zip on root folder of C:\ drive.
- ROM Unofficial LineageOS 19.1: https://forum.xda-developers.com/t/rom-12l-unofficial-m8-m8d-lineageos-19-1-stable.4464733/
Download latest build here (compatible with all M8 signel/double SIMs variants): https://www.androidfilehost.com/?w=files&flid=334966&sort_by=date&sort_dir=DESC
# M8 GPe partition layout is no longer supported. The device must first be converted to Sense firmware, otherwise installation will fail.
# Android 13 is incoming
+ MindTheGApps ARM 12.1: https://androidfilehost.com/?w=files&flid=322935&sort_by=date&sort_dir=DESC
+ Charge phone to 100%
+ MicroSD card formatted in FAT32
+ Copy ROM + Google Apps + both Magisk files on microSD card. Insert it in phone.
WARNING. This tutorial uses Microsoft Windows.
WARNING. Warranty is now void.
WARNING. Read carefully the sentences starting with ###.
2) BACKUP DATA AND INSTALL DRIVERS
Disable Antivirus.
Install drivers from my pack:
right click on HTCDriver.exe > click on Run as administrator and continue the setup.
Connect HTC One (while phone on) to PC, let drivers install.
In Windows explorer, HTC One should be available.
### If not make sure phone connection is in File transfer mode (see Android notifications).
### Phone is still not visible in Windows Explorer ? See fix at end of tutorial.
Collect all personal photos, videos, etc ... and backup these on PC.
Use an app like Backupyourmobile/SMS Backup & Resotre to backup texts, contacts, etc.
Check that backup is located on microSD card.
Then copy the backup on your PC.
Disconnect phone.
Check that you have the latest official updates.
### If your phone is Simlocked/carrier locked/Network locked, don't go further.
Visit official website of your network carrier (or call their support) to retrieve your desimlock code.
Ask them for details on how to remove simlock.
How do I know my phone is simlocked ? When you insert a SIM card from another operator, network is inaccessible.
Only a stock ROM can remove simlock.
To go back from custom ROM to stock, see dedicated section at the end of tutorial.
3) UNLOCK BOOTLOADER
In Android, go to Settings > About > Software information > More.
Tap 7 times on Build number. It unlocks Developer options.
Go back to the About menu, you can see the new Developer options menu.
Tap on it, accept the warning.
Toggle on the USB debugging option.
Connect phone, a message appears on phone : Allow USB debugging?
check Always allow and confirm by tapping on OK.
Now, open a Windows command on my "flash" folder (hold Shift + right click on folder -> Open a windows command here).
### Then navigate to my flash folder (if it is on desktop) with this command :
Code:
cd /d C:\djibe\flash
Enter command :
Code:
adb devices
, confirm by pressing Enter.
Command returns :
Code:
List of devices attached
HT35****** device
### If no device is found, uninstall and reinstall properly the drivers while antivirus is off. Or see fix at the end of this tuto.
### Or start fresh on another PC.
Now type :
Code:
adb reboot bootloader
Phone restarts in Fastboot mode. Wait till phone screen is blank in fastboot mode.
Type:
Code:
fastboot devices
Command returns :
Code:
HT35**** fastboot
### You may have to fix drivers again (see fix at the end of tuto)
Type:
Code:
fastboot getvar all
Bootloader must be in version 3.19 (Thx @sterphles)
Type:
Code:
fastboot oem get_identifier_token
, confirm by pressing Enter.
Command returns multiple lines.
Select with your mouse all the lines from
Code:
<<<< Identifier Token Start >>>>
(included)
to the line
Code:
<<<<< Identifier token end >>>>>
(included).
Now on keyboard copy (Ctrl + C combo), then open Notepad.
In Notepad, paste those lines (Ctrl + V combo).
Now manually remove all the (bootloader) strings from each line.
Your notepad should now look like this :
<<<< Identifier Token Start >>>>
37A5DBF4FE5F0D9F4425E54AA91AFDBF
2A20E9C67C3BB4FAE60263F76BDEC6AC
847BF9FFB11DAEA4AB88AC8710435449
9BC12E93DF4C54FFE3D064C4C810C49A
2CDAF2E0CD3A164FED4A568CB0FD2AC6
C01AA991733D949C00987062D691DE91
8AA1C97CEBC3ACE83FECE75A1D03CE72
62414C7DC36A73AFCBF433E1EBE2EDC7
E272F73309632D3EF8C86E472B65E8EF
37E46B52FE3F94FC69D1854CA3DE6F48
C3E10001B233A70B1EAF35134F51FCC6
353E0CC98534E6E60A241A7063D0BE2F
A5B752E75C1C47E6F739BDBE67D024DA
3292A14278247557632639802722A86C
E61424F7666AE085AA9905096FEED1AD
5ECBBD867544E95ABDDA277690B8CB55
<<<<< Identifier Token End >>>>>
Now visit this website : https://www.htcdev.com/bootloader/
Register on the site. Confirm registration with your email.
In the select menu, chose HTC One (M8), click Begin unlock Bootloader button.
Agree to legal terms.
Next page, go to the bottom and click continue to step 5.
In the bottom of this page, in the lower textarea "My Device Identifier Token",
copy and paste the multiple lines you just edited (my example is just above).
Click Submit.
HTC tells you : Token Submitted Successfully.
Open your mailbox (associated to your HTC account).
Copy the Unlock_code.bin file attached to email in my "flash" folder you unzipped.
In Windows command, type :
Code:
fastboot flash unlocktoken Unlock_code.bin
, confirm with Enter.
Command should return :
Code:
unlock token check successfully
Back to phone, press Volume+ to select "Yes, unlock bootloader", then Power button to confirm flash.
Now wait while phone is going to Factory reset.
Don't let Android restart by holding both Power + Volume- to enter bootloader immediately.
FASTBOOT menu is overlined in red.
4) FLASH TWRP RECOVERY
Using the same Windows command prompt, enter :
Code:
fastboot devices
to make sure phone is still available.
Then
Code:
fastboot flash recovery twrp-3.6.1_9-0-m8.img
Command returns :
Code:
finished. total time: x.xxxxs
Now on phone, press Volume- to highlight HBOOT, confirm with Power button.
You are back to the booloader screen (UNLOCKED is written on top line), press Volume- to navigate to RECOVERY, and confirm with Power button.
Phone reboots in TWRP recovery.
5) BACKUP STOCK SYSTEM
In TWRP, check Never show this screen and Swipe to Allow Modifications.
You land on TWRP Home screen.
Always make a backup of your stock system. We never know when a weird bug will decapitate the system.
Go to Backup menu, select all partitions and Backup to microSD card.
Backup the generated TWRP folder content from your microSD card to PC.
6) WIPE PARTITIONS
Back to Home menu, go to Wipe > Advanced wipe.
Select Dalvik / ART Cache, Cache, System, Data, Internal Storage then Swipe to Wipe, go back to Wipe menu.
### Don't wipe SDcard
7) FLASH ROM, ROOT/MAGISK AND GAPPS
Back to Home screen, tap on Install > choose lineage*.zip,
(if you don't see the files, tap on Select Storage and make sure Micro SDCard is active)
then Add more Zips -> Magisk*.zip,
then Add more Zips -> mindthegapps*.zip,
then Swipe to confirm Flash.
Wait for operation to end (can be long).
When completed successfully, tap on Reboot.
Tap on Do not install when TWRP asks for the app install.
Wait during long first boot.
Setup Android.
8) You can use Backupyourmobile to restore data,
use GPS Status & Toolbox app to enhance GPS fix.
That's it.
Enjoy,
djibe
THANKS to TWRP team, LineageOS team, tarkzim, ckpv5, alray, , Flyhalf205, icxj1, R1ghtC, gimmeitorilltell, All M8 contributors.
##################################################
A) Fastboot devices doesn't show any device connected
Install HTC USB drivers
Reboot PC
Open Windows Device Manager (Windows + R shortcut on keyboard > devmgmt.msc > hit Enter)
Search for phone at Other devices submenu > Device is named Android 1.0 or My_HTC
### If it is My_HTC > select it > right click > Uninstall. Disconnect phone. Reconnect phone. Now recognised as Android 1.0.
Select device Android 1.0 > right click > Update Driver
Search locally for driver > Show a list
Select ASUS Android Device.
Manufacturer: select Google, Inc. and set driver to Android Bootloader Interface
Confirm install.
B) Go back to stock from a custom ROM with a HTC One M8
- Either restore your TWRP backup with TWRP recovery
- Or restore a community TWRP backup with TWRP recovery (https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860 see posts 2 & 3)
### With S-ON and keep device Unlocked
To find suitable backup for device, boot phone in Bootloader mode (Power + Volume-)
Look at your hboot version (hboot 3.19.0000 is most frequent)
Launch a fastboot command:
Code:
fastboot getvar all
Make sure IMEI is a valid number.
Look at your CID and MID values. Try to find exact same TWRP backups for your phone.
### Flash only exact model versions.
Then wipe all partitions and restore the correct TWRP backup an angel made for you.
- If TWRP restore fails, start with these posts :
You will need a Rom Update Utility (RUU) for your exact model version.
This is compatible with S-ON, will need to relock your Bootloader (save your Unlock_code.bin +++) and need original recovery
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
https://forum.xda-developers.com/htc-one-m8/general/guide-restore-european-htc-one-m8-to-t3072235
C) No IMEI visible and no cellphone network detected with HTC One M8
Composing *#06# shows an empty IMEI dialog window.
or Settings > About phone > IMEI. IMEI: Unknown, IMEI SV: Unknown
Refer to B) tutorial to get back to stock.
Tuto updated for latest TWRP recovery
Please remove the 15 second adb. The OP of adb 15 second states in his post that it's outdated and should not be used.
Never_Sm1le said:
Please remove the 15 second adb. The OP of adb 15 second states in his post that it's outdated and should not be used.
Click to expand...
Click to collapse
Very nice !
Thx, pack and tutorial updated.
Can I use this guide for my m8wl?
And if it's possible, which of the two builds should I download?
Alexcxvtr said:
Can I use this guide for my m8wl?
And if it's possible, which of the two builds should I download?
Click to expand...
Click to collapse
Hi, look at this first: http://droider.eu/2014/09/20/htc-one-m8-models/
Then pick the correct ROM.
Thank you .I did it by following your guide.
murphylim said:
Thank you .I did it by following your guide.
Click to expand...
Click to collapse
Thanks, it is always encouraging to have support.
Still a good phone
Hi, I updated pack with latest Magisk root version and checked download links.
For Windows 10 users, use HTC drivers version v4.17.0.001 - Download them from here - Zippyshare.com - HTC Mobile Driver v4.17.0.001.exe
Everything else works just fine. @djibe89 thank you.
hymnz said:
For Windows 10 users, use HTC drivers version v4.17.0.001 - Download them from here - Zippyshare.com - HTC Mobile Driver v4.17.0.001.exe
Everything else works just fine. @djibe89 thank you.
Click to expand...
Click to collapse
Hi, thanks for feedback.
Drivers 4.2.0.001 didn't work ?
djibe89 said:
Hi, thanks for feedback.
Drivers 4.2.0.001 didn't work ?
Click to expand...
Click to collapse
No. Not on Windows 10.
djibe89 said:
Now type :
Code:
adb reboot bootloader
Phone restarts in Fastboot mode. Wait till phone screen is blank in fastboot mode.
Type :
Code:
fastboot devices
Command returns :
Code:
HT35**** fastboot
### You may have to fix drivers again (see fix at the end of tuto)
Click to expand...
Click to collapse
Hi,
I'm at the stage of trying to unlock the bootloader. The phone restarts in fastboot mode but when i type in fastboot devices nothing happens.
and then if i skip that and type get_identifier_token. the return is waiting for any devices. and nothing happens.
What have I missed?
Thanks
i've since been able to get past this stage. I used htc driver 4.17. I'm now stuck on the token. cmd prompt keeps saying cannot load the file no such file or directory. but i'm so sure i have the file in the right folder
juggled_balls said:
Hi,
I'm at the stage of trying to unlock the bootloader. The phone restarts in fastboot mode but when i type in fastboot devices nothing happens.
and then if i skip that and type get_identifier_token. the return is waiting for any devices. and nothing happens.
What have I missed?
Thanks
i've since been able to get past this stage. I used htc driver 4.17. I'm now stuck on the token. cmd prompt keeps saying cannot load the file no such file or directory. but i'm so sure i have the file in the right folder
Click to expand...
Click to collapse
Hi, when
Code:
fastboot devices
doesn't return anything, it means there is an USB driver problem.
You'll have to try to fix from Windows Device Manager.
hymnz said:
No. Not on Windows 10.
Click to expand...
Click to collapse
Hi, the Driver installer from my pack (HTCDriver_4.2.0.001) sends an error during install, but then drivers finally install.
djibe89 said:
Hi, when
Code:
fastboot devices
doesn't return anything, it means there is an USB driver problem.
You'll have to try to fix from Windows Device Manager.
Click to expand...
Click to collapse
Thanks for your work. I managed to plod my way through everything and get it working. Very happy the old phone can keep going on.
juggled_balls said:
Thanks for your work. I managed to plod my way through everything and get it working. Very happy the old phone can keep going on.
Click to expand...
Click to collapse
Awesome !
Enjoy
Hi, tutorial and pack updated for Android 11
thx for the guide!
seamonkey420 said:
thx for the guide!
Click to expand...
Click to collapse
Hi, glad you liked it !
Enjoy your phone

[GUIDE/TUTORIAL/HOWTO] Sony Xperia SP stock to Android 10

[GUIDE/TUTORIAL/HOWTO] Sony Xperia SP stock to Android 10
[GUIDE/TUTORIAL/HOWTO] Sony Xperia SP (C5303 or huashan) to Android 10 Q / LineageOS 17.1
This detailed step-by-step guide helps you transform your Sony Xperia SP to a powerful one with Android 10 Q.
To make sure you are with a Xperia SP / C5303 / huashan:
On the smartphone, go to Settings > About phone. Check that the "Model number" is correct : C5303.
Just below note the "Android version". It must be 4.3.
### We need to make sure Bootloader can be unlocked before going further.
Open dialer, enter code
Code:
*#*#7378423#*#*
In the follow menu, go to Service info > Configuration > Rooting status.
Bootloader unlock allowed: Yes
If it is set on No, you cannot update your device. You can quit this tutorial and cry, you will never unlock it.
### You must be logged as a Microsoft Windows administrator to run console commands below.
### When you lose control of your Xperia SP, hold Power + Volume+ until tab restarts.
CHANGELOG -------------------
v1. Initial release
1) DOWNLOAD FILES
- djibe Xperia SP pack (~ MB): http://bit.ly/djibe-xperiasp-pack
(contains FlashTool Xperia Driver Pack 1.8 for USB drivers + fastboot + recovery TWRP 3.4.0-0 + flashable TWRP 3.4 + Magisk root + Smartpack Kernel Manager)
+ ROM LineageOS 17.1 https://forum.xda-developers.com/xperia-sp/orig-development/rom-lineageos-17-1-xperia-sp-t4147075
Download latest build: https://mega.nz/folder/r11xAbSL#Lwt5FOvHpV1POu_3OHU6Uw
+ OpenGApps ARM 10 Pico: https://opengapps.org/?arch=arm&api=10.0&variant=pico
+ Charge phone to 100 %.
NB. Use a USB2 port to connect tablet to PC.
2) INSTALL DRIVERS
Commands below are for Windows 10 installation of unsigned drivers.
### For other Windows versions, Google "windows X install unsigned driver".
On the keyboard of PC, use "Windows key + R" combo.
In the command prompt that opens, type:
Code:
shutdown -r -t 0 -o
This opens a Windows menu:
Go to Troubleshooting > Advanced Options > Settings > Restart
Upon restart, press on keyboard : key 7 - Disables drivers signature verification
After boot,
Start Flashtool Xperia Driver Pack 1.8,
check the Flashmode Drivers, Fastboot drivers, Common drivers Viskan board, start the installation and confirm the
forcing the driver installation. It ends by saying that everything was installed.
Restart Windows.
2bis, optionnal, FOR WARRANTY PURPOSE) Backup bootloader
Cannot help you precisely, didn't know about it at the time.
- Root. Follow Bin4ry root : http://forum.xda-developers.com/showthread.php?t=1886460
Download : http://forum.xda-developers.com/showthread.php?t=1886460
- Then Backup TA. https://github.com/DevShaft/Backup-TA
Unzip it in C:\
Make sure partition is saved.
3) BACKUP ALL YOUR DATA
Backup every SMS, photo, app login or sync everything in the cloud.
You will lose everything, including what is contained in the microSD card during bootloader unlock.
So backup everything and transfer every file to your computer.
### Do it now or you will regret it.
4) IMEI NUMBER AND UPDATES
On phone, go to Settings > About phone > Status > IMEI
Note the IMEI (15 digits). Store it.
If your Android version is lower than 4.3 (refer to beginning of tutorial),
connect to your Wifi network,
go to Settings > About phone > Software update > System.
5) MAKE SURE PHONE IS NOT SIMLOCKED
We need to check phone is not SIMlocked.
Open dialer, enter code again
Code:
*#*#7378423#*#*
Go to Service info > SIM lock. If everything is blank/unchecked ( [] ), phone is Desimlocked.
If not, you must contact your network provider for an unlock code.
### Don't move further until phone is simlocked. You cannot debrand/desimlock it using a custom ROM.
6) GENERATE BOOTLOADER UNLOCK CODE
From your PC, go to https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/
At the bottom of the page, in "Select your device:" menu: select Xperia SP.
Enter your IMEI, check first 2 checkboxes "I acknowledge that", click Submit and complete the captcha to generate unlock key.
Note the unlock code (beginning and end of page paragraph C.)
7) CONNECT PHONE IN FASTBOOT MODE
Phone powered off, hold "Volume up" while you plug phone in USB.
The blue light appears at the front bottom edge, the drivers install in Windows.
8) UNLOCK BOOTLOADER
In Windows, copy the path to the "flash" folder you unziped earlier.
Open a Windows command prompt : Start menu > Command prompt > Start as administrator
Then type
Code:
cd /d thePathToFlashFolder
(ex: E:\root\djibe Sony Xperia SP\flash)
Type:
Code:
fastboot getvar version
If "version: 0.5" is returned, drivers are correctly installed.
Create this text: fastboot -i 0x0fce oem unlock 0xAPPENDYOURUNLOCKCODE
Paste the previous line in windows command:
Code:
fastboot -i 0x0fce oem unlock 0xYOURUNLOCKKEY
confirm with Enter. After 5 seconds, it is displayed Finished. Total time: ...
Bootloader is unlocked !
9) FLASH TWRP RECOVERY 3.4
Still in fastboot, type in console :
Code:
fastboot flash boot twrp-3.4.0-0-huashan.img
. Confirm with Enter.
Wait, then once the confirmed success,
type :
Code:
fastboot reboot
(confirm with Enter).
AND while it restarts, repeatedly click Volume+ AND Volume- buttons to access the recovery (can take a while).
Leave phone connected to PC.
10) BACKUP CURRENT ROM AND USE TWRP RECOVERY
You are now in TWRP recovery,
check Never show this screen during boot again and Swipe to Allow modifications.
Go to Backup, select all partitions.
Tap on Select Storage > select Internal Storage and confirm with OK.
Then swipe to start backup.
Click the TWRP icon to return to home.
Go to Mount. Select Data partition and make sure bottom right button is dsiplaying Disable MTP text.
Phone must be connected to computer.
In Windows Explorer, open Xperia SP device > Internal Storage.
Copy whole TWRP folder and save it somewhere safe on your PC.
Copy twrp-3.4.0-20200808-fota-huashan.zip in your Internal storage folder.
11) INSTALL A PERMANENT TWRP RECOVERY
The TWRP recovery you are using is temporary.
We need to flash it on a partition.
Back to TWRP home menu > Install > tap on twrp-3.4.0-20200808-fota-huashan.zip and Swipe to confirm flash.
12) FORMAT PARTITIONS
### Last warning before losing all your Data. Backup
Go back to Home menu.
Go to Wipe > Data Format, type yes and click OK.
Go Wipe > Wipe Advanced > Select Cache, Data and swipe to confirm flash.
Still from Windows Explorer, copy ROM + OpenGapps + Magisk on phone.
13) INSTALL ROM AND GOOGLE APPS
Still under TWRP home menu.
Go to Install > select lineage*.zip.
### If no file is visible, click Storage > select Internal Storage.
### If you get an error and flash fails, go to Reboot > Recovery and wait for TWRP to reboot.
Add more zip > OpenGapps*.zip file
Swype to confirm flash.
Wait while Install Zips are flashed.
At the end, select Wipe Dalvik and cache, Do not install TWRP app and then Reboot system.
Wait during long first boot.
Enhoy your new phone.
14) ROOT
Magisk grants you superuser privileges from boot.
No extra Root manipulation needed.
Configure Android as you like.
14) OVERCLOCK (optionnal)
Open built-in Files app.
Open microSD folder.
Install Smartpack Kernel Manager app from my pack.
Launch app and grant root access.
Go to CPU menu > Apply on boot, CPU Maximum Frequency 1728 MHz
13) Others
For faster GPS fix, use GPS Status and Toolbox and downlaod A-GPS data.
Your tablet is a rocket, enjoy
Thanks: LineageOS team, TWRP team, OpenGApps team, Flashtool Xperia Driver pack team, @CaHbKaUp, @CyberWalkMaN, @AdrianDC, Chippa_a, @Rootk1t
I respect your diligence. :good:
You have already created 17 guides of this type.
The devil is in the details.
Do you have all these 17 devices and have gone through step by step or have you created the guides based on the information collected from the XDA?
.
Hi @ze7zez.
Good question !
I started with my own Nexus One. It was horrible, XDA is not for mega noobs.
It then took me one whole week to flash Asus transformer Prime from my brother-in-law. Then I started writing detailed tuto for Android.
I hacked my parents phones and mine. But I had too few devices in my hands.
So recently I discovered my tutorials were read by 500.000+ users, so I think it is useful.
Now I buy second hands phones, 36€ for this Xperia SP (the first one was 30€ and Bootloader unlockable )
It took me the day (today) to write this tuto. I made screenshots for the first time and will publish it on ifixit.
I gonna sell both Xperia SP and I want a Nexus 4 now
Need some guidance
Hi, I am coming back to this device after almost 6 years. I was well versed in flashing ROMs etc then but I seem to have lost most of that knowledge now. Last I used this device, I had already rooted it, unlocked bootloader, IIRC changed the kernel, put a custom ROM "CM 11-20150901-SNAPSHOT......." As I recall I also installed both TWRP and CWM recoveries, made a backup of Stock ROM. The thing is I remember having issues with booting into either recovery which I some how corrected, but it again started giving me problems. Right now I can't boot into either of the recovery with either Power+Volume UP/Down, after the Sony logo the screen just remains black. I have to restart the phone with restart button in the back panel. Can you please guide me as to how to proceed. I want to get to this latest build but I can't even get into recovery. Thanks in advance.
Hi @shalabhvickysom, you can activate Developer Options > then Android Debug Bridge ADB.
Then use a computer and a terminal: adb reboot bootloader or adb reboot recovery.
Keep us informed.
Hi @shalabhvickysom, you can activate Developer Options > then Android Debug Bridge ADB.
Then use a computer and a terminal: adb reboot bootloader or adb reboot recovery.
Keep us informed.

[GUIDE/TUTORIAL/HOWTO] Nvidia Shield Tablet K1 Stock to Android 9

[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?

Categories

Resources