[Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders v4[25-03] - Xperia Z Original Android Development

Krabappel2548 and cpasjuste are proud to presents:
This is DooMLoRD's recovery, just added scripts to make it work on locked bootloader, all credits for recovery should go to him!
CWM recovery for locked bootloaders!
WORKING:
- I think All functions should be working, haven't tested all of them though.
NOT WORKING:
Phone hangs when cleaning cache?
Just leave it for a few minutes, it's needs some time to clean cache
Click to expand...
Click to collapse
- Let me know
HOW TO ENTER RECOVERY:
- Press volume up or down when green LED is on while booting
REQUIREMENTS:
- Locked bootloader
- Root
- Windows pc with adb drivers
INSTALLATION:
- Download the package and extract it to your pc.
- Run the script to install the recovery
- Enjoy it!
Error with creating file for faster backup?
This isn't a problem, it always gives an error if the file already exists, so it means you have the file already
Click to expand...
Click to collapse
Please don't mirror my download links or steal my work!
DOWNLOAD:
CWM 6.0.2.8 for locked bootloader v4
CREDITS:
- My dear friend DooMLorD for tips and some recovery files, "sbin/recovery" itself actually
- Cxpher for edit of run.sh script
- cpasjuste for his great and usefull help

INFO FOR ROM CHEFS:
1. Rename /system/bin/chargemon to /system/bin/chargemon.stock
2. Put the following files in /system/bin:
- recovery.tar
- charger
- chargemon
- ric
3. Add these lines to updater-script to set permissions:
Code:
set_perm(0, 2000, 0644, "/system/bin/recovery.tar");
set_perm(0, 2000, 0755, "/system/bin/ric");
set_perm(0, 2000, 0755, "/system/bin/charger");
set_perm(0, 2000, 0755, "/system/bin/chargemon");
CHANGELOG for CWM 6.0.2.8 v4:
- Updated run.sh script
CHANGELOG for CWM 6.0.2.8 v3:
- fixed slow backup problem
CHANGELOG for CWM 6.0.2.8 v2:
- Fixed adb
- Fixed /system problem
CHANGELOG for CWM 6.0.2.8:
- First release for locked bootloaders.

krabappel2548 said:
SOURCES:
Device configuration files: android_device_sony_yuga
Xperia Z TWRP sources: twrp_sony_yuga
CHANGELOG for 2.4.3.0 unreleased version:
- Fixed settings => screen: brightness changing is working now.
CHANGELOG for 2.4.3.0 stable:
- Fixed internal storage
- Fixed layout (may be small errors, but I needed to create a complete new mayout for 1080x1920)
- Fixed cache issue
- Fixed backup issue, won't backup internal storage data anymore
- Fully functional and working as it should
CHANGELOG for 2.4.3.0 beta 1.1:
- Partially fixed layout
CHANGELOG for 2.4.3.0 beta 1:
- First release for Xperia Z
- All basic functions are working
- Layout isn't ok yet.
- Internal storage isn't working yet
Click to expand...
Click to collapse
You ROCK DUDE!!!!!!!
trying now, just to clarify???
once installed i should be able to nandroid backup and flash mods as i would with an unlocked bootloader?

Процесс идет нормально, но в большинстве rekoveri не идет.

xl VipeR lx said:
You ROCK DUDE!!!!!!!
trying now, just to clarify???
once installed i should be able to nandroid backup and flash mods as i would with an unlocked bootloader?
Click to expand...
Click to collapse
If it works you can flash stock based roms, mods and take backups yes
Let's hope it works!
barbik said:
Процесс идет нормально, но в большинстве rekoveri не идет.
Click to expand...
Click to collapse
English please. I uploaded test 1.1, fixed the flashing script.

xl VipeR lx said:
You ROCK DUDE!!!!!!!
trying now, just to clarify???
once installed i should be able to nandroid backup and flash mods as i would with an unlocked bootloader?
Click to expand...
Click to collapse
I get the following error: Cannot stat sh, no such file or directory, is it meant to be sh? or su?
EDIT: Flashing the new test file

krabappel2548 said:
If it works you can flash stock based roms, mods and take backups yes
Let's hope it works!
English please. I uploaded test 1.1, fixed the flashing script.
Click to expand...
Click to collapse
Also cooked rom?
Thanks Also you are great developer
Thanks for your work.

xl VipeR lx said:
I get the following error: Cannot stat sh, no such file or directory, is it meant to be sh? or su?
EDIT: Flashing the new test file
Click to expand...
Click to collapse
Ok, let me know how that one went
tanoxxx said:
Also cooked rom?
Thanks Also you are great developer
Thanks for your work.
Click to expand...
Click to collapse
Yes, as long as the rom is stock based and the developer says it should work, it should work
Only thing is that recovery needs to be included in the rom or it will be lost, but I'll add instructions for rom cookers when I know the recovery works

tanoxxx said:
Also cooked rom?
Thanks Also you are great developer
Thanks for your work.
Click to expand...
Click to collapse
Still not working, now i get the following error

xl VipeR lx said:
Still not working, now i get the following error
Click to expand...
Click to collapse
ok, I'll check the script again, scripts isn't really my thing

krabappel2548 said:
damn that means I deleted the wrong line from my script
Click to expand...
Click to collapse
lol its ok, paitently waiting im reading the bat file to see if i can make out anything
are you supposed to have the -C in adb shell "su -c /data/local/tmp/twrp/step3.sh"
if i remove it i just get UNKNOWN ID in the error

krabappel2548 said:
Ok, let me know how that one went
Yes, as long as the rom is stock based and the developer says it should work, it should work
Only thing is that recovery needs to be included in the rom or it will be lost, but I'll add instructions for rom cookers when I know the recovery works
Click to expand...
Click to collapse
Thanks
Sorry finished my daily Thanks

Re: [Locked Bootloader]TWRP Touch recovery 2.4.3.0 for locked bootloaders - test1 [12
Do i have to connect my phone in flash Mode to install it? Thanks
"Swyped" From My X10Mini Running SevenBean Stable3

pongnamu said:
Do i have to connect my phone in flash Mode to install it? Thanks
"Swyped" From My X10Mini Running SevenBean Stable3
Click to expand...
Click to collapse
NO, same way as you rooted the locked bootloader, just connect while its on.
ITs currently not working, krabappel is working on it

Have no problem with installation I think, but i will not come into recovery with vol up and so on.
Witch buttons should I push?

xl VipeR lx said:
lol its ok, paitently waiting im reading the bat file to see if i can make out anything
are you supposed to have the -C in adb shell "su -c /data/local/tmp/twrp/step3.sh"
if i remove it i just get UNKNOWN ID in the error
Click to expand...
Click to collapse
I found the problem forgot to add one line and one file
Reuploading now
tanoxxx said:
Thanks
Sorry finished my daily Thanks
Click to expand...
Click to collapse
no prob
pongnamu said:
Do i have to connect my phone in flash Mode to install it? Thanks
"Swyped" From My X10Mini Running SevenBean Stable3
Click to expand...
Click to collapse
no, just usb, with usd-debuggin and unknown sources active

eagle1977 said:
Have no problem with installation I think, but i will not come into recovery with vol up and so on.
Witch buttons should I push?
Click to expand...
Click to collapse
installation couldn't be succesfull, one file was missing and script wasn't ok, new test file is up
Flashing works, no more errors in the script, it is possible be that you can't enter recovery yet. I've never made recovery for locked bootloaders

krabappel2548 said:
installation couldn't be succesfull, one file was missing and script wasn't ok, new test file is up
Flashing works, no more errors in the script, it is possible be that you can't enter recovery yet. I've never made recovery for locked bootloaders
Click to expand...
Click to collapse
I was actually thinking there was no sh file to push yet we chmod sh? lol it has flashed, testing now
My phone is now broke, everytime i try and boot up, it just gives me a battery icon, nothing else?!?!?
Im stuck in a boot loop

xl VipeR lx said:
I was actually thinking there was no sh file to push yet we chmod sh? lol it has flashed, testing now
My phone is now broke, everytime i try and boot up, it just gives me a battery icon, nothing else?!?!?
Im stuck in a boot loop
Click to expand...
Click to collapse
Confirmed

xl VipeR lx said:
I was actually thinking there was no sh file to push yet we chmod sh? lol it has flashed, testing now
My phone is now broke, everytime i try and boot up, it just gives me a battery icon, nothing else?!?!?
Click to expand...
Click to collapse
ok, I'll remove download link for now, need to fix that first. You'll need to flash an .ftf then, you can uncheck the wipe data and cache etc to restore to stock fw.
Sorry guys. I'll try to fix it asap.

Related

[Unlocked Only][ROOT][07-27-2011] CWM Recovery ROOT for any ROM

USE THIS SCRIPT AT YOUR OWN RISK
Prerequisites:
1. Unlocked Bootloader
2. CWM Recovery for unlocked bootloader installed
Code:
Changelog 27.7.2011:
- su and superuser updated to latest version
- fixed issue with permissions
- works correctly with Titanium Backup
Changelog 26.7.2011:
- added sqlite3 binary
- su and busybox updated to latest version
How to:
1. Download "root_cwm.zip" (bellow in Attached Files)
2. Copy it to sdcard or sdcard-ext
3. Reboot into CWM recovery
5. Click "install zip from sdcard"
6. Choose zip from sdcard
7. Pick the "root_cwm.zip"
8. Install
9. Reboot
Tested on kennethpenn's [ROM] AT&T 4.5.91 ★ Gingerbread 2.3.4, but should work on any ROM available.
Can you please upload the .zip?
kennethpenn said:
Can you please upload the .zip?
Click to expand...
Click to collapse
its there in attached files...
kamma said:
its there in attached files...
Click to expand...
Click to collapse
Edit: im an idiot.
Awesome
Sent from my MB860 using XDA Premium App
Worked like a charm. Thanks!
goscrewsir said:
Worked like a charm. Thanks!
Click to expand...
Click to collapse
glad to hear...
So is the only difference between these two threads (this one and http://forum.xda-developers.com/showthread.php?t=1140110) that the other is for the HKTW... orrrrr? =) and thanks anyway, I'm about to use your .zip right now
Worked beautifully when preinstall didn't, thank you
wow! this is awesome!
This is great!!!
I used this to obtain root in OTA 4.5.91 but I'm have some problems. Root explorer and terminal can access root, but Titanium Backup, busybox, and SQLite Editor cant get root access. USB debugging is turned on, and same for 3rd party install.
Anyone have any idea what's causing this?
Can you read/write in root explorer?
GuerillaZhou said:
I used this to obtain root in OTA 4.5.91 but I'm have some problems. Root explorer and terminal can access root, but Titanium Backup, busybox, and SQLite Editor cant get root access. USB debugging is turned on, and same for 3rd party install.
Anyone have any idea what's causing this?
Click to expand...
Click to collapse
Sent from my MB860 using XDA App
i got it working, just manually copied su from /preinstall to /system/bin, and sqlite and titanium works now
how do i install CWM before I am rooted?
ekerbuddyeker said:
how do i install CWM before I am rooted?
Click to expand...
Click to collapse
unlock BL and then go to fastboot mode and install CWM
munchy_cool said:
unlock BL and then go to fastboot mode and install CWM
Click to expand...
Click to collapse
can you elaborate. I am in fastboot mode. How do I install CWM?
Hi,
For me, the flashing appears to be successful, but when I boot into recovery I'm getting the stock recovery. I think the issue is with /system/etc/install-recovery.sh, but I have no clue how to remove this file from my phone. I can't change the permissions or the file even with root access. Anyone have any advice?
Thanks!
ekerbuddyeker said:
can you elaborate. I am in fastboot mode. How do I install CWM?
Click to expand...
Click to collapse
Here you go buddy: http://forum.xda-developers.com/showthread.php?t=1154600
kamma said:
USE THIS SCRIPT AT YOUR OWN RISK
Prerequisites:
1. Unlocked Bootloader
2. CWM Recovery for unlocked bootloader installed
How to:
1. Download "root_cwm.zip" (bellow in Attached Files)
2. Copy it to sdcard or sdcard-ext
3. Reboot into CWM recovery
5. Click "install zip from sdcard"
6. Choose zip from sdcard
7. Pick the "root_cwm.zip"
8. Install
9. Reboot
Tested on kennethpenn's [ROM] AT&T 4.5.91 ★ Gingerbread 2.3.4, but should work on any ROM available.
Click to expand...
Click to collapse
Thanks a lot dude...
Easy as pie!
Cheers!
Rayan

[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

[STOCK][C6602&C6603][4.2.2] Update to 10.3.A.0.423 [Rooted & XZDualRecovery][LB/UB]

[STOCK][C6602&C6603][4.2.2] Update to 10.3.A.0.423 [Rooted & XZDualRecovery][LB/UB]
Requirements:
Flashtool by @Androxyde
XZDualRecovery 2.5 BETA
Current FW version: 10.1.A.1.350, 10.1.A.1.434, 10.1.1.A.1.253 or 10.1.1.A.1.307 all can be updated!
Special features:
Superuser integrated in system, FULL root, no reboots when remounting /system RW!
XZDualRecovery 2.5 BETA (CWM 6.0.3.2 & TWRP 2.5.0.0) pre-installed;
Tailored FTF to minimize the chance of accidental system wiping!
No need to clear caches!
@shem2409 created a nice youtube video guide to assist you in your work, be sure to check this post for it! Thanks m8!
In the following guide I suggest you use an external SDCard but that's just good practice, you can use your internal storage or even an USB OTG storage device in TWRP if you like to install, that's no problem!... If you are modding and the likes, best is to have an external sdcard, just for safeties sake.
C6602: How to update to 10.3.A.0.423:
NOTE: STICK TO THIS ORDER AND STEPS!!
For C6602: Download C6602.flashable.423.zip (Bittorrent: 686MB) and C6602_10.3.A.0.423-stripped.ftf (15MB), save it somewhere you remember;
Put 'C6602.flashable.423.zip' on (the external) SDcard1;
Put 'C6602_10.3.A.0.423-stripped.ftf' inside the Flashtool/firmwares folder;
Create a backup of your phone in CWM or TWRP and don't forget to backup the contents of 'SDCard0';
Flash 'C6602.flashable.423.zip' in TWRP, do not reboot but go back to the main menu, then go to reboot->power off;
Flash everything in 'C6602_10.3.A.0.423-stripped.ftf';
Reboot to system without clearing (dalvik-/)cache.
C6603: How to update to 10.3.A.0.423:
NOTE: STICK TO THIS ORDER AND STEPS!!
For C6603: Download C6603.flashable.423.zip (Bittorrent: 719MB) and C6603_10.3.A.0.423-stripped.ftf (15MB), save it somewhere you remember;
Put 'C6603.flashable.423.zip' on (the external) SDcard1;
Put 'C6603_10.3.A.0.423-stripped.ftf' inside the Flashtool/firmwares folder;
Create a backup of your phone in CWM or TWRP and don't forget to backup the contents of 'SDCard0';
Flash 'C6603.flashable.423.zip' in TWRP, do not reboot but go back to the main menu, then go to reboot->power off;
Flash everything in 'C6603_10.3.A.0.423-stripped.ftf';
Reboot to system without clearing (dalvik-/)cache.
The first boot will be considerably slower and after a long wait at the boot animation you will see Android optimizing the apps on your phone.
After updating your NFC firmware and some update information has been displayed, all is done!
I have done this myself, using my own method and I have not found any problem yet, again! :fingers-crossed:
Enjoy! :victory:
Known XZDualRecovery Issues:
TWRP Usage warning: It seems TWRP 2.5.0.0 has issues with the internal storage, which seem related to the changes made to support encrypted storage volumes... This means the internal storage sometimes shows up almost empty (just folders) and no files. Try to use CWM when that happens.
Busybox Updater/Installer: If you have XZDualRecovery installed, un-install any Busybox updating app/tool as most if not all of them will install a version of busybox which does not support the lzma compression applets XZDualRecovery depends on. The version installed together with XZDualRecovery is very stable and I have yet to hear anyone complain about it's stability.
How to report errors:
Please, before shouting out "It doesn't work!!1!" or "I lost root!" or even "My phone reboots when remounting /system RW!!" try the following:
Restore a /system ONLY using any means you are familiar with so you can try again.
Root it using [Z][ROOT] DooMLoRD Easy Rooting Toolkit.
Install XZDualRecovery and then try to update again using TWRP. This time you can skip the FTF as it has already done it's job.
If it still fails something from there on: LOGS!!.
NOTE: The important ones can be found in /cache/recovery and in /tmp/XZDualRecovery, pack them up and send them to me.
Thank you
Flashable ROM Mutator:
Download AROMA ROM Mutator 0.14
This (former patch package) uses AROMA to create a user friendly menu to choose between updates to be installed.
If you want to switch from SuperSU (default in this ROM) to SuperUser (Be careful, SuperUser is incompatible with 4.2.2!) you can use this to make the change.
If you have the reboot problem when trying to remount /system writable, you can reinstall the superuser app of your preference, it's installation includes the latest patch.
If you are missing /system/bin/chargemon.stock and you want to be able to charge your phone while it's turned off.
Flash using one of the recoveries!
Version 0.13 and upwards is using AROMA 2.70B1 or better, the below warning can be ignored for now. Let me know how it performs!
AROMA Warning: AROMA currently works best in TWRP but even there it has some issues on the Z/ZL. It sometimes does not start up correctly or it has a 'sticky button' issue. It makes it a little less easy to use but this will be fixed in time. It is a combination problem caused by the new hardware and incompatibility with it and the fact the recoveries both have been updated considerably to work on the latest phones, causing issues with some functionality of AROMA.
If it hangs when trying to start, reboot your phone and try again.
If it has the sticky buttons, press the button again to activate.
You can avoid the sticky buttons by pressing them for about half a second (that means not too short and not too long). It will work, it's just showing a bug associated with the latest recoveries.
The Samsung S4, HTC One and One X and the Nexus 4 & 7 show the same issues. For them AROMA sometimes crashes, this is an issue i have not yet observed on the Z/ZL.
Thanks go to @Androxyde for the FTF creation, cheers m8!
nice! so does that mean we dont need to factory wipe before upgrading? I thought if we go across versions (4.1.2 > 4.2.2) you gotta wipe all your stuff first.
After flashing the stripped ftf, the phone doesn't go into recovery. It shows green light, Sony logo and nothing else. Then it just reboot again. Already tried downloaing the file and flashing again. still the same problem.
Ya, I need manual install dual boot to access back to CWM/TWRP then just can install but the preinstall superuser root is not working at all.
Root working back by installing DooMLoRD Easy Rooting Toolkit (v15) - http://forum.xda-developers.com/showthread.php?t=2327472
Is there any reason why the dalvik cache are not wiped in this release process?
Is it simply a speed/optimisation thing, or will it cause issues if it happens?
Comming from PAC... Do i need to install other Stock rom before update or just use the instructions above? thanks.
Ok, so this is what ive done to get this to boot, on existing rom with recovery installed I flashed the .432.zip, obviously it bootlooped, but then flashed the ftf file which got the rom to boot. Then rooted and installed recovery as Andrewtst has linked to above.
Cheers.
Can't download the zip and ftf file, doesnt work, anyone can confirm that? can you reuploading or verify if is everything ok, thx for the work you done.
zanndoth said:
After flashing the stripped ftf, the phone doesn't go into recovery. It shows green light, Sony logo and nothing else. Then it just reboot again. Already tried downloaing the file and flashing again. still the same problem.
Click to expand...
Click to collapse
I got into the same problem, and cannot get out. Anyone has any advice?
please fix dead links
dopeee said:
nice! so does that mean we dont need to factory wipe before upgrading? I thought if we go across versions (4.1.2 > 4.2.2) you gotta wipe all your stuff first.
Click to expand...
Click to collapse
I found out with the leak by doomlord that it would be possible to update, no need to wipe, the official update works even better
lysp said:
Is there any reason why the dalvik cache are not wiped in this release process?
Is it simply a speed/optimisation thing, or will it cause issues if it happens?
Click to expand...
Click to collapse
It's meant as an update process and not wiping anything will make the ROM treat your phone as one that just got updated
Faelz said:
Comming from PAC... Do i need to install other Stock rom before update or just use the instructions above? thanks.
Click to expand...
Click to collapse
Yes, you need a stock ROM before you can flash this, I would not recommend updating your phone from PAC...
bungknees said:
Ok, so this is what ive done to get this to boot, on existing rom with recovery installed I flashed the .432.zip, obviously it bootlooped, but then flashed the ftf file which got the rom to boot. Then rooted and installed recovery as Andrewtst has linked to above.
Cheers.
Click to expand...
Click to collapse
&
zanndoth said:
After flashing the stripped ftf, the phone doesn't go into recovery. It shows green light, Sony logo and nothing else. Then it just reboot again. Already tried downloaing the file and flashing again. still the same problem.
Click to expand...
Click to collapse
&
chuazy said:
I got into the same problem, and cannot get out. Anyone has any advice?
Click to expand...
Click to collapse
I have modified the guide a bit as i should have done before i posted it...
Restore the kernel to anything other then the 4.2.2 one and then try to flash the update package, after flashing the update, re-flash the kernel.
I made one error in my guide: If someone is not using the correct version of XZDualRecovery (2.5 BETA) then you lose recovery when on the 4.2.2 kernel. The correct steps order to prevent this from happening are now in the OP.
please fix dead links
calvinleeabc said:
please fix dead links
Click to expand...
Click to collapse
+1
After flashing this Rom, my data is still at Data/media but not on the default path, what should i do in this case? should i move the data from data/media to new location manually?
calvinleeabc said:
please fix dead links
Click to expand...
Click to collapse
buciupetru said:
Can't download the zip and ftf file, doesnt work, anyone can confirm that? can you reuploading or verify if is everything ok, thx for the work you done.
Click to expand...
Click to collapse
Sorry guys, the server is under a heavy load at the moment... the webserver lost a few workers that ate up much of the cpu time. I've killed them all and restarted the webserver.
IF the problem was caused by that, it's solved now
lethalfriend said:
After flashing this Rom, my data is still at Data/media but not on the default path, what should i do in this case? should i move the data from data/media to new location manually?
Click to expand...
Click to collapse
No need: /data/media IS the 'new' location.
[NUT] said:
Sorry guys, the server is under a heavy load at the moment... the webserver lost a few workers that ate up much of the cpu time. I've killed them all and restarted the webserver.
IF the problem was caused by that, it's solved now
Click to expand...
Click to collapse
thanks:good:efficient
[NUT] said:
No need: /data/media IS the 'new' location.
Click to expand...
Click to collapse
But strangely, my phone isn't detecting the media from the above path, its just showing the pictures form newly created DCIM folder which is on a different location
lethalfriend said:
But strangely, my phone isn't detecting the media from the above path, its just showing the pictures form newly created DCIM folder which is on a different location
Click to expand...
Click to collapse
Ooh... i now see what you mean... you are correct. I'll patch up the flashable package to do it automatically.
For you, use a file explorer to move the contents (skipping the 0 folder) of /data/media to /data/media/0/. Sorry man, i missed that completely on my phone
server stilll unreachable.

[DISCONTINUED][WiFi & LTE] CM12 UNOFFICIAL Builds

Official nightlies are up for our device's:
Scorpion (LTE): http://download.cyanogenmod.org/?device=scorpion
Scorpion (Wifi): http://download.cyanogenmod.org/?device=scorpion_windy
TWRP Installation:
You can install TWRP through ADB or Terminal Emulator app. Thanks to ejdan for finding this!
ADB:
Before you begin:
- Download TWRP:
Code:
[URL="http://qzerno.troxit.nl/android/misc/TWRP/Sony%20Xperia%20Z3%20Tablet%20Compact/WiFi%20-%20SGP61x/twrp.img"]WiFi - SGP61x[/URL]
[URL="http://qzerno.troxit.nl/android/misc/TWRP/Sony%20Xperia%20Z3%20Tablet%20Compact/LTE%20-%20SGP62x//twrp.img"]LTE - SGP62x[/URL] (Credits to [B]der_bert[/B] for making this)
- set Root access to "Apps and ADB" in Developer options.
- set USB Debugging Mode to "ON" in Developer options.
Instructions:
1. Put twrp.img in the root of your Z3TC.
2. Open command prompt and go to the location where ADB.exe is.
3. Start an ADB shell:
Code:
adb shell
4. Gain root access:
Code:
su
5. Flash TWRP on FOTAKernel partition
Code:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
6. Reboot to recovery and you would see TWRP.
Terminal Emulator:
Before you begin:
- Download TWRP:
Code:
[URL="http://qzerno.troxit.nl/android/misc/TWRP/Sony%20Xperia%20Z3%20Tablet%20Compact/WiFi%20-%20SGP61x/twrp.img"]WiFi - SGP61x[/URL]
[URL="http://qzerno.troxit.nl/android/misc/TWRP/Sony%20Xperia%20Z3%20Tablet%20Compact/LTE%20-%20SGP62x//twrp.img"]LTE - SGP62x[/URL] (Credits to [B]der_bert[/B] for making this)
- set Root access to "Apps" in Developer options.
- set Local terminal to "ON" in Developer options. (If you don't have this option download then Terminal Emulator from the Play Store)
Instructions:
1. Put twrp.img in the root of your Z3TC.
2. Open the app Terminal or Terminal Emulator
3. Gain root access:
Code:
su
4. Flash TWRP on FOTAKernel partition
Code:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
5. Reboot to recovery and you would see TWRP.
Version Information:
Status: Discontinued
Created 2014-12-24
Last Updated 2015-03-25
Nice? any plans for LTE model?
Lte model is merged into cm sources so it should work
Will try to get up an simple kernel with intelliplug and so on
moritz31 said:
Lte model is merged into cm sources so it should work
Will try to get up an simple kernel with intelliplug and so on
Click to expand...
Click to collapse
I'd be interested and thanks!
chaostimmy said:
Nice? any plans for LTE model?
Click to expand...
Click to collapse
I'm building right now for LTE but I can't test this builds.
EDIT: LTE Build is up!
I have tried the Wifi version and it seems to work fine.
First I had a few restarts when locking the screen but it seems to have fixed itself now. Maybe because I disabled double tap to sleep/wake?
SD card is not mounted. Is there a way to fix it? The card is listed in /proc/partitions so it should be possible to fix with a proper fstab.
ejdan said:
SD card is not mounted. Is there a way to fix it? The card is listed in /proc/partitions so it should be possible to fix with a proper fstab.
Click to expand...
Click to collapse
I compared fstab.qcom in CM12 with the stock kernel and found a difference. The stock kernel has /devices/msm_sdcc.3/mmc_host for sdcard1 but CM12 has /devices/msm_sdcc.2/mmc_host
I changed '2' to '3' in the ramdisk and now SD card works. I have attached my modified kernel image. Unpack the zip file and flash cm12-sdcard1-fix.img using fastboot. This kernel is taken from cm-12-20141225-0800-UNOFFICIAL-scorpion_windy.zip
Qzerno said:
I'm building right now for LTE but I can't test this builds.
EDIT: LTE Build is up!
Click to expand...
Click to collapse
Great, thank you but I could not install it. In TWRP it says:
"This package is for device: SGP621, SGP641, SGP651, scorpio; this device is scorpion_windy."
It's not. I have the LTE version, SGP621 aka Scorpion.
Thanks for the builds! What has everyone flashed?
Home Launcher
Is Trebuchet included in these builds? Ive flashed todays (26th) build and am I'm just getting the options for Google Now and Nova Launcher.
---------- Post added at 08:09 PM ---------- Previous post was at 07:55 PM ----------
Any chance of making the kernel flashable?
BUG REPORT: double tap to wake is not working
ejdan said:
I compared fstab.qcom in CM12 with the stock kernel and found a difference. The stock kernel has /devices/msm_sdcc.3/mmc_host for sdcard1 but CM12 has /devices/msm_sdcc.2/mmc_host
I changed '2' to '3' in the ramdisk and now SD card works. I have attached my modified kernel image. Unpack the zip file and flash cm12-sdcard1-fix.img using fastboot. This kernel is taken from cm-12-20141225-0800-UNOFFICIAL-scorpion_windy.zip
Click to expand...
Click to collapse
Nice, thanks for fixing this. Do you maybe know which file in the source need to edit to get this works? then I can commit it to CyanogenMod.
Noe_S said:
Great, thank you but I could not install it. In TWRP it says:
"This package is for device: SGP621, SGP641, SGP651, scorpio; this device is scorpion_windy."
It's not. I have the LTE version, SGP621 aka Scorpion.
Click to expand...
Click to collapse
The recovery (TWRP) need to get a build separately for the scorpion (SGP621), then it should work.
I will search for a alternative installation method for the scorpion.
xan_asmodi said:
Is Trebuchet included in these builds? Ive flashed todays (26th) build and am I'm just getting the options for Google Now and Nova Launcher.
---------- Post added at 08:09 PM ---------- Previous post was at 07:55 PM ----------
Any chance of making the kernel flashable?
Click to expand...
Click to collapse
Yes, Trebuchet is included in these build, PA Gapps remove Trebuchet I can upload Trebuchet separately if you want.
I want to make the kernel flashable but that has not yet succeeded.
xan_asmodi said:
BUG REPORT: double tap to wake is not working
Click to expand...
Click to collapse
Thanks for the bug report. I also noticed this. I will add this in the OP.
Qzerno said:
Nice, thanks for fixing this. Do you maybe know which file in the source need to edit to get this works? then I can commit it to CyanogenMod.
Click to expand...
Click to collapse
I made a pull request on Github. Not sure if it is the correct way to do it
https://github.com/CyanogenMod/android_device_sony_scorpion_windy/pull/1
The file fstab.qcom is in rootdir. Because of the overlay (scorpion is based on shinano common) I had to add a new file. I have not built from source so I have not checked that it is working but manually updating the ramdisk did work.
ejdan said:
I made a pull request on Github. Not sure if it is the correct way to do it
https://github.com/CyanogenMod/android_device_sony_scorpion_windy/pull/1
The file fstab.qcom is in rootdir. Because of the overlay (scorpion is based on shinano common) I had to add a new file. I have not built from source so I have not checked that it is working but manually updating the ramdisk did work.
Click to expand...
Click to collapse
Ahh that's why I can't find that file. I have add the file local and building right now.
EDIT: Yeah I have 10 posts!
Qzerno said:
Ahh that's why I can't find that file. I have add the file local and building right now.
Click to expand...
Click to collapse
You may have to add the file to a makefile somewhere but lets see how it goes.
Qzerno said:
Thanks for the bug report. I also noticed this. I will add this in the OP.
Click to expand...
Click to collapse
Your welcome Should I post stuff as I find them or PM you so you can update the OP?
Could you post trebuchet separately? That'd be a great help. I think the PA guys need to incorporate Aroma installer, because I don't think Google Now Launcher is as good as Trebuchet.
Keep up the good work, hopefully we'll get the camera drivers soon. I'll look to see if the camera module is the same as the Z2 tab, if so we may not need to wait, just take them from the other repository.
Oh, one more thing...
Xposed doesn't install through a combination of crap cyanogenmod recovery and other stuff which I can't profess to understand
Edit: I now understand that this is because of the shift from Dalvik runtime to ART. Getting CM12 to run Xposed will either require reverting to Dalvik (is this possible?) or waiting for the Xposed devs to rewrite Xposed.
When updating to a new nightly, you can flash over the previous build. When you do you need to reflash the ram disk/kernel update.
BUG REPORT: Rebooting into recovery from power menu doesn't work. Requires manual intervention at 'Sony screen'/purple LED.
Intalled it and works fine as far as i can tell. Can´t move Apps to he sd card thogh (not enough space error) but that might be because of that known sd issue. I have general access to the sd though.
Cheers and thanks
Chris
MasterTRL said:
Intalled it and works fine as far as i can tell. Can´t move Apps to he sd card thogh (not enough space error) but that might be because of that known sd issue. I have general access to the sd though.
Cheers and thanks
Chris
Click to expand...
Click to collapse
What nightly are you using and did you flash the sd card fix?

[RECOVERY][OneUI-2.5][UNOFFICIAL] TWRP 3.4.0_10.0 For Samsung M51 - Final

*** WARNING ***​This version of TWRP is not compatible with Samsung android 11 (OneUI 3.1) release and it won't work if you have updated your phone to that android version
If you need more detailed steps of what do then wait for my complete guide
I'M NOT RESPONSIBLE IF YOU BRICKED YOUR DEVICE BECAUSE YOU ARE STILL NEWBIE
This is recovery won't get further updates or support​
Bugs
-Userdata decryption is not working so you should use an external SD or USB OTG for putting ZIPs and IMGs on it in order to flash them
How to Install
1. Unlock your bootloader
2. Boot to Odin mode
3. Check AP box and select TWRP tar file
3. Hit start
4. Have fun
Download
TWRP 3.4.0_10 - Stable 1
Sources
TWRP device tree: https://github.com/Lehkeda/android_device_samsung_m51_pbrp/tree/android-10_pbrp/
Kernel source: https://github.com/Lehkeda/android_kernel_samsung_m51/tree/ten
Change Log:
Stable 1 - 19th of December 2020
- Fix MTP
- Fix data partition mounting
- Fix system image flashing
Beta 2 - 16th of December 2020
- Fix ADB
- Fix mounting partitions (Except userdata)
- Fix navigation bar
- Fix CPU temperature
- Add reboot to download mode
Beta 1 - 12th of December 2020
- Initial Release
F.A.Q
How to mount system root to flash ZIPs and other stuff?
-Go to Advanced > terminal
-Type "mkdir /system_root"
-Type "mount /dev/block/mapper/system /system_root"
How to mount data partition?
-Go to Advanced > terminal
-Type "mount /dev/block/by-name/userdata /data"
Thanks man. I ll try to fix mtp , storage and scaling.
bekirakil said:
Thanks man. I ll try to fix mtp , storage and scaling.
Click to expand...
Click to collapse
Storage is partially fixed now.
For MTP, I compiled the kernel without Samsung MTP and it's Kinda working... adb can detect it now, but it still now showing on my computer
I need to add a proper init stuff for it
i was able to fix mount sdcard but i couldn't fix data im working on it
The encryption is really annoying
That was the best i could do. Data mounting is not working because of encryption. I couldn't find the key directory of the encryption. But you can flash from external sd.
Hello. Backup, Restore, running smoothly? Can I back up without problems? Thank you very much, thank you.
onurmemo77 said:
Hello. Backup, Restore, running smoothly? Can I back up without problems? Thank you very much, thank you.
Click to expand...
Click to collapse
It would be nice if you can test that for me as I'm not able to test right now!
LahKeda said:
It would be nice if you can test that for me as I'm not able to test right now!
Click to expand...
Click to collapse
Sure, I'll help.
But I couldn't download the new version of the twrp. Would you please upload to sites like media fire gdrive? Thank you very much, thank you.
onurmemo77 said:
Sure, I'll help.
But I couldn't download the new version of the twrp. Would you please upload to sites like media fire gdrive? Thank you very much, thank you.
Click to expand...
Click to collapse
Download it from a pc or activate desktop site option before downloading it or click on download it anyway link
Can you give me your email please? I need your help at my project. Maybe you can help. (Sorry for my bad english i'm german )
bekirakil said:
Can you give me your email please? I need your help at my project. Maybe you can help. (Sorry for my bad english i'm german )
Click to expand...
Click to collapse
DM me at telegram @lehkeda
The userdata decryption bug, does that mean it can't access the phone's storage in TWRP?
Camack said:
The userdata decryption bug, does that mean it can't access the phone's storage in TWRP?
Click to expand...
Click to collapse
Yes, but you can still access the data on USB device or external sdcard
@LahKeda After installing TWRP and flashing Magisk, do I need to press power and volume up button every time I restart the phone to have Magisk root or can I boot it normally without pressing anything?
swiftez said:
@LahKeda After installing TWRP and flashing Magisk, do I need to press power and volume up button every time I restart the phone to have Magisk root or can I boot it normally without pressing anything?
Click to expand...
Click to collapse
+1 would like to know too as the current root method patching boot.img with Magisk, you have to press power and volume up every time you restart the phone to keep root.
Thanks for the recovery. I have a question. Can I simply flash this via odin (no stock firmware download required) and it will work? I'm asking because in the other twrp thread there is a requirement of downloading and flashing stock firmware. The firmware for my region hasn't released yet.
Affangta said:
Thanks for the recovery. I have a question. Can I simply flash this via odin (no stock firmware download required) and it will work? I'm asking because in the other twrp thread there is a requirement of downloading and flashing stock firmware. The firmware for my region hasn't released yet.
Click to expand...
Click to collapse
Yes, no need to flash stock firmware at all.

Categories

Resources