Delete apps from stock ROM - One (M8) Q&A, Help & Troubleshooting

Hi folks,
I've rooted the stock lollipop ROM on my M8, how do I delete the stock apps? They seem to come back after rebooting.

That's because system write protection enabled.
You have these options :
1. install a custom kernel like elementalx which has system write protection disabled.
or.
2. install TWRP recovery .. in recovery mount system then go advance - file manager - browse to which file that you want to delete and delete it.

... Or make your phone S-OFF and get rid of all of them.

ckpv5 said:
That's because system write protection enabled.
You have these options :
1. install a custom kernel like elementalx which has system write protection disabled.
or.
2. install TWRP recovery .. in recovery mount system then go advance - file manager - browse to which file that you want to delete and delete it.
Click to expand...
Click to collapse
Thanks! I'll try that out and report back
CM17X said:
... Or make your phone S-OFF and get rid of all of them.
Click to expand...
Click to collapse
I would, but Sunshine is an expense I can do without at the moment. Unless there's another way?

mrme01 said:
Thanks! I'll try that out and report back
I would, but Sunshine is an expense I can do without at the moment. Unless there's another way?
Click to expand...
Click to collapse
No yet, but It worth the price.

ckpv5 said:
That's because system write protection enabled.
You have these options :
1. install a custom kernel like elementalx which has system write protection disabled.
or.
2. install TWRP recovery .. in recovery mount system then go advance - file manager - browse to which file that you want to delete and delete it.
Click to expand...
Click to collapse
That worked! Thank you
Far too many options to play with, I left most of them alone

Related

Motorola Defy Mini XT320 all-in-one script

Motorola Defy Mini XT320/XT321 all-in-one script/utility
I've ported mattlgroff's DROIDRAZR all-in-one Script to the Motorola Defy Mini XT320/XT321. This will make life easier and it will do it for you.
Make sure you have fastboot mode if not please refer to this guide for fastboot but there is a fastboot checker in option 6 but it won't install fastboot for you.
Link: http://forum.xda-developers.com/showpost.php?p=36199694&postcount=3
Options available:
1. Root your Motorola Defy Mini XT320/XT321
2. Install 2nd-init/TWRP Recovery
3. Overclock installation
4. Unroot Device
5. Wipe Data/Factory Reset
6. Fastboot checker.
7. Exit Utility
Instructions:
NEW PACKAGE & instructions
1. Download the EXE file at http://www.mediafire.com/?c81fnrtrki65e9i
2. Double click on the exe.
3. Choose an option by entering a number from 1 to 7
OLD PACKAGE & instructions
1. Download package at [REMOVED OLD LINK]
Please Download the fixed package at http://www.mediafire.com/?krxtemrthsz5ier
EXE Version: http://www.mediafire.com/?0kwmx4whjj1ua8c
2. Extract the zip file making sure all the files are in the same place.
3. Click on the batch file named 'DefyMiniUtility.bat'
4. Choose an option by entering a number from 1 to 7.
Credits to:
- Bernd.Defy for overclock module and Guitwo2 for init.d script
- Guitwo2 and jkkk88 for TWRP and aweosomeabhjeet for 2nd-init
- DoOMLoRD for unroot script
- Mattlgroff for the original DROID RAZR all-in-one script
If anyone knows if I missed a member for the credits, please PM me. Thanks
Make sure press thanks if it works
Guys please don't repost it as your own work, otherwise I'll report it and you will get banned from XDA.
NOTE: If you have previously used the old EXE to install TWRP then please remove the old folders by using these instructions using cmd before using updated exe to install TWRP;
1.
Code:
adb shell
2.
Code:
su
3.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock11 /system
4.
Code:
rm -R /system/bootmenu
Then use the updated exe to install TWRP.
NOTE: If you don't like TWRP, you can download Guitwo2's Permanent CWM at http://forum.xda-developers.com/attachment.php?attachmentid=1875373&d=1365682716
Temporary CWM Recovery: http://forum.xda-developers.com/attachment.php?attachmentid=1875299&d=1365680458
2nd-init does NOT work in CWM Recovery
Thanks to @Guitwo2 for CWM Recovery.
Instructions on how to install Permanent CWM Recovery:
1. Make sure stericson-busybox is installed
2. Put XT320_bootmenuV2.zip in the root of your sdcard
3. Reboot into fastboot mode by typing this command in cmd:
Code:
adb reboot bootloader
4. Then type this command in cmd:
Code:
fastboot boot recovery.img
5. Then use volume keys to navigate and power button to select option. Select install zip from sdcard, then select XT320_bootmenuV2.zip and select yes to install the zip file
6. Then reboot device by selecting reboot device now.
CWM 6 has a bug where it asks you to 'disable recovery flash' when you select reboot system now make sure you select NO or you will soft brick your device.
Changelog:
-v2 No need to mount /sdcard in CWM Recovery. Fixed TWRP installation issues.
-v2.0.1 Released an .exe version of script, to simplify installation
-v2.0.1.1 Fixed bootmenu.zip
This can install a custom recovery?
This can install a custom recovery?
Thank you
The root process worked for me. Now i can install link2sd and set up a swap partition.
I cant install TWRP and i think the reason is that the bat was having some problem to send that bootmenu.tar file to my sd card. I tried to send that file myself before starting the entire process and it didnt worked.
I took a picture of the error i'm getting . Thank you again, i was really mad about that low internal space xD
same problem... someone can fix it? please
fca.sjc said:
The root process worked for me. Now i can install link2sd and set up a swap partition.
I cant install TWRP and i think the reason is that the bat was having some problem to send that bootmenu.tar file to my sd card. I tried to send that file myself before starting the entire process and it didnt worked.
I took a picture of the error i'm getting . Thank you again, i was really mad about that low internal space xD
Click to expand...
Click to collapse
sfoot13 said:
same problem... someone can fix it? please
Click to expand...
Click to collapse
Ok, I've made a fixed script here. The error was that the sdcard is a directory so it will refuse to push files into it.
Here's the updated script below. Just put the .bat file in the same place as the other files.
Thanks
rootdefyxt320 said:
Ok, I've made a fixed script here. The error was that the sdcard is a directory so it will refuse to push files into it.
Here's the updated script below. Just put the .bat file in the same place as the other files.
Click to expand...
Click to collapse
Ty for the quickly answer.
Btw, my gsm network wasnt working after the root process. If the same thing happens to someone else, just do a master reset and it will work again.
pull command is working now
That sdcard copy part is working now. The TWRP process is still not working for me. I tried to do myself the commands using the adb interface and when i use the command to intall the tar, i got the message 'tar: no space left on device" . I hope you can help me with that and i'm sorry about all this questions xD .
fca.sjc said:
That sdcard copy part is working now. The TWRP process is still not working for me. I tried to do myself the commands using the adb interface and when i use the command to intall the tar, i got the message 'tar: no space left on device" . I hope you can help me with that and i'm sorry about all this questions xD .
Click to expand...
Click to collapse
You must have more than 5MB free in your /system partition. Please move your apps to the /flex partition or delete the useless apps in /system.
rootdefyxt320 said:
You must have more than 5MB free in your /system partition. Please move your apps to the /flex partition or delete the useless apps in /system.
Click to expand...
Click to collapse
Thank u so much to everyone who make it possible xD
(can i do now a overclock to 720 without problems?)
sfoot13 said:
Thank u so much to everyone who make it possible xD
(can i do now a overclock to 720 without problems?)
Click to expand...
Click to collapse
Yes but it sometimes gets unstable so you should overclock to 700MHz which is the highest I got without reboots. pll2_l_val=73 gives you 700MHz.
rootdefyxt320 said:
Yes but it sometimes gets unstable so you should overclock to 700MHz which is the highest I got without reboots. pll2_l_val=73 gives you 700MHz.
Click to expand...
Click to collapse
Thank u so much and TWRP doesn't work xD i have 8.5 mb free on system but it can't create the folders on bootmenu
sfoot13 said:
Thank u so much and TWRP doesn't work xD i have 8.5 mb free on system but it can't create the folders on bootmenu
Click to expand...
Click to collapse
I've released an .exe version of my script. This should work now .
Link: http://www.mediafire.com/?0kwmx4whjj1ua8c
Thank u bro and sorry but i can't overclock it to 700 =/
i installed TWRP but it doesn't work and when i turn on my mobile it freezes on home screen :/ is a mess.... it's possible install it via recovery (temportal CWM)?
OFF TOPIC.
Congrats on your well deserved mention on the portal.
sfoot13 said:
i installed TWRP but it doesn't work and when i turn on my mobile it freezes on home screen :/ is a mess.... it's possible install it via recovery (temportal CWM)?
Click to expand...
Click to collapse
It worked for others but in your situation the only thing I can advise is to do a data wipe and relfash SBF file. Just go to Guitwo2's there to install permanent CWM.
Link: http://forum.xda-developers.com/showthread.php?t=2229233
rootdefyxt320 said:
It worked for others but in your situation the only thing I can advise is to do a data wipe and relfash SBF file. Just go to Guitwo2's there to install permanent CWM.
Link: http://forum.xda-developers.com/showthread.php?t=2229233
Click to expand...
Click to collapse
:good: Working! Thank u so much, now i have CWM working on my defy mini, i'm really thankful, thanks again
Hi, it's me again... i have a new trouble
i installed the xt320_bootmenu.zip (from this thread http://forum.xda-developers.com/showthread.php?t=2229233) the first time that i rebooted works fine, but the on the second reboot it doesn't work, then i went to data to check if test.log was there and here's the problem... no test.log...
init.d was working fine until that i did it, i guess that my phone have troubles making work init.d
some solution for this annoying guy? thanks in advance!
sfoot13 said:
Hi, it's me again... i have a new trouble
i installed the xt320_bootmenu.zip (from this thread http://forum.xda-developers.com/showthread.php?t=2229233) the first time that i rebooted works fine, but the on the second reboot it doesn't work, then i went to data to check if test.log was there and here's the problem... no test.log...
init.d was working fine until that i did it, i guess that my phone have troubles making work init.d
some solution for this annoying guy? thanks in advance!
Click to expand...
Click to collapse
Looks like 97bootmenu deleted itself, please reinstall the CWM zip again and it should work.

[Q] Unlocking BL - need clarification

Hi,
I am going to unlock my Arc S BL. I read many here, but need some clarifications:
My goal is to have XUHD 5.0.1 with suggested kernel (Lupus). Right now I have XUHD 3 (with mod), phone is rooted (I did it somehow:laugh. It got slow and buggy after a while, so I need to refresh it totally.
THE PLAN:
1. Unlock BL using SE Bootloader Unlocking v1.6 by quangnhut123 (seems easier for a newbie than "sony" way, not mentioning the test point one).
2. Using the same tool flash LuPuS Kernel Stock.
Now to be confirmed: All I have to do is to enter IMEI and select file LuPuS_anzu_Stock-iCsv16-full.img. Done?
What would I get after that? Shell I turn on the phone as usual (and it is supposed to run as normal, maybe fresh)?
Should I remove my SD card while doing steps 1-2? Is the contentt of the SD card erased after the process?
Gaps - totally new to me - should I do something with them?
3. Flash the ROM. Well I did it earlies and it worked, so I believe when I will get confirmatoion of above I might succeed.
To be confirmed: to "make phone as new" - what pratition should I wipe? I am going to backup everything possible earlier.
I would like to add my own ringtone. How to do that? (I was told it can be done after installing ROM - via CWM - need suggestions...)
Do I miss something? Do I have to check anything before I start (dont want to finish with not working device...)
Any help would be VERY appreciated.
big thanks in advance.
tman_pl said:
1. Unlock BL using SE Bootloader Unlocking v1.6 by quangnhut123 (seems easier for a newbie than "sony" way, not mentioning the test point one).
Click to expand...
Click to collapse
That is the "sony" way but all the process is done with this app. You lose same features as with the "sony" way.
tman_pl said:
Now to be confirmed: All I have to do is to enter IMEI and select file LuPuS_anzu_Stock-iCsv16-full.img. Done?
Click to expand...
Click to collapse
Put phone into fastboot mode, enter IMEI, then get unlock code, then unlock BL, then select the file and flash the kernel.
tman_pl said:
What would I get after that? Shell I turn on the phone as usual (and it is supposed to run as normal, maybe fresh)?
Click to expand...
Click to collapse
You get unlocked bootloader, custom kernel installed. When you have installed the custom kernel, enter Recovery (press Volume Down button many times during kernel boot logo), wipe the necessary partitions (depends on the ROM) and install new ROM.
tman_pl said:
Should I remove my SD card while doing steps 1-2? Is the contentt of the SD card erased after the process?
Click to expand...
Click to collapse
Not necessary. No SD Data is touched during this process. Unlocking bootloader though does remove all data from your phone inside (not SD), so make backups if necessary.
tman_pl said:
Gaps - totally new to me - should I do something with them?
Click to expand...
Click to collapse
Gapps stand for Google Apps. They are only required, if you install non-stock based ROM (CyanogenMod aka CM or any other).
tman_pl said:
3. Flash the ROM. Well I did it earlies and it worked, so I believe when I will get confirmatoion of above I might succeed.
To be confirmed: to "make phone as new" - what pratition should I wipe? I am going to backup everything possible earlier.
Click to expand...
Click to collapse
For most ROMs, you need to wipe /data, /cache and /system. Non-stock based may require you to not wipe /system.
tman_pl said:
I would like to add my own ringtone. How to do that? (I was told it can be done after installing ROM - via CWM - need suggestions...)
Click to expand...
Click to collapse
If it is on your SD card, your phone can find it. Alternatively, you can put it to /system/media/audio/ringtones folder with any file explorer, that can edit system directory (I personally use ES File Explorer).
tman_pl said:
Do I miss something? Do I have to check anything before I start (dont want to finish with not working device...)[/B]
Click to expand...
Click to collapse
Seems fine for now, nothing that I can think of.
THANK YOU VERY MUCH, your help is very appreciated. All issues adressed perfectly:highfive:!
I am downloading the tools and backing up data (want to format as much as possible)..
Someguyfromhell said:
If it is on your SD card, your phone can find it. Alternatively, you can put it to /system/media/audio/ringtones folder with any file explorer, that can edit system directory (I personally use ES File Explorer).
Click to expand...
Click to collapse
The reason to put it to device memory instead of card one it that when phone is connected to PC in mass storage mode it switches the default ringtone (phone does not have acces to the card)
Well, I did try copy to devuce filesystem, but I get Read Only file system warning, no files copied. I used ES with root permission. I was told it can be done by flashing, but dont know how to do that..
BIG, BIG thanks for your help
tman_pl said:
The reason to put it to device memory instead of card one it that when phone is connected to PC in mass storage mode it switches the default ringtone (phone does not have acces to the card)
Well, I did try copy to devuce filesystem, but I get Read Only file system warning, no files copied. I used ES with root permission. I was told it can be done by flashing, but dont know how to do that..
BIG, BIG thanks for your help
Click to expand...
Click to collapse
Open ES File Explorer, press the Menu button, make sure Root Explorer is turned on, then click on Root Explorer, Mount R/W, make sure /system is set to RW.
SUPERB, thanks again. Working like a charm.
I backed up all I needed. I started SE Bootloader Unlockin Tool, but after I enter my IMEI and hit Get Unlock Code the text-area where the code should appear chnaged color to light-gray only, and nothing more.
I am running win764 if matters...
Should I proceed as told? (hit unlock BL even if Unlock code is not displayed?
I sould I get the code via http://unlockbootloader.sonymobile.com/, paste it and than proceed?
tman_pl said:
SUPERB, thanks again. Working like a charm.
I backed up all I needed. I started SE Bootloader Unlockin Tool, but after I enter my IMEI and hit Get Unlock Code the text-area where the code should appear chnaged color to light-gray only, and nothing more.
I am running win764 if matters...
Should I proceed as told? (hit unlock BL even if Unlock code is not displayed?
I sould I get the code via http://unlockbootloader.sonymobile.com/, paste it and than proceed?
Click to expand...
Click to collapse
Yes get the code from official website
Cheers,
AJ
yep, I got the code from website, But I woder wheter I should use SE BU to unlock if it doesnt get the code properly...?
Well... I will try... What I need is the flashing kernel button
All swept, but I used SEBU with the code I got from official site.
And it seems it all worked!
Just installed the rom and can see configuration screen.
BIG thanks to ALL
delete
well easy to do it

[SOLVED] I Rooted Device, But I Can't Edit System Files?

Hi friends;
I have HTC M8 Marshmallow with Sense 7.
I rooted my device with SuperSU 2.65.
But;
I can't edit build.prob file in system folder.
I can't put apk and lib files to system->priv-app folder.
In fact ;
I edited build.prob file in system folder. (I used Root Explorer)
I put apk and lib files to system->priv-app folder.
But, after I rebooted device edited build.prob file returned original and
deleted apk and lib file that I put to system->priv-app folder.
Before these applications I mounted system folder R/W
Why did this happen?
How can i solve this?
musti35 said:
Hi friends;
I have HTC M8 Marshmallow with Sense 7.
I rooted my device with SuperSU 2.65.
But;
I can't edit build.prob file in system folder.
I can't put apk and lib files to system->priv-app folder.
In fact ;
I edited build.prob file in system folder. (I used Root Explorer)
I put apk and lib files to system->priv-app folder.
But, after I rebooted device edited build.prob file returned original and
deleted apk and lib file that I put to system->priv-app folder.
Before these applications I mounted system folder R/W
Why did this happen?
How can i solve this?
Click to expand...
Click to collapse
Flash disable WP mod. http://forum.xda-developers.com/attachment.php?attachmentid=3564071&d=1449168286
Thank you very much.
Now everything is OK
musti35 said:
Thank you very much.
Now everything is OK
Click to expand...
Click to collapse
Add [SOLVED] to the title, so that other people can find this solution.
Imotep95 said:
Flash disable WP mod. http://forum.xda-developers.com/attachment.php?attachmentid=3564071&d=1449168286
Click to expand...
Click to collapse
I got same problem...Can I get this zip for HTC Desire 630 phone plzzz....
skshakeel said:
I got same problem...Can I get this zip for HTC Desire 630 phone plzzz....
Click to expand...
Click to collapse
Because super su is system less root, you won't be able to edit the system files. I don't even know how that mod worked
Sent from my htc_m8 using XDA Labs
justinchao740 said:
Because super su is system less root, you won't be able to edit the system files. I don't even know how that mod worked
Click to expand...
Click to collapse
You can't edit system files while your device s-on,you need wp module or custom kernel with wp module to edit system
Some m8 roms have this module implemented ( if not all roms )
Sent from my HTC M8 using XDA Labs
skshakeel said:
I got same problem...Can I get this zip for HTC Desire 630 phone plzzz....
Click to expand...
Click to collapse
Hi
Earlier i see a post by @ckpv5 about adb manager Qtadb i can't find the post right now ( on mobile and it's hard to find )
https://qtadb.wordpress.com/download/
You can use this tool to remove system files
Reboot to twrp and mount system then connect the device with pc ( usb ) and start the tool from your pc
Give it a try
Sent from my HTC M8 using XDA Labs
justinchao740 said:
Because super su is system less root, you won't be able to edit the system files. I don't even know how that mod worked
Click to expand...
Click to collapse
You've got it wrong. Systemless root isn't the reason system is not writable. The same will occur with traditional root.
The system is write protected on this device (regardless of root method). You need the kernel mode to disable the write protection.
redpoint73 said:
You've got it wrong. Systemless root isn't the reason system is not writable. The same will occur with traditional root.
The system is write protected on this device (regardless of root method). You need the kernel mode to disable the write protection.
Click to expand...
Click to collapse
well thats what happened to me. I rooted with super su, it won't let me edit any build.prop or system files. But after i rooted with system root, it worked
Hi need help
Same problem in my device my device is not in too development
So I try to find solution on Google and find this thread..
Can I flash this file in my device my device is HTC desire 630 and also running in mm version.
So can I try to flash this file...???
vaibhav1 said:
Same problem in my device my device is not in too development
So I try to find solution on Google and find this thread..
Can I flash this file in my device my device is HTC desire 630 and also running in mm version.
So can I try to flash this file...???
Click to expand...
Click to collapse
No, it won't work. Kernels (and therefore kernel mods) are device specific. It won't work, and may harm your phone.
If the phone is rooted, you can try to mount system in a file explorer app, and apply the desired changes, to see if they stick (survive a reboot). Some folks have had success with that approach.
Be careful, and backup files accordingly. Or otherwise know how to return to stock, if anything goes wrong. Changes to system under root can result in unpredicted problems.
Further than that, I probably can't help; as I have no specific knowledge of your device.
redpoint73 said:
No, it won't work. Kernels (and therefore kernel mods) are device specific. It won't work, and may harm your phone.
If the phone is rooted, you can try to mount system in a file explorer app, and apply the desired changes, to see if they stick (survive a reboot). Some folks have had success with that approach.
Be careful, and backup files accordingly. Or otherwise know how to return to stock, if anything goes wrong. Changes to system under root can result in unpredicted problems.
Further than that, I probably can't help; as I have no specific knowledge of your device.
Click to expand...
Click to collapse
I try script but not working..
Thanks for you help

how i remove startup verizon logo ? urgent

hello ,
how can i remove starting verizon logo??? and i don,t want any other logos,
i just need like stock samsung boot, for note 4
remember i have not .zip file in media folder
Mr Hassan said:
hello ,
how can i remove starting verizon logo??? and i don,t want any other logos,
i just need like stock samsung boot, for note 4
Click to expand...
Click to collapse
You can use a app like this: https://play.google.com/store/apps/details?id=tkstudio.sboot to change boot animation or some ROMS like jasmine rom 7.0 have the original samsung logo boot sequence, for the app to work you need root and read carefully before doing anything. Hope this helps.
-spektor- said:
You can use a app like this: https://play.google.com/store/apps/details?id=tkstudio.sboot to change boot animation or some ROMS like jasmine rom 7.0 have the original samsung logo boot sequence, for the app to work you need root and read carefully before doing anything. Hope this helps.
Click to expand...
Click to collapse
thanks brother for reply i fixed this problem, now i,m in another project , i successfully extract the system,img,ext file,,,,now i edited somethings,
now i want to create again in same file, img,ext4
have you any idea about it?
Mr Hassan said:
thanks brother for reply i fixed this problem, now i,m in another project , i successfully extract the system,img,ext file,,,,now i edited somethings,
now i want to create again in same file, img,ext4
have you any idea about it?
Click to expand...
Click to collapse
Well if you mean like accessing and editing system files I'm not how to do edit them but I know that you can use a app like root explore: https://play.google.com/store/apps/details?id=com.speedsoftware.explorer that's the free version the paid one is $3.99 in the US. With that you can move and add files to system folder you can edit permission of files and things of that nature.
-spektor- said:
Well if you mean like accessing and editing system files I'm not how to do edit them but I know that you can use a app like root explore: https://play.google.com/store/apps/details?id=com.speedsoftware.explorer that's the free version the paid one is $3.99 in the US. With that you can move and add files to system folder you can edit permission of files and things of that nature.
Click to expand...
Click to collapse
ok brother thanks alot,
but i,m talking about stock rom, i already extracted and edit now its need to repack again
Mr Hassan said:
ok brother thanks alot,
but i,m talking about stock rom, i already extracted and edit now its need to repack again
Click to expand...
Click to collapse
Ah ok, so I found these two threads related to the subject one is for repackaging ODIN files if your using a Samsung: https://forum.xda-developers.com/showthread.php?t=2549712&page=5 and the other is a general tutorial on custom roms https://forum.xda-developers.com/showthread.php?t=2195858 Also this article covers mostly everything about creating and installing ROMS http://lazydroid.com/2011/03/howto-repack-and-sign-rom-image-update-zip-files/ I hope this information helps I do not know much about creating or repackaging roms
-spektor- said:
Ah ok, so I found these two threads related to the subject one is for repackaging ODIN files if your using a Samsung: https://forum.xda-developers.com/showthread.php?t=2549712&page=5 and the other is a general tutorial on custom roms https://forum.xda-developers.com/showthread.php?t=2195858 Also this article covers mostly everything about creating and installing ROMS http://lazydroid.com/2011/03/howto-repack-and-sign-rom-image-update-zip-files/ I hope this information helps I do not know much about creating or repackaging roms
Click to expand...
Click to collapse
ok again thanks,
i,m in samsung note 4 , and i found lot of threads to repack but not success, coz i,m counfuse about where i start?
and how, is that need just system folder or all file like hidden ,cache etc etc
Mr Hassan said:
ok again thanks,
i,m in samsung note 4 , and i found lot of threads to repack but not success, coz i,m counfuse about where i start?
and how, is that need just system folder or all file like hidden ,cache etc etc
Click to expand...
Click to collapse
Well system file is where all the data and software is at basically everything visible on the phone. Maybe this article could help it deals with modifying samsung rom and flashing it. If you want to read more on it here's the link: http://android.stackexchange.com/questions/85703/modifying-samsung-rom-and-flashing-it-on-a-device if you wanted to remove apps or add custom apps to your phone you would modify system file.
But what I thought was important was this;
(I did not write this thread)
< "You should be able to use an archive program on PC and recompress to .tar, .gz, and others. Dont forget to re-sign the archive. Keep a copy of your untouched ROM until you have the modified ROM tested and running.
The ROMs are signed with a signature. When repacking if they don't get signed they will fail in flashing. This link will help explain it.
So basically after downloading the firmware you have to rename it so you can extract the files, change them as you need, recompress them again and re-sign them, so you can flash them using Odin." >
This thread was dealing with modifying CM rom;
< "There are multiple solutions available:
Re-Zip the Image
Advantage: You do it once, and can use the resulting image for multiple devices. That's what I did with CM7.2 for my Milestone 2. Easy enough to do:
create a temporary (empty) folder
unzip the zip file to it
remove unwanted *.apk files from /system/apps (be careful of what you remove, of course)
zip up the directory contents again
Using a graphical ZIP manager (like WinZip or the like), steps would be even easier:
open the zip file with the archive manager
remove the unwanted .apk files
if the ZIP manager requires it, save the manipulated zip
Manually cleanup after flashing, using the shell
This is what ce4 recommended in the comments. It requires you using a terminal emulator on your device:
Flash the image as-is
remove superfluous stuff from the system partition by hand (like rm /system/big/junk/example.mp4)
Manually cleanup after flashing, using other tools
Almost the same as the previous method, but a bit more user-friendly. Disadvantage: this won't do for superflous ringtones and the like:
Flash the image as-is
Use a tool like Titanium Backup or Root Uninstaller to remove unwanted system apps" >
Edit: this link explains the signature of the file: (from google) https://code.google.com/archive/p/zip-signer/
-spektor- said:
Well system file is where all the data and software is at basically everything visible on the phone. Maybe this article could
Edit: this link explains the signature of the file: (from google) https://code.google.com/archive/p/zip-signer/
Click to expand...
Click to collapse
yes brother i want to remove some apps,. in system
even some edits in bulid prop
and after repack it for odin , thats it,
i create zip and trying to install the via twrp, during installation in end its give some error like this
setup finish with error 7 etc etc
so i reboot ,.....its reboot normal but after boot base band is unknown
i,m working on verizon devise.
in very simple words i,m trying to create rom without verizon apps and some more edits
and that all work in stock rom
Mr Hassan said:
yes brother i want to remove some apps,. in system
even some edits in bulid prop
and after repack it for odin , thats it,
i create zip and trying to install the via twrp, during installation in end its give some error like this
setup finish with error 7 etc etc
so i reboot ,.....its reboot normal but after boot base band is unknown
i,m working on verizon devise.
in very simple words i,m trying to create rom without verizon apps and some more edits
and that all work in stock rom
Click to expand...
Click to collapse
Ok so I may have found a solution for you it requires a pc and to download a program. You'll need your rom and any apps you would like to insert into it. The program is as simple as right click and delete for any apps you want to remove. The program is made by a developer on XDA named "_Logie" here's the link to the Web page: http://m.tech.firstpost.com/news-analysis/how-to-add-or-remove-apps-from-a-custom-rom-101986.html and the link to the program is on there or here's the direct link: http://www.solidfiles.com/d/da2dd6335d/
This program compiles the ROM into a .zip if you have TWRP recovery you could do a backup of your previous rom before flashing your current one because you'll have to completely wipe every main partition before flashing new rom to ensure you don't run into problems
Edit: backup system, data, and cache because those are the ones you'll need to wipe also before wiping them just in case I would remove any password that locks your phone because if you try to flash a new rom and fails and your left with the recovery file it'll mess up the password, fingerprints will be forget and backup password will be unchangeable and will require a factory reset to be able to change it.
-spektor- said:
.
Click to expand...
Click to collapse
Who its looking cool. I'll try tomorrow
But for now brother i want to know its remove the apps. OK and what about bulid.prop? I need to edit it also. And after edit i don't want root anymore .after edit i need in tar format
I know you think I'm made but i know it's possible
Mr Hassan said:
Who its looking cool. I'll try tomorrow
But for now brother i want to know its remove the apps. OK and what about bulid.prop? I need to edit it also. And after edit i don't want root anymore .after edit i need in tar format
I know you think I'm made but i know it's possible
Click to expand...
Click to collapse
For build.prop maybe this app could help https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor sorry for lack of knowledge on this subject I've never had to repack a rom before.
-spektor- said:
For build.prop maybe this app could help https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor sorry for lack of knowledge on this subject I've never had to repack a rom before.
Click to expand...
Click to collapse
Ok apps done
Bulid done
Now final thing need . repack in ext4 format
I'll check these things tomorrow
-spektor- said:
For build.prop maybe this app could help https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor sorry for lack of knowledge on this subject I've never had to repack a rom before.
Click to expand...
Click to collapse
brother did you found anything for repack ext4 img?
Mr Hassan said:
brother did you found anything for repack ext4 img?
Click to expand...
Click to collapse
Have you tried this guide? https://forum.xda-developers.com/showthread.php?t=1588461
-spektor- said:
Have you tried this guide? https://forum.xda-developers.com/showthread.php?t=1588461
Click to expand...
Click to collapse
yes but its for linux , and for window 99% unsuccessfully rates , have you try in window ? this ?
now i,m in next step if you have the time so kindly share your experience
https://forum.xda-developers.com/android/help/repack-img-giving-error-odin-invalid-t3577719
Hmmmmm ? I think you want to change the boot animation (white Verizon logo red background? ) if so your gonna need to either need to flash a pre-made zip with Flashfire (can't seem to get it to apply from twrp) or your gonna need to manually copy into the appropriate directory (mount system directory r/w copy then change permissions of the file you copied to 644 and reboot) presumably with a root explorer though doable from terminal
---------- Post added at 07:47 PM ---------- Previous post was at 07:29 PM ----------
-spektor- said:
Ok so I may have found a solution for you it requires a pc and to download a program. You'll need your rom and any apps you would like to insert into it. The program is as simple as right click and delete for any apps you want to remove. The program is made by a developer on XDA named "_Logie" here's the link to the Web page: http://m.tech.firstpost.com/news-analysis/how-to-add-or-remove-apps-from-a-custom-rom-101986.html and the link to the program is on there or here's the direct link: http://www.solidfiles.com/d/da2dd6335d/
This program compiles the ROM into a .zip if you have TWRP recovery you could do a backup of your previous rom before flashing your current one because you'll have to completely wipe every main partition before flashing new rom to ensure you don't run into problems
Edit: backup system, data, and cache because those are the ones you'll need to wipe also before wiping them just in case I would remove any password that locks your phone because if you try to flash a new rom and fails and your left with the recovery file it'll mess up the password, fingerprints will be forget and backup password will be unchangeable and will require a factory reset to be able to change it.
Click to expand...
Click to collapse
Try flashing with flasfire enabling the option mount system r/w and use common paths (probably not necessary but won't hurt) I have had difficulty getting anything other than ROM and gapps to apply from twrp but flashfire seems to work . I'm thinking its due to the fact that flashfire flashes after boot loader and then resets prior to os load.

[ZE620KL|X00QD] GSI Support and Boot Fix

I am not responsible for anything that may occur.
Most of the GSI's need SELinux Permissive status. This cannot happen with boot.img because of Vendor. So we have to use Magisk to make Permissive. This is for old GSI's. If you are gonna use new GSI's from Erfan and Phhusson check the end of the thread.
1- You need a working GSI installed(HavocOS works). https://sourceforge.net/projects/havoc-os/files/arm64-aonly/
2- You need to install Magisk. I installed v19.3.
3- You need TWRP recovery. I use 3.3.0. And make sure you disabled your data encyrption.
4- You need a Permissiver. With Magisk SELinux Manager module we are patching SELinux systemlessly.
*After installing Magisk reboot. Then add this module in Magisk Manager and reboot(Follow steps on guide. Volume up to confirm, after volume down to select permissive). https://forum.xda-developers.com/apps/magisk/module-magisk-selinux-manager-t3760042 You don't need latest. Just download 1.0 from Attached Files. I used that.
* Go to about on your settings. You should see in bottom permissive status. If you see enforcing go back and fix what you have done wrong. After making permissive go to TWRP recovery. In recovery make sure data is mounted in Mount. Then go to Advanced > File Manager. In there open data folder and delete everything other than adb, app, media. Then go to app folder and delete everything other than com.topjohnwu.magiskxxx.
* Now you should only have adb, app/com.topjohnwu.magisk(xxx), media. Exit from File Manager and go to Backup. Choose only Data. Then swipe to backup. Backup stored in /sdcard/TWRP, /data/media/0/twrp. That's why we didn't delete media folder. And don't ever wipe Internal storage(Your backup in there.).
5- But you can wipe data and that excludes backup. So wipe Dalv, system, data and cache. And then in Restore your backup and you should get your Magisk and Modules back(You can see adb and app folder by remounting).
6- Flash any GSI you want. If you want to install GApps stock version go to mount and uncheck Mount system partition read-only and tick system on the top. Go to Wipe> Advanced Wipe> Check system> Repair or Change File system> Resize File System> Swipe to resize. This will make your space 3600mb again. Your system files will not be touch. Now you can install gApps zip.
Working OxygenOS: https://drive.google.com/open?id=1GPGWJu3lUeheUO2iGSNHQWEPiYgeF3DY
LINKS to GSI's: https://docs.google.com/document/d/123s7H37wHKqlxn8rIBQmG_DvffgTVZv3hO-uiy7N-sk/edit?usp=sharing
Some Files if needed = https://drive.google.com/drive/folders/1yFJl-teTlbSWilgJIgN317Ba2FFVRSaO?usp=sharing
Tested on Version V16.0615.1908.109.
As of today, Android Q/10 is working. https://github.com/phhusson/treble_experimentations/releases
Wipe dalv, system, data, cache. Flash img, then flash Magisk-phh.zip.
For Erfan:
Since 25.09.2019, all new ErfanGSI's will work on our devices. Check the date. It should be newer than 20190925. No need to flash Permissiver or Zygote fix.
You need to flash stock boot.img. Mount vendor and delete /vendor/overlay in Advanced > File Manager to fix Pixel Launcher crash. If you want to backup vendor.img follow this guide.
Telegram Channel:https://t.me/Zenfone5GSI
In Turkish Language: https://docs.google.com/file/d/1GKlOl68vOngXAMfvj9rV6YZ9Wq8AC4JG7m7AdIf6i74/view
Thank you very nice work in the telegram group, I would appreciate it if you help us
LifefesTR said:
Thank you very nice work in the telegram group, I would appreciate it if you help us
Click to expand...
Click to collapse
What help do u need? Contact me from telegram and I will try to help.
emincangencer said:
What help do u need? Contact me from telegram and I will try to help.
Click to expand...
Click to collapse
I've done the way step by step ... but when I install Evolution Erfan GSI still not boot..When I see the file manager in Twrp..Is open the data ..like ADB, Media, app is the lost.. I restore again ... still not boot... I again see in twrp...file manager,,data/app,media,adb is lost again..Why?? Is there anything wrong ?
albarudin said:
I've done the way step by step ... but when I install Evolution Erfan GSI still not boot..When I see the file manager in Twrp..Is open the data ..like ADB, Media, app is the lost.. I restore again ... still not boot... I again see in twrp...file manager,,data/app,media,adb is lost again..Why?? Is there anything wrong ?
Click to expand...
Click to collapse
In twrp "adb push C:\Users\Emincan\.android\adbkey.pub /data/misc/adb/adb_keys". Reboot. In bootanimation "adb shell getenforce". If answer is permissive, it should work. If it's enforce, you have done something wrong.
I have done this on Vendor Version V16.0615.1908.109. Maybe that's affecting.
And make sure you are doing it with https://sourceforge.net/projects/evolution-x/files/GSI/Evolution-9.0-GSI-ARM64-AONLY-20190811.zip/download
emincangencer said:
In twrp "adb push C:\Users\Emincan\.android\adbkey.pub /data/misc/adb/adb_keys". Reboot. In bootanimation "adb shell getenforce". If answer is permissive, it should work. If it's enforce, you have done something wrong.
I have done this on Vendor Version V16.0615.1908.109. Maybe that's affecting.
And make sure you are doing it with https://sourceforge.net/projects/evolution-x/files/GSI/Evolution-9.0-GSI-ARM64-AONLY-20190811.zip/download
Click to expand...
Click to collapse
ok sir...thanx you
sir...please help me,how the fix dt2w in the rom gsi
link for image oxygen os please on google drive link error
phentem said:
link for image oxygen os please on google drive link error
Click to expand...
Click to collapse
I deleted them because it's outdated. U can find it on https://t.me/VegaGSIs

Categories

Resources