How to fix MultiROM Update-Script Errors - Nexus 5 Android Development

It has been noticed that a lot of MultiROM users are having issues installing ROMs that are Android Version 5.0.1 or Later.
This is because the Update-Script in the ROM zip is outdated, but I have an updated version and I will show you how to put it in the ZIP easily.
- What you will need
1. ZArchiver ( https://play.google.com/store/apps/...hiver&pcampaignid=APPU_i8qjVOPUBsGqgwTX8IDgBQ ) AND A file Browser of your choosing ( I used Solid Explorer, or ES File Explorer )
2. Your ROM of choice
3. Updated Update-Script ( https://www.dropbox.com/s/k0kklawxwc7o7xb/updater-script.zip?dl=0 )
**Note**: This Update script is NOT my original work. It belongs to another user who provided the Update-Script on another ROM post. If anyone could send me the Username of the user and the download link he provided, I will update the OP properly Thank you~
~Steps~
1. Go into Emulated/0/Downloads, and move your ROM.zip (ROM being your ROMs name) and the Update-Script.zip into a New Folder ( Such as "Update-Script Fix" )
2. Now Extract the Update-Script ( If Extracted correctly, the File should be 2.14KB. It may extract to its own folder )
3. Now Open ZArchiver you got from the play store, and Navigate to Emulated/0/Downloads/ ~Folder name you chose~ then Tap on the ROM.zip and hit VIEW
4. When it opens, Then navigate to: META-INF/com/google/android
5. Hold down on the Update-Script ( The one already there. Should be 3.16 KB or so. ) Then Tap Delete ( This should take 15 Seconds )
~Note~ The page doesn't refresh on it's own. Simply push the Back button then go back into the Android folder and the Update-Script should be gone.
6. Now tap the button at the bottom ( The Page with the + symbol ) and hit Add File
7. Navigate once more to your Folder directory in Downloads, and then Select the Updated Update-Script you extracted and it Add. ( Again, this should take 15 Seconds ).
And when that's done, Your all done ^3^ and now your ready to flash your ROM through MultiROM like a champ.
Again, if anyone can send me the original posting that gave me the Update-Script, that would be awesome since he deserves all the credit for his Update-Script.

Hello
Can you tell me what did you change pls ? (i want to bring it to the g2)

genesixxbf3 said:
Hello
Can you tell me what did you change pls ? (i want to bring it to the g2)
Click to expand...
Click to collapse
I write it step by step here http://forum.xda-developers.com/showthread.php?p=57755094

Tylog said:
I write it step by step here http://forum.xda-developers.com/showthread.php?p=57755094
Click to expand...
Click to collapse
Thanks !! Mine works fine then I've just a issue with the kernel

Good morning and happy new year, big fixes, proven slim and resurrection and confirm that it works ... but not before!
great and congratulations.

While I do agree with most posters in this thread...can we at least thank him for the good intent? This is why people get scared off guys.
For future reference, you do need permission to post it. And this is probably better suited in General section. But thank you, and I hope the original poster allows you to share this.

There is an existing discussion on this issue.
Please use the existing thread for further discussions.
http://forum.xda-developers.com/showthread.php?p=57755094
thread closed for being a duplicate

Related

[Tutorial][Share][Flash] Adobe Flash Player 11 On All Browsers For Galaxy Y!

Ok... I found this on Galaxy Y United (Previously Galaxy Y Gaming Club) This post (Its kinda old technology), I tried it and it worked for me, Its Adobe Flash Player On ALL BROWSERS, Not just UC! I only tried it on Dolphin though... I've been told this is taken from an XDA post, so, owell... I could'nt find that post anyway, might as well share this to all the new users who never saw that post.
99.99% of the credits goes to the original writer, I just shared this.
Steps
1. Download Adobe_Flash_Player apk and lib.zip from below.
2. Install Adobe_Flash_Player apk from attachment below
3. After installing, go to any Root Browser.
4. Go to /data/data/com.adobe.flashplayer and open the folder, delete existing lib folder.
5. After deleting, extract the lib folder attached below and copy it to /data/data/com.adobe.flashplayer
6. When replaced, again go to /data/data/com.adobe.flashplayer/lib; then there are two files:
+ libflashplayer.so
+ libstagefright_froyo.so
7. Set permissions of libflashplayer.so to
r-r-no
r-no-no
r-no-no.....
here "r" refers to checking d box
8. Set & save permissions of libstagefright_froyo.so to
r-r-no
r-no-no
r-no-no.....
here "r" refers to checking d box
9. Set & save the permissions of lib folder to
r-no-r
r-no-r
r-no-r
10. Now lastly, set & save permissions of com.adobe.flashplayer to
r-no-r
r-no-r
no-no-r
Ignore the 4th row (If there is a 4th row) I did it with root exporer, Any other apps to do it?
The blog is kinda dead now, I would highly recommend Galaxy Y Arena on all apps and games update. Really good.
Kindly post feedback. Press thanks if you liked this too!
You should check before posting. This post has been taken from XDA. the blog is just reshared it.
*bumper*
emjimadhu said:
You should check before posting. This post has been taken from XDA. the blog is just reshared it.
*bumper*
Click to expand...
Click to collapse
Lol? I did check, and i wondered why it wasn't in the forums. Owell.... Might as well help a few newcomers that couldnt find THAT thread.
Rcain said:
Lol? I did check, and i wondered why it wasn't in the forums. Owell.... Might as well help a few newcomers that couldnt find THAT thread.
Click to expand...
Click to collapse
It is a very old post actually. That might be a reason. Why you couldnt find it. Anyway, good luck for the future shares.
work!!
ouch.. work for me.. using miren browser.. tried all flash player i found before and doest work.. this one work like charm..
Woowoww..
Its GYGA right!!
Ok dude remove blog links becoz blog contain warez..
its working but after reboot the 2 files in libs missing, have to add it again averytime reboot...
Manoj The Gamer said:
Woowoww..
Its GYGA right!!
Ok dude remove blog links becoz blog contain warez..
Click to expand...
Click to collapse
GYGC not GYGA
Sent via Rajnikanth
Rcain said:
Ok... I found this on Galaxy Y United (Previously Galaxy Y Gaming Club) This post (Its kinda old technology), I tried it and it worked for me, Its Adobe Flash Player On ALL BROWSERS, Not just UC! I only tried it on Dolphin though... I've been told this is taken from an XDA post, so, owell... I could'nt find that post anyway, might as well share this to all the new users who never saw that post.
99.99% of the credits goes to the original writer, I just shared this.
Steps
1. Download Adobe_Flash_Player apk and lib.zip from below.
2. Install Adobe_Flash_Player apk from attachment below
3. After installing, go to any Root Browser.
4. Go to /data/data/com.adobe.flashplayer and open the folder, delete existing lib folder.
5. After deleting, extract the lib folder attached below and copy it to /data/data/com.adobe.flashplayer
6. When replaced, again go to /data/data/com.adobe.flashplayer/lib; then there are two files:
+ libflashplayer.so
+ libstagefright_froyo.so
7. Set permissions of libflashplayer.so to
r-r-no
r-no-no
r-no-no.....
here "r" refers to checking d box
8. Set & save permissions of libstagefright_froyo.so to
r-r-no
r-no-no
r-no-no.....
here "r" refers to checking d box
9. Set & save the permissions of lib folder to
r-no-r
r-no-r
r-no-r
10. Now lastly, set & save permissions of com.adobe.flashplayer to
r-no-r
r-no-r
no-no-r
Ignore the 4th row (If there is a 4th row) I did it with root exporer, Any other apps to do it?
The blog is kinda dead now, I would highly recommend Galaxy Y Arena on all apps and games update. Really good.
Kindly post feedback. Press thanks if you liked this too!
Click to expand...
Click to collapse
bro this post is already available for galaxy-y(all ARM V6)...
http://forum.xda-developers.com/showthread.php?t=1744950&highlight=flash+player
please don't repeat posts....even the reboot problem was solved there....
search properly before posting any thing....
no lib file
why no lib file when i install this apk?
wanyakuza said:
why no lib file when i install this apk?
Click to expand...
Click to collapse
have you not seen the lib file in the attachment on the first post?
read the thread fully and follow the instructions
marcussmith2626 said:
have you not seen the lib file in the attachment on the first post?
read the thread fully and follow the instructions
Click to expand...
Click to collapse
i did not mean that lib file.i mean no lib file after install adobe flash apk?
wanyakuza said:
i did not mean that lib file.i mean no lib file after install adobe flash apk?
Click to expand...
Click to collapse
why would there be - you have to manually add the lib files provided in the first post
please read the instructions
these files are from my adobe flash player thread
you should have asked my permission before posting these files.
amit34521 said:
these files are from my adobe flash player thread
you should have asked my permission before posting these files.
Click to expand...
Click to collapse
I dont see how you can make that claim
data of this thread - 2 dec 2012
date of your thread here - 26 june 2013
plus these libs are widely available on google - unless you have developed them yourself or made changes to the source code which can show on github I dont understand what claim you can make but if you have a problem you can always ask a mod to investigate
marcussmith2626 said:
I dont see how you can make that claim
data of this thread - 2 dec 2012
date of your thread here - 26 june 2013
plus these libs are widely available on google - unless you have developed them yourself or made changes to the source code which can show on github I dont understand what claim you can make but if you have a problem you can always ask a mod to investigate
Click to expand...
Click to collapse
i never found them on google but on 4pda.ru as far as i remember thats why i as asked them for permission to publish it here. if it is free to share now then I apologize as i had no idea

Flashable zip..

I don't know how to decompile and compile..
If anybody could make this one a flashable zip??.
Thanks a ton..
This is for those of us who preferred the stronger haptic feedback strength of the capacitive buttons that we had from 2.3.5 (and also for those who haven't taken the ICS plunge). The basic steps of this could probably also be used for other changes to the framework-res.apk. These are the steps I used and are by no means the best way to do this (in fact, this probably guarantees it's not the best way  ).
As always, you should be careful when performing any modifications to things like this. I STRONGLY suggest making a nandroid backup and an extra copy of your framework-res.apk in case you want to switch back. Also, you should have cwm on boot enabled so you can always get back to a working condition if you end up in a boot loop. This worked perfectly for me on my first try, but that doesn't mean much . You do all things at your own risk!
You will need:
APK Manager
7zip
Notepad++
Not on ICS!
1. Extract (copy) your framework-res.apk found in \system\framework\
2. Put copy in the "place-apk-here-for-modding" in APK Manager (you may want to re-name the file so you can remember what version/ROM you took it from)
3. Open the APK Manager script and select the apk you want to change
4. I set the compression to 0 and heap size to 512mb (I saw several threads that suggested these settings)
5. De-compile the apk
6. Find the decompiled apk in the "Projects" folder and open it up
7. Navigate to \res\values\arrays.xml and open with Notepad++
8. Find:
And replace with:
9. Save the file
10. Compile the apk. When asked "Is this a system apk?", I said "yes". And then when asked if anything else needs to be copied, I said "no".
11. Using 7zip, open the new apk as an archive found in "place-apk-here-for-modding" folder.
12. Also, open the original apk as an archive with 7zip
13. Drag and drop the "res" folder and "resources.arsc" file from the NEW apk into the ORIGINAL apk
14. Use your favorite method of getting the modified ORIGINAL apk back in your \system\framework\ directory on your phone
-I prefer to hi-jack someone's flashable zip and put my own framework-res.apk--I used AlteredLikeness's "The Stock Monster" http://forum.xda-developers.com/showthread.php?t=1645950 since I'm using stock, odexed 2.3.6. Thanks AlteredLikeness!
I understand there are a dwindling few still using 2.3.6 and the days of GB are numbered for the A2, but I hope this still helps someone! If you have any questions, feel free to post, but try to do some research first (that's how we all learn this stuff  ).
Peace Out!
Sent from my GT-I9100 using Tapatalk 2

[MODS][GUIDE]Custom sounds/Ports/Build prop tweaks(Update)

Ok guys and gals this thread started as custom lock screen on/off sounds but since then i have found in my opinion another cool mod from the s4 forum that is compatible on our devices that i think you may enjoy as well. These are not my mods in anyway i just found,tried and confirmed these working on the Note3. Please give credit where it is due if you use these mods/ports.
.........ALWAYS MAKE YOUR BACKUPS BEFORE MODDING ANYTHING!........
First up is the custom on/off lock screen sounds by a guy over on the Sprint S4 forum by the name of dav3wash so don't forget to hit that thanks button when you get over there.
1)Pick and download any of the Lock/unlock sounds you wish from the link below.
2)Extract the Lock.ogg and unlock.ogg from the zip and place on sd card in a new folder named whatever you wish.
3)With any file explorer with root access Navigate to [System / system / Media / audio / ui]
4)Scoll down til you see Lock.ogg and unlock.ogg
5)Delete or move stock sounds to the folder you made in step (2) (Incase you want to go back to stock).
6)Place custom Lock.ogg/unlock.ogg where the stock ones were shown in step (3)
7)Back out of file explorer and reboot your device.
8)After reboot Navigate to [Settings / device / lock screen / unlock effect / and set to ripple/ink] and your good to go!!!!!
http://forum.xda-developers.com/showthread.php?t=2304198
Hope you enjoy these sounds!!!
If for any reason you would like to go back to stock the link below is the stock lock.ogg/unlock.ogg zip. This zip is non-flashable and must be pushed the same way you pushed the custom sounds. https://www.dropbox.com/sh/iw4u1ak89vl233g/AADXINdF3qBGr65eWPOLNfJ5a?dl=0
Next on the list is the Penguin ROM N7 Animations Port.(Sadly not working on NH7 or Nk4) I think this might be one of the coolest animations I've seen. Ive used this port on the s4 and now here on the Note3. CPA Poke's install method uses TWRP but i used Philz Touch and it worked fine .This ported animation originally came from a developer by the name of Skyfall007(Maker of the Penguin Rom1.1 / 4.2.2) on the Nexus 7 forum found here http://forum.xda-developers.com/showthread.php?p=41820147 and seshmaru found here http://forum.xda-developers.com/showthread.php?p=16420559 for technical reasons i can barely comprehend and was ported over by CPA Poke. You can find him in the s4 forums and probably the Nexus 7 forums .Thank all these guys for their hard work. All the downloads and install/uninstall instruction for this animation port can be found in the link below.
HAPPY MODDING!!!!!! Penguin ROM N7 Animations Port http://forum.xda-developers.com/showthread.php?p=42424224
How can I get the stock sound
Jocutz1987 said:
How can I get the stock sound
Click to expand...
Click to collapse
Thats a good question. You dnt have them saved in your phone?
It's OK I back up my rom be for I did it
Jocutz1987 said:
It's OK I back up my rom be for I did it
Click to expand...
Click to collapse
Posted a link up top .
So I was poking around and came acorss these in my travels. typically these would fall under the themes and apps section but beings they are listed for Note 4 apps I thought I'd post them here incase anyone was interested. Please give albe95 thanks for posting these over at the Galaxy s4 forum. (Note 4 apps.) Enjoy!!! http://forum.xda-developers.com/galaxy-s4/themes-apps/exclusive-note-4-apps-collection-t2882577
Got another mod here for all you guys and gals. Are you sick of that annoying droplet sound that you get everything you touch in app or menu? I know I sure was! So here's an alternative. The it will be a zip file you download THEY ARE NOT FLASHABLE!!!! They must be installed manually.
1)Use any root file manager and navigate to root system/media/audio/ui
2)Pull the TW_Touch.ogg and S_HW_Touch.ogg and save them to a new folder incase you wanna go back to stock sounds
3)Extract the content in the zip file that you downloaded from the link below.
3Copy the extracted files and paste them in there rightful places that you previously pulled your stock sounds from.
4) Back out of your file manager and reboot.
All done!!! Enjoy!
Just so you know the TW_Touch.ogg is for anything on screen that is touched and the S_WH_Touch.ogg is for your (Back) and (Menu)
Im gonna upload a few more options here shortly but for now check out the one I linked. Hope you like.
https://www.dropbox.com/s/eybkqkhce1w0htu/Droplet touch replacement.zip?dl=0
So I was going to upload more touch sounds which I am still going to do. The link below is my current setup which I find the sounds to match perfectly with the screen transitions mod that I'm running which would be the N7 posted above. However I thought I'd just throw this out there.
Assuming your already rooted and have a root file manger. (I use FX root manager)
If you go to root system/system/media/audio/ui theres a list of all the sounds for this device.
Just check out all the sounds available and find one you like for a touch sound.
Long press the sound you wish and a menu should appear.
Copy the sound and store it by press paste somewhere that is easy for you to access.
Now just rename the sound.
TW_Touch.ogg for screen touch and S_HW_Touch.ogg for (Back) and(Menu)
After you've renamed them go back into ui sounds and find the stock sounds I just listed and move them to a file incase you wanna return back to stock.
Now take the sounds you renamed and put them in the stock sounds place.
Back out and reboot. And there you go. (My touch sounds) https://www.androidfilehost.com/?fid=95784891001609348 This is a NON-FLASHABLE zip
And as always have a back up just in case!!! If you've found this useful… Hit that thank you button!!!
Ok guys and gals I got something new for you. Are you a fan of S-finder and Quick Connect in your notification drop down but running a rom that doesn't have this included in the package? Well today is your lucky day my friends. I've tested and confirm working on fre3 rom 2.25b only so if you try with other roms please drop by to list the rom you've got it running on so that others may know. And incase you was wondering (tbltespr) is for the Sprint Note Edge. I was wondering if I would get some edge feature but S-finder and Quick Connect is all that popped up. Ok ok here are the steps to get this little tweak working.
Oh and I AM NOT RESPONSIBLE IF YOU DESTROY YOUR DEVICE SO TRY AT YOUR OWN RISK!!!
1) Have a back up or make a back up from the recovery of your choice of your current set up incase anything goes wrong in the process.
2) This is a build prop tweak so you will need to download a build prop editor from the playstore. I use this one but any will probaby work just as well. "Build Prop Editor"
https://play.google.com/store/apps/details?id=com.joeykrim.buildpropeditor
3)You will need to download and install the Quick Connect apk non-flashable zip from this link here.
https://www.androidfilehost.com/?fid=95897840722645991
Theres 2 apk's in the download zip folder.
4)With your file manager navigate to your download folder find the zip you downloaded and tap to open then copy the 2 apk's then navigate to rooted system/systen/apps and paste the 2 files you copied and back out.
5)Once thats done open up the build prop editor you downloaded from the playstore.
6)Scroll over til you see where you do the editing now scroll down til you see
ro. product.name =hltespr and change it to tbltespr
ro.product.device = hltespr and change it to tbltespr
ro.build.product = hltespr and change it to tbltespr
7)When your done scroll back up and save your edit.
8)Now just reboot your device and profit.
If for any reason you wish to go back you can:
Restore your back up or change the tbltespr back to hltespr and delete the apk's and reboot.
Here's some screenshots if it helps. Hope you liked and happy modding!
Goat1378 said:
Ok guys and gals I got something new for you. Are you a fan of S-finder and Quick Connect in your notification drop down but running a rom that doesn't have this included in the package? Well today is your lucky day my friends. I've ...
Click to expand...
Click to collapse
Hi, may I know what theme you used? Thanks
Sent from my iPad using Tapatalk
This_Guyse said:
Hi, may I know what theme you used? Thanks
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
Sure thing!!! Its KromeX 4.4.4
http://forum.xda-developers.com/not...theme-kk-4-4-4-nh7-x-themes-11-27-14-t2955214 enjoy. Its explain really well but if you need any help let me know!
Odin Update Zips
So I came across these Odin updates in my travels and wanted to share incase anyone was interested. I didn't see anything said anywhere really. Hope I'm not reposting something that is already on here.
Odin v3.09.3 https://www.androidfilehost.com/?fid=24052804347763515
Odin v3.10.6 https://www.androidfilehost.com/?fid=24052804347763513
Hope this helps someone!

[Mod] 3-Way Reboot Menu - Miui 10.3.7.0 [Random]

3-Way Reboot Menu​
EU 10.3.7.0 version : Work fine
EU_Poco_F1_PowerMenu_Custom_Miui-10.3.7.0_Stable_by_Monpseudo.zip
To restore stock version , flash this file:
EU_Restore_Poco_F1_PowerMenu_Miui-10.3.7.0_Stable_by_Monpseudo.zip
Global 10.3.7.0 version : Someone to test? Not sure it works ...
Global_Poco_F1_PowerMenu_Custom_Miui-10.3.7.0_Stable_by_Monpseudo.zip ???
Make a system backup before the flash. The first start can be long...
To restore stock version , flash this file:
Global_Restore_Poco_F1_PowerMenu_Miui-10.3.7.0_Stable_by_Monpseudo.zip
Credit:
Thanks to @dr4kendroid by whom I was inspired to obtain this mod
Installation:
- Make a backup of system partition with twrp
-Use Twrp recovery to flash the zip file
Previous versions:
Poco_F1_PowerMenu_Custom_Miui-10.0.4.0_Global_Stable.zip
Poco_F1_PowerMenu_Custom_Miui-9.6.24.0_Global_Stable.zip
Poco_F1_PowerMenu_Custom_Miui-9.6.22.0_Global_Stable.zip
Poco_F1_Restore_PowerMenu_Miui-10.0.6.0_Global_Stable_by_Monpseudo.zip
Poco_F1_Restore_PowerMenu_Miui-10.0.4.0_Global_Stable.zip
Poco_F1_Restore_PowerMenu_Miui-9.6.24.0_Global_Stable.zip
Poco_F1_Restore_PowerMenu_Miui-9.6.25.0_Global_Stable.zip
Poco_F1_Restauration_PowerMenu_Miui-9.6.22.0_Global_Stable.zip
Update to 9.6.24 Global stable version
Is this work with miui 10
abdohop said:
Is this work with miui 10
Click to expand...
Click to collapse
No, just miui 9.6.24.0
Update 17/10/2018
Compatible with the 9.6.25.0 sotck version
Add 9.6.25.0 restore files .
Kindly make for MIUI 8.11.1 Android 9.
Update 2/11/2018
Addition of 10.0.4.0 Miui version
Update 18/11/2018
Addition of 10.0.6.0 Miui version
why we must flash zip?
1 use root explorer like mixplorer.apk,
2 go to system/media/theme/default and rename 'powermenu' to powermenu.apk2 (for backup that file)
3 download 'powermenu.zip' from attach files and delete '.zip' (cant upload file name 'powermenu' whitout '.zip' extensions)
4 copy file 'powermenu' from attach files to system/media/theme/default (check permissions 644)
5 no need reboot
for restore orginal files delete 'powermenu' and rename powermenu.apk2 to 'powermenu'. no need reboot.
mikussj3 said:
why we must flash zip?
1 use root explorer like mixplorer.apk,
2 go to system/media/theme/default and rename 'powermenu' to powermenu.apk2 (for backup that file)
3 download 'powermenu.zip' from attach files and delete '.zip' (cant upload file name 'powermenu' whitout '.zip' extensions)
4 copy file 'powermenu' from attach files to system/media/theme/default (check permissions 644)
5 no need reboot
for restore orginal files delete 'powermenu' and rename powermenu.apk2 to 'powermenu'. no need reboot.
Click to expand...
Click to collapse
Icons are there but clicks are not working since your zip is pngs only and not modding services.jar
mikussj3 said:
why we must flash zip?
.
Click to expand...
Click to collapse
Thank you for your solution but I am going to allow to bring you an answer
Because simply most of the users prefer to flash a zip file without having to make other manipulations. Many feel reassuring so by operating
But if you are willing I am also going to bring a quite small criticism in your description of your solution
mikussj3 said:
1 use root explorer like mixplorer.apk,
2 go to system/media/theme/default and rename 'powermenu' to powermenu.apk2 (for backup that file)
3 download 'powermenu.zip' from attach files and delete '.zip' (cant upload file name 'powermenu' whitout '.zip' extensions)
4 copy file 'powermenu' from attach files to system/media/theme/default (check permissions 644)
5 no need reboot
for restore orginal files delete 'powermenu' and rename powermenu.apk2 to 'powermenu'. no need reboot.
Click to expand...
Click to collapse
You sure you do not forget anything?
Because if you apply only it there will be no change.
50 % of the work is missing so that actually the new functions are present in powermenu . As for example to edit the services.jar file ...
Excuse me, it is not 50 % which it misses but 90 % in fact. Because you have to de-odex services.jar file, decompile services.jar file, recompile services.jar file, edit servives.jar file, and copy the new services.jar file in framework folder with 644 permission.
But I am certain that it is just any forgetting from you and that you fast go to correct your solution
Thank you in advance
slimshouki said:
Icons are there but clicks are not working since your zip is pngs only and not modding services.jar
Click to expand...
Click to collapse
i use mine ,'powermenu' and working perfect whitout modify service.jar. are you try my way? im on last EU miui 11.15. mayby on orginal global rom dont work?
jac10000 said:
Thank you for your solution but I am going to allow to bring you an answer
Because simply most of the users prefer to flash a zip file without having to make other manipulations. Many feel reassuring so by operating
But if you are willing I am also going to bring a quite small criticism in your description of your solution
You sure you do not forget anything?
Because if you apply only it there will be no change.
50 % of the work is missing so that actually the new functions are present in powermenu . As for example to edit the services.jar file ...
Excuse me, it is not 50 % which it misses but 90 % in fact. Because you have to de-odex services.jar file, decompile services.jar file, recompile services.jar file, edit servives.jar file, and copy the new services.jar file in framework folder with 644 permission.
But I am certain that it is just any forgetting from you and that you fast go to correct your solution
Thank you in advance
Click to expand...
Click to collapse
Of course this is the correct way to go. However, your deodexed services.jar is not good as stock in terms of performance, delays, random freezes and touch delays. Seems that some bugs exist in your kitchen. I tried it many times in 10.0.4 and in 10.0.6 with same behaviour. I revert back to stock.
Thank you for your efforts and your time as well
slimshouki said:
Of course this is the correct way to go. However, your deodexed services.jar is not good as stock in terms of performance, delays, random freezes and touch delays. Seems that some bugs exist in your kitchen. I tried it many times in 10.0.4 and in 10.0.6 with same behaviour. I revert back to stock.
Thank you for your efforts and your time as well
Click to expand...
Click to collapse
I have never had this kind of problems ...
jac10000 said:
I have never had this kind of problems ...
Click to expand...
Click to collapse
May be you cannot feel it now but you will certainly feel the difference if you flashed stock after a while.
Regarding modded systemui, tiny difference is not noticeable at all.
Dear dev, you're doing a unique job on both your mods. Please continue the same as they're both must have for the ones who are on MIUI.
Thanks a lot. Keep it going.!
Also if you're on Telegram, please mention your username in the OP so people can contact you easliy for bugs, requests etc.
Cheers.
psygarden said:
Dear dev, you're doing a unique job on both your mods. Please continue the same as they're both must have for the ones who are on MIUI.
Thanks a lot. Keep it going.!
Also if you're on Telegram, please mention your username in the OP so people can contact you easliy for bugs, requests etc.
Cheers.
Click to expand...
Click to collapse
Thank you for your encouragement
Sorry I don't have Telegram.
And I'm not a dev, just a user as you who got hooked to mod stock rom since a few years. I have never followed formation in computing and my job has nothing to do with that. It is just as a game for me to bring these modifications.
jac10000 said:
3-Way Reboot Menu
Discontinued
I am sorry, the adventure stops here for me.
That takes me too much time and that disrupts what I have to make at my home and my work.
For me that will stop to Miui 10.0.6
It is too fascinating and I have to dedicate myself to something else ...
Update 18/11/2018
Addition of 10.0.6.0 Miui version
[/HIDE]
Click to expand...
Click to collapse
Battery drain is horrible. Have you noticed that??
New Methods for bootloader and recovery added in
Smali seems is causing the problem.
slimshouki said:
Battery drain is horrible. Have you noticed that??
New Methods for bootloader and recovery added in
Smali seems is causing the problem.
Click to expand...
Click to collapse
I do not meet this problem ...
jac10000 said:
I do not meet this problem ...
Click to expand...
Click to collapse
Have you noticed that samlis r the same of 10.0.4

Flashing ZIP Folder Containing APK's via TWRP Recovery

Hi
I've started around three other threads here on XDA but I never seem*to get anyone answering my questions for something that should be so simple.
Anyway I've been trying to flash a ZIP folder containing third party APK files via TWRP to go alongside my fresh install of Lineage OS. All of the user apps install perfectly fine to the '/data/app' directory, however, system apps that are installing to the '/system/app' directory are only getting half installed. Basically when I boot into the ROM I can see all of the system apps in the app launcher, and even navigating through the phone with a root explorer I can see that I can see the correctly copied folder and file from inside the ZIP folder. For example the Google Snapseed app is stored as the following:-
/system/app/com.niksoftware.snapseed
>niksoftware.snapseed.apk
What's weird is that if I open the apk file and install it with the Package Installer*successfully*installs it but with a '1' suffixed to the end and two folders and a re-named apk file
/data/app/com.niksoftware.snapseed-1
> lib
> oat
> base.apk
For a little test I moved the 'niksoftware.snapseed-1' folder from '/data/app' to '/system/app', deleted the original 'niksoftware.snapseed'*folder and rebooted my phone. As expected the app continued to work perfectly fine with no force crashes.
If you're wondering why I'm installing the apps under a system app, it's because the user(s) I'll be passing the phone onto will be non-technical Android users. When the user needs to do a factory reset, the apps I pre-installed will survive if they're installed as system apps compared user apps that will get wiped.
There is literally nothing on any forums anywhere explaining how to flash system apps via recovery taking the more recent Android the OS' that have been released in the last few years. Could someone please help me out here?
Many thanks
Will
willowen100 said:
Hi
...
Will
Click to expand...
Click to collapse
Personally I never tried to install third party apps like that , but it could be interesting to test this out .
But I think you've made a mistake while trying to create the system folder :
You created this :
/system/app/com/niksoftware.snapseed
But the /com is not needed , I mean it maybe the reason of you issue .
So try to remove the /com :
/system/app/niksoftware.snapseed
Let me know if it worked
RaiZProduction said:
Personally I never tried to install third party apps like that , but it could be interesting to test this out .
But I think you've made a mistake while trying to create the system folder :
You created this :
/system/app/com/niksoftware.snapseed
But the /com is not needed , I mean it maybe the reason of you issue .
So try to remove the /com :
/system/app/niksoftware.snapseed
Let me know if it worked
Click to expand...
Click to collapse
Hi
Thank you for your reply. I've only just realised there is a typo in the directory. The 'com/' should be 'com.' However, I will give removing 'com' altogether to see if that makes any difference.
willowen100 said:
Hi
Thank you for your reply. I've only just realised there is a typo in the directory. The 'com/' should be 'com.' However, I will give removing 'com' altogether to see if that makes any difference.
Click to expand...
Click to collapse
Let me know if it worked , happy to see I helped :highfive:
RaiZProduction said:
Let me know if it worked , happy to see I helped :highfive:
Click to expand...
Click to collapse
I renamed all of the folders inside the zip folder so there is no '.' (dots) in the folder and file names and unfortunately the apps still crash. It's a shame there is no command that extracts the .APK files into their correct directories. I'd love to know how the OpenGApps package works because that basically does the same thing as my ZIP folder.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I renamed all of the folders inside the zip folder so there is no '.' (dots) in the folder and file names and unfortunately the apps still crash. It's a shame there is no command that extracts the .APK files into their correct directories. I'd love to know how the OpenGApps package works because that basically does the same thing as my ZIP folder.
Click to expand...
Click to collapse
GApps does the same thing .
Basically it's a zip file with a script that copy all the file and the directories to the root directory of your phone.
I think the problem is the signature used bybthe third party apps. But that's just an hypothesis , I could be wrong I'll let you search more deep on that subject with Google , hope this helped a bit
:highfive:
RaiZProduction said:
GApps does the same thing .
Basically it's a zip file with a script that copy all the file and the directories to the root directory of your phone.
I think the problem is the signature used bybthe third party apps. But that's just an hypothesis , I could be wrong I'll let you search more deep on that subject with Google , hope this helped a bit
:highfive:
Click to expand...
Click to collapse
I've found a couple of APK/ZIP folder signing utilities but unfortunately they've made no difference.
The part that's going wrong somewhere is the folders that should be created alongside the APK files are not being created.
Sent from my LG-H930 using Tapatalk
I made some videos explaining the situation.
The first video shows the app crashing on launch. The APK file is installed at
Code:
/system/app/Snapseed
I then proceed to install it which is successful and installs itself as a user app found at
Code:
/data/app/com.niksoftware.snapseed-1
Next I rename it and move it to system directory and delete the original directory so there isn't a clash of identical apps. Finally I reboot the phone.
https://youtu.be/mL6ePOMnDQw
The second video I show that it opens up perfectly fine. To show that the two folders inside the
Code:
/system/app/com.niksoftware.snapseed
directory are important, I move them to the internal storage Downloads folder and then relaunch the app. It now crashes. I restore the folders and then app once again works again.
https://youtu.be/hL60APHTV7Q
Will
willowen100 said:
I made some videos explaining the situation.
...
Will
Click to expand...
Click to collapse
Hi , the videos you made made me understand better your issue , but I've a question , when you moved the oat and lib folders to the system , you opened the Snapseed app successfully without any bugs isn't it ?
And because the installation folders are in the system , the factory reset won't affect them .
So is your problem solved ?
RaiZProduction said:
Hi , the videos you made made me understand better your issue , but I've a question , when you moved the oat and lib folders to the system , you opened the Snapseed app successfully without any bugs isn't it ?
And because the installation folders are in the system , the factory reset won't affect them .
So is your problem solved ?
Click to expand...
Click to collapse
Yes you could say I have solved the problem but it's not the solution I'm looking for. I want to be able to install the apps in bulk during the flashing stage using a custom recovery like TWRP I'm using. The order I would flash would be:-
1) Flash Lineage OS
2) Flash OpenGApps
3) Flash additional apps (essentially third party apps from the Google Play Store)
Sent from my LG-H930 using Tapatalk
willowen100 said:
Yes you could say I have solved the problem but it's not the solution I'm looking for. I want to be able to install the apps in bulk during the flashing stage using a custom recovery like TWRP I'm using. The order I would flash would be:-
1) Flash Lineage OS
2) Flash OpenGApps
3) Flash additional apps (essentially third party apps from the Google Play Store)
Click to expand...
Click to collapse
Ok , now flashable zips are field so I can help you
If you want me to do it for you , just upload those files to Google drive and send me the link , I'll make your flashable zip and upload it to Dropbox so you can download it :good:.
The files you should upload :
• Libs folder of every third party apps you want to install
• Oat Folder of every third party apps you want to install
• Base.apk file of every third party apps you want to install
If you want to do it yourself , I'll make you a guide on how to do it ( you require a PC to do it with RAR and Notepad++ or another text editor installed on it )
RaiZProduction said:
Ok , now flashable zips are field so I can help you
If you want me to do it for you , just upload those files to Google drive and send me the link , I'll make your flashable zip and upload it to Dropbox so you can download it :good:.
The files you should upload :
• Libs folder of every third party apps you want to install
• Oat Folder of every third party apps you want to install
• Base.apk file of every third party apps you want to install
If you want to do it yourself , I'll make you a guide on how to do it ( you require a PC to do it with RAR and Notepad++ or another text editor installed on it )
Click to expand...
Click to collapse
I'd rather do it myself please if that's okay with you creating a guide, as I would like to learn how to do it for future reference? I use Notepad++ quite frequently and I use 7-zip to archive everything so I'm all setup there.
This is going to sound stupid but where do I get the Libs and Oat folders from except for copying them from Android? I am aware you can open the APK files themselves but I've never seen the Oat folders inside.
Many thanks again for your help so far.
Will
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'd rather do it myself
...
Will
Click to expand...
Click to collapse
I meant I need the Content of this folder for each apps you want to install as system apps:
/data/app/com.niksoftware.snapseed-1
> lib
> oat
> base.apk
Click to expand...
Click to collapse
You will need this to make the flashable zip.
Copy and paste those files to your download folder ( Internal storage ) , then transfer those folders (and the APK file to your PC in order to use it .
I'm preparing the guide and I'll post it in around 10 min , don't forget to press the thank button on the posts
willowen100 said:
I'd rather do it myself please if that's okay with you creating a guide
...
Sent from my LG-H930 using Tapatalk
Click to expand...
Click to collapse
So , let's start with what you need :
- The folder /data/app/com.niksoftware.snapseed-1 and its content on your desktop
Now what you should do :
1) Extract the 2 folders in the template I made you
2) Open the system folder and create a folder called "app" into it
3) Copy the com.niksoftware.snapseed-1 folder (with the content inside it) and paste it into the app folder newly created
4) Repeate the step above for each and every app you want to install as system app
5) Exit the folders
6) Select the META-INF folder and the system folder and compress them with 7-Zip
7) You are ready to flash the zip to your phone !
My Advice is to do this in your Desktop in first place, because it's more easy to see what you're doing.
When you get used to this, you may do it everywhere (even on your phone).
Don't forget to disable signature verification in TWRP ( if there is the option , I don't remember well)
And make a backup of your phone before every modification , we never know what can happen (but in this case, it'll be okay since we're modifying nothing)
Hope this helped you , don't forget to press the thank button
RaiZProduction said:
I meant I need the Content of this folder for each apps you want to install as system apps:
You will need this to make the flashable zip.
Copy and paste those files to your download folder ( Internal storage ) , then transfer those folders (and the APK file to your PC in order to use it .
I'm preparing the guide and I'll post it in around 10 min , don't forget to press the thank button on the posts
Click to expand...
Click to collapse
I'm just trying to find out if there a more time saving tool that will extract the the lib, oat and base.apk from the containing .apk file so I can do it in bulk on a PC.
The problem I have is that I have about 20+ APK's that will be flashed additionally on top of the Lineage OS ROM and OpenGApps. Thinking how long it took to do one installing it as a user app, renaming it, moving it to the system partition, I would have to do that for everyone. Even if I was to do this method the contents I extracted for one Android architecture (CPU chipset type) used on one device may be completely incompatible on another.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'm just trying to find out if there a more time saving tool that will extract the the
...
on one device may be completely incompatible on another.
Click to expand...
Click to collapse
Unfortunately I don't know any tool able to do that.
And for the architecture , that's not really a problem
Because there are only 4 architecture :
x86 (rare)
x86_64 (very rare , mostly used on emulators)
arm (most common)
arm64 (common)
And the arm APKs work for arm64 devices , so you just have to do this for arm APKs and it'll be okay for almost every Android device . (Edit 1 : Not really sure of this info, should be good but I can't certify it 100%)
And I know myself that doing that takes time , but if you really want to do that , that's the only way I can suggest.
Do as you feel it , I hope my answers were clear and useful for you.
Let me know what's your decision,
Have a nice day
RaiZProduction said:
Unfortunately I don't know any tool able to do that.
And for the architecture , that's not really a problem
Because there are only 4 architecture :
x86 (rare)
x86_64 (very rare , mostly used on emulators)
arm (most common)
arm64 (common)
And the arm APKs work for arm64 devices , so you just have to do this for arm APKs and it'll be okay for almost every Android device . (Edit 1 : Not really sure of this info, should be good but I can't certify it 100%)
And I know myself that doing that takes time , but if you really want to do that , that's the only way I can suggest.
Do as you feel it , I hope my answers were clear and useful for you.
Let me know what's your decision,
Have a nice day
Click to expand...
Click to collapse
I'm going to go ahead with it. Like you said ARM will work for ARM64. Even if the apps become slightly outdated if I were to flash my ZIP onto future devices, as soon as the Play Store is installed it will hopefully update anyway.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'm going to go ahead with it. Like you said ARM will work for ARM64. Even if the apps become slightly outdated if I were to flash my ZIP onto future devices, as soon as the Play Store is installed it will hopefully update anyway.
Click to expand...
Click to collapse
Good luck my friend

Categories

Resources