[RECOVERY] [UNOFFICIAL] [Phobos] TWRP 3.0.0-0 for the HP Slate 21 - Miscellaneous Android Development

TWRP for the HP Slate 21 (phobos)
Code:
*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* A lot.
*
TeamWin Recovery project (or TWRP for short) ported for the HP Slate 21 (s100 & k100).
Here are some images:
{
"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"
}
Download
https://www.androidfilehost.com/?fid=24399994186369430
Install/Flashing Instructions:
1. You will need the following things in order to install TWRP on the Slate 21: 1 USB male to USB male connector, a computer with ADB and fastboot installed, common sense.
2. Turn off device and boot into fastboot mode (Volume Down + Power)
3. Connect your device to your computer by plugging one end of the USB cord into the lone USB port on the left-hand side of the device and the other end on any USB port on your computer.
4. Run the command “fastboot oem unlock” (no quotes)
5. Select yes on your Slate 21, after this step you will lose all your data. Vol Up to move Up, Vol Down to move Down, Brightness Up to select.
6. After fastboot has been unlocked, you’ll need to flash TWRP to your recovery. Do do this run the following command:
fastboot flash recovery /path/to/downloaded/TWRP.img
Replace /path/to/downloaded/TWRP.img with where you downloaded TWRP provided by me (Quaesar). You can drag and drop the IMG into Terminal/CMD to do this easily.
7. Use the buttons on the side of the device to select “Recovery”
8. Profit! You now have the latest TWRP on your device!
Cyanogenmod 12.1:
http://forum.xda-developers.com/general/general/rom-cyanogenmod-12-1-hp-slate-21-t3201416
Donations:
You can donate to me for my hard work through PayPal. My donation email is [email protected]. Any and all donations are welcome regardless of amount. Thanks for supporting me!
Direct link: https://www.paypal.me/Quaesar
Credits
Building this was a collaborative effort. The following developers/beta testers helped me provide you with this:
Quaesar (me): Main person, started project, etc etc.
UnjustifiedDev: Device tree, initial setup
SLATE21&MOTOG: Beta testing
Vocoderism: Beta testing
JonasFi: Beta testing
Seanichigo: k100 testing
If you have any comments or questions, reply to this thread and I'll get to you whenever I can
PLEASE HIT THAT THANKS BUTTON!!! IT REALLY SHOWS YOU APPRECIATE MY WORK!!!!!
Peace,
Quaesar

Changelog:
Public Release 1:
- First public release of recovery. Nothing major to see here
Known Issues/Bugs:
- CPU temperature will show up as 0 sometimes (it's usually 40-50*C if you're wondering)

FAQs:
Q: Bruhhhh, hook me up with dem sources
A: Dem sources can be found at teh GitHubs: (Link)
Q: Should I backup my stuff?
A: Do I need to answer that?
Q: What is this fastboot your speak of and how can I get it?
A: This video explains everything nicely: https://www.youtube.com/watch?v=maLWScgXflk
Q: On a scale of one to ten, how cool are you?
A: 11

Version 3 works very well. I also resolves an issue with using the swipe control from the previous version. Thanks Q!

device not found

Desparragosa said:
device not found
Click to expand...
Click to collapse
Check your connection (wire, computer, Slate). Make sure you have the correct fastboot drivers installed. I've seen an issue with the Windows 10 where Windows doesn't want to recognize or flash to the device. If you're comfortable, you may want to try using Ubuntu (I use 14.04). If you want, you can always contact me over Hangouts at [email protected]
Peace,
Quaesar

Quaesar said:
Check your connection (wire, computer, Slate). Make sure you have the correct fastboot drivers installed. I've seen an issue with the Windows 10 where Windows doesn't want to recognize or flash to the device. If you're comfortable, you may want to try using Ubuntu (I use 14.04). If you want, you can always contact me over Hangouts at [email protected]
Peace,
Quaesar
Click to expand...
Click to collapse
Hi. I can't do the unlock. Started with windows 10, and now with windows 8. Get the same message FAILED (command write failed (Unknown error))
don't know what else to try. Can you provide the fastboot drivers you used?
EDIT: Found the problem. Had to disable MTP!

rgomesf said:
Hi. I can't do the unlock. Started with windows 10, and now with windows 8. Get the same message FAILED (command write failed (Unknown error))
don't know what else to try. Can you provide the fastboot drivers you used?
EDIT: Found the problem. Had to disable MTP!
Click to expand...
Click to collapse
Nice! I use Ubuntu anyway so I would know about drivers haha

Hi there
Is there any other way of installing TWRP onto the HP Slate s/k100 21 without using a male to female usb connector?
Like rooting the Slate then flashing using something like the app Flashify? Booting off the SD card?
Thanks in advance

Hey there! I tried to install your recovery on my HP Slate 21, but although the fastboot output looks good to me:
seems I have already unlocked previously:
Code:
$ sudo fastboot oem unlock
...
(bootloader) Bootloader is already unlocked.
OKAY [ 0.025s]
finished. total time: 0.025s
And flashing the recovery also seems like it works fine:
Code:
$ sudo fastboot flash recovery TWRP_3.0.0-0_phobos_Quaesar.img
target reported max download size of 641728512 bytes
sending 'recovery' (9256 KB)...
OKAY [ 0.329s]
writing 'recovery'...
OKAY [ 0.562s]
finished. total time: 0.892s
But when I boot into recovery afterwards I get not TWRP but a stock recovery that will not flash your cyanogenmod because it cannot verify it.

Apad121 said:
Hi there
Is there any other way of installing TWRP onto the HP Slate s/k100 21 without using a male to female usb connector?
Like rooting the Slate then flashing using something like the app Flashify? Booting off the SD card?
Thanks in advance
Click to expand...
Click to collapse
If you can get root then yeah it's good. However finding a way to root without a wire to connect to the computer is kinda hard. My suggestion is to skip that and just twist two male usb cables together
@kaefert, try locking and unclocking the bootloader. If that doesn't work wipe the recovery partition then flash it

Quaesar said:
If you can get root then yeah it's good. However finding a way to root without a wire to connect to the computer is kinda hard. My suggestion is to skip that and just twist two male usb cables together
@kaefert, try locking and unclocking the bootloader. If that doesn't work wipe the recovery partition then flash it
Click to expand...
Click to collapse
Thanks but I have already bought the cable and flagged TWRP on. I have also tried out your cm ROM.

I could use some advice. I enabled the USB developer option, when the cable is connected to my booted HP slate the ADB command window on my laptop works. I was able to send command adb reboot bootloader to reboot the Slate into the bootloader but once I get there, the cable disconnects from the Slate so I can't do the fastbook unlock command. Any tips ?

when I run the fastboot flash recovery /path/to/downloaded/TWRP.img command
error appears: can not open '/path/to/downloaded/TWRP.img'

im having issues installing TWRP on Slate21
hi, its been a while since I touched anything android, so its probably no surprise im having problems here! lol, anyhow, ive got a Slate 21 stuck on the 'HP Slate Android' boot screen and wanted to reflash it, so I follow the instructions here, and I get as far as the point where you flash TWRP and I get a problem and it doesn't flash?
this is what it says when I try>>>>>
Target reported Max download size of 641728512 bytes
error: cannot load 'c:\TWRP.img' : No error
obviously ive placed the TWRP.img on the root drive, am I doing something wrong here? have I got the wrong ADB driver? any help will be greatly appreciated. thanks Dee

HP Slate 21-s100
Turn off device and boot into fastboot mode - OK
Connect your device to your computer by plugging USB male to USB male connector - OK
Run the command “fastboot oem unlock” - OK
fastboot oem unlock
(bootloader) Showing Options on Display.
(bootloader) Use device keys for selection.
(bootloader) erasing userdata...
(bootloader) erasing userdata done
(bootloader) erasing cache...
(bootloader) erasing cache done
(bootloader) unlocking...
(bootloader) Bootloader is unlocked now.
OKAY [ 19.503s]
Finished. Total time: 19.504s
fastboot flash recovery /path/to/downloaded/TWRP.img - OK
Use the buttons on the side of the device to select “Recovery” - OK
Profit! You now have the latest TWRP on your device! - NOPE! :crying: I see the original hp Android System Recovery :crying: WHY?
I was worng, Where am I doing wrong?

I did it the way you say here.
then i wanted to change the software.
i got this error.
I did something wrong.
I am installing twrp but it won't open.
Pressing volume + volume - power keys comes here.
I would be glad if you could help.
Thanks

Related

[ROOT][TWRP][Unlock] Chuwi Hibook by kostyamat

Hibook-ToolBox​
For first - to write my english is bad, bad, very bad... But I understand english
I allowed myself to write a few batch files to help newcomers, as well as other users, under common title "Hibook-Toolbox".
Русскоязычная версия: http://4pda.ru/forum/index.php?s=&showtopic=741766&view=findpost&p=49156807
It allows you to:
Unlock the new tablet Bootloader.
Unprotect system partition from changing (remove "Verity Boot").
Install TWRP-recovery ver-2.8.7.0, which I have ported to this tablet.
Get the correct ROOT in the right way.
Flash custom firmware (which do not have to wait long, I think so)
And other…. I will add if still need to be.
Attention! Whatever you do, you do it at your own risk!​
Download (needrom.com): http://www.needrom.com/download/unlocktwrproot/
Preparation:
Unzip the archive to PC, but try not to use special characters or folder names with space in the paths to files. Better way is unzip to a folder in the root of drive C: or D:
Turn on ADB-debugging: "Settings"-"About Tablet" >-> Taps under the item "build number" until the caption appears "you became a developer"-> Return one step back-> enter the item for developers "-> Enable" USB debugging ".
Connect the device to the PC.
Install the Intel driver IntelAndroidDrvSetup1.10.0.exe
Usage:
1.Unlock_Bootloader.bat - Run first. It will unlock the bootloader. Carefully follow the prescriptions of the script and on the screen of the tablet. ATTENTION! All settings, programs, as well as all data on internal SDCard will be destroyed! Data on external MicroSD and Windows will not suffer. After unlocking the device will reboot in factory recovery, which does not display anything (stupidly black screen with backlight), the process may take up to 10 minutes (I'm shocked, but it's true), then the device will reboot in Android pristine clean.
2.Unlock_Verity-boot.bat - Run second. It will unlocking the System partition to can be changed. Carefully follow the prescriptions of the script and on the screen of the tablet. The device will reboot. Data on external MicroSD and Windows will not suffer. After all unlock actions, be sure to enter the option for developers and turn ON the item "Factory unlock".
3.Outside_boot-TWRP-recovery.bat - (It is optional. For obtain ROOT access). The device will be rebooted into the temporary session of TWRP-recovery, to Internal sdcard will be placed UPDATE-SuperSU.zip - install it using TWRP. Previously, you can make TWRP backup (recommended!).
4.Flash-TWRP-recovery.bat - (It is optional) TWRP-recovery will be permanently flashed into the Tablet. (Not recommended! Some time firmware will update, TWRP cannot install OTA-update)
5.Flash-ORIGINAL-recovery.bat - (It is optional) Flash back to the original Recovery.
ADB_shell.bat - Just a comfortable CMD-window for ADB-debugging and work with Android Shell.
Flash-Custom_FW.bat – My flasher to flash custom firmware, which I am sure will appear in future.
Useful console commands (ADB_shell.bat):
ADB reboot bootloader - reboot to FastbootDroidboot (flashing) mode
ADB reboot recovery - reboot to TWRP or native Recovery mode.
ADB root – restart ADB-debug service as ROOT.
ADB remount - remounting Android system partition to write (you need root-adb mode see adb root)
ADB shell - run Android-console (ash) through which you can run Linux-scripts, internal system commands, etc.
fastboot boot * *.img – run user-compiled boot.img or recovery.img
fastboot reboot – reboot to system from DroidbootFastboot (flashing) mode.
fastboot flash [boot, recovery, system, data] [boot, recovery, system, data]. img - In DroidbootFastboot mode, It will flash specific image to specific partition, example: fastboot flash system c:\Custom_FW\system.img - will flash only system.img to Android system partition.
PS. Under any circumstances, when using TWRP, never do not wipe system partition! Also make sure the TWRP-settings option "Use rm-R instead of formatting" is ON and never leave it. The fact of the matter is that "Verity Boot" marked System partition itself. Withing format the label disappears - the tablet won't boot to Android! This problem can be solved, but why You would make a problem?
If You like may work, buy me a coffee. Please :|
Hibook-Toolbox was updated 06/04/2016
Nice work, it is really great to see the android side of the hibook 10 has root. this is an excellent tablet and I am ordering it as of now.
I hope you and others will continue working with this tablet, as android n would be great on here.
Thanks. :good:
Hi ! Can you share what tools you use for modding TWRP for HiBook and what files you have changed ? I need to do the same for Chuwi Hi10 DualOS, based on the same hardware, i want to port your TWRP on it..
I have installed root too whit this tutorial. It works perfect. If someone is interested in modding whit kernel or custom Rom i have accsess to all partitions from ubuntu on the tablet. Please ask me if you interested in somthink. The stock Rom and kernel are not the best.
Sent from my Samsung Galaxy S III using XDA Labs
kostyamat said:
Hibook-Toolbox was updated 06/04/2016
Click to expand...
Click to collapse
It works also on Chuwi Hibook pro??
Hi,
I´ve got my brandnew CHUWI HiBook Pro 2 in 1 Ultrabook Tablet PC (10") today. Could you pls confirm that your toolbox is suitable for this tablet as well?
I won´t brick it on the very first day using wrong software ...
many thanks in advance
cheers Andreas
I think its OK. It works perfekt for me. But if you not sure for yourself than dont do it. Thats all we can say. If you dont try it you dont See if it works or not. Its your choice. And dont get panic if the first vor second try dont work. I dont know how many trys i used and some times i was realy scared about my chuwi. But than i realized that i made something wrong vor forget somthing. After all the work and the shocks my chuwi worked perfect. But if you dont try it you dont know if it works.
Sent from my Samsung Galaxy S III using XDA Labs
Hi, it shows the links are broken, can you please update new links
thanks
I confirm successful rooting for chuwi hibook pro, too.
I want to ask... Do we update supersu from Play store??
Hi man
I will proceed later today to do this.
2 questions...
1) how did you compile the TWRP for our needs? or is it a general one?
2) regarding custom fw, is there cyanogen/remixos 3/anything else based on android 7 available??
Thanks
regards
Luca
Confirm, root sucess for chuwi hibook pro.
Thank you
Root works fine, thank you
I had to install SuperSU.zip from the SuperSU Website.
Reason: Binaries couldn't be updatet.
One problem with TWRP left.
Touch input isn't working well.
Seemes that the touch mask is shifted.
I have to connect a mouse via OTG
[EDIT]
I found another posting with newer TWRP Version (3.0.2.0).
Problem Solved.
modaco.com/forums/topic/377883-recovery-twrp-302-0-for-chuwi-vi10-plus-hi10-plus-hi10-pro-hibook-pro/
Hello,
After launching the first .bat file my tablet does not automatically restart. It restarts when I click the power button, and start when the tablet starts normally without data loss as specify
I attached pictures of my tablet after restarts automatically after launching the .bat file
What to do ? I am stuck.
{
"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"
}
It`s ok, I didn`t have reboot neither, nor data loss.
Hey guys, new Chuwi Hi10 Pro owner here. I just want to make sure this will work with the build number for my tablet. It's currently running 5.1.1-B2016081102, Remix OS version 2.0. I'm pretty familiar with rooting Android devices, but I still like to make sure I'm following the proper steps before attempting anything. Thanks in advance.
Nippylicious said:
Root works fine, thank you
I had to install SuperSU.zip from the SuperSU Website.
Reason: Binaries couldn't be updatet.
One problem with TWRP left.
Touch input isn't working well.
Seemes that the touch mask is shifted.
I have to connect a mouse via OTG
[EDIT]
I found another posting with newer TWRP Version (3.0.2.0).
Problem Solved.
modaco.com/forums/topic/377883-recovery-twrp-302-0-for-chuwi-vi10-plus-hi10-plus-hi10-pro-hibook-pro/
Click to expand...
Click to collapse
you have hibook or hibook pro? because modaco only have twrp for hibook pro.. is it compatible for hibook also?
eltdesign said:
you have hibook or hibook pro? because modaco only have twrp for hibook pro.. is it compatible for hibook also?
Click to expand...
Click to collapse
I have the HiBook Pro

Alcatel 1 Root Achieved

Hey guys! Today is a big day for Alcatel 1 owners, since the root is possible. Follow my steps to root your device!
NOTE: This is using a treble gsi rom
[DISCLAIMER] . I am not responsible for dead phones, SD Cards, Alarm clocks failing, etc. You have been warned!
WARNING: Your data will be lost during the process!
=====================================================================================
[Unlocking The Bootloader]
1 - Open Settings, go to About Device and tap Build Number 5 times
2 - Go back, tap on System, Advanced and Developer Options
3 - Check OEM Unlocking
4 - Turn off your phone
5 - Hold down the PWR and VOL+ buttons until the alcatel logo appears
6 - When the logo appears release the PWR button, while holding the VOL+ button
7 - In the recovery menu select reboot to bootloader
8 - In your pc with Minimal ADB and Fastboot installed type "fastboot oem unlock" (w/out the quotes)
9 - On the phone click the VOL+ button
10 - Reboot your phone and wait until the phone factory resets
=====================================================================================
[Installing LAge 16 (Android Pie)]
1 - Go to settings, and search factory
2 - Tap on Factory Reset
3 - When the factory reset is done, turn off the phone
4 - Hold down the PWR and VOL+ buttons until the alcatel logo appears
5 - When the logo appears release the PWR button, while holding the VOL+ button
6 - In the recovery menu select reboot to bootloader
7 - Download https://sourceforge.net/projects/an...910-UNOFFICIAL-treble_arm_avN.img.xz/download to your computer
8 - Open Minimal ADB and Fastboot and type "fastboot -u flash system filelocation.img" (w/out quotes and replace filelocation.img with your "lineage-16.0-20190910-UNOFFICIAL-treble_arm_avN.img" file location
=====================================================================================
[Rooting]
1 - Open Settings, go to About Device and tap Build Number 5 times
2 - Go back, tap on System, Advanced and Developer Options
3 - Tap in Root Access and select ADB and Apps
=====================================================================================
If you have reached this part, congrats! You have successfully rooted the Alcatel 1
{
"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"
}
Thanks dude, that worked perfectly.
Any idea how to get GAPPs working?
What if I only want to root the phone without installing Lineage OS? I just want to remove the bloat apps that came with the phone e.g. Youtube Go, Asistent Go, etc.
I bought a cheap Alcatel 5033D-2BALWE1 from amazon warehouse deals and did not expect to be able to install a custom rom, very nice. But I do have few questions:
Does the rom you linked have some adjustments for this hardware or should any other GSI image work just as well?
Does all the important hardware work (basically LTE, wifi, bluetooth, gps, microphone + speaker + headphone jack, camera)?
Any trusted source for a stock rom that can be flashed with fastboot? There's one on alcatelfirmware.com but not sure how legit it is...
Because amazon warehouse deals sold them so cheap I bought 2, so after trying it I can answer some of my questions. First, my fastboot here (linux) doesn't have a -u switch, but it worked fine without it.
I tried andy yan's build first. Rotation sensor, display brightness, wifi, gps, audio output + micrphone + audio jack switching, camera works. I have not tried bluetooth yet, but the bluetooth settings are there, so there shouldn't be much of an issue. I have not tried a sim card yet.
I wanted something more well known, so I flashed system-quack-arm-aonly-vanilla.img.xz from https://github.com/phhusson/treble_experimentations/releases/tag/v204 and so far everything still seems to work fine. treble version is 27, so I guess all treble roms with support for this version should work. You will need the "aonly" variant, and not the ab one, and it probably has to be the arm (= all arm32?) variant, not the arm32_binder64 one.
ccxxx said:
Because amazon warehouse deals sold them so cheap I bought 2, so after trying it I can answer some of my questions. First, my fastboot here (linux) doesn't have a -u switch, but it worked fine without it.
I tried andy yan's build first. Rotation sensor, display brightness, wifi, gps, audio output + micrphone + audio jack switching, camera works. I have not tried bluetooth yet, but the bluetooth settings are there, so there shouldn't be much of an issue. I have not tried a sim card yet.
I wanted something more well known, so I flashed system-quack-arm-aonly-vanilla.img.xz from https://github.com/phhusson/treble_experimentations/releases/tag/v204 and so far everything still seems to work fine. treble version is 27, so I guess all treble roms with support for this version should work. You will need the "aonly" variant, and not the ab one, and it probably has to be the arm (= all arm32?) variant, not the arm32_binder64 one.
Click to expand...
Click to collapse
isnt the mediatek a 64bit cpu
Good question. /proc/cpuinfo says
Code:
Hardware: MT6739WA
which seems to be a Arm Cortex-A53, which seems to be a 64 bit cpu. I shall try the 64 bit variant of the rom.
ccxxx said:
Good question. /proc/cpuinfo says
Code:
Hardware: MT6739WA
which seems to be a Arm Cortex-A53, which seems to be a 64 bit cpu. I shall try the 64 bit variant of the rom.
Click to expand...
Click to collapse
right something going on after a few flashes, ive tried a few roms and my data in buggered cant get a mobile connection whatsoever ive tried getting into testing mode but no luck!
Any advice>?
---------- Post added at 05:48 PM ---------- Previous post was at 05:46 PM ----------
also getting this quite alot on lots of different roms -FAILED (remote: 'sparse image size span overflow.')
fastboot: error: Command failed
With the arm64 build from https://github.com/phhusson/treble_experimentations/releases/tag/v204 I get this too:
Code:
$ fastboot flash system system-quack-arm64-aonly-vanilla.img
Sending sparse 'system' 1/13 (131068 KB) OKAY [ 38.967s]
Writing 'system' FAILED (remote: 'sparse image size span overflow.')
fastboot: error: Command failed
I guess the system partition is just too big:
1.7G system-quack-arm64-aonly-vanilla.img
1.1G system-quack-arm-aonly-vanilla.img
Are the arm64 binaries really 50% bigger, or is there more stuff in the 64 bit build, or is there empty space in the image?
Anyway, I put my sim card into slot 1 and immediately got a decent 4G connection, I didn't have to do any fiddling (O2/Eplus in germany). I only tried the AOSP image I linked, not the one from andy yan. It seems there are some issues with that image though, alarms and messaging notifications are two things that don't seem to work yet.
I keep getting this:
Code:
fastboot oem unlock
FAILED (remote: 'unknown cmd.')
fastboot: error: Command failed
FYI i have enabled oem unlock. Any clues?
hello
can i have the source for this because i want to optimize it.
my reason is the boot time is very long.
Hi Guys,
I've been trying since yesterday and get a boot loop on the lineage os boot.
I haven't got past the boot animation.
I've tried to flash to stock with spflash tool. NO success so far.
I need help, please.
I'm running Linux i3.
Thanks a lot!
FNMONTEFALCONE said:
Hi Guys,
I've been trying since yesterday and get a boot loop on the lineage os boot.
I haven't got past the boot animation.
I've tried to flash to stock with spflash tool. NO success so far.
I need help, please.
I'm running Linux i3.
Thanks a lot!
Click to expand...
Click to collapse
Have you tried clearing the cache on the recovery menu and trying to boot again?
Sometimes the phone gets stuck on boot, any clues?
No success with rooting
Chinchila01 said:
Have you tried clearing the cache on the recovery menu and trying to boot again?
Click to expand...
Click to collapse
Dear Chinchila01,
Yes, and yes. I tried everything. The phone is now at my carriers tech support team. It's been more than a week and they can't fix it!!
I'm surprised, I must've really screwed it up somehow!
Well, I got a backup while they decide what to do and I've decided not to touch it.
I guess some phones are just not for fooling around with.
Hope this helps.
Best,
Facundo
I have much the same issues.
Lineage 16 works almost completely if it ever boots, sometimes you get lucky!
Lineage 17 usually boots but doesn't work really well, no gps, etc.
No GAPPS either way.
So close yet so far!
Solution
@caish5
 @FNMONTEFALCONE
Hey guys, just to tell you:
Have been trying out this rom: https://github.com/phhusson/treble_experimentations/releases/tag/v32
And so far everything's good.
I installed system-arm-aonly-go-su.img.xz using the following method:
1. Extract it.
2. Reboot to fastboot.
3. fastboot flash system <file>
4. Reboot to recovery
5. Factory reset and cache clean.
6. Reboot.
Thanks, that worked. Even GAPPS!
Chinchila01 said:
@caish5
@FNMONTEFALCONE
Hey guys, just to tell you:
Have been trying out this rom: https://github.com/phhusson/treble_experimentations/releases/tag/v32
And so far everything's good.
I installed system-arm-aonly-go-su.img.xz using the following method:
1. Extract it.
2. Reboot to fastboot.
3. fastboot flash system <file>
4. Reboot to recovery
5. Factory reset and cache clean.
6. Reboot.
Click to expand...
Click to collapse
I've tried a lot of different GSI images, All Pie ones take a long time to boot or don't boot and have to restart until it does.
I got this phone few days ago, Surprised me that it can run GSI's been having a good time testing different roms.
Thought there would be a TWRP but haven't found one. Makes it hard to have a rom with play store and root.
That's what i'm trying to find.
Chinchila01 said:
@caish5
@FNMONTEFALCONE
Hey guys, just to tell you:
Have been trying out this rom: https://github.com/phhusson/treble_experimentations/releases/tag/v32
And so far everything's good.
I installed system-arm-aonly-go-su.img.xz using the following method:
1. Extract it.
2. Reboot to fastboot.
3. fastboot flash system <file>
4. Reboot to recovery
5. Factory reset and cache clean.
6. Reboot.
Click to expand...
Click to collapse
Does that rom have SuperSU ? it say's SU at the end but installed it and no SU app ?

TWRP-3.4.0.0 for Ulefone Armor X5 (aka Bretzel)

{
"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"
}
TWRP FOR Ulefone Armor X5​DISCLAIMER
As usual, you do anything described in this post at your own risk. No one but you is responsible for any data loss, bricking or damage of your device.
INSTALLATION
- Go to developer settings and turn on OEM unlock
- Power off the phone and boot to fastboot mode (power and volume +)
- Open a comand prompt and type:
Code:
fastboot flashing unlock
All the data will be loss
- Confirm the oem unlock by pressing the volume + button
- And now type:
Code:
fastboot reboot
- When the phone is turned on, and you complete the setup wizard, type:
Code:
adb reboot bootloader
- When fastboot mode appears in a corner of the phone, type the following command:
Code:
fastboot flash recovery recovery.img
- Now Boot into TWRP, and format data, and reboot to system
If you wanna root it:
- When you are at TWRP and you have formatted data, flash Magisk by sideload
- And reboot to system
Sources:
Device Tree
Download:
TWRP v1
TWRP v2
TWRP v3
Thanks to [Alphabetical Order]:
* Hadenix
* Maanush
* R0rt1z2
* SebaUbuntu
Just a note: This is NOT for the newer mt6765 Android 10 Q phone, If your fone is android 10 Q it will NOT work.
Pachacouti said:
Just a note: This is NOT for the newer mt6765 Android 10 Q phone, If your fone is android 10 Q it will NOT work.
Click to expand...
Click to collapse
Hi
How are you?
My variant is MT6763 one, if you want open pm and we will work for make TWRP for MT6765 variant.
Thanks!
A Only
Thanks dude, but my phone is an 'A' only partition, and as far as I'm aware, only johnwu's phone has actually been done, his being 'A' Only... He made a magisk for his 'A' only phone, but it dont work on mine. To see my firmware, just look at the ulefone stock firmware for android 10_Q, you'll find all you need there... ? It's an armour x5, aarch64, meaning 64bit only I think...
Tried everything I know of, and I do know a bit so not shy in testing any files, I am a competant programmer electronics style, flashing chips etc, so no prob re-flashing errors etc
Edit google johnwu 'A' only and you'll see why its not been done yet... whoever does it will create root for what is coming for all fones...!
X5 pro variant
FYI, this method isn't working on Ulefone Armor x5 Pro variant. (MT6765 - Android 10) Dont know why, but it causes bootlop. Reflashing stock boot img restores the phone functionality (without TWRP obviously). As i'm a new user, i can't post the link to the stock Boot and Recovery images, but if anyone needs them for porting, feel free to PM me.
It wont work because android 9 is the old version of 64bit capable of running 32bit apps, android 10 is pure x64bit. The bootloader is NOT the bootloader anymore, but a preloader, loading BEFORE the bootloader. so flashing bootloader over preloader causes bootloop, makes sense dunnit?
All fones will soon adopt this, and it has already started, since johnwu was bought by apple, and will be made too busy to produce anything anymore, by design of course, and since this new version of a only partitioning has been succesfull in thwarting him, no more root for you. Now you get another file system running on top of your unrootable fone to make you think you have root, pretty much sums it up, this overlayfs...
Shows how good the devs really are nowadays, when nomoretech (hovatek) found out his work dont work on android 10, he ignored my thread, too busy with old android 9 for old fones. upgrade, update, move on, say 'tata root'....
thanks good job on android 9
jmpf_bmx said:
TWRP FOR Ulefone Armor X5​DISCLAIMER
As usual, you do anything described in this post at your own risk. No one but you is responsible for any data loss, bricking or damage of your device.
INSTALLATION
- Go to developer settings and turn on OEM unlock
- Power off the phone and boot to fastboot mode (power and volume +)
- Open a comand prompt and type:
Code:
fastboot flashing unlock
All the data will be loss
- Confirm the oem unlock by pressing the volume + button
- And now type:
Code:
fastboot reboot
- When the phone is turned on, and you complete the setup wizard, type:
Code:
adb reboot bootloader
- When fastboot mode appears in a corner of the phone, type the following command:
Code:
fastboot flash recovery recovery.img
- Now Boot into TWRP, and format data, and reboot to system
If you wanna root it:
- When you are at TWRP and you have formatted data, flash Magisk by sideload
- And reboot to system
Sources:
Device Tree
Download:
https://github.com/jmpfbmx/android_...eleases/download/twrp_bretzel_v1/recovery.img
Thanks to [Alphabetical Order]:
* Hadenix
* Maanush
* R0rt1z2
* SebaUbuntu
Click to expand...
Click to collapse
Hi,
We try to install it on a Armor X5 with android 9, build Armor_X5_MH1_EEA_V01 and all we have is a green line in the top of the screen then the phone reboot...
Is it many hardwares for the same phone ?
Thank you
wargreen said:
Hi,
We try to install it on a Armor X5 with android 9, build Armor_X5_MH1_EEA_V01 and all we have is a green line in the top of the screen then the phone reboot...
Is it many hardwares for the same phone ?
Thank you
Click to expand...
Click to collapse
Hi,
Can you share a pic of the screen?
Can you try to use adb? (Try adb shell, if works make this, adb shell cat /tmp/recovery.log, and send me the file by here)
Thanks
Regards
Jose
Tomorrow you will have a huge update of TWRP and some news about A11 hehe
"- Now Boot into TWRP, and format data, and reboot to system"
Could you explain exactly How to do this, please
bootloader activated, do I hard reboot pressing power and vol+, and when do I stop pressing ?
thanks
ulysse
"- Now Boot into TWRP, and format data, and reboot to system"
Could you please explain exactly how to do this ?
Bootloader activated, Do I press power and vol+ and keep then pressed ? until what ?
thanks a lot
ulysse
ulysse_21 said:
"- Now Boot into TWRP, and format data, and reboot to system"
Could you explain exactly How to do this, please
bootloader activated, do I hard reboot pressing power and vol+, and when do I stop pressing ?
thanks
ulysse
Click to expand...
Click to collapse
Hi
How are you?
Have you got Bootloader unlocked? (Idk wdym with bootloader activated)
For do that you just need to flash TWRP, reboot phone pressing vol+ and power as you say and when TWRP boots, just go to Wipe -> Format Data (Type yes) and then when the format data has finished, clic on reboot to system
TWRP Updated!
Now MTP and ADB are working better!!
thanks, i try
ulysse
jmpf_bmx said:
- When the phone is turned on, and you complete the setup wizard, type:
Click to expand...
Click to collapse
I start in Engish , skip connect to mobile network (no sim), skip WI-Fi, adjust good date and time, without "use location" and without "send usage and diagnostic data"; acept; "not now" for "protect your phone"
Then I activate the developper mode and in "system/ options for developers" I turn on USB debogage.
Did i miss sommething at this stage ?
jmpf_bmx said:
Can you try to use adb? (Try adb shell, if works make this, adb shell cat /tmp/recovery.log, and send me the file by here)
Click to expand...
Click to collapse
Hello thanks for your help.
Phone powered on, I can go on "Armor_X5:/ $ " if I type "adb shell".
but I don't understand "adb shell cat /tmp/recovery.log,"
I have "cat: tmp/recovery.log: No such file or directory"
appologize for my low level in English and in computering, I write code more on ImageJ and Rstudio.
ulysse_21 said:
I start in Engish , skip connect to mobile network (no sim), skip WI-Fi, adjust good date and time, without "use location" and without "send usage and diagnostic data"; acept; "not now" for "protect your phone"
Then I activate the developper mode and in "system/ options for developers" I turn on USB debogage.
Did i miss sommething at this stage ?
Click to expand...
Click to collapse
Did you opened bootloader?
ulysse_21 said:
Hello thanks for your help.
Phone powered on, I can go on "Armor_X5:/ $ " if I type "adb shell".
but I don't understand "adb shell cat /tmp/recovery.log,"
I have "cat: tmp/recovery.log: No such file or directory"
appologize for my low level in English and in computering, I write code more on ImageJ and Rstudio.
Click to expand...
Click to collapse
I guess that you aren't at recovery, or you didn't disable and enable MTP
Pachacouti said:
Just a note: This is NOT for the newer mt6765 Android 10 Q phone, If your fone is android 10 Q it will NOT work.
Click to expand...
Click to collapse
It works in mt6762 Android 10 version? model Armor_X5_Q_EEA

[Guide][GSI][13] GSI Install Guide for ROG Phone zs600kl

{
"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"
}
Code:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
Introduction​ROG Phone 1 is no longer receiving any update since android 9 and no custom rom were made, which is sad since s845 is still a well performed CPU even now. However, by the help of Project Treble, we're able to install the latest android 12 (and so on) on this device.
The guide requires some basic knowledges of using SDK Platform Tools and recovery. But feel free to ask if you don't understand anything.
Hardware support​
ComponentCommentCameraWorksSpeaker / MicWorksBluetoothWorks** (Bluetooth in call, all Bluetooth codec supported by the hardware) *(No A2DP)
(Update: All bluetooth functions was now fixed on A13 and above)WiFiWorksSIM / Mobile Data / VoiceWorksVoLTEUnknownFingerprintWorks (see "workarounds and recommendations" to enable fingerprint wakeup)NFCWorksOffline ChargingBroken90Hz Refresh RateWorksAuto-brightnessWorks (May depend on the Rom)Proximity sensorWorksVibrationBrokenRGB backlight on the logoWorks* (Basic functions with an app on google play) *(Will need to set the light again whenever restart the phone)HDR content playbackBroken (Have some wired lines on the screen)
Steps to install​We have 2 ways to install, either through Fastboot or with TWRP. For data safety, I do not recommend break the force encryption whatsoever.
Make sure to Unlock Bootloader before proceeding any further!
A. Install through fastboot:
1. Extract vbmeta.img from the offical rom you're running.​
File attached is from version "WW-16.0420.2009.39", so upgrade to this version if you dont know how to extract vbmeta.img.
2. To disable dm-verity, do "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img".​3. Flash the gsi you choose in fastboot. Do "fastboot flash system (system image name.img)" .​4. Reboot to offical recovery and do a factory reset.​5. You are good to go!​
If you wish to use Magisk (I recommend Lygisk over Magisk since these gsi are force encryped), patch the boot image extract from the offical rom and flash it through Fastboot.
You can also boot to TWRP without flash it onto the device and use adb sideload to install zips, not recommend if you don't know what I'm talking about!
B. Install through TWRP:
1. Extract vbmeta.img from the offical rom you're running.​
File attached is from version "WW-16.0420.2009.39", so upgrade to this version if you dont know how to extract vbmeta.img.
2. To disable dm-verity, do "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img".​3. Flash the TWRP(attached) in fastboot. Do "fastboot flash boot twrp-3.4.0-0-Z01Q-16.0410.2003.24.img" .​4. Reboot to TWRP. Do "fastboot oem reboot-recovery".​5. Format data, cache and system parition in recovery.​6. Flash the gsi you choose in recovery. (flash the "image" into "system partition").​7. Flash any modification zips now.​8. (Optional) Flash "disforsenc_daisy__zero.zip"(attached) in TWRP to disable force encryption.​
It is not recommend to do this step if you really care about your data safety. If someone get your phone, they will be able to access all the files.
9. You are good to go!​
You can still use adb sideload to install zips(and lots of other functions) without disable force encryption. So it's really not recommend to disable it.
Workarounds and Recommendations​
To fix Bluetooth not opening or other Bluetooth related issue, refer to this guide I made. You will need Magisk to enable Aptx. This should NOT be needed anymore, since A13 builds have fix this.
Recommend to use this Gcam. It can utilize all the camera moudules and it's stable.
If you have any problem with mobile network/phone call, try to install and enable the ims apk in "phh/IMS features".
Most builds based on phh's build(which were listed on the wiki page) have a working safetynet, and the Universal Safetynet Fix will work with Magisk installed.
However some of them are still broken. So make sure the safety net is working without Magisk, then install Magisk.
RGB backlight of the ROG logo in the back can be control with this app found in google play. It's not made for this device, but basic functions will work.
My personal recommendation of gsi is crDroid maintain by Nazim. It have working safetynet and lots of customizable features I like. (Especially it can get rid of the search bar and at a glance which I HATE A LOT)
If you do want to enable fingerprint sensor while screen is off, set these two props using adb.
Code:
persist.asus.fp.wakeup=true
If you do want to use bottom usb port rather than the one on the side, set this prop. Also, to go back to the bottom one, set it to a600000.dwc3 .
Code:
persist.vendor.usb.controller.default=a800000.dwc3
If you do want to use double tab to wake, enable related settings in the GSI you use (also settings in "phh treble settings") if needed, and set this prop.
Code:
persist.asus.dclick=1
Credits​Rocky7842​xspx for testing the device with me​Numerous people and threads on the forum for some workaround or inspiration
And all the other devs for creating these wonderful modules/ROMs​
reserved
whats ver. i download from crDroid ??
crDroid-8.8-a64_bgN-slim-Unofficial.img.xz2022-09-03917.6 MB
69crDroid-8.8-a64_bgN-Unofficial.img.xz2022-09-031.1 GB
60crDroid-8.8-a64_bvN-Unofficial.img.xz2022-09-03756.4 MB
45crDroid-8.8-arm64_bgN-slim-Unofficial.img.xz2022-09-031.1 GB
268crDroid-8.8-arm64_bgN-Unofficial.img.xz2022-09-031.3 GB
523crDroid-8.8-arm64_bvN-Unofficial.img.xz2022-09-03944.5 MB
230
a64 or arm64 ?
bgN-slim , bgN or bvN ??
Dj.GriM said:
whats ver. i download from crDroid ??
crDroid-8.8-a64_bgN-slim-Unofficial.img.xz2022-09-03917.6 MB
69crDroid-8.8-a64_bgN-Unofficial.img.xz2022-09-031.1 GB
60crDroid-8.8-a64_bvN-Unofficial.img.xz2022-09-03756.4 MB
45crDroid-8.8-arm64_bgN-slim-Unofficial.img.xz2022-09-031.1 GB
268crDroid-8.8-arm64_bgN-Unofficial.img.xz2022-09-031.3 GB
523crDroid-8.8-arm64_bvN-Unofficial.img.xz2022-09-03944.5 MB
230
a64 or arm64 ?
bgN-slim , bgN or bvN ??
Click to expand...
Click to collapse
arm64 versions are all fine.
I got a rog phone 1 for a little more than a year now or so, its nice to see that we can at least have a update even if its not oficial. Im getting tyred of the same look of the UI and the aod, my god the stock ones are horrible but if i use another app for the aod it just drains the battery so fk quick. I will give a try to the pixel experience gsi
Microsoft Windows [Version 10.0.19044.2006]
(c) Microsoft Corporation. All rights reserved.
C:\platform-tools>fastboot.exe devices
K7AZGV03070237J fastboot
C:\platform-tools>fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (4 KB) OKAY [ 0.002s]
Writing 'vbmeta' OKAY [ 0.001s]
Finished. Total time: 0.030s
C:\platform-tools>fastboot flash system C:\platform-tools\crDroid-8.9-arm64_bgN-Unofficial.img
Sending sparse 'system_b' 1/7 (521508 KB) OKAY [ 12.520s]
Writing 'system_b' OKAY [ 0.000s]
Sending sparse 'system_b' 2/7 (523009 KB) FAILED (remote: 'Error: Last flash failed : Volume Full')
fastboot: error: Command failed
C:\platform-tools>
i got error !!
Dj.GriM said:
Microsoft Windows [Version 10.0.19044.2006]
(c) Microsoft Corporation. All rights reserved.
C:\platform-tools>fastboot.exe devices
K7AZGV03070237J fastboot
C:\platform-tools>fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (4 KB) OKAY [ 0.002s]
Writing 'vbmeta' OKAY [ 0.001s]
Finished. Total time: 0.030s
C:\platform-tools>fastboot flash system C:\platform-tools\crDroid-8.9-arm64_bgN-Unofficial.img
Sending sparse 'system_b' 1/7 (521508 KB) OKAY [ 12.520s]
Writing 'system_b' OKAY [ 0.000s]
Sending sparse 'system_b' 2/7 (523009 KB) FAILED (remote: 'Error: Last flash failed : Volume Full')
fastboot: error: Command failed
C:\platform-tools>
i got error !!
Click to expand...
Click to collapse
i fixed now i chaneg the rom to another rom slim and working now
how to patch the boot image for lygisk ?? from offical rom asus rog phone ASUS_Z01QD or from crDroid-8.9-arm64_bgN-slim-Unofficial.img
i want to fix the bluetooth is not working now !
sorry for thats i am noob
Dj.GriM said:
i fixed now i chaneg the rom to another rom slim and working now
how to patch the boot image for lygisk ?? from offical rom asus rog phone ASUS_Z01QD or from crDroid-8.9-arm64_bgN-slim-Unofficial.img
i want to fix the bluetooth is not working now !
sorry for thats i am noob
Click to expand...
Click to collapse
First of all, since the system partition on this phone is designed for android 8/9, it didn't leave much spare space. So a lot of highly modified gsi is too big for the phone. If you wish to flash them, you'll need to follow along this guide to resize partitions (tested and work).
As for the lygisk (magisk) part, take the boot image of the stock ROM you were running (the exact same version is recommended), and use the app to patch the boot.img.
Or if you have installed TWRP, simply flash the zip file through TWRP. If it's encrypted, flash it through adb sideload and it'll be fine too.
does this still apply until date? is it worth it? does upgrading it will make my device performs better? dont get me wrong, i really want to upgrade, but i just need more insights.
edzraaa said:
does this still apply until date? is it worth it? does upgrading it will make my device performs better? dont get me wrong, i really want to upgrade, but i just need more insights.
Click to expand...
Click to collapse
Yes, the guide is still valid for now.
The performance overall is pretty good.
If what I mentioned that's not working is acceptable for you, I would recommend you to try it out. Plus you can always revert it to stock.
Rocky7842 said:
Yes, the guide is still valid for now.
The performance overall is pretty good.
If what I mentioned that's not working is acceptable for you, I would recommend you to try it out. Plus you can always revert it to stock.
Click to expand...
Click to collapse
Which version would you recommend based on the builds now?
I'm using it most for games and daily use. The reason i wanna upgrade is i noticed the game i played started to become laggy and it was not 60fps like it used to after update and update so I dont think it is optimized for the phone? The FPS drops when theres a teamfight. The game run SMOOTHLY on my friends phone which specs is lower than my ROG Phone 1. But his phone run on Android 11 if im not mistaken which i got an idea maybe its the Android version that have something to do with optimization?
I have the latest stock version same as yours stated in the post above. And your guide recommended crDroid which was Android 12 (at that time and it was crDroid 8.8 based on the user above) but that was last year. And by A13 fixed the Bluetooth thingy, by A13 does that mean Android 13? I'm having trouble to choose which ROMs. Or should I just upgrade to Android 12?
Sorry for asking but i just wanna be safe and Thank you for your time. Appreciate it
edzraaa said:
Which version would you recommend based on the builds now?
I'm using it most for games and daily use. The reason i wanna upgrade is i noticed the game i played started to become laggy and it was not 60fps like it used to after update and update so I dont think it is optimized for the phone? The FPS drops when theres a teamfight. The game run SMOOTHLY on my friends phone which specs is lower than my ROG Phone 1. But his phone run on Android 11 if im not mistaken which i got an idea maybe its the Android version that have something to do with optimization?
I have the latest stock version same as yours stated in the post above. And your guide recommended crDroid which was Android 12 (at that time and it was crDroid 8.8 based on the user above) but that was last year. And by A13 fixed the Bluetooth thingy, by A13 does that mean Android 13? I'm having trouble to choose which ROMs. Or should I just upgrade to Android 12?
Sorry for asking but i just wanna be safe and Thank you for your time. Appreciate it
Click to expand...
Click to collapse
There are crDroid 9 A13 builds maintain by Nazim.
I'd recommend you to try different ROMs and versions to see which one serve you the best.
i cant seems to get my wifi to work on crDroid. NEED HELP! Its on the latest crDroid. Or is it just me?
edzraaa said:
i cant seems to get my wifi to work on crDroid. NEED HELP! Its on the latest crDroid. Or is it just me?
Click to expand...
Click to collapse
Welp, i think i F'd it up . Do i need to do the vbmeta.img everytime? And im not sure what to do now. Changing back to partition A stuck on ROG loading. Since i f'd up i might play around and see what i can do.
UPDATE: I got it to work finally. Flashed EVERYTHING back to "WW-16.0420.2009.39" payload.bin incase you got an error and get stucked (bootloop, wont boot). THEN follow the steps above WITH NO MISTAKES!
I need to unlock the bootloader of my rog 1, but do you guys know how? The unlocktool.apk asus has provided is not working anymore
Yusop said:
I need to unlock the bootloader of my rog 1, but do you guys know how? The unlocktool.apk asus has provided is not working anymore
Click to expand...
Click to collapse
That is the only way AFAIK. Try to contact Asus for help.

Cubot Pocket: unlock bootloader and flashing GSI/lineageOS

I finally got my cubot pocket. I like my devices without GAPPS so I unlocked the bootloader and finally managed to flash a GSI.
This post contains: observations and general hints for this level of development, a guide to unlock the bootloader and what I did so far to flash a GSI.
Unlocking the bootloader​This works similar to other Spreadtrum/Unisoc-based devices.
The crucial thing is to issue get_identifier_token from fastboot -> reboot to bootloader. If you issue it in adb reboot fastboot, it will say OKAY and may also print a four character string, but this is not the token you're looking for.
Also, when you flash the unlock_bootloader signature.bin, it will prompt you on the phone, but you have to react differently than described on the phone - see below.
enable Android developer mode (Settings -> About Phone -> tap "build number" >= 7x)
enable OEM unlocking (Settings -> System -> Developer Options -> OEM unlocking)
enable ADB (Settings -> System -> Developer Options -> USB debugging)
adb reboot fastboot
choose "reboot to bootloader"
Code:
$ fastboot oem get_identifier_token
proceed as described here
finally:
Code:
$ fastboot flashing unlock_bootloader signature.bin
this prompts you to press volume up to cancel, volume down to confirm.
But volume down and power don't have any effect, instead volume up starts wiping user.
wiping takes a bit longer than I'd expect, for me 433 s.
Congratulations, you now own your phone a bit more than before!
Flashing GSIs (probably applies to ROMs in general)​It's a Treble-enabled arm64 A/B device. Flashing GSIs should be possible.
It looks to me like the A/B is crippled as all the _b partitions are 0-sized, probably to save space.
get and unpack necessary files as necessary: boot.img, vbmeta-sign.img, a ROM that you want, p.ex. AndyYan's Lineage GSI
fastboot resize-logical-partition product_a 38000
fastboot flash system [unpacked ROM file]
I also factory reset it afterwards
General/random notes​
there are two different things reachable as "bootloader":
in fastboot switch to bootloader. The device displays the Cubot splash and from the display it looks stuck, but it exposes a fastboot interface -> useful
$ adb|fastboot reboot bootloader
shows the droid with open service door, saying "no command". It also exposes adb, but I don't see a way how to authorise it. Maybe via the debug UART? I didn't yet read the UART when I stumbled upon this. Currently it seems useless to me.
there are test points for the debug UART easily reachable once you disassemble it.
I didn't see anything with a 3.3V USB UART adapter, but a logic analyser with 1.4 V threshold works -> it probably uses 1.8 V logic level. UART-wise it's 115200 8n1.
I think I don't have anything to hook up to the TX currently.
UART log of boot
it's easy to softbrick this device, and I haven't found a nice way out of softbricked yet. Two not-so-nice-ways
- drain the battery, which obviously requires lots of patience
- disassemble the device and disconnect the battery
then flash the original ROM from the cubot site following the instructions there.
Once it bootloops, I didn't manage to power it off or get into fastboot / recovery using the device's keys.
the device reconfigures it's USB during boot and there's a limited time for the SPDFlashTool's mode that flashes complete firmwares. That means that it's not really feasible to run SPDFlashTool inside a VM.
the phone actually does something with the battery detached but USB power attached. For example, it's possible to flash it with the SPDFlashTool. However, it doesn't boot the linux kernel / Android, this seems to be inhibited.
This is in contrast to many other devices that are not laptops for which the PMIC does not provide power to the system when the battery is disconnected.
Old notes / how not to do it: Flashing GSIs (probably applies to ROMs in general)​
it's a Treble-enabled arm64 A/B device. Flashing GSIs should be possible.
It looks to me like the A/B is crippled as all the _b partitions are 0-sized, probably to save space.
system_a is a bit below 1 GB ( 0x3CF5D000 B) which is likely smaller than any interesting GSI.
attempting to flash yields
Code:
Resizing 'system' FAILED (remote: 'Not enough space to resize partition')
There's the general hint to delete the product partition by running
fastboot delete-logical-partition product
then it's actually possible to flash a GSI, however:
the device bootloops -> log
From the log I realised I need to modify vbmeta, so:
it does android verified boot / AVB which from my understanding the easiest way forward is to disable it by:
creating a vbmeta.img with
Code:
$ avbtool make_vbmeta_image --flags 2 --padding_size 4096 --output vbmeta_disabled.img
the padding necessary might be 16384 instead, according to the hovatek thread below.
it might be necessary to pad it additionally. There's a tutorial and a script here
when I flash both the hovatek-unpadded avbtool-4096-padded and hovatek-padded avbtool-16384-padded vbmeta, the device bootloops -> log
I guess the next step would be to unpack the vendor PAC ROM and check how the vbmeta image looks there.
Since with the original vbmeta it looks like it's restarting when it's already running linux / android, another way to go at this might be to change the kernel cmdline: instruct it to not do verity - Does anyone know how this is possible?
reserved for future use
dead ends (so far...)​
didn't manage to find what image header magic number was wrong with the vbmeta.img (was already in the starting post)
the vbmeta actually doesn't chain to system, but there's a vbmeta_system partition (and vbmeta_vendor.img, vbmeta_system_ext.img, vbmeta_product.img) - I flashed the empty vbmeta disabling checking to vbmeta_system... and it bootloops again
this time the error is:
Code:
sprd_get_all_imgversion: ab_slot_flag is 0
read successed
sprd_get_all_imgversion: rpmb read blk 16382 successful
invalid sprd imgversion magic 0 exp a50000a5
uboot_vboot_verify_img() return error:param->a0=3
could be that it's just necessary to write the magic number to the correct offset, but I coulnd't figure out where this offset is - the images in the PAC don't have this number, so I guess it's embedded on-the-fly while flashing.
searching for imgversion+spreadtrum gets 0 relevant results - I guess it's very unusual that people hook up to the debug uart
I didn't manage to disassemble uboot.img - At least the disassemble doesn't look like a bootloader to me. Not an expert with disassemblies though!
modifying boot.img with magisk also results in invalid sprd imgversion, so no root or disabled verity through this route
I didn't manage to read back from flash through SPD ResearchDownload, I get the error "incompatible partition" for userdata - and I can't deselect it :/
(I thought it might be possible to get the sprd imgversion magic throught this route
Partial success​I managed to boot a GSI by signed by google through Dynamic System Updates (DSU).
It kind of looks like it's running in emulation though: settings say "About emulated device" and it gets an own userdata.img
the DSU page also says it will only run GSIs signed by google or the vendor (not sure which key that would be, but I doubt there are any) - I haven't tried flashing anything this route
Open Ends:​reverse engineering the imgversion thing​It should be possible to figure out how this imgversion business works, ultimatively from the u-boot.img / PAC content. Anyone has any idea how to proceed there? I tried:
binwalk: doesn't look useful to me, nothing got extracted -> here
arm-none-eabi-objdump -b binary -D u-boot-sign.bin -m armv8-a -Mforce-thumb
(also without -Mforce-thumb and with -m armv7)
I'm pretty sure it's actually U-boot: there is the U-boot version string matching the one printed to uart and also the printf-string for the imgversion
requested U-boot source code from Cubot​I requested source for all GPL'ed parts of the Pocket from Cubot, but especially U-Boot and the kernel. I'd be a pleasantly surprised if something comes out of this though
reading back the flash​Does anyone have an idea how to do that? without root no access to /dev/block/mmcblk* and I didn't get SPD ResearchDownload to read it.
It's nice that you could unlock the bootloader! I'll try to do it soon (maybe in some months, but ok lol)
Anyway, which GSI did you try? And about the vbmeta, I think it should be enough to flash the blank vbmeta.img from google. Maybe we could use the original vbmeta.img from stock ROM with the --disable-xxxxx flags.
This is the tutorial from phhusson's group (the man behind the treble project):
0. Get an up-to-date fastboot on your computer (fastboot —version should give version >= 29)
1. Get vbmeta.img from https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img
2. Get A/B GSI (I'm guessing you need ARM64), don't forget to uncompress it
3. From running Android, do adb reboot bootloader
4. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
5. fastboot reboot fastboot
6. fastboot flash system system-xxxx.img
6bis. If fastboot tells you there isn't enough place, do fastboot delete-logical-partition product, fastboot delete-logical-partition product_a, fastboot delete-logical-partition product_b and run the fastboot flash command again
7. On your phone, the screen should have a button "go back to recovery", select it, then select "factory reset / wipe data"
8. Reboot and enjoy
Thanks for your work. I got my Cubot Pocket unlocked too. I have booted LineageOS 19 via DSU Sideloader. It runs like a charm but there is no way to flash the GSI permanent.
@changer86 with the DSU I have the navigation bar not showing, back-gesture not functioning and no automatic display brightness - do these work for you?
wori said:
@changer86 with the DSU I have the navigation bar not showing, back-gesture not functioning and no automatic display brightness - do these work for you?
Click to expand...
Click to collapse
I tried it. My Navigation Bar is showing and working normal.
Automatic Display Brightness is working too.
I dont use gestures, but if you tell me how to do it, i will check that too.
Image: lineage-19.1-20220719-UNOFFICIAL-arm64_bvS.img.xz
and DSU-Sideloader 1.03 from Github. Default Settings
thanks for trying!
You can change it in Settings->System->Navigation->System Navigation->check Gesture Navigation
So: interesting that you got a lineage build working, maybe that's the important difference! From google's doc I understand that there's some verifcation, but looks like it's not. Since I actually don't want the google build, I'll try with lineage next. Did you also try with the built-in DSU way, like described in googles doc?
wori said:
Did you also try with the built-in DSU way, like described in googles doc?
Click to expand...
Click to collapse
As I understood, the app is doing exactly the same like the Google Doc say. It seems like unlocking the Bootloader is enough to boot a custom-DSU.I have read something about signed Images that will boot without unlocking the Bootloader, but i didnt try it. I just want to get rid of all the Google-Stuff before using the Pocket Hope we can get it working.
btw: Gestures seem to work. swipe from right to middle closes Apps. from middle to up opens Menue
After a Weekend of fails i flashed Lineage 19 to my old KingKong mini and its working on the first try. Problem seems to be the Unisoc T310. The success-rate of flashing GSI to T310 seems to be really low. Does anybody know another Android 11 Device with Unisoc T310 that is working with GSI-Roms?
changer86 said:
Does anybody know another Android 11 Device with Unisoc T310 that is working with GSI-Roms?
Click to expand...
Click to collapse
GSI on Unisoc device
My tablet is unisoc t310 T803 with oem android 11 here is were im stuck I reflashed oem super.img and the system booted fine so i can start fresh i erased product and system, and flashed lineage 17.1
www.hovatek.com
seems this guy has succeeded and his device looks pretty similar to pocket in treble info
im unisoc tablet has oem stock A11 and no GSI A10 was to boot. my oem system is system as root AB arm64. so I have no choice but to use Arm64 AB GSI A11 because A10 will not boot
Click to expand...
Click to collapse
Hi, can you help me with this situation? I can't unlock bootloader on cubot pocket.
I tried to unlock on my ubuntu and windows devices.
FAILEN ( Flashing Lock Flag is locked. Please unlock it first)
I don't know that I will do for this problem
Spoiler: image
{
"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"
}
@raary did you enable OEM unlocking in the Android settings?
wori said:
@raary did you enable OEM unlocking in the Android settings?
Click to expand...
Click to collapse
Yes of course
raary said:
Yes of course
Click to expand...
Click to collapse
Did you use the modified fastboot ? Under Ubuntu start a Terminal from the extracted Folder and use ./fastboot instead of fastboot. Ensure that fastboot in the folder is executable. Check this guide: How to unlock Unisoc
Be warned: Unlocking the Bootloader ist working but flashing vbmeta like you tried leads to bootloop. I think the cubot pocket needs signed Images for flashing. there is a guide for custom signed Images but i did not get it to work for now.
changer86 said:
Did you use the modified fastboot ? Under Ubuntu start a Terminal from the extracted Folder and use ./fastboot instead of fastboot. Ensure that fastboot in the folder is executable. Check this guide: How to unlock Unisoc
Be warned: Unlocking the Bootloader ist working but flashing vbmeta like you tried leads to bootloop. I think the cubot pocket needs signed Images for flashing. there is a guide for custom signed Images but i did not get it to work for now.
Click to expand...
Click to collapse
Thank you, I will be try to unlock
@wori any updates on flashing gsi?
@badcodelab not from my side. I got frustrated and also had some other things to do. Hopefully find some time + energy to continue working on this.
I can't stay in stock OS, my GSI on cubot pocket have only 16 Gb via DSU sideload less for me, correct custom not exist for this, sad
@wori, @changer86 i didn't get clear from your posts if you tried to use signed vbmeta from the stock rom
also i haven't manage to make research tool to unpack boot.img nor super.img
by some reasons they stay listed as zero-sized .flag files in the target folder

Categories

Resources