fix permission before flashing a rom - Android Q&A, Help & Troubleshooting

Ive been building a rom and adding tweaks and apps ive noticed after I flash my rom I need to fix permissions to get some rhings working is there a way to do this wile im builing my rom? Do I have to do it manully or is there a program that can do it for me ? Thx

xstokerx said:
Ive been building a rom and adding tweaks and apps ive noticed after I flash my rom I need to fix permissions to get some rhings working is there a way to do this wile im builing my rom? Do I have to do it manully or is there a program that can do it for me ? Thx
Click to expand...
Click to collapse
You can change permission in update scripts
While building do you mean on pc if this is the case you can't do so
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!

sak-venom1997 said:
You can change permission in update scripts
While building do you mean on pc if this is the case you can't do so
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Ya on the pc before I run it though the kitchen

xstokerx said:
Ya on the pc before I run it though the kitchen
Click to expand...
Click to collapse
I was trying to do this sometime back and when I changed permission on Linux desktop and pushed the app it's permission was again changed to default.
This is because permission attributes aren't contained in the files they're set by system and change on copying or moving
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!

sak-venom1997 said:
I was trying to do this sometime back and when I changed permission on Linux desktop and pushed the app it's permission was again changed to default.
This is because permission attributes aren't contained in the files they're set by system and change on copying or moving
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
ok i figured it out i gotta copy the change permission comands from updater script of the zips to my updater script in the rom with notepad++

xstokerx said:
ok i figured it out i gotta copy the change permission comands from updater script of the zips to my updater script in the rom with notepad++
Click to expand...
Click to collapse
Yup that's what you need to do
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!

Related

[How to] How to create/modify your own wallpaper app

In this thread I will show you how to customize an app so that you could add your favourite wallpapers in it. Its good for roms for improving their visuals.
Requirements:
1.HCWallpapers.apk http://www.mediafire.com/?z3oaoy1iz9w9mtu
2.apktool/apk multi tool
3.basic editing xml's
Instructions
1.Decompile HCWallpapers.apk
2.Go to res/values-hdpi
3.Open arrays.xml
4.Add this
Code:
<item>wallpaper_x</item>
Replace 'x' with any alphabet like k,n etc. (The alphabet should not be already present)
5.Go to drawable-hdpi
6.Add 2 images over there with the corresponding names and sizes
Code:
wallpaper_x.png/jpg 480 x 320
wallpaper_x_small.jpg/png 170 x 124
7.Compile apk, sign it and install it
Can't install, and i use root-explorer copy to system/app, set perm, and reboot phone, but not work.
R U try??
Totoro® said:
Can't install, and i use root-explorer copy to system/app, set perm, and reboot phone, but not work.
R U try??
Click to expand...
Click to collapse
m usin it... i used an updater - script to flash it
hell_lock said:
m usin it... i used an updater - script to flash it
Click to expand...
Click to collapse
Flash is different with use Root-Explorer? hmm...
Totoro® said:
Flash is different with use Root-Explorer? hmm...
Click to expand...
Click to collapse
DID u sign the apk??sign it n install manually
hell_lock said:
DID u sign the apk??sign it n install manually
Click to expand...
Click to collapse
I use direct app u post. No dec.
Totoro® said:
I use direct app u post. No dec.
Click to expand...
Click to collapse
its not signed dats why it didnt work
hell_lock said:
its not signed dats why it didnt work
Click to expand...
Click to collapse
Now, i need...???
Totoro® said:
Now, i need...???
Click to expand...
Click to collapse
u need to sign that apk file... see this for signing
http://forum.xda-developers.com/showthread.php?t=1466100
See this as demo:http://www.mediafire.com/?ybot4gu1ocao8f9
wow nice info sir
Are u telling how to kang wallpapers ?
IF YOU LIKE MY WORK, THANK ME BY THE BUTTON BELOW
plagiat said:
wow nice info sir
Click to expand...
Click to collapse
Haha he is saying u "sir"
xD
IF YOU LIKE MY WORK, THANK ME BY THE BUTTON BELOW
rishabho1 said:
Haha he is saying u "sir"
xD
IF YOU LIKE MY WORK, THANK ME BY THE BUTTON BELOW
Click to expand...
Click to collapse
That's because I am a respectable Guy here for some people.
Sent from my GT-S5360 using XDA
How to recompile an apk ???
Sent from my GT-I9100 using xda app-developers app
simplyanin said:
How to recompile an apk ???
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Apktool b HCWallpapers.apk
Sent from my GT-S5360 using XDA

tw launcher with miui

hi ive just flashed miui rom on my galaxy s3, i would like to use the tw launcher though, is there a download that i can flash so i can use miui rom with tw launcher?
thanks in advance
Done think so, different framework. I couldn't do it on the SGS2 anyway.
Sent from my GT-I9300 using xda premium
B3311 said:
Done think so, different framework. I couldn't do it on the SGS2 anyway.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
thanks for the reply
i managed to get it done on my galaxy s2, i had a flashable zip that i could flash to any samsung or cm9 based rom and it would give me touchwizUX
place this in ur system/app
and change ur permission to rw-r-r
use root explorer and reboot
vegeta1 said:
place this in ur system/app
and change ur permission to rw-r-r
use root explorer and reboot
Click to expand...
Click to collapse
thanks for that
could you tell me how to change the permissions please?
thanks in advance
ScottM1873 said:
thanks for that
could you tell me how to change the permissions please?
thanks in advance
Click to expand...
Click to collapse
browse to
/system/app/seclauncher.apk
long press and do this
U CAN USE THIS FILE MANAGER AS ROOT EXPLORER IS PAID
https://play.google.com/store/apps/...wxLDEwOSwiY29tLmVzdHJvbmdzLmFuZHJvaWQucG9wIl0.
LEMME KNOW IF U NEED ANY HELP
vegeta1 said:
browse to
/system/app/seclauncher.apk
long press and do this
U CAN USE THIS FILE MANAGER AS ROOT EXPLORER IS PAID
https://play.google.com/store/apps/...wxLDEwOSwiY29tLmVzdHJvbmdzLmFuZHJvaWQucG9wIl0.
LEMME KNOW IF U NEED ANY HELP
Click to expand...
Click to collapse
thank very much i have it working now
ScottM1873 said:
thank very much i have it working now
Click to expand...
Click to collapse
no problem man , happy to help
Thanks all for correcting me, sorry for giving wrong info.
Sent from my GT-I9300 using xda premium
B3311 said:
Thanks all for correcting me, sorry for giving wrong info.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
no problem mate ,
may be someday u can correct me for something as well
Could I get this work on CM10 with the way? Just a noob question!
Thanks

Stock App Problem(Browser)

I've a problem that mistakely I deleted the Stock Browser.apk app on system/app/Browser.apk. I'm using JellyBlast v3.5 On my Samsung galaxy Y S5360.Plz help me.....to reinstall this Browser app
imElectronica said:
I've a problem that mistakely I deleted the Stock Browser.apk app on system/app/Browser.apk. I'm using JellyBlast v3.5 On my Samsung galaxy Y S5360.Plz help me.....to reinstall this Browser app
Click to expand...
Click to collapse
Jelly blast??
I guess it was closed due to wares
Anyways open the JellyBlast zip with 7zip ull find browser in system/app inside the zip extract it and place it in your phone
Now using a root explorer copy this app to system/app and change permission to rw-r-r
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
Jelly blast??
I guess it was closed due to wares
Anyways open the JellyBlast zip with 7zip ull find browser in system/app inside the zip extract it and place it in your phone
Now using a root explorer copy this app to system/app and change permission to rw-r-r
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
where I found JellyBlast Zip....and I have the backup of Browser.apk but it is not installed...I tried it many times. Plz help
imElectronica said:
where I found JellyBlast Zip....and I have the backup of Browser.apk but it is not installed...I tried it many times. Plz help
Click to expand...
Click to collapse
Just copy the apk to system/app folder using root explorer and change its permission to rw-r-r
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
I also try this but It does not work for me.....plz give me the stock Browser.apk app of Galaxy Y.
Don't you have the zip file with which you flashed the rom the browser is inside that
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
Don't you have the zip file with which you flashed the rom the browser is inside that
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
I already deleted the zip file.

How to add mods and tweaks to a rom while porting????

Does any one know how to add tweaks and mods while porting a rom
Use DIXDA kitchen you will find in chief central - > android
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
it does not support lg p690 then what should i do..,shoul i directly copy the tweaks in init.d
Yup dats what you'll do
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
should i directly copy tweaks in it and flash the rom
J.E.abhishek kumar said:
should i directly copy tweaks in it and flash the rom
Click to expand...
Click to collapse
Yes directly copy them but don't mod them
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
what you mean by don't mod them ??????????
J.E.abhishek kumar said:
what you mean by don't mod them ??????????
Click to expand...
Click to collapse
They're basically text files if you open them up you'll se the code
I ment you should not edit them
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!

Update Binary .. Issue

so I'm trying to write in "Update-Binary" in a Zip File .
In The Zip The Update-Binary is Located : META-INF < COM < GOOGLE < ANDROID < (Here)
I'm trying to write and edit some things into the file , which I have tried with NotePad++ and Notepad and WordPad . None will work ... When I go to Flash I have a Error right away since The Update binary is the system to start the Flash it won't work . Any Help?
Which device are you writing the update binary for?
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
Which device are you writing the update binary for?
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Samsung Epic4G Touch (Sprint)
JustDrado said:
Samsung Epic4G Touch (Sprint)
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1848010
download any of the cwm flashable zips from download links in the op you'll find the update binary in it if handsets don't match exactly there's no problem it will work
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
http://forum.xda-developers.com/showthread.php?t=1848010
download any of the cwm flashable zips from download links in the op you'll find the update binary in it if handsets don't match exactly there's no problem it will work
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
I'm trying to edit the file , and not break it and it's in a weird coding ( I know the name of the code language ) it's just Look at the File . I can't edit it without it breaking -.- \\ There a Line in it that says 2012 and I need to put 2013 and a few more thing then that ...
Here the File From Dev Host (File Has been Scanned by there Virus scanner) . http://d-h.st/D1Z
What coding language its using and I guess you can't edit it just simply using notepad++ maybe it requires some tools
One question that is in my mind is why you need to edit it and can't use that one
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
What coding language its using and I guess you can't edit it just simply using notepad++ maybe it requires some tools
One question that is in my mind is why you need to edit it and can't use that one
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Because of the copyright and also some other things inside the file which need to be rewritten for the Zip file Im mkaing , :good: And the for the code language Give me a sec.
Anyone else that could help me??????????
I think you should be editing update-script and not update-binary.

Categories

Resources