TWRP 3.3.0+ for SGP621? - Xperia Z3 Tablet Compact Q&A, Help & Troubleshooti

Been looking all over the forums and run into some dead ends and old threads, so I though I'd straight up ask instead. Is there a TWRP 3.3.0 (or at least newer than 3.0.2) for the SGP621 (LTE variant) available somewhere? Or do I have to tweak the ROM zips somehow to make them flash using the official TWRP 3.0.2 for SGP611?
Specifically, I'm trying to install the LOS15.1 ROM, coming from Floko ROM. SO I must have had a working TWRP at one point, but I seem to have lost the files and LOS15.1 flashed over the one on the device...

Me too. The whole Internet has nothing available

It works with 3.0.2.0 - 3.3.0.0 does not exist for scorpion windy
Step1: Flash the TWRP in the boot partition, as reported in the quoted message (unlocked bootloader necessary).
Enter Fastbook mode by pressing VOL down and plugging in USB cable to your PC.
Code:
fastboot flash boot twrp-3.0.2-0-scorpion_windy.img
Step 2: Edit LineageOS zip file
Trying to flash the lineage15.1-20190922-unofficial-z3tc.zip indeed outputs ERROR 7 in TWRP, failing the installation. I solved this issue. (Edit the contents of /META-INF/com/google/android/updater-script to the text pasted below this instructions. Try to edit within the zip wothout expanding)
This solves the issue reported in the quoted message, which was solved mentioning the use of TWRP 3.3.0-0 which actually does not exist for this device.
Step 3: Final installation process
Reboot to recovery mode:
Code:
fastboot reboot recovery
Flash the edited .zip file of LineageOS
Flash GApps and SuperSU or Magisk (v18 worked in TWRP, not 22, but you can update later from Magisk Manager)
Step 4: Fix Recovery partition
After OS installation, you will not be able to reach the recovery again, as it was installed in the boot partition. Hence, reboot in fastboot mode, connect to the computer and run:
Code:
fastboot flash recovery twrp-3.0.2-0-scorpion_windy.img
updater-script. Replace existing content with this:
ui_print("Target: Sony/SGP611/SGP611:6.0.1/23.5.A.1.291/3706784398:user/release-keys");
ifelse(is_mounted("/system"), unmount("/system"));
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.200000, 10);
set_progress(1.000000);

lunaboy73 said:
It works with 3.0.2.0 - 3.3.0.0 does not exist for scorpion windy
Step1: Flash the TWRP in the boot partition, as reported in the quoted message (unlocked bootloader necessary).
Enter Fastbook mode by pressing VOL down and plugging in USB cable to your PC.
Code:
fastboot flash boot twrp-3.0.2-0-scorpion_windy.img
Step 2: Edit LineageOS zip file
Trying to flash the lineage15.1-20190922-unofficial-z3tc.zip indeed outputs ERROR 7 in TWRP, failing the installation. I solved this issue. (Edit the contents of /META-INF/com/google/android/updater-script to the text pasted below this instructions. Try to edit within the zip wothout expanding)
This solves the issue reported in the quoted message, which was solved mentioning the use of TWRP 3.3.0-0 which actually does not exist for this device.
Step 3: Final installation process
Reboot to recovery mode:
Code:
fastboot reboot recovery
Flash the edited .zip file of LineageOS
Flash GApps and SuperSU or Magisk (v18 worked in TWRP, not 22, but you can update later from Magisk Manager)
Step 4: Fix Recovery partition
After OS installation, you will not be able to reach the recovery again, as it was installed in the boot partition. Hence, reboot in fastboot mode, connect to the computer and run:
Code:
fastboot flash recovery twrp-3.0.2-0-scorpion_windy.img
updater-script. Replace existing content with this:
ui_print("Target: Sony/SGP611/SGP611:6.0.1/23.5.A.1.291/3706784398:user/release-keys");
ifelse(is_mounted("/system"), unmount("/system"));
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.200000, 10);
set_progress(1.000000);
Click to expand...
Click to collapse
Hello, sorry that my language is translated by Google. I have successfully installed LineageOS ROM, but I found that there is no Google component. Therefore, I plan to rewrite Google-related components (GApps) through TWRP. The current situation is that I can only open TWRP but cannot enter ROM. At the same time, I don't know why, the TWRP installation directory shows that my storage and SD card storage are 0MB. Therefore, my Z3TC is currently unavailable. Is there any solution? Because I am trying for the first time, it may be a very elementary question.
Regarding other issues, currently my Z3TC cannot enter the green light mode, nor can it be connected to the computer to drag and drop files and only displays an icon. Therefore, I have no way to write to the official ROM.

Related

[SOLVED] Help modifying (flashing) theme files.

Alright, I'm wanting to modify the theme of my rom (eclipse 2.0.2 to be exact). I'll explain my steps below, but the problem I'm having is when flashing the update.zip from my SD card during BSR, I get "E: There is a syntax error in the update" and nothing happens.
Here's my steps. I'm using APK manager 4.9, trying to modify Eclipse 2.0.2.
1. I've installed APK Manager and it's running fine.
2. I grab "framework-res.apk" from Eclipse /system/framework directory and place it inside APKManager's "place-apk-here-for-modding" dir.
3. I run APKManager and choose option 9 (Decompile APK)
4. Once decompiled, I edit the files inside APKManager's "project" dir.
5. I then run APKManager and choose option 11 ("Compile APK"). This places "unsignedframework-res.apk" in the "place-apk-here-for-modding" dir.
6. I take this new file, rename it to "framework-res.apk" and place it in a zip file, along with the META-INF. Here is my dir structure inside the .zip:
Code:
/META-INF/com/google/android/update-script
/system/framework/framework-res.apk
7. I place the following code inside "update-script"
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:framework
show_progress 0.1 10
8. I then sign the .zip using "Testsign" (http://forum.xda-developers.com/showthread.php?t=538020)
9. I now place the newly signed .zip onto my sd card.
10. I reboot my phone into BSR, clear cache/dalvik cache, and attempt to install update from zip.
11. After selecting my .zip and starting the update process, I get the syntax error.
Any ideas? What am I doing wrong?
-------------------------
UPDATE
-------------------------
This topic is solved!
To make this even simpler, download Framework Flasher and easily create flashable update.zip files! http://forum.xda-developers.com/showthread.php?p=21113455
The structure of the files must be like the following:
update.zip/system/framework/framework-res.apk
Store file here
update.zip/META-INF/com/google/android/updater-script
Code:
ui_print("Installing...");
show_progress(0.1, 0);
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
set_perm_recursive(0, 0, 0755, 0644, "/system/framework/framework-res.apk");
ui_print("Done!")
run_program("/sbin/busybox", "umount", "/system");
update.zip/META-INF/com/google/android/update-binary
You will need to pull this from a ROM or Theme .zip
Thanks!
Would this be better off posted in another Droid x2 forum? Or is this the correct forum? I'm still needing help with this. I just can't seem to get it to work for some reason. Thanks again!
Sent from my DROID X2 using XDA App
This is the correct forum. Hopefully one of our fantastic themers decide to poke their head in and answer but to me it sounds like a problem while creating your zip file.
Sent from my DROID X2 using xda premium
Not sure if this is your issue but I'm pretty sure there's an update to APK Manager. I'm also playing around with theming and I believe the version I have is 5.
Yeah I definitely think the problem is due to either the zip sign our the update-script file.
As for updating apk manager, I'll try it, but I read somewhere that apk manager has bugs and to stick with 4.9. I did however update apktool.jar to the latest version.
Sent from my DROID X2 using XDA App
Don't rename the file in step 6. Do option 12 to sighn the apk. That will create sighnedframework-res. Rename that file and put it in your zip.
I use version 5. Think the option is still 12 to sign the file.
EDIT: Sorry I see step 8 where you sign the apk. I missed that. Never used 4.9 myself.
Sent from my DROID X2 using Tapatalk
hedwig34 said:
Don't rename the file in step 6. Do option 12 to sighn the apk. That will create sighnedframework-res. Rename that file and put it in your zip.
I use version 5. Think the option is still 12 to sign the file.
EDIT: Sorry I see step 8 where you sign the apk. I missed that. Never used 4.9 myself.
Sent from my DROID X2 using Tapatalk
Click to expand...
Click to collapse
Thanks for that reply. I've since downloaded APKManager v5 and signed the APK like you said. I signed the .zip as well. However, I still ended up getting the syntax error.
After more research, I learned the differences between update-script and updater-script. So, I've converted to use the newer method (updater-script).
Inside my updater-script:
Code:
show_progress(1.000000, 0);
mount("yaffs2", "MTD", "system", "/system");
set_progress(0.200000);
package_extract_dir("system", "/system");
set_progress(0.400000);
set_perm(0,0,0644,"/system/framework/framework-res.apk");
set_progress(0.500000);
unmount("/system");
set_progress(0.900000);
ui_print("Update complete. FINALLY");
set_progress(1.000000);
I'm no longer getting the syntax error like before, but now, all I see is the following messages:
Code:
Finding update package...
Opening update package...
Installing update...
THEN IT JUST FREEZES. I end up having to remove my battery and reboot my phone.
Why is this so hard for me?
I do believe its your update script it does not look right at all to me but I'm not using same device will have a look later when I get up
sent from my dhd
leith51 said:
I do believe its your update script it does not look right at all to me but I'm not using same device will have a look later when I get up
sent from my dhd
Click to expand...
Click to collapse
Well, after even more research, I've learned some more. I've ditched the UPDATE-SCRIPT idea since updater-script is the preferred method of flashing.
In order to run updater-script, you need the "update-binary" files as well. As far as I know, all this file does is interpret the updater-script so it can be read. So I grabbed update-binary from a theme .zip that was posted on these forums and am using that.
Along with that, here is my modified updater-script
Code:
show_progress(0.200000, 10);
ui_print("Installing...");
mount("MTD", "system", "/system");
show_progress(0.500000, 40);
package_extract_dir("system", "/system");
show_progress(0.100000, 10);
ui_print("Done!");
unmount("/system");
This code seems to be working, but not 100% yet. I was getting status 6 errors until I converted the newline characters from windows to unix. Now that I've done that, I'm getting Status 7 errors.
So that's where I stand now. With a Status 7 error. Below is my updated .zip structure just for clarification:
Code:
/META-INF/com/google/android/(updater-script and update-binary)
/system/framework/(framework-res.apk)
I'm getting close, but not quite there.
i also am trying to figure this out, i hope you figure it out man
try this script
ui_print("Installing...");
show_progress(0.1, 0);
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
set_perm_recursive(0, 0, 0755, 0644, "/system/framework/framework-res.apk");
ui_print("Done!")
run_program("/sbin/busybox", "umount", "/system");
if this does not work let me know also like i said i dont have the device so are you you sure its mtd and not emmc ?
leith51 said:
try this script
ui_print("Installing...");
show_progress(0.1, 0);
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
set_perm_recursive(0, 0, 0755, 0644, "/system/framework/framework-res.apk");
ui_print("Done!")
run_program("/sbin/busybox", "umount", "/system");
if this does not work let me know also like i said i dont have the device so are you you sure its mtd and not emmc ?
Click to expand...
Click to collapse
Wow thanks! The busybox method worked flawlessly, no problem.
I'll update my original post in this topic to help whoever is needing help with this. I also created a script that will automate this entire process for you! Check the original post in this topic for all the details.
Thanks to everyone that helped!
Hi community,
Sorry for bumping this old thread but I'm having some issues when trying this stuff, I created the update.zip file but can't flash it.
The error I get with flashboot is
$ fastboot update update.zip
ERROR: could not clear input pipe; result e000404f, ignoring...
ERROR: could not clear output pipe; result e000404f, ignoring....
archive does not contain 'android-info.txt'
error: update package 'update.zip' has no android-info.txt
And
$ adb sideload upload.zip
shows error installation aborted on the device
This is the only thread that I've seen when users are reporting that the operation was successfully accomplished, although my device is different that's why I'm posting here.
Any help or comment is appreciated,
King regards.

Need help in setting right permissions using CWM

When I tried to create a CWM script for flashing certain mods on systemui.apk, email.apk and twwallpaperchooser.apk, after flashing permission of these apks are rw-rw-rw instead of rw-r--r--. I am not sure why this is happening and I have tried different scripts as well.
Code:
ui_print("");
ui_print("--------------");
ui_print(".XXXXXXXXXX.");
ui_print("--------------");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
delete("/system/app/com.google.android.email.apk");
package_extract_dir("system", "/system");
set_perm(0, 0, 0644, "/system/app/com.android.email.apk");
set_perm(0, 0, 0644, "/system/app/com.android.systemui.apk");
set_perm(0, 0, 0644, "/system/app/com.sec.android.app.twwallpaperchooser.apk");
show_progress(0.100000, 0);
ui_print(".Sucessfully fixed all bugs.");
ui_print("----------------------------");
unmount("/system");
Please help me to set right permissions
have you tried permission
have you tried cwm then its either in advanced or on the first page theres an option that says fix permissions, depending on how many apps on phone could take 2-50+ secondsm. im no expert but whenever i change permissions and get them wrong this always reverts them back to default for me. or you could try using solid explorer, or root explorer to manually set permission with no scripting required.
good luck otherwise hope i helped

[Q] Restoring stock ICS fonts via update.zip in Android System Recovery <3e>

Hi you all!
I'v recenty got chineese tablet (one of those without brand/name) with ICS 4.0.4 on board. I'v found it have root permissions so i'v decided to change fonts. I was aware of knowledge that ICS need to have fonts with precise classifications and permissions - so i put my tablet into bootloop... I'v extracted original-stock ICS fonts from Google Nexus disc image (with sgs2toext4) and trying to make update.zip (with update zip packager - my Android System Recovery <3e> can open and operate on zip) to restore them.
I'v got write this in my updater-script:
Code:
ui_print(" ");
ui_print("Mounting...");
mount("yaffs2", "MTD", "system", "/system" );
ui_print("Extracting fonts");
package_extract_dir("system", "/system");
ui_print("Repairing Permissions");
set_perm_recursive(0, 0, 0755, 0644, "system/fonts");
unmount("/system");
ui_print("Finish !");
I believe it just prints text out becouse i'm still in bootloop state - there is more than 6MB in 31 font files and script prints all messages almost instantly.
I'v try to use syntax:
Code:
ifelse(mount("yaffs2", "MTD", "system", "/system") == "system", ui_print("Successfully Mounted!"), ui_print("Mount Failed!");
but after try to apply patch recovery utility prints error message
Code:
E:Error in /tmp/sideload/package.zip (Status 6)
and abort.
In attachment is my update.zip for <3e> with ICS stock fonts.
Do You know how to change the script so I be able to restore stock fonts? - update.zip is the only option, I don't have ADB.

[solved] personal update.zip status 7

i tried to create an update.zip to install my apps when i flash a rom.
first i got a status 2 error -- solved it. (dont remember how)
then got a status 6 error -- solved it by changing EOL to unix based
now i am getting status 7 error
this is my updater-script
show_progress(0.1, 0);
ui_print("DATA FLASH");
mount("MTD", "userdata", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(0, 0, 0755, 0644, "data/app");
show_progress(0.1, 10);
unmount("/userdata");
is it because the commands are wrong? (i copied them directly)
if so how to modify
Phone- Xperia mini pro sk17i
EDIT: tying other mount commands now, will update - run_program("/sbin/busybox", "mount", "/data");
IT WORKED:victory:
sorry for creating a dud-thread

[Tutorial]MAKE YOUR OWN CUSTOM ROM FOR LG G2M :)

Hi all! I want to show you how to create custom rom based on stock lg firmware and stock rom ready to install by recovery
1. Making stock rom ready to install by recovery
1. Download latest LG KK Firmware KDZ: IS HERE
PASSWORD: firmware-lg-d620r-poland-62010
then this programme:
this: Click!
2. Run KDZ Extractor and open kdz (downloaded file) in it.
3. Click extract KDZ
4. Open extracted DZ file, wait and then click on merge system bin (you must check every file in programme)
5. Now you have some more files, look on:
-system.img
and
-boot_327680.bin (rename it to boot.img)
-cust_704512.bin (rename it to cust.bin)
6. Download attach file: attach file is here
7. Make some folder on your disc and put there META-INF folder (which you downloaded), system.img, boot.img and cust.bin.
8. Make zip package by 7zip.
9. Now you have ready zip package, you can install it by moded-Recovery.
2. Making custom rom based on stock
1. Make all points from first tutorial to 5*
2. Download here
3. Open system file in downloaded programme and save what you want.
4. Download "META-INF for custom":
Here
Example:
Code:
[B]Your text here[/B]
ui_print("*****************************");
ui_print("* Your mod *");
ui_print("*****************************");
ui_print("* for LG G2M *");
ui_print("*****************************");
ui_print("First part of installation...");
run_program("/sbin/mount", "/system");
run_program("/sbin/busybox","mount","/data");
[B]Delete system folder, in example you see "media" folder[/B]
delete_recursive("/system/media");
package_extract_dir("system", "/system");
mount("ext2", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_dir("system", "/system");
symlink("../xbin/su", "/system/bin/su");
symlink("../xbin/busybox", "/system/bin/busybox");
set_metadata("/system/xbin/su", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:su_exec:s0");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
run_program("/sbin/busybox", "mount", "/data");
ui_print("Second part of installation...");
[B]About deleting apps, for example Books apk and odex file[/B]
delete("/system/app/Books.apk");
delete("/system/app/Books.odex");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/system/priv-app");
ui_print("Please wait... ");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
unmount("/system");
ui_print("Clearing cache");
delete_recursive("/data/dalvik-cache");
ui_print("Now UnMounting partitions");
run_program("/sbin/umount", "/system");
run_program("/sbin/umount", "/data");
show_progress(0.1, 0);
[B]Last words for ending intsallation[/B]
ui_print("*******************************");
ui_print("* Thank you! *");
ui_print("*******************************");
show_progress(0.1, 10);
If you want add kernel installation put boot.img to your folder and add to your script this command:
Code:
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.200000, 10);
*** NEW UPDATER-SCRIPT, WITH FORMATING SYSTEM AND CLEAN INSTALLATION:
here!
FOR EDITING UPDATER SCRIPT ETC USE ALWAYS NOTEPAD++ (NotepadPP)
HOMEPAGE of N++
Thats all
great work
:good:
WYPIERDAALAAC said:
Hi all! I want to show you how to create custom rom based on stock lg firmware and stock rom ready to install by recovery
1. Making stock rom ready to install by recovery
1. Download latest LG KK Firmware KDZ: CLICK
then this programme:
this: Click!
2. Run KDZ Extractor and open kdz (downloaded file) in it.
3. Click extract KDZ
4. Open extracted DZ file, wait and then click on merge system bin (you must check every file in programme)
5. Now you have some more files, look on:
-system.img
and
-boot_327680.bin (rename it to boot.img)
-cust_704512.bin (rename it to cust.bin)
6. Download attach file: attach file is here
7. Make some folder on your disc and put there META-INF folder (which you downloaded), system.img, boot.img and cust.bin.
8. Make zip package by 7zip.
9. Now you have ready zip package, you can install it by moded-Recovery.
2. Making custom rom based on stock
1. Make all points from first tutorial to 5*
2. Download here
3. Open system file in downloaded programme and save what you want.
4. Download "META-INF for custom":
Here
Example:
Code:
[B]Your text here[/B]
ui_print("*****************************");
ui_print("* Your mod *");
ui_print("*****************************");
ui_print("* for LG G2M *");
ui_print("*****************************");
ui_print("First part of installation...");
run_program("/sbin/mount", "/system");
run_program("/sbin/busybox","mount","/data");
[B]Delete system folder, in example you see "media" folder[/B]
delete_recursive("/system/media");
package_extract_dir("system", "/system");
mount("ext2", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_dir("system", "/system");
symlink("../xbin/su", "/system/bin/su");
symlink("../xbin/busybox", "/system/bin/busybox");
set_metadata("/system/xbin/su", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:su_exec:s0");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
run_program("/sbin/busybox", "mount", "/data");
ui_print("Second part of installation...");
[B]About deleting apps, for example Books apk and odex file[/B]
delete("/system/app/Books.apk");
delete("/system/app/Books.odex");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/system/priv-app");
ui_print("Please wait... ");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
unmount("/system");
ui_print("Clearing cache");
delete_recursive("/data/dalvik-cache");
ui_print("Now UnMounting partitions");
run_program("/sbin/umount", "/system");
run_program("/sbin/umount", "/data");
show_progress(0.1, 0);
[B]Last words for ending intsallation[/B]
ui_print("*******************************");
ui_print("* Thank you! *");
ui_print("*******************************");
show_progress(0.1, 10);
If you want add kernel installation put boot.img to your folder and add to your script this command:
Code:
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.200000, 10);
Thats all
Click to expand...
Click to collapse
Very good tutorial !
I made a flashable v10j ! I can upload it if anyone is interested.
Tse™ said:
Very good tutorial !
I made a flashable v10j ! I can upload it if anyone is interested.
Click to expand...
Click to collapse
why not maybe it will help someone back from cm to stock
question: would it be possible to copy the part of the stock of sw Gps CM12? I'm fine with CM12 but GPS signal ... dancer stock with stable signal
WYPIERDAALAAC said:
why not maybe it will help someone back from cm to stock
Click to expand...
Click to collapse
Ok! I am uploading!
Just tell if this is for d620 or d61*
Sent from my D620fr [SlimKat]
D620R V10J unbranded. Here is the link until i get 10 posts and i am able to open a thread.
https://www.dropbox.com/s/xv3ftorno1208en/V10j_D620R.zip?dl=0
Tse™ said:
D620R V10J unbranded. Here is the link until i get 10 posts and i am able to open a thread.
https://www.dropbox.com/s/xv3ftorno1208en/V10j_D620R.zip?dl=0
Click to expand...
Click to collapse
Just add the link in this thread :good:
Sent from my D620fr [SlimKat]
Already done! I think I'll start playing a bit with the ROM .
baggino said:
question: would it be possible to copy the part of the stock of sw Gps CM12? I'm fine with CM12 but GPS signal ... dancer stock with stable signal
Click to expand...
Click to collapse
You can use gps file from stock to cm12, below link:
WYPIERDAALAAC said:
You can use gps file from stock to cm12, below link:
Click to expand...
Click to collapse
Now I try it immediately and tell you how it works. If it works well, as you might do for Rom Resurrection Remix
stability is improved but still less the stock. I'd like to try the Resurrection_remix - but I do not know how to copy ...
baggino said:
stability is improved but still less the stock. I'd like to try the Resurrection_remix - but I do not know how to copy ...
Click to expand...
Click to collapse
system\etc\gps.conf it's here
copy it from Resurrection_remix to your ROM and set permission.
PS.: THREAD UPDATED
Just want to know if this method is compatible with D722....and if yes is the meta inf too?????
Thank so. ..
Is there a way to root ROM before flash?
WYPIERDAALAAC said:
PS.: THREAD UPDATED
Click to expand...
Click to collapse
How to add root directly in the created zip ? ???
rayman95 said:
How to add root directly in the created zip ? ???
Click to expand...
Click to collapse
you must write commands in script for that, tell me if it's good:
link for supersu https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip and put to tmp/supersu folder
Code:
set_progress(0.700000);
ui_print("Rooting...");
package_extract_dir("PACKAGENAME/supersu", "/tmp/supersu");
run_program("/sbin/busybox", "unzip", "/tmp/supersu/UPDATE-SuperSU-v2.46.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");
run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/UPDATE-SuperSU-v2.46.zip");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_progress(0.800000);
Tse™ said:
Very good tutorial !
I made a flashable v10j ! I can upload it if anyone is interested.
Click to expand...
Click to collapse
Thanks!
i cant find the system.img.
these files are D62020a00.kdz,

Categories

Resources