Question How i can edit build.prop and other files in system folder? - Redmi Note 10S

Hello.
Successfully rooted note 10s, but if i try to edit build.prop file in system or vendor folder, i take a zero length file...
How it can be edited?

1. use a decent file manager (i reccomend Material Files)
2. you need to remove some useless stuff, or else it won't save

Try X-plore. Just set to show hidden files.

i use root browser
work for me root browser

Related

How to change icon apps on the app drawer? (rooted)

I'm trying to change the icons on the app drawer with Root Explorer but I can't find the correct PNG to replace that on the system/app/"application.apk"/res/drawable/_____.png
Anyone knows the right name of the icon?
Thanks!
res/drawable-hdpi/file_manager_r.png ypu will have to turn the apk into a zip then put your new file into the hdpi folder and change the zip back to an apk then re install
Can I follow this steps with the Captivate or I need to do this on the computer?
Any easy way?
Thanks for the tip!
hi, i changed an image in drawable-hdpi in "phone.apk" (ic_jog_dial_unlock.png) like aceman said, but if i try to install new phone.apk it says "application not installed" (or something similar, my language phone is not english). how can i install new phone.apk??
I tried to istall it from recovery and there is the same result
thanks
You have to push the phone.apk file into /system/app with a root explorer or adb. Just installing it won't work like most other apks.
i have "root browser", can i use it? can u say to me all the steps i have to do with it or adb? i'm not an android expert user...
up...anyone ca help me?
install a different launcher app that lets you customize it. try launcherpro from the android market.
you wont understand the mod instructions.
screw it here they are...
mod instructions... basic if you need more info. learn to search there are 4000 guides on how to change an app image.
you need winrar on windows. if you arent running windows you should know better.
use root level file manager to go to 'system/app' folder and copy your launcher.apk to sdcard.
copy to PC
right click .apk > open with... > choose program > WinRar
look through folders inside APK and copy all folders with .PNG images to desktop (or work folder)
look through the images in the folders (change veiw to thumbnails) and find the name of the image you want to change and the name of the folder it was in.
Go get, or create your custom image, and name it that name. **Close to original shape size.
Use winRar to open the .APK again and naviage to the place where your image goes and drop the new one into that folder.
A window with options will come up and select Compression Profile : STORE
Click ok
Close winrar.
Copy .apk to SDcard
Use root file manager to rename original /system/app/launcher.apk to launcher.apk.bak (backup)
Then copy your modded .apk to /system/app.
Reboot (pull battery)
DONT MESS WITH ANY IMAGE ENDING IN .9.PNG only regular .pngs
for more on .9.pngs... search google.. what is ....
i*have*to*modify*phone.apk,*no*launcher.apk..*i*just*did*steps*you*sayd,*but*if*i*try*to*rename*phone.apk,*my*nexus*goes*in*full*crash
fist off this is the Captivate forums. not nexus.
and i was giving help to OP question not yours. either way the *stars*and*sp ac*es are friggin annoying. use your computer if your phone is messed up.
if you "tried" to modify the name... DID IT? try doesnt tell me much.
if it wouldnt let you, then nothing changed and your phone is screwed up from something else.
if it DID rename, then CHANGE IT BACK.. duh.
sorry for space and *, i wrote it with the mouse using google translate keybord and i saw them when i cut/past the text
i "tried" to rename phone.apk, so the phone went in a full crash and i had to restore system using an old backup in recovery
paino85 said:
sorry for space and *, i wrote it with the mouse using google translate keybord and i saw them when i cut/past the text
i "tried" to rename phone.apk, so the phone went in a full crash and i had to restore system using an old backup in recovery
Click to expand...
Click to collapse
Try apktool to extract all replace wteva ocon u want to and rebuild apk using the same tool and u need to sign the apk usin signapk tool so that device can recognise the.apk file for installation. I have done this and everything went fine in galaxy note. But i couldn't locate the file to rename the icon. Icon changing was not a prob.

[Q] Modifying files with apkmanager

Hi all,
Apologies if this has been covered elsewhere but searching has done me no good.
I'm trying to do a bit of theming by modifying framework-res.apk with apkmanager 4.9. As I understand it, you're supposed to:
1. Decompile (9) the APK
2. Modify files in .\projects\framework-res.apk
3. Compile (11)
4. Answer Yes to this being a system apk
5. Answer Yes to keeping unmodified files
6. Delete the files from keep that have been modified
7. Press a key to continue
At this point, if I rename the new apk to file to .zip and look inside the files I've deleted from keep are simply not there.
If I don't delete the files from keep, the old files are there, not the new files I'm replaced them with.
If I replace the files in keep with the modified versions again instead of deleting them, they do appear in the final apk and show up on my phone correctly. This only work for images though and this isn't working for XML files - only images.
After step 5 I get a line in the apk manager log saying "The system cannot find the file specified."
Can someone tell me what I'm doing wrong?
Thanks

[MOD] Multi DPI Camera and Samsung Keyboard

Decided to start a new thread as this one was getting a bit messy (and I couldn't change the title anymore)
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-multi-dpi-samsung-apps-camera-t3141148
----------------------------------------------------------
Hi all, after changing the dpi to 480 the camera was the main thing bugging me. Looking for a solution I found this thread:
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-fix-samsung-camera-app-device-dpi-t3131995
But that did not work for me, so I decided to try it myself and I finally managed to create multi-dpi versions of the Camera and Samsung Keyboard apps. They are based on the apks from the XtreStoLite Universal Deo-Mod Edition 1.5 as I'm currently running that. So just give it a try (backup the original apks first! I usually just rename them to "filename.org") and let me know if it works for you. I tested on 480 and 520 dpi and that works here...
Installation:
1. Backup original apk (in system\app\SamsungCamera4 and/or systemm\app\SamsungIMEv2 )
2. Extract modded apk to the corresponding folder
3. Wipe data for the app
4. Reboot
I basically modified the dimens.xml file to hardcoded pixel sizes instead of dip value, modifying dip value caused other issues for me (camcorder not working, pro mode messing up). Hopefully it's of use to some.
I have not been able to fix the Contacts/Dialer (SecContacts_L.apk in the priv-app folder)! I either get a corrupt apk (parsing error) or it just won't show up in my apps. Corrupted apk gives a parsing error when trying to install manually, otherwise it just says 'install failed'.
I am guessing this is somethiong with the priv-app folder and other restrictions there. I also tried copying the apk to the system\app folder instead but that didn't work either...
If anyone has ANY idea how to fix this? (I tried with both apktool as apk multitool).
*SCRIPTS ADDED*
Added the scripts and all I've written for this to this post for those wanting to try themselves (dpi_mod.zip). They are not completely polished so need some manual editing every now and then...
Basically, doubleclicking apk_process.bat in the root will go through the apk's in the apk subfolder and
1. Decompile them to the decompiled subfolder
2. Edit the dimens.xml file in the res\values subfolder of the decompiled folder replacing all the <n>dip values with <4*n>px (So 640 dip becomes 2560px for example...)
3. Rebuild the apk to the dpimod_apk subfolder (using the -c option to keep original manifest and signature files)
The files folder contains the files used (apktool, the subscripts for each step, signature files, (g)awk and an awk script to process the xml file replacing the values, etc)
There is also a script for signing the apk manually, but somehow the apk then also doesn;t work in my case it seems...
ALl scripts are windows batch files (and an awk file) as I mainly use windows at home. Shouldn't be too hard for the linux users to convert them to bash files if desired...
*EDIT2*
Added patched services.jar (and original services.jar for restoration in case of issues). Flash through twrp recovery... This allows you to use the modded SecContacts_L.apk supplied, the services.jar needs to be patched to disable the signature verification for the (system) apk files. Note that this might cause issues (an invalid services.jar caused my phone to get stuck in boot... had to restore the original to be able to continue) so use at your own risk!
Great job !
I have not been able to decompile the contacts.apk either.. I am a bit rusty tho.. will have to look into that a little more.
fOmey said:
Great job !
I have not been able to decompile the contacts.apk either.. I am a bit rusty tho.. will have to look into that a little more.
Click to expand...
Click to collapse
Thanks! And yeah, weird stuff.
I actually was only really bothered by the camera, not using the samsung keyboard at all myself and don't mind the contacts as much (perfectly usable for me) but it's now a matter of principle If you find anything out, I would love to hear.
dagrim1 said:
Thanks! And yeah, weird stuff.
I actually was only really bothered by the camera, not using the samsung keyboard at all myself and don't mind the contacts as much (perfectly usable for me) but it's now a matter of principle If you find anything out, I would love to hear.
Click to expand...
Click to collapse
But In Call screen looks weird with 480 DPI right? Would you know any fix for that? Thanks.
Sent from my SM-G925F using XDA Free mobile app
ksekhar said:
But In Call screen looks weird with 480 DPI right? Would you know any fix for that? Thanks.
Sent from my SM-G925F using XDA Free mobile app
Click to expand...
Click to collapse
Yup, it does. (But again, doesn't bother me as much as I don't look at it long because I usually hold my phone to my ear anyway ).
But yeah, I think I know where to fix it... It's the Contacts apk I mentioned above but there is an issue with decompiling/rebuilding it so can't fix it yet. Looking into it.
Did notice when decompiling and recompiling including resources it fails, when keeping resources intact it does work.
To successfully mod seccontacts you have to do these steps :
- Decompile apk
- Edit xml files in res folder
- Recompile apk
- Extract xml edited files in res folder from recompiled apk
- Paste these xml files in the original apk in the res folder with compression tool like Winrar
It works I made this with my S5.
Meh, been looking into it some more and also found this:
http://forum.xda-developers.com/android/software-hacking/how-to-recompile-tw-contacts-phone-t3066350
and
http://www.ez-pg.com/guide-how-to-decompilerecompile-lollipop-seccontacts.html
I tried modifying the manifest as instructed, but the apk still didn't work. Perhaps because signature verfication is not properly disabled on my rom. BUt if it isn't it is also not for the majority of the users in which case siumply supplying the apk wouldn't work anyway.
I also tried resigning the apk, no luck. Copying the original manifast is also not going to work afaik with a changed manifest file...
More info about signature verficiation:
http://forum.xda-developers.com/showthread.php?t=2725233
http://forum.xda-developers.com/showthread.php?t=2342262
Perhaps I will try this soon as well, but for now I think I'll leave it be...
sebdigital said:
To successfully mod seccontacts you have to do these steps :
- Decompile apk
- Edit xml files in res folder
- Recompile apk
- Extract xml edited files in res folder from recompiled apk
- Paste these xml files in the original apk in the res folder with compression tool like Winrar
It works I made this with my S5.
Click to expand...
Click to collapse
Thanks for the tip, had looked into that as well but this xml file is in the values folder which is not simply found in the res folder of the apk but compiled into the resources.arsc file in the apk so this is not working unfortunately.
dagrim1 said:
Thanks for the tip, had looked into that as well but this xml file is in the values folder which is not simply found in the res folder of the apk but compiled into the resources.arsc file in the apk so this is not working unfortunately.
Click to expand...
Click to collapse
I'm on 5.1.1 today and noticed that contacts/dialer is (almost) multi DPI already without having to do anything. And your camera mod works on 5.1.1 too!
Sent from my SM-G920F using XDA Free mobile app
can u change this Camera 480 dpi camera s6 to 420 dpi?
https://mega.nz/#!M4Ui0KoR!TKsPKkMl-XQHyiJ_DNf53eQCGZTrYWhuHaAnhAYXeSM
thanks you very much
can be used for other than s6 for SamsungCamera4. ??
my android device A8 6
dagrim1 said:
Decided to start a new thread as this one was getting a bit messy (and I couldn't change the title anymore)
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-multi-dpi-samsung-apps-camera-t3141148
----------------------------------------------------------
Hi all, after changing the dpi to 480 the camera was the main thing bugging me. Looking for a solution I found this thread:
http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-fix-samsung-camera-app-device-dpi-t3131995
But that did not work for me, so I decided to try it myself and I finally managed to create multi-dpi versions of the Camera and Samsung Keyboard apps. They are based on the apks from the XtreStoLite Universal Deo-Mod Edition 1.5 as I'm currently running that. So just give it a try (backup the original apks first! I usually just rename them to "filename.org") and let me know if it works for you. I tested on 480 and 520 dpi and that works here...
Installation:
1. Backup original apk (in system\app\SamsungCamera4 and/or systemm\app\SamsungIMEv2 )
2. Extract modded apk to the corresponding folder
3. Wipe data for the app
4. Reboot
I basically modified the dimens.xml file to hardcoded pixel sizes instead of dip value, modifying dip value caused other issues for me (camcorder not working, pro mode messing up). Hopefully it's of use to some.
I have not been able to fix the Contacts/Dialer (SecContacts_L.apk in the priv-app folder)! I either get a corrupt apk (parsing error) or it just won't show up in my apps. Corrupted apk gives a parsing error when trying to install manually, otherwise it just says 'install failed'.
I am guessing this is somethiong with the priv-app folder and other restrictions there. I also tried copying the apk to the system\app folder instead but that didn't work either...
If anyone has ANY idea how to fix this? (I tried with both apktool as apk multitool).
*SCRIPTS ADDED*
Added the scripts and all I've written for this to this post for those wanting to try themselves (dpi_mod.zip). They are not completely polished so need some manual editing every now and then...
Basically, doubleclicking apk_process.bat in the root will go through the apk's in the apk subfolder and
1. Decompile them to the decompiled subfolder
2. Edit the dimens.xml file in the res\values subfolder of the decompiled folder replacing all the <n>dip values with <4*n>px (So 640 dip becomes 2560px for example...)
3. Rebuild the apk to the dpimod_apk subfolder (using the -c option to keep original manifest and signature files)
The files folder contains the files used (apktool, the subscripts for each step, signature files, (g)awk and an awk script to process the xml file replacing the values, etc)
There is also a script for signing the apk manually, but somehow the apk then also doesn;t work in my case it seems...
ALl scripts are windows batch files (and an awk file) as I mainly use windows at home. Shouldn't be too hard for the linux users to convert them to bash files if desired...
*EDIT2*
Added patched services.jar (and original services.jar for restoration in case of issues). Flash through twrp recovery... This allows you to use the modded SecContacts_L.apk supplied, the services.jar needs to be patched to disable the signature verification for the (system) apk files. Note that this might cause issues (an invalid services.jar caused my phone to get stuck in boot... had to restore the original to be able to continue) so use at your own risk!
Click to expand...
Click to collapse
how to fix on parse error, after recompile SamsungCamera4.apk with apktool
with or without edit error on parse...
My device Galaxy-A8

can not create file/folder in system area (phone already rooted)

I want to use root explorer to copy some file into some system folder,
root explorer can successful mount system as RW. but when I copy files, it failed and show "read-only".
the strange things is: I can rename or modify a file/ folder, for example: I can modify "build.prop" and save it successfully.
so the problem is: I can't create new files or folders, but I can modify existing file an folders?

(FIXED CAN BE CLOSED) Need stock file manager

so I deleted a lot of things I didn't need, one of those being the stock file manager with the blue icon named "files" and now I can't enable apps to write to the SD card because apparently it needs that app to grant SD card usage and I can't find it anywhere, does anyone can share it please?
thanks in advance
EDIT:
managed to get it by merging the sparsechunks to create a .img file and then extracting it, if you ever need it here is the guide:
https://forum.xda-developers.com/showthread.php?t=2663029
There is a file explorer made by Motorola or try Google files go that your phone should of got if you have Android Go Edition or check APK. File on internet explorer

Categories

Resources