[Guide]Make[10or.E][Treble Support][06 Oct] - Android General

10or.E 1 GB Vendor Partition tutorial
So,this post is about how you can make your 10or device treble support for installing custom roms and gsi.
Before reading this post make sure you have unlocked the bootloader and installed any custom recovery(if you have not then go to this forum
So,now lets come back to the topic...
Requirements
- 1GB Vendor Parition zip Download
- Treble Supported Orange Fox Download
- and a working Mind
Now the process, but befofe starting the process **make sure you have taken complet backup because internal storage will be completely wiped out**And I'am not responsible for any device brick
Now lets start:
-First reboot to your recovery and install the treble supported Orange Fox Recovery.
(if you dont find recovery your recovery in download location just select install image)
-After you have successfully flash the treble orange fox just boot into that recovery and
-install the 1GB-Vendor.zip file then the file is talented it will ask if you want to create vendor partition.
-Just click the volume rockers and select yes
-Then it will ask from where you want to take space **select DATA PARTITION** not system
-Then select END data partiton
-Then select **1024mb size** and select **AFTER**
-Then it will ask to format data, Just select "YES" and reboot to recovery
-Then go to MENU-->Manage Partitions-->Vendor-->Change FS-->then change it to EXT4
-After that again come back to MENU-->Manage Partitions-->data-->then just format you data
-And Finally You Will Have Successfully Created 1GB Vendor Partition...
@Arghya Biswas

Related

[MOD][SCRIPT] Super WIPE Script HTC One | Aroma GUI (upd.18/03/2015)

This tool will allow you to easily WIPE system, data (except /data/media), boot (kernel) and cache partitions directly from custom recovery.
Before using this tool you need to be sure you are using latest version of custom recovery (TWRP or CWM). The current downloads for both CWM and TWRP can found below:
The latest M7 U/UL TWRP can be downloaded HERE. I recommend to use TWRP 2.6.3.0 (for v1.0.2d) and TWRP 2.8.5.* (for v2.0.2) .
v1.0.2d will work for Intarnational version, GE, T_Mobile, AT&T but NOT for SPRINT DEVICE
and v.2.0.2 - for all version!!!
To use this tool please copy zip file to your phone and then boot into custom recovery and choose Install. Then browse to where you copied zip file and select it. Aroma installer will begin. Choose options you want to run.
What script does:
1. Wipe /cache partition (select in Aroma);
2. Wipe delvik-cache (select in Aroma);
3. Wipe /system partition (select in Aroma);
4. Wipe /data partition except /data/media (select in Aroma);
5. Format boot partition (kernel) and removes /system/lib/modules (select in Aroma);
/system/lib/modules
/system/etc/init.d/01-h2w
/system/etc/init.d/01-pwp
/system/etc/init.d/01-therm
/system/etc/init.d/01-blinkbuttons
/system/etc/init.d/01-f2s
/system/etc/init.d/01-f2w
/system/etc/init.d/01-f2ws
/system/etc/init.d/01-f2wt
/system/etc/init.d/01-p2w
/system/etc/init.d/thoravukk
system/etc/init.d/89elementalx
/system/etc/init.d/99elementalx
/system/etc/init.d/99elementalx~
/system/etc/init.d/99bulletproof
/system/etc/init.d/56zram
/system/etc/init.d/30sweep2wake
/system/etc/elementalx.conf
/system/bin/fstrim
/system/usr/keylayout/synaptics-rmi-touchscreen.kl
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
/sys/android_touch/logo2wake
/sys/android_touch/pocket_detect
/sys/android_touch/logo2menu
5. Removes some system files from /data/media;
/sdcard/.android_secure
/sdcard/.bookmark_thumb1
/sdcard/LazyList
/sdcard/LOST.DIR
/sdcard/.data/footprints
/sdcard/.data/mail
sdcard/Android/data/com.android.providers.media
/sdcard/Android/data/com.google.android.apps.genie.geniewidget.news-content-cache
/sdcard/Android/data/com.google.android.apps.maps
/sdcard/.data/navigator/Data/Temporary
6. Check partitions for errors;
7. Create a log of work on internal memory card.
This operation will remove all your data except for /data/media.
If you wipe ONLY BOOT, then you must to flash new kernel and kernel modules too (/system/lib/modules)!
Make sure that you have nandroid backup and Titanium backup before a full wipe!!!
You must have new ROM on /data/media to flash after full wipe!!!
If AROMA Installer stops at 0%, then you must to press Power button and hold 15-17 seconds to reboot. Then go to recovery and start installation again. This will help you.
***Credits***
amarullz for his AROMA Installer Script.
mike1986 for his SUPER WIPE script for Android Revolution HD.
Venom Team for updater-script for ViperOne.
LlabTooFeR for his updater-script for Maximus.
***Download***
Super_Wipe_HTC_One_FULL_v2.0.2.zip - some updates from 18/03/15
Arhive:
Super_Wipe_HTC_One_FULL_v1.0.2d.zip - 2.66 MB - some updates from 24/11/13
md5: 60cff28e4f5ec11e11c15e7d37c54d35
Enjoy!
Version for HTC ONE M9 (ONLY!!!!)
(Russian interface)
Download:
Super_Wipe_HTC_One_M9_FULL_v3.0.1_RUS.zip
Thank you! :good:
Excellent, i miss this scripts since DHD days Thanks mate...
@Golv - good job
i want to wipe everything except the contents on my sdcard download folder > eg. downloaded roms for flashing in TWRP
what should i choose.
what is this script do is the same as wiping in TWRP recovery?
Magpir said:
i want to wipe everything except the contents on my sdcard download folder > eg. downloaded roms for flashing in TWRP
what should i choose.
what is this script do is the same as wiping in TWRP recovery?
Click to expand...
Click to collapse
You must select all of items then will be deleted data, system, cache the boot partitions, after that you can return back into recovery, choose Install and select rom to flash.
This script makes a wipe as well as in TWRP recovery. It's more convenient to use script for somebody ...
Golv said:
You must select all of items then will be deleted data, system, cache the boot partitions, after that you can return back into recovery, choose Install and select rom to flash.
This script makes a wipe as well as in TWRP recovery. It's more convenient to use script for somebody ...
Click to expand...
Click to collapse
i dont understand what this script does is wipe more stuff than the standard TWRP recovery or what?
isnt wiping the boot partitions dangerous?
Magpir said:
i dont understand what this script does is wipe more stuff than the standard TWRP recovery or what?
isnt wiping the boot partitions dangerous?
Click to expand...
Click to collapse
In TWRP all the same, except wipe of boot partition. And there is no partition format /data/media in this script.
Boot partition can be flashed into bootloader (fastboot usb) through:
Code:
fastboot flash boot boot.img
or through:
Code:
fastboot oem rebootRUU
fastboot flash zip boot.zip
(If you S-OFF you can put into zip 2 files: boot.img and android-info.txt, if s-on - signed firmware.zip)
or into custom recovery (zip).
It's dangerous to delete HBOOT partition! In this case - bricks. If you erased boot partition then you can enter into bootloader and recovery and restore all things! ...
so are u telling me that yr script is different from wiping in TWRP ?
So yr script dont delete Hboot partition?
Do not worry! :laugh:
This script don't delete Hboot partition!
so its safe to use?
I checked all items of script on myself. All safe. And if someone does not think before to do something, it is always dangerous!
Awesome, been using a wipe script for the galaxy nexus, great to have one for the One, thanks OP!
when i use this script.
checked all options and wipe.. no rom and no kernel on my phone?
flash now a rom without choose fullwipe in aroma..
why all my apps on phone, my own homescreen?
sent from my HTC One powered by ViperOne
Hopie, thank you! Try this version. Super_Wipe_HTC_One_FULL_v1.0.2d.zip - 2.66 MB An updated version in OP.
Молодец, @Golv. Так держать.
Great work! Thanks.
forgot to answer
with new version all ok..
ium think u know it ^^
sent from my HTC One powered by IronByte
works this script on android 5?
Hopie said:
works this scriot on androud 5?
Click to expand...
Click to collapse
Yes.

Revert Back To Miui V5 from Miui V6 in Redmi 1S

Hey Guyz,
I found a new way to revert back to MIUI V5 from MIUI V6.
As me many of us hav very slow internet connection due to which we are not able to download via TWRP recovery Manager. To avoid downloading i found new way
## First, you have to root your phone.
Steps:
Download the file Root_HM1S_MIUI6_Global.zip and put it in root of sdcard (Use internal)
Launch the Updater app
From the menu select 'Choose update package', and navigate to root of sdcard and select Root_HM1S_MIUI6_Global.zip
The updater app now reboots into the recovery, installs the update and then reboot
After the reboot has finished, You will able to see a new app namely SuperSU.
Open it one popup will aris and choose 'Continue' to update the SU binary
7. In the next dialog select 'Normal' and an updated su binary will get installed
8. Finally confirm to 'Reboot' after the successful installation
## Now Download Flashify App
## After that download TWRP or Philz Recovery and extract it
##There u will find the recovery.img file navigate it to root of sdcard
##Now Open Flashify App
##Select Recovery image
##There Select choose a file
##And navigate to the Image and select it..
##Wait for few seconds popup will appear Flash complete and there select reboot now
##Now you will reboot to recovery
For TWRP Recovery:
#Now open recovery and go to wipe. And go to advance menu and wipe you all data internal storage an everything except external storage.
#After successfully wipe your phone. Go to reboot menu and reboot to recovery. It will back you again to TWRP recovery.
#Now select install. And it will show your phone storage but you can go up lavel A and choose external_SD and select your download v5 ROM.
#After select the ROM flash it....
#And it will successfully flash(it may take some time) and now touch reboot option below.
#Successfully Reverted back to MIUI V5
For Philz Touch Recovery
#Navigate to Wipe and Format Option
#Select Wipe Cache , Dalvik Cache, And then Select Factory Reset
#After that Select "Clean to Install a New ROM"
#Now Select ++++Go Back++++
#Select Install Zip
#Choose zip from external sdcard and Select the ROM
#Wait for few minutes and then reboot
#Successfully reverted back to MIUI V5..
Find my post on MIUI:-
http://en.miui.com/thread-147144-1-1.html
:angel:
Hit Thanks If I helped you
no matter which custom rom I flash, always gets stuck in bootloop
I'm not new to flashing roms and stuffs. I'm on CM11 on RedMi 1S. Now whenever I tried a different rom(say CM12.1) even after following each instructions correctly, the phone always gets stuck in bootloop( the CM avatar). Please help me out from this problem. I'm using TWRP.

[Guide] Step by Step Installation of Android Pie Custom Roms

Step by Step Installation of/Upgrade to Android Pie Custom Roms
Following this guide, you will lose all your data if haven't backed it up yet!!
Also NO USING GSI PIE!!!
Requirements:
- Twrp is already installed.
What you need:
- LineageosTWRP (Attached to thread)
- Custom Rom (can be found here)
- Open Gapps (Pico or Nano)
Only if Root is wanted: Chose either of them
Magisk(Recommended) or SuperSU
- A brain and a body
- The Knowledge that you will wipe your phone by doing this. Be Warned.
Installation:
1. Backup all the files that you have either by copying them to a usb drive ,a micro SD or your computer.
2. Check that all files are copied successfully and can be opened or viewed.
( Some apps have a cloud synchonisation feature, use it if you have it as an option since it is really helpful!)
3. Now, get your preferred rom, gapps and if wanted, your root method ready, also unzip the twrp file aswell.
Copy them to your micro SD.
4. Boot into twrp via adb or by using some app(root needed).
In Twrp, go into wipe option, then select change file system. Change file System to ext4.
4.1 Now use Twrp Reboot-Menu Option to reboot into recovery(twrp) again.
4.2 Wipe system, data, cache and dalvik-cache partitions using the Wipe option
5. Go into Install Option and Press on "Install IMG" , select pietwrp image and flash it. (The name should be lineagerecovery.img or something if downloaded via telegram)
(If you don't have it yet and are in the Lenovo P2 Telegram group, type #pietwrp in chat and make sure to safe it to your download folder. Otherwise it's also attached to this thread.)
6. Reboot back to recovery like you did in step 4.1.
7. Now install your rom and gapps.
8. Wipe cache and then reboot .
9. Setup your phone and Enjoy.
( For Root, reboot to recovery. Flash your Root Method, wipe cache and reboot)
Enjoy and thank your Devs
FAQ
Q: Instructions unclear, phone stuck in bootloop
A: Either do this:
Download this folder and use one of the two ".bat" files. Boot into Bootloader via Volume Down and Power Button. --
It will flash S048 Firmware of our Lenovo P2, after the flash-process is finished it will boot up on its own. Recommended: Do all the ota updates via ota app.
Or: Boot into bootloader, via adb cmd prompt use: fastboot boot lineagerecovery.img , then use reboot menu to reboot into twrp. Clean Wipe phone(Wipe system,data, cache and dalvik-cache Partitions) and try flashing your Rom etc. again.
Q: Instructions unclear, hardbricked my phone!!
A: Thaat shouldn't have happened. Did you screw up somewhere?...
Luckily you backed up your most important files!

[ Guide ] Direct Flashing GSI Image to Logical Partitions on Samsung Galaxy with Dynamic partitions

Disclaimer: It may be work on other android device with dynamic partitions, tested only on Samsung Galaxy. USE AT YOUR OWN RISK!
Thanks to @Yillié who built Dynapatch v1.5 that make it possible to direct flash GSI rom to logical partitions with dynamic partitions.
Note from Developer :​As this is still in beta phase right now, there is no check for whether the device is infact even dynamic or not or even if the mounts are present already in fstab or not. So only flash if you have a device that is launched with Android 10 or above and only has the option of flashing super image and not system image, vendor image etc individually.
Patch Install Instructions​
First, your phone must be installed TWRP Recovery. I suggest you to add null vbmeta.img to the TWRP then reflash it via ODIN. You must use null vbmeta.img, Don’t ignore this!
Enter TWRP recovery
Select Install – select DynaPatch-v1.5.zip, Swipe to confirm Flash
Select Reboot – Recovery or Turn Power off
One time only to flash this patch except you reflash the TWRP recovery
GSI Install Instructions​
Enter TWRP recovery
Select Wipe – Advanced wipe ( select “Dalvik, Cache, System” ) – Swipe to wipe
Select Install – Install Image – [ your GSI image ] – select “System Image” and Swipe to confirm flash
Select Wipe – Format data ( type “yes” and confirm )
Select Reboot – System
Download link in this video description​
I heard there's dynapatch v2.0 for newer A/B devices. If anyone able to get it, lemme know.

how to flash any custom ROM for your device.

Hi there
NOTE: please follow this steps one by one.
Disclaimer: i am not responsible if your device got bricked, i use this method for my samsung galaxy A20e and it works.​
well when i wanted to flash a custom rom for the first time, i didn't find any steps to follow, i just picked out the rom then flash it via twrp and rebooted and that was a big mistake, the rom booted but i wasn't able to do anything, so today you will see the right way to flash .
First of all, you need to have twrp installed.
then download the rom version that you want for example, i used this rom for my device: https://sourceforge.net/projects/derpfest/files/a20e/
next put the file that you have downloaded in an sdcard.
then reboot to recovery, you can do it by powering off your phone then hold the volume up and power keys until you see twrp's logo.
click wipe option, the advanced, after that check all the partitions there except sdcard and usb-otg (and vendor if it is not included), for my device i wiped system, vendor, data, cache, dalvik and cache, but it may be different for you, now swipe to the right to confirm wiping.
when the wiping process has been finished, exit advanced wipe and choose format data, you will be asked if you are sure, type yes.
go back to the main twrp window, then select flash, click select storage and choose sdcard(or usb-otg if you are using it), then you will see the zip file and install it.
reboot and that's it !! it is depending on your phone's speed now, just be patience.
enjoy your time in that rom, cause you will change it soon *__*.

Categories

Resources