recompile hell - Samsung Epic 4G Touch

Ok so I decompiled GB08 Seclauncher2 with team rejects quick fix and have already installed framework-res and twframework-res and systemui with the if batch file made one change to res/value/bool and recompiled when trying to install with root explorer apk installer it says app not installed and when i push to preload and creat symlink I get bootloop after reboot wtf am I doing wrong LMAO!:crying:

Sherbon26 said:
Ok so I decompiled GB08 Seclauncher2 with team rejects quick fix and have already installed framework-res and twframework-res and systemui with the if batch file made one change to res/value/bool and recompiled when trying to install with root explorer apk installer it says app not installed and when i push to preload and creat symlink I get bootloop after reboot wtf am I doing wrong LMAO!:crying:
Click to expand...
Click to collapse
The only successful way I've been able to add to preload was to use an existing flashable zip and just replace the apk, or you can add out the ROM of your choice and reflash.
Something in the process of adding a symlink via root explorer borks it.
The other thing is you can't replace a process in use ie, systemui, services etc... using root explorer, it boot loops me every time:beer:
If you get really hard up finding the zip you need you can create or modify the updater script from a ROM to have only the apk and permissions you want by deleting the other stuff in there, just be sure to delete anything that formats your mount points.
Sent from my SPH-D710 using xda premium

Stryke_the_Orc said:
The only successful way I've been able to add to preload was to use an existing flashable zip and just replace the apk, or you can add out the ROM of your choice and reflash.
Something in the process of adding a symlink via root explorer borks it.
The other thing is you can't replace a process in use ie, systemui, services etc... using root explorer, it boot loops me every time:beer:
If you get really hard up finding the zip you need you can create or modify the updater script from a ROM to have only the apk and permissions you want by deleting the other stuff in there, just be sure to delete anything that formats your mount points.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thank you so much the people in this community are so helpful and great you are all awesome!
:good::good:

Sherbon26 said:
Thank you so much the people in this community are so helpful and great you are all awesome!
:good::good:
Click to expand...
Click to collapse
No problem:thumbup:
Sent from my SPH-D710 using xda premium

So the only way I knew how to install with clockwork mod was to delete SecLauncher2.apk from ko's GB08 rom and add mine then flash that but it is working so now gonna learn how to right a script and I will be sharing my first mod all thanx to you and _dan....you guys are all so helpful
Sent from my SPH-D710 using xda premium

Related

[Q] Zipped Backup

Is there anyway i can backup my whole ROM as a zip file? I want to be able to bring it to my computer, edit some png's, then reflash and have the modifications up. If there is such thing please let me know. I am extremely interested in this!!
Why not just transfer the rom.zip you used to flash and edit the framework-res and systemui.apk's and then gut a flashable zip and place those in appropriate folder and flash that? That's what I do if you need a plain empty flashable I can upload one for you
Sent from my SPH-D700 using xda premium
Let me elaborate on that
You take a flashable that already contains an updater-script in it aka meta-inf.
Make a framework folder and this is where you will put your signed and renamed Framework-res.apk then make a folder named System and in system folder make an App folder and this is where you'll place the SystemUI.apk.
*note* you need to sign these when your done swapping pngs and rename them appropriately.
Once done sign the whole.zip boot into cwm and flash it this will replace the stock framework-res etc and you'll be good to go
http://db.tt/xfQOB8Kg
Use this .zip for your flashable this will do all the work in cwm mounting wise. Just delete the folders in the system folder and do what I told you above
Sent from my SPH-D700 using xda premium
this post was so noobish i feel stupid
joe_d08_17 said:
Thank you very much. That sounds like a plan. But how can I make it so the apps will stay on the desktop and settings can be saved? I take it I would have to edit the XML files or something difficult right?:/
Click to expand...
Click to collapse
What do you mean? All you'd have to do is open the zip and find the .apks extract them edit the pngs and sign them put them in the flashable and flash it... I'm not understanind your issue
Sent from my SPH-D700 using xda premium
its because what i want is literally like a clockworkmod backup but as a flashable zip. This is not possible is it? I want all my settings and referennces to be saved along with my messages etc.
joe_d08_17 said:
its because what i want is literally like a clockworkmod backup but as a flashable zip. This is not possible is it? I want all my settings and referennces to be saved along with my messages etc.
Click to expand...
Click to collapse
No if you create this flashable what you edit to put it this it will only change what your flashing like if you put nothing in the flashable then nothing will change. If you want to flash a vending.apk put in this flashable and flash it that's all that's going to change is the replacing of the market...
Sent from my SPH-D700 using xda premium
What do you plan on editing anyways? An app? Your theme?
Sent from my SPH-D700 using xda premium
Oh ok wow i am so dumb. I didnt understand you but now i get it. Thanks this sounds better
joe_d08_17 said:
Oh ok wow i am so dumb. I didnt understand you but now i get it. Thanks this sounds better
Click to expand...
Click to collapse
No problem
Sent from my SPH-D700 using xda premium
There also is a way to make a flashable from your nandroid backup. I don't remember where I saw the thread offhand but will look tonight.
Sent from my SPH-D700 using XDA App
ok i got more questions-.- what is sign? and which apk's do i have to sign?
that would be great. if you find please post a link
joe_d08_17 said:
ok i got more questions-.- what is sign? and which apk's do i have to sign?
Click to expand...
Click to collapse
Lol if you have windows 32bit ill find my installer on my pc for the apksigner and ill upload it for you xD
If you plan on editing an applications png then once you've opened it and replaced said pngs then it needs to be resigned and renamed to not have the "signed" in it
Signing means its certifed and has the ability to be installed as application
Sent from my SPH-D700 using xda premium
lol upload it please. im using apk manager 4.9 but man this really tough. can u elaborate a bit more? im so sorry lol im just not grasping it.
do not give up on me!! lol
how bout this look: so im trying to make a minor change to an app just for fun. its airdroid. so is the first step to extract the apk or to decompile?
and lol i was trying to accomplish the task of making mynandroid backup a flashable zip but this interests me to.
So, lets get clear, what exactly r u helping me do now? In my head im thinking ur trying to help me edit an app and then install it in my phone right?
if im wrong then tell me what we are trying to do!! lol
Yeah that sounds like its much more difficult then what I use what I use you drag and drop the finished apk and it signs it lol simple give me a minute to find it upload it and paste a download link..pc sucks arse phone is much faster....
Edit: yes I'm helping you edit an apk and then have it install on the phone or be able to be pushed to the /system/app folder...
Sent from my SPH-D700 using xda premium
http://db.tt/SxsN7FdP
Extract this and install it once done open the android apk signer and drop the apk file in the box hit sign and done
Sent from my SPH-D700 using xda premium
Go into Themes subforum in the sticky at the top and read Guide to Themeing by Dreamsforgotten....it is awesome and has all the programs and links...plus he answer all questions.
Sent from my SPH-D700 using XDA App
ok great im gonna try it. i tried it another time with apk manager and it didnt work. hopefully urs works.

[Q] How to create flashable ZIP for CWM in T989??

I have tried finding a guide specific for our phone, but only found it for other samsung phones..is it the same process to create a flashable zip? I just need to create one that will flash a modified systemUI.apk in /system/app..not sure where to start on a template..
euklid said:
I have tried finding a guide specific for our phone, but only found it for other samsung phones..is it the same process to create a flashable zip? I just need to create one that will flash a modified systemUI.apk in /system/app..not sure where to start on a template..
Click to expand...
Click to collapse
All phones are different. Some have a yaffs2 mount system, others like our devices, have an ext4 mounting system. Here is my systemUI zip i use and created. Have fun!
You should be able to download elesbb's zip. With root explorer extract all and replace his systemui.apk with yours, rezip and flash away. And be sure to thank him for the template/updater-script.
Sent from my SGH-T989 using xda premium
Thanks i will try this!
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2

HELP! System ui has stopped working s3 i747

Hey guys, i tried flashing a theme which was the circular battery percentage w/15 toggles last night, via cwm and when i rebooted after flashing it took longer than usual and when it finally booted i got a pop up saying " unfortunately system ui has stopped working" how do I fix it? i didnt have any backup (yes I know im a genius), now, i was wondering, does any of you guys have the stock system ui files to flash it via cwm?
here is the h9 one
thanks, man but when i try and install it it tells me that the app was not installed
you dont intall it rename your old systemui.apk to systemui.bak and place the new one in the same spot it should be system/app then reboot your phone and it should work or you can reflash your rom with out wipe and that will fix it too
avilesjorge3 said:
thanks, man but when i try and install it it tells me that the app was not installed
Click to expand...
Click to collapse
Use an app called root explorer or ef file explorer push the systemui.apk in system/app, set the permissions and then reboot your phone.
Sent from my SGH-I747M using Tapatalk 2
thanks for the answers guys, sorry for being such a noob, but where can i find the systemui.apk file? in order to replace it
in the folder system/app
is there any tweak i must know of in order to replace/rename the file systemui.apk it doesn't let me do anything because it's a read only file
and does it matter if mine is a telus i747m?
what app are you using to do this
root explorer, with superuser permissions
ok when your in the folder where systemui is click mount r/w at the top of the screen then you can rename it
thanks man, you saved my life right there, now, the other question is, where did you get the systemui.apk file? and could I find it for a galaxy note i717d as well?
i pulled it from the zip in this thread http://forum.xda-developers.com/showthread.php?t=1902178
as for the note you should be able to pull it from a stock rom in its section on these forums
Thank you
Thanks so much I was finally able to get 7.1 to work with your UI file!!:laugh::good:

[MOD] No navi button MOD for JB/ICS Razr M xt907 Roms

No USER friendly! Sorry I can't create update.zip
Need Safestrap for BackUP and change permissions (chmod -R 755 /system/framework/framework-res.apk).
This mod can open for you full screen display in Razr M without loose toggle bar, just copy framework with style what you want to /system/framework dir, and change permission to file.
Files in zip for 4.1.1 & 4.0.4 Android.
noVbutton - no navibar in Vertical orientation, yes in Horizontal
noV-Hbutton - no navibar in Vertical orientation, no in Horizontal
origin - original file
Of course you can change all manually if decompile framework-res.apk and find file named dimens.xml
<dimen name="navigation_bar_height">18.0dip</dimen>
<dimen name="navigation_bar_height_landscape">18.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>
link to framework-res.apk http://forum.xda-developers.com/attachment.php?attachmentid=1763662&d=1361913475
Thank you! I've been trying to figure out if this could be done. Swapped in your file using Root Explorer on the phone, everything crashed (kinda expected). Rebooted, changed permissions, and now she's working great!
jjlangen said:
Thank you! I've been trying to figure out if this could be done. Swapped in your file using Root Explorer on the phone, everything crashed (kinda expected). Rebooted, changed permissions, and now she's working great!
Click to expand...
Click to collapse
Ugh, tried to follow in your footsteps but got totally screwed. Wasnt able to chmod, tried rebooting and stuck in bootloop
Developer only?
Does this work for the developer and regular versions? Anyone tried this with the official JB OTA from Verizon?
I used Root Explorer, not a terminal. Running on stock Verizon Jelly Bean, retail version.
Sent from my XT907
It Works!
Yeah, FINALLY! Get rid of that craptastic waste-of-space navbar.
If anybody want to know, here's how I did it:
Note: I used root explorer
1. I used my windows 7 machine to extract the version of framework-res I wanted.
In my case, i'm on the 4.1.1 JB Verizon OTA, so I chose the 4.1.1 noV-Hbutton.
2.Copy the framework-res of your choice to the root of your internal storage card.
3. Using your file manager (Root explorer in my case) copy the framework file from your internal storage to "\system\" NOT "\system\framework\". Note, if you do this step and it asks you if you want to overwrite "framework-res.apk" STOP!
4. Using your file manager, write down the permissions for your existing "\system\framework\framework-res.apk".
5.Go to the framework-res.apk you just copied "\system\framework-res.apk" and change permissions to match those of your existing framework-res file.
6. AFTER the permissions have been changed and verified (I exited completely out of root explorer, then re-opened it and double checked that the permissions where the same) you can safely move and over-write the file in "\system\framework\".
7. Here's the reason. If you just copy the modified framework file straight from your internal memory to its home in "\system\framework\" the permissions won't be right, and there is a VERY good chance you will end up in an endless bootloop. Copying the file to "\system" first gives you the opportunity to modify its permissions BEFORE overwriting the existing framework file.
Good luck!
Update: Not sure why, and it isn't causing any problems, but every time I reboot the phone, it goes through the "android is upgrading your apps" dialogue".
Guess I got lucky avoiding a bootloop. I just copied the new file, went to /system/framework, renamed the current file, and pasted in the new one. Then all the applications crashed, I rebooted, and changed the permissions. I did have to sign back into all my accounts (Google, Facebook, etc), but zero issues since then.
I'm still loving it! The nav buttons took up so much space. The new version of LMT that you can trigger from the bottom makes it perfect.
http://forum.xda-developers.com/showthread.php?t=1330150
Op you rock man! Thanks ks a ton!
Sent from my SCH-I815 using Tapatalk HD
kensdavid said:
Ugh, tried to follow in your footsteps but got totally screwed. Wasnt able to chmod, tried rebooting and stuck in bootloop
Click to expand...
Click to collapse
same thing happened to me
I got moved the new framework file into the folder except I accidentally deleted it at the same time. Everything started to "stop working" and after I did a hard reset recovery (wipe data/factory reset + wipe cache partition) it stays stuck on the "android" boot loop (past the motorola logo) any help on restoring my phone??
The framework in the OP doesn't work with Eclipse Rom so I recompiled it from the eclipse framework. Same instructions as OP just different file.
So to recover, this is for Eclipse 1.1 no buttons
https://www.dropbox.com/s/5ruaj1rr6klmici/framework-res.apk
If I helped you out toss the OP and I a thanks plz :good:
Stock TB
Clienterror said:
The framework in the OP doesn't work with Eclipse Rom so I recompiled it from the eclipse framework. Same instructions as OP just different file.
So to recover, this is for Eclipse 1.1 no buttons
If I helped you out toss the OP and I a thanks plz :good:
Click to expand...
Click to collapse
I would like to do this for TB. Are you using apktools?
im running cm10 beta on my razr m and i found that simply adding "qemu.hw.mainkeys=1", to the end of your build.prop without the " then reboot. This will make the bottom nav bar disappear.
I found this by accident attempting to make the nav bar translucent so im not sure why it works, but it does for me.
theycallmekenny said:
im running cm10 beta on my razr m and i found that simply adding "qemu.hw.mainkeys=1", to the end of your build.prop without the " then reboot. This will make the bottom nav bar disappear.
I found this by accident attempting to make the nav bar translucent so im not sure why it works, but it does for me.
Click to expand...
Click to collapse
It causes systemui.apk to FC on stock based ROMS. Great for CM10 based ROMs.
From the RAZR M
hillmom said:
I would like to do this for TB. Are you using apktools?
Click to expand...
Click to collapse
Yea just decompile the framework from the rom you want and edit the lines in the op to all zeros. It's located in the "values/dims.xml" (I think). Recompile apk then drop in the meta folder from the original framework inside the new framework (I used 7zip). Just copy to phone, set permissions, and reboot.
Sent from my XT907 using Tapatalk 2
Clienterror said:
Yea just decompile the framework from the rom you want and edit the lines in the op to all zeros. It's located in the "values/dims.xml" (I think). Recompile apk then drop in the meta folder from the original framework inside the new framework (I used 7zip). Just copy to phone, set permissions, and reboot.
Sent from my XT907 using Tapatalk 2
Click to expand...
Click to collapse
Thanks. I must be missing something because every time I try to recompile I get the error'
Could not find sources.
Never mind, I made a dumb noob mistake. Got it. Thanks!
hillmom said:
Thanks. I must be missing something because every time I try to recompile I get the error'
Could not find sources.
Never mind, I made a dumb noob mistake. Got it. Thanks!
Click to expand...
Click to collapse
No problem, after you do it once it isn't a big deal
Sent from my XT907 using Tapatalk 2
hillmom said:
Thanks. I must be missing something because every time I try to recompile I get the error'
Could not find sources.
Never mind, I made a dumb noob mistake. Got it. Thanks!
Click to expand...
Click to collapse
So what was the mistake you made when trying to recompile?
Sent from my XT907 using Tapatalk 2
sniperkill said:
So what was the mistake you made when trying to recompile?
Sent from my XT907 using Tapatalk 2
Click to expand...
Click to collapse
I'm using APK Multi Tool, and I didn't install the framework-res.apk for 4.1.1 first.
Sent from my XT907 using Tapatalk 2
hillmom said:
I'm using APK Multi Tool, and I didn't install the framework-res.apk for 4.1.1 first.
Sent from my XT907 using Tapatalk 2
Click to expand...
Click to collapse
Oh, and okay. I know when jelly bean and ICS first came out everyone was having a hard time with recompiling the .apk's from ics and jb. I haven't tried it since. I'm assuming that they must have fixed all that by now?
Sent from my XT907 using Tapatalk 2
sniperkill said:
Oh, and okay. I know when jelly bean and ICS first came out everyone was having a hard time with recompiling the .apk's from ics and jb. I haven't tried it since. I'm assuming that they must have fixed all that by now?
Sent from my XT907 using Tapatalk 2
Click to expand...
Click to collapse
Yes, they did update them. I tried earlier with an older utility, and was getting really frustrated because I couldn't get the apk to recompile. APK Multi Tool os awesome, I need to play with the themeing tools it has.
Sent from my XT907 using Tapatalk 2

[Q] instal stock keyboard

Hi all
i have N-5100 note 8.0, with cyanogenmod 11 nightly ROM
i have the stock keyboard apk & odex files (SamsungIME.apk & SamsungIME.odex)
i'm tried to copy paste them in System/app (Failed for premmission)
i'm also tried this Method but no thing new, no samsung keyboard found in input methods
http://forum.xda-developers.com/showthread.php?t=2228836
any way to install them or install stock samsung keyboard ?
anyone can help me ?
moha_moha20106 said:
anyone can help me ?
Click to expand...
Click to collapse
I have the same problem.N5100 with chinese as default. I'd like to change that to samsung.
After pasteing you have to change the permissions of the pasted files to match the permissions of other files there.
I've never pasted apks, but changing the host file I have to fix permissions to rw-r--r--. Maybe you can paste, reboot into recovery and fix permissions to correct the permissions.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app
All the Stock Samsung Apps need also Samsung framework and CM based Rom do not have is framework included. So this will never work.
The Sonos said:
After pasteing you have to change the permissions of the pasted files to match the permissions of other files there.
I've never pasted apks, but changing the host file I have to fix permissions to rw-r--r--. Maybe you can paste, reboot into recovery and fix permissions to correct the permissions.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app
Click to expand...
Click to collapse
can you tell us the steps for that , and we can do it dear
thank you
User_99 said:
All the Stock Samsung Apps need also Samsung framework and CM based Rom do not have is framework included. So this will never work.
Click to expand...
Click to collapse
so what we can do please to add the framework, i have the framework folder that inclode .jar files,
i extracted them from System/Framework folder, from the older system recovery
help us please if you can
User_99 has a valid point that I overlooked.
If you want to try anyway:
(This is for root explorer options/methods may vary with other apps but it should give you an idea.) After pasting the files long press them to bring up the options. Press permissions, make sure read and write are checked for owner, and only read for groups and others. Then reboot for good measure.
To fix permissions in recovery (instead of using the method above) it depends on the recovery you have installed. Cwm has a fix permissions option under 'advanced'. Twrp has one too but I'm not well versed in it to guide you to it. After running the fix permissions option reboot.
As user_99 stated tho, if they are tied to the stock framework it still won't work.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app
Edit: typo.
The Sonos said:
User_99 has a valid point that I overlooked.
If you want to try anyway:
(This is for root explorer options/methods may vary with other apps but it should give you an idea.) After pasting the files long press them to bring up the options. Press permissions, make sure read and write are checked for owner, and only read for groups and others. Then reboot for good measure.
To fix permissions in recovery (instead of using the method above) it depends on the recovery you have installed. Cwm has a fix permissions option under 'advanced'. Twrp has one too but I'm not well versed in it to guide you to it. After running the fix permissions option reboot.
As user_99 stated tho, if they are tied to the stock framework it still won't work.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app
Edit: typo.
Click to expand...
Click to collapse
thanks dear, and we will gave it try, but do you suggest Root Explorer program or we can use any root explorer apk ?
You can use any file explorer that allows you access to root files.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app
The Sonos said:
You can use any file explorer that allows you access to root files.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app
Click to expand...
Click to collapse
now i did the steps right and also fixed the permissions from the TWRP recovery, but still not working
what the next steps or will i can try another method
Edit : i was added the .apk & .odex files in System\app folder
Nothing to do, only flashing and using a Samsung Stock Rom. Will never work on CM based Roms, never, ever! ONLY STOCK.
i just installed SwiftKey keyboard and it helped me
thanks a lot

Categories

Resources