[Guide][root][unlockloader][roms][twrp][tutorial] for huawei devices - Huawei Developers

Disclaimer: Im new and i'm not that good at english,im not responsible for bricked devices.
So for the past month i've been through a journey of tryng to break through huawei's draconian security and i can proudly say that i finally did it, i installed a custom rom on my FIG-LX1
I've read a lot of sources and it all seems to be all over the place so i'm going to try and make this as easy as i can for you.
1.First of all ,if you want a custom rom go to OpenKirin ( https://openkirin.net/devices/) and choose your rom and see if you need to upgrade/downgrade your emui and also if your device is supported.
2.For the bootloader you have two options
a) The paid one, use sigma key or dc unlocker
b) The free and geeky one. Attention you'll need to open up your phone, which is honestly not that hard and you can pay a pro to do this for you for like 5 bucks .This method is pretty straight forward:\
1.Go to Potato NV (https://github.com/mashed-potatoes/PotatoNV) , see if your device is supported and download the software
2. Now comes the hard part, you need to take off the back cover of your device. Shut down your phone, then take your phone cover off, then you need to search google for your test point. For example for me it was Fig lx1 test point (device model+ test point)
3. When you located the test point youll need to short it with the motherboard shield. In their tutorial they said that youll need to solder it ,but it can be done easier. You need just a very small piece of wire and someone to plug the device
Here's how the process looks:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4.Open potato nv software. Now you need another person to help you. Hold the phone , touch the test point and the motherboard shield and keep them shorted while the other person plugs the usb cable from pc to phone. U should hear the connection sound from windows and the CHARGING LOGO SHOULDN'T APPEAR.
5. Now you can stop shorting the test point and the shield, but keep the phone connected to PC.
6. In potato Nv choose your cpu and unlock bootloader
7.Now your bootloader is unlocked ,if any problems you still have the bootloader unlock code
Back to roms and twrp .
Now you should see this messagge appear:
This menu is very important for changing the rom ,cause every rom needs emui 9 or 8 to be installed and from here you can reinstall the stock emui after flashing custom rom but we'll talk about it later.
Now for flashing twrp.
Boot the device into bootloader mode(shut down ,then hold power+ volume down until huawei appears on screen or Better and easier and useful for later download android platform tools from SDK Platform Tools release notes | Android Developers (developer.android.com/studio/releases/platform-tools).Plug the device into pc,enable usb debugging . Open a cmd and open the folder location .Example
Code:
cd C:\Users\USerName\Desktop\platform-tools
and type
Code:
adb reboot bootloader
. You should see that your bootloader is unlocked
Download android platform tools (developer.android.com/studio/releases/platform-tools)
Now find your twrp img for your phone , rename it to recovery.img and put it in in the platform-tools folder
Now in terminal open cmd in platform tools folder and type
Code:
fastboot flash recovery_ramdisk recovery.img
Now you have twrp installed
Note that you wont use it neither for rooting with magisk neither with installing custom rom.
Installing custom rom:
Open kirin has a very good user guide and i suggest you to follow it: OpenKirin (openkirin.net/user_guide/openkirin-rom-installation-instructions/)
Btw their rom works with twrp
But it doesn't say how to switch your rom or go back to stock for switching you need to be on stock)
1.Go to Android File Host - Free file hosting for Android developers ( androidfilehost.com) and search for your build number (eg: FIG-LX1) and download a firmware emui 8 or 9.
2.Open the zip ,go to software and from here youll see a folder called dload, extract it somewhere
3.Now youll need a sdcard in your phone,plug your phone into pc and put the dload folder on your sdcard (it should bee on the root directory ,basically dont put it in another folder in sdcard)
3.You should've noticed already that every time you restart your phone there is a warning message sayng that your phone is unlocked( image above)
4.Press volume up for 3 seconds and it should take you to huawei recovery ,from here press wipe data and factory reset to kinda reinstall huawei recovery which youll use for dload
5.After wipe restart your phone ,press vol up + vol down + power until huawei logo to enter force update
6.Now wait for it to do its job and install emui.
*If it doesnt do anything , take the sd card out ,put it in another device ,open dload folder,find update.zip and put it on the sdcard instead of dload folder
7. To switch the rom repeat the steps from open kirin,note that if u had twrp youll need to install it again
Now the hardest part ,rooting...NOte that i tested root only on stock so your process can be diffrent but im not sure ,you cand try for other rom this process
For stock and no twrp:
1.Force update emui with dload method , needed for a recovery img.
2.On pc open dload folder ,open update.zip and extract UPDATE.APP
3.Now download huawei app extractor from here [TOOL] Huawei Update Extractor [UPDATED: v0.9.9.5] | OPEN-SOURCE LIBRARY | XDA Developers Forums (xda-developers.com) (forum.xda-developers.com/t/tool-huawei-update-extractor-updated-v0-9-9-5-open-source-library.2433454/)
4.Open the app and go to settings and untick every box you see
5.Now go to extract and extract the UPDATE.APP file
6.Now you should see a lot of nonsense,find recovery_ramdis.img ,left click it once, then right click for options and select extract selected
7. Now u should have a recovery_ramdis.img file.Move this file on your phone and install magisk manager.
8.Open magisk and press install in the tab with the mask(the first install button) tick the box with recovery mode, then select patch a file and select the recovery_ramdis.img file .Now it patches it. Then move the patched file to the pc again, to the platform tools folder
9.Enable usb debugging on the device and plug device to pc
10.Open cmd on pc and type
Code:
adb reboot bootloader
, or simply reboot to bootloader(shut down phone,then hold power + vol down until huawei logo appears)
11. In cmd type
Code:
fastboot flash recovery_ramdisk magisk_patched_yourfile.img
Dont forget to change the yourfile into your file name mine had something like this : jhfdU
12.Reboot your phone and voila u have root, if doesn't work go back to magisk press again install,tick recovery mode, but this time select direct install and this should resolve problems
Magisk official guide(kinda hard to understand) : Installation | Magisk (topjohnwu.github.io) (topjohnwu.github.io/Magisk/install.html#huawei)
Note that by this you'll remove your custom recovery .
IF U WANT TWRP i assume that you patch the twrp img file with magisk and flash i,t you can try it out and post your results or u can try to just flash twrp as is.
Hope i helped you !!

Related

Sony Xperia Complete Rooting and Flashing guide - Flashing Made Simple

So its time to have some fun flashing your phone.Rooting means getting acess to the Root of the Phone Rom.Once rooted you can install Custom Roms [Operating Systems],Remove Crappy apps, get better performance and Battery etc. Rooting your phone is Not Big job ,But a Bit lengthy at the first time..But you will end up in trouble if you dont know the actual procedure.That doesn't mean you will brick your phone.Android phones are based on Flash ROMs ,just like a memory card. So flashing a 100 or1000 times wont destroy it.It is completely Safe and there is nothing much to worry about .But make sure sure you have an un interrupted power supply if you are using a PC. So here i am taking effort to bring out a step by step description of the process.
Understanding what it is...
Many people still doesn't know what actually is rooting and a custom rom mean. The Process is to completely Remove your Current Phone OS and Install a Fresh copy of another OS. If you have installed a windows /Linux formatting your pc its easy to understand.Your device has a 440MB flash memory for OS and 420 Mb Internal memory for installing apps etc.When the phone comes to you not the entire memory of 420 Mb is available to u ,because sony has included some stock Bolt wares in ur OS.So rooting provides a larger internal memory as well .In your pc you might have come across the bootloader /boot menu .In your sony phone this boot-loader is Locked to prevent alterations. But android being an opensource stuff , it is required that the phone manufacturer should allow you to install Custom androids. So in order to access the Boot-loader u will have to unlock it first. After unlocking a recovery Mode is to be installed.That's what u call kernelling. After that , u will wipe the User memory 420mb ,Format[Done auto] & install the Zip file containing android os onto the 440Mb memory.The zip file contains the Customized android OS.Its called the rom .MiUi is one such rom.
Benefits: Lots of Customization , More features ,Better battery ,A faster OS,Latest Android versions.
Negatives: Voids warranty .
Why it voids warranty ?
Simply because Sony cant take up the responsibility if you destroy your phone hardware by your mistake. For example if u overclock [Possible only after rooting] the CPU there are chances that it smokes out.
Warning : Unlocking Boot loader voids Sony Service Center warranty.
Rooting involves 3 steps,
1-Unlocking Bootloader
2-Installing a Custom Bootloader /Kernel/Recovery
3-Installing the Rom /Android OS.
Tools Required [Download all of them before starting ]
1.Sony Xperia Flashtool *[Optional]
2.Drivers
3.android_winusb.inf Driver[Click to Download]
4.ROM & Kernel (Once downloaded , Copy the Rom File to the Micro SD[Important, if u don't wanna end up searching for a card reader ] )
OR
ROM-2 [Lasans's MiUi ] ( If u find any issues with the other one Try this Rom,Download only the Rom File )
*Actually you do not need the Complete Xperia flasher tool. you are only using the Fastboot from Xperia flasher. If u don't have time to download the Flash tool just download only the Fastboot tool and Drivers from HERE or Here .But its better to download Flash tool as u can perform some additional operations like Installing apks , Uninstalling features etc . using the tool.
Step 1 : Unlocking the Bootloader
1. Unlocking the Bootloader requires the Unlock Code.You can get it from the sony website at the Following link .
http://unlockbootloader.sonymobile.com/
Enter your Phone IMEI ,Email etc. and Get the unlock Code.While you enter the IMEI take care not to Include the last DIGIT of your IMEI.IMEI should be 14 digits long.
2. Now Install the SONY Xperia Flash tool from Here
http://androxyde.github.com/ OR JUST UNZIP THE FASTBOOT.ZIP TO C:\
3. You will need fastboot on the computer to unlock the bootloader of the Sony Ericsson Live with Walkman . Fastboot is available in Xperia Flashtool folder in C:\Flashtool or where you have installed Flash tool OR IN C:\ WHERE U HAVE UNZIPPED IT TO.
4. Now Power off your Sony Ericsson Live with Walkman.
5. Press & hold the Volume Up button while connecting the Sony Ericsson Live with Walkman to the computer.The Notification LED will now glow in Blue color.This is called Fastboot Mode.
[ Press and Hold Vol Down key while connecting to USB will Boot in Flash Mode ]
6. If the drivers are not installed automatically ,go to the Drivers folder in Xperia flash tool folder and install the drivers.You can check if the drivers are properly installed by going to the windows device manager and see if there is any Unidentified device .If properly installed it will shown in device manager.If u find an entry "s1 boot fastboot " with Missing drivers in device manager ,Right Click there -> Update Driver ->Browse My computer ->Let me Pick -> Have Disk >> Then Point to the Downloaded "android_winusb.inf" file. >> Choose "Android Bootloader device".Now your drivers Should be installed.In the device manager You will find an Android device.
7. Go to Terminal or Command prompt in windows and change directory to "C:\Flashtool\x10flasher_lib" .You will find the fastboot.exe file there.
See the Image attached at Bottom of this page .
Enter following commands to navigate
cd\
cd flashtool\x10flasher_lib or cd fastboot
Now you are int the folder containing fastboot.exe
8. Now check if the phone is properly connceted and detected by Typing the following in the cmd .
fastboot -i 0x0fce getvar version .It must return the version of fastboot .Eg: .3
If it shows "Waiting for device" the device is not connected properly.If it returns anything else [ like .3 ] the device is detected .
9. Now type the Following and press ENTER
fastboot -i 0x0fce oem unlock 0xKEY
where KEY should be replaced by the Unlock key you generated from the Sonymobile website .
10. Once it display Flash operation complete , you are Done .Your phone Bootloader is no more locked.
PS:If you find any problems using this method you may follow one these links.
http://unlockbootloader.sonymobile.com/instructions
http://forum.xda-developers.com/showthread.php?t=1560613
Step 2 : Installing the Kernel
Android is based on the Linux kernel.A kernel is actually a link between the OS and the hardware.It controls the hardware.So obviously it has got something to do with the performance & battery life. The kernels contain the RECOVERY MODE+ROOTING. You may read more about kernels on xda-developers.com .So there are a number of kernels available for Sony live . You may find it in the rom download pages usually.
Two of the popular kernels are
1. X-Kernel
2. Rage kernel
Download one of these kernels, a ROM file and flash your phone.
Here we are working with the Expeacers MiUi Rom.
Steps
1. Once you are done with Unlocking Rest is So easy .Do not disconnect the phone .We are going to use the phone in Fast boot mode. If u have disconnected ,don't worry ,just shut down [Or pullout & Re-insert the battery ]the device and Reconnect it to PC Holding the Vol+ key pressed.Now the notification led will turn Blue.You are back in fast boot mode.
2. Copy the Downloaded kernel img file into the folder where fast boot is located and rename it to "Boot.img" .
3. Now go to Command prompt , Navigate to the x10flasher_lib[As done before ] ,Enter the following command.
fastboot flash boot boot.img or
if it doesn't do anything
fastboot -i 0xfce flash boot boot.img
4. Now you are done ."Flash operation complete " will be displayed. Disconnect your phone from PC.
Before you proceed to next step you should have copied the ROM[Zip file ] to your Memory card in the phone.
Step 3 : Installing the ROM
This is the easiest part.Just turn on your phone ,after a few 5-10 seconds the notification led will glow .
At this time Press the vol+ key once. Phone will enter the Boot loader . Now you can see a number of option.Use the Vol+/- key to navigate ,Home key to select . Choose the wipe Cache ,Wipe Rom/factory Reset options[in some boot loaders ] .This is important as this will clean up all the previous user data and installed apps. Wipe actually cleans the internal memory and Cache. This is called clean install.
Now after cleaning up ,Choose the "Install Zip From SD Card" . Now follow the on screen instructions Rest is self explanatory. Once you finish installing the Rom Reboot the device. In most of the cases First time booting might be so long. All you have to do is be patient.If its taking longer than usual try pressing the Home key once.
So its time to Enjoy a new android... A yummy Ice cream Sandwich. Now you may try as many ROMs as u wish by simply following the step 3 only.
Happy Flashing... Enjoy ...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Combined Unlocking and Burning kernel .[Click Me For Full size ]
Burning Kernel [Step 2 ]
Unlocking Bootloader [Step 1]
Man, I think you've worked long time on that, but look at the sticked threads. There's my rooting guide and bootloader unlocking, yet. You tell the same again.
And in my signature there's how to install custom kernels/roms, in the pinned thread by someguyfromhell you can read the same...
Its k..
Dude .. I made it for my Blog...:angel::angel: .. :angel::angel:
Its not tailored for XDA. Posted it here just in case somebody find it usefull
Yeah, it could help somebody...
Sent from my GT-I9100 using xda premium
THANKS MAN IT HELPED ME AS IAM STILL A NOOB and i still stuck at few steps to un lock bootloader byt at last did it
thnQ

Root Grand Quattro / Win (GT-i8552)

How To Root Galaxy Win or Galaxy Grand Quattro (GT-I8552)
Best viewed in a Web browser. The pictures won't appear as intended in the XDA app.
One of the bit.ly/shortened URLs linked in this guide which directly leads to the download page of the file may be blocked by a security feature. They're all safe. Once you click a link you may be warned by your browser for accessing the URLs, but fortunately, the Warning page has a part where there's an option to proceed with accessing the page, just proceed and click the link. See example below.
bitly suggests that you
Change the original link, and re-shorten with bitly
Close your browser window
Notify the sender of the URL
Or, continue at your own risk to: http://download.clockworkmod.com/drivers/SAMSUNG_USB_Driver_for_Mobile_Phones.exe[/COLOR]​
If you get no warnings, much better. Let's proceed.
The Preparation : Before you start, make sure that . . .1) You have a PC / Laptop running Windows Platform
2) Samsung USB Driver for Mobile Phones (click to DL from clockworkmod.com) is installed
3) Phone battery power is at least 70%. That's good enough to not run out of power during this whole process.
4) Its USB Debugging is enabled (Settings > Developer Options > USB Debugging)
5) You have a USB Cable to establish a connection between the phone & your computer
6) You have the files needed. Keep three files in one folder.
- twrp_2.8_material - 9185 KB (click to DL directly from its dev's (Gody) MediaFire drive)
- Odin3-v3.09.zip - 972 KB (click to DL from sammobile.com's MEGA shared cloud storage) This software runs only on Windows platform.
- SuperSU_v1.94.zip - 1,703 KB (click to DL direclty from chainfire website)​7) A copy of that flashable zip file "SuperSU" must be saved in your phone's memory, internal or external .​
1st Step : Flashing TWRP Recovery Via OdinWhat is Recovery? | The Two Android Recovery Agents (CWM & TWRP)
Here, we will use TWRP Recovery. We will install it on the device using the Odin software.
Required: your phone, Windows PC, USB cable, Odin, and TWRP (.tar file)
1) Boot phone to "Odin Mode, a.k.a. Download Mode" by pressing the buttons at the same time: Volume Down, Power, & Home. When the device vibrates, immediately release the Power button while still pressing the other two until the Download Mode's warning screen appears.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2) Press the "Volume Up" button to continue to Odin Mode
3) In your computer, using WinRar or 7-zip, extract the Odin zip file, then run Odin3 v3.09.exe as Administrator
4) Connect your phone to your PC via USB. It should say "Added" on Odin.
5) On Odin, click the "AP" button, find and select the "twrp_2.8_material.tar"
6) Click "Start" to proceed in flashing the TWRP Recovery. *This takes about a minute.
7) It's partially finished when it says RESET! with these three lines in the message box.
RQT_CLOSE !!
RES OK !!
Removed!!
Then, phone will reboot automatically to OS.
8) Sometimes it takes a few more seconds after the phone has rebooted for you to be able to completely close Odin. Just wait for Odin to change its status from RESET! to PASS! and say All threads completed. (succeed 1 / failed 0), as shown in the picture below.
Then, you may click Exit and disconnect cable.
TWRP 2.8.5.0 Recovery is now installed.​
And this is how to boot to "Recovery Mode". Press the buttons at the same time: Volume Up, Power, & Home. When the device vibrates, immediately release the Power button while still pressing the other two until the SAMSUNG boot-screen appears. See photo instructions below.
​By the way, see the pictures below for the difference between the Galaxy Win's stock recovery and TWRP's recovery.
Important : NANDroid Backup
At this point, with TWRP Recovery installed, you can now create a NANDroid backup. It's a backup of literally everything in your phone - System, Cache, Data, EFS, and Boot. It is considered to be the top priority of things to do before messing with your phone i.e. flashing ROMs, kernels, or apps. After you create a backup, the backup file would be located in "sdcard0/TWRP/BACKUPS/" for internally saved backup, and "extSdCard/TWRP/BACKUPS/" if it's saved to the external memory. This file can also be transferred to a different storage, say a hard-disk, if you need to have more space on your phone for something else. You may skip to the actual rooting part. But, in case you do want to create a backup just follow the simple steps below. 1) Boot phone to Recovery Mode
2) Select Backup
3) This part lets you name the backup file with whatever name you want, choose whether to save it internally or externally, and pick which stuff you'd like to backup. And when you're ready, swipe to backup.
*This may take 5-10 minutes depending on how big your whole current installation is.
4) Once done, you may proceed with the 2nd part of this rooting guide.​
2nd & Final Step: Flashing SuperSUSuperSU allows for advanced management of Superuser access rights for all the apps on your device that need root.
Required: your phone, and SuperSU (.zip file)
1) Boot phone to Recovery Mode
2) Select Install
2) Locate the zip file SuperSU
3) Go ahead and swipe to install SuperSU *This takes just 5-10 seconds.
4) Reboot System​
You now have root access. Good luck!​
Important Reads After Rooting An Android Device:
What Is A Nandroid Backup and How Exactly Does It Work?
TriangleAway – Reset Flash Counter Tool
11 Things To Do After Rooting Your Android Smartphone | RootMyAndroid.Org
Suggested ROM:
COSMIC 2.0 ROM (released 4/27/15) (CM10). Rated to be the most stable custom ROM for the device.
Originally developed for Galaxy Core Duos by dev abhi922, then ported by dev gody420 to work on Grand Quattro.​
Hey mate, thanks a lot! Your guide is very clean and objective. Links shown properly. You did a good job!
But I'm still facing a problem on my I-8552B. Whichever Recovery I try to flash, I keep getting a black screen.
I tried the one you posted and the 6.0.3.7 version, but nothing different. :/
Thanks! I'm as glad that this guide is helpful to us who need it.
When does this black screen appear?
What have you done so far?
Sent from my GT-I8552
The phone is working properly, I can boot into the system normally. But after I flash any custom recovery via Odin (all I tried, so far), and boot into recovery (phone off, VOL +, Home and PWR boot), I get a black screen.
I've read that people are getting this issue on devices bought after July/14...
Please refer to this thread for more ideas.
http://forum.xda-developers.com/showthread.php?t=2977978
Best of luck!
Sent from my GT-I8552
Hi. .when my galaxy win was rooted, the task manager was deleted. Is there a way to recover it plz. .tnx
Sent from my GT-I8552 using XDA Free mobile app
[Root ,Easy ,Fast No Pc! ]
:angel:Visit the link: http://forum.xda-developers.com/grand-quattro/general/root-grand-quattro-win-duos-t3091676
Good Share
Thanks for clear share;
1- Odin3-v3.09.zip link dead
2- I download the v3.07 and It works only AP = PDA
3-I like the TWRP screen
Thanks again
i'm too having the same problem..after flashing custom recovery, the screen goes black when i try to enter recovery mode
Samsung Galaxy Win GT-I8552B
Excellent tutorial, but I could not install SuperSU, my phone model is
Samsung Galaxy Win GT-I8552B
Version: 4.1.2
Can you help me?
Best regards
Roosevelt Paz Garcia
I am stuck at 'starting adb sideload features' in adb sideload. Please suggest what to do?
I am not getting the install option on the recovery boot
someone help plz
No need to unlock bootloader for samsung ???
Is it??

[Release] VKWorld VK6735X - A working TWRP image

The problem that I've put into quotation below has been solved and here's what happened: I've basically been an idiot.
After I had gotten TWRP ported I did a reboot from TWRP into the system. But little did I knew that when I swiped for the reboot into the system, I had accepted to let the TWRP flash a SuperSU that wasn't compatible with the phone (some SuperSU were for whatever phone my TWRP originally intended to be for), hence breaking it.
First of all the exact phone we're talking about is this one.
The important thing to notice is that VK6735X is not the same as VK6735, which has got its own thread over here. According to that thread the so-called TWRP image (by the way it's not TWRP, but some Russian trash) over there could be flashed flawlessly whereas with my phone it didn't work that way.
Which brings us to the topic: Through my journey of Google searching for a TWRP image that actually works with my phone I've stumbled across a lot of things which I'll be summing up.
I've found an actually working stock ROM for this phone. You can download it along with the handy flash tool from the original source since it's probably a little big to be uploaded as attachment.
I've found a TWRP 3.0 image from another random website which I've successfully managed to port to this phone, or in the attachment.
I've discovered the tool called Carliv Image Kitchen, which made extracting and repacking boot.img and recovery.img extremely easy.
With that said I've basically ported and flashed TWRP as my recovery, though here's the problem: Booting up the system results in a bootloop...
So according to what I'm understanding it's due to some dm-verity garbage (yes, I'm just the kind of guy who hates it when a piece of human invention dares to defy the wish of its master) is preventing the system from loading because the inferior recovery that came out of the closet suddenly became straight, *cough *cough I mean because I've replaced the useless stock recovery with TWRP. Now this can apparently be fixed through porting or modifying the boot.img, right?
So here are my questions: What do I have to modify about the boot.img (or any other image) in order to stop the system from bootlooping over the fact that I've replaced the inferior recovery with TWRP?
Don't worry about me though, I can re-flash it anyway and plus it's not my main phone.
Click to expand...
Click to collapse
Either way, you came here for the TWRP image that's working for your VKWorld VK6735X so you can find that, as well as the flashing tool I used from my Google Drive folder.
But before all of that I obviously have to tell the same boring warning: I'm not responsible if you lose your data or brick your phone! Make sure to have backup for whatever you don't want to lose!
Head to the Google Drive folder, download the two zip files to your pc (lol not your phone), extract them anywhere you like and follow the steps below:
From the extraction of "Flash VK6735X.zip", install the drivers from the "Driver" folder. Windows might be acting stupid because it's Windows.
After installing the drivers, run "flash_tool.exe" which is located in the folder called "SP Flash Tool v5.1708"
(Optional) Go to your phone settings, go to "About phone" and tap the "Build Number" until you've unlocked the Developer options.
(Optional) Then go to the Developer options and enable "OEM unlocking" as well as "USB debugging", honestly you don't have to but why not...
Power off your phone and take out the battery
Back to the flashing tool you've opened in step 2: Load a so-called "Scatter-loading File" and select the file "MT6735M_Android_scatter.txt" which you've extracted from the "TWRP port for VK6735X.zip" file. The "recovery.img" file must be located in the same directory so do not separate those!!
Leave your phone battery removed and do not connect your phone to your pc yet: Press the download button
After pressing the download button you can connect your battery'less phone to your pc, no need to hurry since the flashing tool will only start once your phone's connected.
Wait 'till the flashing tool pops up a small green window saying it's done.
At this point you can place the battery back into your phone and unplug it from your pc.
Congratulations, you've installed TWRP.
Step 6:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And this is step 7:
How to get into TWRP:
Hold down the volume up button, then press and hold down the power button whilst still holding the volume+ button and wait.
In a few seconds you'll see three tiny options on your screen, with the volume up button you'll select between the three options and with volume down button you'll enter them.
Choose Recovery.
Be cautious: DO NOT swipe in any situation inside TWRP before you've read what it says, otherwise you may accidentally flash a SuperSU that isn't compatible with your phone and get the exact same problem that I've described in the quotation section of this post xD
Lastly you can find the Stock ROM inside the "Firmware" folder, if you select the scatter file inside this firmware folder with your flashing tool you can basically flash your phone back to stock.
Root + Viper4Android
Once you've successfully installed TWRP rooting this phone becomes amazingly simple!! Download the latest Magisk zip file and apk from the official thread and follow their instructions: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Magisk v16 works for this phone, although mine does crash quite often when I'm scrolling through the module list.
Next up is Viper4Android: Installing this is as simple as going through the Magisk modules and finding the right one to install. There are multiple Viper4Android modules whereas I've picked the one made by Viper520, ZhuHang, Team_Dewitt, Ahrion and Zackptg5.
So here are the Magisk Modules I've got working for this phone so far:
Viper4Android FX Materialized
Magisk Manager for Recovery Mode
ADB & Fastboot for Android NDK
For some reason "Xposed Framework (SDK 22)" gave me a boot loop so that's a pity.
Luckily I've got Xposed Framework v89 working through using an apk from this thread and flashing the zip from the original with TWRP.
Here are Xposed Modules I've verified working so far:
GravityBox LP
Flat Style Bar Indicators
AFWall+ (some kind of fixes and such)
Youtube AdAway
Then lastly I've got F-Droid installed without any trouble so I've got myself Adaway and some other handy stuff from there as well.
Request move
Since this thread is no longer a request for help: Could a moderator move this thread over to the right forum for me?

[OneUI 4.0 Beta] Note 10/10+ Beta Thread, Update.zip files.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Samsung Galaxy Note10 series OneUI 4.0 Android 12 Beta Thread
-This thread will be for sharing tips and help and update.zip/.bin files (when/if available) for the upcoming OneUI 4.0 Android 12 Beta for the Galaxy Note10 series.
Eligible models
-Note10 (SM-N970F, SM-N971N)
-Note10+ (SM-N975F, SM-N975U1, SM-N976N, SM-N976B)
Installation Methods:
ADB-method:
1. Download SDK platform tools https://developer.android.com/studio/releases/platform-tools
2. Extract the file in your desktop.
3. Inside the extracted folder put the update.zip file
4. Inside this folder, holding left shift, right click the mouse and select "open command prompt here". The command prompt will open.
5. Shutdown your phone and connect it to the pc
6. Holding power+volume up buttons, enter into recovery mode.
7. Select "update via ADB". (scroll down using the volume buttons and select using the power button).
8. Connect the phone to a PC using an original samsung USB cable.
9. In the command prompt run the following command:
./adb devices
10. Wait to see that the daemon has started and that your device is found.
11. If you device is found, run the following command:
./adb sideload update.zip
SD-card method:
1. Download the bin file and rename it to update.zip (by going to file options on your pc you can select to view the file extensions. This makes the renaming process much easier and safer, and avoids renaming the file to update.zip.zip)
2. Copy it to the root directory of your SDcard.
3. Shut down your phone.
4. Connect any USB device to your device, AKG earphones could work, then press Power+volume up buttons to get into recovery mode.
5. Using your volume keys navigate to "update via sdcard" and press power button to select it.
6. Again using volume keys navigate to the file "update.zip" and press power button to select it.
7. Update will start. Leave it till it completes installing. It will take some time.
8. Phone will reboot by itself and load android.
The update process will start. You will see a percentage counting. First it will verify, then patch etc. Do not move the cable, disconnect the phone or power off the PC.
Once the process is completed (it takes some time) the phone will boot itself, update the apps and log into your home screen.
-Update.zip OTA links:
Note10 (SM-N970F) : ​Note10+ (SM-N975F) :​Note10+ 5G (SM-N976B) : ​Note10 (SM-N970U1) : Beta1 (thanks to zwenchao_1989)
Note10 5G (SM-N971N) : Beta1 Beta2 (thanks to zwenchao_1989)​Note10+ 5G (SM-N976N) : Beta1 Beta2 Beta3 (thanks to zwenchao_1989)
Note10+ (SM-N975U1) : Beta1 (thanks to cloud911 & A3_Kris)​
There are two methods that you can use to get into recovery mode
Method 1:
1. Connect your phone to your PC (Make sure USB debugging is on).
2. Using ADB, enter the command ./adb reboot recovery
3. Wait a little and you should be in recovery mode.
Method 2:
1. Power off your device
2. Connect your device to a PC or use the AKG earphones.
3. Hold down Power+VolumeUp buttons and keep pressing them until you enter recovery mode.
This will not trip knox if done by the methods above
Don't install a beta unless you are fully aware what you are going into.
Don't install the beta if you want your phone to be stable, IT'S a BETA.
It's recommended to make a backup of your data before updating to the Android 12 Beta.
Important Notes:
-Rename the .bin file to update.zip in order to be able to flash it from recovery.
-A common mistake done by some people is that they see the file named update while its a WinRAR.zip file already, then they add another .zip making the name of the file update.zip.zip which will not be flashed successfully, So make sure you do it right.
-Updating to the beta is AT YOUR RISK, No one is responsible if anything goes wrong.
You will not receive OTAs again UNTIL you are on a firmware that gets released later for your original CSC, thats most likely not happening before the BETA is over.
What about the link " N975f"?
There is a lot of users with SM-N976N and SM-N976B as well both 10+ 5G
N976N-FUJ1-Beta1,The Korean Note10 + 5G is N976N
N971N-FUJ1-Beta1,The Korean Note10 5G is N971N
N976N-Beta2
N976N-Beta2
N971N-Beta2
I installed N976N-Beta1 and N976N-Beta2, now it says in the play store: "the device is not certified" (((
Beta1 and Beta2 was all flashed??
N97xN must use FUJ1 to flash this
zwenchao_1989 said:
Beta1 and Beta2 was all flashed??
Click to expand...
Click to collapse
Yes. Full+OTA
Installed on this firmware.
Platum said:
I installed N976N-Beta1 and N976N-Beta2, now it says in the play store: "the device is not certified" (((
Click to expand...
Click to collapse
This is fine. It's beta.
Resident80 said:
This is fine. It's beta.
Click to expand...
Click to collapse
Thanks, I know!) But it's still unpleasant)
As always. Only the release will fix it.
There is a bug about N975U1-Beta1 ,note 10+ could not connect to 4G in some network operators like China Telecom .And it also prevents me from editing APN.I can't report this issue to Samsung member because I can't register it .
I'm not sure weather Samsung found this bug.
Any OTA for N976B (Note 10+ 5G)?
There is information about beta 3 for SM-N976N ?
stek-kravari said:
Samsung Galaxy Note10 series OneUI 4.0 Android 12 Beta Thread
-This thread will be for sharing tips and help and update.zip/.bin files (when/if available) for the upcoming OneUI 4.0 Android 12 Beta for the Galaxy Note10 series.
Eligible models
-Note10 (SM-N970F, SM-N971N)
-Note10+ (SM-N975F, SM-N975U1, SM-N976N, SM-N976B)
Installation Methods:
ADB-method:
1. Download SDK platform tools https://developer.android.com/studio/releases/platform-tools
2. Extract the file in your desktop.
3. Inside the extracted folder put the update.zip file
4. Inside this folder, holding left shift, right click the mouse and select "open command prompt here". The command prompt will open.
5. Shutdown your phone and connect it to the pc
6. Holding power+volume up buttons, enter into recovery mode.
7. Select "update via ADB". (scroll down using the volume buttons and select using the power button).
8. Connect the phone to a PC using an original samsung USB cable.
9. In the command prompt run the following command:
./adb devices
10. Wait to see that the daemon has started and that your device is found.
11. If you device is found, run the following command:
./adb sideload update.zip
SD-card method:
1. Download the bin file and rename it to update.zip (by going to file options on your pc you can select to view the file extensions. This makes the renaming process much easier and safer, and avoids renaming the file to update.zip.zip)
2. Copy it to the root directory of your SDcard.
3. Shut down your phone.
4. Connect any USB device to your device, AKG earphones could work, then press Power+volume up buttons to get into recovery mode.
5. Using your volume keys navigate to "update via sdcard" and press power button to select it.
6. Again using volume keys navigate to the file "update.zip" and press power button to select it.
7. Update will start. Leave it till it completes installing. It will take some time.
8. Phone will reboot by itself and load android.
The update process will start. You will see a percentage counting. First it will verify, then patch etc. Do not move the cable, disconnect the phone or power off the PC.
Once the process is completed (it takes some time) the phone will boot itself, update the apps and log into your home screen.
-Update.zip OTA links:
Note10 (SM-N970F) : ​Note10+ (SM-N975F) :​Note10+ 5G (SM-N976B) :
Note10 5G (SM-N971N) : Beta1 Beta2 (thanks to zwenchao_1989)​Note10+ 5G (SM-N976N) : Beta1 Beta2 (thanks to zwenchao_1989)
Note10+ (SM-N975U1) : Beta1 (thanks to cloud911 & A3_Kris)​
There are two methods that you can use to get into recovery mode
Method 1:
1. Connect your phone to your PC (Make sure USB debugging is on).
2.使用ADB,输入命令./adb reboot recovery
3. 稍等片刻,您应该处于恢复模式。
方法二:
1. 关闭您的设备
2. 将您的设备连接到 PC 或使用 AKG 耳机。
3. 按住Power+VolumeUp 按钮并按住它们直到进入恢复模式。
如果通过上述方法完成,这将不会绊倒诺克斯
除非您完全清楚自己要做什么,否则不要安装测试版。
如果您希望手机稳定,请不要安装测试版,这是测试版。
建议在更新到 Android 12 Beta 之前备份您的数据。
重要笔记:
- 将.bin文件重命名为update.zip,以便能够从恢复中刷新它。
-A common mistake done by some people is that they see the file named update while its a WinRAR.zip file already, then they add another .zip making the name of the file update.zip.zip which will not be flashed successfully, So make sure you do it right.
-Updating to the beta is AT YOUR RISK, No one is responsible if anything goes wrong.
You will not receive OTAs again UNTIL you are on a firmware that gets released later for your original CSC, thats most likely not happening before the BETA is over.
Click to expand...
Click to collapse
But you didn't quote Beta1 of N97xN
There is information about beta 3 for SM-N976N ?

[Hisense A5] Install stock android ROM [GSI][Android 9/10]

Disclaimer
I am not responsible for any damage you made to your device and responsibe for anything else. Do this only if you know what are you doing.
You have been warned
Click to expand...
Click to collapse
​​​Screenshots/Video:​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Don't be afraid: The latency you see is caused by the non optimization of the refresh rate of the e-ink panel, which I'd like to port from stock cinese rom. (here if you'd like to help to make the e-ink works on android even faster than stock!!).
System UI is very much smoother than on stock rom (try with scrcpy).
Files:​
Spoiler
Main Folder https://mega.nz/folder/QkVXUDLS#LWYIHVvuiOFxxeZpWruTlg
Download those files:
- https://mega.nz/file/bR5g0I5I#2kwOj8vpsrOUfu-Fpdj1Yboppx9-ZzTk7t3IS-dpT5E
- https://drive.google.com/file/d/1LqcR6NVlSqL6gT6y1y1x9r58_LAKBBjd/view
- Hisense_A5_LA592C(HLTE202N)_L1657.6.09.06.00_TFDownload_202004090105_user.zip
- https://drive.google.com/file/d/1WKhek-8iDULzjXKxBtVivhnbUeh8Fw89/view
- https://sourceforge.net/projects/arrow-os/files/arrow-9.x/GSI/27_Jan_2020/system_arm64_ab.zip/download
- https://github.com/topjohnwu/Magisk/releases/download/v22.1/Magisk-v22.1.apk
- https://github.com/KinglyWayne/simg2img_win/archive/refs/heads/master.zip
Instructions:​
Spoiler
Bootloader still locked (unfortunately). (or tell me if you managed to unlock )
Android 9 works good.
Android 10 lags.
Before starting: Backup all the data, partitions and most importantly the EFS/QCN file! (Read BACKUP QCN section.)
If you'd like to share a vanilla EFS/QCN file, erasing your IMEI with a blank one before doing it, that would be useful in case someone corrupted his one. You can read more about on the guide.
Make sure to read the Disclaimer above.
- Install QPST and Qualcomm Drivers from Hisense_a5_Flashpaket_6.10.04.00.zip
- Format a microSD into FAT32, then unzip Hisense_A5_LA592C(HLTE202N)_L1657.6.09.06.00_TFDownload_202004090105_user.zip to a folder named HLTE202N_TF and copy it to the microSD. Insert the microSD inside the smartphone.
- Unzip HLTE202N_HLTE202N.R1_L1657.6.03.02.00.7z and replace recovery.img, vbmeta.img, boot.img with those you find inside zip file boot_recovery_vbmeta_6.03.02.zip.
- Enter in EDL MODE by [/I]adb reboot edl[I] or this and connect the device with usb cable to PC.
- open QFIL and select Flat Build, then select Programmer and choose prog_emmc_firehose_8937_ddr_000bf0e1, load XML rawprogram_000bf0e1 and patch patch patch0 from HLTE202N folder.
- Click Download to flash stock ROM 6.03
- Once finished, detach usb cable and reboot the smartphone this way: hold vol up and vol down and power at the same time and as soon as it boot, release only power button until you see vision logo flashing TF
- Wait the smartphone to boot the 6.09 firmware, and once booted, enable USB debugging and OEM unlocking.
- You should see developer options inside the submenu other settings after tapping 7 times on kernel version inside about phone.
- Now check system updates, and OTA update to 6.10.04.00 and no more, just only to build 6.10.04.00.
- After update complete, unzip Hisense_a5_Flashpaket_6.10.04.00.zip
- Open QFIL and select flat build, then select programmer prog_emmc_firehose_8937_ddr_000bf0e1, load XML rawprogram_000bf0e1_joygram and patch patch0 from Hisense_a5_Flashpaket_6.10.04.00/rootkit_6.10.04 folder.
- Enter in EDL MODE and click Download to flash root for ROM 6.10.04.
- Once finished, detach usb cable and to reboot, press power button for at least 20 seconds, or more, to exit EDL mode.
- Once booted up, install Magisk 22.1 and give all permissions, then open it, and click ok if it asks to install additional setup. Phone will reboot.
- Once rebooted, connect the phone via adb to pc and type adb shell
- Once in the adb shell, type su and a popup should appear on the smartphone. Grant permission from smartphone.
Checkpoint ​
- Once here, you could be ready to flash your desired GSI ROM (I've tested many, and look like only compatibility is with Android 9 and 10. 11/12/13 didn't work on my tests, and android 9 is the smoothest performance wise, while android 10 is not really supported and it lags on system.)
At this point, if you'd like to try out different roms, You need to return to Checkpoint, and follow again the steps below.
Your GSI rom should be arm64 and ab partion. Here you can find a list https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list (look for android 9 and 10 roms)
- Unzip your GSI rom, then rename the unzipped .img file to system.img
- copy system.img file to simg2img directory and double click convert.bat to start the unparsing process. It should make another system file inside same folder, but with .ext4 extension.
- copy the system.ext4 file to another directory.
- Open QFIL and select flat build, then select programmer prog_emmc_firehose_8937_ddr_000bf0e1 from Hisense_a5_Flashpaket_6.10.04.00/rootkit_6.10.04 folder.
- Enter in EDL MODE
- Now go on Tools and Partition Manager
- Popup will open, now right click system partition and select manage partition, then erase, then load image.
- Select the system.ext4 file, and it will start flashing.
- Once done, click close, then close again, and then ok.
- wait 10s and detach cable usb from the pc.
- press power button + volume down for 20s to enter recovery. You might want to try some times. Mine worked like this: as soon you feel the reboot vibration, release the power button but keep holding the volume down button until you see recovery logo. or. if it's still stuck on hisense logo (power on), press power and volume down button for 5 seconds, then release power button while still holding volume down, it should enter recovery.
- Inside recovery, erase all the data.
- Reboot, and wait at least 20 minutes, the phone should boot your GSI rom!
Possible error: If you still see Hisense logo with backlight on, probably your ROM has booted, but somehow it won't show you the main display.
Fix: with https://github.com/Genymobile/scrcpy by pressing the screen, after cable is connected and adb devices command launched, where the adb authorization popup would appear, just try to click "ok", and then scrcpy would allow you to see what's happening. Finish the wizard and you should be able to continue on the smartphone now. Keep in mind you may need to use scrcpy at each reboot, because for some ways, the smartphone boots up showing only Hisense logo, but underlying the system is working.
Projects:​- Hisense A5 Port eink display refresh rate modes from chinese to AOSP rom https://forum.xda-developers.com/t/hisense-a5-e-ink-display-modes-port-for-aosp.4497903/
- Hisense A5 adjustable backlight color temperature (Warm to Cold) https://forum.xda-developers.com/t/...lor-temperature-backlight-frontlight.4495045/
- Hisense A5 original EFS/QNC vanilla backup file
https://forum.xda-developers.com/t/hisense-a5-efs-qcn-original-file-backup.4497447/#post-87484995
Hey thanks for getting this far! I wonder if you got any further along? I have an a5 and I would very much like to put a stock rom on
which one recovery do you use ~~where can download it
THANKs
can be taught step by step

Categories

Resources