yashsingh1/xdaforums huggingface dataset:
[Device Reviews and Information] amg314:
*------------------------------------------------------*

! The user is fully responsible for their actions and assumes all risks.!

*------------------------------------------------------*

User's activity mostly change system and data partitions. Thus, NANDROID Backup include system.img and data.img actual snapshots. Let us try to extract these images using terminal (without TWRP))).

*------------------------------------------------------*

As a test object I choosed recovery partition, because we have native recovery.img in 06/08 ROM

for a comparison.

*------------------------------------------------------*

In Material Terminal:

su

ls -l /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name

(see picture 1)

*------------------------------------------------------*

One can see that

recovery -> /dev/block/mmcblk0p1

*------------------------------------------------------*

dd if=/dev/block/mmcblk0p1 | dd of=/sdcard/download/test_recovery.img

*------------------------------------------------------*

dd (dataset definition) - copy files (or disks))) from one place to another.

https://en.m.wikipedia.org/wiki/Dd_(Unix)

Command above copy mmcblk0p1 partition to file /sdcard/download/test_recovery.img

*------------------------------------------------------*

Let us now check the result using TC File compare:

In TC highlight both test_recovery.img and recovery.img, then File --> Compare by content

One can see, that files are idential (see picture 2). Perfectionists can trunscate zeroes after 0B88B80 address))))

Thus this method works OK.

*------------------------------------------------------*

In the same way one can easeily extract main images:

*------------------------------------------------------*

system.img from /dev/block/mmcblk0p29

dd if=/dev/block/mmcblk0p29 | dd of=/sdcard/download/my_system.img

*------------------------------------------------------*

data.img from /dev/block/mmcblk0p3

dd if=/dev/block/mmcblk0p3 | dd of=/sdcard/download/my_data.img

*------------------------------------------------------*

These images could be flashed using specific MTK SP Flash Tool or general Android adb.

BUT, cautious user will wait for others response before flashing)))

*------------------------------------------------------*
[Device Reviews and Information] Opmovers:
Thank you for this work! although i think it is above my skill set to pull off. Will need to study it more.

As for required apps, Aside from sp flashtool, tc file compare and (pc) adb is there any others i should get?

AND you mentioned "Material Terminal" is this preloaded in hi9 rom, available on app store, or...?
[Device Reviews and Information] amg314:
As for required apps, Aside from sp flashtool, tc file compare and (pc) adb is there any others i should get?

AND you mentioned "Material Terminal" is this preloaded in hi9 rom, available on app store, or...?[/QUOTE]

*----------------------------------------------------------------------------------------------*

Material Terminal:

https://play.google.com/store/apps/details?id=yarolegovich.materialterminal&hl=en_US

*----------------------------------------------------------------------------------------------*

TC - Total Commander (PC version, include File compare)

https://www.ghisler.com/download.htm

*----------------------------------------------------------------------------------------------*

adb (Android Debug Bridge)

http://www.evofiles.net/download/platform-tools_r28-0-0-windows-zip/

*----------------------------------------------------------------------------------------------*

SP Flash Tool (need VCOM/PRELOADER drivers installed)

https://androidmtk.com/smart-phone-flash-tool

*----------------------------------------------------------------------------------------------*
[Device Reviews and Information] pietrotc:
me too
[Device Reviews and Information] amg314:
Dr Web test result((
[Device Reviews and Information] LUYULKMOIO:
Hi p3950080 & pietrotc, I reinstall the last firmware, without installing the update of 55 Mb, I will wait for the next update hoping he's fixing the problem.

I have to reinstall all my accounts every time, mail, gmail, APPS + DATA ( currently I'm using Titanium Backup ★ root needed_v8.2.2, that works well )

I tested others, as dr.fone or hellium, but it does not work for me with the chuwi 9 AIR.

Someone knows a good APPS who makes backup full APPS + DATA and others ?
[Device Reviews and Information] amg314:
---------- Post added at 03:15 AM ---------- Previous post was at 02:59 AM ----------

Amg314,

I started following the steps you outline for us. Turns out it's much easier than I thought .

I'm about to attempt a back up in this manner.

But I'm a little confused as to which blocks I should copy and Flash.

From the list below, userdata and system is obvious. But please know this is the lines outline with

*----------------------------------------------------------------------------------------------*[/QUOTE][/QUOTE]

*------------------------------------------------------*

Please let me know what kind of data you need to backup?

*-----------------------------------------------------*

Command:

*------------------------------------------------------*

ls -l /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name | grep data

*------------------------------------------------------*

let you know that userdata partition is: /dev/block/mmcblk0p31

*------------------------------------------------------*

Commands:

*------------------------------------------------------*

$ df -a | grep data

*------------------------------------------------------*

Show you that userdata at the moment consists of 4600608 blocks from all number of 56103240

(on my Chuwi, not on yours)!!!

*------------------------------------------------------*

Filesystem 1K-blocks Used Available Use% Mounted on

*------------------------------------------------------*

/dev/block/dm-0 56103240 4600608 51469864 9% /data

/data/media 56103240 4600608 51469864 9% /storage/emulated

*------------------------------------------------------*

Thus, you need to save first 4600608 blocks of mmcblk0p31 partition:

dd if=/dev/block/mmcblk0p31 | dd of=/sdcard/download/my_userdata.img count=4600608

It takes about 2 minutes to save the image to sdcard))

*------------------------------------------------------*

Do NOT flash the image till you will be sure that it is 250% OK!
[Device Reviews and Information] Opmovers:
My list was extracted from my chuwi.

I missunderstood the part of setting the size, cause when i finished copying the sys img, it was 56GB LOL ran out of space before it would finish. Obviously something wrong there.

As for the kind of backup that I'm trying to achieve, essentially it would be a much faster method of setting up a new tablet. Similar to norton ghost if you are familiar with that old application for Windows. If my currents hi9air crashes, Instead of flashing a ROM and setting up from scratch, I would simply flash my backup partition images. Same goes for if I wanted to load my wife's hi9air tablet so it is a perfect double of my current tablet.

[/QUOTE]

*------------------------------------------------------*

Please let me know what kind of data you need to backup?

*-----------------------------------------------------*

Command:

*------------------------------------------------------*

ls -l /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name | grep data

*------------------------------------------------------*

let you know that userdata partition is: /dev/block/mmcblk0p31

*------------------------------------------------------*

Commands:

*------------------------------------------------------*

$ df -a | grep data

*------------------------------------------------------*

Show you that userdata at the moment consists of 4600608 blocks from all number of 56103240

(on my Chuwi, not on yours)!!!

*------------------------------------------------------*

Filesystem 1K-blocks Used Available Use% Mounted on

*------------------------------------------------------*

/dev/block/dm-0 56103240 4600608 51469864 9% /data

/data/media 56103240 4600608 51469864 9% /storage/emulated

*------------------------------------------------------*

Thus, you need to save first 4600608 blocks of mmcblk0p31 partition:

dd if=/dev/block/mmcblk0p31 | dd of=/sdcard/download/my_userdata.img count=4600608

It takes about 2 minutes to save the image to sdcard))

*------------------------------------------------------*

Do NOT flash the image till you will be sure that it is 250% OK![/QUOTE]
[Device Reviews and Information] amg314:
[/QUOTE]

Hi9Air:/ $ su

Hi9Air:/ #

ls -l /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name | grep system <

lrwxrwxrwx 1 root root 21 2018-10-29 07:45 system -> /dev/block/mmcblk0p29

Hi9Air:/ #

*------------------------------------------------------*

df

/dev/block/mmcblk0p29 2499580 1261892 1237688 51% /system/xbin/tcpdump

/dev/block/mmcblk0p29 2499580 1261892 1237688 51% /sbin/.core/mirror/system

Hi9Air:/ #

*------------------------------------------------------*

One can see that mmcblk0p29 partition consists of 1261892 1k blocks.

1261892/1024/1024=1.232 G

The value is quite realable as for system.img))

*------------------------------------------------------*

PS Saving of 1.2 G will take more time - wait until terminal end dd command!

*------------------------------------------------------*

As for Norton ghost - there were glorious times - ask if Lineage OS 15.1 is equiped with TWRP?

If equiped try migrate to open source system)))

==============================

PPS AOMEI Backupper https://nnm-club.me/forum/viewtopic.php?t=1246976

is much better, then Norton Ghost)))))
[Device Reviews and Information] pietrotc:
Is this a corretc procedure to install the GearLabs Rom V3 ?

a) download the latest August 2018 Stock ROM

b) download GearLabs Rom V3

c) download TWRP 3 2 2-0 Hi9Air

d) download Magisk 17.1 and MagiskManager 6.0.1

1) Use SP Flash Tool to install August 2018 Stock ROM , configure the rom and then unlock the bootloader

2) Use SP Flash Tool to install GearLabs Rom V3 and TWRP 3 2 2-0

3) install Magisk 17.1 via TWRP

4) install MagiskManager 6.0.1
[Device Reviews and Information] LUYULKMOIO:
Hi all, I have a problem with APPS ( messeger ).

When I make a video call, people see me upside down.

Someone also has the same problem ?

I am with the latest original firmware.

Is the GearLabs Rom V3, solve this problem ?
[Device Reviews and Information] Imperial.mack:
Looks ok. Remember to have patience on booting up.
[Device Reviews and Information] amg314:
Does it mean that TWRP run OK on GearLab v.3 (do make data backup, e.g.)?
[Device Reviews and Information] Imperial.mack:
You can boot into twrp but no backup feature because of encryption. I'll just wait for a fix.
[Device Reviews and Information] amg314:
Me too! (I am NOT a member of any social movement or social net, exept XDA))

While waiting for working version of TWRP I am going to test Lineage 15.1 from our leading member Alberto96.

Judging by the poll, 3 our forum members work under this system. I ask them to describe to me their impressions about the work of the system and give advice on how to install it.
[Device Reviews and Information] YorickKyndt:
Hi,

In the first post there is:

(Solved) Random reboots, freezes.

But how can I fix it?

My tablet freezes constandly: when I unlock the tablet, press the home or return button.

I flashed the newest firmware with flashtool but did not help

Tablet is not rooted

Greetings

Yorick
[Device Reviews and Information] amg314:
If I understand you correctly, you can not wake up your tablet by pressing the Power button?

If so, factory reset can help solve this problem. BUT, unfortunately, the reset will delete all your settings and data. Therefore, first copy everything that is valuable to you on a PC or external SD card))
[Device Reviews and Information] YorickKyndt:
No the power button works perfectly, the freezes happen randomly when I use my tablet.

A factory reset is the first thing I tried, then flashed the firmware but did not help
[Device Reviews and Information] p3950080:
Factory Reset does not permanently solve the wake up problem

Hello, I would like to add that the factory reset only temporarily solves the power button / wake up issue. I have done it three times already, and the issue reappears. To add to that, I restored all the apps from google backup after the factory reset, and the issue did not instantly reappear; not until a couple of days later. Which leads me to believe that it is not one of the apps causing it. If anyone in the forum with higher technical insight may able to provide help, it would be highly appreciated.
[Device Reviews and Information] amg314:
[/COLOR]

I am afraid that reflashing is the only way to remove your headache.

In SP Flash Tool you can try to flash all except preloader. VCom drivers needed to be installed.

Warning:

Any flashing is risky!
[Device Reviews and Information] p3950080:
I have read that certain people did reflash, but the problem was not solved eventually. Is there someone who can confirm that by reflashing, the power button / wake up problem was solved 100%? Also, you mean I need to reflash the whole image, right? I have found a link in the chuwi forum with the latest updates, image etc.
[Device Reviews and Information] amg314:
An insurance policy only will give you 100% guarantee))))

I got the Power button problem after "tuning" my June ROM using Xposed GravityBox.

Factory reset from TWRP solved the issue.

As factory reset is not a remedy for you, I proposed reflashing.
[Device Reviews and Information] NikosD:
Hello.

I don't want to flash a ROM, only flash TWRP and root the device.

Is there any way to do these two things without loosing any data ?

Also, is unlocking the bootloader necessary for flashing TWRP and rooting and is the unlocking destructive for any data in any way ?

Thank you!
[Device Reviews and Information] amg314:
You can root Chuwi without TWRP.

Simply download patched_boot.img for your ROM version from 1-st page and flash it using ADB or SP Flash Tool))) You will got Magisk systemless Root.
[Device Reviews and Information] NikosD:
Thanks, but am I going to loose any data using this process ?

I don't want to loose data or make a backup.
[Device Reviews and Information] amg314:
Who wants to loose data?

You should make backup in any case - Settings --> System --> Backup

*----------------------------------------------------------------------------------------------*

Your tablet memory is divided on few different parts (partitions).

Thus, flashing of boot partition do NOT destroy your's data partition (if you flash it in right way).

BUT, if you make any big mistake during patched_boot.img flashing, you will lose ALL.

*----------------------------------------------------------------------------------------------*

Think twice, read SP Flash Tool instruction before flashing.
[Device Reviews and Information] NikosD:
Can I flash TWRP in a non-destructive way for data ?
[Device Reviews and Information] amg314:
*----------------------------------------------------------------------------------------------*

You can, if you will make working TWRP version))

Please search forum to find answers on your problems((((

There are NO working TWRP for August ROM(((

*----------------------------------------------------------------------------------------------*
[Device Reviews and Information] NikosD:
As I said in my first post, my bootloader is locked and I want to keep it that way.

So, is there a way to root the device with a locked bootloader without losing data ?

Thank you for any clarification.
[Device Reviews and Information] uncleabubear:
You can not root stock rom with a locked bootloader. Flash Gearlabs Rom if you want to keep bootloader locked.
[Device Reviews and Information] amg314:
To run 2 apps at the same time, run app #1 then press and hold square button on the bottom until your screen will be divided. Then tap on empty part and run app #2.

On screenshot attached:

Left: SkyTube running Chuwi promotion

Right: NewPipe with "Johnny B Good" by Zemekis

Both videos are running in parallel))
[Device Reviews and Information] amg314:
To add ScreenShot button, you should edit /system/build.prop file using root file manager (I prefare Total Commander). In TC internal editor find following strings:

ro.navbar.screenshot=0 and ro.settings.netspeed=0

Change both zeroes to ones, save file with the same permissions and reboot.

On the bottom you will find new diamond like button))

From 4pda.ru

*------------------------------------------------------*
[Device Reviews and Information] fasty:
I read someone on Chuwi forum, suggests that a factory reset fixes this issue.

Can any experienced developers comment on com.adups.fota.MyApplication ? It has been suggested this is malware.

Are Chuwi really allowing malware to be rolled out to this machine? Should we ignore OTA updates? Thanks.
[Device Reviews and Information] LUYULKMOIO:
Hi NikosD, yes you can root rom stock with a bootloader locked.

I just did in (developer option) :

unlocking OEM = no activate

debugging USB = activate

1) install via SP_Flash_Tool (Stock Rom Build number O00623 release-keys 20180809) = https://drive.google.com/file/d/1DMg5UOqwjwlEAExlpv4O2qokEGiiFK_A/view

2) install via SP_Flash_Tool ( the last TWRP created by [MENTION=2386505]Alberto96[/MENTION]) = https://androidfilehost.com/?w=files&flid=281733

3) Install via TWRP ROOT (Magisk-v17.1 stable) = https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

4) install in the tablet "Magisk Manager Version: v6.0.1 APK" = https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

You can also install (GearLabs_ROM V.3) without unlocking OEM

I have done many times, no problem.

The backup complet via TWRP, it is possible (only) with USB OTG or CARD SD EXT.

I do backup, with titanium backup, I already reinstall the whole thing, is all was ok (except the google account).

---------- Post added at 06:49 PM ---------- Previous post was at 06:37 PM ----------

Hy fasty, currently, I do not install, the new update ( 55 Mb ), I am waiting for the correction of the problem.
[Device Reviews and Information] NikosD:
Is there something similar for Advanced Reboot ?

I would like to have a button with options for restart to system, recovery and fastboot.
[Device Reviews and Information] amg314:
It is possible for root users.

By the way, ScreenShot button is for root users as well)))
[Device Reviews and Information] NikosD:
Can you provide the instructions how to do it ?
[Device Reviews and Information] amg314:
https://xdaforums.com/showpost.php?p=78035418&postcount=867

Read SP Flash Tool instruction carefully before flashing)))

Remember: Every flashing is risky!
[Device Reviews and Information] NikosD:
No, you misunderstood me.

I don't want instructions for rooting, consider it's done.

I want instructions to add an Advanced Reboot button.
[Device Reviews and Information] uncleabubear:
Sorry I forgot about that. You can just flash the modified boot for magisk to stock rom so twrp is not needed.
[Device Reviews and Information] uncleabubear:
(Solved) O00623 release-keys 20180905 Update Bug Settings>System>About tablet>"Wireless Update" replaced with com.adups.fota.MyApplication and disabled. (Chuwi Aware)

Please log ticket if you get this.

Factory reset to fix
[Device Reviews and Information] uncleabubear:
O00623 release-keys 20180905 Update Bug no.2 Play Store>Settings>Play Protect certification>Device is not certified. If you clear play store data and cache play protect certification disappears, refreshes and re-appears not certified.

Please submit ticket if you get this.
[Device Reviews and Information] amg314:
Do you really root your Chuwi?

If do, my congrats!

Reboot.apk is attached (button you asked for is on upper right corner of my last screenshot)))
[Device Reviews and Information] NikosD:
Not exactly.

I used the fastboot mode to unlock the bootloader successfully and then from the same command prompt I flashed successfully the TWRP image.

But after the shutdown and restart, I got trapped in a "recovery loop".

I tried restarting the device to system through power button, TWRP and fastboot but I always land in TWRP.

So, my device is unlocked with TWRP and unrooted but in recovery loop.

Also, my Data partition can't be mounted through TWRP, I can only see System, Cache and Vendor.

Windows Explorer sees the device as empty.

Any ideas to escape from this awkward recovery loop ?
[Device Reviews and Information] amg314:
You was informed by me that there are no working TWRP for last ROM.

But you do not follow good advice.

May be stock recovery reflashing will help you.
[Device Reviews and Information] NikosD:
Actually I follow both threads, Hi9 pro and Hi9 Air because I actually own a Hi9 pro but there is no developer in our thread and this thread is more active and older.

So, for Hi9 pro, our TWRP works fine with stock ROM, we only have one ROM and one TWRP version actually.

Do I have to lock again the bootloader before flashing the stock ROM ?
[Device Reviews and Information] NikosD:
Well, flashing the stock ROM was easy and fast (~30MB/s) with SPFlashTool (not only the recovery but all the ROM) and now I'm back to the beginning with a brand new tablet (locked bootloader, stock recovery, everything wiped).

The task now is to avoid getting caught in the "recovery loop" trap, while trying to unlock, root and flash the TWRP on the stock ROM.

I'm still waiting for instructions.

To be continued...
[Device Reviews and Information] Imperial.mack:
Has anyone booted an android pie rom from the treble forums? What's are the install steps? I just get a bootloop.

edit:

- I successfully booted android pie I got from https://xdaforums.com/project-treble/trebleenabled-device-development/aosp-9-0-phh-treble-t3831915

boot into twrp

wipe > format data (*all will be lost*)

(fastboot erase system' doessn't work)

fastboot flash system name_of_system.img

(I used pixel experience p gsi)

fastboot reboot

<let it reboot itself at least 2 times>

profit
[Device Reviews and Information] NikosD:
I'll take your congrats because I finally managed to root the device.

I flashed patched bootloader using FASTBOOT and I gave up the idea of flashing TWRP, although a lot of people succeeded with Hi9 Pro.

I got bored getting all the time "recovery loops"

So, I'm a happy rooted user right now and I tried both your ScreenShot "diamond like" button and the Advanced Reboot app, but I would prefer an Advanced Reboot button like ScreenShot but not at the bottom of the curtain or besides the nav keys, but inside the curtain like all other tiles (GPS, Bluetooth, WiFi etc)

Thanks!
[Device Reviews and Information] amg314:
What can prevent you from writing such an application?

Download APK Editor Pro, also try Windows Batch Apk Tool, disassemble the Reboot.apk, and change it the way you want.

*------------------------------------------------------*
[Device Reviews and Information] lpve:
I do not know if you mean the Chuwi forum at Tweakers where I also offered the solution to restore the tablet to factory settings after the 55Mb update. After this, Wireless Update was present again.
[Device Reviews and Information] fasty:
Actually I saw the post on Chuwi company forum, but it wasn't entirely clear. In any case, factory reset has fixed my OTA, however I have now had other 'issues' including problems waking tablet from sleep, so not happy with this update!
[Device Reviews and Information] lpve:
I didn't notice any changes. 2 weeks ago I lost back-camera. Only front-camera at the display side. In AIDA64 it was also disapeard. So I tride 55Mb update.

Lost wireless update but after factory reset is was back again. Back-camera still not present. I made contact with seller and now tablet is on it's way to HongKong.
[Device Reviews and Information] kirk8:
[/COLOR]

I tried doin what you said but I get stuck in fastboot mode...... Going to try spflash now