[Q] Can someone help me finish this debloat script without TWRP error 6? - Android Q&A, Help & Troubleshooting

Hi all,
I have got a modified version of the below script but attempting flashing in TWRP gets an "Error 6" code. I have a rooted S8 running Android 7.0
*NOTE: I am NOT taking credit for this script and I have simply downloaded it and wanted to use with my S8. I have messaged @Windforce0511 to seek guidance on how to get this to work but we were unable to workout what is wrong with this modified version.
The script is "DEBLOAT_Script_Samsung_Nougat&Marshmallow_Windfor ce0511.zip" taken from https://forum.xda-developers.com/gal...cript-t3649953 however I have attached my modified version "Debloat S8 Script.zip"
I'm not really sure what may be causing the error. I edited some lines within Notepad ++ but must have got something wrong.
The intention of the script is to massively debloat and leave only core functionality. It's essentially including all the stuff I have safely frozen.
So if anyone is able to have a look at the zip and see what's gone wrong that'd be great. I'm mindful that there may be APKs listed in the script to delete that may not exist in our S8 firmware, but I presume that if something isn't present it'll just skip passed that and move onto the next entry?
And again, this isn't my original work and neither am I claiming this is ready to flash, as it currently doesn't work!
Perhaps if we can get this to work then we can add to it, ammend it and make this a 'working debloat script thread', as I know I'm not alone in wanting to debloat. I know there is debate whether one should or not, but as far as Android goes, it's always nice to have the option! I would love to make this script grow (once working of course) and have it remove all non-essential apk's, libs etc. This is of course subjective so would be great if we could work together and create custom scripts, like extreme debloat and light versions...

cd993 said:
Hi all,
I have got a modified version of the below script but attempting flashing in TWRP gets an "Error 6" code. I have a rooted S8 running Android 7.0
*NOTE: I am NOT taking credit for this script and I have simply downloaded it and wanted to use with my S8. I have messaged @Windforce0511 to seek guidance on how to get this to work but we were unable to workout what is wrong with this modified version.
The script is "DEBLOAT_Script_Samsung_Nougat&Marshmallow_Windfor ce0511.zip" taken from https://forum.xda-developers.com/gal...cript-t3649953 however I have attached my modified version "Debloat S8 Script.zip"
I'm not really sure what may be causing the error. I edited some lines within Notepad ++ but must have got something wrong.
The intention of the script is to massively debloat and leave only core functionality. It's essentially including all the stuff I have safely frozen.
So if anyone is able to have a look at the zip and see what's gone wrong that'd be great. I'm mindful that there may be APKs listed in the script to delete that may not exist in our S8 firmware, but I presume that if something isn't present it'll just skip passed that and move onto the next entry?
And again, this isn't my original work and neither am I claiming this is ready to flash, as it currently doesn't work!
Perhaps if we can get this to work then we can add to it, ammend it and make this a 'working debloat script thread', as I know I'm not alone in wanting to debloat. I know there is debate whether one should or not, but as far as Android goes, it's always nice to have the option! I would love to make this script grow (once working of course) and have it remove all non-essential apk's, libs etc. This is of course subjective so would be great if we could work together and create custom scripts, like extreme debloat and light versions...
Click to expand...
Click to collapse
try thishttp://cloud.tapatalk.com/s/59f2815f09b36/Debloat S8 script.zip
Sent from my LGLS676 using Tapatalk
---------- Post added at 12:46 AM ---------- Previous post was at 12:43 AM ----------
make sure your using the right encode
Sent from my LGLS676 using Tapatalk

rick.wardenburg said:
try thishttp://cloud.tapatalk.com/s/59f2815f09b36/Debloat S8 script.zip
Sent from my LGLS676 using Tapatalk
---------- Post added at 12:46 AM ---------- Previous post was at 12:43 AM ----------
make sure your using the right encode
Click to expand...
Click to collapse
That worked! Before I flashed your version I edited the script in my phone to just remove the EasterEgg system apk, and flashed away and it worked!
May I ask what was wrong with it and what you did to fix it? Was it that I edited it on the PC?

line 228 had an extra ");" and line 262 didnt have ")
also because you used wrong character encoding for edify your script had a bunch of junk when opened in the correct encoding. im not totallty sure if theres a wrong or right encode but i use "windows-1252" an ive never had any issue just make sure you open am save in that format notepad++ is probably best to use on linux i use geany on android i like using quickedit pro !

rick.wardenburg said:
line 228 had an extra ");" and line 262 didnt have ")
also because you used wrong character encoding for edify your script had a bunch of junk when opened in the correct encoding. im not totallty sure if theres a wrong or right encode but i use "windows-1252" an ive never had any issue just make sure you open am save in that format notepad++ is probably best to use on linux i use geany on android i like using quickedit pro !
Click to expand...
Click to collapse
Will certainly look into this further, thank you very much!

rick.wardenburg said:
line 228 had an extra ");" and line 262 didnt have ")
also because you used wrong character encoding for edify your script had a bunch of junk when opened in the correct encoding. im not totallty sure if theres a wrong or right encode but i use "windows-1252" an ive never had any issue just make sure you open am save in that format notepad++ is probably best to use on linux i use geany on android i like using quickedit pro !
Click to expand...
Click to collapse
Hi guys, sorry but please don't mind me asking what about the Format & Language? Does EOL conversion & Blank Operations matter?
Coincidentally, I am also having Error 6 in TWRP while trying to flash my own debloat script, its really frustrating to edit > zip > reboot > flash > fail > reboot > unzip > edit all over again and again and again.
Hope any of you could shine me some light. Cheers.
Regards,
Dar

DaRdamnDoG said:
Hi guys, sorry but please don't mind me asking what about the Format & Language? Does EOL conversion & Blank Operations matter?
Coincidentally, I am also having Error 6 in TWRP while trying to flash my own debloat script, its really frustrating to edit > zip > reboot > flash > fail > reboot > unzip > edit all over again and again and again.
Hope any of you could shine me some light. Cheers.
Regards,
Dar
Click to expand...
Click to collapse
Email me a copy of your script @ [email protected] or post it here using the code tags and I'll help you
Sent from my SM-N960U using Tapatalk

Related

[Q] Cynogen problems

Having trouble booting into Cynogen. As far as I can tell, everything is flashedd correctly. I got the initramfs and zimage from here. They flashed fine and the system boots into the multi boot screen.
Then I copied the openaos-gingerbread-anoa-gen8_113301.img.gz from here to my device through the USB MSC renaming it to openaos-gingerbread.img.gz
I believe that the menu.lst file should update itself so there should be no need to edit the file. I had to edit the file anyway, not sure why. Tried editing it through np++ and got Ginger-Bread listed in the boot menu. Tried to boot into it but it just sat at the OpenAOS screen and did nothing. I left it on that screen for close to half an hour.
I then tried the menu.lst file that is linked to the post by gbohm but the same thing happened.
When I access recovery and start USB MSC again it shows a ~525MB file called openaos-gingerbread.img and it has a folder called openaos which has a subfolder called disabled. Nothing else.
I tried this off the back of a full wipe so there is nothing on the device at all. No archos FW or anything. Coming from UD 1.5
Any idea what might be going on?
Edit: one last note. This was all done on my Windows machine. Will try it on my ubuntu server tomorrow. That machine is just a little more awkwardly placed
Maybe be you edited the menu.let wrong
Lokk in my "OpenAOS Full Instructions Thread" for tips;-) here in general section
Lenn said:
Maybe be you edited the menu.let wrong
Lokk in my "OpenAOS Full Instructions Thread" for tips;-) here in general section
Click to expand...
Click to collapse
No. Like I already said lenn update your guide or mention that it is outdated and point to the wiki.
This is what I was afraid off, giving people wrong instructions and make it worse for them.
---------
d31b0y you did it correct. Just copy openaos-gingerbread-anoa-gen8_113301.img.gz and rename it to openaos-gingerbread.img.gz
The menu.lst should update itself and create an extra Gingerbread entry in the bootmenu.
Some things that could go wrong is that you didn't safely umount or remove the drive. So the image got corrupted.
Another thing is that you maybe didn't rename it correctly using capital letters perhaps.
However my best guess is that the image got corrupted during download or during copy renaming and not safely remove the drive.
This http://dev.openaos.org/wiki/AndroidInstall_CM7_Gingerbread is the guide to follow and no other.
We from openaos recommend using linux to do the procedure, it is also much easier for us to support when coming for questions on irc http://www.openaos.org/chat
Maurice
Sorry, but stil >> 90% of users have a windows maschine.
Maybee you should also think about your target audience.
fzelle said:
Sorry, but stil >> 90% of users have a windows maschine.
Maybee you should also think about your target audience.
Click to expand...
Click to collapse
Yes, I know. Windows shouldn't be a problem for the procedure. It is only easier for us when answering questions, because we are almost all on linux machines. That is why I said we recommend it, not that we say you must use it.
Some issues for windows users. It hides known file extensions by default which could be a problem when renaming files. Windows doesn't care about cap letters, Linux does. A file named foo.img.gz is different from Foo.img.gz .
Maurice
divx118 said:
No. Like I already said lenn update your guide or mention that it is outdated and point to the wiki.
Click to expand...
Click to collapse
Sorry divx i really respct your works, but i know it.
I work at the momet on a honeycomb theme, and i said he should look there because of the menu.lst (the most makd faults, ...) and this part isnt outdated.
I will update the tutorial when i have enough time
Greets
Lenn
I know all that, as my first Unix was Minix followed by SCO and Eurix and then Linux 0.14 yggdrasil.
But if i see the questions postet here and elsewhere in android forums,
most of the people barely get their TV switched on, and to tell them that Linux is prefered might set back a few so much that they don't do anything.
On the other side, might be a good idea ;-)
Thanks for getting back to me. For some reason when I copy the file to the archos and reboot, it doesn't show up in the menu.lst
I decided to gunzip first and moved the file openaos-gingerbread.img to the archos. This showed in the list but when I tried to boot from it, the same thing as before happened. Hopefully I am just doing something silly. I'll try jump on the irc channel tomorrow. My main "comfy" computer was taken up by the oh this evening.
A couple more points.
My external SD slot is broken so I have no external SD. Although it installs onto the internal right? So that shouldn't make a difference.
I don't have stock fw installed at all. Just the SDE.
Edit: oh by the way, when I tried to move the .img file I got the following error:
mv : failed to preserve ownership for '/media/A101IT/openaos-gingerbread.img': Operation not permitted
It was moved with root privelages in terminal.
Edit2: I even did a sync before my umount to make sure everything was hunky dorey.
Sent from my R800i using Tapatalk
You need the stock to be installed, as during boot they extract some things.
I could be wrong but none of the above post seem to have noticed you haven't extracted the .gz img file. If you put that on you device it will do nothing as its the wrong file format and still compressed. You need to extract it using winrar or similar then rename that file to openaos-gingerbread.img and that should do it. nothing to do with capital letter you just missed a small but crucial step in the instructions.
ben.cordy said:
I could be wrong but none of the above post seem to have noticed you haven't extracted the .gz img file. If you put that on you device it will do nothing as its the wrong file format and still compressed. You need to extract it using winrar or similar then rename that file to openaos-gingerbread.img and that should do it. nothing to do with capital letter you just missed a small but crucial step in the instructions.
Click to expand...
Click to collapse
I'm pretty sure you don't and I have tried that anyway as per my second post...
Sent from my R800i using Tapatalk
fzelle said:
You need the stock to be installed, as during boot they extract some things.
Click to expand...
Click to collapse
That'll do it I'm sure. Will try to tonight.
Sent from my R800i using Tapatalk
Like fzelle said you need stock firmware, that is why it hangs. It needs to copy some libs and drivers over from stock. We can't include them in the release, because of license issues.
I don't think we check in the script if the original firmware isn't there. Another todo ...
I will update the wiki about having original firmware installed is essential.
@ben.cordy: The initramfs will gunzip the image when it is not done already, so no need to gunzip or unrar it yourself.
Still strange why it wouldn't show up in menu.lst while gzipped... I will check the script in initramfs.
Maurice
---------- Post added at 09:05 PM ---------- Previous post was at 08:47 PM ----------
fzelle said:
I know all that, as my first Unix was Minix followed by SCO and Eurix and then Linux 0.14 yggdrasil.
But if i see the questions postet here and elsewhere in android forums,
most of the people barely get their TV switched on, and to tell them that Linux is prefered might set back a few so much that they don't do anything.
On the other side, might be a good idea ;-)
Click to expand...
Click to collapse
At the moment, our target is the more advanced user, so we can get some good bug reports. That is why we have that big red warning on the wiki. So might be a good idea --> It is one .
Maurice

[Dev]Files of interest in the system

Alright, just got my hands on a system dump courtesy of loglud so I will be posting files (text files will include content that peaked my interest) here so me and other devs can see what we are able to toy with.
systemdump download link: http://dl.dropbox.com/u/15069134/SystemDump.zip
Current list:
/system/media/bnapps_icons\ <-- we can mod the app icons that come with the device so we can make it less-sucky.
/system/etc/bluetooth/blacklist.conf <-- referencing the bluetooth chip meaning we just have to find a way to activate it
/system/app/settings.apk <-- anyone think they can actually replace this with another gingerbread apk or decompile and discover if there is a custom intent? Warning: It does NOT work at all. I suggest against swapping the apk's out as it causes a force close.
/system/bin/bootanimation *Was told where it searches for bootanimations first so goto this thread for a new bootanimation: http://forum.xda-developers.com/showthread.php?t=1361735
Indirect said:
Alright, just got my hands on a system dump courtesy of loglud so I will be posting files (text files will include content that peaked my interest) here so me and other devs can see what we are able to toy with.
Current list:
/system/media/bnapps_icons\ <-- we can mod the app icons that come with the device so we can make it less-sucky.
/system/etc/bluetooth/blacklist.conf <-- referencing the bluetooth chip meaning we just have to find a way to activate it
/system/app/settings.apk <-- anyone think they can actually replace this with another gingerbread apk or decompile and discover if there is a custom intent?
Click to expand...
Click to collapse
Nice finds. Bluetooth will be intesting to test (about to do it right now).
As you know the Nook has a heavily modified framework, so I don't know if the stock settings app will work (but I'm about to find out and probably fark up my tablet).
Let me know how it goes anlog.
Indirect said:
/system/app/settings.apk <-- anyone think they can actually replace this with another gingerbread apk or decompile and discover if there is a custom intent?
Click to expand...
Click to collapse
Hmm . . . let me get a hold of it and I'll look at it tomorrow, I've already taken the rest of the week off (Diablo III beta key came in tonight).
You may not need to change out the settings.apk but just add another one to it.
I decided to hold off on swapping the settings.apk. Losing access to the real settings app with all of the Nook options might not be a good idea.
The main reason I wanted a full settings menu was to be able to get into the accounts sync settings, but I found an app to launch it.
Warning: It does NOT work at all. I suggest against swapping the apk's out as it causes a force close.
Indirect said:
A
/system/bin/bootanimation <-- It's not a .zip or anything, just a file...anyone know how we can edit this?
Click to expand...
Click to collapse
It's a binary file. This app executes bootanimation resources.
Example: on T-Mobile MyTouch 4G resources are in /system/customize//resource/htc_bootanimation.zip
You should search for bootanimation.zip and you can edit this archive
Indirect said:
Warning: It does NOT work at all. I suggest against swapping the apk's out as it causes a force close.
Click to expand...
Click to collapse
I read note, if you want edit system apps like Settings.apk you should sign them by personal keys only...
I was looking through and couldnt find a bootanimation.zip in the system so I'm checking the data folders now.
edit: What the hell, still can't find it.
Indirect said:
I was looking through and couldnt find a bootanimation.zip in the system so I'm checking the data folders now.
edit: What the hell, still can't find it.
Click to expand...
Click to collapse
I was using Absolite system to see if I could replace the bootanimation because I couldn't find it either. I did manage to make it go away and just had the splash screen. I'll look into this further today as well. I'm starting to get ideas as to which files you can and can't replace right now. Some will force an immediate reboot and get stuck in a boot loop. I also am trying to find what triggers and handles the home button menu, I am sure it is in the framework. I have framework.jar and services.jar decompiled and going through those as well. Reviewing logcats to see what I can track down. I have some other interesting stuff going as well
romified said:
I was using Absolite system to see if I could replace the bootanimation because I couldn't find it either.
Click to expand...
Click to collapse
Hmmm... Usually bootanimation is in /data/local/ or /system/media. May be it has different name?
/system/bin/bootanimation is the program that actually displays the bootanimation.
Normally it plays the contents of /system/media/bootanimation.zip, but it can also be hardcoded to play a fixed animation or designed to play a completely different format. (Such as on Samsung devices, where it only plays Samsung's QMG format until you replace the program.)
conundrum768 said:
I've already taken the rest of the week off (Diablo III beta key came in tonight).
Click to expand...
Click to collapse
conundrum768
Don't take this the wrong way, but I really hate you right now!
I tried getting in on the Diablo III beta, no luck!
Here is a file of some interest, it it looks to be encrypted because it would be of interest.
/system/recovery-from-boot.p
.p files are encrypted .m files. Not sure if anything exists out there to crack into that one, but I am sure it would tell some very interesting information and possibly allow hi-jacking the factory restore process?
Anyone familiar with .p files (pcode files) ?
---------- Post added at 12:20 PM ---------- Previous post was at 12:08 PM ----------
Also of interest are some .xem3 files under /system/lib/ducati
base_image_app_m3.xem3 --- 57 mb
base_image_sys_m3.xem3 --- 1.5 mb
I think could be system image files possibly from the little bit of research I have done. Due to the size of one of these (57 mb) and the name of the file, I was thinking maybe this is where the restore was getting it's base image from, but until I dig further I am not sure of that. The size of the file is what got my attention, much larger than other files in lib. That's half the size of CM7 in just one file.
Edit: These now look to be possibly drivers/firmware/images for Ducati and/or Pandaboard ? That's a large driver file....
The .p file is very much of interest I would think.
conundrum768 said:
Hmm . . . let me get a hold of it and I'll look at it tomorrow, I've already taken the rest of the week off (Diablo III beta key came in tonight).
Click to expand...
Click to collapse
It looks like the normal XML files are not controlling the layout and it is done through the smali files to get the custom actions and layout. A separate app to access development may be best for now, as we have been doing.
Unless someone edits the smali files of course, that's possible but will prove tedious and time consuming unless you have a lot of experience with these.
If you review the logcats from going into settings, you will see which smali files are involved.
I have almost a full system dump on an ftp so ill see about letting it be accessed.
Sent by breaking the sound barrier
Please upload full system dump from Nook Tablet
Please upload full system dump from Nook Tablet
How-to
1. Get root
2. Run terminal (enter su if symbol $ -> it will be changed to #)
3. Execute command mount
4. From list of partitions search for /system
Code:
Example: /dev/block/mmcblk0p27 /system ext4 ro,relatime
5. Dump it to sdcard with command dd
Code:
Example: dd if=/dev/block/mmcblk0p27 of=/sdcard/system.img
It dumps only system image not personal data...
I'll just upload a .zip to dropbox.
Is there a sanim.zip anywhere? If so, that's the bootani. If not, ill sink back to silence lol
Sent from my Samsung Legendary 4G, a Universe UTES phone, running "two.three.five"
I looked through and there are only a few .zip files but none of them actually contained a bootanimation. It really is annoying lol. This device is such a bastardized version of android, I can't wait to get past the bootloader. lol.

[TOOL] Framework Flasher 1.1.4 (1/14/12) - Easily modify and flash framework-res.apk

Finally! After days of struggling to figure out how to modify my ROM's framework-res.apk and create a working flashable update.zip to install the framework-res.apk changes, I have finally figured out how (big thanks to the guys here: http://forum.xda-developers.com/showthread.php?p=20962080#post20962080) and have created an automated script to help others struggling with the same problem.
Framework Flasher 1.1.4
Feel free to download and experiment with it. This is my first gift to the XDA/Android Hacking community, and I plan on doing more. I just want to test the waters for now Feedback would be nice. Let me know if I've helped you in some way!
---------------------------
What does it do?
It extracts your framework-res.apk file and allows you to edit the files. After editing, the script will compile, sign the apk, create your update.zip with the correct structure for flashing, and then sign the .zip. Everything you need to modify and flash your framework-res.apk file.
How do I use it?
Download the .zip from the link below and extract it somewhere on your PC. Drag the framework-res.apk file that you want to modify and/or flash into the /place-framework-res-here/ directory. Double-click on RunMe.bat and off you go! Do the steps (1-5) in order and you shouldn't have any problems.
Who needs this?
A LOT of people according to how many google searches I did in the past 3-4 days.
Will it work for files other than framework-res.apk?
Currently, no. However it would be easy to implement that functionality if I saw that people would benefit from it.
I found a bug... what do I do?
Post it in this topic. I'll do what I can to make continual updates as long as I see people are benefiting from it. I'm sure there are bugs in it somewhere, so just let me know.
Where do I download this snazzy piece of software?
http://www.mediafire.com/?1nc14hkhs2yrqmt
The little disclaimer
If you download this tool, please say thanks! Not only does it motivate me to continue to improve this software, but it also let's me know how many users are using it! Thanks!
This script is mainly intended for use with editing script files (xml, etc.), and normal (non 9png) images. 9pngs have been successfully repacked using this tool! If you run into any problems, be sure to make it known!
This tools was created to work with the Droid X2. If you are experiencing problems using it, first ensure that you are in fact using a Droid X2.
Change Log
1.1.4 (1/14/12)
- Corrected the Log error. You can now see error logs!
- Corrected an error processing problem where Framework Flasher would instantly close without warning
1.1 (1/7/12)
- Made compatibility tweaks
- Removed unnecessary overhead
1.0 (1/6/12)
- Initial Release
When reporting errors, please ensure that there are no spaces in your file path, and include what ROM and version you are running.
Hello
This is an awesome little tool you got here. I haven't tried it yet but I'll likely give it a shot eventually.
You should add functionality for SystemUI.apk, that's the other "real big" file people like to edit. Just a suggestion based on what I know about theming
Very nice!
So r u telling me this will modify everything including the. 9 png images..also can u get into the xml files as well or images only...i use apk manager and with the. 9 pngs u cannot touch the 9 patches or change the image without using draw 9 patch to ensure the apk will recompile
Sent from my DROID X2 using xda premium
PoorCollegeGuy said:
Hello
This is an awesome little tool you got here. I haven't tried it yet but I'll likely give it a shot eventually.
You should add functionality for SystemUI.apk, that's the other "real big" file people like to edit. Just a suggestion based on what I know about theming
Very nice!
Click to expand...
Click to collapse
Thanks. I will definitely look into adding this. I'll update the OP with any changes or updates.
Kevin3328 said:
So r u telling me this will modify everything including the. 9 png images..also can u get into the xml files as well or images only...i use apk manager and with the. 9 pngs u cannot touch the 9 patches or change the image without using draw 9 patch to ensure the apk will recompile
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Not tested 9pngs with this, it's mainly intended for scripting (xml files, etc. along with normal non 9png images). I've updated the OP to include a little disclaimer stating this fact. Thanks for pointing that out.
.9.png seems to work
Thanks Wesf90 for the tool. I was curious about the .9.png myself. Looking at the script it decompiles and compiles using apktool just like the apkmanager script does so just by looking at your RunMe.bat it looks like it would be fine. I did test it out to be sure though. So I took the framework-res from eclipse 2.0.3 changes some 9.png files and recompiled without any issues. It is important to note that you need to be careful when editing 9.png files to NOT change the black "patches" around the edge of those images. Doing so will cause bad patches and will generate errors when re-compiling. So for example if you apply a filter to the entire image double check that the color value of the black patches are still 000000 (I've done this ). If you don't mess with the patches all should be fine. It also depends on the original framework-res you are starting with. If you use one that has broken 9.pngs in it to start then you will need to fix them before re-compiling (I've done this too ).
Nice work. I especially like that step 4 that creates the update.zip. That is not in apkmanager that I've been using. So following steps 1,2,3,4 sure does make it simpler for a beginner which was your goal. Keep up the good work!
hedwig34 said:
Thanks Wesf90 for the tool. I was curious about the .9.png myself. Looking at the script it decompiles and compiles using apktool just like the apkmanager script does so just by looking at your RunMe.bat it looks like it would be fine. I did test it out to be sure though. So I took the framework-res from eclipse 2.0.3 changes some 9.png files and recompiled without any issues. It is important to note that you need to be careful when editing 9.png files to NOT change the black "patches" around the edge of those images. Doing so will cause bad patches and will generate errors when re-compiling. So for example if you apply a filter to the entire image double check that the color value of the black patches are still 000000 (I've done this ). If you don't mess with the patches all should be fine. It also depends on the original framework-res you are starting with. If you use one that has broken 9.pngs in it to start then you will need to fix them before re-compiling (I've done this too ).
Nice work. I especially like that step 4 that creates the update.zip. That is not in apkmanager that I've been using. So following steps 1,2,3,4 sure does make it simpler for a beginner which was your goal. Keep up the good work!
Click to expand...
Click to collapse
Thanks for the test run. I've updated to OP to state that 9pngs have been tested.
Creating the update.zip was the hardest part for me, learning how to use update-script and updater-script. Hopefully this will help everyone else get on the right path.
is it possible, that after the editing was done, to simply push the framework to its place? without flashing recovery?
Dude XDA did a writeup on this.. but the article states there is no. 9 compatibility .... which is not true your program decompiles just like apk manager and apk tool do... .9 can be edited the patches simply can't be touched.. making this an awesome little tool !!!
Sent from my DROID X2 using xda premium
Sweet tool, just what I've been looking for
Just wanted to drop in and say thanks for this tool (button hit, donation forthcoming).
I tried this with my framework-res file from and ICS 4.0.1 ROM I'm running and it decompiles perfectly, but after I make edits and try and recompile, the script just closes.
I tried looking at the log in the folder of the tool and it didn't have any information except the date/time I ran the script.
Any thoughts? Would love to make use of this if you think it should work for me. Thanks again!
XT69 said:
is it possible, that after the editing was done, to simply push the framework to its place? without flashing recovery?
Click to expand...
Click to collapse
Yes, definitely possible if you have ADB access. I may add this feature, but the idea of the tool is primarily to allow users to create a flash-able file for their's, or others', phones. I'll put it on my to-do list though
Kevin3328 said:
Dude XDA did a writeup on this.. but the article states there is no. 9 compatibility .... which is not true your program decompiles just like apk manager and apk tool do... .9 can be edited the patches simply can't be touched.. making this an awesome little tool !!!
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Yeah I noticed that about the 9pngs in the article, however several people (including yourself) have stated that 9png's work fine. So hopefully XDA will eventually update the post.
zaxondis said:
Just wanted to drop in and say thanks for this tool (button hit, donation forthcoming).
I tried this with my framework-res file from and ICS 4.0.1 ROM I'm running and it decompiles perfectly, but after I make edits and try and recompile, the script just closes.
I tried looking at the log in the folder of the tool and it didn't have any information except the date/time I ran the script.
Any thoughts? Would love to make use of this if you think it should work for me. Thanks again!
Click to expand...
Click to collapse
Interesting. I plan on releasing another update soon, so send me the file you tried (I sent you a PM), I plan on weeding out small bugs quickly. Once the update is ready, hopefully I can have this bug fixed (or at least resolved)
Wes
zaxondis said:
Just wanted to drop in and say thanks for this tool (button hit, donation forthcoming).
I tried this with my framework-res file from and ICS 4.0.1 ROM I'm running and it decompiles perfectly, but after I make edits and try and recompile, the script just closes.
I tried looking at the log in the folder of the tool and it didn't have any information except the date/time I ran the script.
Any thoughts? Would love to make use of this if you think it should work for me. Thanks again!
Click to expand...
Click to collapse
had the same here!
other then that great tool
Ok to u guys having this happen... try to decompile and them recompile immediately ... if this works odds are u damaged a .9 png... those images have a black 1 pixel boarder that cannot be touched
Sent from my DROID X2 using xda premium
Maybe a dumb question but do we flash this in recovery or is this for pc use?Thanks I been itching to try this on my Iced Sam Vib...
Program is for PC use when u r done it will create a flashing zip for u
Sent from my DROID X2 using xda premium
Dougfresh said:
Maybe a dumb question but do we flash this in recovery or is this for pc use?Thanks I been itching to try this on my Iced Sam Vib...
Click to expand...
Click to collapse
Yes, you're absolutely correct. Once you go through the steps and create the update.zip file, simple place that file onto your sd card. Then flash the .zip in recovery.
Wes
Doesn't work for me. It says that echo is off.
Thanks wesf90. Going to DL, and check this out.
Work with any Android?
Will this work with any Android system, like the GS2? Sorry if I missed the answer somewhere above.
Thx.
disclaimernotice said:
Doesn't work for me. It says that echo is off.
Click to expand...
Click to collapse
Does this happen as soon as you start it?

[WEBTOOL] Note 2 Multi Window Tool

READ ALL OF THIS POST CAREFULLY!
Multi Window on the Note 2 is kinda cool, but it only works with limited apps, which kinda sucks. There are 2 solutions to this - the first is to wait for developers to add support (perhaps using my guide), the second is to edit one of the framework APKs to enable other apps. The second is the most useful, but perhaps a little complex for most people.
So here's a tool to help.
This tool takes a list of apps and creates you an update zip (for flashing via clockworkmod) with a modified framework APK that enables your chosen apps for multi window support.
Important points to note...
This tool is ONLY tested on the LJ1 release, additional options are added via user requests. I STRONGLY recommend you don't use the resulting zip on a ROM version other than that for which it's intended.
Backup before flashing the update zip. No really! Or at LEAST backup the framework-res.apk.
If you don't want to use clockworkmod you can extract the framework-res.apk and push it via ADB. Make sure to set the permissions to 0644 or your device won't boot.
Be very careful to ensure that your entries in the tool are correctly formed or again you could end up with a non-booting device.
Use this tool at your own risk!
Got that? OK, let me tell you how to compile the list in the tool.
Simply, you need to enter <item> </item> tags with the 'package names' of your chosen apps in the textbox. Package names are best found on the web Play Store by looking at the URL. Here's some examples for you.
Plume on the web Play Store is at play.google.com/store/apps/details?id=com.levelup.touiteur - therefore the package name is com.levelup.touiteur and you should use the entry <item>com.levelup.touiteur</item>.
TVCatchup on the web Play Store is at play.google.com/store/apps/details?id=com.gzero.tv - therefore the package name is com.gzero.tv and you should use the entry <item>com.gzero.tv</item>.
Simple eh? Just put in the ones you need, hit the button and download your update zip.
To use the tool, head on over to this topic.
Have the xml precharged samsung apps or build from 0 and we need to add chrome, talk, snote, etc?
The pre-configured stuff stays, just put in things you want to *add*.
P
If someone on LJ3 can post their unedited/stock framework-res.apk Paul said he should be able to update his script to deal with that too.
Lennyuk said:
If someone on LJ3 can post their unedited/stock framework-res.apk Paul said he should be able to update his script to deal with that too.
Click to expand...
Click to collapse
i have posted on his forum, he is working on it ;D
alj3 tool already available, going to test. thx
LJ3 support added.
P
paulobrien said:
LJ3 support added.
P
Click to expand...
Click to collapse
working!!! thx
work perfectly! now I have about 40 apps
I'm a bit short of time, but I will add an option where you can upload your framework-res.apk for patching to avoid version issues.
P
if you want faster to find out package name. go to www.play.google.com then press installed apps and you will be able to find faster package name of your all installed apps
paulobrien said:
READ ALL OF THIS POST CAREFULLY!
Multi Window on the Note 2 is kinda cool, but it only works with limited apps, which kinda sucks. There are 2 solutions to this - the first is to wait for developers to add support (perhaps using my guide), the second is to edit one of the framework APKs to enable other apps. The second is the most useful, but perhaps a little complex for most people.
Click to expand...
Click to collapse
All kinds of love coming your way from me Paul and all the devs like Lenny who got this working, awesome stuff guys.
Hi, very very good,works fine...what the solution to had items stock spen calendar Please?
Thanks
Envoyé depuis mon GT-N7100 avec Tapatalk
Awesome tool Paul, thanks for supporting the Note2 community, it works like a gem
Sent from my GT-N7100 using xda premium
androidizen said:
All kinds of love coming your way from me Paul and all the devs like Lenny who got this working, awesome stuff guys.
Click to expand...
Click to collapse
Paul did most of the leg work even for what I did. All I did was turn his findings into a mod so that people could have something while Paul worked on a better system (like this one he has made).
Working fine.. thanks
Sent from my GT-N7100 using xda premium
I threw together a little app to steamline the process a bit. This is my first android program so this thing contains a whole 3 hours of android wisdom...
It's a frankenstein mix of googled code but it gets the work done. A work in progress. This version asks for some storage/call/debug permissions which I have no idea how to remove or limit. So if that makes you feel uneasy pm me and I can send you the netbeans project in a 7z and you can check the source code and compile it yourself.
What the app does is display a list of installed packages by item name, you can then select the ones you want, hit the export button which will copy your selection to the clipboard, open a browser window to pauls page where you can paste it into the text area and download the generated apk all directly on the phone.
I would not recommend selecting all items in the list, this might have horrible consequences. Just select stuff you recognize.
For me the download popped up cfw but then failed to install the apk (possible due to file location), so I moved the apk to the root dir, rebooted to cfw recovery and then flashed just fine.
In later versions I'll see about reducing permissions, add icons to the list.
Disclaimer: Whatever you do with this app, whatever consequences come from using this app, is on you.
Thanks for the lovely apk page. <3
// m
Hi,....against me....
I can't seem to find source code to generate the application scalendar after several attempts still nothing,can you help me.
Thanks. ..
Envoyé depuis mon GT-N7100 avec Tapatalk
Hi all,
Everytime i add an app to the multiscreen view the one that i flashed before disappears. So, if i add dropbox and then imdb i will imdb but dropbox will disappear. Im flashing the zip files using CWM recovery. Can someone tell me how i can solve this? Thanks
koahhe said:
Hi all,
Everytime i add an app to the multiscreen view the one that i flashed before disappears. So, if i add dropbox and then imdb i will imdb but dropbox will disappear. Im flashing the zip files using CWM recovery. Can someone tell me how i can solve this? Thanks
Click to expand...
Click to collapse
Are you adding one app. Flash the generated zip and then add one app, generate a new file and flash it? If so, dont do it that way You must add all apps you want in the same file, generate that and flash it
Sent from one big Note II

[MOD][4.4.4]Native Tether Exploit Build 21.11.21 Updated:7/27/14

YOU HOLD MYSELF AND XDA FREE FROM ANY LIABILITY. WE ARE NOT RESPONSIBLE FOR YOUR DEVICE. FLASH AT YOUR OWN RISK.​
This will enable Native Tether for Build 21.11.21. Shout out goes to @iKrYpToNiTe for his work with this.
Prerequisites:
Droid Maxx/Ultra Rooted w/WP off
METHOD 1: TWRP INSTALL
1) Download the package below labeled "21.11.21tether_twrpinstall".
2) Reboot Into TWRP recovery and navigate to the file for flashing.
3) Reboot
4) Verify tether works
5) Profit.
METHOD 2: MANUAL INSTALL
1) Download the package below labeled "21.11.21tether".
2) Download root browser by Jrummy from the play store
3) Navigate to System/Priv-App and rename VZWEntitlementservice.apk to VzwEntitlementservice.apk.bak.
4) Navigate to System and rename the build.prop to build.prop.bak
5) Place the package on the root of your sd card and extract the build.prop file within the folder.
6) Navigate to system and Copy and paste the new file.
7) Set permissions for the file to
Owner: Read/Write
Group: Read
Others: Read
This should show (rw-r--r--)
8) Reboot. Verify tether works
9) Profit.
REVERTING
METHOD 1:
If installed in twrp, download the package below labeled 21.11.21tether_revert. Flash in Twrp, reboot, verify subscription check re-enabled.
METHOD 2:
If manually installed, simply delete the build.prop you installed, remove the .bak extension from the original build.prop, verify permissions, reboot.
there is nothing in the .zip folder?
Kickbut101 said:
there is nothing in the .zip folder?
Click to expand...
Click to collapse
Are you asking or stating? If you are stating, then you may have gotten a bad download. I just re-verified the download and all is well. The file is very small.
Works perfectly. Thanks!
After reboot, original build.prop is back and the vzw files dropped the .bak. I am rooted, but not unlocked so wp is on, and I guess native tether is not gonna work. Didn't try it before reboot though.
Sent from my XT1080 using XDA Free mobile app
socobandit said:
After reboot, original build.prop is back and the vzw files dropped the .bak. I am rooted, but not unlocked so wp is on, and I guess native tether is not gonna work. Didn't try it before reboot though.
Sent from my XT1080 using XDA Free mobile app
Click to expand...
Click to collapse
Product of wp being on. You can try to open my build.prop and copy and paste the entire prop into your file effectively replacing the contents. See if that takes.
What is a native tether exploit used for?
Sent from my XT1080 using XDA Free mobile app
johnny567 said:
What is a native tether exploit used for?
Sent from my XT1080 using XDA Free mobile app
Click to expand...
Click to collapse
To enable native tether, obviously. Search is your friend.
---------- Post added at 06:04 PM ---------- Previous post was at 05:56 PM ----------
@Topsnake, is it possible to rig your previous MOD ([MOD][ROOT]Native Wireless Tether for build 19.6.3) for 4.4.4?
It appears that having a modded VZWEntitlementServices.apk which takes care of the native tether and only that is a cleaner solution than modifying the build.prop as the latter is referenced a lot by many processes which, consequently, could lead to far reaching side effects.
BTW, do you know if anyone tried your VZWEntitlementServices.apk on 4.4.4?
CrazyRussianXDA said:
To enable native tether, obviously. Search is your friend.
---------- Post added at 06:04 PM ---------- Previous post was at 05:56 PM ----------
@Topsnake, is it possible to rig your previous MOD ([MOD][ROOT]Native Wireless Tether for build 19.6.3) for 4.4.4?
It appears that having a modded VZWEntitlementServices.apk which takes care of the native tether and only that is a cleaner solution than modifying the build.prop as the latter is referenced a lot by many processes which, consequently, could lead to far reaching side effects.
BTW, do you know if anyone tried your VZWEntitlementServices.apk on 4.4.4?
Click to expand...
Click to collapse
Thought I replied to this.
The 19.5.3 would probably work for 4.4.4 but I haven't tried it.
The build.prop is a much cleaner install when done correctly.
Topsnake said:
Thought I replied to this.
The 19.5.3 would probably work for 4.4.4 but I haven't tried it.
The build.prop is a much cleaner install when done correctly.
Click to expand...
Click to collapse
@Topsnake can you please elaborate on the changes you made to the stock buiuld.prop file?
I know you've mentioned in another thread that your method and the one using EntitlementBypass-v1.2.apk (from Moto X forum) are using the same commends. Would I be correct assuming that you've:
1. Added net.tethering.noprovisioning=true
and
2. Changed ro.mot.tether_dun_required to 0
Are those are the only difference between your build.prop and the stock one?
The reason I ask, is that, as I said earlier in this thread, build.prop is pretty significant file (from what I understand) and sets a lot of variables and settings. I'm hesitant to modify it in fears that by enabling native tether other unwanted side effects would arise.
Thanks
CrazyRussianXDA said:
@Topsnake can you please elaborate on the changes you made to the stock buiuld.prop file?
I know you've mentioned in another thread that your method and the one using EntitlementBypass-v1.2.apk (from Moto X forum) are using the same commends. Would I be correct assuming that you've:
1. Added net.tethering.noprovisioning=true
and
2. Changed ro.mot.tether_dun_required to 0
Are those are the only difference between your build.prop and the stock one?
The reason I ask, is that, as I said earlier in this thread, build.prop is pretty significant file (from what I understand) and sets a lot of variables and settings. I'm hesitant to modify it in fears that by enabling native tether other unwanted side effects would arise.
Thanks
Click to expand...
Click to collapse
I can guarantee you that this mod will not give any effects other than enabling tether. 110% positive
Topsnake said:
I can guarantee you that this mod will not give any effects other than enabling tether. 110% positive
Click to expand...
Click to collapse
line 259 net.tethering.noprovisioning=true appears to be the only addition to the original build.prop
Should the result should be the same if we just edit the prop.buld right on the device and add that line?
Are you unlocked bl?
Topsnake said:
Are you unlocked bl?
Click to expand...
Click to collapse
yes
CrazyRussianXDA said:
yes
Click to expand...
Click to collapse
So then copy the contents of the build prop into yours or replace it all together. It takes of all about 3 seconds.
It will be the same.
Whelp that's it's for me @NWKENT @Jaocagomez @Caseyk621 @bigv5150 @rmjones2006 i'm done helping this community and dealing with all these people who feel like something is owed to them. It's been fun.
Topsnake, thank you! For all you have done in the past and now.
Sent from my XT1080 using XDA Premium 4 mobile app
rekids said:
Topsnake, thank you! For all you have done in the past and now.
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I appreciate that buddy. Thanks.
CrazyRussianXDA said:
"I'm not required to disclose the details of any mod to you" - this might or might not be true as I'm not familiar with Open Source Licensing and you might be required to disclose. Regardless, you did not, that's part why you came across as not completely honest.
The fact that most developers (Jcase, Faux123, beaups, iKrYpToNiTe, just to name a few) DO disclose everything makes me thank that you might be required to do full disclosure.
"Either apply it, or don't." - I did not. I applied command provided by iKrYpToNiTe
Click to expand...
Click to collapse
If you are really that concerned about the build.prop being altered in a way that you feel the need to be worried, then simply compare your current build.prop to the modified one that topsnake has provided. It's that simple. No need to start arguments about what one person feels is better or safer or whatever else you think; I personally research anything that I do to my phone by tearing down apk's or batch files or whatever it might be that I'm applying to my phone to see what is being done. By doing this it also helps you learn how these exploits work and helps you learn more about your phone in general.
If you're not comfortable with changing files then don't do it. It's that simple.
Not calling any one particular person out in general, but there is so much of the same information continually being repeated that it is extremely frustrating. I'm to the point where I don't even try and help because I'm just repeating what I said a page or two back, or the post directly below.
Topsnake said:
Whelp that's it's for me @NWKENT @Jaocagomez @Caseyk621 @bigv5150 @rmjones2006 i'm done helping this community and dealing with all these people who feel like something is owed to them. It's been fun.
Click to expand...
Click to collapse
Please don't leave us! We appreciate everything you do!

Categories

Resources