L5 20F root - Optimus L3, L5, L7 Android Development

Hi, I've rooted the new 20F rom (Spain)
http://yadi.sk/d/uKcmLC_-7dpxo
Regards

alejomj said:
Hi, I've rooted the new 20F rom (Spain)
Regards
Click to expand...
Click to collapse
Is it multilanguage firmware, Italian language is included?
How did you do it?

yeah it has italian lang.
for rootiing, after that you have downloaded the stock kdz, follow these steps:
1 - LGExtract.exe -kdz ..\*.kdz
2- extract .cab
3- DZDecrypt *.dz
4- DZExtract -x *.dz
5- mount -o loop -t ext4 system.img.ext /mnt/kdz
6- cp system/bin/su /mnt/kdz/bin/
7- cp system/app/Superuser.apk /mnt/kdz/app/
8- chmod 06755 /mnt/kdz/bin/su
9- ln -s /mnt/kdz/bin/su /mnt/kdz/xbin
10- DZCreate.exe -mE610 -v20E V20D_root.dz
11- create cab with dz + dll
12- create kdz with cab file using UpTestEX_original

I got it :good:

They are commands and tools that you need for creating a kdz ROM rooted. mmm I think there's a way to root your phone with adb shell but I prefer with this one.
Regards

alejomj said:
They are commands and tools that you need for creating a kdz ROM rooted. mmm I think there's a way to root your phone with adb shell but I prefer with this one.
Regards
Click to expand...
Click to collapse
I was looking for a faster method to root my device.
That wasn't my idea.
However thanks for explainations.

alejomj said:
yeah it has italian lang.
for rootiing, after that you have downloaded the stock kdz, follow these steps:
1 - LGExtract.exe -kdz ..\*.kdz
2- extract .cab
3- DZDecrypt *.dz
4- DZExtract -x *.dz
5- mount -o loop -t ext4 system.img.ext /mnt/kdz
6- cp system/bin/su /mnt/kdz/bin/
7- cp system/app/Superuser.apk /mnt/kdz/app/
8- chmod 06755 /mnt/kdz/bin/su
9- ln -s /mnt/kdz/bin/su /mnt/kdz/xbin
10- DZCreate.exe -mE610 -v20E V20D_root.dz
11- create cab with dz + dll
12- create kdz with cab file using UpTestEX_original
Click to expand...
Click to collapse
how did you push su in dz? (.dz)

you need to mount the ext file for writing inside the su package. You can do it in any linux/BSD or other posix system.
Regards

Related

Farsi/arabic support (connecting the arabic letters together)

Froyo can show arabic letters but they are not connected ,any APK to support Arabic letters and connect the letters together ?
thanx in advance
I second this...
Patch your system with Streakdroid 1.7
Copy framework.jar from system\framework
patch it using arabic scripter from ce4arab Add the new framework.jar on Streakdroid 1.7 zip file then do master reset and patch it again
copy libwebcore.so to lib ( you will get it from the same page)
you will get connected letters
Jattal, Have you got a link to the arabic scripter?
how do u patch?
jattal said:
Patch your system with Streakdroid 1.7
Copy framework.jar from system\framework
patch it using arabic scripter from ce4arab Add the new framework.jar on Streakdroid 1.7 zip file then do master reset and patch it again
copy libwebcore.so to lib ( you will get it from the same page)
you will get connected letters
Click to expand...
Click to collapse
a step by step guide will be helpful
thanks.
here you go
http://arstreak.com/2011/03/20/dell-streak-froyo-2-2-2-build-345-with-arabic-how-to-for-all/
http://arstreak.com/
I would just like to add that most people are getting "cp not found error"
use the following commands after rooting and installing busybox
NOTE: what you download from the market is busybox installer... you will have to run it and then install busybox
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/app/*.odex
busybox rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
Hope this helps.
amcolian said:
I would just like to add that most people are getting "cp not found error"
use the following commands after rooting and installing busybox
NOTE: what you download from the market is busybox installer... you will have to run it and then install busybox
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/app/*.odex
busybox rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
Hope this helps.
Click to expand...
Click to collapse
Can this be done via root explorer thanks.
Unfortunately it cannot because your device will shutdown on changing the files and it won't be able to boot. The reason why the above commands work is that they freeze your phone in current state while the files are copied and deleted.
However as some adb commands do not run on android 2.2, you need busybox.
Sorry for the late reply, but I wasn't available for a while.
amcolian said:
I would just like to add that most people are getting "cp not found error"
use the following commands after rooting and installing busybox
NOTE: what you download from the market is busybox installer... you will have to run it and then install busybox
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/app/*.odex
busybox rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
Hope this helps.
Click to expand...
Click to collapse
Hello
thanks for the reply, i would like to ask you if this method could work for all android devices OR only Dell Streak?
as i have Xperia X10 and i just installed Miui ROM and the letters are not connected... what should i do?
thanks in advanced
LOOK HERE
maan1976 said:
Froyo can show arabic letters but they are not connected ,any APK to support Arabic letters and connect the letters together ?
thanx in advance
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=834683
does work for non rooted devices
jattal said:
Patch your system with Streakdroid 1.7
Copy framework.jar from system\framework
patch it using arabic scripter from ce4arab Add the new framework.jar on Streakdroid 1.7 zip file then do master reset and patch it again
copy libwebcore.so to lib ( you will get it from the same page)
you will get connected letters
Click to expand...
Click to collapse
hello man
does this method work for non rooted device
my device is still new
is there any other way for non rooted?
and please tell me what is the easiest way to root the device
thaaaaaank u sooooo much
regards

[ROOT][6.0.A.3.73][LT26] Xperia S (2.3.7) - (1257-8821) Norway Generic

**WARNING** this requires an unlocked bootloader. Unlocking the boot loader will result in voiding your warranty.
6.0.A.3.73
2.3.7
Cust: 1257-8821 Norway Generic
1007.9Mb Partition Size:
Download:
http://www.mediafire.com/?y3n9yp3822yykct
http://www.mediafire.com/?ez079pa982pd1h4
http://www.mediafire.com/?xtata7rea3l93ja
Please perform a full Norway ftf flash before you flash this preroot into your device.
Code:
fastboot flash system system_new.img
This will give you root for the device.
Details:
6.0.A.3.073 Norway ROM (2010-Apr-11 00:33HKT GMT+8:00)
[root]
/system/app/SuperUser.apk 3.0.7 (41)
/system/bin/su 3.0.3.2
/system/xbin/busybox 1.19
/system/xbin/busybox symlinks
[enhancements]
/system/app/SystemUI.apk (Notifications Widget)
/system/app/QuickPanelSettings.apk (Notifications Widget)
/system/framework/framework-res.apk (Percentage + Blue battery mod)
--
[next release]
/system/app/Home.apk updated to 11 screen 5row x 4col configuration + landscape support
/bin/sysrw (to mount system as rw so you can write files in adb shell)
Ant Radio Service 2.8
Gmail 2.3.6
Google Play Store 3.5.16
LiveWare manager 3.2.8
OfficeSuite 6.0.815
Street View 1.7.2.0
TrackID 3.60.42
Xperia SmartTags 1.0.16
Have fun XPSing!
Thank you so much
kazuni said:
**WARNING** this requires an unlocked bootloader. Unlocking the boot loader will result in voiding your warranty.
6.0.A.3.73
2.3.7
Cust: 1257-8821 Norway Generic
1007.9Mb Partition Size:
Download:
http://www.mediafire.com/?y3n9yp3822yykct
http://www.mediafire.com/?ez079pa982pd1h4
http://www.mediafire.com/?xtata7rea3l93ja
Please perform a full Norway ftf flash before you flash this preroot into your device.
Code:
fastboot flash system system_new.img
This will give you root for the device.
Details:
6.0.A.3.073 Norway ROM (2010-Apr-11 00:33HKT GMT+8:00)
[root]
/system/app/SuperUser.apk 3.0.7 (41)
/system/bin/su 3.0.3.2
/system/xbin/busybox 1.19
/system/xbin/busybox symlinks
[enhancements]
/system/app/SystemUI.apk (Notifications Widget)
/system/app/QuickPanelSettings.apk (Notifications Widget)
/system/framework/framework-res.apk (Percentage + Blue battery mod)
--
[next release]
/system/app/Home.apk updated to 11 screen 5row x 4col configuration + landscape support
/bin/sysrw (to mount system as rw so you can write files in adb shell)
Ant Radio Service 2.8
Gmail 2.3.6
Google Play Store 3.5.16
LiveWare manager 3.2.8
OfficeSuite 6.0.815
Street View 1.7.2.0
TrackID 3.60.42
Xperia SmartTags 1.0.16
Have fun XPSing!
Click to expand...
Click to collapse
Wops! you are faster than me XD
Yakandu said:
Wops! you are faster than me XD
Click to expand...
Click to collapse
Haha, slightly faster.
A tip for you : if you want to create a fast root image, you can create a tarball of an existing rooted image in adb shell and extract that to your working-system image (the one to be rooted):
Code:
tar -cpvzf preroot-pack.tgz /system/app/Superuser.apk /system/app/su /system/xbin/
(including the /system/xbin if you have busybox, so that you don't have to do the tedious flash+repack method)
kazuni said:
Haha, slightly faster.
A tip for you : if you want to create a fast root image, you can create a tarball of an existing rooted image in adb shell and extract that to your working-system image (the one to be rooted):
Code:
tar -cpvzf preroot-pack.tgz /system/app/Superuser.apk /system/app/su /system/xbin/
(including the /system/xbin if you have busybox, so that you don't have to do the tedious flash+repack method)
Click to expand...
Click to collapse
Excelent, im using a self-made script to:
auto sin to img
mount
push Superuser, su, busybox and check permissions
delete 'custom apps' (if wanted) from:
etc/customization/applications
etc/product/applications​make the new rooted system.img
delete temporal/old system.img system.sin and system folder.
all done in debian on Virtualbox ~5min aprox
Yakandu said:
Excelent, im using a self-made script to:
auto sin to img
mount
push Superuser, su, busybox and check permissions
delete 'custom apps' (if wanted) from: etc/customization/applications
etc/product/applications​make the new rooted system.img
delete temporal/old system.img system.sin and system folder.
all done in debian on Virtualbox ~5min aprox
Click to expand...
Click to collapse
Sounds great! Thanks for the sharing
also check out make_ext4fs (if you haven't started using sparse image yet)
kazuni said:
Sounds great! Thanks for the sharing
also check out make_ext4fs (if you haven't started using sparse image yet)
Click to expand...
Click to collapse
well, here is the script, now making prerooted system.img on 55secs with a virtual machine XD
Code:
#!/bin/bash
echo Creando imagen...
./sin2img.py system.sin system.img
echo Montando imagen...
mkdir system; mount -o loop system.img system
echo Borrando apps...
rm -r system/etc/customization/applications
rm -r system/etc/product/applications
echo Creando root...
cp Superuser.apk system/app/
cp su system/bin/
cp busybox system/xbin/
chmod 644 system/app/Superuser.apk
chmod 06755 system/bin/su
chmod 06755 system/xbin/busybox
echo Creando imagen...
./mkuserimg.sh -s /home/adrian/android/system ./system2.img ext4 ./temp 1024M
echo Desmontando imagen original...
umount system
echo Borrando archivos temporales...
rm -r system
rm system.img
echo Finalizado.
Echoes are in shpanish but i think they are easy to understand XD
If something is unclear feel free to ask, im nooby on linux but some hours of lots of guides can make you fly.
And of course, if anyone can contribute.. feel fry
The right file of .73 Norwegian Firmaware is uploaded now in this thread: http://forum.xda-developers.com/showpost.php?p=24717260&postcount=33
Can someone of you make root .img of it, please? Thanks for your hard work!
Mano1982 said:
The right file of .73 Norwegian Firmaware is uploaded now in this thread: http://forum.xda-developers.com/showpost.php?p=24717260&postcount=33
Can someone of you make root .img of it, please? Thanks for your hard work!
Click to expand...
Click to collapse
incoming
Yakandu said:
incoming
Click to expand...
Click to collapse
Thanks a lot.. You are wonderful
Yakandu said:
well, here is the script, now making prerooted system.img on 55secs with a virtual machine XD
Code:
#!/bin/bash
echo Creando imagen...
./sin2img.py system.sin system.img
echo Montando imagen...
mkdir system; mount -o loop system.img system
echo Borrando apps...
rm -r system/etc/customization/applications
rm -r system/etc/product/applications
echo Creando root...
cp Superuser.apk system/app/
cp su system/bin/
cp busybox system/xbin/
chmod 644 system/app/Superuser.apk
chmod 06755 system/bin/su
chmod 06755 system/xbin/busybox
echo Creando imagen...
./mkuserimg.sh -s /home/adrian/android/system ./system2.img ext4 ./temp 1024M
echo Desmontando imagen original...
umount system
echo Borrando archivos temporales...
rm -r system
rm system.img
echo Finalizado.
Echoes are in shpanish but i think they are easy to understand XD
If something is unclear feel free to ask, im nooby on linux but some hours of lots of guides can make you fly.
And of course, if anyone can contribute.. feel fry
Click to expand...
Click to collapse
Hi Yakandu,
Thanks a lot for this piece of code, it helps me understant how to customize firmware
I have a question about that. When the script finishes, how do you use the system2.img created ? Is Flashtool able to use it or do you have a way to get a system2.sin back ?
Cheers.
How to root my xperia s?
Here you go
http://forum.xda-developers.com/showthread.php?p=23868276
Next time try to use search..
Sent from my LT26i using XDA
Please, to root this firmware, i use the same method on this topic?
http://forum.xda-developers.com/showthread.php?p=23868276 (Connect device in fastboot mode (blue LED).
Open Command prompt and type: fastboot flash system system_xps_prerooted_63fw.img - This will give you root immediatly after reboot!)
Or, i need flash stock rom and flash preroot image with Flash tools ? (If yes, with flash tools, the sistem image i place in folder "firmware" ?)
I am asking for help because I am new to this device and did not understand that part.
Already unlocked my bootloader.
Thanks.
joaonds said:
Please, to root this firmware, i use the same method on this topic?
http://forum.xda-developers.com/showthread.php?p=23868276 (Connect device in fastboot mode (blue LED).
Open Command prompt and type: fastboot flash system system_xps_prerooted_63fw.img - This will give you root immediatly after reboot!)
Or, i need flash stock rom and flash preroot image with Flash tools ? (If yes, with flash tools, the sistem image i place in folder "firmware" ?)
I am asking for help because I am new to this device and did not understand that part.
Already unlocked my bootloader.
Thanks.
Click to expand...
Click to collapse
To root just flash this http://forum.xda-developers.com/showthread.php?t=1635582
Sent from my LT26i using Tapatalk 2
gm007 said:
To root just flash this http://forum.xda-developers.com/showthread.php?t=1635582
Sent from my LT26i using Tapatalk 2
Click to expand...
Click to collapse
Thanks for the help.
But I want to make root without changing the kernel (DoomKernel), because I've been reading that has some minor bugs.
The methods I mentioned just above, are correct?
The script given here quite help alot but I'm still blur about root the firmware...
haih...

[Q] Root, CWM \ SC-01D

Hello guys.
I'm with the Docomo Galaxy tab LTE SC-01D.
I've been trying but I can't root it nor install the CWM.
I've tried flashing the CWM 4.0.0.4 with Odin but when I try to get into recovery mode, the tablet gets stuck in the Samsung screen.
Since it's a japanese tablet, is it different to root and install CWM?
Thanks.
_ImPoSsIbLe_ said:
Hello guys.
I'm with the Docomo Galaxy tab LTE SC-01D.
I've been trying but I can't root it nor install the CWM.
I've tried flashing the CWM 4.0.0.4 with Odin but when I try to get into recovery mode, the tablet gets stuck in the Samsung screen.
Since it's a japanese tablet, is it different to root and install CWM?
Thanks.
Click to expand...
Click to collapse
Do you have any linux experience?
If yes you can do this:
mv system.img.ext4 ext4_utils
cd ext4_utils
sudo apt-get install zlib1g-dev
make
./simg2img system.img.ext4 system.img
mkdir system
sudo mount -o loop system.img system
cd ..
sudo mv su ext4_utils/system/bin
sudo mv Superuser.apk ext4_utils/system/app
cd ext4_utils/system/bin
sudo chown root.root su
sudo chmod 4755 su
cd ../app
sudo chown root.root Superuser.apk
sudo chmod 644 Superuser.apk
cd ../..
sudo ./mkuserimg.sh -s ./system ../system.img.ext4 ext4 system 687M
cd ..
tar --format=ustar -cf rootimage.tar system.img.ext4
md5sum -t rootimage.tar >> rootimage.tar
mv rootimage.tar rootimage.tar.md5
(by muneho)
If you are able to do this please be so kind to share your .tar file you make at the end so everybody can do all this a bit easier. Thanks
ps. you need to download ext4_utils, su and Superuser.apk on your linux.. then flash the final file to your phone with odin.

Stock rom editing

Can anybody tell me how i can mount a system.img (under the linux)?
I would like to change any files and repack to odin flashable file.
Is this possible or not??
Thx
TiBiSMART said:
Can anybody tell me how i can mount a system.img (under the linux)?
I would like to change any files and repack to odin flashable file.
Is this possible or not??
Thx
Click to expand...
Click to collapse
I hope this will help you..
http://www.freeyourandroid.com/guide/building_roms_for_odin
TiBiSMART said:
Can anybody tell me how i can mount a system.img (under the linux)?
I would like to change any files and repack to odin flashable file.
Is this possible or not??
Thx
Click to expand...
Click to collapse
i helped myself (and http://andwise.net/?p=403)...
mkdir sys
./simg2img system.img sys.raw
mount -t ext4 -o loop sys.raw sys/
change what you want...
./make_ext4fs -s -l 1610612736 -a system new_system.img sys/
put the system.img to the odin flashable tar (extension only .tar not tar.md5!!!)

[L7] Root V10K firmware

V10K root guide (for advanced windows and linux users)
Download requiement apps:
LGExtract-0.2.1
DZDecryptor_v1.0b
UPDATE-SuperSU-v1.10
Download V10K firmware:
http://lg-phone-firmware.com/index.php?id_mod=13
I. Unpack KDZ file
1. Unpack LGExtract-0.2.1.zip to C:/LGExtract-0.2.1
2. Copy V10K_00.kdz file to extracted folder
3. Open command prompt
cd C:/LGExtract-0.2.1
LGExtract -kdz V10K_00.kdz
4. Unpack V10K_00.cab with WinRAR
5. Rename LGP700AT-00-V10k(...).dz to V10K_00.dz
II. Unpack DZ file
1. Unpack DZDecryptor_v1.0b to C:/DZDecryptor_v1.0b
2. Copy V10K_00.dz to C:/DZDecryptor_v1.0b
3. Move V10K_00.dz file on DZDecrypt.exe
4. Open command prompt
cd C:/DZDecryptor_v1.0b
dzdecrypt V10K_00.dz
5. Now you have "system.img.ext" file
III. Mount and edit system image under linux (ubuntu)
1.Copy "system.img.ext" to desktop
2. Open command prompt
sudo mkdir /mnt/system/
sudo mount -o loop /home/ubuntu/Desktop/system.img.ext /mnt/system
3. Now unpack system folder from "UPDATE-SuperSU-v1.10.zip" to desktop
sudo cp /home/ubuntu/Desktop/system/xbin/su /mnt/system/xbin
sudo cp /home/ubuntu/Desktop/system/app/Superuser.apk /mnt/system/app
sudo chown 0.0 /mnt/system/xbin/su
sudo chmod 06755 /mnt/system/xbin/su
sudo chown 0.0 /mnt/system/app/Superuser.apk
sudo chmod 644 /mnt/system/app/Superuser.apk
sudo umount /mnt/system
Now replace system.img.ext4 file under flashing nad enjoy rooted phone
Move your system.img.ext4 to C:\ProgramData\LGMOBILEAX\ and start updating V10K_00.kdz
Wait untill KDZ create Phone folder and create other system.img.ext4. When file reach 483MB move file to desktop
Then move your system.img.ext4 from C:\ProgramData\LGMOBILEAX\ to C:\ProgramData\LGMOBILEAX\Phone\
Wait to end update
Thanks, I'll try that out asap!
One thing, though - are you sure your chmod invocation is correct? "755" octal doesn't set the SUID bit on the executable; don't you need "4755" (for /mnt/system/bin/su) there?
Where do I get the KDZ file from - is it possible to copy that off/extract it out of my phone somehow? If I have to download it from some filehosting site, does it matter which version I get? (My phone is unbraded, bought without simlock or a contract, and I'd like to retain that status.)
This is method for rooting all (branded, unbranded, other country) V10K firmware (latest version)
Firmware download link added to thread
Linux terminal commands corrected
OK, I prepared the filesystem image like you said and planted the binaries with SETUID/SETGID bits set and owned by root:root. Everything went fine so far - pardon my ignorance when I ask, though - how do I get that filesystem Image into a "kdz" file in order to flash it onto the phone now?
You must flash system image like custom rom (by swap system image when kdz file is flashed)
With DZCreator_v1.0c maybe we can create dz file (next compress into cab and encrypt into kdz) but we don't have some info about original dz file (like dz split size, sub files offset etc)
That superuser.apk , the permission are 655, is that correct permission?
chmod 655 are set to rw-r-xr-x , meanwhile system app must set to rw-r--r-- (644)
Anyone have idea how to add init.d and script to install busybox and delete itself ?
I got V20A jellybean rooted

Categories

Resources