How to get and mod System.img Android M ZV9 - Sprint LG G4

_Download this Zip file and extract it : https://drive.google.com/file/d/0Byybyd_nA78MRjJTdWVtaFVyaFU/view?usp=sharing
_Install Ext2Fsd and osfmount
_Now use WindowsLGFirmwareExtract to extract system.img from ZV9 TOT File ! (You have to Merge all system.img file after extract it to get the real one )
_Run Ext2Fsd and use osfmount to mount System.img in window (Uncheck Read-Only drive)
_Now you can mod this system.img and flash it through Send_command like ZV6!

Will this work for ZVA or is it ZV9 only?

Yes
hodgestl said:
Will this work for ZVA or is it ZV9 only?
Click to expand...
Click to collapse
it will work for all system.img but we dont have ZVA TOT

Really the only point of this would be to debloat the system, or install apks to system. Not much else you could do though.

tabp0le said:
Really the only point of this would be to debloat the system, or install apks to system. Not much else you could do though.
Click to expand...
Click to collapse
How do you install apks as system because i really want to install nova launcher on this probably distrubute it also and debloat it

Would this even work? Wouldn't modifying the system.img change the checksums. which would be caught by our locked bootloader and cause boot issues? Hence same reason we can't use send_command root injection?

we can delete and add app to system.img but have to set right permission !
i have modded init.qcom.post_boot.sh file in etc to set that in boot !
file modded : https://drive.google.com/file/d/0Byybyd_nA78MVWRvblNTYjUzV3c/view?usp=sharing

Awesomeslayerg said:
How do you install apks as system because i really want to install nova launcher on this probably distrubute it also and debloat it
Click to expand...
Click to collapse
You just inject it to /system/app and set permissions to 0644.

can this be used to inject root ?
---------- Post added at 02:25 PM ---------- Previous post was at 01:43 PM ----------
Tctien342 said:
we can delete and add app to system.img but have to set right permission !
i have modded init.qcom.post_boot.sh file in etc to set that in boot !
file modded : https://drive.google.com/file/d/0Byybyd_nA78MVWRvblNTYjUzV3c/view?usp=sharing
Click to expand...
Click to collapse
the script on the bottom has a section:
#Try to add Root
chown -R 0:0 /system/app/SuperSU
chmod 0644 /system/app/SuperSU
chmod -R 0755 /system/app/SuperSU
.......
Did it actually work ?
(Please tell me it did )
---------- Post added at 02:36 PM ---------- Previous post was at 02:25 PM ----------
Tctien342 said:
it will work for all system.img but we dont have ZVA TOT
Click to expand...
Click to collapse
Isn't there a way to dd/extract system.img from ZVA phone?

Root dont work !
I have wrong somewhere so can't active root !
I think we can extract system ZVA by dd but can copy it to PC ? (LG Secure ?)
But we can up back to ZV6 and copy it with root ?

Tctien342 said:
I have wrong somewhere so can't active root !
I think we can extract system ZVA by dd but can copy it to PC ? (LG Secure ?)
But we can up back to ZV6 and copy it with root ?
Click to expand...
Click to collapse
But root files are there? This is great news, it means we just have to figure out what files should go where for proper Marshmallow root. Maybe looking at custom rooted ROM?
do you think install script from supersu for Marshmallow can be called from init.qcom.post_boot.sh ?
http://www.gammerson.com/2015/10/download-super-su-v251zip-for-marshmallow.html

leond said:
But root files are there? This is great news, it means we just have to figure out what files should go where for proper Marshmallow root. Maybe looking at custom rooted ROM?
do you think install script from supersu for Marshmallow can be called from init.qcom.post_boot.sh ?
http://www.gammerson.com/2015/10/download-super-su-v251zip-for-marshmallow.html
Click to expand...
Click to collapse
Wait can't we also disable DM verity or whatever that's called that's blocking root as well via permissions?

Awesomeslayerg said:
Wait can't we also disable DM verity or whatever that's called that's blocking root as well via permissions?
Click to expand...
Click to collapse
I thought dm-verity protects partition, so if the root files are there and it's not complaining on boot, dm-verity is not an issue.
But the more i am reading the more it looks like you can't root marshmallow without unlocked bootloader

I checked there are no files with that I manually added them let see if my thing boots if not ah well
---------- Post added at 06:24 PM ---------- Previous post was at 06:11 PM ----------
leond said:
I thought dm-verity protects partition, so if the root files are there and it's not complaining on boot, dm-verity is not an issue.
But the more i am reading the more it looks like you can't root marshmallow without unlocked bootloader
Click to expand...
Click to collapse
Looks like i was able to load the Super SU biniaries for some weird reason.. I added files to where they where suppose to go it made them

Awesomeslayerg said:
I checked there are no files with that I manually added them let see if my thing boots if not ah well
---------- Post added at 06:24 PM ---------- Previous post was at 06:11 PM ----------
Looks like i was able to load the Super SU biniaries for some weird reason.. I added files to where they where suppose to go it made them
Click to expand...
Click to collapse
so it boots? can you start an adb shell? do you see su binary? does it have right permissions? can you run it from the shell?

leond said:
so it boots? can you start an adb shell? do you see su binary? does it have right permissions? can you run it from the shell?
Click to expand...
Click to collapse
I couldn't set permissions but the files are in there.. I just nuked my laf partition so there's no way for me to continue testing on this device but thank God I have an OS installed.. I guess I'm stuck on this forever now

Related

anyone get polaris office working on xoom?

Hey,
Has anyone been able to get polaris office to work on their xoom? I installed it and was able to view one document before the force closes started raining down. Now everytime I try to open it I receive a forceclose.
Just wonderin if anyone else had any better luck?
I have it working
I downloaded the .apk quoted here: http://forum.xda-developers.com/showthread.php?p=17935619
---------- Post added at 06:17 PM ---------- Previous post was at 05:55 PM ----------
Also, one important thing is that it worked on my rooted Xoom, but also on my non one
That means u fon't need to put anything in the lib folder
Tochiro said:
I have it working
I downloaded the .apk quoted here: http://forum.xda-developers.com/showthread.php?p=17935619
---------- Post added at 06:17 PM ---------- Previous post was at 05:55 PM ----------
Also, one important thing is that it worked on my rooted Xoom, but also on my non one
That means u fon't need to put anything in the lib folder
Click to expand...
Click to collapse
Why are there two parts?
okantomi said:
Why are there two parts?
Click to expand...
Click to collapse
You need to copy over the app it self to /system/app and copy over the lib files to /system/lib then you have to change their permissions then reboot in order to get them to work. I mean change both the app permissions and the lib files permissions.
okantomi said:
Why are there two parts?
Click to expand...
Click to collapse
Just a matter of file size
---------- Post added at 10:04 PM ---------- Previous post was at 10:02 PM ----------
twinkyz1979 said:
You need to copy over the app it self to /system/app and copy over the lib files to /system/lib then you have to change their permissions then reboot in order to get them to work. I mean change both the app permissions and the lib files permissions.
Click to expand...
Click to collapse
That's a negative
As I said, I tried it on my rooted Xoom, but also on my non rooted... no need to copy over the lib files.... thus, there's no lib files in the link I quoted, just the *.apk, and it's enough
Worked like a charm like any other apk...
I think there must be different apk floating around then because without a doubt as I have done this on my rooted Xoom and helped a number of others they ALL forced closed when you tried to open any doc new or old. Then you install the two *.so lib files into system/lib. After that everything work perfectly. I and others I helped were all rooted and were using root explorer to move files etc.
Tochiro is the only person I have seen that only had to install just the apk. without getting fc. I can only think there must be dif apk or some how ended up with those files in the system/lib folder other than manually moving them there.
As I said, I used this one: http://forum.xda-developers.com/showthread.php?p=17935619
At first I tried with the apk from my Galaxy S2 on my rooted Xoom using the lib files tip, but it wasn't working
With the link up here, I installed Polaris on a Xoom with Tiamat rom, and on another one (non rooted) with Android 3.2 (firm GAS_EMEA_USAHUBLWFRTFR_P014)
From now, I just tried quickly with some pdf files and xlsx xls files, but everything was fine
post was repeated

Fix: Wi-Fi for Illuminated Rom, FALCON for D2105

Guys I was just experimenting with these two ROMS and i found a FIX for Wi-Fi. on The Illuminated Rom( By the Kid). The problem lies in the "data" folder of Rom.zip file.
Steps for fix:
1. Open rom.zip and delete the data folder from the zip file.
2. Add the data folder of which i am giving you the link below, in that rom.zip.
3. Flash it.
Probably due to the wifi customizations made in the data folder previously, it was not working. but it worked for me.!
And also The i found out that in XperiAOSP by the KId, the settings.odex file is present in the system/app/ folder. I think that maybe the problem. it should be deodexed. And try this wifi fix on that also. the files are the same.
Link for data folder https*//drive*google*com/file/d/0B6Yp9LLnb7apN01sQlNfZS0waG8/view?usp=sharing
i have given data.rar . Extract it to get data folder
Sorry for interfering with your files, Ramdenes, The kid
it doesn't working
the download link that you give don't have a folder, but a file without any size
and because it's my first time flashing a custom rom i want to get it right.
KhaosVonX said:
the download link that you give don't have a folder, but a file without any size
and because it's my first time flashing a custom rom i want to get it right.
Click to expand...
Click to collapse
That is the point. i created it(the file) using Android kitchen. if you have just downloaded the file.Then make a folder, "data". Open it. Create another, "local" and place that file into it. OR you can just download the data folder i provided.
It worked for me.! Without a problem.
got it
but where is the download link for the full data folder,
i can't found it :s ^^
KhaosVonX said:
but where is the download link for the full data folder,
i can't found it :s ^^
Click to expand...
Click to collapse
Check. now .I have updated the link. And added data.rar
I can't found the download link
summers86 said:
I can't found the download link
Click to expand...
Click to collapse
i think you should have a closer look.
summers86 said:
I can't found the download link
Click to expand...
Click to collapse
data.rar
---------- Post added at 10:07 PM ---------- Previous post was at 09:49 PM ----------
Not Working
Edit - worked after flashing FalconSS Kernel
Sureshtuty said:
data.rar
---------- Post added at 10:07 PM ---------- Previous post was at 09:49 PM ----------
Not Working
Edit - worked after flashing FalconSS Kernel
Click to expand...
Click to collapse
did you flash the rom after replacing the "data" folder in the rom??
Note: this is not a flashable zip anyway,.. you have to replace it with the "data" folder in Rom.zip

Need System Folder of latest firmware

hello! I had a request for anyone running stock odexed firmware (.291)
Can you pull the system folder for that version and upload it for me? Thanks!
Edit: with odex files pls!
P.s. I need the untouched version without root. Thanks!
HERE are stock ftf firmwares. Choose one and download it.
Rename *.ftf to *.zip and extract a file system.sin using 7zip.
Open Flashtool, use function "Sin Editor" to convert system.sin -> system.ext4. Then use this to "save" /system folder.
There are some files *.sqsh that contain .odex files. this sqsh file link to odex file of the app. Use 7zip 16.04 to extract *.sqsh file, you will see odex files
---------- Post added at 04:22 PM ---------- Previous post was at 04:17 PM ----------
Eg: odex.app.sqsh contains all odex of /app folder.
Extract sqsh file and copy odex file to folder (ex: copy AnonymousData.odex to /app/AnonymousData/oat/arm/, then you have stock AnonymousData apk with odex file . )
xtbtvd12399 said:
HERE are stock ftf firmwares. Choose one and download it.
Rename *.ftf to *.zip and extract a file system.sin using 7zip.
Open Flashtool, use function "Sin Editor" to convert system.sin -> system.ext4. Then use this to "save" /system folder.
There are some files *.sqsh that contain .odex files. this sqsh file link to odex file of the app. Use 7zip 16.04 to extract *.sqsh file, you will see odex files
---------- Post added at 04:22 PM ---------- Previous post was at 04:17 PM ---------
Eg: odex.app.sqsh contains all odex of /app folder.
Extract sqsh file and copy odex file to folder (ex: copy AnonymousData.odex to /app/AnonymousData/oat/, then you have stock AnonymousData apk with odex file . )
Click to expand...
Click to collapse
Thank you so much! I am learning to deodex my ROM myself.
I will try it this weekend.
But aren't the odex files generated when you run android the first time?
This is wierd
EDIT: I downloaded the ftf from flash
tool and expanded it. I do not see any files *.sqsh files in any folders . Just empty
panzerox123 said:
Thank you so much! I am learning to deodex my ROM myself.
I will try it this weekend.
But aren't the odex files generated when you run android the first time?
This is wierd
Click to expand...
Click to collapse
I dont know this much. But odex files arent generated in system partition. They create odex file in system partition for faster first time bootup maybe.
---------- Post added at 06:14 AM ---------- Previous post was at 06:12 AM ----------
panzerox123 said:
EDIT: I downloaded the ftf from flash
tool and expanded it. I do not see any files *.sqsh files in any folders . Just empty
Click to expand...
Click to collapse
You need to extract system.sin and convert to system.ext4 first . the sqsh file must be in system partition.
xtbtvd12399 said:
I dont know this much. But odex files arent generated in system partition. They create odex file in system partition for faster first time bootup maybe.
---------- Post added at 06:14 AM ---------- Previous post was at 06:12 AM ----------
You need to extract system.sin and convert to system.ext4 first . the sqsh file must be in system partition.
Click to expand...
Click to collapse
I've done that. The folders are empty...
panzerox123 said:
I've done that. The folders are empty...
Click to expand...
Click to collapse
ohh. something wrong here. i ll check it tonight.
normally, the odex.app.sqsh, odex.framework.sqsh, odex.priv-app.sqsh must be in system partition.
xtbtvd12399 said:
ohh. something wrong here. i ll check it tonight.
normally, the odex.app.sqsh, odex.framework.sqsh, odex.priv-app.sqsh must be in system partition.
Click to expand...
Click to collapse
There are efolders in the system partions with those names. But they are empty
panzerox123 said:
There are efolders in the system partions with those names. But they are empty
Click to expand...
Click to collapse
Yes. Those folders are empty, but those are sqsh files near those folders . Check it
xtbtvd12399 said:
Yes. Those folders are empty, but those are sqsh files near those folders . Check it
Click to expand...
Click to collapse
Ill check. But is there a *.sqsh for every apk?
And if not, if I extract the .sqsh file, will it give me the odex for every apk?
Thanks
panzerox123 said:
Ill check. But is there a *.sqsh for every apk?
And if not, if I extract the .sqsh file, will it give me the odex for every apk?
Thanks
Click to expand...
Click to collapse
Yes, they contain all odex files
xtbtvd12399 said:
Yes, they contain all odex files
Click to expand...
Click to collapse
Ok thanks. I'll try once i get home
I checked it already.
Hope this can help you .
If you want to fully deodex your system, there are 2 more sqsh files. /system/etc/product/ and /system/etc/customizations/.
and there are 2 more odexed app with odex file: /system/vendor/app/ims/ & /system/vendor/app/ChromeCustomizations/
-----------------
There are symlinks between /system/$app/*app_name*/oat/arm/ and odex.$apk.sqsh/arm/*app_name*.odex
So the odex file show in folder is a shortcut from sqsh file. Sony made this
xtbtvd12399 said:
I checked it already.
Hope this can help you .
If you want to fully deodex your system, there are 2 more sqsh files. /system/etc/product/ and /system/etc/customizations/.
and there are 2 more odexed app with odex file: /system/vendor/app/ims/ & /system/vendor/app/ChromeCustomizations/
Click to expand...
Click to collapse
Thanks:good:

Rooted Device Can't Modify or Delete System File with X-Plore / AdAway error too

Hi all,
After upgrade to 7.2.32 via OTA, after instal system, I only can access system file, but I can't delete file on system folder.
SuperSU 100% installed
Any suggestion to solve my problem?
I can modify other folder except /system
Application that can access and modify system :
Root Explorer
ES FIle Explorer
Application that cannot acces and modify system :
AdAway
X-plore ( lonely cat )
Note :
I have been flashed my device with SP Flash Tool metod with "Format + Download " with latest 7.2.32 ROM
I try too with flashed my device using SP Flash Tool metod with 8.0.3
Use Meta2 to restore My IMEI and MEID
Still didn't solve my problem
Even I am experiencing the same issue.
---------- Post added at 07:43 PM ---------- Previous post was at 07:34 PM ----------
Abhy-Boy said:
Hi all,
After upgrade to 7.2.32 via OTA, after instal system, I only can access system file, but I can't delete file on system folder.
SuperSU 100% installed
Any suggestion to solve my problem?
I can modify other folder except /system
Application that can access and modify system :
Root Explorer
ES FIle Explorer
Application that cannot acces and modify system :
AdAway
X-plore ( lonely cat )
Note :
I have been flashed my device with SP Flash Tool metod with "Format + Download " with latest 7.2.32 ROM
I try too with flashed my device using SP Flash Tool metod with 8.0.3
Use Meta2 to restore My IMEI and MEID
Still didn't solve my problem
Click to expand...
Click to collapse
Were you able to fix it?
dattafilthyd said:
Even I am experiencing the same issue.
---------- Post added at 07:43 PM ---------- Previous post was at 07:34 PM ----------
Were you able to fix it?
Click to expand...
Click to collapse
At least I can fix this problem by add folder su in /system/bin
Abhy-Boy said:
At least I can fix this problem by add folder su in /system/bin
Click to expand...
Click to collapse
I fixed this by installing an order version of super su via twrp.
I needed to create a folder inside a system folder. Couldn't do it with either ES Explorer or X-plore. Root Explorer was the only app that did it.
I have the default root that comes with LineageOS

Emui 10.0.126 - How to unpack SUPER.img?

Found in firmware Finder.. It seems to be for P30 Pro.
http://update.dbankcdn.com/TDS/data/files/p3/s15/G4705/g1755/v304788/f1/full/update_full_base.zip
I want to extract it so I can get apks such as the launcher or camera app. I have managed to extract UPDATE.APP and I saw inside a file called SUPER. img which I suppose is equivalent to the usual system.img however I can't extract it. I tried different tools but I failed.
Does anyone know how to unpack that SUPER.img file?
orpheliaca said:
Found in firmware Finder.. It seems to be for P30 Pro.
http://update.dbankcdn.com/TDS/data/files/p3/s15/G4705/g1755/v304788/f1/full/update_full_base.zip
I want to extract it so I can get apks such as the launcher or camera app. I have managed to extract UPDATE.APP and I saw inside a file called SUPER. img which I suppose is equivalent to the usual system.img however I can't extract it. I tried different tools but I failed.
Does anyone know how to unpack that SUPER.img file?
Click to expand...
Click to collapse
Hi m8, even if you manage to unzip the SUPER.img file (you can try with 7zip, maybe it will work, don't bet on it) you can't install those apk's on EMUI 9.1, because they are different.
On EMUI 10 you can push those apk's (and camera libs folders) only if you're rooted and have bootloader unlocked.
Later edit: or you can rename it to system.img and try using this tool. Ignore, the tool is not available anymore
SilviuO said:
Hi m8, even if you manage to unzip the SUPER.img file (you can try with 7zip, maybe it will work, don't bet on it) you can't install those apk's on EMUI 9.1, because they are different.
On EMUI 10 you can push those apk's (and camera libs folders) only if you're rooted and have bootloader unlocked.
Later edit: or you can rename it to system.img and try using this tool. Ignore, the tool is not available anymore
Click to expand...
Click to collapse
I still have hopes as based on my experience not always the system app are only restricted to the new Android SDK. So maybe those two apks will be compatible with android P SDK or can easily be modes to make them compatible
However I didn't find a way to unpack SUPER.img despite trying different methods..
hi,
but full update it works?! did you tried?
thanks.
stefanz08 said:
hi,
but full update it works?! did you tried?
thanks.
Click to expand...
Click to collapse
I tried it just now and it did not work on my P30 Pro!
How did the full update work for you? Can you please tell how you managed to flash full update?
you can used my method:https://blog.cofface.com/archives/2954.html
cofface said:
you can used my method:https://blog.cofface.com/archives/2954.html
Click to expand...
Click to collapse
any repack method for super.img back with same hashed and header.if possible i can pay for it
---------- Post added at 05:04 PM ---------- Previous post was at 05:02 PM ----------
pakfixrom said:
any repack method for super.img back with same hashed and header.if possible i can pay for it
Click to expand...
Click to collapse
unpack already supported superR kitchen pro version
pakfixrom said:
any repack method for super.img back with same hashed and header.if possible i can pay for it
---------- Post added at 05:04 PM ---------- Previous post was at 05:02 PM ----------
unpack already supported superR kitchen pro version
Click to expand...
Click to collapse
superR kitchen pro version,Unpack is ok but can't repack. I am looking forward to the repack tool
I've extracted using: imjtool.
http://newandroidbook.com/tools/imjtool.html
Once you've extracted hw_product, cust, vendor, system, odm how do you extract those files?
someone managed to open and close Super.img ??

Categories

Resources