Related
When i add/remove things from update.zip do i have to edit the update script? thanks
JJbdoggg said:
When i add/remove things from update.zip do i have to edit the update script? thanks
Click to expand...
Click to collapse
Yes. Use notepad++ to edit it.
Binary100100 said:
Yes. Use notepad++ to edit it.
Click to expand...
Click to collapse
Really...I have never edited an update script and all my edits after signing the file have worked just fine. Just test it without touching the update script and if it doesn't work then update the update script.
Also you sig is hilarious (JJbdoggg). I had to sit and watch it a few times to quit laughing.
thanks(david1171 i got it here http://forum.xda-developers.com/showthread.php?t=528334)
the reason i want to know is whenever i make a update.zip file it always aborts halfway through saying something about not finding update script
JJbdoggg said:
When i add/remove things from update.zip do i have to edit the update script? thanks
Click to expand...
Click to collapse
If you've just added or removed files from /system, then no. update-script just flashes the entire system directory without caring what the contents are. You only really need to modify update-script if you want to change some initial aliases, change the directory[ies] being flashed, that sort of thing.
jashsu said:
If you've just added or removed files from /system, then no. update-script just flashes the entire system directory without caring what the contents are. You only really need to modify update-script if you want to change some initial aliases, change the directory[ies] being flashed, that sort of thing.
Click to expand...
Click to collapse
thanks, just to clarify if i add something to /system/app no edit of the update script is needed but if i add something to /data/app an edit is needed
JJbdoggg said:
thanks, just to clarify if i add something to /system/app no edit of the update script is needed but if i add something to /data/app an edit is needed
Click to expand...
Click to collapse
Yes, because most update-scripts do not touch /data. For good reason too, because everything in a stock update.zip is meant to survive a wipe (Alt+w)
david1171 said:
Really...I have never edited an update script and all my edits after signing the file have worked just fine. Just test it without touching the update script and if it doesn't work then update the update script.
Also you sig is hilarious (JJbdoggg). I had to sit and watch it a few times to quit laughing.
Click to expand...
Click to collapse
I guess it depends on what is already on the update-script file.
If you are trying to add something to a theme template then yes.
But if you are trying to modify a rom or make one of your own then probably not.
thanks guys ill give it another go now
I didn't feel like plugging my phone into the computer so I emailed myself an apk file (arctu's Mms.apk) because for some reason...it seems to revert back to stock every reboot...
Anyway, I didn't have any terminal apps so I used Root Explorer to copy then paste over the existing apk. didn't work. Why not? Is there a something different about copy/paste?
If you didn't say you mounted the partition I can only assume it was not mounted as r/w and still at r/o.
copy/paste - visual representation of cp
push - pushing files from computer to phone
They are not the same.
SiNJiN76 said:
I didn't feel like plugging my phone into the computer so I emailed myself an apk file (arctu's Mms.apk) because for some reason...it seems to revert back to stock every reboot...
Anyway, I didn't have any terminal apps so I used Root Explorer to copy then paste over the existing apk. didn't work. Why not? Is there a something different about copy/paste?
Click to expand...
Click to collapse
Yeah, what didn't work? lol.
djmcnz said:
Yeah, what didn't work? lol.
Click to expand...
Click to collapse
the mms app didn't overwrite. But it could have been user error. I'm using Enom's ROM and didn't have the Community Mms Mod checked...so maybe if I had done that first...it would have worked.
Pushing is taking a file from the computer to copy and paste/overwrite the existing file on the phone. What's the difference where the file is being copied over from? Are you sure about what you were trying to explain?
SiNJiN76 said:
Are you sure about what you were trying to explain?
Click to expand...
Click to collapse
k?
I didn't try and explain anything (in this thread at least)?
Either way, yes push literally "pushes" a file to a specified location. However that file needs to be written and if the file system is mounted as read only you will get errors.
If it didn't work you must have received an error message (in root explorer for example), what was that message? If you don't get an error message and the file is still not being written then get a better file manager (ES File Explorer).
The suggestion above by 'evilkorn' was to make sure the file system is in read/write mode before you copy the file over... you can do this in Root Explorer or ES File Explorer.
If your file system is in r/w AND you still don't get an error message AND it still doesn't work then I would try an ADB push as a last resort and if that didn't work, reflash and start from step one I think...
SiNJiN76 said:
What's the difference where the file is being copied over from? Are you sure about what you were trying to explain?
Click to expand...
Click to collapse
Because that was your question in the title, which I answered, they are different terms for different things. You can't push a file on your phone to your phone, you copy it (cp).
You still didn't answer my question... It's hard to help someone when the suggestions fall on deaf ears and all you get is reverb and static back.
evilkorn said:
Because that was your question in the title, which I answered, they are different terms for different things. You can't push a file on your phone to your phone, you copy it (cp).
You still didn't answer my question... It's hard to help someone when the suggestions fall on deaf ears and all you get is reverb and static back.
Click to expand...
Click to collapse
LoL. You gotta ask a question first before I can answer it. You made assumptions, didn't ask questions. LoL. Anyway, I wasn't trying to crawl under your skin. But maybe next time you can read the OP in addition to just reading the title of the thread? Usually, details are given to accompany the title of the thread on the first post. Either way, I guess I wasn't detailed enough. Thanks for your feedback, tho, appreciate it.
@djmcnz - Sorry, my error in quoting the wrong person. Thanks for you explanation, also.
So, to summarize...Push and Copy/Paste should produce the same outcome, right? Cool...like I said earlier...it was my error in not knowing that I had to use the Spare Parts option in Enom's ROM to enable Community MMS.
I use root explorer all the time when I can't use a computer to use adb. It works fine. Usually if its the system partition you have to click the icon that says r/o and it changes to r/w. This will allow you to write files to the partition. Then from what I noticed a reboot usually fixes any issues of stuff not working.
Hey Guys,
Asus just came out with a new writing app for their transformer (I believe?)
has anyone attempted to pull the apks and necessary's .so's in order to see if it works on the xoom?? If not, would anyone be willing to pull them so I can give it a try
trying to turn my xoom into a fully functioning school machinnneee
Thanks in advance
feel free to PM me if need be
Could i get a link that you say?
im looking for a link myself
anyone any luck with this yet?
I know it's the long way round, but you could probably extract it from this:
http://forum.xda-developers.com/showthread.php?t=1283081
So I gave it a try and it worked. Just drop the apk into /system/app/ set the permissions and reboot.
qubit76 said:
I know it's the long way round, but you could probably extract it from this:
http://forum.xda-developers.com/showthread.php?t=1283081
Or here, the system dump
http://forum.xda-developers.com/showthread.php?t=1281059
So I gave it a try and it worked. Just drop the apk into /system/app/ set the permissions and reboot.
Click to expand...
Click to collapse
Whoa thanks! I also pulled out a few other apks that work great.
qubit76 said:
I know it's the long way round, but you could probably extract it from this:
http://forum.xda-developers.com/showthread.php?t=1283081
Or here, the system dump
http://forum.xda-developers.com/showthread.php?t=1281059
So I gave it a try and it worked. Just drop the apk into /system/app/ set the permissions and reboot.
Click to expand...
Click to collapse
Would you please tell me how to set permission to install?
tritran18518 said:
Would you please tell me how to set permission to install?
Click to expand...
Click to collapse
Im assuming you have a file manager installed (Root Explorer, Es File Explorer)
You have to long press the app, after moving into proper folder /sysstem/app/ and set the same permissions as the others (I cant remember which ones they are exactly but you will be able to tell once in the file system).
tincbtrar said:
Im assuming you have a file manager installed (Root Explorer, Es File Explorer)
You have to long press the app, after moving into proper folder /sysstem/app/ and set the same permissions as the others (I cant remember which ones they are exactly but you will be able to tell once in the file system).
Click to expand...
Click to collapse
I already did that, but no luck. Still can't install. Its size is 8.2mb ,isnt it?
can someone post the apk here. Greatly appreciated
tritran18518 said:
I already did that, but no luck. Still can't install. Its size is 8.2mb ,isnt it?
Click to expand...
Click to collapse
Did you move the .odex file too and set permissions?
Attached the file here just in case
Hopefully someone can help me here, I followed the links and after a few attempt's of being told too much traffic I was able to download the system dump, I Extracted on my PC moved the email widget and the supernote APK's to the internal storage of the zoom, then I use Astro to install them it starts the process but if fails I get an error message saying file not installed, what do I need to do so this installs ? and where do I put the ODEX file ? and how do I sign them ?
thanks
arimus said:
Hopefully someone can help me here, I followed the links and after a few attempt's of being told too much traffic I was able to download the system dump, I Extracted on my PC moved the email widget and the supernote APK's to the internal storage of the zoom, then I use Astro to install them it starts the process but if fails I get an error message saying file not installed, what do I need to do so this installs ? and where do I put the ODEX file ? and how do I sign them ?
thanks
Click to expand...
Click to collapse
You didnt follow the instructions. You shouldnt be trying to install anything because the .apk's are not signed.
However, if you move supernote.apk and supernote.odex into system/app and set proper permissions and then reboot it will work.
still cant install this app. I move both supernote.apk and supernote.odex to system/app. try to set permission in many different ways, but this app still not be installed. i guess i give up.
tritran18518 said:
still cant install this app. I move both supernote.apk and supernote.odex to system/app. try to set permission in many different ways, but this app still not be installed. i guess i give up.
Click to expand...
Click to collapse
Are you setting the permissions exactly the same as all other apps in system/app and are you rebooting?
I cant remember which set worked for me - I downloaded the Dump and the ROM but I know one didnt work.
Try both.
tincbtrar said:
Are you setting the permissions exactly the same as all other apps in system/app and are you rebooting?
I cant remember which set worked for me - I downloaded the Dump and the ROM but I know one didnt work.
Try both.
Click to expand...
Click to collapse
Yes, there are two types of permission: rw-rw-rw and rw-r-r. I alredy tried and reboot but still didnt work. I download the dump image. Trying down the Rom now.
---------------
Ok. Using the .apk from the ROM, i got the app installed but FC upon opening.
---------------
finally, got the app working.
+ get the app from ROM link, not the dump link
+ copy supernote.apk to sytem/app
+ using root explorer/es file explorer, set permission : read-write for user-group-and other (rw-rw-rw).
+ reboot
Can someone please save everyone a lot of trouble and post the .apk from the ROM?
here is the link for the app: http://www.multiupload.com/GX9O2CTQ1W
finally, got the app working.
+ get the app from ROM link, not the dump link
+ copy supernote.apk to sytem/app
+ using root explorer/es file explorer, set permission : read-write for user-group-and other (rw-rw-rw).
+ reboot
Click to expand...
Click to collapse
--------------------
There is another app from market with is similar to this Supernote app in term of UI and Funtions call FreeNote. You guys might want to check it out.
I signed the apk.. it works on my Galaxy Tab 10.1
no need to root - just install
http://goo.gl/ciSZH
Thanks!
Sent from my Evo3D
justvinz said:
I signed the apk.. it works on my Galaxy Tab 10.1
no need to root - just install
http://goo.gl/ciSZH
Click to expand...
Click to collapse
How do you sign the apk? Thanks.
Most of the guides ive read on XDA say you have to decompile and recompile APKS just to make a couple of modifications to the images. Well I dont believe this to be true. I have tested my method on ubuntu 14.10 and with my nexus 5.
This guide is specifically for modifying images inside of the apks, not the code, or xml itself.
- ADB pull the APK file you want to modify (i chose SystemUI.apk)
- Double click it in File Manager on ubuntu, this should open it up in the archive manager. If not, manually open it up in archive manager
- Click on the "Add Files" button and select which files you want to replace. It will automatically overwrite the current ones.
- Make sure that you are keeping the proper directory structure and are putting the images in the proper place with proper names.
- Copy the new APK file back to your device on /sdcard/file.apk
Then, to get the APK file back on your system without causing problems, I rebooted into TWRP, mounted system and went into the file manager and copy/pasted the APK in the appropriate folder. When you get back into android, chmod 644 new-file.apk. I would not suggest trying to copy the modified APK file into your system while android is running live. Thats why I did it in TWRP. It could cause system unstability, crashing, etc... Im sure that I am not the first person to realize this could be done, but I did discover this on my own because I like to try things. PLEASE, make a backup in case something doesnt work correctly after your mod. Good luck!
bynarie said:
Most of the guides ive read on XDA say you have to decompile and recompile APKS just to make a couple of modifications to the images.
Click to expand...
Click to collapse
Mine doesn't.
XperienceD said:
Mine doesn't.
Click to expand...
Click to collapse
Um, not to be rude but the guide on your signature shows using apktool to decompile and recompile. Soo....? Unless its another guide. And Im not saying ALL guides are, but some, and thats ok. Could you link me to your guide please? I would love to take a look at it. Thanks
EDIT - woops im sorry i didnt really read it... i do see where it says drag and drop the images... good deal. sorry
bynarie said:
Um, not to be rude but the guide on your signature shows using apktool to decompile and recompile. Soo....?
Click to expand...
Click to collapse
Edit: No need for my original reply as you found it.
XperienceD said:
Edit: No need for my original reply as you found it.
Click to expand...
Click to collapse
Yes, and your guide is very good. Thank you for that.
I am rooted with Busybox installed via magisk. SU root check was done and i am rooted for sure. However i cannot seem to modify the build.prop file. Can anyone advice please
Install Solid Explorer and try again edit with this file explorer
Trevorek said:
Install Solid Explorer and try again edit with this file explorer
Click to expand...
Click to collapse
Good looking app however it can not copy the cache to the system/build.prop.
In other words, it can not save changes like everything else
FKX1997 said:
Good looking app however it can not copy the cache to the system/build.prop.
In other words, it can not save changes like everything else
Click to expand...
Click to collapse
i had this problem with new version of magisk (23 beta+)
now i use older version ,everything work fine (full control on system files)
(i use mixplorer)
loopypalm said:
i had this problem with new version of magisk (23 beta+)
now i use older version ,everything work fine (full control on system files)
(i use mixplorer)
Click to expand...
Click to collapse
Which version are you using please
Update, checked my root and it is all working as it should be, yet i can not write to system. I have access to ADB but i need to add "ro.debuggable=1" to build.prop to do more work on the phone
FKX1997 said:
Which version are you using please
Click to expand...
Click to collapse
right now i use 21.1
loopypalm said:
right now i use 21.1
Click to expand...
Click to collapse
Just add the prop edit to a magisk flashable zip
In magisk flashable zip empty go to common/system.prop edit with text editor and add the prop you want to change then flash zip
toolhas4degrees said:
Just add the prop edit to a magisk flashable zip
In magisk flashable zip empty go to common/system.prop edit with text editor and add the prop you want to change then flash zip
Click to expand...
Click to collapse
Too many things to just edit a prop ...
plus the prop was not the only problem i got, i could not write to some folders in system
i think he fixed the problem in 24 ,but i'll keep using 21.1 anyway ...
loopypalm said:
Too many things to just edit a prop ...
plus the prop was not the only problem i got, i could not write to some folders in system
i think he fixed the problem in 24 ,but i'll keep using 21.1 anyway ...
Click to expand...
Click to collapse
Really it's not to many things it literally takes 20 seconds. I know the issue. And the dynamic part one are mainly it. That's why I suggested what I told you.
toolhas4degrees said:
Really it's not to many things it literally takes 20 seconds. I know the issue. And the dynamic part one are mainly it. That's why I suggested what I told you.
Click to expand...
Click to collapse
I think he'd rather take the chance of boot looping your advice was the best so far
loopypalm said:
Too many things to just edit a prop ...
plus the prop was not the only problem i got, i could not write to some folders in system
i think he fixed the problem in 24 ,but i'll keep using 21.1 anyway ...
Click to expand...
Click to collapse
Sadly the issue persists and i haven't made a magisk module before so i may need some help on that one please
I added it to the cloudflare 2.7 zip, i expect i shouldn't see it in the build.prop still but it would be loaded in memory? as i have it in the build.prop, the line i wish to have but set to 0 when i have set it to 1 on the system.prop file
(to clarify the line was in the build,prop by stock set to 0)