[Solved] Uninstall theme by deleting / editing files - Moto G Q&A, Help & Troubleshooting

Hi,
I m using DU Rom 8.1 with a great pleasure.
unfortunately, I install a theme which seems not being compatible.
I have constant systemui crashes, on lock screen and can't do anything.
So, I thought to remove or unapply this theme "manually".
I can t do with adb cause the phone is not recongnized form my PC cause these crashes.
So I thought to do it by the recovery with aroma file manager.
I already deleted the data/app/xxx.apk and the data/data/com.xxxx folder, but it doesnt seem to be enough.
is there something more to do ? => edit a config file and /or delete another file / folder.
Thanks per advance for your help.
Edit , it s OK, I mnaged to do it.
In fact it was sufficient to delete apk and com.xxx folder.
My problem was that I used a style from one theme and the police from another one... so I it was necessary to remove all the applied themes.

Related

Enable Superuser.apk & Enhance ROSIE UI FOR HERO ROM [Re-Updated FIXED]

Hello Guys!!!
Sorry for the problems caused There Were More Two Widgets Missing Other Than Messaging widget to be coppied to Internal Memory Namely The Clock & Contact Widgets, So They Are Added In The Re-Update, The Whole .exe Is To Be Downloaded Again, Sorry For This.
Even The superuser enabler package(.exe) is fixed...But If U already Have the old .exe , just get the attached script & replace it with the old one...
Be Tuned For Apps2Sd & An Rom With At-least 30 MB Of Free Internal Memory Build....M Currently Initializing Source Code So That Will Help Me With Some Stuffs Like Update-Script & Some Stabilization Of ROM...
SUPERUSER ENABLER
Thers no SuperUser Apk Working On Haykuro's Hero Rom, So to get It Working, Only Installing Is Not Enough So I have Got It Working, Follow This Steps...
Note: To Test, Just Try Using CPU Overclocker Widget(Its Free) From The Market Before & After Using This... u ll Notice the Change
Steps:
1. Download The Install-Enable-SU-By-Sangeet.exe & Extract Any where By Double Clicking It.
New Fixed Download Link: http://android-latest-build-images.googlecode.com/files/Install-Enable-SU.exe
2. Connect Ur Phone Via USB Cable
3. Run The Install-Enable-SU .bat File.
4. Choose Appropriate options..
5. Rebooting Not Recommended...(UR WISH)
Rosie UI Enhancer/Optimizer
Note: U Must not Be Using Apps To SD Other Than The Default app_s folder
Means U must Not Have /Data/app Moved to /System/sd/app
The Rosie UI Dosent Need The Launcher.apk, So This Script Removes It.
This Script Moves/Installs Rosie Application To Internal Memory...
MoreOver, The Rosie UI Uses The HTC Widgets Which Are Seperate Applications, So Even If The Rosie Loads Fast, The Widgets Make It Slow...
So This Script Even Moves/Installs The HTC Widgets To Internal Memory...
Steps:
1. Download The Fixed-Rosie-UI-Optimizer.exe & Extract Any where By Double Clicking It.
Download Link: http://android-latest-build-images.googlecode.com/files/Fixed-Rosie-UI-Optimizer.exe
2. Connect Ur Phone Via USB Cable
3. Run The Optimize_Rosie.bat File.
4. Choose Appropriate options..
5. Reboot The Phone (NEEDED)
Dex-Optimizing
After All That, The Widgets Would Take Some Internal Memory, So I Would Recommend Using The Dex Optimizer...
Steps:
1. Download The Dex-Optimizer.exe & Extract Any where By Double Clicking It.
Download Link: http://android-latest-build-images.googlecode.com/files/Dex-Optimizer.exe
2. Connect Ur Phone Via USB Cable
3. Run The DEX-OPTIMIZER.bat File.
4. Choose Appropriate options..
Credits: buttkicker (optimization script),
I Dint Know Hod to make such scripts with options Learned from HTC Hero Speedup vXX by tehseano so credits to him too...
If Any one else left inform me i ll add..
Please add this to the wiki and PM me the url so I can add it to the roundup thread.
Only post problems with the above thread. Do not go off topic.
ryanmo5 opened this thread saying it didn't work and it messed up his home screen.
Thank you ryan for trying this out and letting us know.
i tried this and it says no such file or directory on all files. And then it says it cant find .apks for all files to install. Ok i didnt even look at my home screen all my widgets are gone except the clock. When i try to add the htc widgets im left with only 4 widgets.
Also the Install-Enable-SU.bat did not work for me. Was stating batch was inoperable.
Yeah, the UI tweak totally borked my phone. It locks up at the HTC logo. I went back to ion till tomorrow.
WEE!!!
AWESOME. This is fantastic. Thank you for your hard WORK!! much appreciated! Seems to have worked like a charm for me and i can really notice a huge speed boost especially when going back to the home screen.
I have found my HEROOO!
Oh and btw, when you do the part to optmize for Rosie, the folder that contains the apks should be renamed from Rosie to Files. That will make things work. It did for me.
I miss the Rosie UI lock screen though... its gone?
But wow incredibly speedy and even a lot more stable? Thank you sangeet.003 and all the other FANTASTIC developers on this forum who keep me and my G1 busy with fun goodies.
Here is a oddball question, couldn't someone just create a update.zip with all this done? I'm not familiar with signing pkgs and what not. So I'm not 100%.
i'm a mac user.
but i kind of smart when it comes to these things so i got it to work.
but for other mac users do you think you can just up load the files and post the
adb commands.
kronosx1 said:
Here is a oddball question, couldn't someone just create a update.zip with all this done? I'm not familiar with signing pkgs and what not. So I'm not 100%.
Click to expand...
Click to collapse
I think i read somewhere that it wouldn't be possible because of how big the update.zip would be which is why when flashing Hero, you need the ext2 to store the apps_2
the great thing is, if you just keep testing, reading and messing around with running everything from roms, scripts, commands and tweaks, you eventually get things to work and and you find a huge satisfaction and semi-understanding of it all and you find yourself appreciating the developers here for their work.
Wow its four in the morning and i think im on a strong sugar high because i never post.
so changing the folder from rosie to files worked for you
ynghova187 said:
so changing the folder from rosie to files worked for you
Click to expand...
Click to collapse
yeah rename "Rosie" to "Files"
well did a refresh of Hero and applied all the tweaks here (after renaming the folder as well) and all is wel. thanks a ton for this!
I was wondering if you could use app2sd after using this mod, or will this disable apps2sd?
Ok i did it and it works but there is a slight problem the messaging widget dosent show up. its completely gone. i read the batch file and its missing from the batch file. If you could re write it with the htc messaging app included then this app would be perfect. Or does anyone know how i could get the htc messagine widget back by myself
ynghova187 said:
Ok i did it and it works but there is a slight problem the messaging widget dosent show up. its completely gone. i read the batch file and its missing from the batch file. If you could re write it with the htc messaging app included then this app would be perfect. Or does anyone know how i could get the htc messagine widget back by myself
Click to expand...
Click to collapse
I think if you placed the "Files" folder onto c:/android (or wherever you put adb) and then:
adb push files/htcmsgwidgets.apk /data/app
that *might* work, not sure because I haven't tried it myself.
sangeet.003 said:
Hello Guys!!!
SUPERUSER ENABLER
Thers no SuperUser Apk Working On Haykuro's Hero Rom, So to get It Working, Only Installing Is Not Enough So I have Got It Working, Follow This Steps...
.
Click to expand...
Click to collapse
That is weird because i have super user and terminal working on mine just fine from JF previous install
a few widget's were missing..
clocks & contacts
also in the batch file, the msg widget was not reinstalled onto internal memory(probably just forgot to add that line)
so I redid his batch file to include the 2 missing widgets as well as adding the line for the msg widget and changed the folder to files
cause I know how lazy most of you are
http://hotfile.com/dl/4938120/a4a6fc0/Rosie_UI_Optimizer__ALLwidgets.zip.html
and for the mac user's
just open the .bat file in text editor (.bat files are nothing more than text anyways) in there you can see each command that is run and do it yourself manually,...
yeah it's a ***** but I'm not about to figure out how to write a shell script for OSX on XP just to appease my old brethren, maybe pickup a copy of BBcode and insert the commands, don't know it that would even work, just a thought heh.
---credits to sangeet.003 for goin' through the trouble to make this batch files, I'm just an "editor"
everything worked perfectly and 20 times faster not exact but i see a huge difference just now noticed that the messages widget was missing so bout to add that thanks to all developers working hard im sticking with hero i know people love it as much as I do so it has to keep getting better
mpeezay said:
a few widget's were missing..
clocks & contacts
also in the batch file, the msg widget was not reinstalled onto internal memory(probably just forgot to add that line)
so I redid his batch file to include the 2 missing widgets as well as adding the line for the msg widget and changed the folder to files
cause I know how lazy most of you are
http://hotfile.com/dl/4938120/a4a6fc0/Rosie_UI_Optimizer__ALLwidgets.zip.html
and for the mac user's
just open the .bat file in text editor (.bat files are nothing more than text anyways) in there you can see each command that is run and do it yourself manually,...
yeah it's a ***** but I'm not about to figure out how to write a shell script for OSX on XP just to appease my old brethren, maybe pickup a copy of BBcode and insert the commands, don't know it that would even work, just a thought heh.
---credits to sangeet.003 for goin' through the trouble to make this batch files, I'm just an "editor"
Click to expand...
Click to collapse
Thanks I will Be re updating & uploading Both The exe Files...

[Q] Why do I get a bootloop when I try to add a new button background to framework-re

(I'm new at this, any help, or even wild guesses, would be appreciated)
I'm using Daneshm90's (very awesome) APK Manager to mess around with my framework-res.apk file. I've sucessfully reskinned some pngs and changed some xml files and stuff like that.
Why does the following cause a bootloop?
1) Decompile Framework-res.apk
2) Make a copy of res\drawable\btn_default_small.xml and rename it btn_default_small2.xml
3) Change the background of something to android:background="@drawable/btn_default_small2"
4) Compile\flash to phone etc, watch it bootloop
I can edit existing files just fine, but whenever I try to add and use a new file everything grinds to a halt, even if its just a copy of a working 'stock' file. What am I missing? Is there a list of files somewhere I need to add my new xml file to? Should I be building from source instead of using apk manager?

[Q] Some question about making a custom rom

Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
cal.mar said:
Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
Click to expand...
Click to collapse
QuickPic/Gingerbread: Nope. Open the .apk and copy the lib files to /system/lib
About the rest. i have no idea since I don't know your internal files.
THIS IS DEVELOPMENT. DO NOT CLOSE.
It helps people with force close problems.
The Dark Lestat said:
QuickPic/Gingerbread: Nope. Open the .apk and copy the lib files to /system/lib
About the rest. i have no idea since I don't know your internal files.
THIS IS DEVELOPMENT. DO NOT CLOSE.
It helps people with force close problems.
Click to expand...
Click to collapse
dude he already added the lib files..so this is an un-usual problem
"1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib"
cal.mar said:
Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
Click to expand...
Click to collapse
After making your own dump your not suppose to factory reset, only after flashing your own dump your ready to factory reset, but if you factory reset while making a dump/removing and adding files, you will soft brick and loose your work..
Did you change the framework and tw framework?
Adding back some framework files via adb might help..
Or you will have to start over again..
I forgot to add that you should check your permissions on the lib file
Sent from my Alpha 17 1.2 GHz ACID Lestatious 2.0 BUILD 1.8 Galaxy 3 FROYO
rudolf895 said:
dude he already added the lib files..so this is an un-usual problem
"1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib"
Click to expand...
Click to collapse
After copying lib files give this command over adb..
chmod 777 /system/lib/filename.so
InDroid 4.0 (Build 6)
cal.mar said:
Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
Click to expand...
Click to collapse
As for the lockscreen and power menu, i was having same problem few days back. Searched all over, no solution. In the end I had to start it all over again. I suggest u do the same.
InDroid 4.0 (Build 6)
arunmcops said:
As for the lockscreen and power menu, i was having same problem few days back. Searched all over, no solution. In the end I had to start it all over again. I suggest u do the same.
InDroid 4.0 (Build 6)
Click to expand...
Click to collapse
yeah I think you are right. Thank you all for your help. I'll try it again. And I hope that it will work.
HI ok. I've tryed it again.
But know when I want to flash my new factoryfs.rfs the Download crashed.
I don't know where the problem could be.​
Do I have to use this command?
dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
Click to expand...
Click to collapse
Can someone explain this command to me?
still third time flashing chrashes.
when Odin is flashing the factoryfs.rfs it stops at a specific level. odin get 99% of CPU and I have to interupped it. What is my fault? DId anyone have same problems? I try it to make like all the tutorials says.
Edit: Odin says before flashing "Big Partition size!" What do I have to do to make it smaller?
Edit: I get this:
# dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
435200+0 records in
435200+0 records out
222822400 bytes transferred in 115.950 secs (1921711 bytes/sec)
Click to expand...
Click to collapse
Found the problem why odin crashes. I copied the factoryfs.rfs file with 7zip into the .tar package but I had to use TotalCommander.
But still I have no lockscreen after flashing and the options in the power menu are not visible.

Vrtheme issue - Onle for developers/expert discusion.

So here I have noticed issue with using vrtheme on new 4.3 MJ2 and seeking some Linux expert help to solve it.
work around
Simply using vrtheme causing FCs, SO i have changes the destination to see outcome file structure.
-All changes we have applied through vrtheme applied to output file. but icons get changed to android icon.
-Now if you move that output file to other destination using root explorer then also it regenerates original icons and we can use as final apk ready to push to System/app
-Again if we giving same command through recovery, it doesn't works
-Also copying with terminal emulator with cat command, it regenerates original structure. again same command using recovery fails to do it.
May be recovery issue??
here is log cat along with used vrtheme script.
dr.ketan said:
So here I have noticed issue with using vrtheme on new 4.3 MJ2 and seeking some Linux expert help to solve it.
work around
Simply using vrtheme causing FCs, SO i have changes the destination to see outcome file structure.
-All changes we have applied through vrtheme applied to output file. but icons get changed to android icon.
-Now if you move that output file to other destination using root explorer then also it regenerates original icons and we can use as final apk ready to push to System/app
-Again if we giving same command through recovery, it doesn't works
-Also copying with terminal emulator with cat command, it regenerates original structure. again same command using recovery fails to do it.
May be recovery issue??
Click to expand...
Click to collapse
doc, am not a linux expert, but i tried to inject your black aosp vrtheme files into the apk and flash them from cwm, it kills the wifi and have to wipe and reflash the whole rom. so, perhaps you want to put more attention to it.
waiting for your aosp theme and thanks a lot.
Wifi issue will be solved by reflashing recovery
I can show you temporary solution.
Just change path of pushing files to other from System/app then 1. you want get FCc bcoz it is not in system/app
2. Now from where you have defined destination from there move to some pther place with root explorer, now you will be able to see icons, once icons are correct you can pust to system/app.
dr.ketan said:
Wifi issue will be solved by reflashing recovery
I can show you temporary solution.
Just change path of pushing files to other from System/app then 1. you want get FCc bcoz it is not in system/app
2. Now from where you have defined destination from there move to some pther place with root explorer, now you will be able to see icons, once icons are correct you can pust to system/app.
Click to expand...
Click to collapse
sorry doc, but i cannot understand what you mean.
do you mean i should change the flashing path (in the script)? or do you mean i should copy the apks manually into the system/app by root explorer? if you mean the later, i can do, but the first one i don't.
i can see all the icons, just the wifi would not start after i flashed the modified apks through cwm flash. what do you mean by reflashing recovery?
Ok making clear again who want to use vrtheme
1.Change path in vrtheme installertheme.sh from system/app to other (e.g. just system)
2.Now when you flash vrtheme, you won't see any changes in system bcoz all apps will be in system and not in System/app.
3. Manually cut all app with root explorer from system to SDcard
4. Now you can see correct icons of all appl after moving to sdcard.
5.Now move those apk to system/app OR System/framework, where it should be.
6.Enjoy all the changes now in system
7.By this process you will lose wifi and you have to reflash recovery to get it back.
PS : For AOSP for MJ2 I have made it with same method above and uploading, Once uploaded will post to MJ2 thread, you have to simply flash that file. without doing anything above.
dr.ketan said:
Ok making clear again who want to use vrtheme
1.Change path in vrtheme installertheme.sh from system/app to other (e.g. just system)
2.Now when you flash vrtheme, you won't see any changes in system bcoz all apps will be in system and not in System/app.
3. Manually cut all app with root explorer from system to SDcard
4. Now you can see correct icons of all appl after moving to sdcard.
5.Now move those apk to system/app OR System/framework, where it should be.
6.Enjoy all the changes now in system
7.By this process you will lose wifi and you have to reflash recovery to get it back.
PS : For AOSP for MJ2 I have made it with same method above and uploading, Once uploaded will post to MJ2 thread, you have to simply flash that file. without doing anything above.
Click to expand...
Click to collapse
will just wait for your file then. dont want to mess my setup again. spent too much time experimenting with it today. lucky it's saturday in my country...
ok then wait 10 min.
EDIT : AOSP theme for MJ2 ROM Posted to MJ2 thread post#2
Doc.
I just came across thia issue thread discussion.
Surprised to see vrtheme issues.
I think it is worth trying morphing instead of vrtheme.
If it fails, then it is not a recovery issue..m
It might be android 4.3 security files that I noticed in /system...
I will dig in further and check...
Thx for sharing this discussion thread. :thumbup:
wesamothman said:
Doc.
I just came across thia issue thread discussion.
Surprised to see vrtheme issues.
I think it is worth trying morphing instead of vrtheme.
If it fails, then it is not a recovery issue..m
It might be android 4.3 security files that I noticed in /system...
I will dig in further and check...
Thx for sharing this discussion thread. :thumbup:
Click to expand...
Click to collapse
Already fixed that (at least in my MJ2 rom)
vrtheme works perfect on framework-res.apk and secsettings.apk

stuck on lock screen

hello
i have change theme and font size but when i restart there's no numbers so i cant open my phone
room KangVIP
what should i do
can i change them or delete it from TWRP without wipe ??
qqww12 said:
can i change them or delete it from TWRP without wipe ??
Click to expand...
Click to collapse
I would assume deleting the theme will force the phone to use the default.thm instead, but not sure. Worth a try though
To go back to a normal font you have to use a theme with the stock font in there. This is one of the crappiest things about the themes/font engine and I will therefor never use a theme with a font installed in the first place. Even copying a stock font to /system/fonts won't do anything.
Pfeffernuss said:
I would assume deleting the theme will force the phone to use the default.thm instead, but not sure. Worth a try though
To go back to a normal font you have to use a theme with the stock font in there. This is one of the crappiest things about the themes/font engine and I will therefor never use a theme with a font installed in the first place. Even copying a stock font to /system/fonts won't do anything.
Click to expand...
Click to collapse
thx for your reply
i have tried delete all theme folder from ( file manager ) all deleted but 1 keep showing after deleted
/sdcard/HWthame/ ( .cache folder )

Categories

Resources