[RECOVERY] TWRP v2.4.4.0 - GMod v0.1.1 for unlocked devices - LG Optimus 4X HD

Hey there!
Because there is still no TWRP released, I decided to build it.
I used to code in C++ since 2005. Made alot of stuff. Now I'm moving to android.
I used the official CM10.1 sources (+kholk's) and the official TWRP sources to compile it on OS X Mountain Lion 10.8.3 (initial release was compiled on Ubuntu 12.10. With GMod I'm using OS X)
It's using kernel 3.1.10 (extracted from boot.img) and some files from its ramdisk.
The output was a working TWRP recovery. Internal Storage (/data/media) works to use it as backup storage.
External SDCard should also be working, since you can change where to backup in TWRP settings (internal/external). I did not try that, cause I don't own an external sdcard
To boot recovery just hold down Power+Vol-Down.
To install zips navigate to /emmc (internal) or /sdcard (external)
Note: If you have a folder called 0 inside /sdcard, then move its content to the root of /sdcard and delete the folder 0 (/sdcard/0). Otherwise TWRP will act weird and the internal storage doesn't get properly mounted but would still be fully functional.
How to install (some methods, you can choose one of them):
1) Using fastboot:
Code:
adb reboot oem-unlock
fastboot flash recovery twrp2440-recovery.img
fastboot reboot
2) Using adb or Terminal Emulator (place on root internal storage[/sdcard])
When using adb
Code:
adb shell
then, same when using adb or Terminal Emulator
Code:
su
cat /sdcard/twrp2440-recovery.img > /dev/block/mmcblk0p1
sync
That's it. Hope it works well for you as it does for me.
Changelog:
Code:
v0.1.1
Added Aroma Filemanager
Added Clockworkmod Touch 6.0.3.0
v0.1
Changed theme default color from blue to green
Now internal and external storage support
First working Reboot to recovery option for P880
Added Extras Menu in Advanced page - functions are not implemented (comming soon!)
gordon0001

Re: [RECOVERY] TWRP v2.4.4.0 for unlocked devices
Thaaaaanks !!! TWRP is much better , easier , and faster than CWM .
It's always good to see new development threads :good:
Sent from my LG-P880 using xda app-developers app

Updated.
Decided to customize TWRP.
Aroma Filemanager, CWM, and more will come soon to be included in my custom TWRP.
Changelog:
Code:
v0.1
Changed theme default color from blue to green
Now internal and external storage support
First working Reboot to recovery option for P880 (Reboot recovery in recovery)
Added Extras Menu in Advanced page - functions are not implemented (comming soon!)

gordon0001 said:
Updated.
Decided to customize TWRP.
Aroma Filemanager, CWM, and more will come soon to be included in my custom TWRP.
Changelog:
Code:
v0.1
Changed theme default color from blue to green
Now internal and external storage support
First working Reboot to recovery option for P880 (Reboot recovery in recovery)
Added Extras Menu in Advanced page - functions are not implemented (comming soon!)
Click to expand...
Click to collapse
Great!

Updated.
Changelog:
Code:
v0.1.1
Added Aroma Filemanager
Added Clockworkmod Touch 6.0.3.0
To access them go to Advanced --> Extras

This looks very nice gordon0001! Thanks for posting. Can I use this as an alternative to CWM, since it doesn't work for me properly? Can it use zip packages with no incompatabilities?

Feregorn said:
This looks very nice gordon0001! Thanks for posting. Can I use this as an alternative to CWM, since it doesn't work for me properly? Can it use zip packages with no incompatabilities?
Click to expand...
Click to collapse
Most zip archives that works for clockworkmod works also for twrp. just flash my modded recovery and you have both.

Cant mount sd-card!
I cant mount sd-card in recovery, extsd is working tought...
Any ideas?
EDIT: I can see the log says "E: Unable to find partition size for ' /sdcard'"

eliel1301 said:
I cant mount sd-card in recovery, extsd is working tought...
Any ideas?
EDIT: I can see the log says "E: Unable to find partition size for ' /sdcard'"
Click to expand...
Click to collapse
As soon as I'm getting a microsd card I'll try to fix that.
BTW: Internal sdcard is mounted at /emmc (TWRP default)

Thanks!! Installed without problems (v.0.1.1) and menu is working fine so far.
Haven't used it to install zips/roms yet though.
Sent from my LG-P880 using xda premium

i wont update this thread anymore, since a made something new. that combines cwm&twrp.
http://forum.xda-developers.com/showthread.php?t=2220302
next update will have alot of improvements and twrp 2.5.0.0 included

is it possible to restore a cwm backup from TWRP rec?I get FAIL CHECKING MD5 SUMS

no

@gordon0001, any news with your recovery?
@GRG13, your signature is terrible big and ugly and the link to your "How to enable developer options [...]" is wrong. :laugh:

Thanks a lot for TWRP recovery .. Happy time to have it .. Thumbs up

Related

[RECOVERY][CWM] Custom ClockworkMod Touch 6.0.2.3 v14.4.4 (12/22/12)

This is my custom cwm that ive been making for multiple other devices. The touch code is adapted from kbc-developers and is much different than the stock koush cwm touch. This recovery is all based on swipe gestures and has a custom extras menu with some new features. Also, OpenRecoveryScript compatible to use with GooManager.
UP - swipe finger up on screen
DOWN - swipe finger down on screen
SELECT - swipe finger from left to right on screen
BACK - swipe finger from right to left on screen
Q: Whats in the extras menu?
A: Look in the 2nd post
Flashable zip:
cwm6023touch_v14.4.4.zip: ---------> DOWNLOAD
Click to expand...
Click to collapse
Thanks to :
gweedo767
koush
PhilZ BIG THANKS!
kbc-developers
PREVIOUS VERSIONS:
Code:
v1:
[CODE]initial release
v2:
Code:
- updated to latest version of clockworkmod
- add reboot download option
- add reboot recovery option
- add power off option
- change font size
- add various internal/external sdcard options from cwm 5.5.0.4 touch recovery
- change order of internal/external sdcard so internal comes first on backup/restore/install
v3:
Code:
- add support for phones that sdcard mounts as external_sd
- fix the line below the menu to actually be below the menu
- clean up the "andy the android" picture. (if you make a backup you will see that the picture in the background has been poorly edited. there are bits of black spots around him)
- JellyBean Background
v4:
Code:
- fixed missing slash that was not allowing installs from external sdcard
v5:
Code:
- update to latest version of CWM 6.0.0.8
v6:
Code:
- updated to latest version of CWM 6.0.0.9
- added ability to delete nandroids from recovery (in backup and restore menu)
- changed order of internal/external so external comes first
- fix timestamp creation on backups
v7:
Code:
- updated to latest version of CWM 6.0.1.0
- fixed bug that would not allow backup of /system
v8:
Code:
- update to latest version of CWM 6.0.1.1
- allow customization of backup format (dedupe/tar)
- use minizip tool instead of e2fsck, etc.
- more....
v9:
Code:
- update to latest version CWM 6.0.1.2
- fixed bug where backing up to external wouldnt backup /emmc/.android_secure
- ADDED DUAL LUNFILE SUPPORT! (thanks to topprospect for this!)
-- what this does is when you mount USB storage you
will see both of your sdcards mount at the same time
- various /emmc fixes (recovery now looks for all clockworkmod "." files in /emmc instead of /sdcard)
- this is useful for people who dont use an external sdcard at all
v10:
Code:
- grabbed latest commits to official CWM 6
- added new extras menu (look in 2nd post for info)
- some other stuff i dont remember
v11:
Code:
- fixed hide nandroid progress bug (it now works)
- added sk8's fix permissions option (logging is disabled so it runs faster and it also clears stale data directories)
- fixed bug where normal fix permissions wouldnt create a log to correct location
- cleaned up some syntax
v12:
Code:
- added darkside wipe/super wipe built in
- added aroma file manager built in
- added ability to backup/restore the /efs partition
- cleaned up oneconfirm/hidenandroidprogess features to be one menu item
- more......
v12.5:
Code:
- fixed bug where darkside cache scripts wouldnt work
- added option to create a custom zip (read 2nd post)
v13:
Code:
- report log gets copied to /emmc instead of /sdcard
- add support for roms without busybox (stock roms) to create a custom rom zip
- add support for openrecoveryscript (read [URL="http://forum.xda-developers.com/showpost.php?p=31093552&postcount=344"]THIS[/URL])
- add support to choose a custom created openrecoveryscript
- use goo-manager to flash roms and create openrecoveryscripts
- now detects where android_secure is automatically
- fix ors-mount.sh to work even if 'sdcard' is in the path
- misc code cleanups.....
v13.1
Code:
- bug fixes
- android_secure fixes
v13.2
Code:
- that pesky android_secure - bugfixes for restoring android_secure
v13.3
Code:
- updated to latest 6.0.1.4
- some bugfixes
- added option to select where android_secure lives (hopefully this is the last time. i promise)
v13.4:
Code:
- updated aroma file manager to latest version
v13.5:
Code:
- add initial support for whole-device encryption (thanks topprospect)
v14:
Code:
- updated to latest CWM 6.0.1.5
- fixed some mtdutils issues
- added a bootanimation changer
v14.1:
Code:
- not released
v14.2:
Code:
- added bootanimation change selection from external sdcard
- added newest aroma filemanager w/ console support (you can use terminal in recovery)
- updated to latest changes of official CWM
- added support for Android 4.2
- zip file now installs updater.sh to your internal sdcard
- updated updater.sh to fix typo
v14.2.1:
Code:
- openrecoveryscript automatically runs if script is found in /cache/recovery/
- this is good for using my updater.sh or goomanager
v14.3
Code:
- skipping this number to keep in line with my other devices
v14.3.1
Code:
- lots and lots of under the hood improvements
- re-wrote OpenRecoveryScript and efs backup/restore code
- these work alot better now (thanks so much to PhilZ for his amazing help)
- add option to backup/restore boot.img from sdcard
- now using latest stable kernel
- completely re-wrote the touch code for some improvements
- now to select you tap anywhere on the screen
- fixed some typos
- made my source code universally compatible with all phones using ICS or greater
- compiling in jellybean base recovery code now
Code:
v14.4
- fixed soft keys (virtual keys on bottom) (credit to PhilZ for this)
- reverted back to swipe to select
- tweaked some features in the extras menu
Code:
v14.4.1
- messed up on the mount points so i fixed them now
- added some buffer to fix ability to accidentally select wrong item
Code:
v14.4.2
- completed re-write of extras menu features
- various other tweaks
Code:
v14.4.3
- added in battery status percentage
[/CODE]
Current Version:
v14.4.4
- got rid of the missing /external_sd error
Click to expand...
Click to collapse
Whats in the extras menu?
- change bootanimation (this lets you select a bootanimation form your sdcard. it backs up your current bootanimation to /sdcard/clockworkmod/ba_backup/. it only backs up the original bootanimation so if you keep changing your bootanimation you will still only have your original one in ba_backup.)
- enable/disable one confirm (this makes it so you only have to scroll through one confirm selection when installing something instead of having to go through 10 no's to click yes)
- hide/show backup & restore progress (this makes it so the progress bar when you backup/restore doesnt show up and makes backups/restores a bit faster since it doesnt have to show you the progress and files its backing up)
- aroma file manager (file explorer)
- Special Backup and Restore (backup and restore your /misc and /boot partition)
- create custom zip (this will create a custom rom from the currently installed files you have on your phone. it takes your /system partition and /boot partition and makes them into a zip file ready to be flashed. the end product will be in /sdcard/clockworkmod/zips/{DATE}. with date being a timestamp of the time it was created. be sure to run a fix_permissions after installing the zip too just in case. DO NOT DELETE THE FOLDER /sdcard/clockworkmod/zips/files
- choose custom openrecoveryscript (read THIS)
- recovery info (shows the version of recovery and the build date)
Can you share any screenshots please?
Imperticus said:
Can you share any screenshots please?
Click to expand...
Click to collapse
Sure. I'll make a video of it when I get into work today. You can see a video of it on a different device by going to the skyrocket link in my signature.
Sent from my Nexus 4 using xda app-developers app
Imperticus said:
Can you share any screenshots please?
Click to expand...
Click to collapse
uploaded a picture.
Just tried it and works great. Did a nandroid and restored and works perfectly. Thanks for sharing!
CWM released 6.0.2.5!
seriousneo said:
CWM released 6.0.2.5!
Click to expand...
Click to collapse
Lol only a rev change. No actual code changes
Sent from my Nexus 4 using xda app-developers app
does this allow USB functions?
I've just added this recovery to the Nexus 4 Complete Index
Sent from my Nexus 7 using xda premium
gd6noob said:
does this allow USB functions?
Click to expand...
Click to collapse
Which usb functions are you talking about? I'm using the cm10.1 kernel in this
Sent from my Nexus 4 using xda app-developers app
I like your recovery but is the clockwork mod folder supposed to be sdcard/0/ n not just sdcard/?
Sent from my Nexus 4 using Tapatalk 2
joshndroid said:
I like your recovery but is the clockwork mod folder supposed to be sdcard/0/ n not just sdcard/?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
No clockworkmod is supposed to be in /sdcard no matter what. The 0/ folder is only for your OS.
Sent from my Nexus 4 using xda app-developers app
sk8erwitskil said:
No clockworkmod is supposed to be in /sdcard no matter what. The 0/ folder is only for your OS.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
My main wonder was mainly because I was trying to copy a backup to my computer and had no way of accessing the clockwork folder...
Sent from my Nexus 4 using Tapatalk 2
joshndroid said:
My main wonder was mainly because I was trying to copy a backup to my computer and had no way of accessing the clockwork folder...
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
why dont you copy your backup from sdcard to sdcard/0 via file explorer on your phone and the to pc.easy
joshndroid said:
My main wonder was mainly because I was trying to copy a backup to my computer and had no way of accessing the clockwork folder...
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
There's a new feature in clockworkmod exactly for that reason. Download the latest version of clockworkmod and you'll see when you go to the manage backups option. You have to now download them from your phone.
Sent from my Nexus 4 using xda app-developers app
O
pa.pn2 said:
why dont you copy your backup from sdcard to sdcard/0 via file explorer on your phone and the to pc.easy
Click to expand...
Click to collapse
because the rom mounts sdcard/0/ therefore it is not actually there no matter how far back you go towards the root directory... the recovery mounts /sdcard
sk8erwitskil said:
There's a new feature in clockworkmod exactly for that reason. Download the latest version of clockworkmod and you'll see when you go to the manage backups option. You have to now download them from your phone.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Fair enough.. Just makes it a pain when you flash back to stock if a partition gets corrupted you basically lose your sdcard partition when flashing the userdata Img and so the clockwork backup goes as well
Sent from my Nexus 4 using Tapatalk 2
joshndroid said:
O
because the rom mounts sdcard/0/ therefore it is not actually there no matter how far back you go towards the root directory... the recovery mounts /sdcard
Fair enough.. Just makes it a pain when you flash back to stock if a partition gets corrupted you basically lose your sdcard partition when flashing the userdata Img and so the clockwork backup goes as well
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I have added aroma file manager for that reason. Its in the extras menu. Its a root file explorer in recovery
Sent from my Nexus 4 using xda app-developers app
sk8erwitskil said:
Which usb functions are you talking about? I'm using the cm10.1 kernel in this
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I meant through the recovery?
I tried flashing this zip in my current CWM touch recovery and it aborted.

[ICS][.13] emwno's.kernel w/ Dual Recovery - Discontinued

Discontinued
TWRP Version: 2.4.3
CWM Version : 5.5.0.4
E Kernel Version: Build 3 - U2
Presenting the first Dual Recovery Kernel for Arc/S and Pro. Your warranty is now void bla bla bla. I'm working on bringing TWRP to ICS based kernels (not cm9) and have been successful, worked on this alone for hours. Thankyou to @Rachit Rawat for allowing me to use some ramdisk files from his sources and Teamwin for creating TWRP. Ill write the rest of the thread later on. Both of the kernels are attached. And for those wondering, yes its been reported to be fast, pretty responsive with great battery life.
To use TWRP hit the volume down button when the led lights up pink. And to enter CWM hut the volume down key at the next led light up and vibration.
Note: TWRP and CWM are not the same when backing up or restoring, you will not be able to restore ones backup from another.
What works:
Twrp
Cwm
Flashing
Backup
Restore
Mount device partitions
Mount external partition
Boot
___________________________________
What Doesn't Work:
ADB sideload (twrp)
___________________________________
Whats There:
Init.d support
CWM
Built with Linaro
TWRP
Newest .13 kernel sources from Sony
Many Governers / IO schedulers
Overclocking support
Cache Compresion
___________________________________
Download:
Arc/S - Build 3 | Modules -- LIVE
Pro - Build 2 | Modules
___________________________________
Changelog:
Build 3 - U2
--boot--
Updated to TWRP 2.4.3
Minimal ramdisk changes
Better sleep
Build 3 - U1
--No boot--
Updated to TWRP 2.4.3
Minimal ramdisk changes
Better sleep
Build 2
TWRP updated to 2.4.1
Attempted fix for adb issues with twrp (need to test)
Fixed specific partition layouts (twrp)
Build 1
Xperia Arc/S boot
Official public release
Fillers added
Update 2
Removed fillers
New init.rc
Pro boot fixed
Modified mount points (pro / arc)
Arc/S still no boot
Update 1
Initial beta release
Much not working
Old stuff. not required.
Since I've got the 2nd post, let me point out the things which are working / not working in TWRP:
Working:
Flashing zips
File Manager
Backup (Haven't tried Restore)
Terminal Command (Little buggy keyboard)
Not Working:
ADB Sideload via TWRP
ADB and Mount USB Storage
(Bug) Aroma Installer works only half screen
A note on backup:
If you got any issue while making a nandroid backup, download the attachment, extract the file and move it to /sdcard/TWRP
If the check-box of .android_secure does not get displayed in Backup menu, go back and enter Mount Menu, unmount SD Card and mount it again. Go to Backup menu again and select Refresh Sizes. .android_secure will be visible now.
soumya_digi said:
Black screen for me. No bootlogo or anything.
Device : LT15i
Click to expand...
Click to collapse
Link updated for Arc. try the new one.
this is based on @Rachit Rawat kernel ???
Re: [.13] E Kernel w/ TWRP [Pro/Arc]
[noob] what is TWRP ?
leo_nidas said:
this is based on @Rachit Rawat kernel ???
Click to expand...
Click to collapse
not based on, just some ramdisk files acquired. for (.13) base.
steliosvola said:
[noob] what is TWRP ?
Click to expand...
Click to collapse
its a recovery like cwm. you can read more here: http://www.teamw.in/project/twrp2
download wow 11MB wifi modules includet or must be downloaded ???
leo_nidas said:
download wow 11MB wifi modules includet or must be downloaded ???
Click to expand...
Click to collapse
Oops, forgot to upload them. uploading now. will update op when done.
Same with e_anzu.img too.
i have a black screen on new link - i have ARC/S
leo_nidas said:
i have a black screen on new link - i have ARC/S
Click to expand...
Click to collapse
soumya_digi said:
Same with e_anzu.img too.
Click to expand...
Click to collapse
try this one. it should work. http://d-h.st/hqg
Guess ur replacing the link for new one ? Coz, ur arc link, is deleted.
vashta said:
Guess ur replacing the link for new one ? Coz, ur arc link, is deleted.
Click to expand...
Click to collapse
Links working
---------- Post added at 11:54 AM ---------- Previous post was at 11:48 AM ----------
Kernel is Working TWRP working Wifi working GPS working Good
test on my Xperia T mod by zohaib0001
Boot successful! :good:
Testing other things now.
BTW, the /vendor partition is not /system/vendor. Need to modify init.semc.rc or else people will have issues with sound enhancements.
Vermagic string is indicating Serene-ICS!
EDIT: Damn, this thing has dual recovery! :cyclops:
Is this dual boot ? After I install modules(1).zip, after i touch 'reboot system', I end up in cwm again.
But after i reboot system (from that cwm menu), its back to TWRP again when i press vol down.
Anyway.. the wifi works, so far no facing problems. no bootloop etc.
In the info, it's still serene kernel.
* Kinda not used with this touch screen menu in twrp .
Nice work mate.
Test on 4.1.B.1.13 ROM by Jader
vashta said:
Is this dual boot ? After I install modules(1).zip, after i touch 'reboot system', I end up in cwm again.
But after i reboot system (from that cwm menu), its back to TWRP again when i press vol down.
Anyway.. the wifi works, so far no facing problems. no bootloop etc.
In the info, it's still serene kernel.
* Kinda not used with this touch screen menu in twrp .
Nice work mate.
Test on 4.1.B.1.13 ROM by Jader
Click to expand...
Click to collapse
Yeah itll say that. I needed the .13 kernel as I wanted to base it on that, was away from my pc so I asked Rachit Rawat if I could use some files from his source and kernel. Its not supoosed to go into dual boot, may have added them by mistake to the new update. (Too early)
vashta said:
Is this dual boot ? After I install modules(1).zip, after i touch 'reboot system', I end up in cwm again.
But after i reboot system (from that cwm menu), its back to TWRP again when i press vol down.
Anyway.. the wifi works, so far no facing problems. no bootloop etc.
In the info, it's still serene kernel.
* Kinda not used with this touch screen menu in twrp .
Click to expand...
Click to collapse
When the notification light glows pink, Vol down enters TWRP, else when blue light+vibration, CWM Recovery.
Backup and Restore Workin GOOD on TWRP - Thanks for your work
Installing as well..
but mass storage doesn't. my PC didn't see my sdcard..
divest said:
Installing as well..
but mass storage doesn't. my PC didn't see my sdcard..
Click to expand...
Click to collapse
Working:
Flashing zips
File Manager
Backup (Haven't tried Restore)
Not Working:
ADB Sideload via TWRP
ADB and Mount USB Storage
Working on CWM recovery

GBootMenu v1.5.0

Well, I dediced to drop the TWRP customizing project and build instead something new on my own.
It's build from scratch with a little of AOSP source code used (initializing graphics and catching key presses).
You can directly boot from the menu to
1) Clockworkmod Touch
2) Team Win Recovery Project
3) Aroma File Manager
4) Fastboot
5) Reboot
Use volume up and down to navigate and the power button to select.
----------------------------------------------------
----------------------------------------------------
How to install (some methods, you can choose one of them):
1) Using fastboot:
Code:
adb reboot oem-unlock
fastboot flash recovery gbootmenu-v0.1.img
fastboot reboot
2) Using adb or Terminal Emulator (place on root internal storage[/sdcard])
When using adb
Code:
adb shell
then, same when using adb or Terminal Emulator
Code:
su
cat /sdcard/gbootmenu-v0.1.img > /dev/block/mmcblk0p1
sync
That's it. Hope it works well for you as it does for me.
----------------------------------------------------
----------------------------------------------------
Changelog:
Code:
initial release
added clockworkmod touch 6.0.3.0
added twrp 2.4.4.0
added aroma filemanager 1.80
fixed half sized screen bug (eg. while using aroma filemanager) in clockworkmod touch
fixed half sized screen bug (eg. while using aroma filemanager) in twrp
added internal&external storage support in twrp. internal storage --> /emmc, external storage --> /sdcard, if external storage has a secondary partition with ext4 formatted its also mounted to /sd-ext
----------------------------------------------------
----------------------------------------------------
Credits:
AOSP
Cyanogenmod (--> CWM)
Team Win (--> TWRP)
amarullz (--> Aroma File Manager)
XDA:DevDB Information
GBootMenu, a Tool/Utility for the LG Optimus 4X HD
Contributors
gordon0001
Version Information
Status: Testing
Current Beta Version: 1.5.0
Created 2013-09-17
Last Updated 2013-09-17
gordon0001 said:
Well, I dediced to drop the TWRP customizing project and build instead something new on my own.
It's build from scratch with a little of AOSP source code used (initializing graphics and catching key presses).
You can directly boot from the menu to
1) Clockworkmod Touch
2) Team Win Recovery Project
3) Aroma File Manager
4) Fastboot
5) Reboot
Use volume up and down to navigate and the power button to select.
----------------------------------------------------
----------------------------------------------------
How to install (some methods, you can choose one of them):
1) Using fastboot:
Code:
adb reboot oem-unlock
fastboot flash recovery gbootmenu-v0.1.img
fastboot reboot
2) Using adb or Terminal Emulator (place on root internal storage[/sdcard])
When using adb
Code:
adb shell
then, same when using adb or Terminal Emulator
Code:
su
cat /sdcard/gbootmenu-v0.1.img > /dev/block/mmcblk0p1
sync
That's it. Hope it works well for you as it does for me.
----------------------------------------------------
----------------------------------------------------
Changelog:
Code:
initial release
added clockworkmod touch 6.0.3.0
added twrp 2.4.4.0
added aroma filemanager 1.80
fixed half sized screen bug (eg. while using aroma filemanager) in clockworkmod touch
fixed half sized screen bug (eg. while using aroma filemanager) in twrp
added internal&external storage support in twrp. internal storage --> /emmc, external storage --> /sdcard, if external storage has a secondary partition with ext4 formatted its also mounted to /sd-ext
----------------------------------------------------
----------------------------------------------------
Credits:
AOSP
Cyanogenmod (--> CWM)
Team Win (--> TWRP)
amarullz (--> Aroma File Manager)
Click to expand...
Click to collapse
how we gonna install that ??
emre81tr said:
how we gonna install that ??
Click to expand...
Click to collapse
We dont need to install an unsecure-boot like CWM by Dexter? Only the Recovery?
Re: [RECOVERY] GBootMenu v0.1
work well , THX:thumbup:
Sent from my LG-P880 using xda premium
Re: [RECOVERY] GBootMenu v0.1
Do you need a unlocked bootloader
Sent from my LG-P880 using xda app-developers app
Bogeyof said:
We dont need to install an unsecure-boot like CWM by Dexter? Only the Recovery?
Click to expand...
Click to collapse
you need an unlocked bootloader and an unsecure boot image to be able to flash from fastboot.
btw: works fine with the new v20a update
Re: [RECOVERY] GBootMenu v0.1
emre81tr said:
how we gonna install that ??
Click to expand...
Click to collapse
If you watch carefully, you'll see how can install that
Sent from my LG-P880 using xda premium
works perfect with official update
with official update was facing data problems after installing cwm 6.0.2.8.... bt dude u solved it thanks a lot
Good work, everything work perfect.
I keep my fingers crossed for this project.
The only bug is that TWRP has some weird lines flashing on screen after screen times out.
Otherwise, great job! :thumbup::thumbup::thumbup:
Sent from my LG-P880 using Tapatalk 2
exFAT said:
The only bug is that TWRP has some weird lines flashing on screen after screen times out.
Otherwise, great job! :thumbup::thumbup::thumbup:
Sent from my LG-P880 using Tapatalk 2
Click to expand...
Click to collapse
yea, noticed it some minutes ago too
Works great thanks!
Sent from my LG-P880 using xda premium
Hello people. let me understand it.. Only what I have to do, is just typing in Terminal Emulator (from market) these commands:
su
cat /sdcard/gbootmenu-v0.1.img > /dev/block/mmcblk0p1
sync
right? Offcourse after placing gbootmenu.img on my sd card..
chabasse said:
Hello people. let me understand it.. Only what I have to do, is just typing in Terminal Emulator (from market) these commands:
su
cat /sdcard/gbootmenu-v0.1.img > /dev/block/mmcblk0p1
sync
right? Offcourse after placing gbootmenu.img on my sd card..
Click to expand...
Click to collapse
yes, that should work
Thanks.. You are great..!!
TNX! for your work!
I already have dexter cwm,can i install this over dexters cwm or not?
Sent from my LG-P880 using xda app-developers app
igorstoja83 said:
I already have dexter cwm,can i install this over dexters cwm or not?
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Yes u can. It'll overwrite it.
Sent from my LG-P880 using xda premium
Ok, installerd yesterday, it seems to work very well..Have you guys found any new bug I didn't notice yet?
Sent from my LG-P880 using xda premium
Oh my god this works and I like it.

[UB]FOTA TWRP/PhilZ installer APK and Flashable ZIP recovery

F2FS improves the benchmark score in most (if not all) devices by around 20%..
For testing:
I have modified an APK containing Aroma Installer to flash recoveries to fotakernel for our ZR's. This is an initial release..
It contains 2 recoveries.
PhilZ Touch and TWRP with f2fs (TWRP) support which has been tested and working in both Resurrection and Validus builds/ports and should work in all cm11 and CM12/CM12.1 with f2fs working in cm12 after march this year
Install the apk and flash either Philz or Twrp through the app in the drawer..
And no, this is not Xperia Recovery manager.
The recoveries are both contained in the app so making it 22MB to download.
The TWRP 2.8.7.0 has new graphics and f2fs support
PhilZ is stock 6.57.9 cwm v6.0.5.1 shared by @uncomment
Download APP here (contains the 2 recoveries mentioned above): Removed because of bugs.. will fix and upload to new link..
TWRP 2.8.7.0 f2fs with updated graphics flashable zip: https://drive.google.com/file/d/0B3slVcYWwXQ-RjNKUDhWWk5OemM/view?usp=sharing
(This is the latest recovery from TeamWin with their new blue theme.. I personally didn't like all that blue so I changed the images.. See screenshot below)
Philz Touch 6.57.9 flashable zip:https://drive.google.com/file/d/0B3slVcYWwXQ-MEd4TU1vb0NYcmc/view?usp=sharing
Flashable ZIP stock TWRP 2.8.7.0 with f2fs:
Put the zip in you sd card and flash through recovery.. This will push the twrp 2.8.7.0 f2fs to your fota kernel, reboot recovery after flash...
Download: https://drive.google.com/file/d/0B3slVcYWwXQ-YTB6V1N0eEx5SU0/view?usp=sharing
Please test (recovery.img)
UPDATED TO TWRP 2.8.7.0
Download here: https://drive.google.com/file/d/0B3slVcYWwXQ-SjJRRjdyZ2pzeXc/view?usp=sharing
Instructions are the same as below...
This is TWRP 2.8.6.0
Download here:
https://drive.google.com/file/d/0B3slVcYWwXQ-Q0pEYzlFSjhPNFk/view?usp=sharing
Place the recovery.img (it is named twrp.img when you download but rename to recovery.img) to you internal storage and use adb or emulator (download Android Terminal Emulator free from Store) commands to install to your Fota:
su (enter and grant root access if using Emulator)
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel (enter)
If you use Xperia Recovery Manager app by @championswimmer, rename the recovery.img to twrp.img and put in the TWRPXperia folder on your sd-card and flash to Fota through the app. Confirmed working.
If the image doesn't install correctly, please flash this hack:
http://forum.xda-developers.com/show...51&postcount=2
Only cache and data/ ext-sdcard is convertible for now, if you try to convert system, you will brick your phone..
Use the following method to convert:
Convert to f2fs by pressing Wipe > Advanced Wipe > select the desired partition > Repair or change filesystem > Change filesystem > f2fs
Some added info by @nostupidthing
with f2fs twrp installed, i've changed /cache and /data into f2fs without wiping. you just have to backup /data, then format it as f2fs, click "use rm-rf instead for format" in twrp settings, then restore /data.
If any one is looking for a theme for twrp recovery, i found an excellent theme here: http://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
(Download resolution 720x1280 for ZR)
As an added service I am willing to personalize the splash screen at recovery start-up should you have any request ie your name, flag etc but i will insist that "TeamWin" will be present somewhere on your personalized splash.. After all, we all benefit from their hard work.. Do not expect your request to be done within the hour but periodically check and i will upload and link as and when you request is done..
Massive thanks to @uncomment and @o-l-a-v and @Olivier and @blastagator and @qsnc including @nostupidthing for testing and for making this possible. @SdtBarbarossa for the app!!
the "now changing the microsd to f2fs" is not necessary for /data & /cache. you may or may not like to do it, and i ended up not doing it because copying my several gbs of files out of the microsd takes so much time and i just gave up..
but if anyone wants to do it, basically you just copy the files to your PC, then format the microsd to f2fs, then copy the files back there.
nostupidthing said:
the "now changing the microsd to f2fs" is not necessary for /data & /cache. you may or may not like to do it, and i ended up not doing it because copying my several gbs of files out of the microsd takes so much time and i just gave up..
but if anyone wants to do it, basically you just copy the files to your PC, then format the microsd to f2fs, then copy the files back there.
Click to expand...
Click to collapse
I agree with you.. I have formatted my ext sd card but like you said, took ages to copy the content to pc and back again.. In my opinion not worth doing if anyone, like me, use the ext_sd card for storage of music and downloads etc.. Cache and data absolutely worth doing tho.. A great many thanks for your comments and help doing this..
sent from Paul's phone
one more thing. backing up /data via twrp will not back up your "internal sd" files, like camera photos if you store them internally instead of on the microsd, so you have to copy those yourself as well.
Added flashable zip to op... Should make things easier..
the 2.8.7 flashable zip works, bro. thx.
hey, any chance that you make an insaller version ?
Ilko said:
hey, any chance that you make an insaller version ?
Click to expand...
Click to collapse
I'll look in to it..
hagar006 said:
I'll look in to it..
Click to expand...
Click to collapse
Great
BTW, I would suggest you to set TWRP's file manager to open SDCARD1 by default instead of SDCARD0, if possible, or even both to let users choose. I'm not sure if this is ROM or Recovery dependent because it worked this way through the latest Validus ROM. I'd bet on the recovery side though.
Ilko said:
Great
BTW, I would suggest you to set TWRP's file manager to open SDCARD1 by default instead of SDCARD0, if possible, or even both to let users choose. I'm not sure if this is ROM or Recovery dependent because it worked this way through the latest Validus ROM. I'd bet on the recovery side though.
Click to expand...
Click to collapse
It's party of the recovery but a few spaces down from the top in file manager is external_SD and a few spaces lower is SD_card so should be easy enough to find the way around..
BTW I've made new images and things for twrp which makes it a little easier to see but I'm waiting for permission from someone as I used their ui.xml to make that.. Will be added as soon as
Sent from my ZR

How to install TWRP custom recovery (no MCU updates possible afterwards)

pakidermo5000 said:
Ok, I need some help here to understand pretty basic things. I think I am trying to do the wrong thing. I get into bootloader mode. I get the black screen and detection of "class for rockchip" in device manager.
Now, I want to flash TWRP. My idea was to get into bootloader mode and use ADB to flash TWRP. But, I cannot connect to HuiFei when in bootloader mode because adb does not see any device.
Instead, if I boot the unit and use Wifi ADB, then I can connect to the unit.
So, should I flash TWRP through wifi ADB with the unit booted, or should I do it through bootloader mode? I could probably do it via recovery, but I do not really know how (just do update from sd card and select the TWRP I downloaded from 1-2-hak ?) otherwise, how do I do it if my adb does not detect any device?
sorry for the basic questions, but it is the first time I am doing this...
Click to expand...
Click to collapse
You dont need bootloader to flash TWRP. You just need to know how to get there if something goes wrong.
Check this link http://www.freaktab.com/showthread....itions-from-android-No-PC-needed-For-rockchip
get the flash_image from the link.
the get your wifi adb going
do a
adb push flash_image /sdcard/flash_image
adb push TWRP_KGL-7650G /sdcard/TWRP_KGL-7650G
then i go to adb shell
usually just cp them to dev
cd /sdcard
cp flash_image /dev/flash_image
cp TWRP_KGL-7650G /dev/TWRP_KGL-7650G
then flash it
/dev/flash_image recovery /dev/TWRP_KGL-7650G
then if you want to test
reboot recovery
you will need an mouse attached.
I am gong to see if I can get the touch working in this when I get my unit back.
Do a backup of the whole system in TWRP.
Then you are pretty well set.
Not sure if you need original recovery to update new MCU.images. When i uploaded mine I just flashed back the original recovery in the same way.
You can back up the original recovery by the steps in the link above. Which is good to have a complete copy of what you have now before tinkering too.
Hope that helps.
v3 with init.d support!
Here are v3 images for both screen resolutions in both KGL and KLD variants:
KVV_KitKat_XRESxYRES_yymmdd_rooted_light_reparted_init.d_v3:
rooted:
- ClockworkMod's Superuser apk, su binary and root daemon (root daemon needed on 4.3+ roms)
reparted: (seems popular these days )
- system reduced from 768MB to 512MB
- oem reduced from 128MB to 64MB
- data increased from 1GB to 3GB
- internal sd in now a bit less than 4GB
removed apks:
- Gmail2 (available on Play Store)
- Maps (available on Play Store)
- GoogleSearch (available on Play Store)
- VoiceSearch (included in GoogleSearch on Play Store)
- Talkback (available on Play Store)
- Google TTS and its libs and files (available on Play Store)
- Adobe Reader and its libs (available on Play Store)
- Instructions (surely useless, not relevant and badly translated from chinese...)
- Chinese and Japanese Keyboards (also removed their libs that are now useless)
- Navgear (just a stupid shortcut to the selected nav app in settings...)
updated/added apks:
- Google Play Store (updated to latest version)
- Google Play Services (updated to latest version with libs correctly installed so no more Google Play Services errors! Fixed on 1024x600 v3.1 thanks to @ESTIMULO)
- Browser bookmarks sync adapter (added, missing in KLD and KGL)
- Google calendar sync adapter (added, missing in KGL)
- Google contacts sync adapter (added, missing in KGL)
modded:
- init.d support added (late in boot process so every external storages are mounted), you can drop your scripts to /etc/init.d (chmod 755)
- added compatibility symlinks for storage mount points (it may fix issues with apps using hard-coded path to access sdcards and usb, if not it won't hurt anywway!)
- flash_image binary by Androtab, with dump_image and erase image symlinks to flash/erase/dump full partitions (dump_image return an error at the end but you can ignore it, dump is valid)
IT WILL WIPE YOUR DATA AND INTERNAL SD so backup first!
Please note that 1024x600 versions are untested as I don't own such a device but it's modded the same way so it should work flawlessly.
Updated TWRP image
This is an updated Team Win Recovery Project image based on 2.7.0.0 by Abdul from freaktabs (most credits goes to him! )
Updated fstab to new KK part scheme (was mounting kpanic and oem instead of system and internal sd)
updated kernel, modules and config files (full SElinux support)
Still no touchscreen you have to use a mouse. I've spent days trying to make touchscreen work but no luck, I'm starting to think that touchscreen is handled by mcu which then emulates a touch device or some weird things like that...
Now with a 1024x600 image
Please note that 1024x600 version is untested as I don't own such a device but it's Updated the same way so it should work.
Download latest versions HERE
How to flash recoveries back and forth to backup/restore data over flashes
Install Jack Palevich's Terminal Emulator for Android from Play Store and use a root explorer to save the apk file to your sd card or usb storage.
Download flash_image binary and use a root explorer to copy it to /system/bin and change permission to 755 rwxr-xr-x (if you are on one of my modded fw it's already installed you can skip this step).
Launch Terminal Emulator and type su to gain root, then type cd /path/to/recovery/folder, then type flash_image recovery twrp.img
You now have twrp installed, type reboot recovery to reboot to twrp.
In twrp use a mouse and go to backup menu to backup data (do not backup to internal sd it will be formatted by update).
Now reboot to system and place update.img at the root of you external sd or usb storage but don't update if prompted
Launch Terminal Emulator and type su to gain root, then type cd /path/to/recovery/folder, then type flash_image recovery recovery.img
You now have standard recovery installed, type reboot recovery to reboot to recovery.
Now you can flash update.img from the menu using power button.
When back into Android use backed up Jack Palevich's Terminal Emulator for Android apk to reinstall it quickly without having to set up google account.
Launch Terminal Emulator and type su to gain root, then type cd /path/to/recovery/folder, then type flash_image recovery twrp.img
You now have twrp installed, type reboot recovery to reboot to twrp.
In twrp use a mouse and go to restore menu to restore data.
webdude12 said:
Just a quick update.
I have copied over multiple different SU using TWRP to my stock 1024 x 600 4.4.2 unit. All them result in the same thing. Superuser not being able to use it. I have confirmed its there, messed with permissions on su and the system folders.
On thing I noticed through the TWRP command line is that SELinux is enabled. So thinking I might to research that to figure out if I need to do anything to get around that.
Back to the drawing board.
Click to expand...
Click to collapse
I've updated the twrp image for 1024x600 with 100% scaling factor so it should fit the whole screen now. Grab it HERE if you want to try.
Why don't you just flash a superuser zip from twrp, it will take care of the files, permissions and starting the daemon for you. You can grab ClockworkMod's superuser installer here: http://download.clockworkmod.com/superuser/superuser.zip
Note:
You can get required files here: https://docs.google.com/file/d/0B3FXCUVt554Mb1Nnai14eWM2cWc/edit
This is not provided by me! I copied the link from @pakidermo5000's old OP-Post
With TWRP MCU-Updates are no longer possible!
Normally you do not need TWRP as any custom roms can and have to be flashed using original recovery
coudu said:
I've updated the twrp image for 1024x600 with 100% scaling factor so it should fit the whole screen now. Grab it HERE if you want to try.
Why don't you just flash a superuser zip from twrp, it will take care of the files, permissions and starting the daemon for you. You can grab ClockworkMod's superuser installer here: http://download.clockworkmod.com/superuser/superuser.zip
Click to expand...
Click to collapse
"Twrp image" Link is dead
Guy I know this is bringing up a thread from the dead but a question. I did install TWRP but my issue is when in TWRP to do a backup it is only backing up about 60MB of data even w/ all partitions chosen. It shows 0MB in data, is there a way I can back up the entire ROM like you can do on my android based phones w/ TRWP or CM recovery? Also I've read how to switch to stock recovery but whenn I go to TWRP and backup it just backs up TWRP backup files (ext4.win) no .img file is created. I think I just need a copy of the stock recovery.img and then i'd be golden. Am I wrong? If im not, does anyone know where I can find that?
Thanks
Dave
TT_Vert said:
Guy I know this is bringing up a thread from the dead but a question. I did install TWRP but my issue is when in TWRP to do a backup it is only backing up about 60MB of data even w/ all partitions chosen. It shows 0MB in data, is there a way I can back up the entire ROM like you can do on my android based phones w/ TRWP or CM recovery? Also I've read how to switch to stock recovery but whenn I go to TWRP and backup it just backs up TWRP backup files (ext4.win) no .img file is created. I think I just need a copy of the stock recovery.img and then i'd be golden. Am I wrong? If im not, does anyone know where I can find that?
Thanks
Dave
Click to expand...
Click to collapse
Yea i need the same, managed to lose my back up of it.
Have you guys ever gotten this to back up the data partition? It always says 0mb.
Was able to take the recovery.img from a joying update.. if someone needs it let me know ill send a link.
PLEASE!!
TT_Vert said:
PLEASE!!
Click to expand...
Click to collapse
Pm'd, xda isn,t letting me post links just yet. I guess i can not be trusted. Let me know if that works for you!
Must appreciated man, it was perfect. It seems TWRP is pretty much useless on these devices for bare metal backup/recovery like they are on phones.
Courtesy of jgarci44. Stock joying recovery
hi, this talk is the TWRP recovery for rockchip 3188? Excuse my intrusion would like to know how to install on my unit "kit kat 4.4.4"
don't waste your time currently.
TT_Vert said:
don't waste your time currently.
Click to expand...
Click to collapse
Why are you saying this ? Explain.
bettuccio said:
Why are you saying this ? Explain.
Click to expand...
Click to collapse
If you have to ask how to do it, most likely you won't be able to do anything with it at this point.
Sent from my Nexus 5X using XDA-Developers mobile app
---------- Post added at 08:37 PM ---------- Previous post was at 08:31 PM ----------
bettuccio said:
Why are you saying this ? Explain.
Click to expand...
Click to collapse
If you must here is a website where I got it (although not much you can do with it) be sure to have a mouse as the touch screen doesn't work. If you need to revert, which you will if you plan to update you will need to find a copy of the stock recovery.
http://freaktab.com/forum/main-category/freaktab-downloads/11780-twrp-2-7-0-0-for-rockchip-s
Sent from my Nexus 5X using XDA-Developers mobile app
rollback recovery stock
Hi.
Do you have any idea how to get back to the recovery stock version? I installed the TWRP under Rk3188 Stereo Card, it works fine but at the time of updating the file upgrade.img does not work.
Thanks you for your help.
I have a post on this somewhere. Search for it but here is what I have documented. Here is the joying stock recovery if that'll help you. https://www.dropbox.com/s/h5o46v24911nbsp/Joying stock recovery.img?dl=0 Same process as my post on installing TWRP on these except you use this image.
Dave
Ok, let me get this straight...
1. With TWRP you can't flash mcu.img (but you can flash update.img? how does this exactly work? how do I flash an update.img from TWRP? or do I lose the ability to flash update.img as well?)
2. The ROMs do not come with recovery images and overwrite TWRP? I thought they did, like other ROMs...

Categories

Resources