Defy SD-Recovery - Defy Themes and Apps

About SD-Recovery: Based on boot strap recovery!
Stock Recovery signed with Test Keys for Flashing Update.zip to to Motorola Defy.
Version 1:
~ Must be Rooted & Have Superuser installed
~ SD-Recovery is installed to /sdcard/sd-recovery.sip or ( /mnt/sdcard/sd-recovery )
( Must have MoTo Phone Portal Turned before Using )
( Can be used with CwM Bootstrap recovery by renaming update-recovery.zip to sd-recovery.zip and placed on the /sdcard, just rename original to defy-sd or something for later use if needed )
~ ADB Debugging does not have to be turned Off
~ Capable of Flashing any update.zip for 2.2.1 Defy
~ Factory wipe & Wipe Cache fully working
~ Design to keep moto encryption from breaking
~ Working ADB Shell in Recovery + root access
~ Busybox installed
Update.zip must be signed like so: Please Google signapk
java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 update1.zip update.zip
For a Base start, please see this Update.zip:
http://eb-productions.proboards.com/index.cgi?action=display&board=mdd&thread=291
Market Download: https://market.android.com/search?q=defy+sd-recovery&c=apps
App .apk Download: http://www.multiupload.com/4FX5F14XXM

How it works?

Am i right in thinking this is like a fakeflash recovery? It will work even when rom bootloops with no access to 2nd init recovery thing?

defy wont flash .sbf bricked
hello im still struggling on how to fix my defy . please help i cant flash it, it always failed and im getting 0x7029...

when we recovery the phone ,we need cabel ??? thx

This is awesome, thank you!

Related

question?? rom manager....

I have a moto droid, rooted mine the normal way with update.zip and adb but my mom has a eris and wants wifi tether and a faster rom with working youtube app
Can i just download the rooting file update her phone then download rom manager to install recovery image? i dont feel like setting up adb on her computer. i want to flash it to the newest ota rooted rom that is on this site.
bL33d said:
I have a moto droid, rooted mine the normal way with update.zip and adb but my mom has a eris and wants wifi tether and a faster rom with working youtube app
Can i just download the rooting file update her phone then download rom manager to install recovery image? i dont feel like setting up adb on her computer. i want to flash it to the newest ota rooted rom that is on this site.
Click to expand...
Click to collapse
Sure, put your sdcard in your computer, or connect it to your computer with the USB cable and mount the sdcard. Download the PB00IMG.zip with root, flash_image, and recovery.img. Shut the phone down, and then do the VOL DOWN+Power ON to flash PB00IMG to the phone. Once done flashing, go in to the android market and download a terminal emulator. Type these commands:
su
after su, phone should change from sh-3.2$ to sh 3.2#
mount -o rw,remount /dev/block/mtdblock3 /system
cp /sdcard/flash_image /system/bin
chmod 755 /system/bin/flash_image
flash_image recovery /sdcard/recovery.img
If you do that, it should allow you to do it without adb on the computer. Just remember to type the 5 commands in the terminal emulator.
I just talked to devs and they told me that It can be done, Just download the rom Manager and install the recovery from there without using adb at all.
You just have to install the root rom first, then you should be able to use the rom manager to install the recovery img, which in my opinion the clockworkmod recovery is a lot better than the RA recovery which is listed in the rom.
thanks guys seemed like it was doable but wanted to double check here first.

how to Soft Unbrick (black screen after samsung logo) and no application memory..

Well before i begin ..
This procedure involves flashing and erasing partitions manually on your internal memory card.. if you dont know wat youre doing .. lemme remind you .. you may brick your device..(well i still dont know if its possible to brick this device.. but stil ...)
you hv been WARNED!!
Here's wat happend to my phone..
I was on stock 2.1 and wanted to flash a custom rom for which I tried to backup my current rom..which didnt work well.. I got thrown in the clockmod recovery mode..were I tried to back up n gave me error..And I accidently reformatted the sdcard thinking its the external sd.. but this thing actuallly soft bricked my phone..
I had to flash a stock Rom with Odin .. but then now it never passed the samsung boot logo.. n went to the black screen of death .. with soft buttons working .. (aka Soft brick)
The only rom that works after this is "Eugenes froyo that doesnt brick"
After I flashed that rom .. the phone finally comes up agian .. but this time without any Application memory.. it shows 0.00 in Application memory..and I cannot install any apps now nor download any from market ...
On top of which I couldnt flash any other rom even from clockworkmod recovery as it gives me this error>>
"Can't mount /dev/block/mmcblk0p2 (File exists)"
"Can't mount DATA"
"Installtion aborted"
Well here are the steps of how to fix this and repartition your sd card manually bcoz after loads of research I found out that my internal partitions are messed up .. that the system partitons are alright but the /DATA and /SWAP arent ..
Heres wat youll need:
1:working android sdk and samsung drivers installed
2:"Eugenes froyo that doesnt brick(with 2E recovery)"rom
3arted (attached)
4:clockworkmod recovery.zip(attached update.zip)
step1:
Flash the froyo rom from eugene using odin .. ofcourse coz thats the only one that works ..
Step2:
Turn on usb debugging and connect your phone to the pc..
go to command promopt and type this:
>adb devices
you wil see sum serial no in the connected devices .. which means your adb and drivers are working fi9..
if you get any other error or no devices found your sdk isnt configured properly or its drivers issue ..
step3:
Download and extract the Parted to a folder(you'll hv six files)
you wil hv to push all six files to your device in the /sbin folder of your device...
use the push command
>adb push [path]filename /sbin
If it works..gr8 (it didnt work for me ... bcoz it kept on givin me "permission denied" errors..)
If thats the case ..push them to /system that by default in eugenes rom is mounted as RW
>adb push [path]filename /system
do this for all 6 files...
now get into the adb shell
>adb shell
it wil display '$' prompt
type "su"
at this point tap accept button displayed on your phone ..
after which it wil display # prompt
now you're in shell as root..
Step 4:
okay now copy all the six files you pushed into the /system directory to the /sbin directory and set permissons like this:
#cp /system/[xyz] /sbin
#chmod 0755 /sbin/[xyz]
(replace the [xyz] with the filenames..do this for all 6 files..)
now get into the /sbin directory
#cd /sbin
#ls
This should display all the files in your /sbin
The parted files you copied should be here...
Now lets start partitioning..
#parted /dev/block/mmcblk0 and hit enter.
here it should get you into the parted prompt..(parted)
enter "print"
>(parted) print
this should display your card status and partitions..
Mine displayed:
total 16.0 GB
and had 3 partions
15.5 GB fat32 (which is /SYSTEM)
512 MB ext3 (which is /DATA)
32.2 MB linux swap(v1) (which is /Swap)
which ofcourse wasnt right do the math your self .. on a 16 GB card you cannot hv memory space more den 14.5 GB LOL
wel so youll need to remove the rest of the 2 partitons.. use these commands:
(parted) rm 2 (the second partition)
(parted) rm 3 (the third partition)
you wont be able remove /SYSTEM as its currently mounted and parted wil throw you errors..
now youre almost done .. DO NOT repartition..
now exit from parted and shell
(parted)quit
#exit
$exit
you should be back to command prompt..
Use clockworkmod .zip and install using 2E recovery.. and boot into Clockworkmod recovery mode..
der in partions menu format /system
(yes this wil format your phone n without flashing wil not boot up again...)
step 5:
Reboot device in downloading mode
after odin recognises device flash it again with Eugene's froyo rom (you can flash it with stock rom also but i suggest eugenes rom)
make sure the "reformat partitons" is checked.. and hit Start..!!
After it flashes you phone wil boot up and BAM!!.. you hv a fully working froyo with application memory back .. you should hv around 1.73gb of application memory after that...smiles... congrats ... now you can go ahead and download any apps n install them ..
And also flash from clockworkmod recovery with the custom rom of your choice ... ...
i hope this was helpful for ppl.. coz i really needed this wen all tht happened to me .. i had to read data all over the internet,get commands from manuals of adb and parted, and majorly spend a lot of time coz couldnt find straight answers .. for the same device..
dont forget to hit the thanx button>>
I've followed all steps successfully up until this one... Could you be a little more specific? I used adb to push the supplied update.zip to the system/bin dir, then rebooted into 2e recovery, then reinstalled packages, but when I go to reboot from there I cannot get into CWMrecovery. Please clear this up for me as this is my only hope to fix my phone!! thanx!! nick
azizreallycool said:
Use clockworkmod .zip and install using 2E recovery.. and boot into Clockworkmod recovery mode..
der in partions menu format /system
(yes this wil format your phone n without flashing wil not boot up again...)
Click to expand...
Click to collapse
how can i find Eugenes froyo that doesnt brick(with 2E recovery) rom?
I found EUGENE373_SamsungS_Froyo_PDA.tar, but it dosen't seem right.
when i'm in adb and trying to push 6files it gives me permission denied even with /system. i have to say that recovery is in 3e.
For I9192
azizreallycool said:
Well before i begin ..
This procedure involves flashing and erasing partitions manually on your internal memory card.. if you dont know wat youre doing .. lemme remind you .. you may brick your device..(well i still dont know if its possible to brick this device.. but stil ...)
you hv been WARNED!!
Here's wat happend to my phone..
I was on stock 2.1 and wanted to flash a custom rom for which I tried to backup my current rom..which didnt work well.. I got thrown in the clockmod recovery mode..were I tried to back up n gave me error..And I accidently reformatted the sdcard thinking its the external sd.. but this thing actuallly soft bricked my phone..
I had to flash a stock Rom with Odin .. but then now it never passed the samsung boot logo.. n went to the black screen of death .. with soft buttons working .. (aka Soft brick)
The only rom that works after this is "Eugenes froyo that doesnt brick"
After I flashed that rom .. the phone finally comes up agian .. but this time without any Application memory.. it shows 0.00 in Application memory..and I cannot install any apps now nor download any from market ...
On top of which I couldnt flash any other rom even from clockworkmod recovery as it gives me this error>>
"Can't mount /dev/block/mmcblk0p2 (File exists)"
"Can't mount DATA"
"Installtion aborted"
Well here are the steps of how to fix this and repartition your sd card manually bcoz after loads of research I found out that my internal partitions are messed up .. that the system partitons are alright but the /DATA and /SWAP arent ..
Heres wat youll need:
1:working android sdk and samsung drivers installed
2:"Eugenes froyo that doesnt brick(with 2E recovery)"rom
3arted (attached)
4:clockworkmod recovery.zip(attached update.zip)
step1:
Flash the froyo rom from eugene using odin .. ofcourse coz thats the only one that works ..
Step2:
Turn on usb debugging and connect your phone to the pc..
go to command promopt and type this:
>adb devices
you wil see sum serial no in the connected devices .. which means your adb and drivers are working fi9..
if you get any other error or no devices found your sdk isnt configured properly or its drivers issue ..
step3:
Download and extract the Parted to a folder(you'll hv six files)
you wil hv to push all six files to your device in the /sbin folder of your device...
use the push command
>adb push [path]filename /sbin
If it works..gr8 (it didnt work for me ... bcoz it kept on givin me "permission denied" errors..)
If thats the case ..push them to /system that by default in eugenes rom is mounted as RW
>adb push [path]filename /system
do this for all 6 files...
now get into the adb shell
>adb shell
it wil display '$' prompt
type "su"
at this point tap accept button displayed on your phone ..
after which it wil display # prompt
now you're in shell as root..
Step 4:
okay now copy all the six files you pushed into the /system directory to the /sbin directory and set permissons like this:
#cp /system/[xyz] /sbin
#chmod 0755 /sbin/[xyz]
(replace the [xyz] with the filenames..do this for all 6 files..)
now get into the /sbin directory
#cd /sbin
#ls
This should display all the files in your /sbin
The parted files you copied should be here...
Now lets start partitioning..
#parted /dev/block/mmcblk0 and hit enter.
here it should get you into the parted prompt..(parted)
enter "print"
>(parted) print
this should display your card status and partitions..
Mine displayed:
total 16.0 GB
and had 3 partions
15.5 GB fat32 (which is /SYSTEM)
512 MB ext3 (which is /DATA)
32.2 MB linux swap(v1) (which is /Swap)
which ofcourse wasnt right do the math your self .. on a 16 GB card you cannot hv memory space more den 14.5 GB LOL
wel so youll need to remove the rest of the 2 partitons.. use these commands:
(parted) rm 2 (the second partition)
(parted) rm 3 (the third partition)
you wont be able remove /SYSTEM as its currently mounted and parted wil throw you errors..
now youre almost done .. DO NOT repartition..
now exit from parted and shell
(parted)quit
#exit
$exit
you should be back to command prompt..
Use clockworkmod .zip and install using 2E recovery.. and boot into Clockworkmod recovery mode..
der in partions menu format /system
(yes this wil format your phone n without flashing wil not boot up again...)
step 5:
Reboot device in downloading mode
after odin recognises device flash it again with Eugene's froyo rom (you can flash it with stock rom also but i suggest eugenes rom)
make sure the "reformat partitons" is checked.. and hit Start..!!
After it flashes you phone wil boot up and BAM!!.. you hv a fully working froyo with application memory back .. you should hv around 1.73gb of application memory after that...smiles... congrats ... now you can go ahead and download any apps n install them ..
And also flash from clockworkmod recovery with the custom rom of your choice ... ...
i hope this was helpful for ppl.. coz i really needed this wen all tht happened to me .. i had to read data all over the internet,get commands from manuals of adb and parted, and majorly spend a lot of time coz couldnt find straight answers .. for the same device..
dont forget to hit the thanx button>>
Click to expand...
Click to collapse
I had similar experience with some difference, just sharing my thoughts which can be used by others if required. In my case it was selection of right ROM but wrong recovery tool which made me stuck at boot logo with no activity kind of situation.
(1) I connected my device with my PC ,switched on Odin, fortunately it was able to detect my device .
(2) I went through all the desired process which are required at the time of installing a custom recovery tool.
(3) Flashed through the correct recovery tool, rebooted the device in recovery flashed with correct ROM..reboot..and all back to normal for me.
Hope it will be helpful for someone in case of soft brick situation, tutorial related to flashing with ODIN can be found easily on web.
Hey thanks for your work .but when i flash eugene after the samsung s logo it gives me black screen with touch buttons light up and when i flash stock the phone shuts down after vibrant logo
Please help me

Help, Reward Given

Hey there , I'm a new Lg P500 User and I am really Unclear how to flash a custom recovery mod / megatron v1 / screen lag touch fix by milk_os
About Phone
Model: LG-P500
Android Version: 2.2.2
Kernel Version: 2.6.32.9
Software Version:V10F
Rooted with Superuser using GingerBreak .
The original thread: http://forum.xda-developers.com/showthread.php?t=1044765
Also Installed with busybox from the market.
So if anyone can show me a step by step guide to how to install custom recovery mod , megatron v1 and touch screen lag fixer by milk_os. I will reward
you with $100 Singapore by PayPal.I believe in meritocracy
Links
Custom Recovery Mod:http://androidforums.com/getitnowmarketing/221388-custom-recovery-optimus-one-p500-thunderg.html
Megatron V1: http://forum.xda-developers.com/showthread.php?t=870640
Touch Screen Bug: http://forum.xda-developers.com/showthread.php?t=929941
Let the hack rage begin!
Thank You.
danialrocker said:
Hey there , I'm a new Lg P500 User and I am really Unclear how to flash a custom recovery mod / megatron v1 / screen lag touch fix by milk_os
About Phone
Model: LG-P500
Android Version: 2.2.2
Kernel Version: 2.6.32.9
Software Version:V10F
Rooted with Superuser using GingerBreak .
The original thread: http://forum.xda-developers.com/showthread.php?t=1044765
Also Installed with busybox from the market.
So if anyone can show me a step by step guide to how to install custom recovery mod , megatron v1 and touch screen lag fixer by milk_os. I will reward
you with $100 Singapore by PayPal.I believe in meritocracy
Links
Custom Recovery Mod:http://androidforums.com/getitnowmarketing/221388-custom-recovery-optimus-one-p500-thunderg.html
Megatron V1: http://forum.xda-developers.com/showthread.php?t=870640
Touch Screen Bug: http://forum.xda-developers.com/showthread.php?t=929941
Let the hack rage begin!
Thank You.
Click to expand...
Click to collapse
lol luckly i live in singapore
first of all, lets start with custom recovery
1. Download the custom recovery file from here and here
2. DO NOT rename them, and put them neatly inside the ROOT of the SD CARD (that means it should be at /sdcard/ on androids
3. next, get Terminal Emulator from the market. search it.
4. Get a nice keyboard to work on for a while. you need to type A LOT
5. get titanium backup and backup everything. menu > batch
6. reboot phone.
7. Turn on phone and go to terminal and type the following
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
Click to expand...
Click to collapse
*there should be no error except at stage 5 there could be, but not always.
8. good. flash complete. now grab the megatron ROM and the lagfix. they both should be .zip . DONT OPEN IT.
9 put the two inside the root of SD card
10. go to terminal, write
su
*press enter*
reboot recovery
11. you should have a menu of things. go to flash zip or sth (you will know) w/ ur volume buttons
12. press menu and you will be able to choose the two zips. flash any of them first, and do the second afterwords.
13. YAY DONE
14. no need for bucks thanks. just press the thanks button down there. its free.
*PM or EMAIL ME IF YOU WANT FURTHER HELP*
*[email protected]*
Also, isnt 2.2.2 not rootable??
I think it has to be downgraded to 2.2 and then rooted..
Edit:
Sorry, My mistake.. Didnt realize 2.2.2 is rootable now..
2.2.2 it's now rootable
It says that "/system/etc/install-recovery.sh ": No such file or directory.
I'm sure that I placed both of the files on the root of my sdcard
Well, I guess the hardest part is getting the recovery. Well I share my method so, here we go.
What you need:
1. terminal emulator(download from market - free)
2. recovery installer(download here)
3. your ROM which is megatron(download here)
4. Touch-screen bug fix(download here)
5. Back-up all your SD contents to your PC.
-. optional: if your file explorer doesn't support unrar/unzipping, download one. but since you have a PC just use winrar.
when you have everything, lets start.
1. extract contents of "recovey_installer.rar" to the root(meaning the base) of your SDcard.(it contains 3 files, so you should also see 3 new files on your SD card).
2. open terminal emulator, enter these lines(press enter after each line):
Code:
su
sh /sdcard/rf.sh
just wait and this should reboot you directly to recovery.
3. now in recovery(remember: "vol + and - button" is "up and down" "menu button is ok/select" and "back button" is back) select options:
Partition sdcard > partition SD
4. when asked choose your desired partition size then choose swap size as 0. This should format your SD card.(initially this will leave you with an ext2 partition, if you want ext3 then upgrade it to ext3 and so on using the same menu)
5. when done, press back repeatedly and reboot.
6. now, move your ROM(megatron) and the touchscreen-lag-fix files to the root of your SD card.
7. open terminal again and enter these commands
Code:
su
reboot recovery
just wait and it should bring you back to recovery.
8. in recovery, choose option:
- flash zip menu
- to avoid hiccups just toggle the signature verification
- flash zip from sdcard
- first flash your rom(megatron), when done immediately flash touchscreen-bug-fix
- press back repeatedly then reboot.
9. enjoy
danialrocker said:
It says that "/system/etc/install-recovery.sh ": No such file or directory.
I'm sure that I placed both of the files on the root of my sdcard
Click to expand...
Click to collapse
just ignore that error message. this line is only there for those with different phone models which has the mention file in the phone internal storage. so this shouldn't affect optimus one users.
@ungaze, i did your way . It took me to android system recovery .
Anyway it didnt ask me for partition sdcard. So should i just reboot my phone?
congratulations, you now have recovery. you should see some options.
press volume buttons to navigate up and down(menu button=select/ok). Choose the option:
- Partition sdcard
- Partition SD
If you want to explore your phone a bit more, you could just reboot your phone for now. Just remember, to go back to recovery you could open terminal and enter:
Code:
su
reboot recovery
or when phone is off, press and hold "power/lock button"+"home button"+"vol down button" until recovery menu shows up.
Alright , did that . My friend told me about nandroid how can i do that before i flash the other roms ?
theres a menu option "backup/restore" open it and choose "nand backup". when done, there should be a folder in your SD named "nand" copy the contents to a pc or somewhere safe as this will serve as your backup file.
Okay, i did a nandroid and ready to flash roms . Wish me well =)
Anyway why do i receive E:Bad boot message when i reboot recovery.
everyone has it. it's perfectly fine. good luck
Anyway, as I was nandroid-ing i saw this video http://www.youtube.com/watch?v=s5GWgjJT2zo in the end, it shows the guy having no reception?
edit: He didnt have it on at the first place anyway. Sorry for the inconvenience.
i didnt view the link but im guessing hes using amon_ra v1.1, the method i gave you installs amon_ra v1.2 which fixes most bugs with ext4 and nand recovery/backup
By toggl-ing signature verification do you mean to enable or disable it?
disable. this is really not necessary as the zips youre about to apply are surely signed. but in case you have problems in the future, just remember that disabling sig veryfication may fix the problem.
Thanks man, how do i donate to you?
Btw i just screw my phone. Stuck at android screen page ;(. How do i restore the nandroid backup? Should i wipe my phone first, then do nandroid restore?
Will it restore me my version 2.2.2?
When i nandroid it , my phone was on ver 2.2.2
Ungaze?
Sent from my LG-P500 using XDA Premium App
Check your inbox

[Q]Flashing Munjeni's Kernel

Hey guys, the title might sound misleading that I need tutorial how to flash, but it's not on this case.
So few days ago I installed CWM (I have Unlocked Bootloader Xperia U, already flashed Speedy Droid mod) and I had stock kernel, now I think I would like to get a rom, but a quite a few roms say that I need Munjeni's kernel.
So now I was reading Munjeni's forum post. And I got across this line:
Warning!!! This boot+CWM reguire unlocked bootloader + stock chargemon!!! Do not use modified chargemon or chargemon that is SCRIPT!!! Double check if your /system/bin/chargemon is script or binary file (you can do it by android terminal emulator by command "cat /system/bin/chargemon" if you see clean text lines than its script, if you see unknown characters than you are sure that your chargemon is binary file!!! If chargemon is script do not use our boot+CWM!!! I am not responsible for any damages or data losts if you use custom chargemon!!! If chargemon is binary you can install our boot+CWM but you need to check if system partition in "mount and storage" is mountable and remountable before you going to erase system partition or to perform backups and restores !!! Allso check ps.log in your sdcard after booting recovery, just this CWM is in test stage for Xperia U and you need to be sure that "/system/bin..." processess is not in ps.log !!! Untill we are surre that these processess is not in ps.log and your chargemon is stock than our CWM will be safe!!!
Click to expand...
Click to collapse
So AFAIK I have Atis112 CWM installed. It has installed a chargemon. So from the post it seems I cannot install Munjeni's Kernel + CWM + Memory Tweak? I know that I can install memory tweak via CWM, but I cannot install Kernel because I don't have the stock chargemon?
Help much appreciated

[TUTO][A3] 5.0.2 Xposed without Custom recovery or Knox Tripping

Hi,
what started as an Idea seems to be working now. For once i wanted a phone that has warranty for more than two weeks (or at least a chance for warranty).
DISCLAIMER:
Do all of this at your own risk. Even though we will not be flashing a custom recovery, technically the warranty is lost the moment you root your phone.
None of the Tools is actually written by me, i just tinkered a bit and came up with this tutorial.
1. You will need
- Galaxy A3 (mine was an A300FU but i guess every one that can be rooted without flashing should do) on Lollipop (5.0.2).
- Minimal ADB or some other software that brings debugging drivers and adb.
- KingRoot 4.60+
- SuperSu-ME (from play Store or an older version is also fine) or any other way to go from the Kinguser Root Management to SuperSU
- Deodexed apks matching you phone model
- Flashfire Beta
- Xposed Installer, I used 3.0alpha4
- Xposed bridge for Samsung lollipop I used xposed-v75-sdk21-arm-arter97-snapdragon_requestConcurrentGC
2. If something goes wrong:
- Odin and a stock LOLLIPOP ROM for your device!
This is Important: Since we dont have a custom recovery, whenever something goes wrong the only rescue is going back to a stock rom and thereby wiping. If everything works in the first go there will be no wipe.
3. Rooting
First we need to root. Thanks to KingRoot thats very easy and just a matter of waiting. Install KingRoot (has to be 4.60+ for Lollipop), Click try to Root, wait for it, done. Know we need to get rid of the KingRoot stuff again and install SuperSU (FlashFire does not support KingUser but SuperSU) thats what we need SuperSU-ME for. There Will be some Left overs since KingRoot converts itself to a system app, you can remove this with Titanium Backup or a ROM Toolbox of you choice.
4. Deodexing
Next step is gonna be Deodexing. This one is a little Tricky without a Custom Recovery. Flashing the Deodex using FlashFire will leave you stuck at the Boot Logo.
Unpack the Flashable Deodex zip. you#ll find a META-INF and a system folder. Copy the system folder (or rename it, doesnt matter) to your SDcard or the phone memory using USB. At this point you can also copy the two Xposed files (zip+apk). Next we need USB Debugging. Install the minimal ADB, browse to the install location and start "adb devices" once (this will start the daemon). Now take your phone, browse to settings / phone info and tap the build number like 10 times (this gives you developers options) now go to settings / developers options and enable USB debugging.
Connect you phone via USB. This hould bring up a dialog granting your PC permission to connect. Click Yes.
Connect to the phone and request root using
Code:
adb shell
su
Now turn on the phones screen there should be a root request, allow it.
Next is the following commands, assuming the location of the extracted system folder is /storage/extSdCard/deodex_system
Code:
mount -o rw,remount /system
rm -Rf /system/app
rm -Rf /system/priv-app
rm -Rf /system/framework
cp -R /storage/extSdCard/deodex_system/* /system
chown -R root:root /system/app
chown -R root:root /system/priv-app
chown -R root:root /system/framework
chmod -R 755 /system/app
chmod -R 755 /system/priv-app
chmod -R 755 /system/framework
rm -Rf /data/dalvik-cache/*
reboot
This will replace all system apks with the deodexed ones, sets the right owner and permissions, clears the dalvik cache and reboots. Booting is gonna take a while and then you're enjoying you're rooted, deodexed stock ROM without flashing anything so far. So now about installing Xposed.
Don't be to slow with thus step. Deleting the three folders will make the phone go crazy and at some point reboot, you should be done by then.
Edit: I did this on a second device now, for some reason the remount did not work. In this case try disabling SElinux (http://forum.xda-developers.com/devdb/project/dl/?id=12178) and then remount.
5. Xposed
Install the XposedInstaller apk file like any other app, no need to start it yet. Next install FlashFire and launch it (granting root access) now select the Option "OTA or ZIP" in Flashfire and select the flashable Xposed zip you downloaded earlier. No further settings needed just hit Flash! The next reboot is again gonna take a while, but after that you can launch the Xposed Installer and start Installing Modules. We're done.
Whenever you do a factory reset (from the recovery), You need to root again using Kingroot, replace it with SuperSU and install Xposed again.
Once more, I did not develop any of the tools mentioned, all credits to their respective authors.
Cheers,
prometh
Edit: I did not try too many modules yet but Wanam for lollipop works just fine and that useless S Whatever bar is a thing of the past
Hi.
I already have a rooted Galaxy A3 (A300FU) and I have TWRP as my recovery so my warranty is already gone and I'm not too worried about that. However I have had no success at trying to deodex my rom to be able to install xposed.
Would it be possible to just flash the deodexed and the xposed zip from TWRP? And with regards to the deodexed zip would it matter if I flash it over the top of my current rom when I'm using a carrier rom rather than the BTU unlocked rom?
Squall88uk said:
Hi.
I already have a rooted Galaxy A3 (A300FU) and I have TWRP as my recovery so my warranty is already gone and I'm not too worried about that. However I have had no success at trying to deodex my rom to be able to install xposed.
Would it be possible to just flash the deodexed and the xposed zip from TWRP? And with regards to the deodexed zip would it matter if I flash it over the top of my current rom when I'm using a carrier rom rather than the BTU unlocked rom?
Click to expand...
Click to collapse
I think this would be a question for the deodex thread I linked but heres my 5 cents: The procedure in your case should be Flashing Deodex (eventually also gapps_replacement from that thread if you get Google Apps FCs) flashing Xposed, booting, installing the xposed installer. The Deodexed zip is meant to be flashed on top of your system. What I described is basically doing manually what the deodex zip file would do (deleting copying...). Since you have twrp already, I guess a system backup wouldn't hurt.
Many thanks for the help. I'll make a nandroid backup of system first just in case and then give it a go.
Thanks again.
Impossible with my SG A3 A300FU
Hello, I already have the root and TWRP installed, but if I try to type the command line with ADB it doesn't work and if I flash the zip, it doesn't work too. Any Idee ? With the first or the second method boot loop with the samsung logo !!
darwin345 said:
Hello, I already have the root and TWRP installed, but if I try to type the command line with ADB it doesn't work and if I flash the zip, it doesn't work too. Any Idee ? With the first or the second method boot loop with the samsung logo !!
Click to expand...
Click to collapse
If you try the adb commands whats the exact error? Permission Problems? Anyway the Command line should do nothing else than flashing the zip file (I dont know what the zip file wipes after flashing but I assume its dalvik and cache).
Great work prometh696 !!! I managed to get xposed on my A5 with knox 0x0 !!!
Some other steps I followed to get it for my A500FU; first I extracted my own system folders system/app/, system/framework/ & system/priv-app/ with root explorer to my ext SD card and then copied it to my computer.
On the computer I batch deodexed those folders with joeldroid's batch deodexer:
http://forum.xda-developers.com/and.../script-app-joeldroid-lollipop-batch-t2980857
Had some issues there as not every Java version seems to deliver the deodexed folders without errors; more details in that topic.
Then I followed your adb commands and installed xposed, and as you said, knox didn't change and is still 0x0 !!!
Thanks again !!!
---------- Post added at 01:30 PM ---------- Previous post was at 01:06 PM ----------
prometh696 said:
If you try the adb commands whats the exact error? Permission Problems? Anyway the Command line should do nothing else than flashing the zip file (I dont know what the zip file wipes after flashing but I assume its dalvik and cache).
Click to expand...
Click to collapse
The command lines are for copying the deodexed apks (so not in a zip). The zip is for xposed and is flashed by flashfire.
But as he already got TWRP (and thus knox 0x1) I see no use for him to use your method anyway
prometh696 said:
If you try the adb commands whats the exact error? Permission Problems? Anyway the Command line should do nothing else than flashing the zip file (I dont know what the zip file wipes after flashing but I assume its dalvik and cache).
Click to expand...
Click to collapse
When I type the first command line after this one "rm -Rf /system/priv-app" or this one "rm -Rf /system/framework" I don't know when exactly my phone reboot and bootloop on samsung logo (dynamic one) ???
My mobile restart before end of commands line
Hi,
your solution seems really good but my mobile (A300FU) is retarting before I typed all commands line.
Do you know a solution ?
Maybe cause I've no ExtSDcard and use the internal card ?
Thank you for your help !!
Regards
Virtua
update : I tried with trwp and made the necessary but the mobile does not boot.
This phone is a mess
It's the first time I can't do what I want with a phone. All posts seems to be a hoax. ;( ;(
Whenever you do a factory reset (from the recovery), You need to root again using Kingroot, replace it with SuperSU and install Xposed again.
Click to expand...
Click to collapse
This is actually incorrect unless root is systemless.
Root remains in system, and so does xposed. A factory reset does not touch the system partition.
You lose root after a reset because you need to reinstall superuser. If you make it a system app you won't lose root even after a reset.
The same with xposed just reinstall the apk.

Categories

Resources