Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,481 Members 54,413 Now Online
XDA Developers Android and Mobile Development Forum

[APP]Simple Recovery Switcher

Tip us?
 
graffixnyc
Old
(Last edited by graffixnyc; 25th August 2014 at 01:14 AM.)
#1  
graffixnyc's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 4,721
Posts: 5,528
Join Date: Jan 2011
Location: New York City

 
DONATE TO ME
Default [APP]Simple Recovery Switcher

I made this app because I got sick of flashing stock recovery when a GPE OTA came, and then flashing back to a custom. I also wanted to cut my teeth on Android App Development so here it is. My first app..
This SHOULD work on any Qualcomm device that uses the /dev/block/platform/msm_sdcc.1/by-name/recovery structure.
I have tested it on the HTC M8 and the OnePlus One

You MUST be rooted and have busybox installed:

You MUST place a stock recovery img and a custom recovery(of your choice) img onto your INTERNAL sd card(if you have both internal and external). Name them stock.img and custom.img (case matters)

Run the app and then press whichever you want to flash stock or custom and that's it.

This is my first app on google play and my first app ever really and I still have a lot of learn. Don't expect anything fancy. I did this mostly for myself to save time of manually having to flash the files and as a learning experience.

Play Store Link: https://play.google.com/store/apps/d...coveryswitcher
Donate version: https://play.google.com/store/apps/d...switcherdonate

One day some of the kids from the neighborhood carried my mother's groceries all the way home. You know why? It was outta respect." -Henry Hill

Devices:
 


Current Phones:
HTC One M8 Gray 32GB + 128GB SD
Oppo Find 7a 16GB + 64GB Card
OnePlus One

Current Tablets:
Sony Z Ultra GPe (Phone but use as a tablet)
Samsung Galaxy Note 10.1 2014 Edition 32gb


All new members should watch this:
http://www.youtube.com/watch?v=JmvCpR45LKA


Follow me on twitter! http://www.twitter.com/graffixnyc

G+: http://gplus.to/graffixnyc
The Following 26 Users Say Thank You to graffixnyc For This Useful Post: [ Click to Expand ]
 
graffixnyc
Old
#2  
graffixnyc's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 4,721
Posts: 5,528
Join Date: Jan 2011
Location: New York City

 
DONATE TO ME
reserved

One day some of the kids from the neighborhood carried my mother's groceries all the way home. You know why? It was outta respect." -Henry Hill

Devices:
 


Current Phones:
HTC One M8 Gray 32GB + 128GB SD
Oppo Find 7a 16GB + 64GB Card
OnePlus One

Current Tablets:
Sony Z Ultra GPe (Phone but use as a tablet)
Samsung Galaxy Note 10.1 2014 Edition 32gb


All new members should watch this:
http://www.youtube.com/watch?v=JmvCpR45LKA


Follow me on twitter! http://www.twitter.com/graffixnyc

G+: http://gplus.to/graffixnyc
The Following User Says Thank You to graffixnyc For This Useful Post: [ Click to Expand ]
 
superdragonpt
Old
#3  
superdragonpt's Avatar
Recognized Contributor
Thanks Meter 4,916
Posts: 1,791
Join Date: Apr 2013
Location: Lisbon

 
DONATE TO ME
Awesome

Let me try on my Moto

regards
If you like my work press Thanks, and feel free to Donate, and buy me an beer
--> Instead of flooding my PM Box with requests, use the proper discussion thread <--

Latest work:
Mediatek MT8317T SoC: (Acer Iconia B1-710)
Custom Kernel
Mediatek MT6582 SoC: (Wiko DarkMoon)
Custom Kernel
JB 4.2.2 / Carliv Touch Recovery
Unofficial LeWa Os v5
Mediatek MT6577 SoC: (ZTE V970 / v970m)
Custom Kernel
Mediatek MT8125 SoC: (Asus Memo Pad HD 7)
JB 4.2.2 / AOSP /VibeUI / Carliv Touch Recovery

All the other Projects

 
Waynehead69
Old
#4  
Senior Member
Thanks Meter 21
Posts: 137
Join Date: Aug 2008
Location: Independence, MO
This looks really cool and handy. Great job! I wish that I could use it on my Note 3. Damn!
 
BOY_
Old
#5  
BOY_'s Avatar
Senior Member
Thanks Meter 411
Posts: 1,119
Join Date: Aug 2010
Location: Fort Wayne, IN
This'll be one to watch...
Check out my LG Home themes here: http://forum.xda-developers.com/show....php?t=2678514

Please contribute to the beer fund:

 
toxic-hero
Old
#6  
toxic-hero's Avatar
Senior Member
Thanks Meter 123
Posts: 444
Join Date: Dec 2009
Location: hовосиби́рск
hi, great app, a really needed one! i just bought a donate version to spupport you.

still i have a few questions:

1. on my HTC One SV the path is slightly different as it should be: /dev/block/platform/msm_sdcc.1/by-num/recovery structure (by-num instead of by-name) is this a typo from your side or i have an unsupported device? if so, could you add support for my device's recovery path to your app?

2. i still have the original factory recovery on my device (which is rooted and with busybox). will your app work if i've never installed custom recovery on this device before?

3. does the bootloafer need to be unlocked?

thank you!
--
 
clarkg
Old
#7  
Senior Member
Thanks Meter 31
Posts: 193
Join Date: Jan 2008
Location: Auckland
Quote:
Originally Posted by graffixnyc View Post
You MUST place a stock recovery img and a custom recovery(of your choice) img onto your INTERNAL sd card(if you have both internal and external). Name them stock.img and custom.img (case matters)
The problem for me (I also have an HTC One M8) is that each OTA seems to come with a new recovery image (or it looks like a different version to me). I usually keep a copy of the OTA after download, but before applying it, then extract the new stock recovery from that so I can flash back the latest stock version after doing all my custom recovery stuff. I can't see how your app gets around the need to do that. Or am I missing something simple (and owe you an apology).
HTC One M8
Stock ROM 1.54.710.8 (Rooted)

ASUS Transformer TF300T
Stock ROM Android 4.2.1 V10.6.1.27.5 (Rooted)

HTC HD2 (EU)
MAGLDR 1.13, Radio 2.15.50.14, SD 32GB Apacer class 10, Tytung NexusHD2-JB-CM11 V4.5
 
09Ram
Old
#8  
09Ram's Avatar
Senior Member
Thanks Meter 465
Posts: 357
Join Date: Jul 2013
Location: Ottawa

 
DONATE TO ME
Quote:
Originally Posted by clarkg View Post
The problem for me (I also have an HTC One M8) is that each OTA seems to come with a new recovery image (or it looks like a different version to me). I usually keep a copy of the OTA after download, but before applying it, then extract the new stock recovery from that so I can flash back the latest stock version after doing all my custom recovery stuff. I can't see how your app gets around the need to do that. Or am I missing something simple (and owe you an apology).

I guess that the whole purpose of this app is to bypass the adb PITA where you need PC access to flash stock recovery to get the OTA, then adb fastboot reflash custom recovery etc. You can then always replace the stock recovery on your internal SD card with the latest version from the OTA.

---------- Post added at 10:45 PM ---------- Previous post was at 10:24 PM ----------

@graffixnyc, I really like the idea behind this app and want to buy it, but just to be clear, and it's not mentioned anywhere, is it ok for HTC One M8 Sense version? I don't know much about the partition structures.
"Fly SkyDragon"

 
Brutal_Master
Old
#9  
Senior Member
Thanks Meter 8
Posts: 112
Join Date: Mar 2013
I'm sure this is a stupid question, but in what directory can i find the stock recovery.img so i can use your app? I am currently using Philz but i thought that KitKat 4.4.3 came with it's own recovery image so it must be stored somewhere?
 
@SidDev
Old
#10  
@SidDev's Avatar
Senior Member
Thanks Meter 198
Posts: 380
Join Date: Aug 2013
Location: Kolkata
I hope this works on Moto e as it uses the Same path as you mentioned above. @graffixnyc
happy to help you .

The Following User Says Thank You to @SidDev For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes