I can't seem to install them properly. Everytime I attempt to I have to use Odin to go back to stock. Anyone know how to fix this?
Here you go
If you experience any trouble with the above try these tips below :-
WORKAROUND if flashing doesn't change anything:
1. Reboot into recovery
2. Manually mount /system and /data from recovery menu
3. Flash the downloaded file
WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file
2. Put this file in the zip containing the Mod (overriding MOD's META-INF file)
3. Flash your modified zip.
Straight from the MIUI forum.
MIUI 1.9.30 Extended settings have not been released and probably wont until Friday or whenever the next update is.
Be sure you are rooted and have MIUI installed properly and have booted into MIUI.
Hi,
I will try to make a short tutorial how to make OTA update 4 ( in my case ) without losing (if you have) Menu Full Recovery, Root, Boot from the first version of sw that comes / came preinstalled in the phone.
From the About phone -> Software update
check availability update OTA's and download it but WARNING :
WITHOUT install it yet as you lose RECOVERY menu ... !
update.zip file will be downloaded on SDCard in dir. downloaded, from where it will be moved to the PC for editing, it is recommended to delete the folder completely from SD once you've moved the file.
The archive will be edited to remove from it, the update to Recovery and Boot and if you want also some preinstalled applications.
You have to delete the following from archive:
recovery - complet
patch\boot.img.p
patch\fota-bootloader.img.p
patch\system\bin\btld.p
patch\system\bin\recovery.p
I wiped myself in the past also these applications that were preinstalled, so I deleted form this archive:
custpack\app\FBAndroid_20120723_1.9.7-preload.apk
custpack\app\Twitter-3.2.2-release.apk
custpack\JRD_custres\app\LiveWallpapersPicker-res.apk
custpack\JRD_custres\app\LiveWallpapers-res.apk
custpack\JRD_custres\app\MagicSmokeWallpapers-res.apk
custpack\JRD_custres\app\VisualizationWallpapers-res.apk
attached script edited by me acording to my needs ( to be able to attach I have to put the extension TXT);
I removed from script:
- checking all applications version
- install the version that I have previously uninstalled
-update for Recovery and Boot :
you will have to edit the update script from:
META-INF\com\google\android\updater-script
You will copy the modified archive on SDCard and install from the recovery menu: Install ZIP from SD, then it will restart the phone and you will have to restore the phone to Factory, so back-up you'r data first.
If you want after it reboots and starts initializing, may again enter in the Recovery menu and delete from there, Cahe, Dalvik, User time...
here you have original OTA 4 from Vodafone Romania file update.zip untouched:
http://www.2shared.com/file/5Ct2jhTX/update.html
and here you have modified file acording to my needs, tested and instaled from recovery zip, working 100% in my phone:
http://www.2shared.com/file/XOMD87w-/update01.html
All the best.
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.
Hi, I found a way to fix this bootloop which happens after you flash the latest ota update if you have unlocked and rooted your stock rom.
I own a HTC E8 China Unicom [M8Sw - dual sim], but I think it will work on other variants.
It is the SU binary/files which are preventing the phone from updating correctly.
You can also restore a clean unrooted TWRP backup and do the OTA update.. it will work just fine.
This tutorial is for those who don't want to lose their app data and modifications.
To be able to update... you need to fully unroot the phone before. Well, this was previously not possible due to system write protection.
(There are also other methods of unrooting. (deleting the SU files manually with the file manager of TWRP recovery) This doesn't work, I have tried it myself..often cause bootloops.)
But now we have a custom recovery mod which enables us to write to the system partition and thus can fully unroot with SuperSU app itself.
Requirements:
-some expertise with adb/flashing/twrp recovery management will be needed.
-stock firmware.zip, inside the OTA zip file, where you will find you stock recovery,boot image, etc
-Stock ROM, rooted with no modified existing system files
-TWRP Recovery from @Captain_Throwback works fine. I used the 2.8.6.0 one. http://forum.xda-developers.com/one-e8/orig-development/recovery-twrp-touch-recovery-t3060188
-untouched Stock Kernel Modules (IMPORTANT)
-SchKernel Extra 3.3, to gain write permission to /system http://forum.xda-developers.com/one-e8/general/schkernel-extra-3-3-t3200090
[UPDATE: SchKernel Extra has been updated to 3.5 and the old one is not available for download on the other thread. You can find attached at the bottom of this section ver3.3 which I had used. Please don't use ver3.5 as a user has reported having bootloop with that.)
-Battery +80 charge recommended...the process gonna demand a lot of power.
-Patience... loads of it....
Disclaimer: I am not responsible if you brick or damage you phone!!
Before you flash anything, be sure to have a working twrp full backup of you phone! In case anything goes wrong.
STEPS:
1. Copy the untouched kernel 'modules' folder [found in system/lib/ in your phone] to another location ( for e.g. to your internal phone memory), you're gonna need it later.
2. Flash the twrp recovery if you haven't already and boot into TWRP recovery.
3. flash SchKernel Extra 3.3 kernel mod. It will launch the aroma installer. There will be options as overclocking/underclocking etc..
I left everything on STOCK option, disabled Swipe2sleep, unselected the everything in the optional addition page. Then went to install it.
4. Reboot, and open SuperSU app, go into setting, tap the FULL UNROOT option, this might take a while. The first time, when the unrooting notice shows and it seems that the app is not doing anything, you might be required to exit the app by pressing home button. Then open the app again and redo FULL UNROOT option. If you exit the app and when re-opening it, the "unrooting notice" is still there, then it means it is working. This might take a bit of trial and error.
5. Ultimately, SuperSU app will close. Then you will need to reboot. You will see that SuperSU is gone and that you have no root access.
6. Now, turn it off again to go to fastboot. Connect to PC and flash the stock boot.img via adb to restore the stock kernel.
8. Then, in twrp recovery, mount /system partition and got to advanced >> file manager..
9. Now browse to /system/lib/ and delete the 'modules folder'.
This is because the SchKernel Extra 3.3 kernel mod flashed previously has modified your kernel modules and when you will try to update the OTA, the stock recovery will report that the kernel modules (xxxxx.ko) has be modified and it will stop the OTA update process.
10. Remember the previous untouched stock 'modules' folder you copied previously, now move it to /system/lib/HERE , to replace the deleted folder.
[DO STEP 9 BEFORE - Don't try to overwrite the folder, it won't be possible. It said operation failed for me. ]
Optional: You might also want to delete su.d folder in \system and init.d folder in system\etc
these files were for the custom kernel and won't be needed anymore.
11. Reboot into fastboot mode, connect to PC (if not already), flash stock recovery.
12. Now, you're good to flash the OTA updates. :good:
-Download it, if not already done.
If ever you have downloaded from PC and copied it to phone, and for whatever reason the phone is not detecting the zip file and asking for install.
Just move it to you exeternal SD card and rename it to "ptt.zip" , go into stock recovery and go down the list to "apply update from SD card"
and it should flash the zip file. When done, select the reboot option and it will say reboot to flash firmware.zip and the will boot. :fingers-crossed:
When booting it will take some time (3 to 8 mins), and then go to the "Android is updating - optimizing apps" screen. This might take a lot of time if you have a lot of apps installed. The phone might get really hot during this process.
When the OS finally boot completely there will be an "HTC" screen and an exclamatin mark in the notification bar. NO WORRIES, it is the just the update working. It will go away when the update is fully processed.
After OTA update is done, you can make a twrp backup of the unrooted system, so that you can restore it for future OTA updates.
If some steps are confusing, feel free to ask for any clarification
Hope I helped you. Don't forget to hit thanks
problem
hi after i flashed SchKernel Extra 3.3 my phone just turned off and won't turn on. what should i do?
neekless said:
hi after i flashed SchKernel Extra 3.3 my phone just turned off and won't turn on. what should i do?
Click to expand...
Click to collapse
how did you flash it exactly?
Did you flash it thought TWRP recovery?
also...what variant of HTC e8 are you using?
Thank you for this guide. :good:
For the newbies, here are exact instructions for each step. TWRP is required; presumably you have this because you've rooted your phone. (If you haven't rooted your phone, what are you doing here?)
Note that rebooting to TWRP can be accomplished in several ways:
Long-press the power button; when prompted choose Reboot. When the screen goes black, press and hold the Volume Down key. This will take you to hboot; from there choose Recovery.
Enable developer mode from settings, plug in to a computer, and issue the command adb reboot recovery.
Also note that it is prudent to do a full TWRP backup to external storage (microSD, USB OTG) before anything else, so you have a good recovery point if things go wrong.
To copy the system/lib/modules directory, you can use a root-enabled file explorer or TWRP. To do it in TWRP:
Reboot to TWRP.
In TWRP, select Mount. Make sure that system is checked.
Back to the main TWRP menu, select Advanced.
In the advanced menu, select File Manager. Then navigate to /system/lib/modules.
Tap on Select, then Copy Folder. Navigate to a new location - I used /sdcard/Backup - and tap Select again. Don't use your external SD or USB-OTG, they may not preserve permissions correctly.
To flash the SchKernel Extra, copy the ZIP file to your device, reboot into TWRP, and select Install. From there, navigate to where you copied the ZIP file and select it; then follow the prompts as sanijsnj specified.
Removing SuperSU works exactly as described. Don't forget to reboot at the end (although it may not be necessary).
To flash the stock boot, in a cmd window where you have the Android SDK, typically in the sub-folder platform-tools enter: fastboot flash boot boot.img (boot.img from the OTA ZIP).
To delete and restore /system/lib/modules, follow the steps above, starting of course from your saved 'modules' directory and copying to /system/lib.
To flash the stock recovery, again in the cmd window enter: fastboot flash recovery recovery.img (recovery.img from the OTA ZIP).
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!