yashsingh1/xdaforums huggingface dataset:
[Optimus L3, L5, L7 Android Development] ryba84:
I'm syncing ICS sources to get device files. I'll try to build CWM recovery, but I don't known if it boot on our phone because of secure boot. It may take some time because ICS sources are large (6GB).
[Optimus L3, L5, L7 Android Development] Okizhaa:
Good luck :)
[Optimus L3, L5, L7 Android Development] Thatgrass:
An insecure boot.img is required for cwm
[Optimus L3, L5, L7 Android Development] ryba84:
You mean modified initramfs extracted from boot.img with changed values in default.prop:

ro.secure=1
ro.debuggable=0

to

ro.secure=0
ro.debuggable=1

and flashed into the phone?
[Optimus L3, L5, L7 Android Development] lamenomore:
I think something like that: http://xdaforums.com/showthread.php?p=30057690

Wysyłane z mojego LG-P700 za pomocą Tapatalk 2
[Optimus L3, L5, L7 Android Development] petrescu:
I tried every single CWM recovery! Results: FACTORY RESET =))

It's a tutorial on gogle about how to port it:, but now i can't find it :((
[Optimus L3, L5, L7 Android Development] ryba84:
Did You try it with secure boot disabled?

I've modified initramfs but I cannot build mkbootimg. Without it I cannot repack boot.img.

EDIT:

Ok. I've repacked boot.img with modifications, but now I can't reset my phone if something goes wrong. If someone can try to flash it in the phone and test i'll upload modified boot.img.

REMEMBER I'M NOT RESPONSIBLE FOR ANY DAMAGE THAT MAY OCCUR IF YOU TRY FLASH THIS INTO THE PHONE!!!!

insecure_boot.img

It's modified boot.img from P700. I don' know what are diffrences with the others.

Phone must be rooted, all commands run after su.

You must clean Your boot partition before flashing it:

dd if=/dev/zero of=/dev/block/mmcblk0p9

And flash new boot.img:

dd if=/sdcard/external_sd/insecure_boot.img of=/dev/block/mmcblk0p9

For now the way with the fastboot not works.
[Optimus L3, L5, L7 Android Development] rob243:
I have a donor phone, I received an L7 when I signed up with my provider, and I really don't like it, the device is beautiful, but the OS just seems so slow, I would love to see a custom lightweight snappy rom for it. I prefer my galaxy ace if i am to use android, but my daily driver is a HTC Surround WP7 device, that i have modified for 64gb space, and installed the latest nokia 7.10 rom.

So basically tell me what you need me to do currently have not had much of a chance to muck around with the device, here are the current stats

Model Number LG-P700

Android Version 4.0.3

Baseband Version MSM7227A-1-AA

Kernel Version 3.0.8-perf

Build Number IML74K

Software Version V10h-AUG-06-2012

Device has not been rooted simply no time.
[Optimus L3, L5, L7 Android Development] ryba84:
Modified post #1308 for those who don't known hot to flash boot.img. If I have time to play with the phone I flash this boot.img. But it will be in next week (work).
[Optimus L3, L5, L7 Android Development] pkatsaras:
So, please explain me something cause I didn't understand correctly. The new boot.img that you created, is the CWM recovery?
[Optimus L3, L5, L7 Android Development] ryba84:
No. It have only secure boot disabled. If it works then we can make bootable recovery, but i don't know what with locked bootloader.
[Optimus L3, L5, L7 Android Development] parageria:
I thing we must now what is bootloader, boot, kernel, recovery etc.... everyone doing different job and altogether our OS

Think of the bootloader as a security checkpoint for all partitions, most bootloaders are locked and encrypted, meaning the traditional "fastboot oem unlock" command won't do a thing

Boot is the job, bootloader its the codec to make the job

We must unlock and unencrypt our bootloader from boot

unsecure boot it is different

Maybe our bootloader its unlocked and encrypt or different I don't now.

I thing only LG or expert developments can doing this

http://androidforums.com/sony-ericsson-xperia-mini/581709-what-bootloader-custom-rom-kernel-cwm-firmware-flashing-adb-root.html

If I am doing wrong sorry
[Optimus L3, L5, L7 Android Development] pkatsaras:
Guys just a thought...Why don't all you that you have something with developing (cause the majority of us don't!) for example ryba84, XoRoX, lamenmore, petrescu, FailX, skuskom gather up in one irc channel and with Thatgrasse's guide and help (please help us!) join your powers and find a way to port CWM? Maybe it's stupid but it is only a thought...
[Optimus L3, L5, L7 Android Development] ryba84:
Ok. Modified boot.img does not work due to locked bootloader. I restored original boot.img with fastboot command. No data lost :D

fastboot oem unlock does nothing :/

EDIT:

But the wifi stopped working and I don't known why :/
[Optimus L3, L5, L7 Android Development] petrescu:
I like the ideea, but i have school and i bet any of them has anything to do.... I try to develop.... i do not learn anything useful in highschool.... so i have to learn extra... i will try, but i don't promise anything.

We kinda need a forum for what we have for now.... WE HAVE root METHODS= General and many Q&As related "topics"
[Optimus L3, L5, L7 Android Development] pkatsaras:
Development is of course an occupation only for free time! We already know that! Of course noone is going to demand to leave your school or the others to stop working etc etc...I think that this is obvious!!!
[Optimus L3, L5, L7 Android Development] petrescu:
This was not the point =))). Let me explain: we have free time, ofc, but i think it's imposible to have it at the same hour :D.
[Optimus L3, L5, L7 Android Development] ryba84:
Ok. I've to flash phone with new firmware because of wifi.

For the development we do nothing unless someone unlock bootloader. I don't known how to do this but at least I will be trying.

EDIT:

After flash I cannot root my phone :/
[Optimus L3, L5, L7 Android Development] lamenomore:
First of all, I'm not a developer... Just looking for some workaround from other devices ;) Nothing original. tho... :p

As I recall, there was Xrecovery (based on CM Recovery/AmonRa...) that was actually working on SE x10 (and x8, and x10 minis...) WITH locked bootloader.

The bad news is, that LG messed up bad with securities protocols, and other ways to port anything are not working :/

Now, I've got none of new ideas...

There some "new" ways, even with LG phones, but we need someone from "Hi-end" devices to help us out a little bit. I was talking with OP from thread I've posted few post earlier, he asked for that boot.img... I've uploaded it, send him link, and waiting for reply. 3 days till now...
[Optimus L3, L5, L7 Android Development] parageria:
Try from my post #1218
[Optimus L3, L5, L7 Android Development] dfreake:
does this phone have locked bootloader before??
[Optimus L3, L5, L7 Android Development] ryba84:
You mean older firmware?
[Optimus L3, L5, L7 Android Development] -XoRoX-:
good ide, i am in
[Optimus L3, L5, L7 Android Development] m4nu4l:
Has anyone ever read about Safestrap and Kexec roms ? Here on Motorola Droid 3 Development forum we managed to bypass our phone's locked bootloader. We can have a custom recovery and 2 systems (safe and non-safe which is being used to test roms) also with safestrap in the phone and kexec roms we can load an any costum kernel into system over the locked one... :)

kexec description - http://en.wikipedia.org/wiki/Kexec

also dev thread in moto droid 3 forum http://xdaforums.com/showthread.php?t=1804665
[Optimus L3, L5, L7 Android Development] mariolcneto:
Hey, I managed to boot on fastboot mode by pressing "vol up + vol down + home" buttons while plugging the USB cable... Then I pushed the recovery.img from the file you attached... Nothing happened actually...

These were the lines on the windows CMD:

C:\android-sdk_r15-windows\tools>fastboot oem unlock
< waiting for device >
...
OKAY [ 0.001s]
finished. total time: 0.015s

C:\android-sdk_r15-windows\tools>fastboot flash recovery recovery.img
sending 'recovery' (5428 KB)...
OKAY [ 0.512s]
writing 'recovery'...
OKAY [ 1.716s]
finished. total time: 2.228s

C:\android-sdk_r15-windows\tools>^A^A

Question is... How do I check if the recovery worked? Which buttons should I press while turning the phone on??? LOL
[Optimus L3, L5, L7 Android Development] petrescu:
Should be: Power+home+ vol down. If it doesn't work try with boot into recovery from CWM Recovery App :D ( No need to do anything else: Just install it from market and click reboot in recovery mode)

---------- Post added at 09:07 PM ---------- Previous post was at 09:05 PM ----------

Worst thing that could happen is that you will get a factory reset... as i did several times :D
[Optimus L3, L5, L7 Android Development] mariolcneto:
LOL!!!

Apparently it didn't work...

Now it's stuck in a weird blackish screen... O God, I hope I don't need to flash another firmware... Again!!!

Man, why did LG have to complicate our life so much!!!
[Optimus L3, L5, L7 Android Development] petrescu:
Because we are not so rich to get High- Tech Devices that are being developed hard and we have to do it by ourselves... but imagine how proud will we be if we manage :D
[Optimus L3, L5, L7 Android Development] ryba84:
Ok. On the root problem helped factory reset. It's working now. But I've to install all from the start.

Hmm that may help. Thanks!

If You have original recovery.img You can flash it thru the fastboot.
[Optimus L3, L5, L7 Android Development] mariolcneto:
I know... But still... The L3 has a working recovery and is much lower end than ours...

Anyway... I bricked my phone playing with the boot.img... Now I'm downloading the kdz to reflash it... But, I need to leave in about 40 minutes, so if anyone has an original boot.img that could upload it here, it would save me the trouble of waiting until I get home to have my phone back... LOL...

Damn the download of kdz packages from LG's site is too ****ing slow!

EDIT: Never mind... The download got back to normal and it's finishing now!

---------- Post added at 05:28 PM ---------- Previous post was at 04:47 PM ----------

Please do mind... The device is not being recognized because it doesn't load anything... I really need the boot.img to make it work... Anyone has it? Thanks!
[Optimus L3, L5, L7 Android Development] lamenomore:
My boot.img: https://www.dropbox.com/s/v5u7judrq6v4d3p/boot.img
[Optimus L3, L5, L7 Android Development] mariolcneto:
Thanx!!! I'm back online... I'll take my laptop tomorow to work to try to help you guys port the recovery image... (Now with a backup of the boot.img)
[Optimus L3, L5, L7 Android Development] petrescu:
Thank you! I'm buried under a ton of homework and tests >_<... If we manage to get a working recovery and a ROM we will get a forum also... I will be at Theme Section until i manage to learn to develop :D
[Optimus L3, L5, L7 Android Development] ryba84:
Without properly boot.img flashed into the phone You can't do anything else with it. I had the same problem when I flashed modified boot.img. Create backups of Your partitions before You do something with them.

P.S.

I'm not developer too, but I like unix systems and can look into the kexec. It can help us run CWM and custom roms with locked bootloader.

For now I'm building kernel from LG sources to try use kexec on ours devices.

But it has bugs and won't to compile :/

If someone known what toolchain should be used then PM me or respond in this thread.
[Optimus L3, L5, L7 Android Development] mariolcneto:
My only concern about kexec is if it doesn't compromise performance... Do you think our device can handle it???
[Optimus L3, L5, L7 Android Development] m4nu4l:
About kexec, try contacting jonpry and hashcode from xda they manages to develop sucesful kexec and safestrap builds... They could provide sources as well i think, and guide you guys to make it work ;)

Also kexec roms dont reduce performance of the device. It will be even faster
[Optimus L3, L5, L7 Android Development] ryba84:
It don't affect performace. It's like an reboot into new kernel. Old system will be removed from memory. But i don't known if it works because of disabled kexec in original kernel config.
[Optimus L3, L5, L7 Android Development] Taftus:
I don't understand why company don't allow apps to be install on SD Card. It get full easily, why bother giving a slot for SD card.... For music and videos? Pfffffffffffffff

Is there a way to move or install apps on SD? I have been trying every thing I have google, can't seems to get it work. Either it move to SD but files still remain on intern memory.
[Optimus L3, L5, L7 Android Development] parageria:
to install no, But can move to SD with link2sd
[Optimus L3, L5, L7 Android Development] Taftus:
I tried that but it just say FAIL :/

I wonder if that method of making 2 partition on SD Card, 1 primary and 1 secondary, will it work with LInk2SD?
[Optimus L3, L5, L7 Android Development] mariolcneto:
I guess it's worth the shot then... I just want you guys to be patient... As I see, the only ones who are willing to develop are not actual developers... I will take probably very long to do it, because I need to learn a lot... And I'll probably brick my phone many other times... LOL...

Anyway, I'll try to keep you guys updated on my work...
[Optimus L3, L5, L7 Android Development] jimhon:
Using Link2SD & Directory bind

First Link2SD works only if you have a second partition on your SD card, just follow the steps here just proceed to STEP 4 to create second partition.Then continue with steps 4 & 5 to complete the procedure.

(Uninstall link2SD if you previously install on your device to make sure it will work correctly. Follow step 5 on the attached guide to install Link2SD on your device)

Finally install directory bind here and follow the procedure as describe on the thread..cheers. hope this help.This works both on my L7and L5.
[Optimus L3, L5, L7 Android Development] MrCzAjNiK:
Guys, I come from L5 thread.

About the kexec method.

In our stock kernel we have default disabled kexec ability. So i think you have same...

The only way to do something is to fnd a way to crack bootloader. Or bypass... as you like.

We on l5 are able to succesfull flash images via fastboot. But when you want to boot into recovery youll see "secure boot error".

You guys have that too?
[Optimus L3, L5, L7 Android Development] -XoRoX-:
i think cygwin is the greatest tools

i could unpack boot.img but i need more time to comparing with other device
[Optimus L3, L5, L7 Android Development] parageria:
You must make two partitions one fat32 and one fat32 or ext2 ,ext3

BUT MAKE IT WITH GPARTED software
[Optimus L3, L5, L7 Android Development] mariolcneto:
That's exactly how I bricked my phone... We have it too... Do you think the L3 had it also? Because if they did, we can try to find out how they did it...
[Optimus L3, L5, L7 Android Development] skuskom:
You need to do in memory hacking to enable kexec. This was done also for another phones.
[Optimus L3, L5, L7 Android Development] Taftus:
Thanks alot m8! It seems to do the trick, I follow guide you posted and moved apps to SD Card 2nd Part. It seems to clear upp SD Card (Phones primary).

One question, when I mount SD Card to PC it won't show that partition right? It will only show what is left of storage because I left 4gb out of 16gb.
[Optimus L3, L5, L7 Android Development] MrCzAjNiK:
How you get that info? O.o

@about l3

L3 can be easy flashed, dont have secure boot.

Thats shame from lg btw. We have much better devices but they close patch to customs for us... dead before live.
[Optimus L3, L5, L7 Android Development] jimhon:
Yes you're right your SD Card won't show on your PC when mounted and that's normal.The partition is required for Link2SD to work properly on the phone and to free some memory on our device's 4GB internal memory when installing lots of applications instead using the 2nd partition for caches etc...You can check on the Link2SD storage info for memory usage.
[Optimus L3, L5, L7 Android Development] ryba84:
We can at least try. But first I must compile kernel. Someone from LG used with their sources on not case sensivity filesystem :/ Because of that I cannot compile kernel with their config. I've to replace netfilter section with original taken from linux sources.

EDIT:

Ok. zImage is ready. Now kexec :D
[Optimus L3, L5, L7 Android Development] MrCzAjNiK:
You can compile kexec from sources.

But how you want to boot this zImage?

Current kernel must have support to load kexec...

You mean you wanna try to memory hack?

What you want to do that?
[Optimus L3, L5, L7 Android Development] ryba84:
It's possible to make kexec as module and load it. But for now I must first compile it.
[Optimus L3, L5, L7 Android Development] Taftus:
Does this work on every phone? I mean most of phone that come lately I feel like they are not allow to install apps on SD card if they are not running custom roms.

Again, thank you very much ^____^ This was awesome, now I can finally install apps. Btw how about gameloft games? They are mostly about 500mb - 1gb.
[Optimus L3, L5, L7 Android Development] phreephiber:
Anyone tried this ???

techhotfix.com/forum/showthread.php/24054-Lg-optimus-l7-p700-software-update-android-jelly-bean
[Optimus L3, L5, L7 Android Development] ryba84:
There is nothing else then informations in this thread.
[Optimus L3, L5, L7 Android Development] MrCzAjNiK:
This is OTA update? Can someone provide me to flashable file of this update? Its located in cache.

Or adb logcat it and attach log when you click update.
[Optimus L3, L5, L7 Android Development] mariolcneto:
Those are the steps to just flash any firmware on the device... But there are no JB firmwares yet... Don't even bother, because it won't work...
[Optimus L3, L5, L7 Android Development] MrCzAjNiK:
It may help you to figure something.

http://stackoverflow.com/questions/...xternally-for-armv7-errors-including-expected

Guy pasted sources. I dont have working linux distro with ability to compile it.

But what is actually needed for get it to work?

What is next stage? After we succesfull compile kernel module and load it?

We need zImage to boot?
[Optimus L3, L5, L7 Android Development] mariolcneto:
With a succesful kernel it becomes easier to port CWM to our phone... We won't get stuck on the security error...
[Optimus L3, L5, L7 Android Development] ryba84:
I've seen this. Later I'll try make kexec module.

Actually I've got fully compiling sources from LG, compiled zImage with original initramfs extracted from phone.

First we must make kernel booting from kexec, what can be difficult.

If I've some time I'll upload sources on github for the others.
[Optimus L3, L5, L7 Android Development] -XoRoX-:
anything can i do to help you? :o
[Optimus L3, L5, L7 Android Development] srcsntrk:
our beautiful phones should have CM10 :D

why douesnt any developer care optimus l7 :)
[Optimus L3, L5, L7 Android Development] pkatsaras:
Cause there is no developer having L7 but we have newly becoming developers! So I think that they deserve our patience...Something new and promising is born!

Sent from another milkyway with my LG L7 Optimus via Tapatalk 2
[Optimus L3, L5, L7 Android Development] srcsntrk:
Actulally I dont think that my next phone will be LG. The market share is very limited, so there is no developer for these phones.

Shame on LG :P
[Optimus L3, L5, L7 Android Development] ryba84:
Someone is good in C programming? Then may try to build kexec module.Kernel sources with initramfs and proper config will be uploaded to github but it's slow.

For the kexec module sources for other phone:

http://xdaforums.com/showpost.php?p=14433243&postcount=7

And another to try:

https://gitorious.org/droid3-kexec?page=3

This is modified kernel sources to produce kexec module. I'm cloning into it.
[Optimus L3, L5, L7 Android Development] MrCzAjNiK:
What exacly changes need the code to compile succesfull?

Edit:

Zauwazylem ze po polsku bedzie latwiej :p
[Optimus L3, L5, L7 Android Development] elzafir:
With LG making the next Nexus, market share and dev awareness should increase. Also, it will probably positively affect LG's stance on phone's hackability.
[Optimus L3, L5, L7 Android Development] ryba84:
We need to edit sources to compile with our kernel. I'not a C programmer that's why someone could help me weth this.

Łatwiej byłoby po polsku ale tutaj angielski obowiązuje ;P
[Optimus L3, L5, L7 Android Development] MrCzAjNiK:
I think C is not enought in this cause we need someone who is good in kernel sfuff.

We must ask some xda heroes for help or guys from moto kexec development.
[Optimus L3, L5, L7 Android Development] ryba84:
And someone who knowns MSM7227a platform. For now I've small amount of time to work on it (work).

And there are problems on kexec booted kernel. Radio isn't working, etc.
[Optimus L3, L5, L7 Android Development] theodorep63:
@petrescu

THANK YOU VERY MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!

Really..... The only method that worked on my LGP700 with v10i firmware.... I tried all other methods described in this thread and none worked on my phone... Only this one worked.... I now have rooted phone...

Thank you very much again...

Theodore
[Optimus L3, L5, L7 Android Development] petrescu:
You're welcome !
[Optimus L3, L5, L7 Android Development] ryba84:
Github with sources

Stock kernel with initramfs on github:

https://github.com/ryba84/KERNEL_STOCK_LG_OPTIMUS_L7_P700
[Optimus L3, L5, L7 Android Development] chistoph:
You guys know where to get updates logs? To see if is worth to update or not...
[Optimus L3, L5, L7 Android Development] elzafir:
This thread is starting to go way over my head, and I'm glad...because that means more smart people are trying to develop for this phone.
[Optimus L3, L5, L7 Android Development] zsolarewicz:
root?

Hi guys !

Ive been watching this thread w/great interest, ive just bought an L7 w/ fw. version V10A and tried to root it w/all the tools

from this thread with no success...

Then I flashed to V10H - still nothing, then- V10i and still trying to root it..((

BTW. I have flashed just using KDZs from the links on 1st page but using KDZ_FW_UPD.exe in LG PC Suite/Software Mode !

One thing Ive noticed is the connection works OK if USB Mode was set PRIOR to plugging USB cable (to PC or L7)-then PC can correctly identify proper drivers.

Still however can not root it-in any available method, any hints ??

PS. Good luck w/cooking CWM for our new toy !
[Optimus L3, L5, L7 Android Development] petrescu:
Check the link in my description in...5 mins? i will make a ROOT- THE HARD WAY notice that might work...
[Optimus L3, L5, L7 Android Development] zsolarewicz:
You ARE THE MAN !

Herein I pronounce LG L7 fw.V10I unbranded (Polish) to be ROOTED.

Thanx A LOT.

BTW.I ve just ran through Pitesti on my way to Bulgaria end of this summer: marvelous Olt river Valley and..highway to Bucuresti, nice memories and still a piece of highlander's specialty-cheese !:cool:
[Optimus L3, L5, L7 Android Development] jerry_june3:
hi guys

im from the philippines

and i just bought an lg optimus l7 p705

running on v10c

i have a quick question

if i root my device with the custom rom you guys will come up with

could that help make the device perform faster?

thank you so much.

noobie here

:)
[Optimus L3, L5, L7 Android Development] gimmo1997:
Hi guys, why I can't update my phone to the v10d? Is this firmware rootable? :confused:

Tnx