[Q] How to remove old shortcut icons from homescreen during custom ROM installation - Android Q&A, Help & Troubleshooting

Greetings XDA First time poster (long-time visitor) here...
I'm having a minor - but annoying - issue with a custom ROM I've been playing around with in an attempt at customizing it to meet my personal needs.
Basically, the custom ROM installation removes old, unwanted .apk's from the stock image it is replacing. This is done by a script/command in the META-INF->com->google->android->updater-script file. Here's an excerpt as an example:
Code:
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 100);
package_extract_dir("system", "/system");delete("/system/app/Launcher2.apk");
However, while the script works perfectly to remove the actual apk's/apps from the device, once the custom ROM is loaded, the old shortcuts (to some of the apps that were uninstalled) remain on the homescreen (these shortcuts are placed there by default by the stock ROM). If you try to tap the shortcut, it simply states something to the effect of "this application is not installed on your device". While these "dead" shortcuts can be moved to the trash bin and deleted from the homescreen, it'd be nice if I could make it so the custom ROM installation automatically does this.
I've tried modifying the Launcher2.apk to reflect the changes I am looking for; but to no avail. In the Launcher2/res/xml/default_workspace.xml file, I am easily able to specify which apps I do want shortcuts placed on the homescreen for during the installation. But - there doesn't seem to be a way for me to issue a command to remove the old, unwanted shortcuts and these "dead" shortcuts are present nonetheless, despite whatever changes I make to the default_workspace.xml (it does add my "new" shortcuts, though).
Would anyone know of a way that this could be done during the actual custom ROM installation process? And where would I add it to (default_workspace.xml, Android Manifest.xml, framework-res.apk, boot.img... I really have no idea )?
My humble thanks in advance to anyone that may be kind enough and willing to offer some much needed insight

Kaiyo Droid said:
Basically, the custom ROM installation removes old, unwanted .apk's from the stock image it is replacing. This is done by a script/command in the META-INF->com->google->android->updater-script file.
Click to expand...
Click to collapse
Hello from 2013
well your problem is as following:
your are removing the apps that are shortcuts/favorites on your homescreen within the stock launcher apk. These settings are written into a database on the data partition and are not updated if you replace the launcher apk with a new one that has your wished settings. What you have to do in order to achieve your goal: do a full data wipe(you know your user data will be lost) or try to remove the database by hand it is located somewhere in /data/data/something_with_launcher2. Removing the whole folder will lead into a new entry with your current launcher apk settings written --> success?
greets

Related

Define Widgets in Custom ROMS

Hi guys,
how can i define which widgets are placed on the screen after flash with a new custom rom directly in the rom without manual work after flash ?
Greats Hawkeye
I have been wondering the same thing. I intentionally removed everything except a couple of widgets from my home screen and dug around /data to see what I could come up with.
"/data/system/appwidgets.xml" looks promising:
Code:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<gs>
<p pkg="com.android.protips" cl="com.android.protips.ProtipWidget" />
<p pkg="com.android.settings" cl="com.android.settings.widget.SettingsAppWidgetProvider" />
<h pkg="com.android.launcher" id="400" />
<g id="5" h="0" p="1" />
<g id="6" h="0" p="0" />
</gs>
"id=5" and "id=6" may be the order of when the widgets were added to my home screen. I did this just after a wipe and restore, so these very well could have been the 5th and 6th widgets I added.
"h=0" could be my main home screen.
"p=0" and "p=1" could be the order of how the widgets are displayed. power is above protips.
Can anybody verify what I'm reading in this XML file is correct?
Could it be as simple as including this file? I'll have to give it a try in a little while. I'm about to do some remodeling in my kitchen. I'm going to install the latest nightly of ubuntu 10.10 to see if it works better with my wifi card.
Were you able to figure it out yet? I have not had any time lately to mess around with my phone at all. I'll try to see what I can do out over the weekend.
I have been wondering this since I started cooking! I have searched high and low and not found nada..
One side note: if you open your rom and look in /system/customize/cid, you can look through those xml files, and depending on your carrier/rom setup, you can set things like what footprints shows, and define the stock flashed home background, lock background, and browser favorites
Awesome info. I'll have to take a look at those files.
I added "/data/system/appwidgets.xml" to a rom and it just made my boot animatin go on forever. Maybe I did something wrong, I'm not sure. I was modifying a CM6 rom, so I altered my updater-script to copy the file to /data. I dig up my code and paste it later, but if anyone has the best way to include files in /data for update-script or updater-script, feel free to post it.
I have not been customizing any roms in awhile, did anybody successfully set the default widgets yet?
Look here:
1) /system/customize/MNS/default.xml (Sense ROMs)
2) inside Launcher.apk - res/xml/default_workspace.xml (AOSP ROMs)
Launcher2.apk seems to be setup the same. You might want to use something like APK Manager to decompile the apk, so you can edit the xml. Or, I believe you can use a hex editor although I have not tried that yet. TinyHexer is a good one for Windows.
Awesome, thanks for the info. I'll have to give it a try soon.
DieHappy said:
Awesome, thanks for the info. I'll have to give it a try soon.
Click to expand...
Click to collapse
gnarlyc said:
Look here:
1) /system/customize/MNS/default.xml (Sense ROMs)
2) inside Launcher.apk - res/xml/default_workspace.xml (AOSP ROMs)
Launcher2.apk seems to be setup the same. You might want to use something like APK Manager to decompile the apk, so you can edit the xml. Or, I believe you can use a hex editor although I have not tried that yet. TinyHexer is a good one for Windows.
Click to expand...
Click to collapse
the default.xml is not compiled by default, so you can just use notepad to edit it.
I have tried editing it but without much success.
hexskrew said:
the default.xml is not compiled by default, so you can just use notepad to edit it.
I have tried editing it but without much success.
Click to expand...
Click to collapse
Hmm. Ok. Must be that some are and some aren't. I just opened up a Launcher2.apk from Froyo AOSP, and the default_workspace.xml is compiled. And I looked at a Launcher.apk from a mostly AOSP Eclair build. It's compiled too. If you find them that aren't, it should be easier to work with.
Interested to know we can make it work?
FYI, the various data in the appwidgets.xml are as follows:
The <p/> tags are for listing which widget is using which package/class already installed... Order is important as it is referenced from the <g /> tags.
The <h/> tags lists all launcher installed, its package name and id. It seems custom launchers loaded from market have all an id of 400!
The <g/> tags are the actual widgets already added to a launcher/home screen,
it's ID is the dev ID used by apps, unique on a single device
the h= attribute is the launcher reference (0, 1, ...) from the <h/> tags above.
the p= attribute is the package ref (0, 1, ...) from the <p/> tags above.
That file is updated when an launcher/home screen app calls many Android API methods, including those:
allocateAppWidgetId() to get a new dev ID as mentioned above and link future <g> tags to an existing <h> tag.
The h tag is ALWAYS a reference to the package having called this method! No way to get a widget ID from another app for a particular launcher!
bindAppWidgetId(int appWidgetId, ComponentName provider) to link the <g> tag along with the <p> tag
Even tried ADW Launcher and its home-screen backup/restore but it fails to restore anything!? What a crap!
I personnally use 'System Tuner' which actually restores home screens, except the widgets! Is Titanium Backup able to restore home screens widget?
I've been messing around with the appwidgets.xml file manually to restore a widget... Unfortunately nothing worked.
Did anyone found more info on the subject?
Titanium Backup not restore widget......
Any news editing xml????
Merry Xmas everyone! I finally got this to work with ADW.Launcher.
After setting up my widgets, icons, and ADW settings, I copied a couple of the files from "/data/data/org.adw.launcher" into a backup dir, and used an init.d script to replace the default files. The script deletes itself to make sure it only runs on the very first boot.
I had to experiment forever to get the right sleep time. This script needs to sleep for 45 seconds minimum in order to let ADW finish before it can swap the files. If you are using this with another launcher, you might need to change the sleep time.
Code:
#!/sbin/busybox sh
# THE SCRIPT MUST WAIT A MIN OF 45 SECONDS OR ELSE IT WILL NOT WORK
sleep 45
if [ -d "/data/data/org.adw.launcher-backup/" ]; then
# RESTORE WIDGETS AND ICONS
rm "/data/data/org.adw.launcher/databases/launcher.db-wal"
cp "/data/data/org.adw.launcher-backup/databases/launcher.db-wal" "/data/data/org.adw.launcher/databases/launcher.db-wal"
# RESTORE ADW SETTINGS
rm "/data/data/org.adw.launcher/shared_prefs/launcher.preferences.almostnexus.xml"
cp "/data/data/org.adw.launcher-backup/shared_prefs/launcher.preferences.almostnexus.xml" "/data/data/org.adw.launcher/shared_prefs/launcher.preferences.almostnexus.xml"
# RESTART LAUNCHER
killall android.process.acore
# DELETE THIS SCRIPT TO MAKE SURE IT DOESN'T RUN AGAIN
rm /system/etc/init.d/98adwreset
fi
DieHappy said:
Merry Xmas everyone! I finally got this to work with ADW.Launcher.
After setting up my widgets, icons, and ADW settings, I copied a couple of the files from "/data/data/org.adw.launcher" into a backup dir, and used an init.d script to replace the default files. The script deletes itself to make sure it only runs on the very first boot.
I had to experiment forever to get the right sleep time. This script needs to sleep for 45 seconds minimum in order to let ADW finish before it can swap the files. If you are using this with another launcher, you might need to change the sleep time.
Click to expand...
Click to collapse
Great finding! I'll try to integrate that into System Tuner asap! That would be awesome to have a way to restore launchers setup. All I managed so far is to restore a launcher's icons, without widget, but with that might be able to restore the widgets too
I have not tested this out yet, but I'm pretty sure you can rename "/sdcard/adw_settings.xml" to "/data/data/org.adw.launcher-backup/launcher.preferences.almostnexus.xml" if you are using the ADW.Launcher settings backup.restore.
Likewise with renaming "/sdcard/adw_launcher.db" to "/data/data/org.adw.launcher-backup/launcher.db-wal". This file has an extension of .db-wal, but it is most likely the exact same file. I will have to test this out sometime to make sure.
I also wanted to point out that you only want to copy "launcher.preferences.almostnexus.xml" and "launcher.db-wal". Don't just delete /data/data/org.adw.launcher and replace the entire directory with your backup. If you do this it will just force close and probably delete the directory and recreate it again.
Does anyone else know what files to backup and restore from other launchers?
---------- Post added at 12:16 AM ---------- Previous post was at 12:08 AM ----------
3c said:
Great finding! I'll try to integrate that into System Tuner asap! That would be awesome to have a way to restore launchers setup. All I managed so far is to restore a launcher's icons, without widget, but with that might be able to restore the widgets too
Click to expand...
Click to collapse
If the widgets didn't come with the rom, you would have your program backup and restore the .apk files too. Fancy Widgets didn't seem to work right on a custom rom I was messing around with, I think because when ADW reset it knew where to place Fancy Widgets which had not yet run so it wasn't functional yet. Perhaps backing up this widgets /data/dir might do the trick, but I'm not sure.
ADW appears to delete and re-create the "/data/data/org.adw.launcher" dir if it exists when the program runs for the first time. This is the reason why I had to sleep for 45 seconds before replacing the files and restarting the launcher. If this is how all programs/widgets work, then using my method probably won't work on the settings for those files because they won't run automatically like the launcher does.
scripts/check_binaries: line 12: clear: command not found
scripts/check_binaries: line 12: clear: command not found
why do i get this error please help me ...
i have been searchin about all post but i did not find any answer tenkss ...
Just decompile the launcher's APK and edit the default_homescreen.XML (it will have a different filename for different launchers). Recompile and sign. Done
Sent from my GT-I9100 using xda premium

[Q] Can someone please help me with two things?

Hey everyone, I have successfully made a few ROMS for myself (using the DSIXDA HTC Android ROM kitchen v 1.00). I am making a ROM for the HTC Evo.
I know how to do most of it, I have managed so far:
To add my own ringtones
To add my own notification sounds
To set the default ringtone, notification, and change the default wallpaper
Add a theme to my ROM
But there is a few questions I have. I have Googled, looked around on here, and done what I can to find the answers but I am so far unsuccessful.
My first question: Ok, I know that the default wallpapers reside in the system/customize/resource directory. I have attempted to replace the wallpaper (and small preview) wallpapers with my own custom ones. I tried using Paint.net for Windows to resize to the same dimensions as the default wallpaper. For example, to replace htc_wallpaper_01.jpg, I edited a 960x800 wallpaper to have the same size and name (everything the same) and changed htc_wallpaper_small_01 with a matching 80x60 smaller version of the new graphic. I have found sometimes it works, but if I do a few using the method mentioned above, the ROM fails to load up. Can someone help and explain why?
Question 2: I am trying to place the removed apps automatically on the SD Card. I made a "sdcard" folder in the root directory of my ROM. I tried editing the update.zip to include copy_dir PACKAGE:sdcard /sdcard and when I do a check for errors I get none, yet when I try and install the ROM it gives me the "E:syntax error in update script" meaning I am not doing it right. I tried doing it the same way Fresh did it and it also threw me the same error.
So can anyone please tell me how to do this? I know I am close with both and I have tried dissecting other ROMS to see how they did it but I cannot figure it out.
First question:
It could be many possibilities. Maybe not enough room on system, file names not matching, etc...
Try each png on seperate flashes to find the culprit.
*The best way to find out for sure is to use "adb logcat" on boot. This tells you all your errors the OS has.*
Second question:
Im not understanding what your trying to do?
Root of a rom is /
sdcard is mounted to a folder on /
If you want to store the apk on sdcard then,
the proper code to install in /sdcard from update.zip:
Code:
copy_dir PACKAGE:sdcard SDCARD:
If this is not what your asking please explain to me what your asking.
RichieDaze said:
First question:
It could be many possibilities. Maybe not enough room on system, file names not matching, etc...
Try each png on seperate flashes to find the culprit.
*The best way to find out for sure is to use "adb logcat" on boot. This tells you all your errors the OS has.*
Second question:
Im not understanding what your trying to do?
Root of a rom is /
sdcard is mounted to a folder on /
If you want to store the apk on sdcard then,
the proper code to install in /sdcard from update.zip:
Code:
copy_dir PACKAGE:sdcard SDCARD:
If this is not what your asking please explain to me what your asking.
Click to expand...
Click to collapse
Thank you RichieDaze for the response.
You mentioned png., but all the ROMS I have seen have the wallpaper in .jpg format. I was just wondering if there was a certain size they have to be (I mimic the exact size of the default ones).
I think I got this part worked out by doing exactly that, installing 1 at a time until I find the culprit.
For question 2: Thanks to using the DSIXDA kitchen, I cannot use updater.script, which seems to be the way ROM makers like Calkulin, Hero_over, and other have used to set their removed apps to automatically copy on to the SD card when you install the ROM.
I have to use update.script instead, and when I try and do it using that I run into an error.
What I am trying to is remove the usual bloat from the ROM, but copy the removed apps so that users can have the option of installing them if they use any of them.
You are answering my question and are on the right track to helping me. I will try to add that (the way you wrote it out) and see what happens to my update.script.
Thank you very much for your help, greatly appreciated and please let me know if there is some other way to do this if you are aware of any or if someone is using update.script instead of updater.script.

[Q] Removing unwanted applications from rom

The cookers of roms are by default including bunch of applications to ROM which i dont want to have and each time flash new version i need to manually remove them (like all google applications which takes quite a while and i am quite successfull at missing some). The rom is a zip file so i could make a program to kick apks out of rom automatically and repack it which isnt much of work to do but i am worried if such rom would still work. There is also a second problem, the digital signature which from expirience produces the yellow warning triangle at boot, i dont have problem with creating my own public/private keys and signing the rom but again i have no clue where the signature should be and where to register a private key (or maybe the samsung one is known?).
Is there some document on this topic or someone is prepared to help me out?
takes 20-30 seconds to open titanium and do a batch uninstall of the apps you dont need
Hmm... i dont use it but i will try, although i would still rather do a batch remove of all unwanted applications on my own before they even get installed. And adding a new application to install first also wouldnt be a bad idea (LBE privacy guard)
You can just extract the rom zip and from that delete the apks you dont want from the System --> App folders or Data --> App folders if there is anything in there. You could also use this 'opportunity' to choose which Kernel and Modem etc you wanted if you plan on changing / flashing different ones later. Re-zip and flash!
I will say this though, in the past i've done this and for some reason certain apps that I left in the zipped rom didn't install, no biggy though
Ok, this was the answer i was searching for. One more thing, what to do with digital signature?
Custom rom .
Open with Win Rar do not extract.
Open System Open Apps
Delete whatever you dont want and is safe to do so .
Close Win Rar and flash rom .
jje
Hmm, i am just playing with one thought, if the android is tied to apk extension for installing, the changing of zip header (actually from historical reasons it is footer ) to rename the apk to ap_ for unwanted application would acctually kill it from installing without ever unpacking it... and the code is actually even more trivial, search and replace...

Custom Icons

I have started playing with custom icons recently an was curious, where can one find the stock icon.png file? I have a lot of apps on my phone like DrexelOne (for my college) which no one has made customs of, because of this I need the stock image to use as a base for my custom one. Other unpacking the .apk and removing the the icon.png is there a way to reach these?
Thanks ahead of time, I think this will help many more rookies than just me!
GingerSmurf said:
I have started playing with custom icons recently an was curious, where can one find the stock icon.png file? I have a lot of apps on my phone like DrexelOne (for my college) which no one has made customs of, because of this I need the stock image to use as a base for my custom one. Other unpacking the .apk and removing the the icon.png is there a way to reach these?
Thanks ahead of time, I think this will help many more rookies than just me!
Click to expand...
Click to collapse
Are you asking where that default icon is that only shows up when the app has no specified icon? That would be either in framework.res or com.htc.resources. Both of those apks are in /system/framework.
No I'm asking in general is there a way to take an application's icon and use it as the base for a custom one? For example: Can I somehow get the SuperUser icon .pgn file so that I can take it into paint and edit it, then use ApexLauncher to edit the icon shown on my home screen?
Maybe I'm simplifying the steps to much, but can't you make 72x72pixel .pgn and use ApexLauncher to to make that new icon the icon the shows up?

[GUIDE] AOSPify L5ii(E460)

Unfortunately for us holders of the L5ii, Mediatek seldom release any sources. Because of this, it's extremely difficult -if not impossible- to create custom kernels for our devices. This also means we cannot install custom recoveries and installing a custom ROM is almost incredibly difficult and time consuming. I've created a work around that'll give an AOSP feel for the mean time. I've basically been decompiling and modifying the system apks, and it's been doing the job nicely. Let's jump in.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is still very much a work in progress, as there are a lot of files to edit. Patience is a virtue
Requirements:
LG L5ii(I've only tested it on the E460, so I'm not sure if it'll work on other models. Feel free to try)
Root Access + Superuser
Root-Capable File Manager (I use Root Explorer but any should work)
Optional - Titanium Backup Pro
You have read through the whole thread, including the instructions, before following them.
Disclaimer-
I am not responsible for breaking/damaging/bricking your device. You are changing system files, and any files you change, you are solely responsible for. Proceed with caution.
This is a fairly simple install.
1. Make a full backup of your phone's internal storage. All of it. Just in case something goes wrong.
2. Download and extract the .zip file attached to this thread.
3. Copy the 'system' folder onto your SD card, and then to the root of your phone's storage. Grant root access to your file manager if it is requested. It may also ask to re-mount the partition, click okay if it does.
4. Reboot your phone. When it boots up, it should say something along the lines of "Android is upgrading". Wait for it to boot, and the changes should have been made.
Optional:
I'd also recommend installing the Google Keyboard, and an AOSP-based launcher such as Nova Launcher or Holo Launcher. Convert these to System Apps using Titanium BackUp. You may also wish to delete the 'old' system apps from your phone. At the moment, I've found it is safe to delete "CameraApp3.apk", "Gallerybin.apk" and(They're too big to attach, so I have to wait till I can post external links) "Calculatorbin.apk" as AOSP equivalents are included. If you install the Google Keyboard and alternative launcher and have them set as System Apps, I've found it's also safe to delete "LGEIMEbin.apk" and "LGHome3a.apk". Though, make sure you set them as their respective defaults before hand. This is especially vital for Google Keyboard.
5. Reboot once more, just to be sure that everything sets in. Then, you're done.
What's Currently Changed:
Status Bar and parts of it's 'expanded' state
AOSP Camera+Gallery
AOSP Calculator
'Google Play Edition' boot animation
Sun Beam/Phase Beam live wallpapers
What's Currently Being Done:
Other parts of the status bar + 'expanded' state
System dialogues
What's Planned to be Changed:
Settings
Messaging
Dialer + Contacts
AOSP Browser
Clock
Lock Screen
Calendar
Email
Anything else that I'm capable of changing/AOSPifying
TheLonelyNoble said:
Unfortunately for us holders of the L5ii, Mediatek seldom release any sources. Because of this, it's extremely difficult -if not impossible- to create custom kernels for our devices. This also means we cannot install custom recoveries and installing a custom ROM is almost incredibly difficult and time consuming. I've created a work around that'll give an AOSP feel for the mean time. I've basically been decompiling and modifying the system apks, and it's been doing the job nicely. Let's jump in.
This is still very much a work in progress, as there are a lot of files to edit. Patience is a virtue
Requirements:
LG L5ii(I've only tested it on the E460, so I'm not sure if it'll work on other models. Feel free to try)
Root Access + Superuser
Root-Capable File Manager (I use Root Explorer but any should work)
Optional - Titanium Backup Pro
You have read through the whole thread, including the instructions, before following them.
Disclaimer-
I am not responsible for breaking/damaging/bricking your device. You are changing system files, and any files you change, you are solely responsible for. Proceed with caution.
This is a fairly simple install.
1. Make a full backup of your phone's internal storage. All of it. Just in case something goes wrong.
2. Download and extract the .zip file attached to this thread.
3. Copy the 'system' folder onto your SD card, and then to the root of your phone's storage. Grant root access to your file manager if it is requested. It may also ask to re-mount the partition, click okay if it does.
4. Reboot your phone. When it boots up, it should say something along the lines of "Android is upgrading". Wait for it to boot, and the changes should have been made.
Optional:
I'd also recommend installing the Google Keyboard, and an AOSP-based launcher such as Nova Launcher or Holo Launcher. Convert these to System Apps using Titanium BackUp. You may also wish to delete the 'old' system apps from your phone. At the moment, I've found it is safe to delete "CameraApp3.apk", "Gallerybin.apk" and(They're too big to attach, so I have to wait till I can post external links) "Calculatorbin.apk" as AOSP equivalents are included. If you install the Google Keyboard and alternative launcher and have them set as System Apps, I've found it's also safe to delete "LGEIMEbin.apk" and "LGHome3a.apk". Though, make sure you set them as their respective defaults before hand. This is especially vital for Google Keyboard.
5. Reboot once more, just to be sure that everything sets in. Then, you're done.
What's Currently Changed:
Status Bar and parts of it's 'expanded' state
AOSP Camera+Gallery
AOSP Calculator
'Google Play Edition' boot animation
Sun Beam/Phase Beam live wallpapers
What's Currently Being Done:
Other parts of the status bar + 'expanded' state
System dialogues
What's Planned to be Changed:
Settings
Messaging
Dialer + Contacts
AOSP Browser
Clock
Lock Screen
Calendar
Email
Anything else that I'm capable of changing/AOSPifying
Click to expand...
Click to collapse
Yo bro thanks working On lG l5 e450 even .... Btw only problem If u can change thse status bar icons and that ugly setting icon in notification panel .. To something els i will b greatful ... :thumbup:
“Great minds discuss ideas; average minds
discuss events; small minds discuss people.”
Bro Touchwiz launcher dosent work .. And bro u need ti change permission to rw--r--r for apps .. Oh yea Browser Crashes on Start only .. Fix aspa . Beta tester
“Great minds discuss ideas; average minds
discuss events; small minds discuss people.”
here is My SS happy
“Great minds discuss ideas; average minds
discuss events; small minds discuss people.”
Hello thanks for sharing its nice to here of some mods for the l5ii. My browser seems to force close, and the status bar dissapeares after replacing these apps do you possibly know how to fix this? Nice work on the boot animation.
TheLonelyNoble said:
Unfortunately for us holders of the L5ii, Mediatek seldom release any sources.
Click to expand...
Click to collapse
lg has released sources for our firmware. doesn't it contain kernel sources?
https://www.lg.com/global/support/o...tegoryId=CAT00000001&osCategoryId=CAT00000002
Hey man, thanks for sharing, I like the AOSP look way more than LG look....
I also managed to make the AOSP lockscreen look like this: (Im still fighting to remove the ugly emergency button)
Ask me if you want the files or the instructions!
adaytoremember said:
Hey man, thanks for sharing, I like the AOSP look way more than LG look....
I also managed to make the AOSP lockscreen look like this: (Im still fighting to remove the ugly emergency button)
Ask me if you want the files or the instructions!
Click to expand...
Click to collapse
can you make a transparent status bar??
gabi4175 said:
can you make a transparent status bar??
Click to expand...
Click to collapse
The easiest way I found for trans statusbar is Xposed and Gravitybox. It has the option to adjust transparency.
Very nice, indeed it work on the E450.
How ever i have a question.
What is the LG stock "apk" that is in charge of the status bar and notification tray. I ask since i use it stock (without your changed) on my 2nd device and i have tinted status bar for a kitkat effect.
It work fine but when i pull down the notification tray, it is black (almost Holo theme) but the bar it self...that is semi-transparent as kitkat.
I could fix it if i found the statusbar "apk" or the one that is in charge of it to add the black collor on tinted statusbar options.
Sorry to ask such a non related question. But as you did change the stock, i was hoping you could share a light = )
1300l said:
Very nice, indeed it work on the E450.
How ever i have a question.
What is the LG stock "apk" that is in charge of the status bar and notification tray. I ask since i use it stock (without your changed) on my 2nd device and i have tinted status bar for a kitkat effect.
It work fine but when i pull down the notification tray, it is black (almost Holo theme) but the bar it self...that is semi-transparent as kitkat.
I could fix it if i found the statusbar "apk" or the one that is in charge of it to add the black collor on tinted statusbar options.
Sorry to ask such a non related question. But as you did change the stock, i was hoping you could share a light = )
Click to expand...
Click to collapse
there is no apk that is in charge of the status bar. the systemui.apk has a few xml files that does that if you change those u can get what you wan't or bootloop
gabi4175 said:
there is no apk that is in charge of the status bar. the systemui.apk has a few xml files that does that if you change those u can get what you wan't or bootloop
Click to expand...
Click to collapse
Thanks for the reply
I could not find the systemui.apk on the list that the module in question (tinted statusbar) show. I found odd since it show all the others from system.
But thanks, on that module there is no bootloop danger since it dont change the xml and .apk . It kind of detect it to "reskin" after the boot
Thanks to clarify the most close to find is if i make the module to detect the systemui.apk and search the xml in question, it realy help
1300l said:
Thanks for the reply
I could not find the systemui.apk on the list that the module in question (tinted statusbar) show. I found odd since it show all the others from system.
But thanks, on that module there is no bootloop danger since it dont change the xml and .apk . It kind of detect it to "reskin" after the boot
Thanks to clarify the most close to find is if i make the module to detect the systemui.apk and search the xml in question, it realy help
Click to expand...
Click to collapse
the real name of it is LGsytemui.apk or do you have the T-mobile version of the phone?
gabi4175 said:
the real name of it is LGsytemui.apk or do you have the T-mobile version of the phone?
Click to expand...
Click to collapse
No, it is actualy Brasilian carrier.
But it is possible they do the same as T-mobile as all the logos of boot screen is theyr.
Thanks for the pack, it looks great. But I have a problem. I can't manage to restore the status bar. I replaced my LGSystemUI.apk with a wrong one, and now a can't restore my status bar. Do you have any advice?
Er..but the original 'system' folder at the root of our device contains the build.prop. So when I try copying and pasting the modified 'system' folder it prompts me to either overwrite it or skip it. I'm scared that overwriting might brick my phone while rebooting.
please tell me if I'm wrong.:fingers-crossed:
brokentardis said:
Er..but the original 'system' folder at the root of our device contains the build.prop. So when I try copying and pasting the modified 'system' folder it prompts me to either overwrite it or skip it. I'm scared that overwriting might brick my phone while rebooting.
please tell me if I'm wrong.:fingers-crossed:
Click to expand...
Click to collapse
you are wrong
Error in lgsystemui
TheLonelyNoble said:
Unfortunately for us holders of the L5ii, Mediatek seldom release any sources. Because of this, it's extremely difficult -if not impossible- to create custom kernels for our devices. This also means we cannot install custom recoveries and installing a custom ROM is almost incredibly difficult and time consuming. I've created a work around that'll give an AOSP feel for the mean time. I've basically been decompiling and modifying the system apks, and it's been doing the job nicely. Let's jump in.
This is still very much a work in progress, as there are a lot of files to edit. Patience is a virtue
Requirements:
LG L5ii(I've only tested it on the E460, so I'm not sure if it'll work on other models. Feel free to try)
Root Access + Superuser
Root-Capable File Manager (I use Root Explorer but any should work)
Optional - Titanium Backup Pro
You have read through the whole thread, including the instructions, before following them.
Disclaimer-
I am not responsible for breaking/damaging/bricking your device. You are changing system files, and any files you change, you are solely responsible for. Proceed with caution.
This is a fairly simple install.
1. Make a full backup of your phone's internal storage. All of it. Just in case something goes wrong.
2. Download and extract the .zip file attached to this thread.
3. Copy the 'system' folder onto your SD card, and then to the root of your phone's storage. Grant root access to your file manager if it is requested. It may also ask to re-mount the partition, click okay if it does.
4. Reboot your phone. When it boots up, it should say something along the lines of "Android is upgrading". Wait for it to boot, and the changes should have been made.
Optional:
I'd also recommend installing the Google Keyboard, and an AOSP-based launcher such as Nova Launcher or Holo Launcher. Convert these to System Apps using Titanium BackUp. You may also wish to delete the 'old' system apps from your phone. At the moment, I've found it is safe to delete "CameraApp3.apk", "Gallerybin.apk" and(They're too big to attach, so I have to wait till I can post external links) "Calculatorbin.apk" as AOSP equivalents are included. If you install the Google Keyboard and alternative launcher and have them set as System Apps, I've found it's also safe to delete "LGEIMEbin.apk" and "LGHome3a.apk". Though, make sure you set them as their respective defaults before hand. This is especially vital for Google Keyboard.
5. Reboot once more, just to be sure that everything sets in. Then, you're done.
What's Currently Changed:
Status Bar and parts of it's 'expanded' state
AOSP Camera+Gallery
AOSP Calculator
'Google Play Edition' boot animation
Sun Beam/Phase Beam live wallpapers
What's Currently Being Done:
Other parts of the status bar + 'expanded' state
System dialogues
What's Planned to be Changed:
Settings
Messaging
Dialer + Contacts
AOSP Browser
Clock
Lock Screen
Calendar
Email
Anything else that I'm capable of changing/AOSPifying
Click to expand...
Click to collapse
hello! Today hize everything you said your post and when I get my phone lit LGSystemUI ERROR: (DELETED AND NOTIFICATION BAR AND EACH TIME THE ERROR aprece: (HELP ME ... I NEED 2 PUT YE TO STATE FACTORY RESET TOSAS WAYS AND ERROR CHIPS ... NOT THAT I DO
slipsystem said:
Hello thanks for sharing its nice to here of some mods for the l5ii. My browser seems to force close, and the status bar dissapeares after replacing these apps do you possibly know how to fix this? Nice work on the boot animation.
Click to expand...
Click to collapse
Bro what did u do when this happened i'm also facing the same problem now
LG E460
TheLonelyNoble said:
Unfortunately for us holders of the L5ii, Mediatek seldom release any sources. Because of this, it's extremely difficult -if not impossible- to create custom kernels for our devices. This also means we cannot install custom recoveries and installing a custom ROM is almost incredibly difficult and time consuming. I've created a work around that'll give an AOSP feel for the mean time. I've basically been decompiling and modifying the system apks, and it's been doing the job nicely. Let's jump in.
This is still very much a work in progress, as there are a lot of files to edit. Patience is a virtue
Requirements:
LG L5ii(I've only tested it on the E460, so I'm not sure if it'll work on other models. Feel free to try)
Root Access + Superuser
Root-Capable File Manager (I use Root Explorer but any should work)
Optional - Titanium Backup Pro
You have read through the whole thread, including the instructions, before following them.
Disclaimer-
I am not responsible for breaking/damaging/bricking your device. You are changing system files, and any files you change, you are solely responsible for. Proceed with caution.
This is a fairly simple install.
1. Make a full backup of your phone's internal storage. All of it. Just in case something goes wrong.
2. Download and extract the .zip file attached to this thread.
3. Copy the 'system' folder onto your SD card, and then to the root of your phone's storage. Grant root access to your file manager if it is requested. It may also ask to re-mount the partition, click okay if it does.
4. Reboot your phone. When it boots up, it should say something along the lines of "Android is upgrading". Wait for it to boot, and the changes should have been made.
Optional:
I'd also recommend installing the Google Keyboard, and an AOSP-based launcher such as Nova Launcher or Holo Launcher. Convert these to System Apps using Titanium BackUp. You may also wish to delete the 'old' system apps from your phone. At the moment, I've found it is safe to delete "CameraApp3.apk", "Gallerybin.apk" and(They're too big to attach, so I have to wait till I can post external links) "Calculatorbin.apk" as AOSP equivalents are included. If you install the Google Keyboard and alternative launcher and have them set as System Apps, I've found it's also safe to delete "LGEIMEbin.apk" and "LGHome3a.apk". Though, make sure you set them as their respective defaults before hand. This is especially vital for Google Keyboard.
5. Reboot once more, just to be sure that everything sets in. Then, you're done.
What's Currently Changed:
Status Bar and parts of it's 'expanded' state
AOSP Camera+Gallery
AOSP Calculator
'Google Play Edition' boot animation
Sun Beam/Phase Beam live wallpapers
What's Currently Being Done:
Other parts of the status bar + 'expanded' state
System dialogues
What's Planned to be Changed:
Settings
Messaging
Dialer + Contacts
AOSP Browser
Clock
Lock Screen
Calendar
Email
Anything else that I'm capable of changing/AOSPifying
Click to expand...
Click to collapse
Hi, bro.
i downloaded the system.zip file, extracted it and replaced the downloaded file with my original system folder in the root directory using Root Browser from playstore.
once i've rebooted the phone, nothing was happened.
i decided to do it again, then immediatly the lge launche was stopping multiple times, then i rebooted my phone and the dead android logo was showing up, that's how my phone died.
now i will restore and try again idk what's wrong
can u explain me

Categories

Resources