I need your help - X Style (Pure) Q&A, Help & Troubleshooting

I need the kernel config pulled from someone’s device. Mine hasn't shipped yet.
Pulling a config file from a kernel.
A. Hook up a device
B. Open a terminal
C. Change to your root kernel directory
D. Type "adb pull /proc/config.gz"
E. Zip that and get it to me.
Any help is appreciated. Trying to get a jump on a kernel for this thing.:silly:

If no one has pulled it when I get home I'll do it. Question though, root explorer doesn't show a config.gz file. There is a folder called config though. .gz a compressed file extension, does adding it the the filename when you pull it compress it?
Sent from my XT1575 using Tapatalk

PiousInquisitor said:
If no one has pulled it when I get home I'll do it. Question though, root explorer doesn't show a config.gz file. There is a folder called config though. .gz a compressed file extension, does adding it the the filename when you pull it compress it?
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
I think it doesn't show info since its a partition...? IDK, this is my first kernel compile rodeo, although I've been around a bit. I'm in no hurry now, I found another issue. I had the normal 32bit toolchain, not the 64bit one needed for our device. I appreciate the help and I could still use it when you get a chance.

gokart2 said:
I think it doesn't show info since its a partition...? IDK, this is my first kernel compile rodeo, although I've been around a bit. I'm in no hurry now, I found another issue. I had the normal 32bit toolchain, not the 64bit one needed for our device. I appreciate the help and I could still use it when you get a chance.
Click to expand...
Click to collapse
Looks like there isnt one. From this guide: http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source
Note that not every kernel include a config.gz. Your kernel developer needs to have included this option while compiling his kernel
Click to expand...
Click to collapse
The guide shows how to get the information you need without the config.gz file.

PiousInquisitor said:
Looks like there isnt one. From this guide: http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source
The guide shows how to get the information you need without the config.gz file.
Click to expand...
Click to collapse
I couldn't find the defconfig file in the kernel source, that's why i wanted it to get pulled from a device so i could use that one. I take it adb is not finding it?

gokart2 said:
I couldn't find the defconfig file in the kernel source, that's why i wanted it to get pulled from a device so i could use that one. I take it adb is not finding it?
Click to expand...
Click to collapse
Nope doesn't find it.
Sent from my XT1575 using Tapatalk

Just an FYI, I found the specific config file. But it won't compile do to an f2fs file error. Guess its the same problem across a few devices....

Lingua ungherese,Hungarian language
Salve ragazzi .
Qualcuno mi potrebbe guardare, se il telefono in menü in "settings" si trova la lingua ungherese(Hungarian language)??
Grazie

Related

(Dev) Here goes nothing

This is my attempt to get some more creativity, innovation, and roms here on xda. alot of people here have incredible skills but they cant be harnessed because they dont know what to do. if you are an artist we need you make icon packs. you have made 30 roms but you cant sign them. blah blah.
so no one abuse this but i attached a toolkit to do anything and everything with android on windows. im pushing this to be used for creating themes. hopefully it can help. but i thought it would be nice if everyone had this and the opensource community could start to grow even more.
i like this idea because it can help fellow Devs and even the watchers. everyone can get involved and give something to the community.
And now i present the Avabox
Any questions post them up.
OUTLINE------------------------------------------------------------
unyaffs-you have the ability to take system.img and data.img from you nandroids and get specific items from them.
Autosign- sign anything and everything. name your zip update.zip and follow the readme. roms themes, apps, anything.
Baksmali- put in apk in the folder. read readme. edit any icons wallpapers, anything. close it up and enjoy.
Perlscripts- this opens the boot.img for you.
Read the readme on all of these programs.
So this is going to be a quick tutorial Im gonna put up a video soon on how i got this to work on my computer
First things first download Avabox and unzip it in your C folder (same place you put androidsdk).
then get the java runtime from here not to be confused with the java development kit but since your there might as well grab it as well.
Install the java runtime then reboot
then open up avabox and click on autosign and place the zip you want signed in that folder and name it update.zip (dont add the .zip part it should already be a zip file).
then open up command prompt and type:cd\
cd Avabox/auto-sign
java -jar signapk.jar testkey.x509.pem testkey.pk8 update.zip update_signed.zip
After that last enter give it a second and look in your avabox/update file and you'll notice a new file called update_signed.zip
I know that this is almost word for word from the read me but a few differences can go along way expect a video shortly..... well around wednesday or whenever i can get someone to help with this
porting
im interested in learning how to port and combine different aspects of themes and other mods. will this do it or is there other software i need. I can do the work if shown the way. I read all the post everday with peopl;e asking for this and that and i do it myself. If shown I would help with requests as much as possible. HELP PLEASE
Thank you Avalaunch!!
so with this software, can i take a signed theme mod (like launcher or taskbar) and it will grab the images for me to edit, and then repack and sign to a flashable zip?
Everyone that knows how to use bak/smali, I have a question.
The modifications I made to the extracted pngs aren't getting transferred back to the original apk when I close it back up. Any Ideas? I'm getting really close to a breakthrough for 2.1. Any help would be appreciated
regaw_leinad said:
Everyone that knows how to use bak/smali, I have a question.
The modifications I made to the extracted pngs aren't getting transferred back to the original apk when I close it back up. Any Ideas? I'm getting really close to a breakthrough for 2.1. Any help would be appreciated
Click to expand...
Click to collapse
hm ill have to check into it. it should be making a new classes.dex too. i never really used it on edits.
Avalaunchmods said:
hm ill have to check into it. it should be making a new classes.dex too. i never really used it on edits.
Click to expand...
Click to collapse
It changes the classes.dex and resigns it it looks like, but doesn't copy the mods of the pngs to the apk.
regaw_leinad said:
Everyone that knows how to use bak/smali, I have a question.
The modifications I made to the extracted pngs aren't getting transferred back to the original apk when I close it back up. Any Ideas? I'm getting really close to a breakthrough for 2.1. Any help would be appreciated
Click to expand...
Click to collapse
What do you mean? Baksmali and Smali are for decompiling classes.dex and opening it up for the .smali files that are inside. Smali takes that output and recompiles it back into classes.dex for your .apk or .jar file.
You need to update the baksmali and smali .jar's. You have older versions and that will cause issues with certain .jar and .apk's when decompiling. baksmali-1.2.1.jar and smali-1.2.1.jar are the latest versions and will not require the BOOTCLASS PATH to be included...
Does the autosign work windows 7 (64 bit)? I've heard issues with other autosigns on 7. If it doesn't, no biggie I got xp in a VM... lol
obannvi said:
What do you mean? Baksmali and Smali are for decompiling classes.dex and opening it up for the .smali files that are inside. Smali takes that output and recompiles it back into classes.dex for your .apk or .jar file.
Click to expand...
Click to collapse
Yeah I get it now, after playing with it for a while.
Avalaunch, you should change the first post.
Baksmali- put in apk in the folder. read readme. edit any icons wallpapers, anything. close it up and enjoy.
Click to expand...
Click to collapse
that description is a little confusing to a person that NEVER used smali/baksmali before. It makes it seem like after you edit the unzipped files, you could just run smali and it will put al the changes in the new apk. I figured out that's not how it works lol I feel pretty stupid now looking back at my last question haha
regaw_leinad said:
Yeah I get it now, after playing with it for a while.
Avalaunch, you should change the first post.
that description is a little confusing to a person that NEVER used smali/baksmali before. It makes it seem like after you edit the unzipped files, you could just run smali and it will put al the changes in the new apk. I figured out that's not how it works lol I feel pretty stupid now looking back at my last question haha
Click to expand...
Click to collapse
What im trying to figure out is why would you even need to use baksmali/smali to edit .png's inside an .apk. All that needs to be done is opening of the .apk with 7zip, modify whats in /res/drawable etc then close...No need to sign .apks or anything. If anything, the script needs to contain something to extract /res/ * from the .apk to edit.
obannvi said:
What im trying to figure out is why would you even need to use baksmali/smali to edit .png's inside an .apk. All that needs to be done is opening of the .apk with 7zip, modify whats in /res/drawable etc then close...No need to sign .apks or anything. If anything, the script needs to contain something to extract /res/ * from the .apk to edit.
Click to expand...
Click to collapse
I'm actually doing more than that. I am changing the code to look for instead of <name of file>.jpg to <name of file>.png
While also putting the new png in the apk. Think that's possible? I changed all of the locations where that file comes up in the smali code.
regaw_leinad said:
I'm actually doing more than that. I am changing the code to look for instead of <name of file>.jpg to <name of file>.png
While also putting the new png in the apk. Think that's possible? I changed all of the locations where that file comes up in the smali code.
Click to expand...
Click to collapse
I gotcha. So you're looking in blah.smali for any reference to .jpgs and changing that reference to look for .png instead??
obannvi said:
I gotcha. So you're looking in blah.smali for any reference to .jpgs and changing that reference to look for .png instead??
Click to expand...
Click to collapse
yeah, not working too well atm, but working on it.
I think this is what I've been looking for. Downloading now.
Just noticed that ActivePerl was for 64bit. I am downloading 32bit as I have only have 32bit Vista Pro installed and not the 64bit.
regaw_leinad said:
Yeah I get it now, after playing with it for a while.
Avalaunch, you should change the first post.
that description is a little confusing to a person that NEVER used smali/baksmali before. It makes it seem like after you edit the unzipped files, you could just run smali and it will put al the changes in the new apk. I figured out that's not how it works lol I feel pretty stupid now looking back at my last question haha
Click to expand...
Click to collapse
i guess i need to explain more. i use baksmali to make apks easier to search through. for me at least. instead of changing the type and everything i just put it in the folder and baksmali then do changes and create a new archive. sign and change .apk. if you smali it back to apk then it wont save edits. sorry about that anyways has this helped people so far? i love showing that windows can be a dev platform
&RoidRage said:
I think this is what I've been looking for. Downloading now.
Just noticed that ActivePerl was for 64bit. I am downloading 32bit as I have only have 32bit Vista Pro installed and not the 64bit.
Click to expand...
Click to collapse
yes just google active perl i use win 7 64bit and when this toolbox was made, it was only made for certain people who had 64bit.
Sorry for the n00b question, but I have searched and haven't had much luck. Hopefully, this is the best place for this question. I just started editing .png's and updating some apk's files to customize some things on my phone for looks. However, I am really interested in modifying the taskbar and notification screen, but I have no clue where to start. Is there a guide somewhere I could follow to learn how to change them? What programs, if any additional ones will I need etc..?
Thanks for your help!
Figured it out on my own. framework.apk and resources.apk

[REQUEST] recovery/repair image Xperia Play

can someone who has not unlocked their bootloader go through the "repair" process in either one of the software updaters located here
http://www.sonyericsson.com/cws/sup...teyourproductsoftware/xperia-play?cc=gb&lc=en
when it downloads the repair image for your phone it will stores it on your computer probably somewhere in this folder
C:\Program Files\Sony Ericsson
or
start>run> %temp%
the file will be ~100mb or more
if someone can download that file and upload it to any media shareing website it would be greatly appreciated
I and we will need this for custom roms, root, and recovery if something goes afoot.
many thanks,
grant
EDIT: just an FYI this is different than the system.img /system dump that is floating around the recovery contains the boot.img, nv.img radio.img and among other things
hi johnsongrantr i just bought an xperia play sim free locked bootloader. I am new to the android front (newbie) been an iphone user for a while, if you explain what i need to do to get the recovery img i am more than happy to help
regards
Jason
C:\ProgramData\Sony Ericsson\Update Engine\db\13740270\blob_fs
is where it will be and it will be called something like: FILE_277919341 and will be 157MB
Just done it but that file cant be opened even with magiciso like other roms can.
there is this as well:
http://www.sonyericsson.com/cws/sup...etailed/updateservice/xperia-play?cc=gb&lc=en
interestingly the above software tells you to press the back key before plugging in the usb!
waz000000 said:
C:\ProgramData\Sony Ericsson\Update Engine\db\13740270\blob_fs
is where it will be and it will be called something like: FILE_277919341 and will be 157MB
Click to expand...
Click to collapse
that's the file I need
can you zip that folder or upload the file and host it somewhere, I'll have a crack at opening it
NO problem ill stick um on megaupload
gonna take about 40min to upload but it's on its way will post link when done about 180mb at 66Kbps
waz000000 said:
NO problem ill stick um on megaupload
gonna take about 40min to upload but it's on its way will post link when done about 180mb at 66Kbps
Click to expand...
Click to collapse
thanks, if you or anyone else is following along at home, universal extractor http://legroom.net/software/uniextract can extract *most* archive files unless it is heavily encrypted... then more digging I must do.
BUT... if that works, how to inject root access to a already compiled boot.img + ram disk have a look at this guide
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
read the whole article but pay attention to the "alternative method" where you modify default.prop and change the line ro.secure=1 to ro.secure=0
that's basically all there is to it. Lets hope we can cleanly extract the contents of that file shall we
Already tried that as well bud just shows me a log file and thats it.
Need to rename it to use uniextract but nothing is accepted it fails on all
I litterly have no idea how we get the image file short of jtagging it!
how did they get it for the arc?
waz000000 said:
Already tried that as well bud just shows me a log file and thats it.
Need to rename it to use uniextract but nothing is accepted it fails on all
I litterly have no idea how we get the image file short of jtagging it!
how did they get it for the arc?
Click to expand...
Click to collapse
well I'll just have to look at it then
shouldn't need jtagging, might be able to get an unsecure x10/or arc boot.img to boot enough to pull the info we need, but I don't want to even start messing with that junk yet
was this before or after the source for the arc was released?
http://developer.sonyericsson.com/w.../download/so-01cgingerbread30d279?cc=gb&lc=en
they might have just compiled from source.... sadly, the play doesn't have it's source out yet
EDIT:x10/ or arc
not sure been following the arc threads for a while they havent rooted yet but they are leaps ahead of us we cant make stage 1.
cant get an answer yet as to how they got it, ive posted but waiting on a reply
Originally Posted by waz000000
Guys and gals, where did you get your system.img from over in the play forums we are trying to root as well but we cant seem to figure out how to get our grubby hands on an system.img to work from.
Any help will be met with much kudos.
answer:
Decrypted SEUS firmware. System.sin extracted from .zip and converted to .img using sin2img.
and here is the guide ive found:
http://forum.xda-developers.com/showthread.php?t=730282
and here as promised are the files:
http://www.megaupload.com/?d=5T6KWVB8
waz000000 said:
Originally Posted by waz000000
Guys and gals, where did you get your system.img from over in the play forums we are trying to root as well but we cant seem to figure out how to get our grubby hands on an system.img to work from.
Any help will be met with much kudos.
answer:
Decrypted SEUS firmware. System.sin extracted from .zip and converted to .img using sin2img.
and here is the guide ive found:
http://forum.xda-developers.com/showthread.php?t=730282
and here as promised are the files:
http://www.megaupload.com/?d=5T6KWVB8
Click to expand...
Click to collapse
sweet!
your phone is a r800i unbranded correct?
johnsongrantr said:
sweet!
your phone is a r800i unbranded correct?
Click to expand...
Click to collapse
yeah GSM model sim free
waz000000 said:
yeah GSM model sim free
Click to expand...
Click to collapse
different time zones -0500 here, downloading now, so hopefully I'll bear good tidings in the AM
megaupload download eta 4hrs -_-
time4nap
If you go to "downloads" on top of that page, the sourecode for Gingerbread Xperia (Arc AND Play) are there, the one you link is not Arc. Seems all Xperia (new) is compiled from same source.
johnsongrantr said:
well I'll just have to look at it then
shouldn't need jtagging, might be able to get an unsecure x10/or arc boot.img to boot enough to pull the info we need, but I don't want to even start messing with that junk yet
was this before or after the source for the arc was released?
http://developer.sonyericsson.com/w.../download/so-01cgingerbread30d279?cc=gb&lc=en
they might have just compiled from source.... sadly, the play doesn't have it's source out yet
EDIT:x10/ or arc
Click to expand...
Click to collapse
Sent from my Nexus S using XDA App
And the source link
http://developer.sonyericsson.com/wportal/devworld/downloads/download/30a2181182tarbz2?cc=gb&lc=en
Sent from my Nexus S using XDA App

[DEV] AndroidLib.dll Expansion Project

Description:
The AndroidLib Expansion Project was created to bring support of more Android devices to my AndroidLib.dll project I'm working on. This project is a Windows executable (compiled batch script) that you will run on your computer with your Android device connected. This will NOT run automatically; it will give you a prompt to run after opening.
The main purpose of this project is to collect data about new phones for AndroidLib.dll, not about your specific phone, but about how it transfers specific data through it's shell and through the Android Debug Bridge (ADB), and more importantly, how that output is formatted.
This information will not be shared with anyone other than myself, and will only be used for further developing AndroidLib.dll to support many more Android devices than it currently does.
Source Code is available under "Download Info"
What it does:
Starts an Adb server
Checks Device List
Checks Device Type
Checks Device Serial (only for unique .zip filename)
Checks For SU
Checks UID
Checks BusyBox
Checks File System
Checks Battery Statistics
Checks Running Processes
Checks /data/system/packages.xml for existance
Checks Build Properties
Checks Shell Environment
Creates Zip of Data Above
Opens Upload Form in Browser After Exiting
NOTE: Does NOT Upload Automatically
Usage:
Download the Windows Executable below and run from any directory on your computer with your Android device connected.
Requirements:
Windows Computer
Android device to test
Download Latest Release
AndroidLibExpansion.exe
Download Info
AndroidLibExpansion.exe MD5: 3a8971f452ab7e3da63e375a859033d4
VirusTotal Report
Source Code
No zip file on my desktop to send...
drcell said:
No zip file on my desktop to send...
Click to expand...
Click to collapse
Check the Desktop folder in %USERPROFILE%\Desktop as well instead of just the graphical desktop. I have tested it working on 5 different computers here...
Can you upload to another site
Like http://www.mediafire.com/
TarekNajem04 said:
Can you upload to another site
Like http://www.mediafire.com/
Click to expand...
Click to collapse
Yeah, you can, if you send me the link to it.. but I just wrote that upload script so it would just go straight to my server.. Upload it to mediafire if you would like.
I realize now that this exe may not have worked correctly. I've had 3 reports now of no zip being created on the desktop. I am working to solve this issue, as you see in the source.. it really has no reason not to be creating on the desktop.
I'll be glad to help, if only it created a zip file for me to upload.
EDIT: I checked the %USERPROFILE%/Desktop as well as running a search for anything containing "androidlib" in C:\Users... nothing.
2 things.
1st, it won't make a zip file for anyone that doesn't have 7zip or the required folder structure (there is no standard environment variable of %myfiles% - just use %temp% instead), and it's assuming subfolders exist for output of the adb commands.
2nd, why is it an exe file when it's a batch file? Please link the bat file instead of an exe. I'm running the bat file I copied and pasted from the source and it runs just fine.
Archer said:
2 things.
1st, it won't make a zip file for anyone that doesn't have 7zip or the required folder structure (there is no standard environment variable of %myfiles% - just use %temp% instead), and it's assuming subfolders exist for output of the adb commands.
2nd, why is it an exe file when it's a batch file? Please link the bat file instead of an exe. I'm running the bat file I copied and pasted from the source and it runs just fine.
Click to expand...
Click to collapse
Well, if you knew who I was or looked at anything else I have written, you'd realize that I know what I'm doing, and that I would not assume everyone has the standard environment variable %MYFILES% or have 7zip installed. I am assuming in this program, actually, that the end user does NOT have the android sdk set up (or in their path) and does NOT have any 7 zip binaries. I created a self extracting exe out of my batch file that includes adb.exe, the 2 required adb dlls, and the 7 zip binary, all in the global variable %MYFILES% (aTemp folder in %temp%). It works fine. Just need to figure out why it creates a zip on all of my computers, and not any of yours. I appreciate the feedback though.
FredFS456 said:
I'll be glad to help, if only it created a zip file for me to upload.
EDIT: I checked the %USERPROFILE%/Desktop as well as running a search for anything containing "androidlib" in C:\Users... nothing.
Click to expand...
Click to collapse
Thanks for letting me know you ran a full search and nothing came up still, that actually does help me out, telling me it didn't write to anywhere else. I'll have a working version for you guys in a little bit.
Ok guys, fixed the problem. Works great now. Check the source code and VirusTotal report in the first post if you need to. Thanks again for everyone helping with this! And special thanks to nebenezer for testing the new builds!
regaw_leinad said:
Well, if you knew who I was or looked at anything else I have written, you'd realize that I know what I'm doing, and that I would not assume everyone has the standard environment variable %MYFILES% or have 7zip installed. I am assuming in this program, actually, that the end user does NOT have the android sdk set up (or in their path) and does NOT have any 7 zip binaries. I created a self extracting exe out of my batch file that includes adb.exe, the 2 required adb dlls, and the 7 zip binary, all in the global variable %MYFILES% (aTemp folder in %temp%). It works fine. Just need to figure out why it creates a zip on all of my computers, and not any of yours. I appreciate the feedback though.
Click to expand...
Click to collapse
Lol - calm down mate. I wasn't criticising - I was trying to help. I get why it's an exe now you've explained and that makes sense. Glad you got it working anyway. I'll upload a couple of files for you later.
Archer said:
Lol - calm down mate. I wasn't criticising - I was trying to help. I get why it's an exe now you've explained and that makes sense. Glad you got it working anyway. I'll upload a couple of files for you later.
Click to expand...
Click to collapse
Ok thanks for clarifying. The way you presented your self in your post sounded like somewhat of "this n00b doesn't know what he's doing, and I'm gonna let him know that" lol I'm a pretty chill guy, I just don't appreciate when people do that.
And thank you for doing some uploads later! I appreciate it!
This is my upload link because i couldn't upload with your page. It says "The file you are trying to upload is not a .zip file. Please try again."
http://db.tt/0HoRAK11
It works and I have uploaded the zip
Burned from my laser torch using pencil cells
Uploaded .zip file.
regaw_leinad said:
Ok thanks for clarifying. The way you presented your self in your post sounded like somewhat of "this n00b doesn't know what he's doing, and I'm gonna let him know that" lol I'm a pretty chill guy, I just don't appreciate when people do that.
And thank you for doing some uploads later! I appreciate it!
Click to expand...
Click to collapse
Apologies if that's how I came across - it wasn't intended. I've just uploaded a couple of zip files for you.
Thank you to everyone who has uploaded a zip so far! This is really helping development on AndroidLib. I am still accepting more uploads, so if you feel like helping develpment of AndroidLib, feel free to download and run the exe! I'm needing a few more Samsung devices in particular, those seem to vary in output between themselves.
Have you got an upload from an Motor ATRIX 4g yet? If not ill see if I can sort it for you.
Sent from my MB860 using XDA
The-Milkybar-Kid said:
Have you got an upload from an Motor ATRIX 4g yet? If not ill see if I can sort it for you.
Sent from my MB860 using XDA
Click to expand...
Click to collapse
Nope haven't got one yet, that'd be awesome! Thanks!

[mod] ICS apk de/recompile script for APK Tool - Windows

ICS Framework-res.apk does not like to be decompiled and recompiled by APK tool.
The work around is to use 2 different versions of APK tool and keep swapping files for decompile and recompile.
I have put this in a handy little batch file package to manage all this. It really is basic stuff, but hopefully for those who are not quite sure, it will ease the pain a little.
Please feel free to test it. Enjoy:
This is an updated script to modify ICS *.apk using APK tool.
I take no credit for Apk tool or the process.
I have simply automated it for Windows as there are issues with ICS framework-res modification
Pre -requisites
1. WinRar
2. Java
Click to expand...
Click to collapse
Initial setup
1. Extract the apk folder from the .zip to the root of C:\
The structure should then look like c:\apk\ACTIONS
2. Go into c:\apk\ACTIONS\Install_files
3. Double click "Setup_Install.bat"
Click to expand...
Click to collapse
Usage
Simply double click START.bat and follow the instructions
Click to expand...
Click to collapse
Limitations
Can decompile any one .apk with any name at a time. Do not put any .apk files into the "in" folder until prompted to.
Click to expand...
Click to collapse
Thanks to Rob222 for confirming the method.
Updated the OP. Now can decompile / recompile any name .apk
Simple script. Double Click start and follow prompts.
hi!
got this problem
Ficheiro não encontrado
1 ficheiro(s) copiado(s).
Error: Unable to access jarfile C:\Windows\System32\\apktool.jar
Click to expand...
Click to collapse
any hint ?
i already made the java paths .. tryed java6 and java7
but always that error
ruizit0 said:
hi!
got this problem
any hint ?
i already made the java paths .. tryed java6 and java7
but always that error
Click to expand...
Click to collapse
What command did you run when you did that?
Did you run the setup file first?
You will need to be an administrator. Are you? If so try right click on the start script > Run as administrator
Just realised I somehow had left part of the usage instructions for the old version in the post by mistake. That maybe why some of you have issues.
Nice one bro... that was surely something that many have tried.. nice work..
Sent from my GT-I9300 using Tapatalk 2
Did not work
I set up the script as per the OP but I get the error attached
Think I need this. Getting errors trying to build apks.
Sent from my GT-I9300 using xda premium
Phone_Guru said:
I set up the script as per the OP but I get the error attached
Click to expand...
Click to collapse
Please walk me through, step by step what you did from downloading to receiving this error
Sent from my GT-I9300 using Tapatalk 2
Hey I'm a total noob with apktool on win. But I have unzipped apks on my phone using root explorer swapping res files and made working theme mods...
Could you guide to a good guide to doing this stuff on windows with a GUI I'm code illiterate virtually but know what's going on
Sent from my GT-I9300 using xda premium
I was able to get the CM 10 Framework-res to decompile and recompile using this version:
http://www.mediafire.com/?clk29i70rg7n8i9
The beauty of apks is that if you're swapping oranges for oranges, you don't need to decompile. You only really need to decompile if you're changing XML files.
To swap one image for another image with the same name is easy.
1)Download winrar (or 7zip - but I use winrar).
2)Open the apk with winrar (do NOT extract)
3)Delete the images you want to change
4)Drag the replacement images back in. When the window pops up with options, change "compression" to "store"
5)Close winrar
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
The beauty of apks is that if you're swapping oranges for oranges, you don't need to decompile. You only really need to decompile if you're changing XML files.
To swap one image for another image with the same name is easy.
1)Download winrar (or 7zip - but I use winrar).
2)Open the apk with winrar (do NOT extract)
3)Delete the images you want to change
4)Drag the replacement images back in. When the window pops up with options, change "compression" to "store"
5)Close winrar
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Oh... yeah cool so this automates replacing different images in the apk with the same location... I just use a vrtheme skeleton CMW.zip folder and zip it when done for flashing.
So how do you decompile the arsc archive and mess with deeper stuff?
Sent from my GT-I9300 using xda premium
thankssssssssssssssssssssss Alot
first i Run Setup_instal.bat as administrator in "C:\apk\ACTIONS\Install_Files"
after that my problem solve (i have problem like post 2 and 3)
and thats Awsome ,
graffixnyc said:
content removed
Click to expand...
Click to collapse
Kindly remove your link. This thread is about the mod I am sharing, which I scripted. It is not about other mods.
rlorange said:
Oh... yeah cool so this automates replacing different images in the apk with the same location... I just use a vrtheme skeleton CMW.zip folder and zip it when done for flashing.
So how do you decompile the arsc archive and mess with deeper stuff?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
No, you don't use this at all if you're going to be changing images. This is for the deeper stuff.
rootSU said:
Please walk me through, step by step what you did from downloading to receiving this error
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I did exactly what the OP says, extracted the files into the root of the C drive, ran the setup and clicked on the start.bat and followed instructions. I now ran the setup again and took a screenshot of what appeared because it was so fast I couldn't see it. It said access denied and 0 files copied. I then took ownership of the System32 folder and ran setup again and it said 1 file copied. I now ran the start.bat again and got the attached error.
So am I right in thinking that you can't simply merge folders/files and zip like you can with root explorer because windows is not a Linux system?
Sent from my GT-I9300 using xda premium
Phone_Guru said:
I did exactly what the OP says, extracted the files into the root of the C drive, ran the setup and clicked on the start.bat and followed instructions. I now ran the setup again and took a screenshot of what appeared because it was so fast I couldn't see it. It said access denied and 0 files copied. I then took ownership of the System32 folder and ran setup again and it said 1 file copied. I now ran the start.bat again and got the attached error.
Click to expand...
Click to collapse
can you try right clicking the start.bat and run as administrator please? You're still getting access denied messages.
rlorange said:
So am I right in thinking that you can't simply merge folders/files and zip like you can with root explorer because windows is not a Linux system?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
You can swap anything like-for-like. You can put in a replacement folder, xml file or png as long as everything has the same name.
If you want to edit an existing XML, you cannot do this without decompiling as when an xml is compiled, it does not appear as plain text. Similarly if you want to add more pngs or xml files, resources changed so it has to be decompiled too.
But if its simply swapping like-for-like, you can just use winrar or 7zip as mentioned earlier.
rootSU said:
can you try right clicking the start.bat and run as administrator please? You're still getting access denied messages.
Click to expand...
Click to collapse
I tried that and still got the error messages.

Script to remove bloatware

I figured this would be a good time to learn instead of always relaying on the devs. Does anyone know how to create a script to remove bloatware that is flashable in recovery or executable in terminal?
http://forum.xda-developers.com/showthread.php?t=2370164
I know it's not gonna be the same as the note3, but it gives you an idea as how others have done it.
And this one is an aroma package, so it cannot be simply edited. This is more of an example for how to proceed.
♢NoteIII♢
LeftyGR said:
http://forum.xda-developers.com/showthread.php?t=2370164
I know it's not gonna be the same as the note3, but it gives you an idea as how others have done it.
And this one is an aroma package, so it cannot be simply edited. This is more of an example for how to proceed.
♢NoteIII♢
Click to expand...
Click to collapse
I've been searching around but I can't find a system that work. There's a rom on the Sprint Note 3 forum and the Dev posted a super simple script to run in terminal using
mount -o rw,remout /system
rm /system/app/Accuweatherphone2013.apk
reboot.
to execute in terminal sh/ sdcard/*filename*.sh (file has to be on root of internal memory)
for whatever reason it's not working,
Try making a flashable zip to delete a specific app you don't want and see if that works. If it does then that should be the direction to take.
It should work... should.
♢NoteIII♢
@scrosler
I know you are a very busy man and you have already given the community so much. If you could provide any advice it would be greatly appreciated.
I've been testing this script for hours and can't figure out why it will not debloat... Does anyone know working script to debloat roms?
2swizzle said:
I've been testing this script for hours and can't figure out why it will not debloat... Does anyone know working script to debloat roms?
Click to expand...
Click to collapse
As I was implying before, there is another way besides scripts in a terminal emulator...
Make a zip you can flash in safestrap. I've made you one that you can expand on.
This zip will remove a font apk file. I chose this in particular, because it's benign and won't mess up any functionality of anyone's system.
Here is the file I chose to delete:
View attachment 2460606
Using Notepad++ (available free, just google notepad plus plus) I put together this updater-script:
View attachment 2460610
Then created a zip using 7zip (also available free, use google again).
Booted into safestrap recovery and installed it.
Rebooted system and file is now gone:
View attachment 2460614
The highlighted section inside updater-script would need to have a line in it for each apk you want to delete. If it has an .odex file associated with it, you need to also include a line to delete that as well.
Try it out!
LeftyGR said:
As I was implying before, there is another way besides scripts in a terminal emulator...
Make a zip you can flash in safestrap. I've made you one that you can expand on.
This zip will remove a font apk file. I chose this in particular, because it's benign and won't mess up any functionality of anyone's system.
Here is the file I chose to delete:
View attachment 2460606
Using Notepad++ (available free, just google notepad plus plus) I put together this updater-script:
View attachment 2460610
Then created a zip using 7zip (also available free, use google again).
Booted into safestrap recovery and installed it.
Rebooted system and file is now gone:
View attachment 2460614
The highlighted section inside updater-script would need to have a line in it for each apk you want to delete. If it has an .odex file associated with it, you need to also include a line to delete that as well.
Try it out!
Click to expand...
Click to collapse
hahahaha I hate programming.... I already had all this code done, the problem I was having, I was zipping with the file with the built in windows zip compresser. For what ever reason it wouldn't flash, I installed 7zip and it worked perfectly hahahaha. Thank you so much my friend :good:
Check the Verizon Note 2 ROMs ... I know @mikeyxda had a script to debloat posted in his thread. Perhaps you could take a peak at it for some clues???
Sent from my SM-N900V using Tapatalk
YankInDaSouth said:
Check the Verizon Note 2 ROMs ... I know @mikeyxda had a script to debloat posted in his thread. Perhaps you could take a peak at it for some clues???
Sent from my SM-N900V using Tapatalk
Click to expand...
Click to collapse
I remember that mikeyxda, he had the brilliant instant wake feature on his rom!!! I figured out how to run it using a zip. I think I would prefer that method so I don't have to run terminal every time I flash a rom. Thanks for looking out though, I will also create a script for terminal in case any one wants it.
Ah ... gotcha. I just remembered he had some kind of debloat
Sent from my SM-N900V using Tapatalk

Categories

Resources