yashsingh1/xdaforums huggingface dataset:
[Lenovo P780] satanduck:
I just tried, you need to rename the script install-recovery.sh.disabled in /system/etc to install-recovery.sh, and the recovery-from-boot.bak" in /system to recovery-from-boot.p

I have removed all the apps that is to be installed in /data as they can be downloaded new from Play. They are in /preload or /vendor can't remember which. Will update OP.
[Lenovo P780] satanduck:
I hope this is not the beginning of "how do I flash back custom recovery after I flashed stock recovery" question flood gate :P
[Lenovo P780] soralz:
...Need immediate help here, just now I was trying MIUI ROM, unfortunately my phone straight enter boot loop after flashing the ROM through. Then I flash back stock S123 ROM I get blank IMEI, completely no network. So regret doing this, and my bad didn't back it up == The phone only 3 days old, by anyway I can revive it back? I don't want send back to shop because I though it surely void my warranty. I don't trust custom ROM anymore !! :mad:

Although can recover using PC tools, but the phone have 2 SIM slots which means got 2 IMEI, and the battery and the box only have 1 printed, how can I recover it?

EDIT: Nevermind, my bad, didn't read the instruction carefully due to different baseband, now already sent my phone back to service center for repairing.
[Lenovo P780] JackSparrow17:
Is there any way to go back to Stock Rom without Rooted Custom Recovery...?
[Lenovo P780] satanduck:
yes. search and download the official images and flash them the same way. you may not find readily updated (i. e. s119) as they were OTAs. For ROW look for S116 I think that's the latest then wait for OTA.
[Lenovo P780] JackSparrow17:
I Googled a lot, But no success in finding ROW Rom without rooted and custom recovery.....Can u help me Bro.... Thanks in advance.... :)
[Lenovo P780] satanduck:
You've got to be kidding me. I Googled "p780 row s116" and the 3rd link is already a an Indonesian site with many links.
[Lenovo P780] JackSparrow17:
Hahahaha.....I searched s119....
[Lenovo P780] satanduck:
I thought you might be, thats why three posts ago i told u about s116 :angel:
[Lenovo P780] rebajz:
On this link http://d-h.st/5U4 is new version Carliv Touch Recovery 2.2 (ported from me), for asia and world base rom (For Lenovo P780). Zip contains both version in script format – install from other recovery… or you can unzip file recovery.img and reflash by Mobile uncle tools. Both recovery is in english language.

Who dont know what is CTR... it is recovery, mix twrp and cwm (6.0.4.4) more info is here: http://xdaforums.com/showthread.php?t=2471479

android source codes for lenovo p780: http://download.lenovo.com/consumer/open_source_code/P780_Open_Source_20131108.zip maybe some programmer can doing better ROM :)
[Lenovo P780] lionking59:
[MENTION=5270762]rebajz[/MENTION]

Can u plz post the pictures of the recovery i.e how does it look like. I didn't get any info on the thread you have given here.

Post edit: I have installed your recovery and its working really good. TWRP is also fine and has touchscreen features but I guess this gives us an alternate now.

Friends something more to share

The lenovo P780, 8 GB users are stuck with two in-built storages (a) Internal Storage (b) Built in storage. Total of these two is 8 gb but I always wanted these two storages to be only one. Finally found a partitioning tool in one of the czech website. The link is here.

The source of my info is here at post no 585. Now I have an internal storage of 7.26 GB instead of those two divided partitions.

However what I dont understand is, my present free space is only 1.55 gb which is quite surprising. Before re-partitioning I had around 2.6+ gb available on my "built-in storage" and approx 200 mb available on "my internal storage". But now even though a lot of data has got deleted, but still the total available free space is only 1.55 gb. Anyone has any solutions to this problem?

Second Issue I have after partitioning is, when I tried to make a backup using my TWRP recovery, the backup failed midway with a message. Here is the image posted below.

Thanks to [MENTION=5270762]rebajz[/MENTION], his recovery has been able to help me create a backup of my device though this too showed unable to mount emmc message, but it completed the recovery. Can anyone help me with this emmc problem. The phone is working absolutely fine otherwise and no other problem.

Sent from Lenovo P780.
[Lenovo P780] satanduck:
in default partition layout there are two "sdcard" partitions, one is emmc and one is sdcard. emmc should be the internal one that is split with /data and sdcard the micro SD.

when you repartitioned fully by shrinking emmc to zero and put everything for /data, emmc is gone and unmountable. this is also indicated in your first screenshot that you no longer have and "internal storage".
[Lenovo P780] lionking59:
Even if emmc is unmountable; so far I didnt have any problems with working of phone or apps. So it doesn't effect me and I am ok with it. Now I am able to make a Nandroid backup using the Carliv touch recovery which is not possible using TWRP coz of emmc prob.

However what still bothers me is the available free space!! I did the whole business of re-partitioning the existing structure only to have more space. But some thing is fishy here regarding space management after re-partitioning. In the second screenshot, if you notice, the size of backup folder is 1631 mb (without any kind of compression). Now, this1631 mb which showed up in the form of back up, can it really occupy 5.71 GB (7.26gb - 1.55gb= 5.71 gb) of system storage which is the present case :confused:

Or is it that my 4 gb is lost and the remaining 4 gb is showing up as 8 gb?
[Lenovo P780] lionking59:
ok.... downloaded partition table apk and here is what I found.

The initial six partions are the memory which I am concerned about and the seventh one(last one) is my ext memory card. The sum total of initial six cards is coming to 3600 mb :(

Exactly as I feared..... the process of partitioning using the tool discussed before has resulted in merging the internal memory to a capacity of 4 gb most probably. I will have to do something now to get remaining 4 gb:fingers-crossed:

Any input is always welcome.
[Lenovo P780] satanduck:
I see your problem. You are now using a 4GB P780 partition table on your 8GB P780. Thats why its behaving like a 4GB P780.

Recover with these :

http://lenovo-forums.ru/topic/3399-переразметка-памяти-для-8gb-версии/

Please note that they are different, 4GB/8GB partition table and their partitioning tool (all partitioning tool i've seen so far simply flash a new parition table EBR2 onto the phone, not dynamically resizing as you might imagine), as well as the flashtool ROMs like the ones i shared. Also Chinese and ROW are ALSO different.
[Lenovo P780] lionking59:
Tried to update the zip as you suggested in the russian forum. Phone has gone into boot loop.

Got some info from one indonesian forum, reflashing the rom with changes in EBR2, flashing is in progress as I am typing. Will post the results afterwards.
[Lenovo P780] satanduck:
you need to wipe and restore a backup after using repartition script. the aroma one did it for you automatically.
[Lenovo P780] bottedumal:
hello guys

I find everything and its opposite on internet.

I'd like to order this phone but would like to know, if I order a chinese version (the only one I can found with shipping possible in my country) and flash a russian rom/modem, will it work with UMTS 900mhz??

Thanks
[Lenovo P780] stakou:
Hey satndunk, do you have any advice for viberoms? Can they be installed above these ones?

Thanks!
[Lenovo P780] Trystam:
Is there any way to increase the memory available for the Phone itself by not making an emmc partition with roughtly 1GB ?

Since most or all people use the SDCard for Storage maybe adding a bit more space to the internal OS would be a good thing ?
[Lenovo P780] satanduck:
Sorry I have no experience in this. Does the original Chinese ROM support it? Because in the Russian forums people sometimes do flash Chinese radio after changing base.

I've used the official one (from viberom.com) via installer and it works with the Chinese base. But you do lose root unless you flash from recovery and then flash root before restart. I stopped using it because incoming call number matching is not working for numbers without international prefix and it annoys me (too long numbers for match framework).

I've also tried with ROW base, Russian ports and they also work.

If you are thinking about some form of apps2sd thats way too old school. We simply repartition our storage! (read a few post above and be careful)
[Lenovo P780] Dkeys:
Hi, im using P780 4gb with chinese rom s135. Can anybody help me or give me link on how to do storage repartition? Search a lot but only found tutorial for international rom s119. Or is it save for me to follow the instructions for s119 rom on my s135 rom? Thanks guys..
[Lenovo P780] michael9413:
hi there... thank you for all the good work... but can anyone show me the link to CWM S123 ROW ROM???

i prefer to use CWM...

thanks a lot...
[Lenovo P780] darkzone74:
Hello Dkeys,

you can try this.

It´s from a other forum, i have not tested the files.

http://forums.lenovo.com/t5/Lenovo-Phones/LENOVO-P780-PROBLEMS/td-p/1250941/page/11

greetings
[Lenovo P780] Dkeys:
Nevermind..i already change to S123 rom. Its much easier to mod when using international rom. Thanks for your help mate :):)
[Lenovo P780] almir1984:
Hi,I bay this phone from panda and got row version with s116 but cannot update to s119 and s123,phone is rooted.

Can you help me how to update this to 119 or 123
[Lenovo P780] viceant:
P780 8GB

Confirm, P780_ROW_S123_131231_rooted_twrp_gapps.7z can be used for P780 8GB ROW version.
[Lenovo P780] satanduck:
did you check your free space?
[Lenovo P780] viceant:
Unfortunately I forgot to check free space right after installation. And already restore all application via TB.

But here is the screenshot of my P780 memory usage.
[Lenovo P780] satanduck:
ok thanks I was afraid it would make your 8GB into 4GB looks like not happening.
[Lenovo P780] BesFen:
Hi Satanduck,

How about VIBE OFFICIAL ROM for P780? Do you have plan to post it here?
[Lenovo P780] soralz:
Here.
[Lenovo P780] deepz031186:
Help..!! Phone not switching on

Hi satanduck

I was trying to install XVIBE_ROM_v03 rom from the forum here and resulted in softbricking my lenovo P780 ROW 4 GB version.

Now i am trying to revive it by following your steps. i have downloaded and unzipped the P780_ROW_S123_131231_rooted_twrp_gapps_2 that you provided in the beginning of the thread.

After opening the flash tool and selecting the check box DA DL with checkbox and after clicking the Firmware->Upgrade button, i tried plugging in my cell (which is not powering on)

the flash tool doesnt proceed with a Blue and Green circles but simply doesnt do anything.

My cell is also not able to poweron, is is seriuos, how can i revive my P780.

Please help me..!!:crying::crying:

Cheers
[Lenovo P780] soralz:
Have you installed the necessary drivers correctly?
[Lenovo P780] deepz031186:
My Cell is not switching on..!!

Yes i have installed the drivers.. i mean how to check if they are correct..

can u help me in identifying the correct drivers... do have any link of the correct drivers. ?

Now i am not able to power on my Lenovo P780... its not switching on... :crying:

I guess there will be some step that i might have overlooked...any ways..please help me in restoring my cell in working order..

I wonder if it's soft bricked or hard bricked :(
[Lenovo P780] soralz:
Make sure you have installed the drivers correctly, It will be shown as picture if you installed the drivers correctly.

Then proceed with the flashing process.
[Lenovo P780] deepz031186:
Hi thanks for replying..

I ll try reinstalling drivers...

Can u send me the links of drivers.. I guess i have corrupt drivers..

Thanks for help...:angel:
[Lenovo P780] soralz:
Please read the first post. It's over there.
[Lenovo P780] deepz031186:
Geees.. i have downloaded the very same drivers yesterday before proceeding...but i dont know how to install them..

they dont have any setup file..

i know its sort of novice but can you please guide me...i want to get my phone back to life :(
[Lenovo P780] NISHANTJ_2K:
here is the trick

1. start device manager and expand the string of ports.

2. now make sure you phone is switched off (use the red reset button above microsd card)

3. plug in your phone to pc.

4. you will get sound of connect and an new port will start showing in device manager.

5. be quick and right click on it before it hide (if you fail start from step 1)

6. hope you are able to right click on that new hardware in time now select update driver manually and select the driver file you had downloaded

all done later flashing processes are available on forum you can search it
[Lenovo P780] deepz031186:
voila...its working...

Hi...

Thanks to everybody for helping me in reviving my cell back...

I tried pressing the red button and then plugging it back in PC...

Started with the flashing again... And it started working...

It took some 20 min for fishing the stock ROM but in the end it's a success...

It's good to c my phone working again... Now ll try flashing xvibe ROM ..

Hope i ll b able to install with ease...

Well what's the red button do...is it the magic wand...?

Anyways... thanks to every body for the help..:victory::cowboy:

Cheers
[Lenovo P780] stympy:
Seee.. The smalll red button did his thing.... :D

Like i wrotted to you in xVibe post...
[Lenovo P780] DON2003:
Hi, am on Chinese Firmware 4gb with Vibe 1.5 Kitkat, want to go bloat free, which rom would you recommend? AOSP or SLX? why?

willl I lose IMEI if switching from Chinese to ROW? thanks
[Lenovo P780] DON2003:
I have SPFtool S123 ROW, its almost bloat free Android already, great work, but there is no option to download online themes or wallpapers, am I missing anything?

there is also a new S124 about 11mb, should I or can I update OTA? or its forbidden for us that are rooted and bloatware removed?

pls comment
[Lenovo P780] satanduck:
OTAs from Lenovo are meant for Lenovo official. Those may or may not work with the ROMs I shared. If you intend to try, try flashing it from recovery by locating the downloaded OTA file instead of directly from Android.
[Lenovo P780] lionking59:
[MENTION=2490610]satanduck[/MENTION] Lets say the ota file is update.zip. I tried to flash it using twrp recovery, but remember that i didnt succeed. But since i have root access and a couple of root explorers, can i manually replace files. If yes which all files need to be replaced.

Sent from Lenovo P780.
[Lenovo P780] satanduck:
Usually OTA updates do not included the complete files, i.e. they contain only patches to existing files. For example, if it needs to update Phone.apk, instead of including the entire Phone.apk in the zip they have a Phone.apk.p instead, where it is like a patch that after checking the checksum of you current Phone.apk it will patch it to the updated version.

So it may not be as simple as replacing some files.
[Lenovo P780] lionking59:
So would it mean that i should extract the contents of update file n run these phone.apk.p? Will it do the update one by one

Sent from Lenovo P780.
[Lenovo P780] satanduck:
Here are some explanations of what could be in an update.zip

http://android-revolution-hd.blogspot.com/2013/12/how-to-manually-install-ota-update.html
[Lenovo P780] satanduck:
Since there seems to be some interest in this, I will be uploading a version with S124 ROW. Is there any interest in repartitioned super charged version with up to date GApps?
[Lenovo P780] satanduck:
ROW S124 version added to OP
[Lenovo P780] lionking59:
Thanks for the update.

I tried to do the manual update of the OTA update using the TWRP but it fails. I am using the custom ROM by you. The only problem is whenever lenovo issues a OTA update, I have to download the whole new rooted file and it takes me full one day to restore my settings back even with a back up software such as ROM Toolbox pro.

I wish if you could issue the update.zip specific to your custom rom. It would help a lot and save tremendous time and effort.

Anyways thanks for the stuff which you are providing.:good:
[Lenovo P780] sk1rge:
Soft-bricked, won't flash anymore

Hi Satanduck,

I soft-bricked my p780 when installing the Chinese S135 rooted version. The flash process went without error message. I think I forgot the checksum checkbox, also I used "Download", not "firmware -> upgrade".

Now it won't boot anymore. Also I can't flash to another version. The drivers seem ok (MTK Droid Tools does not identify the phone anymore though). I backed up the ROM I bought the phone with using MTK Droid Tools 2.5.2, but when I want to load the backup scatter file with SPFT I get this error message when loading the scatter file ("checksum" checkbox not set in screenie, but is the same with checkbox set):

View attachment 2735015

When I try to flash the Chinese S135 rooted version again, I get another error. The flash process starts, but seems to stop after about 1 second. Then after exactly 41 seconds (every time) comes a timeout:

View attachment 2735016

I also attached the logs in a ZIP, the BROM log shows errors and warnings.

Hope you can help :)

sk1rge

------------------------------------------------------------- U P D A T E ---------------------------------------------------------------------------

I managed to revive my phone by flashing the initial stock ROM (P780_S136_140306) I bought it with from the back up I made: I downloaded a newer version of SPFT (V3.1344) which gave a better error message when trying to load the backup I made. I realized that I did not tell MTK DroidTools to actually create SPFT block files. I did that and could finally load the scatter file to SPFT. However, cache and userdata where missing, so I added them from another ROM. When starting to flash, Windows 7 would drop the USB driver, letting run SPFT without error endlessly. After several retries I had W7 update the drivers while SFTP was still trying to flash, which actually worked.

I was not yet able to root this ROM (tried framaroot 1.9.2). Get a success message, but after reboot root checker says "no access".

After another flashing of the original ROM there is root access already. /shrug
[Lenovo P780] sk1rge:
Ok, new issue, new post. The ROM my phone got delivered with says it is a P780_136_140306. It is Android 4.2.1. But unlike the other Chinese stock ROMs it has some of the Gapps stuff (e.g. PlayMarket, Maps, Gmail, ...). It comes with a lot of languages (so maybe actually an ROW version?), which are not very well implemented, it has still a lot of Chinese in the menues. It is rooted. So maybe it is an adjusted version made from the shop I bought the phone from.

However, it comes with the standard Android recovery, which does not let me flash any modded ROMs. CWM and TWRP don't officially support the P780, so I am not able to load them on my phone. Can someone please help me with this?
[Lenovo P780] stympy:
Hi. Here i uploadet for you some custom recovery. TWRP to be more exact. Zip file is an update for TWRP 2.5.0.0 and img file is TWRP 2.6.3.0. You can instal the img file with Flash Tool software from windows or MobileUncleTools from android. This file is compiled specialy for P780 by Javum.
[Lenovo P780] sk1rge:
Thanks pal, installed TWRP using Mobile Uncle, worked flawlessly.
[Lenovo P780] sk1rge:
So, the only ROM I can flash with SPFT is the P780_136_140306 version. For all others I get that same error message (BROM ERROR : S_FT_ENABLE_DRAM_FAIL (4032)). Thanks to stympy I was able to install TWRP, but the only ROM I can install with that is the latest MIUI (4.4.25), which comes without a keyboard app, and I don't like it anyway. Any idea how I can flash any of the other ROMs (older Chinese or ROW), so I can try other ROMs? Thanks in advance :)
[Lenovo P780] stympy:
Did you tried to install AOSP or SLX Custom roms? This ROMS could be installed from recovery TWRP or CWM.
[Lenovo P780] sk1rge:
I am not sure if I have CHEN or ROW base. MIUI runs based on CHEN though, so I guess I have CHEN base. I tried to install the AOSP ROM with TWRP. There was no error messgae, but after factory wipe and reboot the MIUI ROM was still there. I will try again later today. Shouldn't I be able to flash any other CHEN or ROW ROMs with SPFT though?
[Lenovo P780] stympy:
I have Lenovo P780 4 GB. Until this day i have installed allmost all ROMS from need rom and russian forums and here. I never encountered any problems with Flash Tools except my own foolishness(alot of beginner mistakes). :D

Try to flash again row or chineze with Flash Tools.
[Lenovo P780] sk1rge:
I am pretty sure the problem here sits between chair and keyboard ;) I'll give it another try on the weekend I guess, for now I'll live with the stock ROM that isn't that bad (actually only the occasional Chinese is a bit annoying). Thanks again for your help anyway :)
[Lenovo P780] stympy:
You are wellcome. And good luck.
[Lenovo P780] satanduck:
Added Chinese-base VibeUI 1.5 (Android 4.4.2)
[Lenovo P780] stakou:
Is this the one found in needrom, or is it the original 1.5 dev that has been rooted and gaps added?
[Lenovo P780] satanduck:
it's modded from the one from vibeui.com
[Lenovo P780] stakou:
Nice :good:
[Lenovo P780] cupliz:
This recovery for Chinese based or ROW based?

For mr satanduck, is it alright flash your file over mtk flashtool for 8gb devices??

I cant find any clues for 8gb devices on your 1st post...

Sent from my Lenovo P780
[Lenovo P780] stympy:
Use this recovery. Is made for 8GB Lenovo P780.

Can be installed with another custom recovery or extract the file from archive and install with mobileuncletool.apk
[Lenovo P780] cupliz:
As far i know, flashing custom recovery doesn't have problem if we based from 4gb or 8gb. but flashing wrong recovery for ROW or Chinese base will be a problem because partitions on both are different.

So for your recovery, which base? Chinese or ROW or booth can?

------------------------------------

Question about first post by satanduck, your file roms can work booth, 4 or 8gb? I can't find any clues, which ROM file for 8gb and which for 4gb...

Sent from my Lenovo P780
[Lenovo P780] stympy:
This is for ROW Firmware.
[Lenovo P780] cupliz:
Sorry for this confusion state.. Lol

As you read at 4pda.ru

Lenovo come with to much version hardware.

-Chinese hardware and ROW

-RoW came with 2 different nand 4gb and 8gb, (idk Chinese have 8gb or not)

There some conclusion from my experience :

- even chinese and row version are have different hardware, wes still can jump from 1 to another version (must be via spflashtool)

- flashing wrong Chinese or ROW based rom via twrp/cwm causing bootloop.

- flashing wrong rom for 4gb / 8gb device via spflashtool, not causing bootloop, its boot properly but internal storage and internal memory will error. (Because EBR file for booth device are different)

- flashing wrong rom for 4gb / 8gb devices via twrp/cwm, is allowed, will run properly. (Because it's not flashing any EBR file)

Nb: ROW = Rest Of World.

Sent from my Lenovo P780
[Lenovo P780] stympy:
Hardware is diferent from Chinese to ROW? ... maybe!

Firmware ... yes ... alot.
[Lenovo P780] cupliz:
Lol who knows, some source said Chinese phone are not using some gsm frequency, because Chinese government doesn't allow it.

Idk, modem hardware is different or just modem firmware different.

Sent from my Lenovo P780
[Lenovo P780] stympy:


Ok... I understand... GSM frequency some diference in emiter - reciver. What other diference did you seen.