[Patch] Disable emulated SD card on V20C and Mokee OS - LG Optimus L9 P760, P765, P768, P769

L9 has very limited internal storage (only 2.3 GB usable ), and due to emulated sdcard all the apps store data on internal storage which gets lost after factory reseting . I lost lot of data due to it , so i decided to get rid of the internal emulated (read fake) SD card.
After asking developers on this forum about it i got reply from @artit
You can review code in disabled sdcard rom. Just extract it (also extract boot.img). Then look into
1. init.[HWBOARD].rc
2. /system/etc/vold.fstab (JB 4.3 don't use this, it use /[HWBOARD].fstab instead)
3. /system/framework-res.apk (extract this file and look in /res/xml/storage_list.xml)
You can compare with original CM rom to see what is changed
Click to expand...
Click to collapse
You can create your own patches for your rom
To edit " init.u2.rc " , U2 = Board name of Optimus L9
You have to unpack boot.img, to edit the init.u2.rc , Also edit " u2.fstab " (for android 4.3 and above ) then repack the boot.img.
For Jellybean (4.1-4.3 ) you have to edit " System/etc/vold.fstab"
To edit storage_list.xml
For this you have decompile framework-res.apk, and dig into it "res/xml/storage_list.xml" edit the file recompile the file to flash to the device.
I have attached to patches which i have created for using on my L9.
First Patch is for stock rom for P765 , firmware version : 20c
it should work on other version also but i cannot guarantee , You can also prepare your patch using the above knowledge.
Second patch is for MoKee OS android 4.4.4, MK44.4-p760-150131-HISTORY.zip which can be downloaded from get it here
After applying the patch storage would look like this
{
"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"
}
Always make backup before trying anything new.
Hope you enjoy optimus L9 a little longer as this phone is getting old. New powerful phones coming everyday. :angel:

Related

[Q] How to make update.zips for CWM for mini pro?

Hey guys,
I really want to make a theme for slades rom but i just dont get how to make a flashable update.zip. Additionaly the new CWM requires edify-scripting -.- and here my update-zip-packager doesn't work anymore..for xrecovery it was just awesome..i already tried some amend2edify-converter, but that did not work either
So my question is, how can i make (or edit) an update.zip which can be flashed with the new CWM 3?
Thanks in advance,
nitro
i faced a similar situation today itslelf..n was ultimately forced to download the cwm version of slade's rom v5..
well if u just want to edit and replace apps n stuff, that can just b done in the sam way as any xrecovery rom...i used winrar to add n remove stuff from the rom n it works gr8
okay, thats an idea..but i want to make a theme..which means a flashable update.zip-file..does somebody know with what programm i can make such update.zips?
@ slade: how do you create your update.zips, e.g. the hotfixes with some single files?
Why don't you take a CWM package an unpack it via winrar/any other software? I'm quite sure there is an absolutely common folder structure following more or less the system folder structure and maybe there is one or there are more XML files in order to change some things in source files (e.g. change values in those *.hw files or whatever they are called) and to tell CWM what to do exactly.
As soon as you're done you simply zip it again (watch the folder structure).
***EDIT***
Ok, forget what I just posted. Had a look at one of slades zips and it's a little bit more than just an XML. Might not be smart to change stuff within that META-INF folder without knowing what you do.
{
"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"
}
http://dl.dropbox.com/u/10158456/aZuZu%20Small%20Tools%204%20SE/SCRIPT%20CONVERTER/aSC.zip
load amend script, correct converted script if needed.. and click convert & save

Packaging rom LG G2 [Part 1]

* Here I would like just the thing to get you one way to get the important files inside the rom to play.
* This method is used for the newer phones from 2012 or machine type which is read out by name.
{
"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"
}
* The download files below you unzip the file and run Dump_Block_Rom.bat is. Son of Super SU it asks what the press to allow offline.
* After the class finished 10-15 minutes depending on the size of the rom. And then the window will appear Dump rom you press start, then you restart the computer. And internal memory in a folder named VDT-ROM, you copy the file inside .img okay. If you do know then play rom so that you do not even know the wait continues Part 2 of VDT okay. Wish you success.
Download terms.
https://mega.co.nz/#!MQc1QZgS!Oz40yyAkxlnHueEbFv03K1xNS0YcnLyKxcRPWgeo4e0
Click to expand...
Click to collapse
source:
http://vandieutot.com/threads/cach-dong-goi-rom-lg-phan-1.196/
Click to expand...
Click to collapse
Packaging rom LG G2 [Part 2]
- Once you have all the files in the folder where your VDT-ROM then guided in part 1 Well has completed half. Now I just followed you make part 2 even more interesting, too.
- Download below to download this file unzip the folder I was first called META-INF then you copy all the files in the folder VDT-ROM into the folder where you unzipped as in the image below. Then select all the files that are compressed into zip has been one of the rom then.
- Depending on the individual machines that each file size, not machine as well as machine. The figure below illustrates just to let you do such machines is to visualize the files in the file stepfather. META-INF folder is also required. I wish you success.
Download terms.
https://mega.co.nz/#!5ZFHjI6B!iGfm_2xmX3VjRb9ql9ccPfgEu9zjAcVYRHseqqPqiF0
Click to expand...
Click to collapse
source:
http://vandieutot.com/threads/cach-dong-goi-rom-lg-phan-2.258/
Click to expand...
Click to collapse
I wish Google Translate could translate Google Translate to English.

[MOD ]Increase performance of note (mtk)

Increase the performance of note with miui v5 (4.2.2)
This is for people who has noticed occational lag on their rom.
Fisrt of all this is a mod,so be carefull..Know what you are flashing.
Tried on my stock rom,works perfectly fine.
some screenshots
Antutu score after installing lot of apps,and many backgroud services running.
{
"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"
}
Free ram
Steps to flash this mod>>>>>
Note: All the files are provided in the below link
1)download and place all the files provided in your SD card.
2) root the device
open updater app>menu button>select update package>navigate to root.zip
After reboot go to security app>permissions>enable root access
4)install mobileuncle.apk
open app>select Recovery Update>then it automatcally checks for img file on your SD card>select Recovery.img
when an option pops-up asking reboot to recovery,select yes
5)In recovery select install zip,choose PurePerformances™X_Stock.1.4.zip,after done flashing reboot.
this may take some time,and a progress bar appears on first boot.
LINK
click here
Here it is,you will notice the difference in first boot itself..!!
*All the credit goes to @Jeeko from XDA..if you want to know more about this mod please visit http://forum.xda-developers.com/gal...s/mod-pureperformancesx-zeno-edition-t2360985.
*Iam not responsible for any damage to your device,recovery provided here is twrp and tested on redmi note india MTK,cwm may also works.
And thumsup if this worked for you people too,let me know in coments..
Thank you, installed it on v37. Works good for me. No visible changes, now checking battery usage
every time i try to install, it's always failed.. why??:crying:
Anybody know how to remove this? For some reason it lags big time on my Note
Edit:
Never mind, found the script to remove it *should've read the whole thread*

Can't make a user app an system app. Link2SD/LuckyPatcher/TWRP storage error.

Hi guys and gals
I'm in need of some help guys. The solluction will probably be easy enough, however probably due to needing to translate the errors (dutch <-> english) I can't really find anything to help me...
The phone:
LG Nexus 5 24Gb and android 5.1.0 (LMY47D).
The goal:
Have a fake GPS app installed and hiding my root to spoof my location on android 5.1 with a security patch before the march 2017 patch (in compliance with this spoofing guide.
For this I need to do the following:
Unlock my phone
[*]Install TWRP
[*]Root
[*]Install fake GPS app ['GPS JoyStick Fake GPS Location' by The App Ninjas]
[*]Generate and rename a copy/privacymode of the app
Make the renamed copy/privacymode a system app (stuck on this step)
Instal Magisk (didn't get to this step)
Hide root with Magisk (didn't get to this step)
The errors:
I used Nexus Root Toolkit to install the androidversion 5.1 on my phone. The Hashcheck failed so I skipped it. Not sure if that's what's causing the error. For the installing of TWRP and Root is used: this guide from XDA. I installed the fake GPS app and made a renamed privacy/copy. Here comes the problem. I can't make that (or the original) a system app. I tried using Link2SD, luckypatcher and directly moving in TWRP. I get the following errors (note the screenshots are of trying to install the renamed privacymode/copy):
The screenshots:
{
"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"
}
My guess is that the programs can't access the storagespace on my phone for some reason.
The question:
Who can help me to get passed the 6th (and following) steps to achieve my goal with this phone? Please let me know if any more info is needed.
Ofcourse any and all help is greatly appreciated!
EDIT: Sorry guys, not sure why the images don't show up...

Question {GN2200} {C.11} Unbrick script. C.12 & C.13 soon. My rewritten AIO SCRIPT COMING SOON

Requirements !!!SCRIPT WILL WIPE DATA!!!
Backup your data 'script will wipe data'
GN2200 Nord N20 Phone
Should be on by stock (Active Slot A)
Unlocked Bootloader
Windows PC
Latest ADB & Fastboot drivers
Instructions
Download & Extract restore Script zip
Open Extracted zip folder
Open #N20 100% Stock unbrick (GN2200 ONLY).bat file
Connect phone to PC via fastboot
Hit "Y" on keyboard once your ready to start
Once script turns GREEN an says COMPLETED reboot to system
ENJOY
TESTED ON 2 GN2200 N20's both successful
"""NOT FOR CPH2459 """
Download Link
N20 Stock ROM Unbrick tool zip (GN2200 C.11 A12 ONLY)
Download size ( 7.5gb )
Extracted size ( 10.5 )
GN2200 UNBRICK SCRIPT
GN2200 UNBRICK SCRIPT replacement bat. Place this in extracted unbrick script folder an overwrite the original bat
i have a rewritten all-in-one script for gn2200. With a lot my features. Doing final touches.
some guy on "gn2200 telegram" is trying to steal my work. An banned me
XDA= (spatz1987) which is banned already
Telegram= ( @bABySky2 )
an doing a poll to steal my work
I'm am sorry mods but needs to be known
{
"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"
}
[email protected] telegram
STOLE MY ALL IN ONE SCRIPT
CODE.!!!!!!
!!!!!DO NOT USE WILL BRICK DEVICE!!!!
Awesome!! Thanks man!!!... Any way to make this to work with edl? Lol Screen won't turn on at all, I'm hoping I can connect to edl..
abovethegov said:
Awesome!! Thanks man!!!... Any way to make this to work with edl? Lol Screen won't turn on at all, I'm hoping I can connect to edl..
Click to expand...
Click to collapse
I have a rewritten one also but no edl

Categories

Resources