Unroot my phone in recovery mode - General Questions and Answers

I've just updated a firmware from archos website (OTA972121_8916_V007049.zip)
for the archos 40 titanium.
I reboot in recovery mode, and after plugin the USB, I selected update from ADB. SO I ran
Code:
adb sideload OTA972121_8916_V007049.zip
in cmd, everything seemed to work.
I reboot and now my cell phone doesn't work anymore: i got a bootloop .
I must precise that I performed full adb backups just before. I tried to reset cache and data, didn't worked. My cellphone is already rooted.
I contacted Archos they asked me to return them the phone. Since I rooted the guarantee isn't available anymore, unless I "unroot" it. How to do it?
After searching a while I know there is a way but only for I9001. After extracting it I could open update-script and see pastebin.com/LqyqwwKq, so I edited it to make it work for my phone (the partition name I got it in the official archos firmware update)
Code:
ui_print("***********************************************");
show_progress(1.000000, 0);
ui_print(" Mounting SYSTEM...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");
set_progress(0.100000);
ui_print(" Deleting SYSTEM:xbin/su...");
delete("/system/xbin/su");
set_progress(0.200000);
ui_print(" Deleting SYSTEM:app/Superuser.apk...");
delete("/system/app/Superuser.apk");
set_progress(0.300000);
ui_print(" Deleting SYSTEM:app/XPosedInstaller.apk...");
delete("/system/app/XPosedInstaller.apk");
set_progress(0.400000);
ui_print(" Deleting SYSTEM:app/XPrivacy.apk...");
delete("/system/app/XPrivacy.apk");
set_progress(0.500000);
ui_print(" Deleting SYSTEM:app/GravityBox.apk...");
delete("/system/app/GravityBox.apk");
set_progress(0.600000);
ui_print(" Deleting SYSTEM:app/Busybox.apk...");
delete("/system/app/Busybox.apk");
set_progress(0.700000);
ui_print(" Unmounting SYSTEM...");
unmount("/system");
set_progress(0.900000);
ui_print("Install complete. Bye Bye!");
set_progress(1.000000);
But is this script correct? Particulary, I'm not sure for GravityBox, XposedInstaller, XPrivacy, Busybox and SU (since when I root it it was w/ Boromir from Framaroot).

Related

[CWM] BloatWare Remover V2

It took me a hour to make, a lots of restoring backup and a lot of Error 6 and stupid typo's inside the script xD (oops).
But I finnaly get a working script! :highfive:
Reminder: It is my first work here so be nice to me ​
The script is based of the one you can find here: click I have modified this completly.
This script simply removes bloatware apps.
The script:
Code:
ui_print(" Bloatware Remover Script ");
ui_print("+++++++++++++++++++++++++++");
ui_print(" prepared by ");
ui_print(" [email protected] ");
ui_print(" ");
ui_print("+++++++++++++++++++++++++++");
ui_print(" Modified by ");
ui_print(" [email protected] ");
ui_print("+++++++++++++++++++++++++++");
ui_print(" ");
ui_print("Start to remove the Bloatware");
show_progress(0.500000, 0);
ui_print(" ");
ui_print("Mounting system...");
run_program("/sbin/busybox", "mount", "/system");
ui_print(" ");
ui_print("Deleting bloatware applications...");
delete("/system/app/aldiko-standard-1.2.6.1-samsung-s1.apk");
delete("/system/app/BuddiesNow.apk");
delete("/system/app/DualClock.apk");
delete("/system/app/Dlna.apk");
delete("/system/app/Days.apk");
delete("/system/app/Exchange.apk");
delete("/system/app/FactoryTest.apk");
delete("/system/app/GenieWidget.apk");
delete("/system/app/InfoAlarm.apk");
delete("/system/app/KiesAir.apk");
delete("/system/app/lcdtest.apk");
delete("/system/app/MiniDiary.apk");
delete("/system/app/PressReader.apk");
delete("/system/app/SamsungAppsUNA3.apk");
delete("/system/app/signin.apk");
delete("/system/app/SocialHub.apk");
delete("/system/app/Stk.apk");
delete("/system/app/syncmldm.apk");
delete("/system/app/syncmlds.apk");
delete("/system/app/wssyncmlnps.apk");
delete("/system/app/MusicHub.apk");
delete("/system/app/Layar-samsung.apk");
delete("/system/app/SamsungappsUNA3.apk");
delete("/system/app/Telegraaf.apk");
delete("/system/app/thinkdroid.apk");
delete("/system/app/WriteandGo.apk");
delete("/sytem/app/YouTube.apk");
delete("/system/app/MMM_for_Smartphone.1.7.3.apk");
delete("/system/app/Talk.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/UnifiedInbox.apk");
ui_print("DONE");
ui_print(" ");
ui_print("Deleting bloatware odexfiles...");
delete("/system/app/BuddiesNow.odex");
delete("/system/app/DualClock.odex");
delete("/system/app/Dlna.odex");
delete("/system/app/Days.odex");
delete("/system/app/Exchange.odex");
delete("/system/app/FactoryTest.odex");
delete("/system/app/GenieWidget.odex");
delete("/system/app/InfoAlarm.apk");
delete("/system/app/KiesAir.odex");
delete("/system/app/lcdtest.odex");
delete("/system/app/MiniDiary.odex");
delete("/system/app/PressReader.odex");
delete("/system/app/SamsungApps.odex");
delete("/system/app/signin.odex");
delete("/system/app/SocialHub.odex");
delete("/system/app/Stk.odex");
delete("/system/app/syncmldm.odex");
delete("/system/app/syncmlds.odex");
delete("/system/app/wssyncmlnps.odex");
delete("/system/app/WriteandGo.odex");
delete("/system/app/YouTube.odex");
delete("/system/app/Talk.odex");
delete("/system/app/PlusOne.odex");
delete("/system/app/UnifiedInbox.odex");
ui_print("DONE");
ui_print("Unmounting system...");
unmount("/system");
ui_print(" ");
ui_print(" ");
ui_print("Removing complete! YAAY");
ui_print("++++++++++++++++++");
show_progress(0.900000, 0);
ui_print(" ");
ui_print(" ");
ui_print("Reboot your phone! And leave a Thanks!");
show_progress(1.000000, 0);
I am very proud of it mainly because its my first work here on XDA!!
Instructions:
- Download attachment
- Put on SD
- Reboot recovery
- Flash Bloatware remover V2
- Reboot phone
- Done
REMINDER: The touchwiz launcher of Samsung is bugged as hell so you can do three thing to prevent pointless holes in your launcher
- Perform factory reset
- Reboot phone go to settings > apps > Manage apps > all > Touchwizlauncher/TWlauncher> delete data
- Apply this mod/zip right after flashing stock rom (CWM is required so flash that after flashing stock)
You can easy mod this script by your self.
To save any app remove the lines:
Example: You want to save youtube remove these two lines:
Code:
delete("/system/app/YouTube.odex")
delete("/system/app/YouTube.apk")
If you want to add files:
Add these lines inside the script
Code:
delete("/system/app/nameofapp.odex")
delete("/system/app/nameofapp.apk")
REMINDER: The script is pretty sensitive so copy/paste the name perfect (it will either results in an error or not removed app)
Lists of apps that can be removed safely:
Link 1
Link 2
CREDITS:
XeLLaR* and Stepie22 for help inside OT thread
encik_racun for original script
Regards and leave a thanks
Edit: Thread needs to be moved by a mod (reported already)
Nice! I used it for my gaming backup and worked very good! Thanks!
Gesendet von meinem QW TB-1517 mit Tapatalk 4

[Q] [Updater Script]Will This Updater Script Work ?

Hi , I want to make a kitkat custom rom so I downloaded a META-INF.zip ... When I edit the Script it Shows The Code
Code:
ui_print("Android KitKat ROM Update 4.4");
ui_print("Starting Installation");
mount("yaffs2", "MTD", "system", "/system");
ui_print("Mounted /system");
ui_print("Copying /system...");
package_extract_dir("system", "/system");
ui_print("Copied /system");
ui_print("Done! Enjoy Your New Android Update");
I Want to know that if I use this script would it be able to install the system folder(Custom Rom) on a phone......
Any help is Welcome....

Recovery Flashable ZIP Error

Hi All,
I am trying to create a flash-able zip to remove some apps and I am getting this error
E: error executing updater binary in zip
Now here comes me question: is there a universal update-binary that I can use with CM11 / CM12 and is there a sample how to use it.
This is the updater-script I have written so far
Code:
ui_print("");
ui_print("Moutings Partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
ui_print(" ");
ui_print("Cleaning System Apps");
delete("/system/app/BasicDreams/");
ui_print("Adding Codename Lungo Sounds & Apex Launcher")
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
ui_print(" ");
ui_print("Unmounting partitions");
ui_print(" ");
ui_print("Finish");
I am using a Mac if that makes a difference..

Stuck at Sony bootloop after *.zip

Hey,
today I got my Z5 and tried to make myself a Deodexed rom. but somehow after I flash it my phone stucks at the Sony logo for a few seconds and then reboots.
I extracted the /system from the ext4 file, deodexed priv-app, app, framework, and put them into a .zip as well as the updater-script file. It seems to be installed properly, just yea, it boot loops.
Thats my "update-script"-File
show_progress(0.2, 1);
run_program("/sbin/busybox", "mount", "/");
run_program("/sbin/busybox", "mount", "/system");
ui_print(" Extracting files... ");
ui_print(" ");
package_extract_dir("system", "/system");
ui_print(" Setting Permissions... ");
set_perm_recursive(0, 0, 0755, 0644, "/system");
ui_print(" Done... ");
run_program("/sbin/busybox", "umount", "/system");
show_progress(1, 1);
ui_print(" Please Reboot! ");
Click to expand...
Click to collapse

custom recovery with file manager for Asus ME181C (K011)

Hi there guys! I'm looking for a custom recovery with a file manager (probably aroma as is most likely the only one), I've been looking for some hours but can't find anything.
The thing is I forgot the pattern and now I can't unlock my tablet... And I don't want to loose anything (no backup). So I've tried flashing an update.zip to delete the ".key" files inside /data/system but it's not working, I can only use fastboot as I don't have access to the adb shell (it's not enabled).
I'd really appreciate either a custom recovery with aroma (that I can flash using fastboot), or to know why when I flash the zip with the commands to delete these files it's not working?
Code:
ui_print("Mounting System");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Mounting Data");
run_program("/sbin/busybox", "mount", "/data");
ui_print("Deleting Pattern/ PIN Lock Keys");
delete("/data/system/*.key");
ui_print("Unmounting System");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Unmounting Data");
run_program("/sbin/busybox", "umount", "/data");
This is what I tried:
Code:
sudo fastboot flash data update.zip
Why is it not working?
Thanks!

Categories

Resources